Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
i decided to take a look outside of my git comfort zone to see what's out there. and wow, i'm glad i did, because i came across jj-vcs and, it's hard to emphasize this enough: it's a delight. it lets me operate on commit graph like i'm playing with lego.…
-
given i'm often shuffling a program from my computer onto some server somewhere, i'm always interested in making that process more pleasant. i recently kicked the tires on railway1 and thought it had a lot of nice things going for it. projects you group s…
-
was observing the shift in february where my LLM generated commits outnumbered the ones i was authoring. you may need to squint, but the blue bars are my commits and the orange ones are from aider i learned about aider in july. i had already been using ot…
-
i'm a big fan of fish's abbr and was wondering if it would also do sub commands, i.e. g c → git commit and so on. i came across a reddit post from Paul Irish1, no less, where someone indicates what to do. so i took a peek into Paul's dotfiles and got the…
-
with the goal of writing some programs i will use, i've put together a few cli tools to improve my day to day. because cargo-dist lets me distribute binaries and put stuff on homebrew without having to write my own yaml, it means i actually do it, and i h…
-
every time i need to install a python tool i brace myself for pain. but no more!
-
you can run typescript from the web, e.g. deno run https://docs.deno.com/examples/hello-world.ts will do what you think it does you can build binaries with deno compile, e.g. to publish to homebrew so other people can install your programs you can publish…
-
Here's what I learned: Season (usually with salt, pepper, chile flakes, some kind of acid) before you add the fat, which in 95 percent of the recipes in this book will be olive oil.
-
→ envset: updates .env files envset: solving the most trivial of trivial problems. i work with .env files a lot1 and update values in them often enough. wether it's feature flags, api keys, or whatever the things change. this is slightly annoying in a text
-
something that always catches my eye in a system is what kind of ids it uses. and the ones i'm most fond of are the human readable variety i first saw in stripe, they have a prefix indicating what resource they are followed by random characters. e.g. cus_…
-
finding new ways to work and better tools is something i enjoy a lot. and after discovering aider, a cli tool that uses llms to write code, i've been interested in trying it out on all sorts of things and finding the patterns that work well with it. so ov…
-
at work we use harvest to keep track of time, and i'm generally working in vscode. it's easy enough to forget to turn on your timer, or leave one running that's on a different project and only realizing it later and have to take your best guess at correct…
-
→ adding curly quote support to astro markdoc glad that this allows me to write dumb quotes in my documents and have curled when they come out of this website. contributing code to astro was easy, and i learned a reasonable way to deploy a forked npm pack…
-
srcset-codegen is something i've wanted since the create-react-app days. it's a cli that looks at the images in your project and generates typescript files exporting an object with a src, width and height. if you have @2x, @3x, …, variants it'll include a…
-
i've long been a big fan of keeping a very large $HISTFILE as reference, Ctrl+R being one of the my favourite key combinations to press. but i've got a bad habit of writing secrets directly into my shell which results in things like api keys, jwts, private
-
→ oblique strategies originally available as a physical deck of cards, oblique strategies lets you work chance into whatever problem you're working through with a suggestion on how to go forward.
-
when you're working on a branch in git you might commit your work for a variety of reasons, and git expects you to write a message every time. this is a big ask for the commits that don’t make it into the trunk. it’s a chore to annotate snapshots that only
-
pnpm allows you to install packages straight from github, but if the package has a build step (such as typescript compilation) it'll likely be missing the js that you would be running. there doesn't seem to be a standard way to set a project up so that the
-
after reading Entering text in the terminal is complicated i was motivated to figure out a problem that has long vexed me: how do i edit a long command in my editor instead of in an interactive shell?
-
Now the concept of Flow is one that I have found of particular interest.
-
→ typescript ‘satisfies‘ operator TIL typescript 4.9 shipped with a new satisfies operator that lets you assert an expression is of a type, without actually changing that thing's type. i discovered this when looking up how to write an exhaustive switch ty…
-
→ modern font stacks nice resource to see all the ‘system’ fonts you can use in css. i’ve never been much of a webfont fan: slow, varying quality, restrictive and expensive licensing. trying out the ‘transitional’ stack on this site.
-
previously this site was built with remix, serving data stored in sqlite and content was authored in logseq and pushed up to the site via a custom logseq extension. this was fun to make, and worked well enough but logseq isn't a very good place to edit do…
-
update: this is now a full fledged cli at https://github.com/schpet/linear-cli i'm a fan of the way linear has a button to pop out a git branch name for an issue, but sometimes i'm working on that branch and get back to linear. this CLI does exactly that.1
-
with woodworking there's a lot of different ways to put steel to wood and the tools you choose informs the work you do and how enjoyable it is. same thing applies to working with tabular data. pretty print records in postgres sometimes you select * from s…
-
If I were to state it bluntly, I would have to say that I am more interested in the experience that I have in the shop than what I produce in it. […] Of course, the proof of my time in the shop are the finished chairs, but they leave.
-
despite the desire to keep everything as stock as possible sometimes you realize it sucks and you need buy some stuff and fiddle around to improve your situation. hardware i was tired of connecting power, display, headphones and other peripherals to my la…
-
writing this down, mostly so i can look back on it in a few years and see how things changed. vscode using this with the basic vim plugin. attempted to use the neovim plugin that runs nvim proper within vscode but it wasn't stable. maybe i'd try that again
-
after getting fed up with spotify and learning about navidrome i decided to repurpose an raspberry pi 3 i had kicking around into a little linux server.[^1] it was nice to follow the well worn path of setting this up since it's such a common thing to do.…
-
update: i have since moved this setup to be run off a raspberry pi in my basement, still using tailscale so that i can connect to it while away from home this is the topic that originally motivated me to setup this site: i really wanted to talk about it b…
-
i often reach for emotion in react native projects because it has a nice api to support themes, and it makes it easy to move stuff around compared to stylesheet.create. that said, it's tedious to refactor stuff into these styled component type of things so
-
i've been feeling pretty unsatisfied scrolling into oblivion on twitter, reddit, etc. on my phone and am experimenting with a different reading workflow: i subscribe to RSS feeds using NetNewsWire on my mac and iphone. what a gift to have a high quality m…
-
note: this info is outdated, things have changed this is my riff on the put-logseq-on-website. after reading James Longster's description of his website, i thought, that sounds good so here we are. going for a casual "notes" type of thing, hoping i'll act…
-
a big thank you to the people writing cli tools that install easily, run quickly, and don't break because i upgraded node or ruby. these are some of my current favourites: json stuff jq op json tool jless is helpful when looking at a big chunk of json that