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

help-circle




  • Yeah but what’s done is already done!

    It’s not like someone can just draw a time machine in the next panel so that he can go back and blurt something like “Tell her you have bad knees!” before the future version pops out of existence, leaving a confused past version wondering “Who? When?” Followed by a new arc where he doesn’t go to the bar because he thinks he needs to do something more important, wanders around looking for the woman he needs to inform about his bad knees (which aren’t even really that bad).

    All to set up a scenario where an exhausted man sits down on a bench and is approached by another woman who flirtily asks him if he’s a bad boy and he absently replies that his knees are bad, she laughs and they fall in love.

    And every now and then he thinks about that alternate reality where he somehow determined that “Tell her you have bad knees!” was enough to not only win his true love’s heart but also somehow led him to her. Though he loves his life with her, he obsesses with finding ways to unlock that advanced intellect in this timeline.

    It’s not like you could just draw that, the past is in the past, worry about the present!



  • I also really like stainless steel cookware. Works with induction burners, stuff will stick but it isn’t bad if you know how to handle it (heat the oil before adding food, managing heat to avoid burning, and knowing how to deglaze (or when to not, remove the still good food, then deglaze into the sink)). And then you can use a stainless steel scouring pad to clean it easily.

    From there, I prefer rivitted handles, though my nice pots right now (other than the single expensive one I’ve got) are a set with removable handles (so they fit in a stack in a drawer) but riveted bits for the handle to latch on to.

    Though it’s just a preference after getting tired of re-tightening screwed on handles, as I don’t mind scrubbing around the rivets instead of tightening screws after getting annoyed at how loose the handle it. Though loosening rivits would be even more annoying because you need like a press to tighten them, but that hasn’t happened yet to me.



  • Even if you need to collate a bunch of data, don’t use an LLM for that, use a script, spreadsheet, matlab, or a compiled program that does real data analysis. Hell, even training a different NN on it would give more reliable results more efficiently.

    LLMs are best when the stakes are low or for tasks where even if they give the worst possible response, it won’t affect anything.








  • Real dumb ones.

    I spent more time “tinkering” on windows after some updates to figure out how to set it back to how I want it after some update silently resets things to default or moves some setting for no good reason. And then there’s the “hey please use our shit software that you went out of your way to install an alternative to… no? Ok, I’ll ask later” full screen ads, ads in the start menu, ignoring default search engine or browser settings when it could. It was a hostile user experience.

    Linux has been such a better experience that windows shills like you are a complete joke. Though interesting that you used hedging language here and talk about “people saying they do more tinkering than actual gaming” rather than “people doing more tinkering than actual gaming”, almost as if you know you’re full of shit but are trying to avoid outright lying for some reason.



  • 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).