Searching txt.sour.is

Twts matching #12
Sort by: Newest, Oldest, Most Relevant

My little toy operating system from last year runs in 16-bit Real Mode (like DOS). Since I’ve recently figured out how to switch to 64-bit Long Mode right after BIOS boot, I now have a little program that performs this switch on my toy OS. It will load and run any x86-64 program, assuming it’s freestanding, a flat binary, and small enough (< 128 KiB code, only uses the first 2 MiB of memory).

Here I’m running a little C program (compiled using normal GCC, no Watcom trickery):

https://movq.de/v/b27ced6dcb/los86%2D64.mp4

https://movq.de/v/b27ced6dcb/c.png

Next steps could include:

  • Use Rust instead of C for that 64-bit program?
  • Provide interrupt service routines. (At the moment, it just keeps interrupts disabled.)

⤋ Read More
In-reply-to » Wow, @movq, so many tables. No idea what I expected (I'm totally clueless on this low-level stuff), but that was quite an interesting surprise to me. https://www.uninformativ.de/blog/postings/2025-12-21/0/POSTING-en.html

@lyse@lyse.isobeef.org I was surprised by that as well. 😅 I thought these were features that you can use, but no, you must do all this.

By the way, I now fixed the issue that I mentioned at the end and it works on the netbook now. 🥳

https://www.uninformativ.de/blog/postings/2025-12-21/0/netbook.jpg

⤋ Read More
In-reply-to » Advent of Code 2025 starts tomorrow. 🥳🎄

Alright, Advent of Code is over:

https://www.uninformativ.de/blog/postings/2025-12-12/0/POSTING-en.html

It’s been quite the time sink, especially with the DOS games on top, but it was fun. 🥳

In case you’re wondering: All puzzles (except for part 2 of day 10) were doable in Python 1 on SuSE Linux 6.4 and ran in a finite time on the Pentium 133. Puzzle 10/2 might have been doable as well if I had better education. 🤣

⤋ Read More
In-reply-to » @lyse what’s on the one on the left, back? Looks… enticing! 🤤

@bender@twtxt.net That’s the best one of them. An almonds cake with hazelnut chocolate glaze. The one in front is similar, but with chocolate only. Gingerbread on the right. But it develops the best flavor and consistency only in a few weeks, right now it’s quite hard like a rock, but it will soften up.

All those years I always said that my teammates are THE VERY BEST I ever had. Fuck me, look at that, I didn’t leave the company, just changed projects and this is my farewell present: https://lyse.isobeef.org/tmp/abschiedsgeschenk-2025-12-03.jpg How absolutely beautiful is that, I’m in awe! Now I feel even worse deserting. :‘-(

This emblem is the fleur-de-lis of the world scout movement: https://en.wikipedia.org/wiki/World_Organization_of_the_Scout_Movement#WOSM_emblem I reckon I must have mentioned casually that I’m a scout. ;-)

⤋ Read More
In-reply-to » Which actively maintained Yarn/twtxt clients are there at the moment? Client authors raise your hands! 🙋

@lyse@lyse.isobeef.org Damn. That was stupid of me. I should have posted examples using 2026-03-01 as cutoff date. 😂

In my actual test suite, everything uses 2027-01-01 and then I have this, hoping that that’s good enough. 🥴

def test_rollover():
    d = jenny.HASHV2_CUTOFF_DATE
    assert len(jenny.make_twt_hash(URL, d - timedelta(days=7), TEXT)) == 7
    assert len(jenny.make_twt_hash(URL, d - timedelta(seconds=3), TEXT)) == 7
    assert len(jenny.make_twt_hash(URL, d - timedelta(seconds=2), TEXT)) == 7
    assert len(jenny.make_twt_hash(URL, d - timedelta(seconds=1), TEXT)) == 7
    assert len(jenny.make_twt_hash(URL, d, TEXT)) == 12
    assert len(jenny.make_twt_hash(URL, d + timedelta(seconds=1), TEXT)) == 12
    assert len(jenny.make_twt_hash(URL, d + timedelta(seconds=2), TEXT)) == 12
    assert len(jenny.make_twt_hash(URL, d + timedelta(seconds=3), TEXT)) == 12
    assert len(jenny.make_twt_hash(URL, d + timedelta(days=7), TEXT)) == 12

(In other words, I don’t care as long as it’s before 2027-01-01. 😏😅)

⤋ Read More

All my newly added test cases failed, that movq thankfully provided in https://git.mills.io/yarnsocial/twtxt.dev/pulls/28#issuecomment-20801 for the draft of the twt hash v2 extension. The first error was easy to see in the diff. The hashes were way too long. You’ve already guessed it, I had cut the hash from the twelfth character towards the end instead of taking the first twelve characters: hash[12:] instead of hash[:12].

After fixing this rookie mistake, the tests still all failed. Hmmm. Did I still cut the wrong twelve characters? :-? I even checked the Go reference implementation in the document itself. But it read basically the same as mine. Strange, what the heck is going on here?

Turns out that my vim replacements to transform the Python code into Go code butchered all the URLs. ;-) The order of operations matters. I first replaced the equals with colons for the subtest struct fields and then wanted to transform the RFC 3339 timestamp strings to time.Date(…) calls. So, I replaced the colons in the time with commas and spaces. Hence, my URLs then also all read https, //example.com/twtxt.txt.

