• 0 Posts
  • 108 Comments
Joined 2 years ago
cake
Cake day: June 21st, 2023

help-circle











  • letsgo@lemm.eetoMildly Infuriating@lemmy.worldDoordash deserves it's fate
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 month ago

    Easy really. The shop has one parking space which is occupied by their delivery driver. The next nearest parking space is half a mile away through a dark alley and you have to pay, but it takes so long to pay that you get fined. The shop itself is freezing because the door doesn’t shut properly. It’s also a ten mile drive away, down wide fast roads, or at least roads that would be fast if they weren’t infested by ridiculously low average speed cameras which mean you have to crawl all the way there and back or risk getting fined again. Then when you get home you discover you’ve been fined for the last time you parked somewhere and overstayed by a whole nanosecond.

    That’s how it is in the UK anyway. And politicians wonder why town centres are dying.




  • Have you ever had Windows break so badly that you had to burn an install disk…

    As a programmer, yes under Windows 3.0 I could crash the computer so hard that the only way to recover was to reformat the hard disk. It got progressively better in later versions and everything from Windows 2000 has been virtually uncrashable.

    My most recent hard crash was when I had a VM, two Minecraft instances and Firefox all open at the same time and Windows ran out of memory (so I upgraded from 32GB to 64GB). It does make me wonder why some of that didn’t get swapped out though.



  • Well that’s OK. It’s not uncommon for different countries to name bits of land and water differently from everyone else. Take Germany for example. The locals call it Deutschland. The French call it Allemagne. Or there are the Falklands, known by the argybargies as Las Malvinas. If Donny McFart in North Mexico wants to call that bit of water the Freedom Gulf or whatever then good for him! As long as he realises it works both ways.




  • C++:

    int i = 5;
    i ^= printf("The initial value of i is %d\n", i)^
    printf("i=i+1; // this increments i\n")^
    printf("Trigger very obscure FPU bug %c",(int)((float)8.5953287712*(double)8.5953287713-'?'))/10;
    printf("i has now been incremented by 1 : %d\n", i);
    

    Output:

    The initial value of i is 5  
    i=i+1; // this increments i  
    Trigger very obscure FPU bug  
    i has now been incremented by 1 : 6
    

    I didn’t test other values but they’re probably OK.