hhh's recent activity

  1. Comment on Windows 7 support has ended in ~tech

    hhh
    (edited )
    Link Parent
    If you aren't turned off from Windows completely, you might want to look into Windows 10 LTSC. Supposedly it's like Windows 10 but with more Windows 7-like tracking and no cortana or adware. Don't...

    If you aren't turned off from Windows completely, you might want to look into Windows 10 LTSC. Supposedly it's like Windows 10 but with more Windows 7-like tracking and no cortana or adware. Don't know if it can be legally acquired if you're not a business but it isn't to hard to get through other means :^)

    5 votes
  2. Comment on Use This, Not That: Positive Swaps for the New Year in ~talk

    hhh
    Link Parent
    I don't mean this in a rude way, but what's so hard/bad about regular flossing? If you don't have any appliances in your mouth it takes maybe one minute max, and it's not like you have to get up...

    I don't mean this in a rude way, but what's so hard/bad about regular flossing? If you don't have any appliances in your mouth it takes maybe one minute max, and it's not like you have to get up specifically to floss since you're already in the washroom.

    2 votes
  3. Comment on Sweet Anita on Tourette's racial slur controversy in ~misc

    hhh
    Link Parent
    I don't think we should harm disabled people to stop hypothetical bad actors. while it's possible others could try to use it for ban evasion, I think it would be pretty obvious to Twitch if that...

    I don't think we should harm disabled people to stop hypothetical bad actors. while it's possible others could try to use it for ban evasion, I think it would be pretty obvious to Twitch if that we're the case. meanwhile, removing anita would actively discourage people with Tourettes (or at least the form she has) from broadcasting themselves on Twitch.

    8 votes
  4. Comment on Today's problem (edit me) in ~comp

    hhh
    Link
    @Deimos don't think there are any more aoc problems this year :)

    @Deimos don't think there are any more aoc problems this year :)

    1 vote
  5. Comment on The law that helped the internet flourish now undermines democracy in ~tech

    hhh
    Link
    not sure how I feel about this. the article itself didn't say much/wasn't very convincing. section 230 is vital imo as without it, i'm not sure we'd see youtube, reddit, or even messageboards, or...

    not sure how I feel about this. the article itself didn't say much/wasn't very convincing. section 230 is vital imo as without it, i'm not sure we'd see youtube, reddit, or even messageboards, or at least not without an oppressive content-filtering bot

    9 votes
  6. Comment on The 2019 Tildes Census in ~tildes

    hhh
    Link Parent
    also maybe separating romantic from sexual attraction. thank you for stepping forwards and organizing this @Grzmot!

    also maybe separating romantic from sexual attraction. thank you for stepping forwards and organizing this @Grzmot!

    4 votes
  7. Comment on The Real Trouble With Silicon Valley: The toxicity of the web is peanuts compared with Big Tech’s failure to remake the physical world. in ~tech

    hhh
    Link Parent
    not really important but chip fabs are basically sci-fi technology.

    not really important but chip fabs are basically sci-fi technology.

    2 votes
  8. Comment on Some Reddit comments are being hidden by default as "potentially toxic content" (i.e. a swear filter) in ~tech

    hhh
    Link Parent
    The issue is that they didn't introduce an option for this, they just silently enabled it.

    The issue is that they didn't introduce an option for this, they just silently enabled it.

    9 votes
  9. Comment on Halo Master Chief Collection PC release confirmed, Halo Reach coming to Halo MCC in ~games

    hhh
    Link Parent
    do you mean it's interesting that tildes posts are sorted by last bump or that it's interesting it still works on old posts? I personally kind of like how you can bump old posts but I don't think...

    do you mean it's interesting that tildes posts are sorted by last bump or that it's interesting it still works on old posts?

    I personally kind of like how you can bump old posts but I don't think it would work if/when Tildes gets bigger

    1 vote
  10. Comment on Halo Master Chief Collection PC release confirmed, Halo Reach coming to Halo MCC in ~games

    hhh
    Link
    released! pretty good launch as well, only a few minor issues.

    released! pretty good launch as well, only a few minor issues.

    3 votes
  11. Comment on Apple will reportedly release an iPhone without any ports in 2021 in ~tech

    hhh
    Link Parent
    the biggest issue with wireless earbuds imo is the battery. having another thing to charge as well as an irreplaceable failure point after a couple years turns me off of them completely.

    the biggest issue with wireless earbuds imo is the battery. having another thing to charge as well as an irreplaceable failure point after a couple years turns me off of them completely.

    7 votes
  12. Comment on Day 2: 1202 Program Alarm in ~comp

    hhh
    Link Parent
    while trying to solve the same issue I also tried that, but some more googling showed that deep copy is better reserved for more complex objects. for lists it's an order of magnitude or two slower...

    deep copy is a good idea

    while trying to solve the same issue I also tried that, but some more googling showed that deep copy is better reserved for more complex objects. for lists it's an order of magnitude or two slower than just copying the contents of the list. Deimos's comment here is a good explanation of one way to do that.

    2 votes
  13. Comment on Advent of Code 2019 in ~comp

    hhh
    Link Parent
    I already ended up figuring this out but thank you!

    I already ended up figuring this out but thank you!

    3 votes
  14. Comment on Advent of Code 2019 in ~comp

    hhh
    Link Parent
    thank you for showing that to me! i'll make sure to do that in my future versions. this was pointed out by the friendly denizens of /aocg/ as well so this is fixed from day 2 onwards :)

    if __name__ == "__main__":

    thank you for showing that to me! i'll make sure to do that in my future versions.

    with open

    list comprehension

    this was pointed out by the friendly denizens of /aocg/ as well so this is fixed from day 2 onwards :)

    2 votes
  15. Comment on Advent of Code 2019 in ~comp

    hhh
    Link Parent
    I had this same issue on part 2 except with variables! I completely forgot that python's variable assignments are more like name tags than boxes.

    Also I kept on having weird issues where I would set an array to be equal to another array, and then if I changed the first array, the second one would also change. I fixed that by using some jank. For attempt 2 I learned when you say array = array2, they are both the same object, so you need to say array = array2[:] to make them separate.

    I had this same issue on part 2 except with variables! I completely forgot that python's variable assignments are more like name tags than boxes.

    2 votes
  16. Comment on Advent of Code 2019 in ~comp

    hhh
    Link Parent
    just a tip--- putting python after the three ``` characters will give the code syntax highlighting

    just a tip--- putting python after the three ``` characters will give the code syntax highlighting

    3 votes
  17. Comment on Advent of Code 2019 in ~comp

    hhh
    (edited )
    Link
    Like @HanakoIsBestGirl, I'm also a beginner doing this in Python 3. Feedback is always welcome! thoughts about each part are on the bottom of the code :) Day 1: The Tyranny of the Rocket Equation...

    Like @HanakoIsBestGirl, I'm also a beginner doing this in Python 3. Feedback is always welcome!
    thoughts about each part are on the bottom of the code :)

    Day 1: The Tyranny of the Rocket Equation

    having to look up file i/o in python edition

    Part 1
    inputf = open('day1input.txt', 'r')
    
    def mod_fuel(mass):
        return (mass//3) - 2
    
    def fuel_sum():
        sum = 0
        for line in inputf:
            sum += mod_fuel(int(line))
        return sum
    
    print(fuel_sum());inputf.close()
    

    pretty easy for the most part but didn't know how to open a file :(

    Part 2
    inputf = open('day1input.txt', 'r')
    
    def findfuel(mass):
        if mass <= 6:
            return 0
        fuel = (mass // 3) - 2
        fuel +=  findfuel(fuel)
        return fuel
    
    def fuel_sum():
        sum = 0
        for line in inputf:
            sum += findfuel(int(line))
        return sum
    
    print(fuel_sum());inputf.close()
    

    took a little more thinking but got it down after another 10ish minutes :)

    Day 2: 1202 Program Alarm

    forgetting Python has shallow copying >:( and learning list comprehension edition

    The *cough* wall of text *cough* instructions took a long time for me to wrap my head around but implementing them was relatively straightforward. Fun little challenge but I'm worried about how far I'm going to be able to progress knowing the puzzles will get harder.

    Part 1
    with open('input_p1only.txt', 'r') as inpfile:
        readfile = inpfile.read()
    
    def convertolist(flist):
        stripped = flist.rstrip('\n')
        split = stripped.split(',')
        tape = [int(x)  for x in split]
        return tape
    
    memory = convertolist(readfile)
    pointer = 0
    while True :    
        if memory[pointer] == 1 :
            memory[memory[pointer+3]] = memory[memory[pointer+1]] + memory[memory[pointer+2]]
            pointer+=4      
        elif memory[pointer] == 2:
            memory[memory[pointer+3]] = memory[memory[pointer+1]] * memory[memory[pointer+2]]
            pointer+=4
        elif memory[pointer] == 99:
            break
        else:
            print("FUCK")
            
    print(memory)
    

    It was fun having my program spit out a scrolling wall of "FUCK" when I implemented it wrong the first time 🙃

    Part 2
    def convertolist(flist):
        stripped = flist.rstrip('\n')
        split = stripped.split(',')
        tape = [int(x)  for x in split]
        return tape
    
    def IntCode(memory):
        pointer = 0
        while True :      
            if memory[pointer] == 1 :
                memory[memory[pointer+3]] = memory[memory[pointer+1]] + memory[memory[pointer+2]]
                pointer+=4
            elif memory[pointer] == 2:
                memory[memory[pointer+3]] = memory[memory[pointer+1]] * memory[memory[pointer+2]]
                pointer+=4
            elif memory[pointer] == 99:
                break
            else:
                print("FUCK")
        return memory[0]
    
    def verbnounfinder():
        init_memory = convertolist(readfile)
        trymemory = init_memory[:]
        for x in range(100):
            trymemory[1] = x
            for y in range(100):
                trymemory[2] = y
                if IntCode(trymemory) == 19690720:
                    print(trymemory[0:3])
                    break
                trymemory = init_memory[:]
                trymemory[1] = x
            trymemory = init_memory[:]
            
    
    with open('input_p1only.txt', 'r') as inpfile:
        readfile = inpfile.read()
    verbnounfinder()
    

    if anyone has any tips for making the verbnounfinder function any neater please tell me because it is a mess.

    2 votes
  18. Comment on Peertube 2.0 is out in ~tech

    hhh
    Link Parent
    I wonder how well this will work in the case of copyrighted content. Would everybody who watched a video get in legal trouble if it's taken down?

    For instance, if you click on the video in the OP article, it will list some number of peers that you are connected and sharing data with.

    I wonder how well this will work in the case of copyrighted content. Would everybody who watched a video get in legal trouble if it's taken down?