But that was it. All test green. \o/

⤋ Read More
In-reply-to » Advent of Code will be different this year:

@movq@www.uninformativ.de I think if I was younger, with more energy, and wasn’t blind with leber’s disease (look it up) I’d be fine™ But yeah I get the whole “exhausting” apart. I’ll join you this year, since there’s only 12 puzzles and as you say, we can “take our time” it might actually be fun! (as opposed to exhausting and pressured).

⤋ Read More

Advent of Code will be different this year:

https://old.reddit.com/r/adventofcode/comments/1ocwh04/changes_to_advent_of_code_starting_this_december/

There will only be 12 puzzles, i.e. only December 1 to December 12. This might make it more interesting for some people, because it’s (probably) less work and a lower chance of people getting burned out. 🤔

Personally, I’ll probably stretch it out over 24 days. Giving myself more time to solve each puzzle and I really want this event to last the entire month. 😅

Maybe this makes it more interesting for some people around here as well?

⤋ Read More

Mathieu Pasquet: slixmpp v1.12
This version is out mostly to provide a stable version with compatibility with the newly released Python 3.14, there are nonetheless a few new things on top.

Thanks to all contributors for this release!

Fixes
  • Bug in MUC self-ping ( XEP-0410) that would create a traceback in some uses
  • Bug in SIMS ( XEP-0447) where all media would be marked as inline
  • Python 3.14 breakage
Features

⤋ Read More

‘Oops’: Trump health official admits half of ‘sweeping’ layoffs at CDC were a mistake
David McAfee,  Senior Editor  -  Slate

Stephan: At one level, this is a bit of good news. At another level it is a further picture of the chaos the Trump administration has created in America’s already low ranking, but most expensive in the world, healthcare system.

