Its like TV. Very few good channels and many bad channels. Or like books. Very few good books and many bad books. Look for spezialized channels and educate your children. Read the bible.com . But only Jesus is reliable. Forget Moses and the punishing God.
@movq@www.uninformativ.de Yeah I just got a bit curious after watching your video and reading your OP π
Hahaha, I first thought of https://www.youtube.com/watch?v=zA52uNzx7Y4
when I read @kat@yarn.girlonthemoon.xyzβs βlyricsβ. ;-)
Doesnβt sound bad, I like it. The synth reminded me of some song by Beast in Black.
mandoc is nicer to read/write than the man macro package and, most importantly, itβs semantic markup.
HTML output is a bit broken in GNU groff, though (OpenBSD on the left, GNU on the right):

π€
Still, Iβm inclined to convert my manpages to mandoc.
@kingdomcome@yarn.girlonthemoon.xyz Yeah, itβs all about simplicity. Thatβs what got me hooked. In its original form without the extensions, you can even read the raw feed and it doesnβt feel all that bad.
Heck yeah, thatβs damn cool: Reading QR codes without a computer! https://qr.blinry.org/
@movq@www.uninformativ.de According to this screenshot, KDE still shows good old application icons: 
And GNOME used to have them, too: 
I like the looks of your window manager. Thatβs using Wayland, right? The only thing on this screenshot to critique is all that wasted space of the windows not making use of the full screen!!!1 At least the file browser. 8-)
This drives me nuts when my workmates share their screens. I really donβt get it how people can work like that. You canβt even read the whole line in the IDE or log viewer with all the expanded side bars. And then thereβs 200 pixels on the left and another 300 pixels on the right where the desktop wallpaper shows. Gnaa! Thereβs the other extreme end when somebody shares their ultra wide screen and I just have a βregularishβ 16:10 monitor and donβt see shit, because itβs resized way too tiny to fit my width. Good times. :-D
Sorry for going off on a tangent here. :-) Back to your WM: It has the right mix of being subtle and still similar to motif. Probably close to the older Windowses. My memory doesnβt serve me well, but I think they actually got it fairly good in my opinion. Your purple active window title looks killer. It just fits so well. This brown one (
) gives me also classic vibes. Awww. We ran some similar brownish color scheme (donβt recall its name) on Win95 or Win98 for some time on the family computer. I remember other people visting us not liking these colors. :-D
@kat@yarn.girlonthemoon.xyz I kind of like XML because itβs mostly well-defined and easy for humans to read (unlike YAML, which is a complete mess, imho) β¦ and at the same time, it can get complicated really fast. π«€ But at least itβs plain-text β thatβs the important part in this case. π
Xfce does one thing very right: It stores its settings in plain-text XML files. This allows me to easily read, track, and maybe even distribute these settings to other machines.
(Unlike GNOMEβs dconf, which uses some binary file format. Fun fact: The older and now deprecated gconf also used XML files.)
@aelaraji@aelaraji.com And I read the following funny response to that:
Bluesky: Users verify their age by adding a payment method or uploading a photo ID.
Mastodon: Users verify their age by posting pictures of the vintage computer equipment in their homes.
https://beige.party/@maxleibman/114848276288629121
π
ROFL π€£ Iβve just read from someone on the Fedi, that Bluesky has started asking people for ID
setpriv on Linux supports Landlock.
@prologic@twtxt.net Yeah, itβs not a strong sandbox in jennyβs case, it could still read my SSH private key (in case of an exploit of some sort). But I still like it.
I think my main takeaway is this: Knowing that technologies like Landlock/pledge/unveil exist and knowing that they are very easy to use, will probably nudge me into writing software differently in the future.
jenny was never meant to be sandboxed, so it canβt make great use of it. Future software might be different.
(And this is finally a strong argument for static linking.)
setpriv on Linux supports Landlock.
Another example:
$ setpriv \
--landlock-access fs \
--landlock-rule path-beneath:execute,read-file:/bin/ls-static \
--landlock-rule path-beneath:read-dir:/tmp \
/bin/ls-static /tmp/tmp/xorg.atom
The first argument --landlock-access fs says that nothing is allowed.
--landlock-rule path-beneath:execute,read-file:/bin/ls-static says that reading and executing that file is allowed. Itβs a statically linked ls program (not GNU ls).
--landlock-rule path-beneath:read-dir:/tmp says that reading the /tmp directory and everything below it is allowed.
The output of the ls-static program is this line:
βrwβrββrββββx 3000 200 07-12 09:19 22'491 β /tmp/tmp/xorg.atom
It was able to read the directory, see the file, do stat() on it and everything, the little x indicates that getting xattrs also worked.
3000 and 200 are user name and group name β they are shown as numeric, because the program does not have access to /etc/passwd and /etc/group.
Adding --landlock-rule path-beneath:read-file:/etc/passwd, for example, allows resolving users and yields this:
βrwβrββrββββx cathy 200 07-12 09:19 22'491 β /tmp/tmp/xorg.atom
Still remember how blown away I was when I first read this demo 3 days ago. Worth every second/conflict. Learned a ton.
@prologic@twtxt.net Yeah, this really could use a proper definition or a βmanifestβ. π Many of these ideas are not very wide spread. And I havenβt come across similar projects in all these years.
Letβs take the farbfeld image format as an example again. I think this captures the βspiritβ quite well, because this isnβt even about code.
This is the entire farbfeld spec:
farbfeld is a lossless image format which is easy to parse, pipe and compress. It has the following format:
ββββββββββ€ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Bytes β Description β
β βββββββββͺββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ£
β 8 β "farbfeld" magic value β
ββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ’
β 4 β 32-Bit BE unsigned integer (width) β
ββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ’
β 4 β 32-Bit BE unsigned integer (height) β
ββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ’
β [2222] β 4x16-Bit BE unsigned integers [RGBA] / pixel, row-major β
ββββββββββ§ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
The RGB-data should be sRGB for best interoperability and not alpha-premultiplied.
(Now, I donβt know if your screen reader can work with this. Let me know if it doesnβt.)
I think these are some of the properties worth mentioning:
- The spec is extremely short. You can read this in under a minute and fully understand it. That alone is gold.
- There are no βknobsβ: Itβs just a single version, itβs not like thereβs also an 8-bit color depth version and one for 16-bit and one for extra large images and one that supports layers and so on. This makes it much easier to implement a fully compliant program.
- Despite being so simple, itβs useful. Iβve used it in various programs, like my window manager, my status bars, some toy programs like βtuxeyesβ (an Xeyes variant), or Advent of Code.
- The format does not include compression because it doesnβt need to. Just use something like bzip2 to get file sizes similar to PNG.
- It doesnβt cover every use case under the sun, but it does cover the most important ones (imho). They have discussed using something other than RGBA and decided itβs not worth the trouble.
- They refrained from adding extra baggage like metadata. It would have needlessly complicated things.
@movq@www.uninformativ.de Yeah thatβs why Iβm striking this conversation with you π Not only do I respect your opinion quite highly π€£ But like you say (and Iβve read their philipshpy) it can be a bit βelitismβ for sure. Iβm genuinely interested in what we think of as software that βdoesnβt suckβ. Tb be honest I havenβt really put thought to paper myself, but I reckon if I did, Iβd have some opinions/ideasβ¦
@eldersnake@we.loveprivacy.club This was an interesting read for sure! π I donβt think it had anything I hadnβt already considered in terms of the ethical/moral points of view. Iβm not sure where I stand myself either to be honest. Iβve forced myself to get familiar with the ecosystem and tooling, because in my line of work as a tech lead (staff engineer in sre) you donβt want to be that one guy that ya know π Ethically/Morally though, Iβm definitely with the sentiment of this post π Much like the whole Crypto hype yaers back (if yβall remember?!) this is also one of the most energy hungry pieces of βtechβ (if you can call it that?) in a while. Then thereβs these other issues βstealing peopleβs workβ, βreliance is causing humans to become cognitively weak and neural connections to shrinkβ, to name a fewβ¦
@prologic@twtxt.net I like the last two, on the first three you sent. I looked up βCanarvon Gorgeβ, and read more about it. Thanks for introducing me to it!
Thanks @bender@twtxt.net! Yeah, so super cute. I couldnβt pet them, though. Despite very curious, they were also very restless.
I persuaded my dad to check out the fireflies with me tonight. He only wanted to go for a short trip, so we came just across a couple hundred of them. Otherwise, the thousands mark would have been exceeded in no time. He was super glad I talked him into that. :-)
It was also my first time to see them over the meadows. Those numbers donβt compare to the ones inside the forest, no question, but we probably saw 60 or so. Havenβt come across them there before, I only heard and read about that.
Note to future-Lyse next year: Leaving at 21:45 seems like a good time. We left earlier and had to wait just a few more minutes for them to come out in masses.
Too bad itβs impossible to share photos or videos. My camera isnβt made for that at all, not even close.
Read Lukas 1, the announciation and birth of the prophet John the Baptist. bible.com
Unless your Terms of use update email looks and reads the same as the one I got yesterday from mastodon.social, I donβt wanna know about it, nor do I agree to it.
@kat@yarn.girlonthemoon.xyz Ooh, Iβve got to bookmark that page. π
@aelaraji@aelaraji.com I wish I had the luxury of not reading that junk. π But instead, I have a Mutt hotkey that pipes an HTML mail through elinks β¦ Bah.
@movq@www.uninformativ.de > That guy over there in the cornerβ¦
Iβm literally sitting in a corner chuckles. I rarely get any emails nowadays. But if I do and it is not plain-text, then my Mutt gets to bark at it and I, justβ¦ wonβt read it. π€·π½ββοΈ
@movq@www.uninformativ.de Yeah. :-( But hey, there are at least six of us using mail as it should beβ’. :-)
I sent the dealer an e-mail about that with all sorts of other issues as well. Letβs see if they fix anything of that some day. Or yet just even read it.
OpenBSD has the wonderful pledge() and unveil() syscalls:
https://www.youtube.com/watch?v=bXO6nelFt-E
Not only are they super useful (the program itself can drop privileges β like, it can initialize itself, read some files, whatever, and then tell the kernel that it will never do anything like that again; if it does, e.g. by being exploited through a bug, it gets killed by the kernel), but they are also extremely easy to use.
Imagine a server program with a connected socket in file descriptor 0. Before reading any data from the client, the program can do this:
unveil("/var/www/whatever", "r");
unveil(NULL, NULL);
pledge("stdio rpath", NULL);
Done. Itβs now limited to reading files from that directory, communicating with the existing socket, stuff like that. But it cannot ever read any other files or exec() into something else.
I canβt wait for the day when we have something like this on Linux. There have been some attempts, but itβs not that easy. And itβs certainly not mainstream, yet.
I need to have a closer look at Linuxβs Landlock soon (βsoonβ), but this is considerably more complicated than pledge()/unveil():
@bender@twtxt.net Both Gopher and Mastodon are a way for me to βbabbleβ. π I basically shut down Gopher in favor of Mastodon/Fedi last year. But the Fediverse doesnβt really work for me. Itβs too focused on people (I prefer topics) and I dislike the addictive nature of likes and boosts (Iβm not disciplined enough to ignore them). Self-hosting some Fedi thing is also out of the question (the minimalistic daemons donβt really support following hashtags, which is a must-have for me).
Iβll probably keep reading Fedi stuff, I just wonβt post that much, I think.
@prologic@twtxt.net Yeah, itβs difficult, you often donβt get what youβd expect. They also make heavy use of 3rd party libraries. IIUC, for random numbers, they refer to this library. Iβve read many times that the Rust stdlib is intentionally minimalistic (to make it easier to maintain and port and all that).
Iβm struggling with this, using 3rd party libs for so many things isnβt really my cup of tea. Iβll probably make my own tiny little βstandard libraryβ. Itβs silly, but I donβt see any other options. π€·
Alert Sound
β Read more
Neighbor-Source Heat Pump
β Read more
Trojan Horse
β Read more
@kat@yarn.girlonthemoon.xyz That sounds fun! Iβm happy to read an article on how you did that. :-)
Bridge Types
β Read more
@oloke@nghia.im iβm reading about this Garage today, will watch this one for sure, promising, since those folks look like familiar with YunoHost ecosystem and French things
also found another things called Riak
just read about it, i was strongly agaisnt AI since the benninging and have also moved from GH to self-hosted Gitea.
thanks for sharing and thanks for making this!
Check Engine
β Read more
Archaea
β Read more
Mass Spec
β Read more
@movq@www.uninformativ.de i feel like when i read go code iβm reading some algebra shit where every part is 1-5 letters long and then thereβs weird symbols like := and itβs just infinitely harder for me to parse and infer meaning from lol. itβs such a me problem
fit 1 $ spin (saw 0.1 * sign fxy) $ rect 0 1 - rect 0 0.99 >> add;
#punctual #livecoding #creativecoding #videoart
@prologic@twtxt.net You can read more about the βcrypticβ live coding language Punctual in my newsletter
Drafting
β Read more
Bakerβs Units
β Read more
Wanna read something very scary?
Your future doctor is using ChatGPT to pass medical school, so you better start riding a bike and eating healthy now.
π¨π¨π¨
Renormalization
β Read more
Sail Physics
β Read more
@lyse@lyse.isobeef.org I canβt read. π€¦ Yeah, thatβs gonna be a problem. I was not yet able to trigger it, though. Maybe they are (like Google) rolling out these changes gradually β¦
@bender@twtxt.net Basically the way Iβm reading this is 1 RPM. This is a rather aggressive rate limit actually. This basically makes Github inaccessible and useless for basically anything unless youβre logged in. You can basically kiss βpursuingβ casually, anonymously goodbye.
Imagine if I imposed that kind of rate limit on twtxt.net?! π€£
Modern
β Read more
@kat@yarn.girlonthemoon.xyz You donβt need to change the directory first in line 11, you can just create the directory, thatβs sufficient since youβre having an absolute path.
The echo in line 13 is useless, you can simplify this to: newdir="$WD/$now" If you reversed this line with the previous one, you could make use of the variable in the directory creation: mkdir "$newdir".
In line 16, pull the directory change out of the loop upfront. The loop body doesnβt modify the working directory, so no need to reset it with each cycle. In fact, you could even spare the cd altogether when you simply tell find where to look: find "$basedir" -type fβ¦.
I didnβt try it, but if I read the manpage correctly, you should be able to simplify line 19 as well:
-C Change to DIR before performing any operations. This option is order-sensitive, i.e. it affects all options that follow.
Hence, remove the cd and put the -C "$WD" as the first argument to tar. Again, I didnβt try it. Proceed with caution.
Finally, you donβt need to specify the full path to rm in line 21. I bet, /bin is in your PATH. When you removed the previous cd from my last suggestion, the relative path that follows wonβt work anymore. So, just use the absolute path that you already have in a variable: rm -rf "$newdir"
I hope you find this tiny review a wee bit useful. :-)
Deposition
β Read more
Speaking of FP, this was a really nice reading https://www.gtf.io/musings/why-haskell