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

help-circle
  • I’m not surprised. StackOverflow has moderated itself out of relevance. Ask a question and get flamed. DDG a question plus “stackoverflow” and get something that may well have been correct and useful in 2012 but tech moves on and it’s now archaic trivia, somewhat akin to facts about punched cards. “Help me StackOverflow, you’re my only hope” hasn’t been true for quite some time now.





  • Personally I wouldn’t abuse a language like that. If you want to write Python, write Python. Don’t pretend some other language is Python, because it isn’t. The braces need to be in the “correct” place, i.e. { at the end of a line or on a line on its own, and } on its own line, with both braces indented correctly for the code they contain. Braces are important visual and logical indicators in C-like languages and are critical in understanding the flow of the code.

    That said, if this is some silly little noddy program that only you will ever see then you can write it however you want. Don’t expect to be taken seriously as a competent dev though if this is going to be part of your public profile.



  • letsgo@lemm.eetoMildly Infuriating@lemmy.worldDoordash deserves it's fate
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    5 months 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.




  • I think beginners would find it a lot easier if “it’s like email” was closer to the start. But as it is you have to dig a bit before you get that particular bit of insight.

    Where do you sign up? Wherever suits you. Posteo, Mailbox, Tuta etc; there are plenty of others. You aren’t limited to emailing those on your server, you can email anyone anywhere. You don’t need an account on all email servers to email people on those servers. It’s the same with Lemmy. You’re on beehaw.org, I’m on lemm.ee, and the next post down (on my screen) is on lemmy.ca.

    What if you’re on Posteo but all your friends are on Mailbox? Well you can switch to Mailbox if you want but it’s not necessary. You can still email each other.

    Defederation: if for example everyone on scammersunited.com is a scammer, the admins of your email server might decide to block email from that instance by default. Federation’s just a fancy word for people on Tuta to be able to email people on Runbox.









  • letsgo@lemm.eetoProgrammer Humor@lemmy.mlgot him
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    1 year ago

    That’s not a real operator. You’ve put a space in “i–” and removed the space in “-- >”. The statement is “while i-- is greater than zero”. Inventing an unnecessary “goes to” operator just confuses beginners and adds something else to think about while debugging.

    And yes I have seen beginners try to use <-- and --<. Just stop it.



  • Maybe nobody actually knows the answer, except probably Reddit devs and the managers that made them push those changes out, neither of which will be at liberty to say.

    We can all speculate - they’re doing something for the sake of being seen to be doing something instead of actually blocking the content; they don’t want to block the content selectively because that means KYC and lots of people get upset about that sort of thing, etc etc.