External Link
cdn.statically.io [1]
Staically makes creating OG [2] images so easy, you can just pop this in your section with some og tags.
<meta name="og:image" name="og:image"
content="https://cdn.statically.io/og/{{post.title}}" />
<meta name="twitter:image" name="twitter:image"
content="https://cdn.statically.io/og/{{post.title}}" />
<meta name="og:image:height" content="640" />
<meta name="og:image:width" content="1280" />
Note
This post is a thought [3]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://cdn.statically.io/og/statically%20makes%20OG%20images%20**easy**
[2]: /og/
[3]: /thoughts/
Posts tagged: thought
All posts with the tag "thought"
866 posts
latest post 2026-05-25
Publishing rhythm
E576: Error while reading ShaDa file: there is an item at position 270498 that must not be there: Missing itemsare for internal uses only · Issue #6875 · neovim/neovim
v0.2.0 Vim 8.0 works well. macOS Sierra 10.12.5 (16F73) iTerm2 v3.0.15 $TERM: screen-256color Actual behaviour When I start neovim by nvim, it prints an error message which is E576: Error while rea...
GitHub · github.com [1]
I hit an interesting error after updating my nvim plugins today. I’m sti not even quite sure what a ShaDa file is, but I found min in my nvim state directory, unlike this issue that mentions it being in share.
The Error.
Error while reading ShaDa file:
The Fix
mv ~/.local/state/nvim/shada/main.shada ~/.local/state/nvim/shada/main.shada.bak
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://github.com/neovim/neovim/issues/6875
[2]: /thoughts/
Production-ready Python Docker Containers with uv
Starting with 0.3.0, Astral’s uv brought many great features, including support for cross-platform lock files uv.lock. Together with subsequent fixes, it has become Python’s finest workflow too...
Hynek Schlawack · hynek.me [1]
Hynek has a sick dockerfile setup for using uv in python projects.
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://hynek.me/articles/docker-uv/
[2]: /thoughts/
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 [1]
SQLModel models ship with an is_, and is_not 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 Team.heros == None we can use Team.seros.is_(None) which checks for...
External Link
printables.com [1]
Non Gridfinity Rugged boxes
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://www.printables.com/model/637028-rugged-storage-box-parametric-and-customizable
[2]: /thoughts/
External Link
printables.com [1]
gridfinity rugged box openscad
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://www.printables.com/model/757297-gridfinity-rugged-storage-box-parametric-and-custo/files
[2]: /thoughts/
Provider List - The Cluster API Book
cluster-api.sigs.k8s.io [1]
Cluster API book
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://cluster-api.sigs.k8s.io/reference/providers
[2]: /thoughts/
Gridfinity Generator
gridfinity.perplexinglabs.com [1]
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.
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://gridfinity.perplexinglabs.com/pr/gridfinity-extended/0/0
[2]: /thoughts/
External Link
printables.com [1]
The BethDeck is a sick looking DIY steam deck competitor built on top of the framework 13" mainboard. No soldering needed, lt with all off the shelf parts. Controllers appear to be an off the shelf controller with the shell removed and plugged into a usb hub.
[2]
Note
This post is a thought [3]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://www.printables.com/model/1051411-framework-portable-handheld-case-beth-deck
[2]: https://media.printables.com/media/prints/1051411/images/7965723_09c13004-58b9-4868-b078-e3a66073d740_3b514c55-bb6b-4448-a216-842d7de48955/thumbs/inside/1600x1200/jpg/pxl_20240910_005549812.webp
[3]: /thoughts/
-
I really like how Spencer walked through how to make quite a few unique setups with only a few simple obstacles. It does not take anything fancy to have a cool setup.
Note
This post is a thought [1]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: /thoughts/
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 [1]
Today I learned that you cannot pass negative integers as values to typer. in this case context_settings={"ignore_unknown_options": True} is required so that the - does not look like a flag.
# script name: main.py
import typer
app = typer.Typer()
@app.command()
def failing(value: float):
print(f"{value=}")
@app.command(
context_settings={"ignore_unknown_options": True}
)
def working_good(value: float):
print(f"{value=}")
if __name__ == "__main__":
app()
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://github.com/fastapi/typer/discussions/798
[2]: /thoughts/
External Link
X (formerly Twitter) · x.com [1]
Aaron Francis is a database master, pumped for thsi dude and all that he is able to accomplish.
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://x.com/aarondfrancis/status/1833533150674268469
[2]: /thoughts/
External Link
X (formerly Twitter) · x.com [1]
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.
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://x.com/willmcgugan/status/1849831271289012463
[2]: /thoughts/
External Link
X (formerly Twitter) · x.com [1]
Loving this 6 pink with blueforward multicolor combo the porta john has going right now. Also my son printed me a cute black pumpkin.
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://x.com/XTicklemykeys/status/1850361138791195069
[2]: /thoughts/
Not a split keyboard, but perhaps a companion to one: the Ploopy Trackpad. An open-source trackpad powered by QMK. All design files available for free. Complete assembly instructions. See comments for details.
Not a split keyboard, but perhaps a companion to one: the Ploopy Trackpad. An open-source trackpad powered by QMK. All design files available for free. Complete assembly instructions. See comments ...
Reddit · reddit.com [1]
ploopy just dropped a trackpad that runs qmk. This sounds so cool. I’m excited to see some videos on it. It would be sick to get this incorporated into a porta john running zmk, one bluetooth device to run all the peripherals.
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://www.reddit.com/r/ErgoMechKeyboards/comments/1g5phts/not_a_split_keyboard_but_perhaps_a_companion_to/
[2]: /thoughts/
[1]
Zulip was just featured on a changelog clip as a self-hosted [2] chat offering. I’m interested to give this a go and see how it compares to matrix. glancing at it, it looks a lot like slack.
Note
This post is a thought [3]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: /static/https://zulip.readthedocs.io/en/stable/production/install.html
[2]: /self-host/
[3]: /thoughts/
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 [1]
weazyprint was throwing me some errors, turns out that it’s currently not compatible with the latest pydyf package.
my error
TypeError: __init__() takes 1 positional argument but 3 were give
I fixed it by locking in pydyf at 0.8.0
pydyf==0.8.0
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://github.com/Kozea/WeasyPrint/issues/2200
[2]: /thoughts/
These are SICK, gonna be using this a lot. (Thanks @evantravers 🥰.) · jesseleite/dotfiles@4979400
My dotfiles 💾. Contribute to jesseleite/dotfiles development by creating an account on GitHub.
GitHub · github.com [1]
helix inspired treesitter select outwards and select inwards.
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://github.com/jesseleite/dotfiles/commit/49794006cbc9dc0e743925ec1a7122514d7148be
[2]: /thoughts/
add helix · WaylonWalker/devtainer@71b9b29
🐳 (dotfiles) My personal development docker container base image - add helix · WaylonWalker/devtainer@71b9b29
GitHub · github.com [1]
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.
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: https://github.com/WaylonWalker/devtainer/commit/71b9b29baf14f3714601d022ca12c3417437395b
[2]: /thoughts/
[1]
Here are some really great keybinds to make helix vim-like. It feels very antithetical to use this whole sale and forego the helix motion-verb language, but there are some nuggets like G in here that I find useful.
Note
This post is a thought [2]. It’s a short note that I make
about someone else’s content online #thoughts
References:
[1]: /static/https://github.com/LGUG2Z/helix-vim/blob/master/config.toml
[2]: /thoughts/