-
It really feels like M$ is coming down hard on GH lately to make some unfavorable decisions for users. Maybe there is good reason for all of these changes from a business perspective, I canāt judge that. But right now there are some really great alternatives out there. Iām so grateful for what forgejo and gittea offer, and at the same time seeing the community get split up from GH is sad.
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/
Posts tagged: dev
All posts with the tag "dev"
303 posts
latest post 2026-06-01
Publishing rhythm
Iāve been using this one for awhile now, I have a post type that I only edit
from my phone, but I have all the post numbered. I set up a template in
obsidian for using templater, the template goes right in the static site repo,
I point templater to the templates directory and this has been working pretty
seamlessly for awhile.
---
date: <% tp.date.now("YYYY-MM-DD HH:mm:ss") %>
templateKey: myposttype
published: true
tags:
- myposttype
<%*
const folder = "pages/myposttype";
// get all files in the vault, keep only those inside the folder
const files = app.vault.getFiles().filter(f => f.path.startsWith(folder + "/"));
// extract numeric suffixes from filenames like myposttype-123.md
const nums = files.map(f => {
const m = f.basename.match(/^myposttype-(\d+)$/);
return m ? parseInt(m[1], 10) : null;
}).filter(n => n !== null);
// next number (start at 1 if none exist)
const next = (nums.length ? Math.max(...nums) : 0) + 1;
// include the .md extension when moving
const newPath = `${folder}/myposttype-${next}`;
await tp.file.move(newPath);
%>
---
I found snow-fall component from
zachleat [1], and its beautiful⦠to
me. I like the way it looks, its simple and whimsical.
Install # [2]
There is an npm package <a href="https://zachleat.com" class="mention" data-name="Zach Leatherman" data-bio="A post by Zach Leatherman (zachleat)" data-avatar="https://www.zachleat.com/og/opengraph-default.png" data-handle="@zachleat">@zachleat</a>/snow-fall if thatās your thing. I like
vendoring in small things like this.
curl -o static/snow-fall.js https://raw.githubusercontent.com/zachleat/snow-fall/refs/heads/main/snow-fall.js
I generally save it in my justfile so that I remember how I got it and how to
updateā¦. yaya I could use npm, but I donāt for no build sites.
get-snowfall:
curl -o static/snow-fall.js https://raw.githubusercontent.com/zachleat/snow-fall/refs/heads/main/snow-fall.js
Usage # [3]
Now add the component to your page.
<!-- This belongs somewhere inside <head> -->
<script type="module" src="snow-fall.js"></script> <!-- Adjust the src to your path -->
<!-- This belongs somewhere inside <body> -->
<!-- Anything before will be below the snow. -->
<snow-fall></snow-fall>
<!-- Anything after will show above the snow. -->
...
snow-fall Web Componentāzachleat.com
A post by Zach Leatherman (zachleat)
Zach Leatherman Ā· zachleat.com [1]
This is a very fun way to add some whimsy to your site, added it to mine immediately when I saw it. This is what digital gardens are for, Fun, entertainment, and self-exxpression.
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.zachleat.com/web/snow-fall/
[2]: /thoughts/
2025-11-27 Notes | Nic Payne
yesterday: [[2025-11-26-notes]] Big Changes Got my workspaces script in working order It's not quite configurable yet This will allow an easy way to setup
pype.dev [1]
Nic is also building out a similar workspaces script. This feels like such a great thing to have ai work on fully customized tools for your personal workflow. Also Nice shout out!
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://pype.dev/2025-11-27-notes/
[2]: /thoughts/
Rules
- There is no such thing as magic
- Be ready to roll back live deployments
- If CI was too fast be suspicious
- Always be available after a release.
- No one wants to read your slop, if you are too lazy to write it donāt send
it.
- Tech will always fail, we only have some control over blast radius
- strive for a blameless culture
- Need a tool Make a tool
FastAPI [1].">Starlette has a head request that works right along side your get requests.
This morning I fiddled around with custom routes for GET and HEAD, but had
to manually set some things about the file, and was still missing e-tag in
the end. Turns out as a developer you can just [2] add a head route to
your get routes and starlette will strip the content for you, while
preserving all of those good headers that fastapi FileResponse created
automatically for you.
from fastapi import APIRouter
from fastapi.response import FileResponse
from fastapi import Request
from pathlib import Path
router = APIRouter()
@router.get("/file/{filename}")
@router.head("/file/{filename}")
async def get_file(filename: str, request: Request,):
headers = {
"Cache-Control": "no-cache, no-store, must-revalidate",
}
from pathlib import Path
filename = Path(f"data/{filename}")
if not filename.exists():
raise HTTPException(status_code=404, detail="File not found")
return FileResponse(filename, headers=headers)
Here is an example of the response with curl.
⯠curl -I -L "http://localhost:8100/api/file/e5523925-1565-454c-bab3-c70c4deabc83.webp?width=250"
HTTP/1.1 200 OK
date: Wed, 22 Oct 202...
-
This is super cool, thanks to Brodie for reading me this content as I do household chores. lowtech magazine [1] is a website ran completely on solar power with only enough battery backup to cover most days. Adding enough to cover all days would increase its carbon footprint and negate the carbon offset of the solar panels it runs on.
Itās fascinating to see a web server running completely off grid in a close power system. These interesting websites are fascinating keep em coming Brodie.
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://solar.lowtechmagazine.com/
[2]: /thoughts/
Litewind
Litewind is Tailwind without the build step
litewindcss.com [1]
This is a sick no-build version of tailwind. I have a couple of projects that the build step of tailwind is cumbersome on, mostly because they are for non-js devs. Some are for backend python devs, some are for folks that mostly want markdown with some styles. This is a perfect no-build tailwind 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://litewindcss.com/
[2]: /thoughts/
Running Software on Software Youāve Never Run
Writing about the big beautiful mess that is making things for the world wide web.
blog.jim-nielsen.com [1]
Running software applications in production today is crazy. One point release opens up for supply chain attacks. Whatās crazier is not running your production applications without a lock file, potentially running dependencies youāve never ran before for the first time in prod.
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://blog.jim-nielsen.com/2025/run-software-on-software-youve-never-run/
[2]: /thoughts/
Why Make a Website in 2025
Inspired by
Jim [1] and
Dave [2]
Itās Fun # [3]
If itās not something that you enjoy, you might as well move on there are far
better ways to spend your time in 2025. Only the weirdos read this shit
anymore, the masses have long moved on to curated social media feeds, and on to
chatting with llms. I enjoy spending some time in the digital garden every
once in awhile tweaking templates, creating markata [4] plugins to do
interesting things. I enjoy expressing my thoughts, or at least shouting them
into the ether.
Iāll be the first to admit that I often go to an llm for first pass at many
things that I could look up in a guide or š² the docs.
I enjoy reading others # [5]
This year I have made extra effort to add more and more people into my
Reader [6]. I enjoy reading content from people I chose to follow and can
remove whenever I want. I enjoy reading actual human thoughts and not ai
generated content all day.
I even will create Thoughts [7] based on these posts that I find inter...
I needed to display some hover text in a web app that I am using tailwind and
jinja on. It has no js, and no build other than the tailwind. I want this to
remain simple. Turns out
that you can use a span with a title attribute to get hover text in
HTML [1].
<p>
I needed to display some hover text in a web app that I am using tailwind and
jinja on. It has no js, and no build other than the tailwind. I want this to
remain <span style='cursor: help; color:yellow;' title='respective to the
python developer I am and the team it is used for'>simple</span>.
</p>
References:
[1]: /html/
A New Chapter
In a recent turn of events, I find myself at a bit of a crossroads with an exciting new job on the horizon! In this post, I introduce myself and discuss my vision for the new blog.
Jesse Leite Ā· jesseleite.com [1]
Sub to this man. I met Jesse long ago as we both spoke at the same remote vim conf. He is into vim, weird keyboards, and medroid what more could you ask for. Now react and exlixer. I only know https://statamic.com/ through Jesse, they have the sickest branding ever. Now I will need to see what this savvycal [2] is about.
https://jesseleite.com/feed
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://jesseleite.com/2025/a-new-chapter
[2]: https://x.com/savvycal
[3]: /thoughts/
Vibe code is legacy code
Code that nobody understands is tech debt
blog.val.town [1]
Brilliantly said. Vibe coding [2] is legacy code. Itās code that we forget exists. Code that no one touches, you replace it. If you touch it you are more likely to break it.
The worst possible situation is to have a non-programmer vibe code a large project that they intend to maintain. This would be the equivalent of giving a credit card to a child without first explaining the concept of debt.
As you can imagine, the first phase is ecstatic. I can wave this little piece of plastic in stores and take whatever I want! ā¦
Read more in the full post [1]
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://blog.val.town/vibe-code
[2]: /vibe-coding/
[3]: /thoughts/
Let's Make Sure Github Doesn't Become the only Option - Edward Loveall
blog.edwardloveall.com [1]
This post is a masterclass in blogging, cross linking, backing up your ideas with posts from other great sources. I have a week of reading inside this post, and need to come back later when Im not sick.
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://blog.edwardloveall.com/lets-make-sure-github-doesnt-become-the-only-option
[2]: /thoughts/
Explore
Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.
Forgejo Ā· git.dbushell.com [1]
damn david has been busy, this is sick seeing all of the repos, Iām ready to jump 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://git.dbushell.com/explore/repos
[2]: /thoughts/
Eric (@[email protected])
This was pushed out with a rushed security review, a coerced and unwilling engineering team, and in full opposition to our supposed company values.
If you don't want it, tell them. Social media ā¦
Mastodon Ā· social.ericwbailey.website [1]
damn, M$ really pushing hard on moving github into the ai org.
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://social.ericwbailey.website/@eric/115100947111974331
[2]: /thoughts/
-
This man feels sad, he never had a chance to bloom. He was stuck behind the drudgery of jira tickets. This is what the consultant driven agile has got us. Its ripped out all the thinking and creativity, its left us with moving tickets across the board, not allowed time to run on an idea when we have one. Not allowed to do extra work or refactoring in a module that we are already in. pushed to move faster for less.
I feel like this mans experience has been quite different from my own and Iām grateful to have some leeway to be creative and do some meaningful work outside the jira board. Iām grateful to be able to provide a good income for my family without taking on all the risk myself.
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/
GitHub - cortesi/modd: A flexible developer tool that runs processes and responds to filesystem changes
A flexible developer tool that runs processes and responds to filesystem changes - cortesi/modd
GitHub Ā· github.com [1]
Gave modd a try today, and I like it, its something I am going to consider slotting right into my justfiles [2]. Gave it a try and it seems to work really well out of the box and easy to configure.
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://github.com/cortesi/modd
[2]: https://github.com/casey/just
[3]: /thoughts/