[-] chayleaf@lemmy.ml 32 points 7 months ago

because killing birds isn't a task of the kernel, it's the task of a userspace utility part of the coreutils

[-] chayleaf@lemmy.ml 11 points 8 months ago

You are deeply delusional if you think "producing bombs" is the only thing America does for Israel. The states have very deep ties, because Israel is America's primary outpost in the region. "Geopolitical partners" are non-fungible. You can't just say "if the US didn't support Israel, some other country would", that's not how it works, besides the self-evident statement that there would be some state with some ideology with some policies at that territory. For example, from the very start (1967) PFLP fought not just Zionism, but also Western, primarily American imperialism - that's how obvious the connection is.

And I'm not American so I don't even know who Kamala is, but I imagine it's some random genocidal politician that could just as well be replaced with any other genocidal politician. The US supporting an Israeli ceasefire would indeed be a heavy blow to Israel because US interests are the only thing preventing unanimous UN support for a ceasfire, and because the US is Israel's primary economic partner, and under US sanctions Israel's military prowess would quickly dive below the level of Cuba, even lower because of the hostility of most countries of the world towards it. But the "ceasefire" framing is disingenuous as it considers the two sides of the conflict as equals, as opposed to the occupied and the occupier.

Of course, what you are saying would be natural for someone who believes in vulgar economists' favorite "supply and demand" and "the invisible hand of the market" being something akin to natural forces. Luckily, they aren't actually natural forces, but something created by humans, something we can analyze just fine.

[-] chayleaf@lemmy.ml 14 points 8 months ago

it's no secret that Israel can only function like it does thanks to US support

[-] chayleaf@lemmy.ml 15 points 9 months ago

least genocidal liberal

[-] chayleaf@lemmy.ml 11 points 10 months ago

it's actually a reference to "video games cause violence"

[-] chayleaf@lemmy.ml 13 points 11 months ago

strictly speaking, NixOS doesn't have repositories.

NixOS has "derivations" (rules are written in the Nix language to generate a script that builds a package, which is called a derivation - yes, everything is built from source to the extent possible/reasonable) and "platforms" (the system that builds the derivation OR the system the derivation is built for). A "platform" is e.g. the CPU architecture, the libc used, the target kernel (there's most support for Linux and Darwin, which is the macOS kernel, but e.g. FreeBSD is supported to some extent too). The derivation code may well be shared across platforms, though often platform-specific workarounds are required.

Of course, different platforms have different support. Some platforms have derivations from nixpkgs (the NixOS git repo) regularly built for them and put into the official binary cache (which stores the derivation outputs, i.e. ready-built packages for a certain set of inputs, which generally match what you would've built from source because Nix strives for reproducibility, you're still free to override a package's inputs and build it from source). linux-aarch64 is one of such platforms. Other platforms may only have a small set of core packages like gcc built for them, or simply require building absolutely everything from source.

The reason nixpkgs is not a repository (though I guess you could call it one) is because it only provides rules to build a package, but not the package itself. Some derivations (e.g. for Gog games) even require you to add some non-redistributable files to the Nix store manually. The derivations may or may not build correctly for each platform they're supposed to work on.

The reason the binary cache is not a repository is because it's just a cache for nixpkgs - it stores every derivation's output (if the build doesn't fail), even if that derivation is one that downloads a package's source code (yes, that's a derivation too), even if the derivation is from many years ago (which has historical value, as you can revert nixpkgs to an old version and still be able to download prebuilt versions of packages).

Together, they form something like a repository, but it's still way too different. For example, unlike on Arch, I can stay on the same nixpkgs version for a long time without updating, which I really prefer because I have to build 3 kernels on each update, since I'm syncing the nixpkgs version of my 4 NixOS devices, only 1 of which doesn't require a custom kernel config. Or I can always revert back to an older version of nixpkgs if a new one breaks something and it will still work. Or I can fork nixpkgs and change some stuff, and the stuff with changed inputs will have to be rebuilt locally, with stuff that didn't change still available from the binary cache.

104
submitted 11 months ago by chayleaf@lemmy.ml to c/linux@lemmy.ml

My biggest blog post yet, and it's about running (almost) vanilla NixOS on a (formerly) Android phone! This was 50% fun and 50% exhausting... you solve one issue and another one crops up right away... it was certainly an interesting educational experience.

I'm not explaining any basic technical concepts here, as I'm not a complete noob in phone ROMs and Linux.

Ask me any questions if you have them!

[-] chayleaf@lemmy.ml 11 points 11 months ago

"80% of the world is against Israel, which is backed by my country, but among them there are countries that are bad and oppose my country for some reason, so I'll support what my country is backing instead"

Israel is much more successful in massacring people than any of the countries you could think of. And please, don't talk shit about other countries when you aren't ready to fight against your country's ruling class. That never ended well. This is literally the reason some Russian "communists" support the war.

[-] chayleaf@lemmy.ml 12 points 1 year ago

actually many "Unix people" got mad at cat becoming "bloated", because of options like -v (which escapes nonprinting characters)

[-] chayleaf@lemmy.ml 16 points 1 year ago* (last edited 1 year ago)

I use fish + tide

I tried zsh+p10k before fish+tide, but zsh felt annoying in subtle ways that weren't fixable with (existing) plugins, so I switched back to fish, but installed tide to mimic my previous p10k theme.

[-] chayleaf@lemmy.ml 60 points 1 year ago

Discord isn't encrypted at all

[-] chayleaf@lemmy.ml 13 points 1 year ago

for example, when you need to copy some files and not the other, you can take your time selecting the specific files you need to copy instead of writing the list of files in one command. When you want to check the contents of a lot of files, you can just open file preview. Etc, basically sometimes CLI isn't as convenient as TUI/GUI

111
submitted 1 year ago* (last edited 1 year ago) by chayleaf@lemmy.ml to c/linux@lemmy.ml

After commit 0bc3126c9cfa0b8c761483215c25382f831a7c6f in linux-firmware my system stopped booting (due to being unable to mount root fs). The bug isn't occurring all the time even with this commit, but I've still successfully tracked it down to this specific commit. Now I'm not sure where I can report it, as I could find info about maintainers of certain Linux subsystems, but not of linux-firmware or its constituent parts (like amd-ucode).

Edit: I've sent it to the person who authored the commit for the time being

[-] chayleaf@lemmy.ml 11 points 1 year ago

it isn't loading a script from googlevideo, it's downloading media from googlevideo. Noscript isn't only for blocking JS.

55

This is a lightweight alternative for Goldberg for the single purpose of unlocking DLCs. Just rename the game's steam_api.dll to steam_api.orig.dll, download steam_api.dll from releases and put it in place of the original steam_api.dll, the game will keep interacting with Steam as usual but it will consider all DLCs installed. Of course, you also need to download the actual DLC files from somewhere.

I've actually only tested it on Linux, so I'm curious to know if it works fine on Windows and MacOS.

view more: next ›

chayleaf

joined 2 years ago