Eabryt's recent activity

  1. Comment on Tucker Carlson to launch new show on Twitter in ~tech

    Eabryt
    Link
    I'm curious how this might impact the remaining advertisers on Twitter. Many companies dropped Tucker's show on Fox. Can't imagine they'd be happy to possibly be run alongside him on Twitter.

    I'm curious how this might impact the remaining advertisers on Twitter. Many companies dropped Tucker's show on Fox. Can't imagine they'd be happy to possibly be run alongside him on Twitter.

    7 votes
  2. Comment on What are you reading these days? in ~books

    Eabryt
    Link
    Last year I decided to read the full Animorph series. I had read some of them as a kid but didn't think I ever finished and even if I had, I didn't have any memory of it. They ended up being...

    Last year I decided to read the full Animorph series. I had read some of them as a kid but didn't think I ever finished and even if I had, I didn't have any memory of it. They ended up being pretty fun reads so I've decided to revisit another childhood series. Redwall!

    Right now I'm making my way through The Bellmaker, which is book 7 out of 22. They're definitely slower than the Animorph books but I'm enjoying reliving some of my childhood none the less.

    2 votes
  3. Comment on All Discord users will need to choose new username in ~tech

    Eabryt
    Link Parent
    Add a 5th digit?

    Unless they view the 4-digits as unduly restrictive for having more than some number of users.

    Add a 5th digit?

    5 votes
  4. Comment on <deleted topic> in ~tech

    Eabryt
    Link Parent
    Oops, missed that. I'll delete this.

    Oops, missed that. I'll delete this.

    1 vote
  5. Comment on <deleted topic> in ~tech

    Eabryt
    Link
    Wasn't 100% sure where to post this but thought it was interesting after the Tumblr purge, and Reddit starting to try to reduce the amount of porn on their site as they look to go public.

    Wasn't 100% sure where to post this but thought it was interesting after the Tumblr purge, and Reddit starting to try to reduce the amount of porn on their site as they look to go public.

    1 vote
  6. Comment on Samsung meeting notes and new source code are now in the wild after being leaked in ChatGPT in ~comp

    Eabryt
    Link
    Not too surprised some idiot did this. My job sent out a slack message weeks ago reminding people not to put confidential information into ChatGPT. Seems pretty obvious anything you send will be...

    Not too surprised some idiot did this. My job sent out a slack message weeks ago reminding people not to put confidential information into ChatGPT. Seems pretty obvious anything you send will be saved/used.

    4 votes
  7. Comment on ‘Harry Potter’ TV series for HBO Max inching closer to reality with JK Rowling in talks to produce in ~tv

    Eabryt
    Link Parent
    Which is disappointing because what she's doing is having real consequences for Trans people, especially in the UK.

    Which is disappointing because what she's doing is having real consequences for Trans people, especially in the UK.

    7 votes
  8. Comment on Trump indicted in hush-money probe in ~news

    Eabryt
    Link
    I can't say I have high hopes for where this will end up, but it's still an important thing to do. To show even the president isn't above the law.

    I can't say I have high hopes for where this will end up, but it's still an important thing to do. To show even the president isn't above the law.

    12 votes
  9. Comment on My experience with a Fitbit, a Garmin, and an Apple Watch in ~tech

    Eabryt
    Link
    This is a good write-up. I'm a pretty serious runner so I've been using Garmin for ages across several different watches. I'd agree that they're not great in terms of "smart" watches, but they...

    This is a good write-up. I'm a pretty serious runner so I've been using Garmin for ages across several different watches. I'd agree that they're not great in terms of "smart" watches, but they have gotten much better from what I've heard. While I wear mine 24/7 I don't get any phone notifications or anything, I don't even store music on it.

    Also, just since you mentioned it. I've never had a screen protected for any of my Garmin's and have never had any issues with it, I also tend to bang it against table/counter edges and walls way more regularly than I should.

    My biggest complaint with Garmin is that their API isn't open to the public, and you have to be a business to get access (although I'm unsure if/how much they charge for it), which makes it difficult to use the data for projects. Relatedly, I have yet to find a good way to export all historical data from the Connect dashboard.

    3 votes
  10. Comment on I'm buying my first ever new car tomorrow in ~life

    Eabryt
    Link Parent
    Exactly what I was going to suggest. It would suck to lose out on this vehicle, but they only have you over a barrel if you let them. Also, EV's (and cars in general) aren't flying off the shelf...

    I'd calculate now an acceptable additional markup. It's probably not zero, but it's also probably not $10k.

    Exactly what I was going to suggest. It would suck to lose out on this vehicle, but they only have you over a barrel if you let them.

    Also, EV's (and cars in general) aren't flying off the shelf quite as fast as interest rates rise.

    2 votes
  11. Comment on 2023 predictions thread - Who lives? Who dies? Who tells a story? in ~talk

    Eabryt
    Link
    The "official" war in Ukraine ends (90%), the real question is if it's due to the West being unwilling to continue supporting the country, or someone finally doing something about Putin. I'll move...

    The "official" war in Ukraine ends (90%), the real question is if it's due to the West being unwilling to continue supporting the country, or someone finally doing something about Putin.

    I'll move back to my home state (50%) We're going to start looking at land in 2023. Who knows if we'll find any we like, and if so when we'll be able to build.

    Biden dies, completely upending Washington (more than it already is) and Kamala Harris is sworn in as the first female President of the US. (10%)

    2 votes
  12. Comment on Anker’s Eufy lied to us about the security of its security cameras. Despite claims of only using local storage, Eufy has been uploading identifiable footage to the cloud. in ~tech

    Eabryt
    Link
    I know a lot of people are complaining about this (for very good reason) but I'm mostly just disappointed because Anker have been my go-to phone cable brand for years. I'll need to find a new...

    I know a lot of people are complaining about this (for very good reason) but I'm mostly just disappointed because Anker have been my go-to phone cable brand for years.

    I'll need to find a new place, so I'm taking suggestions if anyone has any.

    5 votes
  13. Comment on Tildes Game Giveaway Thread: Holiday 2022 in ~games

    Eabryt
    Link Parent
    I'd love to be put in the pot for Back 4 Blood. Had a bunch of fun playing it in Beta but never got around to purchasing the full game.

    I'd love to be put in the pot for Back 4 Blood. Had a bunch of fun playing it in Beta but never got around to purchasing the full game.

    1 vote
  14. Comment on Day 10: Cathode-Ray Tube in ~comp.advent_of_code

    Eabryt
    Link
    Found this one pretty easy. I'm not a particularly fancy programmer, so my code tends to be pretty straightforward. Parts 1 and 2 from queue import Queue def part1(lines): print(f"Part 1!") x = 1...

    Found this one pretty easy. I'm not a particularly fancy programmer, so my code tends to be pretty straightforward.

    Parts 1 and 2
    from queue import Queue
    
    def part1(lines):
        print(f"Part 1!")
        x = 1
        q = Queue()
        for line in lines:
            if "noop" in line:
                q.put(0)
            if "addx" in line:
                amt = line.split()[1]
                q.put(0)
                q.put(int(amt))
        idx = 1
        sum = 0
        while not q.empty():
            num = q.get()
            x += num
            idx += 1
            if idx % 40 == 20:
                print(f"{idx} strength: {x * idx}")
                sum += x * idx
        print(f"Total Sum: {sum}")
    
    
    
    
    
    
    def part2(lines):
        print(f"Part 2!")
        x = 1
        q = Queue()
        for line in lines:
            if "noop" in line:
                q.put(0)
            if "addx" in line:
                amt = line.split()[1]
                q.put(0)
                q.put(int(amt))
        idx = 1
        crt = [[0 for z in range(40)] for y in range(6)]
        row = 0
        window = range(0,2)
        while not q.empty():
            num = q.get()
            x += num
            if ((idx-1) % 40) in window:
                crt[row][(idx-1) % 40] = '#'
            else:
                crt[row][(idx - 1) % 40] = '.'
            window = range(x-1, x + 2)
            if idx % 40 == 0:
                row += 1
            idx += 1
        print('\n'.join([''.join(['{:4}'.format(item) for item in row])
                         for row in crt]))
    
    
    
    def openFile():
        return open("input.txt", "r").readlines()
    
    
    def main():
        f = openFile()
        part1(f)
        part2(f)
    
    
    if __name__ == '__main__':
        main()
    
    2 votes
  15. Comment on Day 6: Tuning Trouble in ~comp.advent_of_code

    Eabryt
    Link
    I felt like this one was especially easy, but maybe that's just me. Part1 & Part2 import queue def checkRepeats(input): chars = [] for item in input.queue: if item in chars: return False...

    I felt like this one was especially easy, but maybe that's just me.

    Part1 & Part2
    import queue
    
    
    def checkRepeats(input):
        chars = []
        for item in input.queue:
            if item in chars:
                return False
            chars.append(item)
        return True
    
    
    def part1(input):
        print(f"Part 1!")
        window = queue.Queue(4)
        for index,char in enumerate(input):
            if window.full():
                if checkRepeats(window):  
                    break
                window.get() 
            window.put(char)
        print(f"Index: {index}")
    
    
    def part2(input):
        print(f"Part 2!")
        window = queue.Queue(14)
        for index,char in enumerate(input):
            if window.full():
                if checkRepeats(window):  
                    break
                window.get() 
            window.put(char)
        print(f"Index: {index}")
    
    
    def openFile():
        return open("input.txt", "r").read()
    
    
    def main():
        f = openFile()
        part1(f)
        part2(f)
    
    
    if __name__ == '__main__':
        main()
    
    3 votes
  16. Comment on Day 4: Camp Cleanup in ~comp.advent_of_code

    Eabryt
    Link
    Definitely could have done this better if I had some more knowledge, which thanks to other solutions I have now! So hopefully that will help in future days, but for now you're stuck with this...

    Definitely could have done this better if I had some more knowledge, which thanks to other solutions I have now! So hopefully that will help in future days, but for now you're stuck with this slightly messy code

    Parts 1 & 2
    def part1(lines):
        print(f"Part 1!")
        numTimes = 0
        for line in lines:
            first, second = line.split(',')
            firstA = list(range(int(first.split('-')[0]), int(first.split('-')[1])+1))
            secondA = list(range(int(second.split('-')[0]), int(second.split('-')[1])+1))
            if set(firstA).issubset(set(secondA)) or set(secondA).issubset(set(firstA)):
                numTimes += 1
        print(f"Result: {numTimes}")
    
    
    def part2(lines):
        print(f"Part 2!")
        numTimes = 0
        for line in lines:
            first, second = line.split(',')
            fA = list(range(int(first.split('-')[0]), int(first.split('-')[1])+1))
            sA = list(range(int(second.split('-')[0]), int(second.split('-')[1])+1))
            if any(i in fA for i in sA):
                numTimes += 1
        print(f"Result: {numTimes}")
    
    
    def openFile():
        return open("input.txt", "r").readlines()
    
    
    def main():
        f = openFile()
        part1(f)
        part2(f)
    
    
    if __name__ == '__main__':
        main()
    
    3 votes
  17. Comment on Day 2: Rock Paper Scissors in ~comp.advent_of_code

    Eabryt
    Link
    My Python solution is ugly and I knew it was ugly as I was writing it, but it works so I don't really care. Parts 1 & 2 def part1(lines): score = 0 values = {"X": 1, "Y": 2, "Z": 3} winner = {"A":...

    My Python solution is ugly and I knew it was ugly as I was writing it, but it works so I don't really care.

    Parts 1 & 2
    def part1(lines):
        score = 0
        values = {"X": 1, "Y": 2, "Z": 3}
        winner = {"A": "Y", "B": "Z", "C": "X"}
        tie = {"A": "X", "B": "Y", "C": "Z"}
        for line in lines:
            first, last = line.strip().split(' ')
            if last == winner[first]:
                score += 6
            elif last == tie[first]:
                score += 3
            score += values[last]
        print(f"Score: {score}")
    
    
    def part2(lines):
        score = 0
        values = {"X": 1, "Y": 2, "Z": 3}
        winner = {"A": "Y", "B": "Z", "C": "X"}
        tie = {"A": "X", "B": "Y", "C": "Z"}
        loser = {"A": "Z", "B": "X", "C": "Y"}
        for line in lines:
            first, last = line.strip().split(' ')
            if last == 'Z':
                throw = winner[first]
                score += 6
                score += values[throw]
            elif last == 'Y':
                throw = tie[first]
                score += 3
                score += values[throw]
            else:
                throw = loser[first]
                score += values[throw]
        print(f"Score: {score}")
    
    
    
    def openFile():
        return open("input.txt", "r").readlines()
    
    
    def main():
        f = openFile()
        lines = part1(f)
        part2(f)
    
    
    if __name__ == '__main__':
        main()
    
    1 vote
  18. Comment on Day 1: Calorie Counting in ~comp.advent_of_code

    Eabryt
    Link
    Last year I used this to try to learn Rust and ended up giving up around Day 11 (oddly enough, right around my last day of work for the year) This year I've decided to stick with Python as I'm...

    Last year I used this to try to learn Rust and ended up giving up around Day 11 (oddly enough, right around my last day of work for the year)

    This year I've decided to stick with Python as I'm pretty familiar with the language and I'm hoping it'll keep me going through the end.

    Full Solution
    def part1(input):
        elves = []
        index = 0
        elves.append(0)
        for line in input:
            if line != "\n":
                elves[index] += int(line)
            else:
                index += 1
                elves.append(0)
        print(f"Max Calories: {max(elves)}")
        return elves
    
    
    def part2(input):
        input.sort()
        print(f"Sum: {sum(input[-3:])}")
    
    
    def openfile():
        return open("input.txt", "r").readlines()
    
    
    def main():
        f = openfile()
        elves = part1(f)
        part2(elves)
    
    
    if __name__ == '__main__':
        main()
    

    I probably could have done it simpler, but my goal isn't to try to find the fanciest solution, just a simple one that would be reasonable to use in a professional setting.

    2 votes
  19. Comment on What are the top five software apps you benefit the most from? in ~tech

    Eabryt
    Link Parent
    As a software engineer this alone might be enough to get me to try it out. It annoys me to no end how difficult Microsoft makes it to nicely format code in my notes.

    Obsidian is based entirely around the Markdown file format

    As a software engineer this alone might be enough to get me to try it out. It annoys me to no end how difficult Microsoft makes it to nicely format code in my notes.

    3 votes
  20. Comment on What are the top five software apps you benefit the most from? in ~tech

    Eabryt
    Link Parent
    I love Bitwarden. I don't even know the password to the majority of my accounts anymore. I find it's much more secure that way.

    I love Bitwarden. I don't even know the password to the majority of my accounts anymore. I find it's much more secure that way.

    3 votes