Posts tagged: thought

All posts with the tag "thought"

883 posts latest post 2026-08-08
Publishing rhythm
Jul 2026 | 7 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.
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.
@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.
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.