movq

www.uninformativ.de

No description provided.

Recent twts from movq
In-reply-to » 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. 😴

@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 … 😅)

⤋ Read More
In-reply-to » 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. 😴

@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.

⤋ Read More

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. 😴

⤋ Read More
In-reply-to » I'm usually comfortable keeping my hardship to myself, most especially AWAY from the internet; an act of kindness of sorts towards others, "Everyone's got their own problems to worry about" kind of thing.. But maaan am I starting to believe creating a twitter account would be a healthy decision 🤣🤦 Read nothin' out there, just a one way echo chamber of sorts to let that shi_ out of my chest. It seem that's what everyone else's been using it for all this time.

@aelaraji@aelaraji.com Yeah, that sounds familiar. 😅😩 Reminds me of that comic: https://movq.de/v/1e2bcf790f/logout.jpg Stay strong 💪

⤋ Read More
In-reply-to » Where is all this wind suddenly coming from?

@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. 😂😂)

⤋ Read More
In-reply-to » 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. 🫤

@lyse@lyse.isobeef.org @kat Thanks. 😅 Fingers crossed.

⤋ Read More

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. 🫤

⤋ Read More
In-reply-to » 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.

@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. 🤦)

⤋ Read More
In-reply-to » 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.

@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.

⤋ Read More
In-reply-to » I just banned 41 bad user agents from accessing any of my services. 😱

@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. 🤦🙄

⤋ Read More

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

⤋ Read More

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.

Image

You could at least put a list of possible return values in there (always at the same location, please!), here’s a mockup:

Image

⤋ Read More

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. 😅

⤋ Read More
In-reply-to » This year is a perfect square: 2025 = 45². Most of us reading this at time of posting won't be alive next time that happens since 46² = 2116, 91 years from now. This has been bouncing around the internet but for some reason I felt compelled to record it here!

There’s also this:

; 1**3 + 2**3 + 3**3 + 4**3 + 5**3 + 6**3 + 7**3 + 8**3 + 9**3
        2025

😅

⤋ Read More
In-reply-to » I am now proud to say, that as of this moment, I am off of Clownflare 🤣 Still using Cloudflare for DNS, but no longer proxying through their services or terminating TLS at their edge. Instead, all my sites and services now terminate TLS on my own edge proxy running Caddy+Wireguard (so all ingress is actually egress 🤣) 🥳 #Clownflare #Cloudflare

@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? 🤔

⤋ Read More
In-reply-to » SvarDOS: DR-DOS is Reborn as an Open Source OS SvarDOS, a compact open-source operating system derived from DR-DOS, has switched to using the EDRDOS kernel, marking a shift from its FreeDOS distribution roots. The change allows the operating system to fit on a single 1.4MB floppy disk while offering a network-capable package manager that can fetch from a repository of over 400 packages.

@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 … 🤷

⤋ Read More
In-reply-to » SvarDOS: DR-DOS is Reborn as an Open Source OS SvarDOS, a compact open-source operating system derived from DR-DOS, has switched to using the EDRDOS kernel, marking a shift from its FreeDOS distribution roots. The change allows the operating system to fit on a single 1.4MB floppy disk while offering a network-capable package manager that can fetch from a repository of over 400 packages.

@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. 🥴😅

⤋ Read More
In-reply-to » Healthy new world war!

@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. 🫤

⤋ Read More
In-reply-to » Good riddance 2024... 2025, be good or else.

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. 🥳

⤋ Read More
In-reply-to » 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.

@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.

⤋ Read More

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

⤋ Read More
In-reply-to » It must already be New Year here. Full continuous fire for ten minutes.

@lyse@lyse.isobeef.org

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. 😂

⤋ Read More