![](https://www.schwartzreport.net/wp-content/uploads/2025/10/Screenshot-2025-10-13-at-12.57 … ⌘ Read more

⤋ Read More

It’s Sunday, and tomorrow I don’t have to work, as I have two weeks of vacation. The first time since May. My only breaks from work were when I hurt my hand and wasn’t able to type for a week, and two free days last week, but those also weren’t really relaxing for me. So I am very much looking forward to the next two weeks! I really feel the exhaustion from the last few months with work sometimes being stressful, the start of my fiancée’s teacher training, and some other topics. But this year again showed me that bi … ⌘ Read more

⤋ Read More

This Nazi philosopher’s playbook explains everything Donald Trump does
Thom Hartmann,  Commentator  -  Raw Story

_Stephan: I have been telling you since before Trump was inaugurated the last time that he was going to follow and is following Hitler’s playbook. That’s what Project 2025 was all about.  I was going to write a paper on this, but haven’t had time. Now Thom Hartmann has done it, so I don’t have to. The media lacks the courage to speak the truth … ⌘ Read more

⤋ Read More

‘Page one of the authoritarian playbook’: how Trump and allies are exploiting Kirk’s killing
Peter Stone ,    -  The Guardian (U.K.)

Stephan: Have you noticed that Trump, his vassals, and their MAGAT Republican supporters, still have not given up on the murder of Charlie Kirk. Why is this murder the endless focus of Trump and MAGAt world? Here is the answer.

![](https://www.schwartzreport.net/wp-content/uploads/2025/10/Screenshot-202 … ⌘ Read more

⤋ Read More

The A.I. Prompt That Could End the World
Stephen Witt,  Contributing Writer  -  The New York Times

Stephan: As I have watched the AI technology develop what has concerned me is whether this technology is going to be advanced to foster wellbeing for humanity, or just to ,make more money for a small group of oligarchs. If the motivating impulse is the later I think humans are in real trouble. Stephen Witt, author of The Thinking Machine seems to agree.

![](https://www.schwartzreport. … ⌘ Read more

⤋ Read More

What we know after MS homecomings see 14 shot, 8 killed in 3 shootings around football games
Pam Dankins,  Reporter  -  Mississippi Clarion Ledger

_Stephan: I am running this story for two reasons. First, the United States has, and has had for decades, a deadly, unaddressed problem with guns. The largest cause of death in the young is gunfire. No other developed country, not openly at war in the world, has the kind of gun deaths that … ⌘ Read more

⤋ Read More

This GP says fees will go up at his clinic when bulk-billing incentives come in
GPs are managing conditions typically handled by specialists due to high costs and only 12 per cent can afford to bulk-bill all patients, according to an industry survey. ⌘ Read more

⤋ Read More

Trump Just Gave the Military an Extremely Sinister Mission
Fred Kaplan,    -  Slate

Stephan: As usual Trump tells us what he is going to do, but our political system does not seem to be able to process what he says. I am going to be a dictator and take revenge against those who oppose me he made very clear, and that is exacty what he is doing.

Image

Before a gatheri … ⌘ Read more

⤋ Read More

Security updates for Wednesday
Security updates have been issued by AlmaLinux (kernel, kernel-rt, mysql:8.0, and openssh), Debian (libcommons-lang-java, libcommons-lang3-java, libcpanel-json-xs-perl, libjson-xs-perl, libxml2, open-vm-tools, and u-boot), Fedora (bird, dnsdist, mapserver, ntpd-rs, python-nh3, and rust-ammonia), Oracle (kernel and mysql:8.0), Red Hat (cups, postgresql:12, and postgresql:13), SUSE (cJSON-devel, gimp, kernel-devel, kubecolor, open-vm-tools, openssl-1_1, openssl-3, and ruby3.4-ruby … ⌘ Read more

⤋ Read More

** Standing only **
I tried to sit at my standing desk today for the first time in an eternity. My ability to focus on any task immediately went from pretty fucking solid to“oooh, what if stare into the middle distance?” so I guess I’ll be continuing to exclusively stand at my desk for the next 10 years. ⌘ Read more

⤋ Read More

Hoje continua, com o segundo e último dia, o…

Festival Japão. Torna-Viagem | Parte II

“Conheça o programa de hoje e embarque connosco nesta viagem ao Japão.

A partir das 15h00, no Teatro Ribeiro Conceição - Município de Lamego.”

#museudelamego #festivaljapaotornaviagem #raquelochoa
#museusemonumentosdeportugal
#teatroribeiroconceicao #portugalexpo2025 #OsakaemPortugal
#vaagostudio #TRC #Lamego

Image

Image

Image

Image

⤋ Read More

Festival Japão. Torna-Viagem | Parte II

Hoje arranca a segunda parte do Festival JAPÃO. TORNA-VIAGEM.

Marcamos encontro no Teatro Ribeiro Conceição - Município de Lamego, a partir das 18h30.

#museudelamego #festivaljapaotornaviagem #raquelochoa
#museusemonumentosdeportugal
#teatroribeiroconceicao #portugalexpo2025 #OsakaemPortugal
#vaagostudio
#Lamego #TRC

Image

Image

Image

⤋ Read More

we are now parsing and recursively fetching remote feeds somewhat successfully, gotta work on the media proxy and markdown way more, so so many fucky edgecases….my friend’s feed with like four posts parsed correctly so i tried this account’s feed and well now im not going to bed on time

Video

⤋ Read More

Sou eu que já estou muito cansado, ou este texto no DN deve ter sido escrito por IA e não faz sentido nenhum?

“Se uma greve geral chegar a acontecer, será a primeira vez nos últimos 12 anos, pois a última paralisação convocada por ambas as centrais sindicais ocorreu em junho de 2023.”

O artigo: https://www.dn.pt/economia/discuss%C3%A3o-laboral-come%C3%A7a-sob-amea%C3%A7as-de-sobressalto-c%C3%ADvico-e-greve-geral

⤋ Read More

Status 2025-07-21
Morning, computer! Spending my days off trying to figure things out.
Some of them will occur in this post. I think best when I’m writing,
after all.

Intro

I’m back from a short vacation since a couple of weeks. I’m still
going to take a few days off every week for a while. I need the break.
It’s been way too many 12-16 hour workdays. I’m nominally working 80%
(~6 hour days), so I figure I’ve been working a lot for free.

Yeah, well, I like the TKey project to succeed. The ideas behind it
have implicatio … ⌘ Read more

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

⤋ Read More

𝗙𝗲𝗶𝗿𝗮 𝗱𝗼 𝗟𝗶𝘃𝗿𝗼 𝗱𝗲 𝗟𝗮𝗺𝗲𝗴𝗼 📚

A Câmara Municipal de Lamego volta a promover a 𝗙𝗲𝗶𝗿𝗮 𝗱𝗼 𝗟𝗶𝘃𝗿𝗼 📚👩‍🏫 no Parque Isidoro Guedes, oferecendo um programa enriquecido com uma grande variedade de atividades culturais.

Este evento, que funcionará numa 𝗹ó𝗴𝗶𝗰𝗮 𝗱𝗲 𝗲𝘀𝘁í𝗺𝘂𝗹𝗼 à 𝗹𝗲𝗶𝘁𝘂𝗿𝗮, constitui uma das grandes apostas, na vertente literária, desta autarquia, decorrendo de 12 a 20 de julho.

#FeiraDoLivro #Lamego #bookstodon

Image

⤋ Read More

** My measurer **
My dad is an electrical engineer and physicist. Measuring things is a core part of his professional life, and something he seems to spend a lot of time doing around the house. This is all to say my dad is relatively expert in the ways of measuring things so I think it’s hilarious that he calls absolutely anything he is using to measure anything else“my measurer.” Measuring tape, oscilloscope, scale, volt meter, bubble level, table spoons, whatever. They’re all“my measurer.” ⌘ Read more

⤋ Read More

Saw this on Mastodon:

https://racingbunny.com/@mookie/114718466149264471

18 rules of Software Engineering

  1. You will regret complexity when on-call
  2. Stop falling in love with your own code
  3. Everything is a trade-off. There’s no “best” 3. Every line of code you write is a liability 4. Document your decisions and designs
  4. Everyone hates code they didn’t write
  5. Don’t use unnecessary dependencies
  6. Coding standards prevent arguments
  7. Write meaningful commit messages
  8. Don’t ever stop learning new things
  9. Code reviews spread knowledge
  10. Always build for maintainability
  11. Ask for help when you’re stuck
  12. Fix root causes, not symptoms
  13. Software is never completed
  14. Estimates are not promises
  15. Ship early, iterate often
  16. Keep. It. Simple.

Solid list, even though 14 is up for debate in my opinion: Software can be completed. You have a use case / problem, you solve that problem, done. Your software is completed now. There might still be bugs and they should be fixed – but this doesn’t “add” to the program. Don’t use “software is never done” as an excuse to keep adding and adding stuff to your code.

⤋ Read More