… aaaaaaand I had the first bug in my toy OS that was caused by caching. 😂 Bloody caching. (It only triggered in error conditions, but still.)
@kat@yarn.girlonthemoon.xyz Yeah, Java itself is somewhat “controversial”, I guess. 😅 But I’ve always found their documentation to be very pleasent to work with, at least that of the standard library.
@kat@yarn.girlonthemoon.xyz Okay, horrible cookie popup aside, would you say this is easier to read? https://docs.oracle.com/javase/8/docs/api/java/util/List.html#method.summary 🤔
@prologic@twtxt.net Yeah, robots.txt or ai.txt are not worth the effort. I have them, but they get ignored. Just now, I saw a stupid AI bot hitting one of my blog posts like crazy. Not just once, but hundreds of times, over and over. 🤦🙄
For some reason, I was using calc all this time. I mean, it’s good, but I need to do base conversions (dec, hex, bin) very often and you have to type base(2)
or base(16)
in calc to do that. That’s exhausting after a while.
So I now replaced calc with a little Python script which always prints the results in dec/hex/bin, grouped in bytes (if the result is an integer). That’s what I need. It’s basically just a loop around Python’s exec()
.
$ mcalc
> 123
123 0x[7b] 0b[01111011]
> 1234
1234 0x[04 d2] 0b[00000100 11010010]
> 0x7C00 + 0x3F + 512
32319 0x[7e 3f] 0b[01111110 00111111]
> a = 10; b = 0x2b; c = 0b1100101
10 0x[0a] 0b[00001010]
> a + b + 3 * c
356 0x[01 64] 0b[00000001 01100100]
> 2**32 - 1
4294967295 0x[ff ff ff ff] 0b[11111111 11111111 11111111 11111111]
> 4 * atan(1)
3.141592653589793
> cos(pi)
-1.0
@prologic@twtxt.net You might (not) enjoy this blog post: https://pod.geraspora.de/posts/17342163
The fact that the official Python docs don’t clearly state what a function returns, grinds my gears. This has cost me so much time over the years. You always have to read through a huge block of text.
You could at least put a list of possible return values in there (always at the same location, please!), here’s a mockup:
@prologic Ah, that’s not a photo, it’s a screenshot of Stellarium. I never managed to take actual photos of the sun in those two positions, I keep forgetting about it. 🥴
Moon and Venus were pretty close yesterday, but the photos didn’t turn out to be very good:
(And Saturn was still faaaaar away.)
Noon in summer:
And noon in winter:
The difference never fails to make me go “whoa”. 😅
This evening, Saturn will show up right next to a crescent moon:
Let’s see if I can catch that in a photo.
Let’s work towards the future we want, not against the future we don’t want.
That would be nice.
@lyse@lyse.isobeef.org Thanks. 😅
The good thing is, I wouldn’t have to write an Ethernet driver, because https://en.wikipedia.org/wiki/Serial_Line_Internet_Protocol is a thing, but TCP/IP? Not sure if I want to do that. 😂 I could, of course, come up with my own thing …
@lyse@lyse.isobeef.org Awww. 😍 Reminds me a bit of a gentoo penguin. 😅
It needs to be said: Retrocomputing and old systems like DOS or OS/2 are fun and all, but a UNIX shell and its userland tools are the most powerful things I’ve ever seen. You can pry that from my cold dead hands. 😅
There’s also this:
; 1**3 + 2**3 + 3**3 + 4**3 + 5**3 + 6**3 + 7**3 + 8**3 + 9**3
2025
😅
@prologic Are those just access logs? 😅
@prologic@twtxt.net Huh. I don’t really know how Cloudflare works, never used it. I assumed that the main use case is something along the lines of Anycast (they pick a proxy/cache close to the client). Do I understand correctly that you mainly used it for TLS termination? 🤔
xt
out there? Does anyone know? I did not find anything for "xt/0.0.1".
@lyse@lyse.isobeef.org No idea and I don’t have that in my logs. 🤔
@prologic There are still people who prefer it over Git. I mean, OpenBSD even still uses CVS. I don’t understand why, but they say it works fine for them … 🤷
@prologic Yep, I saw this a few days ago. 😃 Haven’t had a closer look yet. But before I wrote my own editor, I considered porting SVED
. 😃 (Couldn’t do it, because they use features that my kernel doesn’t have.)
But why, oh why, would people still use SVN these days. 🥴😅
This looks like something @lyse@lyse.isobeef.org might enjoy building: https://imgur.com/gallery/balancing-fisherman-tutorial-YNnsTh1
@lyse@lyse.isobeef.org I think I already posted this last year, but this is how NYE sounds like for me:
https://movq.de/v/c0084b64f9/MVI_8118.ogg
I live in a tower building and there are no objects (like trees or other buildings) to “dampen” the sound. All the explosions sound massive, extra loud, and very uncomfortable. Also notice that there’s no music or people cheering. Just explosions. I haven’t lived through a war in our country (yet), but I guess it’ll sound something like this. 🫤
2024 was okay for me, but 2025 is gonna be real shit. 😂 So much annoying stuff coming up. Gotta enjoy the moment, who knows how long it will last. 😅
Happy new year, you guys. 🥳