-
This really makes me want to try Dolphin Mixtral with ollama now. It looks very impressive from this video. The ability to keep adding features before becoming confused is though with a lot of these llms.
Being chat based, this is not a co pilot replacement. I was really hoping for an in line co pilot like tool that I can run locally. I have not used co pilot yet, but I have had great luck with codeium.
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/
Today I Learned
Short TIL posts
1852 posts
latest post 2026-05-13
Publishing rhythm
-
Thor is just straight up a great Human being! Getting a gaming company to tie power and progression with being nice is an incredible feat.
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/
-
Great take on low code. I have definitely felt the pressure of being presented low code options, “look it does almost everything you need, and you can do it without code.” Granted there are tons of great low code environments that serve their markets well (things like zapier).
As pointed out here when they fall short rather than being hard, it goes to nearly impossible. As Theo points out here many applications follow an 80/20 rule. 80% of the app is really easy to put together, and takes about 20% of the time, probably less. What no code does is it takes that 80% that is already easy, makes it even easier ( pitches it as faster whether or not that is true ), and makes the last 20% of the project impossibly hard to create and maintain, so you just should have picked a tool that had the capability of doing the whole thing from the start anyways.
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/
-
I’ve heard prime say just give it the one eyed fighting kirby so many times, and execute it few times, and there is no way to find it online, so this will be the link that I will come to, when I need to remember what @theprimeagen means when he says Give it the one eyed fighting kirby.
:s/\(.*\);/console.log(\1)
So what is this? # [1]
This is a vim substitute comand to replace text in the buffer. the one eyed fighting kirby is a regex capture group to capture everything between matches, and assign it a value to place back in after the match.
substitute in a nutshell, :s/<what you want to replace>/<what you want to replace with>
More examples # [2]
Here is a contrived example of text.
here there
from here go there
here = some_fuction(there)
Now for some reason I want to switch all of the words here and there. I can do that with three capture groups, \1 is here, \2 is everything between, \3 is there.
:%s/\(here\)\(.*\)\(there\)/\3\2\1
Just give it the one eyed fighting kirby
~Prime
still struggling # [3]
I thought this explaination from phind was good and more verbose than mine.
---
describe this vim substitute regex
:%s/(here)(.)(there)/\3\2\1
ANSWER | PHIND V9 M...
Java - ArchWiki
wiki.archlinux.org [1]
Today I learned that arch has a helper script archlinux-java to set the version of java.
archlinux-java status
archlinux-java set <JAVA_ENV_NAME>
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://wiki.archlinux.org/title/java#Switching_between_JVM
[2]: /thoughts/
GitHub - charmbracelet/mods: AI on the command line
AI on the command line. Contribute to charmbracelet/mods development by creating an account on GitHub.
GitHub · github.com [1]
This is a pretty sweet interface into llms. I used it a bit with my son tonight while he was asking me for datapack ideas.
❯ mods -f 'I am trying to have fun on my minecraft server and am creating a minecraft datapack send me some load.mcfuncions that will make it fun'
You can continue the conversation with a -C
❯ mods -C -f 'I like where you are going with number 4, can you make it so that it runs when a player opens a door'
You can pass it some data
curl https://waylonwalker.com/thoughts-on-unit-tests/ | mods -f 'summarize this post'
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/charmbracelet/mods
[2]: /thoughts/
GitHub - charmbracelet/mods: AI on the command line
AI on the command line. Contribute to charmbracelet/mods development by creating an account on GitHub.
GitHub · github.com [1]
This is a pretty sweet interface into llms. I used it a bit with my son tonight while he was asking me for datapack ideas.
❯ mods -f 'I am trying to have fun on my minecraft server and am creating a minecraft datapack send me some load.mcfuncions that will make it fun'
You can continue the conversation with a -C
❯ mods -C -f 'I like where you are going with number 4, can you make it so that it runs when a player opens a door'
!!! note
This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don't have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
about someone else's content online #thoughts
References:
[1]: https://github.com/charmbracelet/mods
The work on mods [1] by charmbracelet [2].
AI on the command line
References:
[1]: https://github.com/charmbracelet/mods
[2]: https://github.com/charmbracelet
Gridfinity
The modular, open-source grid storage system.
Gridfinity · gridfinity.xyz [1]
I am starting to build out some custom tool holders for my tool box, and using gridfinity. This is a super handy reference guide for spec’ing out the bases.
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.xyz/specification/
[2]: /thoughts/
Read a Range of Data - LIMIT and OFFSET - SQLModel
SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness.
sqlmodel.tiangolo.com [1]
Today I was running some sqlmodel queries through the sqlalchemy orm. Admittedly I’ve not done enough orm queries before, and I’ve done quite a bit of raw sql. I was trying to get objects from two separate models that had relationships setup.
session.query(User, Images).where(User.id == 3).all()
It is incredibly slow, and gives me the following warning.
SELECT statement has a cartesian product between FROM element(s)
What I learned from the SQLModel docs is that you should give it a join to correct this and go much faster.
session.query(User, Images).join(Images).where(User.id == 3).all()
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://sqlmodel.tiangolo.com/tutorial/limit-and-offset/
[2]: /thoughts/
So after months of fighting with gf not going to template files, I finally
decided to put in some effort to make it work.
This was the dumbest keybind in my config, that I copied from someone else
without understanding it.
What I am trying to do # [1]
I have jinja templates in a directory called templates. I want to bind gf to
open a template file, but it is trying to open a new file ./base.html
{% extends "base.html" %}
{% if request.state.user %}
{% block title %}Fokais - {{ request.state.user.full_name }} {% endblock %}
{% else %}
{% block title %}Fokais {% endblock %}
{% endif %}
{% block content %}
{% if request.state.user %}
<h1 id="title"
class="inline-block mx-auto text-5xl font-black leading-loose
text-transparent bg-clip-text bg-gradient-to-r from-red-600
via-pink-500 to-yellow-400 ring-red-500 text-shadow-xl
text-shadow-zinc-950 ring-5">
{{ request.state.user.full_name }}
</h1>
{% endif %}
{% include "me_partial.html" %}
{% endblock %}
What did not work # [2]
I tried all sorts of changes to my path, but it still didn’t work.
vim.api.nvim_command("set path+=templates/**")
What I found # [3]
after digging into my keymap I found that I had remaped gf ...
Template Designer Documentation — Jinja Documentation (3.1.x)
jinja.palletsprojects.com [1]
html [2] code generated by my jinja templates generally look half garbage because of indents and whitespace all over the place. I just learned about these pesky Whitespace Control characters that can get rid of the whitespace added from templating.
You can also strip whitespace in templates by hand. If you add a minus sign (-) to the start or end of a block (e.g. a For tag), a comment, or a variable expression, the whitespaces before or after that block will be removed:
{% for item in seq -%}
{{ item }}
{%- endfor %}
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://jinja.palletsprojects.com/en/3.0.x/templates/#whitespace-control
[2]: /html/
[3]: /thoughts/
Intro - Minecraft Server on Docker (Java Edition)
Documentation for Minecraft Server on Docker
docker-minecraft-server.readthedocs.io [1]
I just learned that if you can exec into the container running minecraft with the itzg/minecraft container you can run rcon-cli to get command access to the server. You need to set the RCON_PASSWORD if you want to access rcon remotely, but if you have not already done this and have access to the server you can just run rcon-cli when you are in.
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://docker-minecraft-server.readthedocs.io/en/latest/
[2]: /thoughts/
-
Theo’s response puts a lot of my feelings about unit testing into words. It’s crazy how cargo culty it becomes that the echo chamber of twitter can bring in beliefs that we think we believe, but have not experienced enough or put enough thought in to form our own opinion.
This video made me think so much that it turned into it’s own blog post
Thoughts on Unit Testing [1]
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://waylonwalker.com/thoughts-on-unit-tests
[2]: /thoughts/
Mastodon.py — Mastodon.py 2.2.1 documentation
mastodonpy.readthedocs.io [1]
Mastadon.py is a python api client for mastadon that makes it easy to cross post to mastadon.
from mastodon import Mastodon
Mastodon.create_app(
'pytooterapp',
api_base_url = 'https://mastodon.social',
to_file = 'pytooter_clientcred.secret'
)
from mastodon import Mastodon
mastodon = Mastodon(client_id = 'pytooter_clientcred.secret',)
mastodon.log_in(
'[email protected]',
'incrediblygoodpassword',
to_file = 'pytooter_usercred.secret'
)
mastodon.toot('Tooting from Python using #mastodonpy !')
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://mastodonpy.readthedocs.io/en/stable/
[2]: /thoughts/
bunny.net - The Global Edge Platform that truly Hops
Hop on bunny.net and speed up your web presence with the next-generation Content Delivery Service (CDN), Edge Storage, and Optimization Services at any scale.
bunny.net · bunny.net [1]
bunny.net looks like an interesting cloudflare alternative.
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://bunny.net/
[2]: /thoughts/
IndieWebify.Me - a guide to getting you on the IndieWeb
indiewebify.me [1]
This is a sick guided site to validate indieweb tags on your site. It makes it much easier than trying to do it yourself.
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://indiewebify.me/
[2]: /thoughts/
I came across nvim-macroni [1] from jesseleite [2], and it’s packed with great features and ideas.
🤌 Save your macros for future use
References:
[1]: https://github.com/jesseleite/nvim-macroni
[2]: https://github.com/jesseleite
jesseleite [1] has done a fantastic job with macroni.nvim [2]. Highly recommend taking a look.
Save your macros for future use 🤌
References:
[1]: https://github.com/jesseleite
[2]: https://github.com/jesseleite/macroni.nvim
ikalnytskyi [1] has done a fantastic job with httpie-auth-store [2]. Highly recommend taking a look.
Credential store plugin for HTTPie, attaches auth to ongoing request.
References:
[1]: https://github.com/ikalnytskyi
[2]: https://github.com/ikalnytskyi/httpie-auth-store