What are you doing this weekend?
18 points by caius
18 points by caius
Feel free to tell what you plan on doing this weekend and even ask for help or feedback.
Please keep in mind it’s more than OK to do nothing at all too!
Trying to get people to help me rebuild modern computing 😅
Oof, that sounds like a monumental undertaking. But a noble cause. I wish you the best of luck!
I sympathize, but why would your attempt succeed when the thousand other such attempts litter the halls of history? Or, what advantage does this have over building a new userland atop OpenBSD?
I don't know that I will succeed, but I would rather try and fail than do nothing.
As for why I chose to build from scratch rather than use an existing project, that would be due to the issues I have with existing software. I mostly consider Unix-like operating systems to be outdated and don't want to be forced to build with the legacy concepts. Programming languages, too, I've found have largely stagnated with only one or two relevant developments over the last decade. It took me a long time and research to come to this conclusion, I think we can do better.
Currently in Barcelona for a 25 year anniversary with my wife. Arrived yesterday for a long weekend. Loving it so far!
My wife is a huge fan of the Broken Sword series of games, and this morning we followed in George Stobbart’s footsteps: we visited the Montserrat monastery, by cable car, and saw the Black Madonna. (And chatted to American tourists.)
We’re planning to take the cable car over Barcelona tomorrow.
I hope you're spared any crazy clowns.
Hah! There were clowns and mimes outside our hotel this morning. But they were inoffensive—to me. My wife gave them a wide berth.
As another Broken Sword fan, I'm super jealous, and what an awesome trip idea!
It was a fun & spontaneous trip! We have joked in the past about going to Paris and visit some of the places from the game there, but when we arrived here it was not something we had planned. We basically stumbled upon Montserrat being so close, and found the opportunity too good to miss.
Now we’re talking about going to Stirling in Scotland, which is just a couple hours drive away from where we live.
I submitted my PhD thesis earlier today... so I plan to do nothing now, I guess?
Congrats! Do take some time to do nothing. Doing nothing is a great way to rest. Be sure to avoid picking up addictive stuff that you don't actually enjoy doing in that time of doing nothing though. Depending on the game and how you're enjoying it this may or may not apply to gaming.
After having done nothing for a while, prepare for people asking you what you're going to do next. :)
(It's a long weekend for me—I'm a teacher and Monday is a school holiday where I live.)
Heh, I just got my diglot translation alignment tool working, one of the first books I aligned was Записки из мертвого дома with Roger Cockrell's translation.
Still working on the typesetting for ereaders, but workable.
I just got my diglot translation alignment tool working, one of the first books I aligned was Записки из мертвого дома with Roger Cockrell's translation.
That looks very cool. Does it make interlinear editions for specific languages? Or is the goal to have it work with any pairs?
Relatedly, I would love to learn Russian, and I really should make the time.
I've tested with ru-en, fr-en and pt-en. Main goal was to get it working for the languages I want to evaluate translations for/practice. I don't speak any CJKV languages, so no clue how the approach would perform there.
The rendering side is just TeX because Knuth-Plass renders so clean and I'm visually spoiled. If a typesetting nerd would help me get epubs to look as nice as TeX, I'd love to trade notes.
More job hunting: Devoting today to deeply customizing our resume and cover letter for a particularly exciting job opportunity. With any luck, this should get us past this HR screen and future ones both. If anyone would like to review either document, that would be greatly appreciated.
Prepping for our birthday next week! And hosting board games ahead of that!
It's a beautiful day to stay inside and update servers :P But more seriously, there's a memory leak in a C++ project I've been contributing to on and off. I am most certain I've introduced it, so I should really clean it up >.> (if I figure it out I should come back here and reply)
Oh and Celeste speedrunning. I got addicted again
I never found that memory leak :( I tried removing some static stuff to no avail https://codeberg.org/aninternettroll/biboumi/commit/60ad1434ebc031585c8ea7fa56adde9d55504101
Will try again some other weekend...
I've been creating an SVG editing program that I always wished existed after many years of using Inkscape. Doing more work on that this weekend. Unfortunately I'm mostly vibe-coding it but I'm just making it for me so whatever. Mostly just wanted to see if all my ideas actually work in reality. It does help a lot when I get it to copy software architecture from my many hand-coded projects I've done over the years.
Unsurprisingly to me, by "building the house on solid ground" (implement the core things once and do it correctly up front), everything I build on top of that core is automatically of much higher quality than if the core stuff is an afterthought. I could be less vague if anyone is interested about the specifics.
Would love to know more. I’ve been casually working on a floor-planning tool that uses SVG for self-contained storage and it’s been a lot of fun. Same idea: get the core of it exactly how I want it and then the additional niceties fall out pretty easily and Just Work.
The secret sauce, if anyone’s curious, is that it’s built on a soft constraint solver. My house is old and not square. As you draw out the walls, every measurement (I’ve been using a construction-grade laser rangefinder) is treated as having an unknown error built in. The constraint solver points out the measurements that you need to make to go from undetermined to exactly determined to overdetermined (at which point it starts doing least squares fits) to nail down the actual as-built-then-settled measurements of everything. As you go and add redundant measurements, it also points out measurements that are likely wrong or inconsistent.
I’ve been dogfooding it on my own house here for now. Once I’ve got my own place done, I’ve got a few friends who’re interested in giving it a shot, so that should help me find parts of the workflow that only make sense inside my head.
I can hardly believe what I'm reading right now because you're describing exactly the same problem I have been trying to solve with a project I started like 5 years ago except in a completely different field: Sewing pattern design.
I made a dress with my wife, and we used an existing dress as reference. The problem was that we didn't want to unstitch it, so we had to take about 1000 measurements over and over as they are super inconsistent cause fabric is stretchy. What I wish I had was a program where I can enter a bunch of very conflicting constraints and it would solve for the nearest solution. There are quite a few CAD programs that basically offer this, but nothing I can find in the world of sewing pattern software.
Anyway, I have an ongoing pet project where I'm creating such a "lazy constraints" sewing pattern CAD, and it sounds like it's exactly the same thing you described!
Might come back with another comment later on about my SVG editor.
My friend… part of my inspiration of the approach comes from a sewing pattern project I worked on a decade ago that ended up getting put on the shelf for non-technical reasons. I’ve been seriously considering resurrecting it/rebirthing it. It’s one of those things that’s sat in the back of my mind as a nagging open loop that wants to be closed. I’ve been thinking of prototyping it out again starting with just an Aldrich-inspired shirt pattern. Maybe once the snow shows up and going outside is less enjoyable this year!
For my SVG program, I started with the requirements, then the implementation details come from those:
I break the document into a tree of "chunks", where each chunk is a uniquely identifiable object. Basically like an AST with text spans. All validation is applied at runtime when reading the values, which can be made more performant with a caching layer. What I mean is, you can have width="hello", and it will basically just fail to parse it and treat the width as zero, but it will leave that attribute as-is until you explicitly try to change it.
Too many programs leave undo/redo as an afterthought, but it pretty much always results in a really underwhelming experience. Also, I never want to end up in that situation where I undo 20 times, carefully copy something, then redo 20 times, then paste, where if I press any button, it will erase all my redo transactions. With a tree, I never lose anything, ever.
I achieve this via an sqlite database file that sits beside the document. If you open icon.svg and make a change, the normal behaviour is to place a icon.svg.history file beside the icon.svg file, and it contains tables with the AST chunks and other tables with the changesets. When I press undo in the editor, it just reads a changeset from the database and applies it. There's a column on the changeset table that stores a hash of the SVG file's contents when you press save. That way, it knows what changeset you're up to based on the hash of the SVG file you opened. Changes get queued up and all the IO happens in a dedicated thread, so the UI never lags.
Each client basically just keeps doing that history file thing I just described, and the server has a database that's almost the same exact structure, except that it keeps track of individual clients and where they are "up to" right now. The server has the final say on the document state of course. Because AST objects are all uniquely identified in the database, it just does "latest change wins" resolution. The server does not actually need to load the document at all, because as I mentioned earlier, all parsing and stuff happens in memory on the client, ignoring parse fails. It's also not as dangerous as it sounds, because of the changesets being stored as a tree, which means nothing is actually ever really lost. On the server, it keeps one main branch, but still keeps non-main branches around. The client is also able to recognise when a conflict occurred and ask if you want to review it.
Other than all that, I wanted a more opinionated UI, where most things are presented directly in the main UI without having to search for the possible operations or open obscure menus and panels etc. to figure out how to do something. I started with a scene tree on the left, properties panel on the right, then a viewport in the middle (with a little vertical toolbar to the left of the viewport). The properties panel by default just shows the list of attributes verbatim which automatically makes all of the available properties editable, then it's just a case of going through different scenarios and replacing those attributes with more custom UIs.
That's a little taste of the basic ideas of my SVG program. If you read this far, congratulations!
This sounds a bit like it would be doable in FreeCAD, I would be surprised if it can't work with SVG. I designed a few parts for 3d printing in it and I like sketcher where I can roughly draw what I have in mind and add constraints to make it good. But my experience is limited so I may bark at a wrong tree.
I did a pretty deep dig into whether I could use FreeCAD for this. If I went all-in on making everything, including the solver, a FreeCAD plugin, then maybe. The problem I ran into is that DXF doesn’t really have a good way to capture the metadata that I need. That was actually the first approach I tried. I’m not 100% sure if I did a similar deep dive on FreeCAD SVG support or not… I can check my notes.
I use FreeCAD for some other workflows of mine, generally extracting cross-sections of existing STLs (eg downloaded from Printables or MakerWorld) so that I can make mating/compatible parts. I come from Inventor and then Fusion (which oddly is not good at that specific task) and I perpetually find the FreeCAD workflow and interface… very awkward.
The beauty of having my own interface for this all is that it’s really easy for me to add semantic annotation to everything and then render it nicely. For example, each room is labelled with which room it is and I can auto generate all of the dimension labels in the way I want without having to go and manually add them and place them.
Trying to finish the Apple Network Server MacOS extensions pack. I'm blocked on the SCSI-2 extension: I can find the right OpenFirmware node for the controller but for some reason the extension won't talk to it, so the first yak shave is to unfudge the PEF compression on the ROM driver I'm trying to modify.
Handmade Cities has a number of meetups coming up:
The folks attending all care about the craft of making good and quality software (even though we often disagree on definitions... but that's half the fun!)
Note: We have mailing lists for these cities in case you can't make it this time around. Happy Friday!
I'm starting classes this Wednesday, so my "idle time" is almost over. Yesterday I finished a first "functional" version of a Klondike solver, so I'm not sure I'll pour more time into that.
I think I should work on my Nagios clone, as a weird series of circumstances makes my current infra monitoring quite annoying lately and what better way to solve that than implementing a monitoring system from scratch? What could go wrong?
Inspired by Nix, I'm adding nested assignment to RCL, so you can write
{ a.b = c }
rather than
{ a = { b = c } }
It's especially powerful in combination with unpack, to override default values.
I assume this isn't inspired by Google's GCL?
Was wondering because of the name and nesting, but it looks reasonably different. (Also, GCL is a bit of a monstrosity.)
It's not, at least not directly. It is inspired mostly by Python, anti-inspired by HCL, and to some extent inspired by Dhall and Cue. A bit more about the background: https://ruuda.nl/2024/a-reasonable-configuration-language
I just finished my minimal voice agent written in Rust and blogged about it. Now I’m going further in the exploration and unpeel more layers.
Finnding people to discuss with about these deep topics is becoming very hard nowadays.
Slowly bringing back up a server I accidentally deleted prior to coffee one morning.
Playing some video games & trying a setup I like for Nixtamal that makes sure the patches apply before naïvely relocking. Once that feels nice to use, I want to add a vendor=#true attribute to patches which will pull them locally—which helps stability, but at the cost of keeping around patches in the repository (fetchpatch2 will already cache things, but it’s possible that you don’t want a moving target for patches or you need the negligible speedup since applyPatches is IFD no matter how you slice it).
I took Wednesday off to go mountain biking in the PNW sun, so making up for that by working Saturday and celebrating my wife's birthday on Sunday 🙂
Enjoying a gorgeous fall weekend for the first time in three years. Well, at least today and Saturday. Hurricane remnants hitting the area on Sunday for a good soak, but welcome: after an above average precipitation summer, we've had a weird little drought for this time of the year.
I finally cleared a big gate on my long under renovation house: I can live here, says the local government, 22 months after moving in.
My partner wanted an iPad and it arrived last night. I've not had an iOS device in the house for ~10 years, and that 2 years was a weird phase for her. So we'll be exploring how iOS has changed in that time.
As long as the weather holds up, though, I'm gonna just go touch grass and watch leaves fall.
Hopefully spend a little time learning Lean and P (https://github.com/p-org/P -- a state machine modeling language)
These new languages always think they're so important they deserve single-letter command line names. That drives me crazy tbf.
there is so much I want to do (mostly more writing), but I am sick (cold) so I don't know if I'll manage to do anything at all honestly.
As far as help goes: I want a weird flight simulator for my own idiosyncratic tastes. Any recommendations on aerodynamic-approximation texts? I am not going to do full modelling of the flow, but ideally I would to have enough approximated things to range from plausible subsonic stalling (with hysteresis) to supersonic flight, hopefully with not too much code. Wikipedia is just a little light on the details here, I would say.
Understanding of what are the roughest approximations in actual use would be nice. If not, I guess I will check what simulation code local LLM converges on against what Wikipedia does say. (I am too lazy to make all the drawing code myself, and I am too weird to hope to find people who want exactly the same thing, so some local generation will be used anyway)
More writing. I’m still pretty bad at it, but I’m trying to be better. Or maybe I’d just like it to feel easier which isn’t always the same thing (I’m looking at you, Running).
Road trip to visit my mom and touch grass a bit. Visiting a bunch of other friends and family along the way.
relaxing, working on some personal projects. I've recently moved to Lisbon for a few months so I've booked a food tour later to get to know the place, hoping to meet some new people!