• 0 Posts
  • 15 Comments
Joined 7 months ago
cake
Cake day: December 9th, 2024

help-circle

  • CodexArcanum@lemmy.dbzer0.comtolinuxmemes@lemmy.worldWhich git branch are you on?
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    7
    ·
    edit-2
    4 days ago

    For all the sudden word scholars here: there is no second word “master” that’s spelled, pronounced, and written exactly the same as the other one but is entirely unrelated to the concept of master\slave. All modern meanings of the word master derive from the same root: magister, meaning an authority or teacher.

    A “master recording” is the authority, the base copy from which all others are duplicated. They aren’t called “slave” copies, although the primary use of the terms in computing did originally use those 2 words. Also as someone else pointed out, you don’t even really make copies of git branches in the same way as audio so the term is misapplied.

    Main is also a bad name, unless you’re working on a solo project with only 1 main branch and some features. As soon as you start collaborating with other people, you should really have individual dev branches or “forks” (be honest, 90% of you aren’t rawdogging git straight from the CLI, there’s a forge website involved as hub) to work on, with an integration\testing “fork”\branch to combine work and a release branch for final code, with each discrete release tagged.

    No gods, no kings, no masters!




  • My impressions from this comic are that I would hate the creator if I ever met them.

    I think the joke is a typical take on ADHDers having “eyes bigger than their stomachs” for large tasks. Swimming in a lake is very fun, and can help one feel connected to nature. Swimming across a lake is a huge task, possibly requiring training, could take a long time, and is dangerous.

    Why they decided to sit on the beach instead of swimming at all, I have no idea. Maybe it’s a “lakes are deep and scary because lake monsters” thing?






  • I feel like its a mixed bag. Certainly there’s an infinitely higher chance of someone randomly noticing a backdoor in OSS than in closed source simply because any OSS project in use has someone looking at it. Many closed systems have dusty corners that haven’t had programmer eyes on them in years.

    But also, modern dev requires either more vigilance than most of us have to give or more trust than most of us would ideally be comfortable offering. Forget leftpad, I’ve had npm dependencies run a full python script to compile and build sub dependencies. Every time I run npm update, it could be mining a couple of bitcoins for all I know in addition to installing gigs and gigs of other people’s code.

    The whole industry had deep talks after leftpadgate about what needed to be done and ultimately, not much changed. NPM changed policy so that people couldn’t just dissapear their packages. But we didn’t come up with some better way.

    Pretty much every language has its own NPM now, the problem is more widespread than ever. With Rust, it can run arbitrary macros and rust code in the build files, it can embed C dependencies. I’m not saying it would be super easy to hide something in cargo, i haven’t tried so I don’t know, but i do think the build system is incredibly vulnerable to supply chain attacks. A dependency chain could easily pull in some backdoor native code, embed it deep into your app, and you might never realize it’s even there.




  • I doubt they’ll get anywhere with weak action like that. “Stop forcing copilot on us or we’ll be very sad and we’ll strongly consider moving some of our hosting to another site.”

    GitHub is a disaster for open source software. MS controls some insane amount of all the code created on earth, and even with self-hosted forges being more prolific and easier to access than ever, people act like their projects can’t live without Big Daddy MS’s social media for coders.

    I saw someone the other day, on Lemmy and in full seriousness, proclaim that the world really needed distributed version control. To avoid censorship, like how the fediverse is decentralized.

    This is what GitHub has done to a generation of programmers. For those missing the joke, git is already decentralized. You don’t need a central Hub of some kind for your code. You do for your issues, releases, and all that, but not for the code. And if we’d collectively moved to a well designed, intentionally improved system like Fossil, all that woukd have been decentralized and distributed too.

    But no, easier and more efficient/profitable to keep using the one C library that’s compatible with Torvald’s pile of old Perl scripts. My website can’t live without a built in Travis CI bot and nonstop PRs from dependency bot, but allowing every moron on earth to submit AI generated content, at last we’ve found the step too far.


  • A pretty large amount of people don’t own a PC at all, though I’m finding it surprisingly hard to get a good number on it. Just anecdotally, most people I know who aren’t IT professionals have either no PC or 1 old laptop, often from college or on loan from work. Most folks use their phones for everything. People I know with kids have school issued Chromebooks, which barely counts.

    As to exact numbers, I’m curious what others can find. I turned up between 74% and 94% of adults in the US owned a PC, which seems insanely high to me. But on the same page claiming that 89% of all households have a PC, I also saw

    In the United States, the number of households with computers is projected to surge from 4.7 million to 120.45 million between 2024 and 2029, indicating a substantial increase in computer ownership.

    Which… That’s bonkers. They expect the number of PCs (in homes) to go up by a factor of 30 in just 5 years, presumably that guess was before tariffs as well. I’m wondering if these household and per capita numbers somehow include corporate spending because businesses and schools do purchase literal tons of computers.


  • Objects don’t “have” colors either, if we’re being pedantic. They reflect/absorb/transmit/emit different combinations of wavelengths. So “pink” objects just reflect some wavelengths that we classify as in the range of “red” and “blue”. Color is an interaction between emission, detection, and the brain’s interpretation.

    Its not even a unique trick. The ears combine various wavelengths of air vibrations to create sound, with combinations of pure waves merging into distinct timbres (sometimes called “tonal color”).