• 1 Post
  • 92 Comments
Joined 1 year ago
cake
Cake day: July 13th, 2023

help-circle
  • Why did you even bring up AI? IDEs have been able to generate equality functions for decades without AI.

    It’s kinda neat to have this defined directly in the language so that compilers can implement it, but creating equality function is so low effort that this doesn’t really seem like a big deal.

    Like, you define the members in a class, then you tell your IDE to generate getters, constructor, equals, hashcode, etc all in like 5 seconds.
    I like it, it’s nice when the language itself defines reasonable defaults for things, but realistically you’re saving yourself a few seconds of effort.









  • Ok, that kinda makes sense, but that seems pretty niche. you have to make a few cognitive leaps to get it. That’s ok, it’s fine to make jokes like that, but it seems a bit much to be a jerk to folks who don’t get it.

    Looking over the comment section again, it’s still like it was when I posted: most people are taking the question at face value, and not engaging with the joke.





  • I imagine that “sold by Amazon” has about the same supply chain reliability as big box retailers. On Amazon you do gotta check your seller rating if you’re not buying prime, but that’s not harder than driving to best buy, and big box retailer online stores have the same problem when they’re the storefront for 3rd parties (as many are, trying to emulate Amazon).

    On Amazon, reviews can be faked, but at least it has reviews.





  • I have never seen this.

    There is absolutely a certification process, but playing legal whack-a-mole with fly-by-night counterfeiters is difficult.
    This is why buying reputable brands from reputable sellers is important.

    But even then, I remember years ago I read an article about major retailers selling counterfeit brand name SD cards that didn’t meet the labeled performance specifications and had very poor QC. Turns out that gray market sellers were buying batches of the real product that failed QC and just reselling them as though they were fine, and they ended up making their way back into the distribution network.
    In the end the conclusion was that we’re all kind of fucked until retailers start being way more strict about their supply chains, which they are disincentivized to do, because the current system gives them plausible deniability on things like child labor.




  • Sorry I wasn’t clear, I meant the formats themselves.
    Writing rich text using a text editor is kind of like writing HTML with a WYSIWYG editor, but just like with HTML you can go in and write RTF by hand.
    Likewise you can use Photoshop to make an image, but you could also go in and set the pixel values of a bmp by hand.

    By sliding scale I didn’t mean wrt how you wrote them, but rather how much like an “instruction” the file tokens (for lack of better word) are. Is it instructing the computer to do something? Or is it data that the instructions act on?

    Sometimes the line between input data and instruction is blurry.