Fuck me dead! I accidentally confused an HTML file for a YAML file and manually opened it in my browser. Unfortunately, I clicked on the OK button of the popped up dialog a bit too fast, it just caught me off guard. It asked which program to open the YAML file in. Of course Firefox thought that it could handle that and suggested itself by default. Conveniently, the ādonāt prompt me again and always use this selection from now onā checkbox was enabled.
And then the endless loop of death started. Turns out, this fucking browser canāt do shit with YAML files and delegated to what had been just configured. Oh, would you look at that!? Firefox! Empty tabs after empty tabs appeared. Killing and restarting Firefox just loaded the last session with all the tabs and the loop continued.
Some bloody snakeoil on my work machine slows down link openening requests by two, three seconds. Itās always absolutely anoying, but luckily, it actually limited the rate of new tabs popping up. I still could not close the many tabs fast enough that had accumulated before I noticed what was going on in the background.
Going to the settings to change them was always interrupted with a new tab opening in the foreground.
Finally, killing Firefox and renaming the file on disk before restarting Firefox did the trick and broke the loop. I was still holding down Ctrl+W for a minute or so to get rid of the useless tabs. I didnāt want to loose the important tabs, so just ditching the session wasnāt an option.
I have to analyze what is taking yt-dlp so long start up. Two and a half, three seconds just to determine that a video is in the download archive and then abort is nuts. Iām wondering what this program does before that.
I canāt remember if the hex viewer back then had these options. Donāt even recall what software that was. :-)
The one that I used during my Windows 95 days was āHex Workshopā. It had similar features, just not as promimently displayed. It shows them down there in the statusline as āValueā:
Newer versions can probably do more, havenāt checked. š (Assuming this program still exists.)
Apart from selecting text to copy into the clipboard. But that probably has the potential for trouble and interference with button clicks, etc.
Yeah, thatās a big problem: Once you activate mouse mode in the terminal, the terminal loses the ability to select text. š Youād either have to emulate that in the program itself (like Vim does) or give the user an easy way to turn mouse support on/off during runtime.
How did the startup times develop?
Theyāre pretty stable at around 230 ms on my old NUC. Itās just fast enough so that it doesnāt annoy me.
(#miz5akq) @dce@hashnix.club Wow! Moving without a vehicle, that seems impressive to me. Was it just down the street or how did you accomplish this? I hope you didnāt loose all your belongings due to a fire or similar catastrophe.
(#odaa3mq) @movq@www.uninformativ.de Nice, itās coming together! Despite it being ages ago that I used a hex editor or viewer, these different representations of information appear very handy to me. If I had to mess around on binary formats, Iād definitely appreciate them. I canāt remember if the hex viewer back then had these options. Donāt even recall what software that was. :-)
I, too, only very, very rarely use the mouse in the terminal. Apart from selecting text to copy into the clipboard. But that probably has the potential for trouble and interference with button clicks, etc. If one isnāt careful.
Hmmm, thatās a pity. I never realized that before. The following Go code
var b bool
ā¦
b |= otherBool
results in a compilation error:
invalid operation: operator | not defined on b (variable of type bool)
I cannot use || for assignments as in ||= according to https://go.dev/ref/spec#Assignment_statements. Instead, I have to write b = b || otherBool like a barbarian. Oh well, probably doesnāt happen all that often, given that I only now run into this after all those many years.
(#odaa3mq) Iām inclined to remove all mouse support, except for moving windows. š¤ I originally wanted this to emulate the behavior of DOS programs, but a) mouse support is a lot of code, b) using the mouse is cumbersome anyway and I would rarely do it.
(#xycahxq) @lyse@lyse.isobeef.org Sauna is awesome ā if it wasnāt for other people. 𤣠A little mƶkki in Finland with a private sauna, that would be it.
It was so great going to the sauna again, we were looking forward to that the whole week. :-) Itās been over a year, holy cow, time flies. We definitely have to pick up on that tradition again, thatās for sure.
We attended two Aufguss sessions, the first and last one in our four hour visit. Unfortunately, we didnāt make it to the other two, because the crazy people already occupied the entire sauna 15 minutes before the start. Yeah, no.
Now, the bellies are stuffed with kebabs. Yum! Letās see how often I wake up tonight to rehydrate.
(#gs4vtma) @movq@www.uninformativ.de Youāre right, thatās neat. I also saw Paskās take on that which he referenced. I donāt know if I will ever attempt anything like that. Canāt imagine to succeed in that mission.
(#uv6dhzq) @movq@www.uninformativ.de I see. Yeah, if you gotta have to tediously plow through, it feels deeper. And sometimes it actually is.
We had super thick fog this morning. It rolled in extremely quickly, maybe 15 minutes at most. Visibility was below 50 meters. Looked cool from inside.
(#f2s5vgq) @lyse@lyse.isobeef.org Found some numbers now, theyāre saying it was around 10cm in 3-4 hours. I donāt know, felt like more. š The forecast wasnāt really good either, now that I think about it. They said thereās going to be some snow, okay, fine, but then, boom.
Haha, that old ad is lovely. Those days are over. š¤£
Ich hab es jetzt endlich geschafft, diese alte Podcastdatei anzuhƶren, die ich auf meiner Platte fand. Omega-Tau 293 über WasserstraĆen und im Speziellen den Neckar. Total interessant. Ich bin bisher noch nie über diese Serie gestolpert und habe keine Ahnung, wie ich überhaupt zu der Datei kam. Leider ist der Podcast mittlerweile eingestellt, das TLS-Zertifikat der Website die Tage abgelaufen und die Folgenseite tot, aber die Audiodatei gibtās noch: https://traffic.libsyn.com/secure/omegataupodcast/omegatau-393-wasserstrassen.mp3
Iām not an expert on this subject at all, but I reckon an automatic in addition with all its sensors is much worse than a manual one. All wheel drive, studded tires and diff locked is what one wants in icy situations. :-D
(#cdqksfa) @lyse@lyse.isobeef.org I donāt know a number (wait, why canāt I google a Wetterbericht but only a Wettervorhersage?!), but it was enough for public transportation to shut down. š I think I saw around five trucks on the side of the road who couldnāt continue, too icy. Some cars stranded.
My car has an automatic gearbox and Iām not sure if thatās good or bad in such conditions. š Pretty hard to accelerate without spinning wheels ā¦
(#cdqksfa) @movq@www.uninformativ.de Welcome home! How many decimeters did you get? It just snowed a tiny bit, but absolutely zero survived on the ground here.
(#avmdvrq) @prologic@twtxt.net (While browsing through that, I noticed that https://mu-lang.dev/ itself doesnāt really mention the source code repo, does it? š¤ Like, the quickstart guide begins with āBuild the host: go build ./cmd/muā, but whereās the git clone ⦠command? š )
Iām not really sure what the goal is. š¤ Do you want to get pull requests for the docs? Or bug reports for mu itself? š¤
Trying an experiment. Created a Github repo for mu over at https://github.com/prologic/mu as a social experiment to see if we can maintain a tailored Github docs-only repo of a project, see if it gets any interest š¤
I built Audiofern to make it simple to turn PDFs into audiobooks. Upload a document, get clean, chapterized narration with natural voices, and share it via a hosted playerāor download M4A/M4B and keep it forever. Files are private by default, and pricing is transparent: pay once by audio hour or subscribe to build a listening library.
Omg, Python. Parsing arguments with argparse takes 50 ms on my NUC, because this pulls in all kinds of fancy stuff behind the scenes, colorization and what not. š®āšØ
Another project where Iām going to use my terminal widget toolkit is a hex editor. This is still very young, obviously, and thereās a lot of work to do (both in the toolkit and this particular application), but Iām making some progress:
Since this program is UTF-8 clean (I hope), you can do things like enter multi-byte UTF-8 sequences or paste them from the system clipboard (another hex editor I just tried failed to do this correctly):
Under the hood, Iām using mmap() with MAP_PRIVATE, which is really cool: I get the entire file as a byte array, no matter how large it is, no need to actually read it upfront; and MAP_PRIVATE means that I can write to this area however I like without changing the underlying file. The kernel does copy-on-write for me. Only when you hit Save, it will write to the filesystem. And itās just a couple lines of code. The kernel does all the magic. š„³