• 13 Posts
  • 951 Comments
Joined 5 years ago
cake
Cake day: May 31st, 2020

help-circle
  • It’s mainly horrid, because it means you have to code extremely defensively (or I guess, use a different API).
    You can’t rely on new Date("not a date") aborting execution of your function by throwing an error. Instead, you have to know that it can produce an Invalid Date object and check for that. Otherwise a random NaN shows up during execution, which is gonna be extremely fun to try to find the source of.

    I understand that it’s implemented like that partially for historical reasons, partially because it’s often better to display “NaN” rather than nothing, but it’s still the sort of behavior that puts me in a cold sweat, because I should be memorizing all kinds of Best Practices™ before trying to code JavaScript.









  • Ephera@lemmy.mltomemes@lemmy.world"GenAI is so cool"
    link
    fedilink
    English
    arrow-up
    7
    ·
    19 hours ago

    I’m always amazed how badly companies understand the concept of human interaction. Showing appreciation requires putting in some amount of effort. If you just type some words into a box and an image comes out, that’s not anything. Might as well use the first clipart that comes up in image search…



  • Ephera@lemmy.mltoScience Memes@mander.xyzoops
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    I feel like it’s just capitalism doing a capitalism. People are self-conscious about their skin, so you can sell them all kinds of crap.
    Even a basic washcloth does a decent job with exfoliating, if you use it regularly. Rub your face dry with a scruffy towel, if you need more than that.

    But of course, there’s hardly any money to be made with reasonably priced products, so you won’t see TV ads for them.









  • Ephera@lemmy.mltoScience Memes@mander.xyz(~_~;)
    link
    fedilink
    English
    arrow-up
    18
    ·
    4 days ago

    At first I thought, this was the same beats, just with staggered emphasis, but no, that’s 30 eighths in the timespan of 14 eighths.

    So, it’s like the bassoons are playing sixteenth notes, except that they’re decidedly not in sync with everyone else.
    At first it’ll sound like they’re too early. Then their offbeat sixteenth will sync up with the on-beat for everyone else. Then their offbeat will sound like it’s too early compared to the on-beat, until they sync up properly again. Well, and then you do that cycle a second time, because they have to fit two extra notes in there.

    Yeah, that does seem quite impossible to conduct, but even if you set up two metronomes, that’ll throw even good orchestras quite easily…