• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: August 2nd, 2023

help-circle
  • The main problem with Java (or garbage collected languages in general) as a first language is needing to unlearn the bad habits it ingrains when you move to a systems programming language with manual memory management. Other than that it’s a pretty good first language, though I’d suggest learning a bit of C at the same time just to get a basic grip on things like pointers and stack vs heap.



  • Quetzalcutlass@lemmy.worldtoAsklemmy@lemmy.mlFavourite sandwich?
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    25 days ago

    The best sandwich I ever had was a panini I randomly threw together for a snack at three in the morning. The next day I went to make it again since it was so delicious, but realized I’d forgotten some of the ingredients I used. I was in the middle of a sandwich-making phase at the time so I had like a dozen types of bread, meat, and cheese to pick from.

    This was a decade ago and I’ve never been able to recreate that perfect sandwich despite several attempts. It’s my culinary white whale. The only ingredients I am sure of are the spread (light mayo in one side, applewood-smoked bacon mustard on the other) and the meat (honey-smoked turkey), and that it was only a simple meat-and-cheese. The bread and cheese continue to elude me.









  • Quetzalcutlass@lemmy.worldtoScience Memes@mander.xyzhmmmm
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    7 months ago

    If the tracks are scaled to the same unit (presumably one where one human width equals an infinitely small number), everyone in the top track would die of exposure before the trolley even reaches its first victim due to there being infinite distance between integer milestones, whereas everyone in the bottom track would be killed instantly due to any distance traveled having an infinite number of infinitesimals*. So I choose the bottom track to be merciful.

    If the tracks don’t share the same scale then we don’t have enough information to make a judgment.

    * Even though we already established the one human width rule. Could someone check my logic here? Infinities break my brain.