• 0 Posts
  • 146 Comments
Joined 2 months ago
cake
Cake day: February 22nd, 2026

help-circle

  • I did some webdriver stuff for reasons I don’t remember anymore.

    I also made a simple Django app to track job applications.

    Unsolicited advice:

    • use type annotations. You’ll thank yourself later when your IDE tells you “hey this can be None are you sure you want to call .some_func() on it?”
    • use an ide. Don’t just raw dog it in notepad. You should have syntax highlighting, red squiggles for errors, the ability to go to definition.
    • learn to use a debugger. Pdb is built in and fine.
    • don’t write mega functions that do a thousand things. Split things up into smaller steps.
    • avoid side effects. You don’t want your “say_hello” function to also turn on the lights











  • jtrek@startrek.websitetoHumor@lemmy.worldRule-follower
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    4 days ago

    It’s because leadership is a heady cocktail of stupid and selfish.

    I really want to stress stupid. That means they draw bad conclusions from facts.

    Sometimes selfish is a factor. They have an obscure reason like “my share value goes up because we get a kickback from the city for staffing an office here”. They don’t care if it’s bad for everyone else or the company long term. They’ll get their money and then leave.




  • I recently knew two people who came to the US recently.

    One was from India, and he came for the money. He has a low six figure job as a “product manager” and the CEO’s toady. He’s quite ignorant of US politics and history, so he’s not really concerned.

    The other came from canada, but also has EU residency (or citizenship? unclear). He said he makes more money here. He’s making mid six figures as a software engineer at a startup, with poor work/life balance. He can always leave, since his parents own a house in germany.

    Neither were coming here like an old timey tale of immigrants trying to find a better life.


  • The people who really want racist/sexist/etc comics are free to make their own instance or community. This is the fediverse. There’s no government with guns or CEO to lock it down.

    If that stuff makes for a better community, it will do just fine. I expect it won’t.

    One of the things right-wingers push for is the idea that they’re normal and healthy, and everyone else is deficient. Like everything else from the right, it’s projection.