Skip Navigation
ichđŸš—đŸ“±iel
  • Da schaut man nicht auf den Tacho sondern wo man hin abbiegen muss.

    Du hattest ohnehin vor, abzubiegen, und bist trotzdem nicht langsamer geworden? Wolltest du dann einfach irgendwann man 60km/h das Lenkrad rumreißen und das Beste hoffen?

  • Trying to understand JSON

  • For those who don’t know:

    Speaking at a software conference in 2009, Tony Hoare hyperbolically apologized for "inventing" the null reference:[26] [27]

    I call it my billion-dollar mistake. It was the invention of the null reference in 1965. At that time, I was designing the first comprehensive type system for references in an object oriented language (ALGOL W). My goal was to ensure that all use of references should be absolutely safe, with checking performed automatically by the compiler. But I couldn't resist the temptation to put in a null reference, simply because it was so easy to implement. This has led to innumerable errors, vulnerabilities, and system crashes, which have probably caused a billion dollars of pain and damage in the last forty years.

    https://en.wikipedia.org/wiki/Tony_Hoare

  • Trying to understand JSON

  • If an attribute is null, I would prefer to simply not serialize it.

    That’s interesting. I’m on the opposite team. If a customer model defines an optional birthday, for instance, I’d rather have it serialized as a null value if it’s not available for a specific customer.

  • Trying to understand JSON

  • Indeed, and that turns out to be a problem if the JavaScript expects the key not to be there, but instead it is there. And then you try to tell the backend dev that the key shouldn’t be there, but he’ll try to convince you that it’s the same whether the key is not there or whether it’s assigned null and then you wonder if he’s messing with you, but actually he isn’t and then the only thing keeping you sane is bitching about it in meme form on lemmy.

  • Surely "1337" is the same as 1337, right?

    Meme transcription:

    Panel 1: Bilbo Baggins ponders, “After all
 why should I care about the difference between int and String?

    Panel 2: Bilbo Baggins is revealed to be an API developer. He continues, “JSON is always String, anyways
”

    2
    Surely "1337" is the same as 1337, right?

    Meme transcription:

    Panel 1: Bilbo Baggins ponders, “After all
 why should I care about the difference between int and String?

    Panel 2: Bilbo Baggins is revealed to be an API developer. He continues, “JSON is always String, anyways
”

    17
    Surely "1337" is the same as 1337, right?

    Meme transcription:

    Panel 1: Bilbo Baggins ponders, “After all
 why should I care about the difference between int and String?

    Panel 2: Bilbo Baggins is revealed to be an API developer. He continues, “JSON is always String, anyways
”

    38
    Trying to understand JSON


    Meme transcription: Panel 1. Two images of JSON, one is the empty object, one is an object in which the key name maps to the value null. Caption: “Corporate needs you to find the difference between this picture and this picture”

    Panel 2. The Java backend dev answers, “They’re the same picture.”

    16
    Going over the rate limit
  • Speaking of rate limits: Github recently blocked me because I went over a ‘secondary rate limit’ by visiting the site for the first time in a month. Has anybody experienced this?

  • Trying to understand JSON


    Meme transcription: Panel 1. Two images of JSON, one is the empty object, one is an object in which the key name maps to the value null. Caption: “Corporate needs you to find the difference between this picture and this picture”

    Panel 2. The Java backend dev answers, “They’re the same picture.”

    17
    it's a big deal jack
  • On average, we respond solely to voice pitch, tonality, body language and facial expressions, like a still developing toddler


    You wouldn’t believe how close you are.

    [
Researches] recruited 684 Swiss students and asked them to rate pairs of politicians who had run against each other in the 2002 French parliamentary elections. Based solely on black-and-white photos of the candidates, they had to say who was more competent and by what degree. There were 57 pairs in all, and each volunteer rated just one.

    They found that the students’ competence judgments predicted the actual winners of the run-offs with a 72% accuracy.

    https://www.nationalgeographic.com/science/article/voters-use-child-like-judgments-when-judging-political-candidates

    [A] group of children would be able to predict the outcome of elections in another country, based only on photos of the candidates [
] is exactly what a recent study in the journal Science has found.

    Swiss children as young as five years can predict which candidates are more likely to win French parliamentary elections.

    https://www.scientificamerican.com/article/the-look-of-a-winner/

    The children were just as good at predicting election results as the grown-ups were;

    (first article again)

  • You're too slow!
  • Then hope they filled it quick enough and there weren’t any Sundays or holidays to mess with it.

    I used to think stores didn’t care about Sundays in the US and were always open.

  • You're too slow!
  • Are you saying the individually dispensed medications are all sent to the pharmacy pre-filled?

    This is what a box of Paracetamol (a pain killer and anti-inflammatory drug) looks like when you buy it at the pharmacy (this particular image seems to be from a different country, but they look similar).

    That sounds wildly inefficient and inflexible in terms of transport/logistics/packaging tbh.

    Well, yes. I get that point. It would save some deliveries to store 5kg of the drug at the pharmacy and have the containers separate. There are instances when they tell you they only have the 100-dose package on hand and need to have the 25-dose package delivered. That usually happens when you first start a long-time medication. The pharmacy will then deliver the medication to you for free (at least ours, I don’t know if that’s usual).

    repercussions to filling a prescription wrong, especially if someone is injured

    The trouble is, repercussions don’t help any injured person. And they require you to notice that you’ve taken the wrong medication. If you simply don’t feel better, your first instinct might not be “the drugs are wrong”.

    There’s also usually a description on the printed label of what the pill should look like

    We have that, to, but with a gut estimate of around 10,000 different drugs in circulation, that doesn’t really help with distinguishing them safely.

  • Constantly. Or "oh, I thought I told you already."
  • It’s obvious from this exchange:

    WHICH PAUL U FUCK

    Mom’s brother?????

    Or Jeanie’s husband?????

    Yes

    The sister (grey) was clearly responding to “Mom’s brother?????”, but just as she hit “send”, teal asked “Or Jeanie’s husband?????”.

    People who give both options in an obvious one-or-the-other question deserve to receive “Yes” as a response.

    Also, what is “Jsuk”?

  • You're too slow!
  • I’m not really sure what suggested to you that they didn’t tbh.

    This is an excerpt from the comment I replied to:

    I don’t understand how it can possibly take 2 hours to count a couple dozen pills, throw them in an orange tube, and slap a label on it

  • ichđŸ—łïžiel

    Meme: Spongebob salutiert. Untertitel: „Dank an alle Wahlhelfer und Wahlhelferinnen”

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BL
    bleistift2 @sopuli.xyz
    Posts 6
    Comments 49