[-] balsoft@lemmy.ml 1 points 15 hours ago

Not disagreeing, but if you're just looking for a small Docker image, might as well build a static binary and ship it without any distro at all. Or, if you really need shared libraries and other dependencies, you can build a docker image with Nix and not get anything other than the dependencies.

[-] balsoft@lemmy.ml 1 points 1 day ago

Not sure if you're the author, but I think a self.shortRev attribute is also provided, so that you don't have to builtins.substring yourself.

[-] balsoft@lemmy.ml 14 points 1 day ago

UNIX was kinda designed to be an IDE (of its time) by itself. Desktop/Server Linux (whether GNU or non-GNU) mostly continues this tradition; you are provided with some powerful tools for text manipulation, development, debugging and deployment out of the box in most distros. As such, any modern Linux distro is pretty good for development even out of the box. However, you must learn to use this power, and I'm not claiming it's easy (I still regularly look up various manpages despite doing development on Linux for 10+ years in various forms).

With that said, I myself prefer NixOS. It really feels more developer-oriented that other distros, as you get the power of Nix out of the box, and integrated into the system. With Nix you get easy access to the biggest software repository in the world. You get per-project development shells, so that you never have to worry about different toolchain versions for different projects, or your system being contaminated with bloat you no longer need. You get the power of reproducible packaging, to eliminate a lot of (but unfortunately not all of) "Works on my machine"-type of problems. It's also got a hell of a learning curve, but I think it's worth it.

[-] balsoft@lemmy.ml 2 points 6 days ago* (last edited 6 days ago)

My understanding is that the Congress of Soviets was replaced with the Supreme Soviet, the democratic structure was changed but the Soviets remained, just shifted in form, and could still be used democratically, just not in all cases.

I believe this is true, but I would argue that the fundamental change was that non-Party candidates were almost never allowed to run. As I noted, this is not due to a constitutional change but rather a change in electoral tradition. Anecdotally, as a result of this, all three my grandparents didn't feel represented by their deputies/delegates, and welcomed that part of the Perestroyka changes, when the rules were relaxed and more alternative candidates appeared.

A good analogy is that most local governments in the US run uncontested.

I believe this to also be a non-ideal situation (especially given the two-party system where neither represents the working class). However, aren't there at least party primaries, so that one can choose which candidate from the dominant party "runs" for the uncontested election? Whereas in USSR the candidates were chosen by the Party and not the electorate directly. (my understanding of the US electoral system is lacking, so I may be wrong here).

That’s why I stressed reading Blackshirts and Reds, which dispels the mythology and takes a critical, nuances look at the USSR.

Thanks for the recommendation! I've started to read it a while ago, and mostly agreed with the contents. I'll have to pick it up again.

[-] balsoft@lemmy.ml 2 points 6 days ago* (last edited 6 days ago)

Soviets were de-facto abolished after 1936 (not due to the constitution itself, rather "by tradition"). While there technically were elections, in almost all cases there was only one candidate. The three of my grandparents that I grew up with (all proudly working-class - teacher, engineer and doctor, born in 1930s), never participated in elections with more than one candidate until Perestroyka (at which point the communist project was on its deathbed).

Note that I'm not even anti-USSR, it's still markedly better than the bullshit capitalist systems. There actually was plenty of workspace democracy, and some local democracy, but I don't think we should glorify it as some bastion of democracy. There still unfortunately was a kind of ruling class - the Party and MGB/KGB (but I should note that it was much easier for a working-class person to join their ranks than it is in capitalist "democracies"). Rather, learn from what it got right, and fix what it got wrong.

[-] balsoft@lemmy.ml 3 points 4 weeks ago* (last edited 4 weeks ago)

You can almost always replace the battery, even when the manufacturer doesn't want you to. As for flashlights, they typically come with easily user-replaceable ones, often even sold separately. Worst-case, you can get a AA or AAA flashlight and use rechargeable AA/AAAs.

[-] balsoft@lemmy.ml 18 points 1 month ago* (last edited 1 month ago)

I'm not sure you should "cheap out" on headphones per se. The really cheap ones are usually horrible, both in terms of sound quality, usability and comfort (well, except for wired Apple ones, allegedly, though they never fit me right). It's just that it makes no sense to go for really expensive ones, unless you're really into audio and love hearing the tiny sound reproduction differences between them, or enjoying the different tech etc. The middle ground of $50-$100 for in-ears and $100-300 for over-ears will often offer you good/great/excellent sound quality and the same usability&comfort as more expensive ones.

[-] balsoft@lemmy.ml 10 points 1 month ago

FYI a great way to share your logs (if you have internet on the machine but no GUI) is to use a pastebin like 0x0.st. E.g. do journalctl | curl -F'file=@-' https://0x0.st and post the link here.

[-] balsoft@lemmy.ml 5 points 1 month ago* (last edited 1 month ago)

I'd try the kernel version used in 23.11 to see if that fixes it. Add boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_1; to your config (make sure to add it before the closing }) and sudo nixos-rebuild switch . You can also try older versions, like linux_5_19. If it doesn't fix the problem it might be that the ACPI error is a red herring and the problem is something else entirely, in which case it'd be more difficult to diagnose, and I'd recommend just staying on 23.11 for now and only taking the new packages that you need from 24.05. There's a great post on how to do this here: https://discourse.nixos.org/t/installing-multiple-packages-from-unstable-channel-in-configuration-nix/19271/2 (probably also in the docs somewhere but I couldn't find it easily).

[-] balsoft@lemmy.ml 3 points 1 month ago

Navalniy and his team openly supported the annexation of Crimea (and destruction of Ukrainian and Crimean Tartar culture).

Not really: https://www.nytimes.com/2014/03/20/opinion/how-to-punish-putin.html ; this is just days after the annexation. I'm no fan of Navalny for various reasons (his nationalist views, xenophobic comments and narratives, etc), but he was very much against all Putin's shenanigans in Ukraine, and vehemently anti-war.

The recently exchanged “dissidents” also showed their true colours by supporting the annexation of currently occupied territories in Ukraine.

What are you on about? Name one of them who supported the war. Most of them were jailed due to their anti-war positions.

[-] balsoft@lemmy.ml 4 points 2 months ago

You have a very weird idea about what constitutes consent.

[-] balsoft@lemmy.ml 6 points 2 months ago

Upon further inspection, it's almost definitely AI. Look at the better-quality original: https://in.pinterest.com/pin/937874691150982659/

In particular, note the nonsensical reflection in the mirror (which is inexplicably placed on the floor?), weird toilet paper roll, and half-unicorn horn half-third ear thing sticking out from the head.

And if you check out that Pinterest account, it's full of AI-generated crap too.

Which mostly just demonstrates how good the AI has become, to the point where if you scale down the image somewhat, it fools humans and AI detectors alike.

view more: next ›

balsoft

joined 3 months ago