@prologic@twtxt.net Those are in-ear, right? 🤔
(I was wondering why you’re still awake. Then I realized it’s already morning where you live … 😅)
@prologic@twtxt.net Some 10 year old Bose QuietComfort 25. They’re great, but you have to replace the ear cushions every 4 years or so.
I’ve made it a habit to always put on my noise cancelling headphones when going to bed (without music). It’s pure heaven. 😂 Silence and darkness. I fall asleep within minutes. 😂 Good night. 😴
@aelaraji@aelaraji.com Yeah, that sounds familiar. 😅😩 Reminds me of that comic: https://movq.de/v/1e2bcf790f/logout.jpg Stay strong 💪
@prologic@twtxt.net Oh dear, get well soon. 🤒
@lyse@lyse.isobeef.org pam_happy_hour
is my favorite. Gotta roll this out at work. :-)
Yes, that commit fixes it. (Wow, building Vim from source is a heavy process. 😳)
And that was the first time Vim ever crashed on me:
Vim: Caught deadly signal SEGV
Vim: preserving files...
Vim: Finished.
Segmentation fault (core dumped)
I was using Ctrl+P
to scroll through the completion list. 🤔 Reproducible. Ctrl+N
still works.
Hopefully fixed by this: https://github.com/vim/vim/commit/8d0bb6dc9f2e5d94ebb59671d592c1b7fa325ca6
“2025” doesn’t look right. That looks like a date which is absurdly far into the future. Like 2199 or something.
@kat@yarn.girlonthemoon.xyz @bender@twtxt.net We’ve used pgloader at work to migrate an old legacy application from MySQL to PostgreSQL. Their website says it also works with SQLite. 🤔
… and then there’s SVED
from SvarDOS at 6035 bytes. Oh, dear!
Good thing is, SVED
is free software:
@lyse@lyse.isobeef.org The west. Nasty wind is always coming from the bloody west. (My apartment is facing the west and so I get to enjoy all the storms. 😂)
Good weather/wind comes from the east. (Which makes all the planes approach from the west again and so I get to enjoy their noise. 😂😂)
@bender@twtxt.net Maybe, I don’t want to risk anything, though, and I can’t get this video out of my head: https://www.youtube.com/watch?v=tDacjrSCeq4 😅 (My main machine runs on an SSD, the HDDs are just for additional data like my software archive, music, …)
@prologic@twtxt.net What are we looking at here? Are those requests per second? 🤔
@lyse@lyse.isobeef.org @kat Thanks. 😅 Fingers crossed.
In the process of temporarily removing and securing all my hard disks. They’ll be turning this building into a construction site for the next weeks/months. Lots of heavy drilling and hammering. Not sure what this means for spinning disks and I’d rather be on the safe side. 🫤
base(2)
or base(16)
in calc to do that. That’s exhausting after a while.
@lyse@lyse.isobeef.org That’s the script, if you’re interested: https://www.uninformativ.de/git/bin-pub/file/mcalc.html
@lyse@lyse.isobeef.org Right, there is some hope left for Python docs because of the type hints. 😃 (I still don’t use them, because, ugh. 🤦)
To quote GLaDOS: Yesterday I saw a deer!
… 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 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 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@twtxt.net 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.)
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@twtxt.net 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@twtxt.net 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@twtxt.net 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. 🥳
@prologic@twtxt.net Yes, it’s all written from scratch, but most of it is written in C (not Assembler) and having a C standard library available helps a lot. It’s not that different from writing a program for DOS, just the syscalls are different. 😅
@lyse@lyse.isobeef.org Scrolling the viewport was the most annoying part. 🥴 The code also assumes that it is running on a “fast” PC. There are no “elaborate” data structures like a gap buffer. (But it does use dynamic arrays, which Wikipedia lists as a special case of a gap buffer. 🤔)
To display text on the screen, the editor writes directly to video memory (https://wiki.osdev.org/Printing_To_Screen). This is a blessing and much easier than fiddling with escape sequences. I wish you could do something like that on a Linux terminal.
Okay, this is pretty cool. My 8086 toy OS running on my old Pentium from an actual floppy disk. 😍 I just love that sound and the feeling of using floppies. This brings back so many memories from my early DOS days.
The cp-unopt
program copies a file and intentionally uses small unaligned reads/writes (hopefully triggers more bugs).
The I/O cache works “okay-ish”, I guess. When sha1
runs, it has to do a few reads for the first file and basically none for the second one. Both could have been served entirely from the cache, theoretically. (But even just having an I/O cache in the first place speeds up things dramatically.)
Notice how there’s an EA
file. That’s a left-over from OS/2, because I copied some files to the floppy using OS/2. In other words, my FAT12 implementation survives OS/2 writing to it. 🥳 (But I guess it should show up as EA DATA.SF
. My current code starts at the left and stops at the first space.)
https://movq.de/v/d4d50d3c74/los86-on-p133-from-floppy-small2.mp4
Luckily, it’s illegal to sell fireworks other than after the last three days in the year.
Interesting, didn’t know that. According to the following link, it’s even illegal to use it other than 31./1.: https://www.anwalt.de/rechtstipps/wann-wird-feuerwerk-zur-straftat-alles-was-sie-fuer-silvester-wissen-muessen-235257.html
Nobody knows that, apparently. 😂
@lyse@lyse.isobeef.org Certainly the last thing for this year. 😅 (How is this possible? Christmas already over and tomorrow is 2025? Time flies. 😩)
Made a little text editor for my 8086 toy operating system today. It can’t do much, but it allows for some basic editing. 💾
That was probably the last “big” thing I did for that OS in the near future. Vacation is coming to an end.