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’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’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.
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?
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.
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.
wingtk should work, though it’s been a few years since I tried it. What happened?
Advanced advanced Linux user: “Ctrl+S shit what’s the unsuspend button”
The real interesting debate is between ((f) 1)
and f()(1)
.
It used to be AGPL, now it’s SSPL.
Inserting/updating a link rel=“icon” … tag is one approach.
In the sense that a CD player learns new music when you insert a disc, yes.
Bloody hell, why did the designer print the new UI mockup?
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.