• 0 Posts
  • 27 Comments
Joined 11 months ago
cake
Cake day: August 3rd, 2023

help-circle

  • jana@leminal.spacetoProgrammer Humor@lemmy.mlWith PieMixin
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    7 months ago

    But generic type syntax is a feature exclusive to Typescript while typeof is a JavaScript thing. You’d never get Pie[Pie[T]] as a result from a typeof check. (Please excuse the square brackets; seems like the markdown parser here isn’t quite right and it keeps messing up the angle brackets)

    Also, it’s typeof foo not typeof(foo) in js








  • jana@leminal.spaceto> Greentext@lemmy.mlAnon is dating too young
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    9 months ago

    I suppose eventually I’ll come around to accepting it, if it persists. But these are not the same; the intent behind them is different. “LOL” is an acronym, not a censorship workaround. Saying it out loud is purely ironic. Maybe the zoomers saying Tiktokisms out loud is also ironic (I’ve personally never heard it directly), but the reason it exists in the first place is stupid








  • Computers are binary, yeah? So we have to represent fractional numbers with binary, too.

    In decimal, numbers past the decimal point are 10^-1, 10^-2, … etc. In binary, they’re 2^-1, 2^-2, …

    2^-1 is one half, so 0.1 in binary is 0.5 in decimal. 2^-2 is one quarter. 0.11 in binary is 0.75 in decimal. And of course you’ve got 0.01 = 0.25

    The problem comes when representing decimal numbers that don’t have neat binary representations. For instance, 0.1 in decimal is actually a repeating binary number: 0.0001100110011…



  • jana@leminal.spacetoAsklemmy@lemmy.mlReddit / lemmy vs Old internet forums
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    1
    ·
    edit-2
    10 months ago

    Personal example: I once asked on the linguistics subreddit why desceiptivist linguistics were preferred to prescriptivist and was downvoted to hell and back. The only replies were to call me a racist. I never got an answer, and I still don’t know. So voting is not the end-all be-all of forum mechanics.

    I’mma have to call bullshit here, unless there just so happened to be a different person using the name quindraco on Reddit who asked this very question.

    • Your question was answered.
    • You may have gotten downvotes, but it was certainly not “to hell and back” – your post is currently sitting at +18.
    • Not a single person called you racist, even after you compared descriptivism to literal genocide.