• 0 Posts
  • 2.59K Comments
Joined 3 years ago
cake
Cake day: June 30th, 2023

help-circle
  • Not doubting what you’re saying but just a bit confused because wouldn’t electrifying what a lineman works on end up overloading the generator because you’re now powering everything up to where the circuit broke upstream? Saying this based on an assumption that the lines service multple households and the generators are designed to keep important things running rather than just replace power plants for even one house, let alone the neighbourhood.

    How do they handle solar setups that are set up specifically to send power into the grid?





  • One factory job had a couple days of orientation in a classroom before we started on the floor, but on day one we ended with a tour of the work areas. As we went around, someone working recognized one of the others in my group as a local methhead/rampant thief. We found out that’s why he didn’t come back when we started working with the others.





  • I really can’t understand the hate Arby’s gets. I unironically believe it’s one of the best fast food places out there. Their roast beef is delicious, especially with their cheddar sauce, their BBQ sauce is one of the best (out of fast food ones, it doesn’t stand up as well when you expand the comparison to all sauces out there), and their horsey sauce is great, too. And their seasoned curly fries taste great on their own and their shape makes them pick up dilling sauce very well.

    Or maybe their Canadian locations that I’ve been to were just outliers and way better quality than their average?



  • Python code:

    results = {}
    for ip0 in range(256):
      ip0_str = to_str( ip0 ) + '.'
      for ip1 in range(256):
        ip1_str = ip0_str + to_str( ip1 ) + '.'
        for ip2 in range(256):
          ip2_str = ip1_str + to_str( ip2 ) + '.'
          for ip3 in range(256):
            ip_vector = [ ip0, ip1, ip2, ip3 ]
            ip_str = ip2_str + to_str( ip3 )
            results[ ip_vector ] = ping( ip_str )
    

    Might look a bit nicer using format strings instead. That map will contain on the order of 4 billion entries (one for each value of 2³²), and the actual size will depend on what format the ping function returns, 4 bytes for each key (optimized from my initial version that used the IPs as keys), plus all the internal structures for the map like key hashes and the hash table itself. Ie, this takes more memory to run than viewing OP’s full sized image and I wouldn’t suggest running it with less than 32GB of RAM. Though it would take less memory if it generated the image directly or at least making the keys implicit (which the image does, as they are encoded into the x, y coordinates rather than stored).

    Edit: Let’s look at runtime, too, because why not. Assuming every single IP responds in 0.01 seconds (they’ll take longer, especially the ones that time out instead of respond), rounding the total to that nice 4 billion number get us 40 million seconds. An hour is less than 4000 seconds, so it would take over 100 hours to run this script.

    Though it could be parallelized, since you can ping many targets at once. Not sure what the maximum number of pings you could have in flight is, but whatever it is, you’d be much better off using a script that did like 80% of that (to leave some margin for the rest of the system to use, also ISPs might not be happy with you maxing out your ICMP traffic).




  • There was a head rush that felt kinda neat at first. Guessing because nicotine binds to the ACE2 receptors, which play a role in ATP reuse (iirc), ATP being the big energy molecule that powers the current multicellular life, so it’s similar to a bit of oxygen deprivation in that available ATP is reduced.

    But then the body just expresses more ACE2 receptors to compensate, so you stop getting the head rushes. This happens fairly quickly, too, like you might get them for like half of your first pack of smokes before the “feels better after a smoke” is more about getting rid of nicotine withdrawal than any positive feelings (if you enjoy the altered feeling of a head rush).



  • Yeah once a date invited me up for coffee and I was enjoying my time with her and thought another 15 minutes or so of conversation would be nice, but then it was suddenly like she forgot she invited me in or something because she just started getting ready for bed instead of making any coffee! I just politely said I needed to get going so she didn’t feel embarrassed about forgetting she had invited me for coffee, though I think I failed because she did seem a bit upset.

    So I tried to be considerate and go through a coffee shop drivethru after the next couple of dates. Even then, she offered coffee the first time and I pointed at my cup and said I’m fine, though that seemed to make her feel even more embarrassed as she looked like she was about to cry after that.

    Then the next time she said, “I think we’ve been having a miscommunication when I’ve been inviting you up for coffee, I didn’t really mean coffee, but I was being a bit immature and dancing around what I really wanted and then getting my feelings hurt when you didn’t get the message. So I’ll just say what I mean this time. Would you like to come up and have sex with me?”

    I informed her that’s where babies come from and she already knew and still wanted it. Then she was trying to say something about being on a pill and I noped out of there. I am not interested in a relationship where my partner likes to get high on pills and have babies. That just seems irresponsible to me.




  • Oh that’s one of the biggest low severity annoyances: timeouts set to stupid short times. When I push buttons navigating to a certain area, the device can fucking wait for me to be done in that area and tell it to go elsewhere, not assume that 10 seconds of inactivity means I’ve wandered off and forgotten about it or something.

    I have a toaster oven like that, though that’s not even the worst part of the UI design. It’s a great oven but clearly the interface was designed by someone who lacked either care or competence because you have to scroll through a bunch of useless presets for if you have some specific portion of chicken or want to burn a slice of pizza, and of course it has no memory, even if you stopped it while trying to pause it to check your food. It would have been better with an analog timer and a mode knob ffs. And if you hesitate too long while setting the mode, time, and temperature, like if you need to grab the box and then do the math to convert to convection toaster oven time and take more than 12 seconds, it’s off by the time you go to enter it.

    Oh and I can only guess at what some of the modes are because the icons they use aren’t very descriptive. Is that the warm setting or broil?

    It’s a stupid design for a toaster oven but extra fucking dumb for a car.