Zeer0xeeR0x

@0x0x
47 Followers
42 Following
1,065 Posts
Hacker from the days of yore.
Alt for political stuffhttps://liberdon.com/@mindhog
Nostrnpub13wt6y2trnvmzd0x8gktuwplj26q3xynwrhvg4wkp248ltgc6yetsj4d5js

I've been dealing with some tax-related data and calculations lately and once again, thinking about how best to add jupiter notebook-like functionality to my editor.

My editor is written in Python (by me, in fact) and is easily extended with new commands written in the language. I have a "pyx" command that executes the selection as python code, so it's really just a matter of providing some functions to let you perform operations on the current buffer, itself which I've started doing.

I swear I've seen developers with 30 years of experience go from "I can debug a kernel panic blindfolded" to "oh wait, let me ask the AI how to write a for loop" in about 12 months.
It's not very generally usable at this point. It works for a couple of sites I manage. I'll add stuff based on my level of interest, going forwards. Right now I've mainly been focused on the "SLIMP" parts ("simple lightweight instant messaging protocol" - more on this later).
Finally published my "dweb2" application server code: https://github.com/crack-lang/dweb2
GitHub - crack-lang/dweb2: Crack-based dynamic webserver.

Crack-based dynamic webserver. Contribute to crack-lang/dweb2 development by creating an account on GitHub.

GitHub
What a gorgeous day! Sadly, my hike was cut short due to (another) water line break in town, causing school to be terminated early and foiling my plans.

I'm happy to announce that I have retired from tech. Today was my last day on the job.

I had an extremely good run. Caught the wave in the early 90s and rode it clear onto the beach of AI. One way or another, I don't think the industry will ever be the same again and I'm ready to move on.

Looking forward to spending the rest of my years focused on music, my own software projects, my kids and outdoor activities. Currently kickin' back with a cold one. 🙂

Started referring to sexual intimacy as "getting slippery." Is that weird?
The key point here is that this allows you to preserve the original values from a binary data source for functions that want to deal with strings. You can easily go back and forth between utf8 and binary without losing anything.

For years now I've been trying to figure out the best way to deal with the string/bytes dichotomy introduced in python 3. I think I've finally got it.

The "surrogateescape" error handling mode will translate invalid utf8 byte sequences into a special range of the utf8 character space intended for just that purpose. For example:

>>> bytes(str(b'test \0 with \xa0', 'utf8', 'surrogateescape'), 'utf8', 'surrogateescape')
b'test \x00 with \xa0'

Would have been nice if this were the default.

It's 2026 and I'm still fighting with pulseaudio.