wl-gammarelay-rs has worked for me. This is a daemon controlled through dbus, but there are some applets listed in the readme as well as a script in the repo for adjusting based on the time of day.
- 0 Posts
- 6 Comments
fysihcyst@lemmy.mlto
Programmer Humor@lemmy.ml•Oh boy what a beautiful regex. I'm sure it does something logical and easy to understand.
8·1 year agoThis is brilliantly disgusting.
Literal interpretation of the regex
The regex matches either a line with a single character or a line with a sequence of two or more characters that’s repeated two or more times. For some examples: the regex matches “a”, “b”, “abab”, “ababab”, “aaaa”, and “bbbbbb”, but does not match “aa”, “bb”, “aaa”, “ab”, “aba”, or “ababa”.
Hint for the special thing it matches
For a line with a single character repeated n times, what does matching (or not matching) this regex say about the number n?
Apparently two years ago. Though they’ve been a “beta feature” you need to enable in the settings. I’ve yet to use them, but would be interested how others feel they compare to discord.
edit: fixed broken link
fysihcyst@lemmy.mlto
Linux@lemmy.ml•"In The Beginning Was The Command Line" An essay by Neal Stephenson that talks about proprietary operating systems and FOSS operating systems. Written in 1999.
3·1 year agoAnathem came to mind for me. Each reply naming a different book is pretty funny.
fysihcyst@lemmy.mlto
Socialism@lemmy.ml•Anti-communism, Education, and the Internet (SecondThought)
7·2 years agoIt seems that in the US definitions of words related to moving past (or even mitigating the harms of) capitalism all get mixed together. Some of this is just how language evolves over time, but it’s also a result of this being a topic subject to quite a bit of propaganda. On the right they will call any regulation they disagree with communism, and on the left you mention Bernie’s “democratic socialism” vs “socialized capitalism”. At this point if one is interested in slowing profit driven harm to people and the environment (where the clock is ticking) it may be best to destigmatize words like marxism, communism, and socialism as you will be called all of them anyway.
I’m not a fan of the more authoritarian aspects of the USSR or China, but I question the claim that it was obviously an inefficient economic system. Pre-communist China and USSR were both rather poor, nearly pre-industrial nations before their revolutions and both grew to become superpowers in a very short amount of time. All while being actively opposed by the west and in Russia’s case after losing a huge chunk of their population in WW2.
I’m also not convinced that the promise of “getting rich” motivates much innovation. Or if it does I suspect it’s less the wealth and more the escape from the anxiety that comes from wondering how your family will live under capitalism. Plenty of people contribute to open source software or choose careers in science and technology research with longer hours and a fraction of the pay as using the same skill set to design algorithms that get kids to look at more ads. Where markets might be more “efficient” is in incentivizing necessary, but unpopular jobs like cleaning a sewer; markets accomplish this via the threat of eviction, prison, and starvation if you were born in the wrong group.
There must be a better way. I don’t care what it’s called, I just hope we can sort it out before climate change makes life much worse.

Did you run garbage collection?
Just in case you (understandably) missed this concept “deleting” a generation does not remove package files from the nix store, they are just no longer referenced by the environment of your new configuration. Garbage collection (GC) can be run manually or set to run periodically to actually remove unreferenced files from the nix store. This is pretty nice when iterating on some package as you can make a change, rebuild, then if you change your mind instantly go back to some prior version without rebuilding or redownloading dependencies, and just let GC clean up for you later.
If you’re on a system where you’re really worried about disk space down to the relatively small size that extra package versions might use maybe nixos isn’t the best choice. One could setup and build the configuration for a disk space constrained system on another larger system, though the nix learning curve is steep enough without navigating the multiple ways to do that while learning.
OTOH, it might be that some other package in your config, possibly nix itself, depends on git (to get the packages) and that’s what you’re seeing in the store. This version should not interfere with anything in your user environment, e.g. if you want to install some alternative version of git or something (I don’t know why you want to remove git).