![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/8140dda6-9512-4297-ac17-d303638c90a6.png)
Here’s a language that does bash and Windows batch files: https://github.com/batsh-dev-team/Batsh
I haven’t used either tool, so I can’t recommend one over the other.
Here’s a language that does bash and Windows batch files: https://github.com/batsh-dev-team/Batsh
I haven’t used either tool, so I can’t recommend one over the other.
I’m using value in the loosest sense, like how all objects are values.
So now if you have three implementations of IProductService
, how do you know which one is configured?
I mean, if you’re making a railgun, maybe superconducting magnets would be useful tech to have 🤔
I’m not exactly sure what you mean. Doesn’t all dependency injection work the way I described?
Without being familiar with the framework, you can’t trace your way from the class getting injected into to the configuration, even if you’re experienced with the language.
Dependency injection is so much worse. Oh, hey, where’d this value come from? Giant blob of opaque reflection code.
Ha, abusing fork
for asynchronous saves is clever. I hope they are aware of the following restriction:
After a fork() in a multithreaded program, the child can safely call only async-signal-safe functions (see signal-safety(7)) until such time as it calls execve(2).
That’s absolutely true. What’s hard and what’s easy in programming is so completely foreign to non-programmers.
Wait, you can guess my password in under a week but you can’t figure out how to pack a knapsack?
Corrupted initramfs?
I’d like Gentoo ebuilds to run in a fully isolated namespace/container with only the dependencies explicitly enabled by portage configuration. Something like a mix of nix but with the ebuild syntax.
Yes, this. Don’t put your whole home directory in git.
This doesn’t hold. Commit signature is a feature of git itself, even though the article chooses to focus on GitHub. And afaik github integration of signatures doesn’t break code hosting elsewhere, GH merely allows you to register your GPG signature with them so they’re able to validate the commits, but the author is still able to enroll the same GPG key to other hosts.
Not only that, but GitHub rewrites signatures on rebase (and sometimes on fast forward merge) with their own private key. Using signatures on GitHub is basically pointless.
Chiming in to also recommend Gentoo. It’s a pretty stable rolling release distro, with access to pretty new packages when necessary.
Snaps just aren’t ready yet.
Is there a nocontext community on Lemmy yet? This belongs there.
The only remedy is attending mass more often.
Go for it then! Gentoo is a blast (if you enjoy this sort of thing) and is surprisingly stable once you get it set up.
One tip, before I forget, is to save your firmware from MacOS before wiping the drive. Unfortunately I don’t remember where it’s located, and no longer have access to try and find it 😅
You’ll need to be a bit more specific about the iMac. What year is it?
If it’s pre-2017, I’d expect some difficulty with the WiFi. If it’s newer, you might have luck with https://wiki.t2linux.org/distributions/gentoo/installation/ . I haven’t followed that guide, so YMMV.
Bit of pedantry, but ~/boot
expands to something like /home/username/boot
.
/boot
is a folder at the root of your filesystem, while ~/boot
is a directory in your home folder.
Unpopular opinion: Gnome software is pretty solid, and if your computer usage patterns overlap with their design, it is quite a lovely DE. I’d rather have something that works well, even if it doesn’t do everything under the sun.