Skip Navigation

Posts
1
Comments
285
Joined
3 yr. ago

  • There are two main schools of thought in software development about how to build really big, complicated stuff.

    IT vs OT?

    The career path of most application programmers is fairly short.

    I think it's due to the crazy growth programming has (and is) gone through. I think there's still a relative ton of greybeards around, but they are vastly being outnumbered by the newbies.

    This is also why I think we keep reinventing shit, typically in a worse way, because there are not enough greybeards to go around.

  • Deleted

    Permanently Deleted

    Jump
  • I prefer to flip the logic of the .gitignore.

     
        
    # ignore root files/folders
    /*
    
    # unignore files
    !.gitignore
    !README.md
    !Justfile
    !flake.nix
    !flake.lock
    !pyproject.toml
    !.python-version
    !uv.lock
    
    # unignore folders
    !src/
    !docs/
    
    # reignore (recursively)
    __pycache__
    
      

    This includes the files and folders (and their subfiles/folders), while recursively ignoring any pycache bullshit.

    • Small
    • Maintainable
    • Easy to change
    • Readable
  • Then why share it on social media?🤔

  • Creative constraints bred creativity.

    That might explain why there's so much crap coming out of the gaming industry. All the old constraints are gone, so everything now very much looks the same.

    Just give yourself artificial constraints.

  • It's the reason I switched to NixOS - I can't pin for shit in Debian, and I'm stuck at whatever version they want things to be (like ye olde git). Some programs I just want to be bleeding edge, the rest I don't care much about (unless it breaks).

    Meanwhile, I can pin things in Cargo (Rust), and uv (Python) just fine, which is why it stings so hard that Debian doesn't have it :(

  • Deleted

    Permanently Deleted

    Jump
  • Deleted

    Permanently Deleted

    Jump
  • /u/spez is the effective reason.

    Reddit was great for me, back in 2008, but over the years slowly got more and more "normy"/less technical, more drama, more celebrities, the new UI, letting in the Digg refugees, not keeping old.reddit.com somewhat up-to-date while forcing me to use the new UI for certain pages, letting users get banned from subreddit A because they ever posted on subreddit B, with the API bullshittery as the straw that broke the camel's back. Oh, and the MASSIVE amount of shadow-banning/deletion that happens. You have NO idea how many comments get removed, just from your own account. Check out https://www.reveddit.com/ for evidence.

    I slowly deleted 9 of my 10 accounts (one of them was combine_policeman, which I used to tell a user to "pick up that can, hehehehe"), kept my last one, until I made a flippant comment about whether Americans were going to burn down a city, because Mrs Good got killed (because, you know, people burned down their own city after George Floyd), which I said because I know white Americans don't care about their own. Individualism for thee, but not for me, and all that.

    Anway, felt offended about the warning (and deleted comment), so I deleted my account that night. Fuck 'em.

    I already had done a request-for-data, which I used to delete my thousands upon thousands of comments from the site. Because fuck 'em!

    Lemmy/programming.dev feels so much more like 2008 Reddit, it's insane. There are more communists here, than 2008 Reddit, but they had a bunch of Libertarians, so it evens out, lmao.

  • planting a single crop per field

    There's crop rotation... Or did you mean "why don't we mix different plants"?

  • The claim was “Yet most AI models can recite entire Harry Potter books if prompted the right way, so that’s all bullshit.”

    In this test they did not get a model to produce an entire book with the right prompt.

    For context: These two sentences are 46 Tokens/210 Characters, as per https://platform.openai.com/tokenizer.

    50 tokens is just about two sentences. This comment is about 42 tokens itself.

  • I'm a programmer and have switched to NixOS, because I can define all my configurations in code+git repo, which is great. I now have a single repo that has some parts that are shared, and some parts are host-specific (one desktop + 2 laptops, for now), and if I fix some bug (like my Samsung 990 Pro SSDs having Linux issues), I know it'll be permanently fixed, instead of having to re-figure everything out after a reinstallation.

    NixOS BTW. We're making it ours.

    edit: Steam has been a non-issue, so gaming has been great so far! Not that I've been gaming a ton, but still.

    Also, being able to use an LLM to fix stuff for me in my nixcfg repo has been great - I would NOT have been as productive with NixOS had I not have had Codex.

  • Protip: Turn off Dark Reader for that page - it'll 'break' the optical illusions.

  • This just makes me want to stay in the terminal forever!

  • Deleted

    Permanently Deleted

    Jump
  • Suicidal empathy.

  • He's a very untalented

    Yet he was able to get his channel to 4 million subs, demonstrating that you're lying about him.

    unintelligent young man

    He's 35

    who needs attention to have an income

    This describes literally any science yt channel...

    Just say you don't like him, or even hate him. No need to dress it up in arguments.

  • Clapping ovaries, eh? That's the noise that IT'S BABY-MAKING TIIIIIIME!

    That's "klapperende eierstokken" in Dutch, BTW.

  • Neat! Reminds me of Mystical - a language where every function is a magic circle.

  • I think they’re just uncomfortable with the word “master”

    1 person over at Microsoft complained, and they moved mountains for this person to replace master with main. It sounds like a joke, but it's not.

    and that seems completely reasonable to me

    No it doesn't. Why does an entire industry need to flip over, because of a single person? Like the ability of changing the master branch for yourself should have been enough. Changing the default over on Github to strong-arm the rest of the world is disgusting behaviour. Which is why I'm sticking to master wherever I can.

    especially when they’re people from a group which has been subjected to slavery.

    That is literally every group... Every group has been slaves (and slavers) at some point in time. That's not a good argument.

  • Haskell:

    https://learnyouahaskell.com/introduction

    It's been a while since writing some (2018), but the concepts you learn from Haskell are great (though I still can't explain Monads, even if my life depended on it) and can be applied in other languages.

    Anyway, I can't speak to BEAM, but Haskell is very typeful, it teaches you currying, very great language, awful tooling (but that was ~10 years ago, so I hope things have improved since).

  • Aaah, PHP. I'll stick with GoHugo, but it's good to know alternatives!