Elon Musk turning off Starlink to prevent an attack by Ukrainians defending themselves from Russian state aggression is as clear and devastating an indictment of the ancap dream of a stateless but fully-privatized world as I could have ever imagined.
Now I'm even more confused. Though I agree with your sentiment - that capital cannot exist without the state, and would even venture that Musk is assigned by the state to represent an "ancap dream" in the eyes of those inclined to pursue one, I still don't see how you could indict a dream - or, indeed, if we take this "dream" at face value as a coherent ideology, what's stateless or privatized about someone whose fortune and decision making is entirely rooted in state funds
What is the exact issue you're having? I know the pain of setting up environments where NixOS stays out of the way and I'm very interested in these use cases
I wonder if you can't modify the activate script in the virtualenv to point to /run/current-system/sw/bin/python3? Or is my Python getting a rusty
Thanks for this @RGrunblatt! I've seen buildFHSUserEnv before but (as with so many things in the Nix ecosystem) hadn't come across a succinct usable example before.
@publicvoit Add this code to a shell.nix file in your project's root directory. Call nix-shell in your project directory before running. From a cronjob, nix-shell /path/to/shell.nix --command your-project-entrypoint should do the trick.
You ever think about how if governments actually cared about their country's overall economic output that they would've made housing, food, healthcare, education, and transit free long ago? Because the statistical worth of a human life is 7.5 million and providing those things would probably cost somewhere south of 1.5 million, probably much less with economies of scale and no profit motive, which means that governments would be earning 6 million per person per lifetime. For the US that would be 2.1 quadrillion dollars per lifetime for the population, or 27.5 trillion dollars per year, which is more than its current gdp
But wait! There's more! You'd get economies of scale, and my number is based on current market costs. You could probably get that number down by an order of magnitude, but let's be conservative and say it's only 5. That means gdp could be 6 times higher than it currently is under a system that provided all needs
Shame nobody in power gives a shit about actually optimizing economic output
I think these number are all imaginary. Under a system that provided all needs, you wouldn't need metrics such as GDP, or putting monetary values on human lives. You would need other tools to solve other problems, things we can scarcely imagine, and control addicts have a vital interest in being unable to imagine.
What is a good short book if I want to get really good at #JavaScript? I can’t stand video courses and I don’t need anything to teach me basics of programming or super beginner stuff.
TypeScript is #EmbraceExtendExtinguish in the form of a half-assed attempt to make a static language out of a dynamic one.
If you start with TS, you'll categorically miss out on the "zen of JS" - and you won't know where JS ends and TS begins
(Idk if there isn't some setting for TS to passively typecheck unmodified JS code though - which it should be able, to a large extent, by using type inference)
TS can be very frustrating and limiting and core devs don't give a shit
Windows: Open Microsoft Store, Tab to something like “library”, press Enter, tab to check for updates, Enter again, tab to the list. (I’m not on Windows right now so this isn’t exact.)
Mac: Open App Store, hit Command + 8, then Command + R to refresh, interact with “upcoming automatic updates,” and you’ve got the list.
So, for me, keyboard commands are important. I know they’re hard to remember for some people, but they should always be an option. I have no idea why a lot of UWP Windows apps don’t have them. Also the flat interface is just a sprawling mess to me.
Updating apps my #Linux PC: hit Cmd+1, write "/up", hit Enter.
Granted, I had to define the /up alias myself (as an alias to a somewhat longer distro-specific update command.)
But the important thing is that I was allowed that option at all.
#GUI was originally a way to not have to learn how that damn computer works - 30 years later their function is to make it difficult to do so. So users become dependent on meager affordances by app devs to get anything done. #PointAndGrunt
And of course, since the assumption that the user is sighted is paradigmatic to GUIs, and GUI code is especially susceptible to framework/toolkit churn (mostly for no other reason but to make it look "new"), accessibility is likely to continue to erode as more and more apps are rewritten by less and less experienced developers with the latest and greatest toolkit
Touch/mobile is another culprit. Hiding information and assuming sensory modalities is not how you make complex systems easy to navigate - that's ass-backwards.
🦀Cargo - The Package manager of Rust.
🦀Cargo.toml --> Config files for Rust like JSON.
🦀Cargo run, cargo build, and cargo check commands and uses.
🦀Started making a guessing game in Rust as a hands-on Project.
This ad poster for the iMac is utterly perfect. Perfect photo, perfect slogan (the period at the end is key — “Yum” without the period wouldn’t quite play the same way), perfect relative scale and placement of the elements. Even the kerning is perfect — Apple Garamond never looked better or more timeless.
Is it because bright colors remind ppl of artificially sweetened food? 🤔
I guess the iMacs do look like candy if you could stretch your imagination a bit... But tbh the first time I looked at this ad, they looked to me like vacuum cleaners. The 2nd time, like car keys? 🙄
And the font looks especially unbalanced/misaligned. The thick part of the "Y", the hanging corner of the "u"... #yuck :( To each their own, I guess
then configure the terminal emulator to use the patched font.
haven't had to use flakes much, nor home-manager. just a nixos config + a portable nix-shell with all the dev stuff that doesn't depend on system-wide config services is enough to start getting things done IME. preserving the mutability of personal dotfiles is a good thing imho
Add a script at "/up" which runs "sudo nixos-rebuild switch --fast --verbose" to save yourself all that typing
Add a "/.gitignore" at your FS root, ignoring everything besides "/etc/nixos" and the "/up" script. Now you can version your whole system with Git on an as-needed basis
Also heard of some cool tricks with immutable NixOS + ZFS but havent looked into
How is fish shell these days? Some years back when I was using it under arch, it was way incompatible with bash