Archive

All published posts

2586 posts latest post 2026-10-03
Publishing rhythm
Sep 2026 | 27 posts
Proper handling of None in WHERE condition · Issue #109 · fastapi/sqlmodel First Check I added a very descriptive title to this issue. I used the GitHub search to find a similar issue and didn't find it. I searched the SQLModel documentation, with the integrated search. I... GitHub · github.com SQLModel models ship with an, and that you can use to compare to None without pesky linters complaining. This comment summed it up quite well. I believe this is concerned entirely with SQLAlchemy, not with SQLModel, and has to do with the required semantics to construct a BinaryExpression object. Hero.age == None evaluates to a BinaryExpression object which is eventually used to construct the SQL query that the SQLAlchemy engine issues to your DBMS. Hero.age is None evaluates to False immediately, and not a BinaryExpression, which short-circuits the query no matter the value of age in a row. From a cursory search, it does not seem that the is operator can be overridden in Python. This could help explain why the only possibility is by using the == operator, which can be overridden. so rather than using we can use which checks for itentity not equality.
If you’re into interesting projects, don’t miss out on blink.cmp, created by saghen. Performant, batteries-included completion plugin for Neovim
Gridfinity Generator gridfinity.perplexinglabs.com Gridfinity generator uses open scad, so you can make rugged boxes, bins and base plates with form input. not fully custom fit to things, but you can custom size square bins, hole cut out sides and all. From what I can tell, no bento box either. so as long as what you are looking for is square this generator has you pretty well covered. I’m definitely using this for simple bins and rugged boxes.
Document how to provide a negative number as an argument · fastapi typer · Discussion #798 First Check I added a very descriptive title here. I used the GitHub search to find a similar question and didn't find it. I searched the Typer documentation, with the integrated search. I already... GitHub · github.com Today I learned that you cannot pass negative integers as values to typer. in this case is required so that the does not look like a flag.
rommapp has done a fantastic job with romm. Highly recommend taking a look. A beautiful, powerful, self-hosted rom manager
I came across pz from CZ-NIC, and it’s packed with great features and ideas. Easily handle day to day CLI operation via Python instead of regular Bash programs. 🇺🇦 #supporting
I’m impressed by rocketnotes from fynnfluegge. AI-powered markdown editor - leverage vector embeddings and LLMs with your personal notes - 100% local or in the cloud
faststream by airtai is a game-changer in its space. Excited to see how it evolves. FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.
I came across faststream from ag2ai, and it’s packed with great features and ideas. FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.
The work on memos by usememos. An open-source, lightweight note-taking solution. The pain-less way to create your meaningful notes. Your Notes, Your Way.
@willmcgugan) on X — New Version of #Textual released! 😎🤓🦾 The demo has been updated. It's not quite finished, expect an update next release, but it is a lot of fun. Press C at any point to see the code powering that page (makes a great learning tool). Video 👇 https://t.co/p2ScsuL7GZ" loading=“lazy”> Will McGugan ( @willmcgugan) on X New Version of #Textual released! 😎🤓🦾 The demo has been updated. It's not quite finished, expect an update next release, but it is a lot of fun. Press C at any point to see the code pow… X (formerly Twitter) · x.com This new demo of textual is wildly awesome, so many widgets and features being added into the main library. The themes and animations are on point and far surpass my expectations of a tui.
The work on menu by nvzone. Menu plugin for neovim ( supports nested menus) made using volt
Pin versions of dependencies · Issue #2200 · Kozea/WeasyPrint Stack trace: pdf = HTML(file_obj=html, base_url='/').write_pdf() File "/service/venv/lib/python3.9/site-packages/weasyprint/__init__.py", line 252, in write_pdf self.render(font_config, counter_sty... GitHub · github.com weazyprint was throwing me some errors, turns out that it’s currently not compatible with the latest pydyf package. my error I fixed it by locking in pydyf at 0.8.0
add helix · WaylonWalker/devtainer@71b9b29 🐳 (dotfiles) My personal development docker container base image - add helix · WaylonWalker/devtainer@71b9b29 GitHub · github.com Helix officially made it in my devtainer. I am installing the binary right out of the github release with wget and tar. I can’t use installer because their release format does not match what installer is looking for.: I also move the runtime over to /usr/local/share/helix/runtime.: I use /usr/local/bin rather than my home directory as it works better with distrobox.
Support regex substitution command · Issue #2232 · helix-editor/helix Support regex substitution, comparable to vim:s or VSCode search & replace. I propose supporting regex replacements for selection s, files/, and the workspace scopes <space> + /. This could be acc... GitHub · github.com helix multicursor has the ability to do what vims does by using to cycle through cursors, and to discard unwanted cursors.
Support regex substitution command · Issue #2232 · helix-editor/helix Support regex substitution, comparable to vim:s or VSCode search & replace. I propose supporting regex replacements for selection s, files/, and the workspace scopes <space> + /. This could be acc... GitHub · github.com Here is a really good vim substitute with regex capture groups, saving this one for a rainy day.
Support regex substitution command · Issue #2232 · helix-editor/helix Support regex substitution, comparable to vim:s or VSCode search & replace. I propose supporting regex replacements for selection s, files/, and the workspace scopes <space> + /. This could be acc... GitHub · github.com Interesting take on refactoring the whole codebase from your editor. In this thread the-mikedavis suggests multicursor as a replacement for substitute, and later in the thread takes the side that larger workspace wide edits are outside the scope of helix and he would reach for a refactoring tool like fastmod to do the job.
Support regex substitution command · Issue #2232 · helix-editor/helix Support regex substitution, comparable to vim:s or VSCode search & replace. I propose supporting regex replacements for selection s, files/, and the workspace scopes <space> + /. This could be acc... GitHub · github.com I am a heavy user off substitutions in vim, helix does not substitutions built in, rather it leans on multicursor support. to replace every instance of hello with world in vim and in helix you would
Background Image | Wallpaper · Issue #3059 · helix-editor/helix Describe your feature request Hey! It'd be cool to have the ability to set a background-image on supported terminals (like kitty). Like on IntelliJ: Here is an example of what it'd be on helix: GitHub · github.com How to make helix themes transparent. You can make any built-in theme transparent in helix with one line, a few extras and you can make all the pop ups, help menus and status line trransparant as well.
configuring pylsp · helix-editor helix · Discussion #6623 Hi, I'm trying to make some modifications to the default pylsp settings as I do not strictly follow PEP in my personal projects. I googled some examples but I cannot get them to work, so I am wonde... GitHub · github.com How to set your python formatter to black with helix. The following snippet lays out how to set the helix editor to auto-format on save with the black formatter.
Database Remote-Copy Tool For SQLite (draft) Neat new SQLite utilities often show up in branches of the SQLite repository. Here's a new one from last month: sqlite3-rsync, providing tools for efficiently creating and updating copies of … Simon Willison’s Weblog · simonwillison.net Simon shared a really cool new utility tool for sqlite ispired by rsync. It checks hashes of each sqlite page and syncs pages. So if nothing in the database has changed it will only require 0.5% the bandwidth as a copy would.
ticklemykeys (@XTicklemykeys) on X working on a new model. seams less visible hotswap more room for build X (formerly Twitter) · x.com porta-john design update, working on moving the seams to line up with an edge to eliminate long noticable seams. These seams are required because I don’t have a printer big enough to print this in one shot. hotswaps are going in. I’m getting really excited for hotswaps as they will make keebs more repairable, and users can self change out the switches if they want. I can also pre-build them ready to go, and drop in switches at the time of order. I did learn today that these are hyper specific to gateron, damn all these switch manufacturers and their special pinouts. Last thing I gotta make more room for wiring the microcontroller and running wires out to the rows and columns, my first prototype build took waay to long to build.
ticklemykeys (@XTicklemykeys) on X New cap of my own design X (formerly Twitter) · x.com This low profile design almost made it to 9. I think blending together the custom brim to make them all one piece really made the final difference here. The custom brim is two layers thick, only touching on the top layer making it very easy to peel off, but gives better adhesion to the bed, and does not loose one like this print did.
ticklemykeys (@XTicklemykeys) on X Full size MX caps, printing flawlessly with minimal cleanup required. X (formerly Twitter) · x.com really excited for how these caps of my own design are working out. Having the extra control is the first time I’ve been able to print more than one at a time without some hacky gcode. I’ve got a set of nine here that I have printed 4 times without a single failure.
MX keycap stem dimensions. I used these to create my new caps and all these dimensions worked great. The one dimension I had issues with was the outer diameter off the cap stem, not shown here. 5.3mm ended up being a good outer diameter for me. I print them at an angle and the bottom of the stem can get a bit of sag, pressing out on the outer wall of the switch and can actually stick the key.
Modular Input Device on Wood
Comparing the thickness of the low profile portajohn2 to the portajohn1
GitHub - urob/zmk-config: Personal ZMK firmware configuration for various boards (34-keys, Glove80, Planck) Personal ZMK firmware configuration for various boards (34-keys, Glove80, Planck) - urob/zmk-config GitHub · github.com This is a very well thought out zmk config featuring many macros, numword, and timeless homerow mods. The build system to build locally looks on point, I really need to give that a try!