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

help-circle
  • 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.





  • The “program” is the package of instructions that tell the machine what to do. The instructions are written in a programming language.

    With a markup language, the markup is the input to a program (like a browser) that tells the machine what to do.

    But I think it’s not really boolean, it’s a sliding scale. Especially with so many programming languages being interpreted or JIT compiled. I think it’s less a programming language than many other programming-related things, but more of a programming language than, say, a slideshow.






  • I wasn’t taking about new fields. I was talking about resource partial updates (eg PATCH, or commonly the U in CRUD).

    If you just want to update a single field on a resource with 100 fields, rather than GETting the resource, updating the single field, and PUTting it back, just do a PATCH with the single field.

    Likewise if you’re POSTing a resource that has nullable fields, but the default value isn’t null, how do you indicate that you want the default value for a given field? Do you have to first query some metadata API? That doesn’t seem ideal, when this existing pattern exists