What started as a Joke, a test to gippity, has turned into personal software that I now depend on. Now from anywhere I can make a post to my website in just a few keystrokes. I can put it in the feed I want, encrypt it if I want, and it’s live in like 12s.
New workflow unlocked, sharing images and links straight to plaindown on my phone.custom 3d printed neovim logo keycapC'Mon Toyota Where'S Your Nerd Font
Moving waylonwalker.com to the builder admin so that I get live builds on the main waylonwalker.com site, automated reader updates, updates from git push....
Installed a new nvim capcaps review with individual key overrideRunning some test prints on keycaps using some different fonts, the group on the left(top) was done first with .4mm depth and the right(bottom) was done with a 2mm depth, the colors came out much more vibrant without the black blending in.A banger home flat top cook of chicken fried rice.The ledends were cut quite a bit deeper in this set I think the color is going to come out much more vibrantThis first set of caps printed for real off my new https://caps.waylonwalker.com app came out really well, I can tell the legend cut is not deep enough and the two colors are mixing too much. I'm actually surprised at how much I like the thinner sets better than the thicker sets, I thought thicker would have done better prints.No raft straight on the bed with a .4mm sink into the plate stuck really well, none fell off mid print. I've strugged to get grids of caps to print well in the past.First iteration of the caps app is working, I cannot believe it.
Blogging and blog setups Jack Baty's blog — posts, journal, notes. baty.net · baty.net Damn this hits. I’m trying to change it up, but I’m far on the right. constantly greasing the pipeline and writing about it. or lately just not writing at all.
After a particularly tall print vibrations had moved my ams under the gantry of my bambu a1 so when it started its next print, it lifted it up, its safe, no printer was harmed, but this was a close call.This was the biggest routing job I've done yet on the bosch colt, it really worked the motor. I ended up feeling like high speed was controlling its speed better and keeping it cooler, contrary to what I would think was right.
I updated plaindown to support cool heading formats, and I’m digging it, markata you are next. Time to make the web weird again and really start writing more again.
Here’s the markdown that wrote it followed by the output here.
# Build **good places** for _interesting people_. ## Make room for ==the weird idea.== Some normal paragraph text between headings. ## Build a `personal web` that feels ^**yours**^. More ordinary prose. ## Follow the [<span class="mention mention--attribution mention--unresolved" data-handle="~small">~small</span>~ web](https://waylonwalker.com), not the cr^owd^. ## Make a ~~perfect~~ memorable site. ## Leave space for ==**strange little ideas.**== ## Sometimes the ~~obvious...
I really like the art style of this game. Love that someone is making something Hollow Knight like in their own style. The bosses though… oddly a little close to hollow knight characters.
Interesting tangent here on sleep, Adam talks about jet lag and his experience taking abien to shift his sleep schedule. In his experience it helped fix the sleep schedule, but did nothing to change how he actually felt during that time of re orienting in a new drastically different time zone. He was reminded of all of the sleep studies they did on mythbusters and how they found that it did not matter so much how much “sleep” you got that lying there still and quiet was nearly as effective as sleeping. Knowing this will, like others mentioned, will greatly relieve the sleep pressure I feel on nights of restlessness.
I had no idea how these pipes work, I’ve accidentally spawned so many that have sat there and waited for something to come down the pipe, but did not know this is what was happening.
Every Dax Raad interview is worth a listen, this one does not disappoint. They talk about running local dev setups in a vm in the cloud. Always connected, seemlessly upgrading hardware without you needing to buy sell or trade a thing. They talk about the one model that drove them into psycosis, I’m pretty sure it was 5.6 sol, but it could not be revealed at the time. Software engineering is still required alive and well even through the agentic era here.
dax (@thdxr.com) so obviously n=1 but anecdotes matter a lot here i gave kimi k3 and sol the same task - simple issue with hovers in the tui being the wrong color sol found and fixed the issue with $0.30 of spend… Bluesky Social · bsky.app So much nuance in model selection its hard to keep up.
Completely missing the point of physical media. I don’t see why preserving physical media is a win for xbox right now. The game is not on disk. In 30 years when the game servers are gone, I wont be able to play the game. I wont be able to buy cheap used copies in 6 months as people beat the game. I wont be able to trade in games I’ve beat to get a different game at a low cost. own nothing and be happy.
Apparently you can use a reset to completely reset your codex usage limits. I never knew these existed and apparently I have some expiring soon. Not sure if they auto apply and this is why I get the weirdest reset experience on the usage chart or what.
I have 3? they expire soon, how many have I missed out on.
...
I ran into an issue where my pinentry was unable to connect, blocking me from
doing commits. You can use this to continue signing commits.
Interesting thoughts from a real OG Kent Beck. He argues we are whitnissing the biggest advancement in computing in 40 years. For 40 years we have been almost exclusively writing in compiled languages. Languages that output to some sort of binary compiled assembly instructions for each processor type. Before that it was all hand written instructions directly to CPU. Now we are seeing the genie revolution. The genie is good a writing in many different programming languages given english prompts. It loves to complete problems and is not afraid to write lots of code very quickly. Its quite good at skirting around our best judgement in order to accomplish the goal we set. Some take aways from this talk is that NO ONE knows what the fuck is next. No one knows the best ways to use these things. Everyone has their own opinion wrapped around their experience that might be wildly different than yours. It seems clear this is changing every day and ways no one can measure, predict, or prepare for. So much sits in the hands of model labs and model providers. Without real access to any of it, its all magic.
The Internet I Grew Up With Doesn’t Exist Anymore A thorough retrospective of my time on the internet. cleberg.net I align a lot with this post. From growing up in a rural house where internet access was harder to get. It was slow and only had one line, if you were on the internet, no one in the house could recieve a phone call. Idk if what is now the smol webl, the indieweb, is seeing a resurgence, if I’m just noticing it more. It does feel like along there has been a very small number of users willing to get their own domain, their own server, and host their own shit. A few of these are starting to really break out occasionally, see things like wordle hitting mass adoptioun before being swooped up by a giant. I too miss the internet of old, heck I really dont even mind the middle era of fb, twitter, instagram dominance, but what we have now is dominated by political undertones on it all with everyone shouting “Fake News” at each other. These sites are the easiest place to stay in touch with those you have met online, yet they are riddled with so much toxicity its impossible to have a great experience on them. I’m about a year and a half of not having a single one on my phone, and…
I’ve been running fedora coreos on my home servers for awhile. I really liked
the stability I got from bazzite, and have since enjoyed the stability of
fedora coreos. Since it’s an immutable system I’ve never quite known if I need
to reboot or not, and was unsure how to check for updates. Today I learned you
can use rpm-ostree status to see if your
fedora coreos system is up to date.
rpm-ostree status
For me it listed security advisories with a count of each severity unknown, low, moderate, and important.
This morning I had a machine crash on me and came back to an error.
Error
zsh: corrupt history file /home/u_walkews/.zsh_history
Dammit I don’t want to redo my shell history, I checked with a clanker and they
came up with this solution using strings that only prints printable
characters.
Marin refresh 2026 wen't so good, the bike now shifts through all of the gears super smooth and is an absolute joy to ride.Super cool tunnel on our bike ride feels like air conditioning even on the hottest days.Some rich greenery surrounding a beautiful creek entering a long tunnel.Shot of the freshly rebuilt Marin Kentfield in the dark.I did one more prompt to a long running performance tuning session, that included many runs-reruns, and it took a chunk out of my 5 hour limit.
Is it me or can you feel the 5 hour and weekly limit of codex nearing. It feels like it slowly stops working tasks to completion and asking to continue. I nearly start yelling into the enter, “YES, DO WHAT WE AGREED ON, STOP ASKING” then I notice I’m in the single digits of remaining window left.
I’ve been fighting not having a proper pick/hook in my toolbox for a long time. This fathers day weekend my son pulled out an old box of rc plane supplies from my days trying to build planes like flight test. Inside there was a pack of piano wire. Rules -8 Need a tool make a tool. He had pulled this out while I had the soldering iron hot plucking away at a keeb build that I’ve had sitting idle on the workbench for a long time. The dream of having several identical working builds at the same time is very close to fruition, I just need some more work on the clone. Posts tagged: keeb I was struggling to pull wires through traces of 3d prints. You see I was once a mechanical engineer, not electrical, so 3d modeling is my hammer that I can turn into a tool for any solution, and I’ve just not put the time into learning pcb design. Someday maybe. I always just take some scrap copper make a little look and twist it around until I can get it close enough to pull with some tweezers. As he has th…
T Handle Wire Puller in Action, sliding in to grab some fresh copper.T Handle Wire Puller, with just the right hook on the end, and filed down just thin enough to slip in and grab wire.
Today I got sick of my go to online keyboard tester not supporting holds and fighting an issue with holds on one of my boards, I vibed out a replacement. I did a bit of work with it to get it how I wanted. gpt5.4 still likes to make lots of cards and build readable sites with a reasonable width for reading, not full page apps. keyboard tester A keyboard tester that works for me, how I like it keys.waylonwalker.com The main feature is to be able to see when alt+key or shift+key is pressed, the keyboard tester was not able to do this. I tend to use keyboard tester a lot as I build a lot of weird keyboards so I suspect this one to get a lot of use and may grow over time, but for now it works good enough for me. I can already think of a whole list of features like supporting keycodes for js, pygame, zmk, qmk. But for now I’m just building what I need and not overcomplicating it. test commit
Recent Arch linux vulnerabilities are a good reminder of a few things. AUR is not the official package repo The AUR is community driven AUR packages are not always safe The first thing I’m doing to stop myself from running any aur updates automatically is removing any arch helper. Currently the reported vulnerabilities are supply chain attacks limited to the aur, keep your arch system up do date, BUT do not update packages from the AUR right now. In fact I’m auditing my aur usage and removing anything I have not used in awhile. Here is a nice script I’m using to walk through my packages and get rid of things I installed and probably don’t need anymore. Supply chain attacks are getting real scary in 2026, maybe we should listen to Ginger Bill a bit closer.
I was listening to @syntaxfm this morning and @wesbos said at 328s “The prompt seagulls are driving me nutty”. 100% hard agree Wes. Now I didnt just come off of a conference where they dropped fable 5. I’ve not logged into twitter in months, but I see it around work. prompt-seagulls “Prompt, PR-ompt, promt, PROMT” There is no such thing as magic Asking for the prompt as a first question here, is a clear sign you are looking for magic. What are the magical incantations I must pass to all master clanker to get it to do the things that I want. Wrong, there is no magic prompt to get impressive results, its people that know and understand their craft that get amazing results. They have taste. They have design in mind, They see what the end product should be. They are guiding the model to do what they want and are not surprised when they get it. prompt-seagulls “Prompt, PR-ompt, promt, PROMT” process No one is one shotting their work and kicking up their feet for the other 39 3/4 hours of th…
I built shit on the web before AI, some of it was okay, some I put a lot of time into, but some was just really shitty. Done just well enough to get the job done. All of it had to be written by hand or copy pasted from stack overflow. It was a lot of fun. Now we have a new level of shitty, it looks fine. It looks like it should work good. None of it is just barely good enough, nearly browser default style anymore.
I’ve been deploying my site old school for most of this year, rsync to a volume
mounted to nginx. I ran into an issue today where I updated my site and all of
the pages updated first, followed by upload. The issue this created was that
the new cache busted css files were not up yet and the site had no styles for a
brief period during upload.
I found that delaying updates and delaying deletes until the new content exists
first solves this problem pretty well. Theres still possiblility of jank while
uploading to a live directory and not doing some sort of hot swap, but I’m good
with this low budget option for now.
The Website Specification A platform-agnostic, full specification of the technical features a good website should have. Built in the open under an MIT licence. The Website Specification · specification.website A solid checklist for agents to implement on most sites. Very few sites need 100% coverage, but most should probably check most of these boxes
Revisiting the closed canon A post I wrote in 2023, the closing of the canon, predicted that LLM answers would replace search results, dramatically lowering traffic to individual sites, thereby removing the incentives to eve... Derek Kedziora · derekkedziora.com This is what makes rss so interesting to me. Its boring old tech that fell out of mainstream popularity years ago, yet many sites still support it. Not all, especially ones that come with a good dickover. At the same time, it’s sad to see the human internet dying, even more quickly than before. Not only do we have rampant bots and sites seo maxxing to get to the top. We have ai search overview that answers mose simple questions pretty good, chat that does good, and agents at our fingertips. The need for tutorials is pretty much dead. What we need now is human experiences shared and documented more than ever. I’ve been writing a whole lot less simply because this transition has been hard. Most of my pre 2024 posts were how to, notes for future me. Things so simple agents just spat out better versions in seconds these days with barely a question.
On Rendering Diffs A technical deep dive into how we built the @pierre/diffs package and CodeView component for zero-blanking diff rendering. Pierre Computer Company · pierre.computer It’s incredible how some problems seem so simple until you load the browser with so much text it just bogs to nothing and how impossibly difficult it becomes after this point. Very cool implementation of a problem that…. who has this problem. If it takes me 2 mintues to scroll through a diff at mach speed like the video, is a diff going to solve my problem?
#tech #coding" playlabel="Play: His presence is still felt in the codebase to this day 😂 #codingmemes #developermemes #tech #coding"> Remember this clip in 5 years, after the churn we just had with RTO and ai this is going to hit. Or AI will just figure is all out for us, who knows anymore. Not that they will figure out the human side, the what does this do, why is it here. A temporary fix is a clear signal to your other devs I didn’t have enough time to do it right, but this works. I think AI will squash a large number of these, especially in big coorporate internal tooling where you are trying to juggle as much as you can and just keep it a float at all times.
Not sure how this matters to anyone else, but I’m sitting in the car and letting the thoughts flow.
I’m having really interesting conversations with ai recently. Like things I never thought I would care this deeply about. In part because it feels like the vulns are coming faster and harder, and in part because it is really enabling me to invest some time into the development that I would not otherwise have. I’m thinking about least privilege, reducing dependencies in containers, limiting pod access to the Internet and other pods. Reducing the blast radius.
Now I’ve always been hesitant to bring in new dependencies. I’ve always tried to strip to the lowest possible dependency set n my containers, but I would also re-use the main server container to run cron job workflows. I wasn’t giving much thought about what services they could access, or their internet access
How many people watching this sent their clankers out to make a uuid service for them as they were watching it. UUID as a service sounds great, heck @steipete just has to mention it and his claws are on it building out the service, no need to even type anything or directly form a thought, just mention it in the meeting and a new repo will be up by end of meeting.
Incredibly well done satire on t3.gg, love the at one of the top comments is Prime asking to be done next.
Chain between the gears, its almost more frustrating that it still works most of the time and teases me that if I just knew what I was doing I could fix it properly.
Lamb of God, a true classic, This album takes me back to high school. I don’t think I listened to the sacrament album as much, but “The Ashes of the Wake” was my jam for awhile, particularly hourglass.
To ignore commands that start with a space character, use the
HIST_IGNORE_SPACE option in bash or zsh.
damn Johnathan Blow is not afraid to give you the cold hard opinions. If you want to be good you need to spend your early most formative years doing hard things, because you will not do it later, then goes on to say you should not do anything related to web development during that time as it will rot your brain.
Thorsten is always a great listen with well thought out answers. I thought the advice “all you have to be is good” from his is so great, so many people focus too hard on credentials and certificates, they miss the time in the saddle and raw, just being good at what you do. They talk a lot about industry trends and that ai/llms have been here long enough to see that they are the new iphone. In some way you need to learn to work with them. Much of the minutia is churn, it will change and we will forget about it in six months. Working at amp right now is really trying to focus on releasing exactly the right thing and not everything. We’ve been given these great models that can churn out poc very quickly, it is our job to focus on what the right thing to adopt is.
Thorsten is always a great listen with well thought out answers. I thought the advice “all you have to be is good” from his is so great, so many people focus too hard on credentials and certificates, they miss the time in the saddle and raw, just being good at what you do. They talk a lot about industry trends and that ai/llms have been here long enough to see that they are the new iphone. In some way you need to learn to work with them. Much of the minutia is churn, it will change and we will forget about it in six months. Working at amp right now is really trying to focus on releasing exactly the right thing and not everything. We’ve been given these great models that can churn out poc very quickly, it is our job to focus on what the right thing to adopt is.
Fresh burgers off the flattopIt's been a couple of years since I've fully done our sidewalk, it was time before it got slimy again.
Not sure if this is a quote from somewhere but thought it was some interesting advice that @thorstenball received when he was starting into web development. He asked a friend already in the industry if he thought he had a shot. He had no degree, no credentials, no experience at the time.
I almost for got Rules 4 today, rollout when smooth late in the day right before a vacation day (terrible time to deploy I admit not my clearest plan). Race conditions are a b****, all around on this one. The app I was concerned about won the race to deploy first and was fine by itself, then another app had a race condition inside itself that killed it
one minute in, I cannot believe Prime has never used a password manager. For all the shit they give Trash for his one password, He does not use a password manager!
Tried to use the pump sprayer for the first time this year and all of the seals were shot.If you are looking for s-tier respnses try pressing escape.Ginger scared the crap out of me when just chillin at eye level in the dark laundry room.A look at the stage setup for Rhiannon's Vocal Velocity set, capturing the atmosphere after a performance. So proud of how well this set turned out, she killed it, the kids nailed the show.Pilgrims Rhinogrund2Voltvessels
Prime on Big A they make a really great mix. I really like primes perspective on the layoffs here. Adding in an ops perspecive a bit here. Maybe inspiring a full level post. infra, ops, sre roles are incentivised to keep uptime, that is your goal in these roles. Idk how it works on big products, its probably more greased, higher stakes, more well thoguht out, more well discussed. In my role for many small internal applications developers constantly use my platform different and find new edge cases that we never expected to hit. Depending on my week I’m either the team blocker and I’m fighting fires all week making sure new releases are getting out and stay running while everything is breaking, or I’m tending to the fire lanes, predicting the new edges, looking at previous outages and asking myself how do we never see this category of failure again. I think AI is really good a enabling both of these. I think you can probably run a leaner team with AI on the latter half. AI is really good at implementing things consitent (if you are careful) and fast. But when shit hits the fan, you still need the people who know the systems to get things back up quickly and prevent a cascade of more…
Agentic coding has this nice trick of letting you bang out a project in an afternoon, something complex that would have take some real time to implement, not just some rounding error that can slip right in between the jira board. Then it will be perpetually never done. There will always be bugs and thorns rear their head up, new features no one ever thought of, and now no one really has to think much about beyond having the idea. This part of software engineering has always been here, its the root of the never complete 200 side projects. But now it feels like fuel has been poured on the fire, like we can get more done than ever. But we are tricking ourselves, these projects will never be “done”. There’s always more to add. Without feeling any of the pain of implementing it yourself, why not just keep adding new features forever. This is the mentality that is crushing me right now. It pulls at your token anxiety like crazy. You look at the usage board and you are almost cooked so you sw…
I havent used windows in years at this point, but I feel this on the products I am forced to use for work. Basic features are not right, kinda work most of the time. New features, ai integrations, new skin/design, but still teams can’t use my system mic appropriately yet every other app does. Also feel this computers have not got significantly better since around getting ssds. Yes they are better, but not at the same rate of being obsolete every two years. I hope we hit local model land and it flips this a bit, not in quite the obsolete every two years range, but some new hardware actually lets you do meaningful more new things.
How to Install Silksong mods on the Steam Deck Having a tough time with Hollow Knight: Silksong? These mods will help. Long Play Tech · longplaytech.com Really good tutorial for how to mod silksong on the steam deck. We just did this on my son’s steam deck. I’d add a reccomendation to map ~ to a back button like L4. I think this guy was docked with a keyboard.
Building For The Future This afternoon, we sent the following email to our global team. One of our core values at Cloudflare is transparency, and we believe it's important that you hear this directly from us because it’... Cloudflare Blog · blog.cloudflare.com Full salary for the rest of the year after being let go. As much as this sucks as much as the job market sucks. It’s good to see that these companies laying off huge numbers during good times are trying to take care of those they brought on.
Programming Still Sucks. — Writing Sorry Peter. — I'm at a birthday party, and while most people here also work in tech, there's always a Guy with a Real Job. You know, a physical job, building some or other thing people need. And... stvn.sh Absolute banger of a post, this is the time we are living in. Explain “are you afraid AI is going to take your job” to a non tech blue collar worker. Broken over promises, greed, and projects mismanaged by leadership who has no idea what the day to day work actually does and how critical it is. I’m not quite in Sara’s position, but I feel something shielded by half of this working deep inside of a non tech part of a non tech company leading a very small rag tag team with get shit done attitude. But I feel it, I see colleagues hit by these blasts.b I get clipped with shrapnel from some of the largest blasts. But nothing as significant as I see many others hit with
Ghostty Is Leaving GitHub Mitchell Hashimoto · mitchellh.com Found on HN: discussion The GitHub tears post. I feel it, maybe not as much as @mitchelh, but I feel it.
Red Squares — the GitHub outage graph A satirical contribution graph: red squares track GitHub.com platform outages instead of green squares tracking commits. red-squares.cian.lol yet another interesting visualization of github outages. These guys are getting raked over the coals. It really sucks to see. Not quite tears to my eyes mitchelh. But it feels like a core part of opensource has been dying for a few years now and is now getting ripped to shreds. The central location for open source is becoming more fragmented and I don’t see a path to where it ever gets any better.
I just learned that forgejo has a push to create repo feature and it is a
gamechanger. Upon first try it didn’t work, with just a couple of environment
variables I was up and running with push to create.
notify.wayl.one on main is 📦 v0.1.62 v3.14.4 NO PYTHON VENV SET USING SYSTEM NVIM
❯ git remote add origin https://git.waylonwalker.com/waylon/notify.wayl.one
notify.wayl.one on main is 📦 v0.1.62 v3.14.4 NO PYTHON VENV SET USING SYSTEM NVIM
❯ git push
remote: Push to create is not enabled for users.
fatal: unable to access 'https://git.waylonwalker.com/waylon/notify.wayl.one/': The requested URL returned error: 403
notify.wayl.one on main is 📦 v0.1.62 v3.14.4 NO PYTHON VENV SET USING SYSTEM NVIM
❯ git push
Enumerating objects: 171, done.
Counting objects: 100% (171/171), done.
Delta compression using up to 12 threads
Compressing objects: 100% (169/169), done.
Writing objects: 100% (171/171), 176.22 KiB | 16.02 MiB/s, done.
Total 171(delta 99), reused 0(delta 0), pack-reused 0(from 0)remote: Resolving deltas: 100% (99/99), done.
To https://git.waylonwalker.com/waylon/notify.wayl.one
* [new branch] main -> main
nless is a seriously sick tui for exploring streaming data. It makes it
seriously simple to pivot (U), drill in (Enter), sort (s). It leave
breadcrumbs as you go and you can press q to back out.
Play with your kubernetes events. Ya, my homelab is far from perfect, dont judge.
kubectl get events -A -w | uvx --from nothing-less nless
I almost made it. Couriers Rasher is such a long run.Couriers Rasher So Close Full
Almost didn’t get through those gippity tokens this week, woke up yesterday with 50% and a day to use them, cut full 5.4 loose on a big project that needs a lot of work an it gobbled em right up throughout the day ran out just before bed.
Desktop Crash 2026 Desktop crashed days ago, apparently my primary drive has been going bad for a while and eventually it just died. My mental data-lake · pype.dev I’m taking this as a reminder to treat every machine like its about to catch fire, any machine with a user regularly using it already has the match lit. I need to go through and commit draft blog posts, dirty homelab POC’s need to get out or get in, and not forever be in limbo. My efforts this year have been well intention ed to keep projects clean, on main, not dirty, but I think agents are making it worse before they make it better. I have some new ideas forming and old ideas for managing this have failed me.
Artemis II Photo Timeline An interactive photo timeline of NASA artemistimeline.com Hank Greed made a really cool site to explore the Artemis II mission with Claude Code. Now this is what agentic coding is for, such a cool app to scroll around on and visualize when the photos were taken. Listening to the video is sounded really hard to get all of the data to line up correctly, between devices and timezones it ws not straightforward even though all of the schedules and images were made public.
Without markata-go’s web awesome integration, the above would look like:
<scripttype="module">import'https://ka-f.webawesome.com/[email protected]/components/comparison/comparison.js';</script><wa-comparison><imgslot="before"src="https://dropper.wayl.one/file/d628ffba-de18-4fff-91a8-700f037df119.webp"alt="Grayscale version of kittens in a basket looking around."/><imgslot="after"src="https://dropper.waylonwalker.com/file/ca30665f-1a15-453e-aab8-221901c7df99.webp"alt="Color version of kittens in a basket looking around."/></wa-comparison>
Today I found a way to test model syntax, cause the clankers always get the
exact model name that copilot wants wrong.
copilot --model claude-sonnet-4.5 -p "Reply with OK" --allow-all --no-ask-user -s
copilot --model gpt-5.4 -p "Reply with OK" --allow-all --no-ask-user -s
Jaime’s title hooked me in here, what guitar riff from Linkin Park had the greatest riff of our generation. Theres something about Linkin Park unlike Killswitch Engage, Atreyu, Avenged Sevenfold, bands I would listen to at this time that I cant remember a single riff, I can think of Chesters vocals, or the unique scratching they did, but mostly the songs were a whole piece. What riff is he talking about. The very first note of “One Step Closer” plays and I’m immediately transported back to 2003 sitting in my garage watching HuevosIII on repeat. I can still remember the timing that Wes Miller did on the edit. I can see the riders I looked up to for so long riding in formation. Turns out this riff is so recognizable it takes me exactly where I was when I listened to it hundreds of times.
A cozy blend of work tools and thoughtful mementos, reminding me of good people and moments.
Do you ever vibe code out a POC, and you can just feel the shitty code underneath? Every change causes 3 things to break and wires get crossed all over the place. Sometimes I just want to write the code again. Maybe its time to slow down.
I’m regressing back to boomer ai for more plan mode style prompting at home… It does a decent job at ingesting a repo and coming up with plans before I start spending precious tokens.
Not sure if this is simply the flavor of the month, or a shift in gpt5.4 being super subsidized on release and now that we have gpt5.4-mini-fast out they have shifted, but I’m burning through half of my $20 gippity sub in a day with hobby level use. Second week in a row its burning so fast.
Casey had an interesting point here. I think demitri came back with some sense of sanity that its just not how corporations look at employee cost, but I still thought it was a head scratcher. Roughly translated not quoted If the sellers of ai are telling you that your developers are going to be 10x productive, why are they only spending half their salary in tokens? Why not 9x?
I hate how he called out terminal user interfaces as shit… then proved web interfaces to be superior. Damn him. I love working from my terminal, but having ai prove itself through html reports including video, image, metrics, charts, and text is goated. Rethinking yourself has the bottleneck not the orchestrator feels real. Validating the work is hard, theres a shift right now and everyone is trying to figure it out. Lucas’s technique is a little bit of be lazy and tell it to prove itself to you, so as you juggle your 15 agents you have a nice report to read.
This is a really good guide, with quite a few good nuggets. I need to try deleting my AGENTS.md and rebuilding it from scratch more often. I liked how he talked about having agents prove their work and tell them up front how they will be judged. What I didn’t care for so much was the feeling that a lot of the rules go in markdown, thats not a rule, thats a suggestion. Rules should be deterministic. They should be tests and linters that ensure they are followed. Suggestions are good, but dont trust the agents to always follow them. And don’t trust that they wont change your rules, keep them honest.
Write It First, Then Let AI Drive There's a thing that happens when you start using AI coding tools seriously. You assume the best workflow is obvious: let AI generate the first draft, then... Kenneth Reitz · kennethreitz.org Interesting take by Kenneth Reitz. Not quite sure how I feel about it anymore. It kinda hurts, but I’m not sure if code aesthetics matter as much as the product anymore. I cared when I was the one editing, but at this point I’m not doing a lot of edits by hand. Do these aesthetics affect the final products that users use, Not sure. AI makes me sad.
ThePrimeagen (@ThePrimeagen) on X I am slowly coming around to AI assisted programming. I am genuinely trying to codify every rule about programming that I have and using that + several stages to build out small changes. Not s… X (formerly Twitter) · x.com If agents make prime a bit faster, what does that mean for the rest of us mortals?
Uncle Bob Martin (@unclebobmartin) on X AIs aren’t good rule followers. The older the rule in the context window, the less priority it is given. So the best way to enforce the rules is with external tools that communicate failure to th… X (formerly Twitter) · x.com I’ve gotta agree with bob on this one, the first thing I did to my biggest brownfield project I wanted to use agents on BEFORE they did work was a hardened pre-commit.yaml, ci, hardened type checking and linting. SECOND get rid of bad inconsistent patterns, let them replicate consistency, force them to pass checks. Agents will follow all of your markdown suggestions most of the time, enough for you to become complacent if you let it. They are goal seeking, if you put them to a task you thought was possible that is not given your constraints, they will try to find a way given enough tokens. I dont see this ever changing, its one thing that makes them great, it just needs to be kept in check.
Steve Yegge Steve Yegge: I was chatting with my buddy at Google, who's been a tech director there for about 20 years, about their AI adoption. Craziest convo I've had all year. … Simon Willison’s Weblog · simonwillison.net behind, yet positioned to completely dominate this race by hitting it with some sense. Making trends in what looks like longevity in the race that is not subsidising to simply get users, but to get by until they figure out how to 100x reduce the cost to a reasonable level. They feel like the guy sitting in the back with nothing big or flashy to say that is going to drop the hammer on their competition that overstretched itself taking on too much debt because it was necessary to change the game. There might be something to having a mix of hipsters, boomers, and luddites all trying to balance each other out.
What’s going to happen to all of our software when Anthropic Mythos finds all of the 0 day vulnerabilities? Will everything depending on the bugs break? Will it be possible to fix them cleanly? Will we all get pwnd when the bad actors get access to them before everything is patched? Will LTS Operating Systems Die?
5 star video, if you are going to watch one video to understand how harnesses and agents work, this is it. This really had my gears spinning on what tools do for agents and how big of a difference they make in their ability to manage context efficiently and accurately create changes. It’s crazy how good bash works, and that gives the agents the ability to do just about everything, but it could be better.
Clearing out Creige's Cellar for the Vintage Nectar.Fighting the second Savage Beastfly in Far Fields
Artemis II Lunar Flyby - NASA The first flyby images of the Moon captured by NASA’s Artemis II astronauts during their historic test flight reveal regions of the Moon's far side, as well as an in-space solar eclipse. Released... NASA · nasa.gov One of the biggest scientific achievement of our lifetime happened this week. I will forever remember sitting in a Culvers in between theater builds looking through these photos as they came live, looking at them in awe.
What an amazing set of photos created by the Artemis II crew accompanying a fantastic breakdown by Hank Green. Whole gallery is worth looking at https://www.nasa.gov/gallery/lunar-flyby/
A really interesting long form interview with @simonwillison. If you follow him closely most of it is probably not new, but I found some interesting nuggets. Simon is writing most of his code from his phone these days using anthropic hosted platform. He mentioned that a lot of security risks go away when you don’t put secrets on the platform and you let them take the risk of running ai written code with ai chosen supply chain. He talked about the Pelican Riding a Bike benchmark for quite awhile. He was surprised at how well of a proxy it is for how capable a model is at just about everything. He also said that when he runs the benchmark he also runs half a dozen others that he’s never talked about so that He could see if they were to train a model specific to his benchmark he could catch them, but it seems they had caught on and if they were they seem that they would already be doing it on all of his others anyways. TDD is incredibly boring for humans, it strips so much creativity and joy from the process. Who cares if agents are bored they do better when doing TDD.
Laurie Voss (@seldo.com) Project Glasswing is a glimpse at an oncoming future in which agents do things humans could never have accomplished and the results are handled by other agents faster than humans could react and we... Bluesky Social · bsky.app Is Glasswing the next inflection point
BumpMesh by CNC Kitchen Add displacement textures to STL, OBJ, and 3MF models directly in your browser. Preview, mask, bake, and export printable textured meshes locally. BumpMesh · bumpmesh.com Absolutely sick texture app from cnc kitchen. Like him I’ve spent a bunch of time attempting and failing to learn blender, I’m so glad someone else vibe coded out such a good app that can add texture to stls with basic masks and is the very basics of what you would want to add to 3d prints to make them interesting, I’m excited to use this for some real projects.
Wonka letters all cut out ready to get some stiffeners and go off for paint.
The job of writing code is dying, models are getting better, the average person will have their average features implemented in average ways with no effort by agents, the writing is on the wall. We are still trying to review most of the critical code, this is slowing us down, is it really stopping any bugs or giving us any more familiarity with the product, marginally.
The time is now to grease up your UAT, testing, deployment pipelines. Dont let agents delete entire regions. Review your backup and restore strategy, you do have a DR plan right?
Things are changing fast, the best of us are still better than the clankers. Most of us have more context than the clankers. Most of us have more intuition of what and where to implement fixes. Context windows and memory will be solved problems. Your DR plan, UAT, testinng and QA environments will not come for free, you need to make them, and deeply integrate them into your processes.
Hair whittling sharp, Do I get my redneck nerd card yet?I just launched ollama picked pi as it asked what harness I wanted to run, and it responded telling me it was claude.
ty 0.0.26 was released on 3/26/26, nice work planning.What a banger of a tui, fantastic job cloning monkeytype. Looks so good. The toast messages are a tell tale built with textual.View of the new markata-go feeds header with the banger of a sparkline.This sparklines on this new feeds page are chefs kiss.
GitHub - kraanzu/smassh at terminaltrove Smassh your Keyboard, TUI Edition. Contribute to kraanzu/smassh development by creating an account on GitHub. GitHub · github.com smassh is the coolest monkeytype tui clone, its impressively accurate. Easy to install and run, all the same themes appear to be there and everything. maybe a good way to get a few reps in while agents are running these days.
What Happens When AI Stops Being Artificially Cheap The subsidy era is ending. Here danielmiessler.com I’ve been thinking about this for awhile and Daniel makes some great arguments here. Interestingly keeping inference cheap removes the incentives to make our tools better, help us choose the right model, lean on local models, open weight models. The frontier models are so affordable through subsidized subscription models why would you deal with anything less intelligent at this point. The tooling we use is not optimized for it, and why should it be.
External Link baty.net emacs config so bad he launch obsidian, YIKES! grantid I’m using obsidian currently on my phone, not for this post, but for journal entries while I’m away from my desk. Use this as a reminder that you can swim through murky waters with your dotfiles for awhile, but occasionally its good to do a clean up, pin it, put em in a docker image, have a good fallback to go to if shit really hits the fan. Iv’e been using https://github.com/waylonwalker/nvim-manager as part of my strategy for awhile now.
Release 0.9.17 · astral-sh/uv Release Notes Released on 2025-12-09. Enhancements Add torch-tensorrt and torchao to the PyTorch list (#17053) Add hint for misplaced –verbose in uv tool run (#17020) Add support for relative du… GitHub · github.com uv adds dependency cooldowns via #16814. Well needed feature in todays world, far from a guarantee, but its something.
Package Managers Need to Cool Down Today's LiteLLM supply chain attack inspired me to revisit the idea of dependency cooldowns, the practice of only installing updated dependencies once they've been out in the wild for a … Simon Willison’s Weblog · simonwillison.net 2026, finding the balance between fixed bugs and zero days. There is very unlikely ever a reason you need to be running bleeding edge packages in prod most package managers now support cool downs.
ThePrimeagen (@ThePrimeagen) on X don't forget last time Anthropic, in their infinite PhD level wisdom, leaked their own source code (Feb 25) they DMCA'd all repos that had their code. Careful storing the code because Anthropic w… X (formerly Twitter) · x.com Everyone look away, nothing to see here.
Mete Polat (@metedata) on X @Fried_rice @Scobleizer Anthropic is now officially more open than OpenAI X (formerly Twitter) · x.com Anthropic safewords are the talk of the town today.
Cheng Lou (@_chenglou) on X My dear front-end developers (and anyone who’s interested in the future of interfaces): I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important f… X (formerly Twitter) · x.com webdev twitter is blowing up with implementations of pretext text calculations. The examples are absolutely fun and ridiculous.
Josh Medeski (@joshmedeski) on X Did you know you can replace the spinning verbs in Claude Code. I'm having fun with it. X (formerly Twitter) · x.com The claude code source code leaked today and the tweets are great, maybe twitter is back. Did you know you can replace the spinning verbs in Claude Code. I’m having fun with it.
Okay so I logged into twitter today, and we are back…. probably not for long, but we are for now. Claude Code source leaked, the tweets are great. [[ thoughts-956 ]], [[ thoughts-958 ]], [[ thoughts-959 ]], Some typescript css text layout with bouncing balls, bubbles, strings, and webcam video to text is blowing up [[ thoughts-957 ]]. This is the tech twitter I remember no sad news how the world is corrupt by the other side.
@nicknisi) — Y'all, I think I'm a convert to pi" loading="lazy"> Nick Nisi ( @nicknisi) Y'all, I think I'm a convert to pi Bluesky Social · bsky.app I’m about to be pi pilled.
A person holds a clear, compartmentalized tray containing multiple small sections filled with light-colored, granular material. The tray is set against the backdrop of an outdoor wooden deck railing.Wyatt printed these sick scales today and they came out so good on first try, luckily Rhiannon already had the fabric for him and he was able to follow his passion on this project while the spark was lit.Wreath Of Purity AcquiredBy completing Broodfeast Wish you acquire the Longclaw giving you a longer range attack.Seekers SoulGoal The GreatWyatt is working on a new arch install and it blew up, time to update the live image.
Social Media is dead, interest media killed it long ago. I no longer feel like I’m connecting to people, creating community, having fun, learning. I feel like I’m being shoveled slop from the slop machine, I’m sure mostly create by well intentioned people just trying to make it in the world, trying to make their mark, trying to make something of themselves. The algos long lost the idea of subs and likes, and transitioned to how long you will pause on a topic. What used to be a series of recognizable faces, names, avatars, each with their own personality that I could come to learn and know who was just trollin, who was serious, is now mostly unrecognizable. Platforms have changed and fractured communities people went separate ways, not all the same ways. No one community is like it used to be, and its hard to find.
EDC I try to keep a pretty light every day carry, but it never works out, keyfobs and headphone cases end up causing more bulk than I’d like, but My EDC is no where near the bulk I had as a kid with my cargo pants decked out with everything I could possibly need. I hold no attachment to anything in my EDC. Nothing on my person has sentimental value. Anything I carry can be lost, stolen, or destroyed at any point in time. I pick things of sufficient usable, utilitarian, quality sufficient to work. No extra fluff. Google Pixel 6 Ridge Wallet Olight Perun - Since April 2022 Civivi Qubit - Since March 2024 after my last one was donated to the Indianapolis Stadium OpenFit Shokz Rules lightweight replacable no emotional attachments utilitarian everything serves a purpose My kit Phone Google Pixel 6 I will not get finance a new phone for the foreseeable future again. The last time I feel like I got a phone that felt like an upgrade was 2018 when I went to the Pixel 3. The pixel 6 and pixel 8…
To Live In A World Without AI I'm finding lately that I wish we could go back to pre-ChatGPT... A world without a code-gen easy button, where "easy" was LSP autocomplete, where tools were... My mental data-lake · pype.dev We f& #ing said @pype, well f& #ing said. I think a lot of us are feeling this, we’ve pitched our brain into a bucket and we are no longer stretching it in the same way. We still work in similar ways of old, with new ways of turning off and saying yes a bunch of times. the best thing I can hope for is that as things get better we have fewer yes loops, and more architectural design debates and deep thoughts. But I fear deep thoughts are gone to the way of “research the leading 10 frameworks and pick the best one for this project.” and letting the clankers do the deep thinking. Its signing us up for a weird distopia. I think a lot of us wish we could undo what has happened and go back to actually understanding what we are doing, but the world has changed, and if you are building average shit, like the average person, using models trained on average people doing average shit you cant keep up anymore.
My Thoughts on Beads Steve Yegge is a pretty well-known individual in the tech field, having been around for a long time at some of the larger companies. He's making quite a... My mental data-lake · pype.dev I’m in step with @pype here, I really want beads to work for me, but my systems for infra/platform work are all over the place, not one repo. I’m considering trying the env var but idk if it fits my workflow. For now, similar to @pype, I am rocking my own home vibed solution that I’ve intentionally put little effort in and its working great and I expect it to be broken and not working with the latest harnesses and models within a few months anyways, cause there is no predicting this train.
paynepride dot com outage on vacation The day after I leave for vacation I start getting SSL errors on every homelab service I host for myself and others. The culprit was my Cloudflare API token... My mental data-lake · pype.dev oof, outage on the homelab during vacation, brutal. I can think of a couple of similar solutions to what @pype has done to tailscale in, but I’m not sure that I could do this remotely. On one hand I’m so glad that cloudflared just takes care of certs on the other hand this really brings a gap in my understanding of what the heck I would do if it were broken. An untested DR plan is not a DR plan. An untested backup does not exist.
I saw today in work chat something along the lines of “we need bigger context windows” “compaction times are holding us back”. Maybe I’m just blessed with the lack of lord jira, maybe juggle too many projects at once and they are all pretty much done when I get back. Maybe I do more long running specs and spend time making good plans that it does not matter.
Anyways the point I’m getting to is that if you think that compaction is your main issue slowing you down, and 10x this if you are a manager thinking this is what is slowing down your team you need to look at your workflow. Not because it sucks. Not only because it could be better. Because you are signing yourself and your team up for burnout if you are sitting there watching these things run like waiting for paint to dry and firing more prompts at them as soon as they are done. It feels easy. It feels like you are going fast. Its eating more brainpower than you think, and its not getting you to your...
Vibe coding is going so far into the news sphere now that Adam Savage even weighs in with perspectives from someone who has built a life around building things with his hands, keeping up with new making techniques, discovering old techniques as they combine with new. He talks about 3d printing reviving his love of the pantograph as one automation technique eases the most difficult part of another.
Part of @steveyegge ’s gastown/beads is a prompt “Lets land the plane”. It’s very straightforward forward and what any sane human would probably do before finishing work, except the last part. The “generate a handoff prompt for the next session” was not something I’ve put much thought into. But now that I juggle 6 sessions at a time and often end up with 20 sessions open because I don’t want to close them and loose the last bit of context. This is what I need to keep from crippling my laptop memory from all of these stale sessions hanging around.
Reddit reddit.com This is a fantastic progression through kuberentes concepts. From running a pod, to making it resiliant, holding secrets, accepting traffic, and autoscaling.
I’ve been having issue with my keyboard disconnecting to my main desktop for
awhile. Today I got a cheap bluetooh dongle in and am giving it a run this
week to see how things go. The first step was to move it to the new adapter.
I’ve never had multiple adapters installed so this was a new to me process.
I was able to do it all with the same keyboard, It did require some juggling
between usb and bluetooth modes pluging and unplugging, two keyboards would be
simpler to reason about.
I can’t be bothered to change my brain to think about this machine on a
different zmk profile it is of absolute importance for it to remain on the same
profile, otherwise this would be a simple bind to another empty profile.
Why not use a cable on desktop?
I dont mind cable, and have used one on this setup for years, but I have
actually been picking up and moving this keyboard and using it with
different devices.
I’ve got a big battery and performace cranked up, unless my machine is
under load I do not notice any key lag.
I did it with bluetoothctl, I’m sure it could have been done with a gui like
blueberry or blueman.
bluetoothctl
# list adapterslist
select <old-adapter>
devices
# fin the MAC address of the device 42BLOCKremove <42BLOCK_MAC>
Now I plugged into usb. And importantly cleared out the zmk profile. If
you do not clear the profile your board does not go into pairing mode.
bluetoothctl
# switch adaptersselect <new-adapter>
power on
agent on
default-agent
scan on
Put 42Block in pairing mode, then:
pair <42BLOCK_MAC>
trust <42BLOCK_MAC>
At this pint I saw this show up in the logs, I think there was some masking
issues or something in zmk, output kept going out usb no matter what so I
disconnected the keyboard and typed the passkey in, and it worked.
[agent] Passkey: 540044
Boom, it just started working right away.
bluetoothctl
connect <42BLOCK_MAC>
info <42BLOCK_MAC>
scan off
exit
More Details Than You Probably Wanted to Know About Recent Updates to My Notes Site I shipped some updates to my notes site. Nothing huge. Just small stuff. But what is big stuff except a bunch of small stuff combined? So small stuff is… blog.jim-nielsen.com I love the level of thought that Jim has put into these changes and making sure that urls don’t change. I’ve got a big change in flight to my main site and this is one of the reasons that I’ve been sitting on it so long. I want to make sure urls arent broken, redirects work as they should, and there are no 404’s from existing urls. Currently the new version only exists on a separate deployement https://go.waylonwalker.com/ I also added the ability to “shuffle” between posts. This is mostly for myself. I like to randomly jump through notes I’ve published in the past for reoccurring inspiration Love this idea and have it on my new site already as well, and have really enjoyed using it by pressing it a dozen or so times over the course of a few sessions. It highlights that I have too many posts like stars and thoughts and I should do some weighting to main posts. mine is at https://go.waylonwalker.com/random/
Notes – 06:34 Mon 23 Mar 2026 Notes – 06:34 Mon 23 Mar 2026 dbushell.com · dbushell.com Does anyone think fast-code will continue to pay the same salary? The answer isn’t to switch your brain off during your McCode shift and write a poem after work. Your job will be replaced by a Banglasdeshi slop-shop if AI improves (which is inevitable, apparently). Possibly the same sweatshop that loomed my £3 T-shirt. The Luddites didn’t accept their fate so easily. David has some good points here, but I’m feeling the opposite direction a bit. Execs have always liked keeping the PM’s and the people steering the ship close by and were willing to farm out more and more grunt work. It feels like we are in a weird phase where there used to be a big group of people paid to write code. A few of them are exceptionally good at it and will remain. There will be a need for these people everywhere. Somehow we still need people hand editing assembly code optimizations, fortran, and cobol today. Those industries largely moved on, but a few great ones remain. I think this fast-code slop factory is going to be a short forgotten time in history, but no one yet knows what’s next. We are all waiting to find out.…
I don’t want to review the pr, I dont want to fight the mass of changes clobbered across the codebase. I want to own my platform. With everything changing with agents writing more code than I can imagine in a day work looks different now. I still want to work with real people. I want to collaborate on ideas. I want someone to bounce ideas off with. I want someone else in the war room with me on launch day, or when the whole thing goes down. But I don’t them slopping in my sandbox, if someone is going to be stirring the slop in my product I want it to be me. Work is feeling different now. New lines need to be drawn in new directions. Expectations are changing, the way work is completed is changing, and we are all here trying to figure out what this looks like moving forward.
All we are hearing lately is Agents are the future, something flipped around NOV 2025 with opus 4.5. It turned snake oil into action. It changed programmers will be replaced in 6 months to now. Not all of them, but probably most of us who are not extraordinary. If you fall into the camp of folks not adopting, I got no issues with that. No one is twisting your arm, well maybe your boss or cto is, thats on them. I don’t mean to say this is the future as in, get in or get left behind. I mean it as this is where your other engineers probably are, the junior to mid level engineers are here. If you are not trying to meet them where they are how are you going to lead them.
I just stumbled into an image in my org chart of someone who clearly turned themself into a Studio Ghibli character in chatgpt during the small window of time that it seemed to do this for everything. Its clearly the aesthetic that It would do by default for that week, then would not do it whatsoever. I’d link it, but its from an org chart. I mostly found it interesting how we now have these recognizable artifacts from specific moments in time.
I feel like there’s an inevitable phase to every ai/agentic worked feature/epic where you have to get in and chat with it 2025 style (except it actually works and doesn’t turn your project to shit). Planning is great, planning out epics for full orchestrator’s to churn for hours on is amazing, but it always leaves me with a handful of thorns multiplied by complexity level of things that I can shout a list of 6 items at a time that it can one shot. I haven’t seen anyone put a name to this phase yet, so I’m going to call it the UAT phase for now and it seems like a very necessary part of the SDLC. It was important before, but feels more so now as engineers distance themselves from the implementation.
I heard this term yesterday, and I think a lot of people are missing out on step 1. It’s important to experiment with agents and learn what they can do well and what they cant, this changes every couple of weeks at this point. You might be spending hours planning something that could have been implemented right away, or maybe wasted time planning something that needed more research, more context engineering. Agents start fresh every session, they cant remember what you asked them to do 5 minutes ago in the other session, getting the right tokens in session is critical.
Today I learned that docker creates an empty /.dockerenv file to indicate that
you are running in a docker container. Other runtimes like podman commonly use
/run/.containerenv. kubernetes uses neither of these, the most common way to
detect if you are running in kubernetes is to check for the presence of the
KUBERNETES_SERVICE_HOST environment variable. There will also be a directory
at /var/run/secrets/kubernetes.io/serviceaccount that contains the service
account credentials if you are running in kubernetes.
I wrote some code by hand on Sunday. Sat down with my son and started building out a game in pygame from scratch. We went to google, we searched how to do something, we copy and pasted from the docs. Not because we are dumb, but because we cant remember some aspects of the pygame api. Now that these patterns are established we no longer have to google them, we simply grep our codebase and replicate the pattern. Easy right? It’s funny that it took ai to coin the term context poisoning even though it was there all along.
If you’re into interesting projects, don’t miss out on qmd, created by tobi. mini cli search engine for your docs, knowledge bases, meeting notes, whatever. Tracking current sota approaches while being all local
Agents cannot replace the thinking, they only amplify it. If you set the agents off in the wrong direction that’s where they will go. They will sprint there faster than you can go. This is ok, its one of their advantages, they can give you signal quick. Remember if they are off in the wrong direction more research and planning is needed, and maybe a little bit more thinking on your end to steer them in the right direction.
Almost Cheesed It To Port AqueliteIts A TrapCollection Party BalloonCollection L BracketWyatt Hits The Gap
Dreaming of a ten-year computer – alexwlchan alexwlchan.net Great gusto here from someone looking to fill landfills less. Get more use from what they paid for. Dodge some tough times in the hardware industry. I’m going to argue that the 10 year computer is not one bit crazy right now. No idea what the future entails, if local llms get good enough to really get so useful they feel required this could easily change. One issue I had with the post as they are looking to get a machine for the next 10 years is they were so focused on themself that they missed the point. They were so focused on buying something that would work for them for 10 years that they bought something brand new rather than thinking about the bigger issue of how do we get hardware to last 10+ years. Some factor of this involves giving our devices a second life. Two things went wrong here. First it appears they they have a perfectly good imac with a broken screen. I know nothing about apple/imac, assuming that the screen is toast and unrepairable, I know you can ssh into a mac this feels like good potential for server hardware. Next they purchased a brand new mac mini. Hardware has been good for a long time, there is…
Very interesting takes from @thdxr in this interview. A lot has been hashed out by others all over the place, but a hot take here is that code quality is higher than ever right now. Codebases are becoming more consistent than ever. If you are not starting with a good consistent base from the start you are poising your context and doomed to fail and have all the common failures of ai written code. He still reads almost every PR, and will read all of the code eventually. There are a few cases where reading the PR is not worthwhile only when its low stakes, knows that good patterns have been established and followed. He argues that someone needs to be the expert of the code and of the product still and fears that too many people not looking at prs will fail companies.
Thinking about AI productivity again. It’s allowing massive amounts of work to get done, to levels that humans cannot physically type out in some cases. But not all of this work is necessarily high value work. Right now I’m working on one of the biggest PRs to an internal cli library. Probably the largest PR I’ve ever done professionally. It touches all of the cli, refactors every command, reaches into the business logic layers to drive deeper separation. I reaches into the common layers to drive consistency. It ensures that every command (50 or so) has similar flags, supports –plain, –no-color. It specs out contracts to ensure that data goes out stdout, any extra goes out stderr. This makes everything unix pipe friendly. There was quite a bit of research and prep that went in, that turns out to already be distilled down into clig.dev. The point is that this is all good work. It will make the product consistent, repeatable, expected, and most of all boring. Most of the time, it will just work. Since we did it ahead of a lot of other agentic work on the product its establishing good patterns for the product moving forward. But its low value work. We wouldn’t have likely put humans on this work wholesale and fixed critical paths as they came up. Its not cutting cost, selling more product, or driving critical business decisions. Yes it’s worth it now, but it would not have bee in the past.
Tonight Wyatt gave me a dummy13 that he printed, assembled, and posed all on his own. He's printed quite a few of these in the past, and none came to this level of completion. I'm so proud of him. This one was a near flawless build with only a few mistakes, that I'd argue were poor design, small vertical pins. More importantly he was able to problem solve and use resin to fix these mistakes.
Kids are leaving the party early, not drinking, cant watch netflix without the laptop open. They are leaving the party early to check on their agents. I get it, that feeling that you need to eek out one more prompt, keep your agents running. if they arent running what are you even doing. If not you 6 others are ready to pass you up. The timeline to be first has shrunk to nothing but unachievable.
Pluralistic: The web is bearable with RSS (07 Mar 2026) – Pluralistic: Daily links from Cory Doctorow pluralistic.net It’s wild how much of a hit Google took from killing reader, almost any time I hear about killedbygoogle, reader is the top of the list. Its the thing that we all remember being really good and the incumbants just did not match up. Somehow we are here 13 years later still bitching about it, despite it only having a 6 year run. You should probably get an rss reader, and follow some incredible people that make feeds. Most sites that produce content have the ability to subscribe over rss. Unlike @pluralistic, I dont read in my reader. My reader is just a list of links out to the web and I typically read it how the author intended on their site. I nod a long to Cory’s enshitified internet just as much as the next guy, I love text based interfaces, I despise the bloat that js has brought on. But I don’t believe all js is bad, I don’t turn it off, even though he has me questioning this now. News sites kinda suck, we can agree there, but its rare that a small indie web creator has fully enshitified their site with js. I don’t buy that. Sub to the feeds.
Justin Searls @searls I need a new blog to subscribe to. Know any you think I'd like? E-mail me: [email protected] justin․searls․co · justin.searls.co Sent Justin my list https://go.waylonwalker.com/blogroll, will soon be on the main site, but right now its only on the go subdomain. I’ve long had reader.waylonwalker.com, but thats soon going to be wrapped into the main site as well at /reader. I’m interested to see what good stuff Justin gets and if you have any good ones to share reply.
Here’s something I’ve been wrestling with lately. I keep hearing people come to the realization that they never liked coding, they thought they did, but secretly hated it the whole time. I dont think I’ve ever kidded myself about this. I like building things. I like having an idea and see it come to life. Just because I like the end product more, and that coding really was a means to an end, something I will never do again in the same capacity that I have in the past, does not mean I did not enjoy the art of solving problems by typing syntax into a file to tell a computer how to solve a problem.
The only thing that seems interesting is AI right now, I’m writing less code, and I kinda just don’t care as much about the small open source stuff as I used to. I enjoy reading about what other people are thinking, doing, creating. But when I go to grab a podcast while I wait on my clankers its one talking about how other people are using them, how to make them more secure, more effective, how the new models change things, what models are good at what. It’s all so new and changes so fast. Any sort of new open source project starts out sus that it was just vibe coded anyways, So at the moment it feels like ooh how did you get that, how do I make mine, and that the thing itself has less value. I hate that its this way, but it is.
Running through the layers of the tmx 3x6+s. gaming keeb.Promo video for the tmk 3x5+3 gaming keyboard.
AI is moving so fast this year its hard to keep up, I’ve written 3 or 4 versions of one blog post to replace I'm Out On Agents, but it feels like everything changes before I can get it out.
What you don’t have six agents orchestrating the work of 6 subagents yet. I saw in a work chat that people were complaining about 5.4 being too slow and they keep going back to opus. For me its been working great, I have it working on critical infrastructure work, that I will need to maintain. I appreciate its accuracy and completeness. And honestly I’m rarely watching agents run. Its like watching paint dry at this point. Its interesting to read their thinking prompts, but not productive work. While its running I’m teeing up the net prompt. Working with another set of agents to write a set of issues for the next epic. I might be too privileged though. I own a whole platform and have plenty of autonomy to work on what I see fit for the day. I don’t have a boss breathing down my neck waiting for a single ticket to be complete. I’m working on 6 projects at a time. I’m taking walks to avoid becoming a burnt out zombie. I’m definitely not complaining about it kicking out massive amounts of code too slow though.
In November 2025 everyones beard lost its color, we aged into the next generation without realizing it. If you were getting paid to write code at this point in time, you are part of a special point in history where we used to write code by hand. There will be systems air gapped systems somewhere devs will continue to do it how we’ve always done it, some day they will peek out of this cave and realize that they are the only ones left, no one else remembers what its like. Writing code will quickly become a hobby that people do, in a weird niche way. Not because you want to build something, but like the guy with a mainframe in his garage that likes to watch the lights blink. Because its nostalgic, it’s a very cool skill, its fun and rewarding, but it won’t be to get something done.
I’ve been thinking about this for awhile now. For years now, fuzzy pickers and last session have been my go to. They have served me well. I can typically only keep so much in my head anyways. I’m often doing a hub and spoke pattern between main project, notes, and infra repo, maybe two projects. Don’t get me wrong, I regularly run with a dozen or more sessions running at a time, but only two to three are in my immediate context at any point anyways. The Design harpoon for tmux press a hotkey followed by one more keystroke, currently any left hand letter SIMPLE, FAST, thats of utmost importance, what I want are sessions that I can can be assigned in order of importance from middle row, top row, bottom row. I added this binding to my tmux config. Now I can press to go to the first session, to go to the second session. and pause to think j/k to navigate, space to pick up a session and move it, x to kill it. Enter the agents Now with agents doing more and more work, and cooking for longer…
I spent all day grinding on a 20 minute fix. I want the agents to do it. They can do it, but they are missing the harnesses they need to replicate my workflows of old.
This is the results of a one shot markata-go searchcraft integration
In the age of agents sometimes work gets done on so many different worktrees
and branches its hard to tell if there is already a PR or any of them or not,
the great gh cli has us covered.
gh pr list --head fix/markata-go-connections-graph
Just starred taskdog by Kohei-Wada. It’s an exciting project with a lot to offer. Terminal task manager with intelligent schedule optimization.Keyboard-only. No dragging, no micromanagement.
today we're making one of the hardest decisions in the history of our company: we're reducing our organization by nearly half, from over 10,000 people to just under 6,000. that means over 4,000 of you are being asked to leave…" loading=“lazy”> jack (@jack) on X we're making @blocks smaller today. here's my note to the company. today we're making one of the hardest decisions in the history of our company: we're reducing our organization by nearly ha… X (formerly Twitter) · x.com One of the well worded shitty messages I’ve seen, good severance, help, timeline to cut off coms. we’re not making this decision because we’re in trouble. our business is strong. gross profit continues to grow, we continue to serve more and more customers, and profitability is improving. but something has changed. we’re already seeing that the intelligence tools we’re creating and using, paired with smaller and flatter teams, are enabling a new way of working which fundamentally changes what it means to build and run a company. and that’s accelerating rapidly. Much better than the get rid of people cause AI can do the work. Honestly I feel this though. I was just talking with some colleages how do we divvy w…
FFmpeg video crop tools.simonwillison.net This was the inspiration for the next update in dropper that became a full clip editor. The one that I’ve long wanted, but forgotten about. It’s going to include this cropper, resize, image extractor, and trimmer.
Tiny Tool Town 🏘️ A delightful showcase for free, fun & open source tiny tools. Stupid-delightful software made with love. Tiny Tool Town · tinytooltown.com Learned about this one from the @stipete interview @scotthanselman did on YouTube. This is proof that the internet is alive. It’s such web 1.0 nostalgia to see that people can just build things! Did you know that you can literally just build things and make them exist? You don’t need users, You don’t need a big platform, you can just make something into existance. It seems like something we have forgotten through web 2.0 where everything as become 4 major apps all linking to each other and trying to hoard all of the attention. Scroll through tehre are some really cool apps, probably nothing that has the polish you want, or is going to change your world. What these apps have more than anything you’ve probably used in the recent years, is inspiration. Its xyz, but the way I wanted, or with my little twist. And no one else has to like it but me because I’m the user.
FancyGist fancygist.com I saw this in @cassido’s newsletter this week and had to give it a run. I despise that there is no dark mode and it insists on burning my retinas 😤. But really this is an absolute beate of a web based markdown editor, I love the command mode to press slash and it just pops out in this whimsical animation ready for me to pick what I want.
Editing a Session Skate Sim clip inside of dropper with trim, scrub, and crop.In the video clip you can see me reload into the latest version of dropper that supports video thumbnails, turning those unknown clips into a collection I can recognize.
Inspired by @mollywhite’s verify slashpage. This page serves as the system of record for my online identity. The best places to follow me are: My Website: waylonwalker.com YouTube: Waylon Walker YouTube Gaming: Waylon Walker Gaming Twitch: Waylon Walker Twitter: @_WaylonWalker LinkedIn: Waylon Walker GitHub: WaylonWalker Dev.to: Waylon Walker Bluesky: @waylonwalker.com
Reply guy The latest scourge of Twitter is AI bots that reply to your tweets with generic, banal commentary slop, often accompanied by a question to "drive engagement" and waste as much … Simon Willison’s Weblog · simonwillison.net I had no idea there were such things as “reply guy” as a service. I can see this as a really genuine thing where brands want to genuinely engage with their communities, quickly being taken over by slop bros to ruin everything.
Smaller and dumber If I can make it smaller, I should. daverupert.com · daverupert.com Important things to remember in the age of cheap code. More code, not always more better. More code mean, more risk, more maintenance, harder to change.
THIS, THIS is how most people are feeling about AI right now. Theres lots of “oh ai bad”, “but ai help”, “but ai company sleezy”. Cassidy did a fantastic job summarizing how most of us are feeling. Ending with well at the end of the day, I can’t do anything about the bad, the best thing I can do is learn how to embrace the good cause it aint going away any time soon.
My thoughts connections made an interesting flower layout.
castpixel ⚧️⚢ (@castpixel.bsky.social) I made a tool that turns PCB designs into 3D-printable molds. you sandwich copper tape between the parts, sand the ridges, and you have a real working PCB. no etching, no chemicals. I am losing my … Bluesky Social · bsky.app This is a wild way to build prototype pcb’s, so cool and creative.
Session: Skate Sim (@SessionGame) on X Our long-awaited Skate Core Update is now LIVE 🛹🔥 Peep all the changes in our dev blog → https://t.co/GB0de8ebPj Don’t own Session yet? Fix that here → https://t.co/JseSvy5DML X (formerly Twitter) · x.com Had 10 minutes to play with the new session updates this afternoon and it feels so much smoother. I can definitely feel it even as a casual user.
trash (@trashh_dev) on X loving the state of development right now X (formerly Twitter) · x.com There are so many config files right now, glad to see some standards coming in around Agents.md, but so much is still specialized to a whole host of tools that have not been standardized on yet.
Silksong: Demastered by Nekodot Hollow Knight: Silksong in the classic NES-style! itch.io · nekodot.itch.io This is an abolute banger of a game on itch. It nails the nes aesthetic while keeping true to the modern silksong movements. You can play through the first boss Moss Mother, and where you start the first ascend into Bone Bottom. I was in shock when I discovered the little climb effect hornet does when you just cant quite make a jump, the hold jump for height is on point. Her downstrike with the hunters crest is perfect.
Blueskii (@LayoutPerson) on X this underground creator named "sN0UK" made Queens Garden from Hollow Knight In GD! 🗡️🕸️ X (formerly Twitter) · x.com Wyatt would absolutely love this banger of a level.
DHH (@dhh) on X I've really come to love Tmux's programmability. Next Omarchy will have a "nic" function that starts current directory with this 3-way split: Neovim, Opencode, Terminal. Everything a programmer needs! X (formerly Twitter) · x.com To the untrained eye this passes as any normal gui editor.
uvx.sh | Astral Install Python tools with a single command. Powered by uv. uvx.sh astral silently dropped a clever uvx.sh to help builders reach a wider audience, no longer does a user need to have python installed prior to installing a python cli. It does have a hard requirement on having curl or wget available.
We are living through the js framework wars for agents and llms now. We will look back on this with clarity, and wonder why we wasted time with things like graphql, and why we couldn’t see the real winners from the start.
Such a good interview @lexfridman is such a talented interview. It’s so cool to see the other side of this. For weeks we’ve heard about the story of the name change, we’ve seen everyone shitting on the security model, buying up all the mac minis in existance, fear mongering not to install this thing. @steipete has such a cool story from the beginning talking about making this thing fun and exciting. Giving it a personality that is not “You are absolutely right”. The story of changing the name twice, and getting pwnd on every step the first time and nailing it the second time is incredible. Dude is having fun trying to make the thing he wants in the world exist.
A one eye'd pirate (egg in toast) in the shape of a heart for Ayla.Swapping themes with the theme picker cli and watching the output change within about 1-2s live reloaded in the browser.
I keep forgetting about the double gutter problem with nested containers. When
you put padding on a parent and the child also has padding, you get twice the
spacing you wanted.
Either remove padding from the parent or use box-sizing: border-box and plan
for it. I usually just drop the parent padding when I realize what I have done.
Naya Connect – Hackaday Hackaday · hackaday.com The idea of adjustable key caps to mutate your board into something that really fits you, how you type, how your fingers move, is an absolute banger.
Definitive ranked lists of my top 3 favorites plus an honorable mention. Terminal Tools neovim - modal editing changed how I think about text tmux - terminal sessions that survive disconnects and allow me to hop between projects at the speed of thought. k9s - S tier tui interface that all tuis should strive for Honorable mention: ipython Python Tools pandas - This is what got me out of corporate spreadsheets and back into code/software. kedro - data pipelines with opinions I agree with fastapi - my favorite python web framework Honorable mention: typer - fast cli apps Games to Play with Kids multiplayer Minecraft - infinite creativity, modding potential Wobbly Life - Open World Co-op Stardew Valley - cozy, collaborative farming Honorable mention: Terraria - 2d world builder Games to Play Alone singleplayer Hollow Knight / Hollow Knight Silksong - S tier 2d platformer with adventure, mystery, lore, boss fights. Session Skate Sim - The best skate sim Animal Well - epic 2d platformer with…
Inspired by @fyrio’s yep slashpage, a list of S tier things I enjoy, use, recommend, want to know more about, or seek out in no particular order, updated as I think about it. Seealso /nope Inspired by @baty 's nope slashpage, a list of ** things I don't like, don't care, avoid, overhyped, or won't do in no particular order, updated as I think... Feb 11, 2026 /yep coffee small web 1.0 RSS minecraft Hollow Knight Silksong terminals python vim keybindings self-hosting open source running kubernetes in my basement mechanical keyboards markdown data engineering Woodworking Fingerboarding Darts Skateboarding Biking Trampoline 3d printing
Inspired by @baty ’s nope slashpage, a list of F tier things I don’t like, don’t care, avoid, overhyped, or won’t do in no particular order, updated as I think about it. Seealso /yep Inspired by @fyrio's yep slashpage, a list of ** things I enjoy, use, recommend, want to know more about, or seek out in no particular order, updated as I... Feb 11, 2026 /nope roblox mobile games telemetry Windows VSCode allow notifications subscription hell ads social media clickbait WYSIWYG editors particularly ones that use proprietary non text formats politics short form video
After having brotato and doing a few runs every once in a while I finally beat the most basic balanced run in the game! Wyatt wanted to play tonight and its such an easy game to jump in do a few runs and move on without getting overly invested.
Background Patterns with CSS `corner-radius` – Master.dev Blog You might need to know this someday: you can style a div, put the div into SVG, then put the SVG in to CSS and use it as a repeating background. frontendmasters.com These patterns are really good. I like a good repeating background on a website. Takes me back to the old days of web, but with a nice crispness that was never there on sites of old
Check out monty by pydantic. It’s a well-crafted project with great potential. A minimal, secure Python interpreter written in Rust for use by AI
The gradient keycaps turned out pretty good, but I'm not sure what I did wrong with the interface between the raft and the caps, that came out ** rough, but the effect works.
Camp Rock Sign all put together, by the fabulous Rhiannon, the letters came out great, her work on the built is amazing, cant wait to see it lit up.
Check out nextlevelbuilder and their project ui-ux-pro-max-skill. An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
I have an idea for gradient keycaps using tri colored filliment, I'm excited to see how it turns out.
Stop babysitting your agents, treat them like a real team and they will reward you. Back in December I saw theo make a comment that code is now cheap, its the run rate of models, He quoted a study, not sure that he fully even believed it, but it claimed that the average developer after all meetings, training, emails, planning and extra shit in their day averages out 10 well tested lines of code per day. Opus 3.5 made him 10k loc (lines of code) that day. We have all agreed for decades that lines of code is not a proxy to productivity or quality. Often more code means more risk, more review, more infrastructure. This has become MUCH different. Lines of code are still far from any sort of good metric. That aside, your agents are not doing 10k lines with you babysitting them, and in fact its very likely that the product quality is MUCH worse as you babysit them. You need a tool for planning and tracking, otherwise you are playing babysitter rather than Product Manager (PM).
If you’re into interesting projects, don’t miss out on agent-browser, created by vercel-labs. Browser automation CLI for AI agents
Like a dufus this morning I did a hard reset on a git repo for getting I was
working on a manifest for. You see I generally use argo, but occasionally I
have no idea what I am doing or want yet and I start raw doggin it, fully aware
that I’m going to just nuke this namespace before getting it into a proper
argocd.
I was overjoyed when I found out that you can diff your manifests with live
production using the kubectl diff command. It uses standard diff so you can
bring all your fancy diff viewers you like.
# regular manifestkubectl diff -f k8s/shots -n shot
# kustomizekubectl diff -k k8s -n go-waylonwalker-com
# using a fancy diff viewerkubectl diff -f k8s/shots -n shot | delta
# using an even fancier diff viewer# pinkies out for this onekubectl diff -f k8s/shots -n shot | delta --diff-so-fancy
Now I can get those changes back that I thought I lost, and apply updates with
confidence knowing what is about to change.
The shovelware cometh Batten down the hatches. "Show Hacker News" signals the coming flood. 🌊 Jerod Santo · jerodsanto.net Not surprising theirs a lag, between the models getting better, the tools getting better, and the masses getting better at using them, it takes time. This is still quite a hockey stick. I’m wondering how many are not posting on Show HN embarrassed they built something they know nothing about and afraid to get questions. I have no idea how anyone would get this ratio, but if I were a betting man, Id bet the ratio of build/show went way up. Plus we are probably getting a ton of people who have never heard of HN start building cool bespoke things for themselves and thats it, they use it, they love it, they might tell/show a friend.
The shovelware cometh Batten down the hatches. "Show Hacker News" signals the coming flood. 🌊 Jerod Santo · jerodsanto.net Not surprising theirs a lag, between the models getting better, the tools getting better, and the masses getting better at using them, it takes time. This is still quite a hockey stick. I’m wondering how many are not posting on Show HN embarrassed they built something they know nothing about and afraid to get questions. I have no idea how anyone would get this ratio, but if I were a betting man, Id bet the ratio of build/show went way up. Plus we are probably getting a ton of people who have never heard of HN start building cool bespoke things for themselves and thats it, they use it, they love it, they might tell/show a friend.
Camp Rock Letters going on the print bed for the show choir.
dax (@thdxr) on X finally got around to setting up an always on opencode server so i can run sessions on any device from anywhere takes a few minutes - showed it off here X (formerly Twitter) · x.com I tried this flow [of running an opencode server on tailscale] on day one of getting opencode, I wanted to prompt from my phone while were were running lights at the theater. It kinda worked, but the ui was really bad on phone, hard to use and the experience overall–it felt buggy. Happy to see they are making improvements and it might now be ready for some real use. https://dropper.waylonwalker.com/file/9065fcb2-5e40-479c-967e-498bc9bb6a4f.mp4
Short Month, Big Ideas (February 2026 Wallpapers Edition) — Smashing Magazine Let’s make the most of the shortest month of the year with a new collection of desktop wallpapers that are sure to bring a smile to your face — and maybe spark your creativity, too. All of them... Smashing Magazine · smashingmagazine.com test
Peter Steinberger Peter Steinberger: AI-powered tools from Swift roots to web frontiers. Every commit lands on GitHub for you to fork & remix. Peter Steinberger · steipete.me Pete has a ton of good posts here and actually ships a lot of product. reccommended read.
Stay away from my trash! Why tldraw is closing external pull requests: AI has made code cheap, so we're asking contributors for bug reports, design debate and fresh ideas instead. tldraw.dev read later
The state of development in early 2026 is all wrapped around learning how to manage many agents running in parallel. Everyone’s trying to figure out the workflow. The Plan Is Everything The secret I’ve discovered is a good, well-defined plan. This could be a markdown file or a GitHub issue. Agents are actually great at writing these for you. They’ll include reproduction steps, outline changes needed, and structure the work. This is your opportunity to step in. Read the plan. Look for hallucinations. Spot where it’s going off track. Edit the plan before the agent starts coding. I had one today where it laid out reproduction steps beautifully, but I could add context about network requests that completely changed the approach. This editing phase is what most people are missing right now. Skip it and you’ll watch your agent solve the wrong problem with impressive efficiency. The Pace Problem Here’s what nobody warned me about: managing these things is exhausting. Depending on the day, age…
I was listening to these guys talk about migrating off of boomer ai the other day. Introducing the term boomer ai to describe using chat, copy, paste instead of agents. Something magical happened to the tooling and models around december, they got really good. The chatgpt $20 plan hooked into opencode is good, the Free models in Opencode Zen (Big Pickle and Kimi K2.5 Free) are really good. Neither of these quite match up to the speed and quality of the larger plans, but they are good. good enough to throw away your boomer ai techniques and start using agents. Agents are the future, and they are here now. If you are still using chat, copy, paste, you are doing it wrong. Stop using boomer ai and start using agents. You will be amazed at how much better your results will be. https://www.youtube.com/watch?v=3dmPKuTWbsI
I’m back from the dead The flu hit me like a freight train right at the start of the year, along with the most stress I've ever felt at work dropping on me at the same time, I've... My mental data-lake · pype.dev I’m jelous… as I was getting better, I got kicked down again. cant hold a conversation without coughing. Its hitting people from all over like crazy this year. so glad its just the flu and not something seriously harmful for hospitalization.
DockFrame: Modular USB-C Hub with Framework-Compatible Expansion Cards DockFrame is a modular USB-C hub that accepts Framework-compatible Expansion Cards and custom Tool Cards. Dock once, reconfigure whenever. DockFrame · dockframe.com Dockframe looks like a really cool concept using the framework tiles ( the connectors idk what they are called) to build a dock.
open code - libre free as in beer and speech Copilot - corporate 9-5er Cursor - You sip on Philz coffee with your macbook Claude Code - Agentic Workflows or Bust Jetbrains - I didn’t know you wrote java Vim/neovim - definite neck beard VsCode - What else is there?
I Hope This Email Finds You Before I Do I Hope This Email Finds You Before I Do Last Week in AWS · lastweekinaws.com This post was filled with real life, snark, entertainment, feelings. I get a lot of these emails that claim they can change my SEO game if I give them 500, for a site making 0, Link partnerships from small startups. A lot of these are so automated that if I do respond I dont even get a response. I’ve responded to many simply asking what is this about, I get 10 others just like you a week. Can you tell me what exactly you want and what each of us benefit from it, how did you find me. All normal questions, they almost always result in crickets, no response, maybe its time to implement a Billie for more snark.
I really wish I would have got this right a few years ago. Theres a couple of
flags I had to use to get mdformat to do hard wraps at 80 characters and not
wreck tables. This mix of flags and plugins is workign really well for me so
far.
I was unironically asked what is that about my keeb today. Followed by no way that works, how would you type a, s, y, u, after showing, I go the “that’s weird” walk away.
Hornet SittingTrobio FightTrobio FullI just finished up my latest 6 ply wood fingerboard. I used scraps of purple, blue, red, and gold from the first 5 boards I built to make this pattern.
User states: Upon picking up an old project and trying to install pip says “cannot find a version to satisfy” I’ve got this, I’ve had this a hundred times before it’s a python version, a rogue package, maybe a yank from the pinned deps. I pop open the project get us on the same commit. I get a different error, make a few updates and we are good, except the user gets the same error from the start. They never saw the error I did, and my fix did not magically resolve their error. We circle all the things it could be for hours. I consistently wipe my venv, and recreate with ease, send them the commands I ran to no avail. Something is up and I can’t put my finger on it. We’ve checked all the things and inched as close as we can to running everything exactly the same. Os python version Network vpn uv version Nothing makes any sense. Finally I throw in the towel, is it the artifact server. I forge a token and give him one to borrow. BAM it works, like magic. The first sign of progress. Then h…
What a goat, speedrunning silksong at a competitive pace, live, with live audience, while co hosting, and raising $2M for Prevent Cancer Foundation. CEEN moves in ways that do not compute with my brain, everything looks so simple, things that take me so long are done in a few swipes. Watching this it really make silkspear look OP, this thing does so much damage if you never take damage and can use it continuously without needing silk for healing.
Reflections on 13 years and 1,000 posts of writing on my blog - HAMY hamy.xyz The answer is I do it habitually. If there’s a big enough idea I’ve had floating around in my head and I think others might find it useful / interesting then I usually think it’s worth logging it somewhere. If I don’t, I’ll likely just keep thinking about it so might as well get it out of my head and on the internet where people can find it. hammy This is how you do it. If you want to do something, you need to make it a habit. Something you crave, something you need. I need to write my ideas down in this blog, it helps me index ideas for later, but more importantly it helps me flesh them out and think through real things. Congrats on 1k, your site is awesome Hammy
Opencode is changing on the daily right now, today I noticed the word low pop
up in Orange text in my opencode window. Looking into this they are exposing
variants to the user. This allows
you to change between fast or slow and thinking, the later taking more time to
prepare before doing an action.
It looks like this toggle may have been here for awhile and I’m just now
discovering it. Potentially because its a new feature of the free Zen provider.
Variants
Many models support multiple variants with different configurations. OpenCode ships with built-in default variants for popular providers.
Built-in variants
OpenCode ships with default variants for many providers:
Anthropic:
high - High thinking budget (default)
max - Maximum thinking budget
OpenAI:
Varies by model but roughly:
none - No reasoning
minimal - Minimal reasoning effort
low - Low reasoning effort
medium - Medium reasoning effort
high - High reasoning effort
xhigh - Extra high reasoning effort
Google:
low - Lower effort/token budget
high - Higher effort/token budget
Don’t fall into the anti-AI hype I'm glad someone was brave enough to say this. There is a lot of anti-AI sentiment in the software development community these days. Much of it is justified, but if … Simon Willison’s Weblog · simonwillison.net Never believe in absolutes, see what I did there. The hype bros will take you to the extremes, ai will take your jobs in six months or be burned to the ground in six months. How about its useful now and will be more useful in six months. If you turned off the hype bro feed for six months you would probably be fine, in fact you would probably be better off for not capturing so much noise along the way. AI has gone the way of next js framework, it churns fast, hype bros are always an expert that know exactly whats best for everyone. It changes fast, what was the best last week might be dead next week. In fact getting to know what works well for you and knowing that tool really well for a longer period will take you farther.
External Link youtube.com Salesforce gets pwnd by the ai hype bros and killed its reputation with employees, letting them know where they truely stand with them. 4k people sounds like a lot, its probably a big chunk of savings, but was it worth the loss of reputation? There must be a better way to give this a trial run that lets them understand this before disrupting the lives of real people right???
Last updated Jan 2026. Seealso Looking for all posts tagged with ai see [[ tag/ai]] Ai is a tool I use a lot for code generation, research, image generation, and debugging. The words I publish on this site are my own unless explicitly stated from the top. There’s only one or two posts in this category. Words are mine The core of what this blog is, is my thoughts ideas, sharing experiences. The words are the important part. They are not perfect, I often do not spell or grammer check, and what is here is from a flow state of writing and very often not refactored. No AI unless explicitly stated code gen Up till around 2023 all of the code to create the site was hand written by me. I have my own site generator that I maintain markata. From 2023 through 2025 snippets of code, sometimes entire plugins or modules were created in chat apps like chatgpt. There was no agentic coding, windsurf, cursor, claude code, opencode, none of it. It was all integrated into the site by hand. Starting around…
Diffs, from Pierre @pierre/diffs is an open source diff and code rendering library. Rich syntax highlighting, edit mode, support for custom and Shiki themes, virtualization, and more. Diffs · diffs.com This looks like a really nice and performant diffing library that supports vanilla and react, with a lot of options.
A cutaway of the portajohn keyboard progress, it shows the internal trace from the bottom along with built in supports, reset button, power button, microcontroller cutout. I'm getting very happy with the progress. I really like the feel of the latest build, and can't wait to have this solid build out there.
I thought this was an interesting take from Simon. I’ve been hearing him consistently say there will be more demand for software engineering in the future. More companies will have the ability and need to deal with software applications, but fewer of us will be hand editing any code. I thought this was an interesting interaction in the clip. Uh Simon, what do you got for us? I’ve just got the one. I think the act of the the the job of being paid money to type code into a computer Yeah. will go the same way as punching punch cards. Okay. I do I think in six years time I do not think it will anyone will be paid to 80:56 — just do the thing where you type the code. Just type the code. Okay. I think software engineering will still be an enormous career. I just think the software engineers won’t be spending multiple hours of their day in a text — editor typing out syntax. 81:09 It will look like punching cards. I think — so. Yeah. Yeah. Interesting. In uh in six years. Um and but software — engineering still very much exists. I believe so. I I hope so. [laughter] I — very much hope so because I think the um the challenge of being a software — 81:23 engineer is not remembering how if wha…
This is opencode’s init prompt.
Please analyze this codebase and create an AGENTS.md file containing:
1. Build/lint/test commands - especially for running a single test
2. Code style guidelines including imports, formatting, types, naming conventions, error handling, etc.
The file you create will be given to agentic coding agents (such as yourself) that operate in this repository. Make it about 150 lines long.
If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include them.
If there's already an AGENTS.md, improve it if it's located in <dir>
I’m making an effort to make my og images better yet again, I’m going for that next 10% better. I really like my og images, but there are some title sizes that overflow. This page is a page to help debug. How I make these og images is for another day. Script I use my own static site generator markata. I can use it to generate a list of posts wrapped in their og image. I use itertools to do a groupby so that I can do roughly every 5 characters larger, and see a wide variety of sizes. OG-Sample shots I also do Posts tagged: shots posts that change the og template quite a bit by adding the image to the page. I’ll do the same script, but add a filter to the images.
In all of the documentaries I’ve seen on how hard it is to recycle plastic, how hard it is to separate all the small pieces from each other, how expensive it is, dirty it is, how just plain ineffective we are at doing it I’ve never seen this angle. In a nutshell the other side of the equation is that as we pull natural gas out of shale is that we pull ethylene out as a byproduct. We don’t even ask for it, it just comes with the methane gas that we are going for. So as we drill, Frack, and mine this out to heat our homes and create electricity we are stuck with all of this ethylene. It’s terrible for the environment, just like methane it’s a rough greenhouse gas. Companies are allowed to flare off a certain amount, they can push some down the pipe, but are still left with tons leftover that they practically give away. Turns out that this stuff is very cheap and very much wants to be turned into plastic. Very clean food grade plastic, very easily and cheaply compared to recycling. Excess is a big problem that needs solutions, but it has hard problems at both ends of the situation that don’t make it easy for anyone trying to take care of it.
feat: add llms.txt endpoint for LLM-optimized documentation by quantizor · Pull Request #2388 · tailwindlabs/tailwindcss.com Add /llms.txt endpoint that serves a concatenated, text-only version of all Tailwind CSS documentation pages optimized for Large Language Model consumption. Extract text from MDX files, removing J… GitHub · github.com Damn this one is getting some reach, I’ve seen it from Simon Willison and Justin Searls and t3.gg. I feel for Adam, He has built a fantastic product that the world is running with, something we all needed. Something that everyone laughs at turns their nose up “ppft I don’t need that” the first time they see it, but once they try people get it, and a lot of them like it and keep it. But its something that no one really wants to pay for, no matter how big of products get built on it. As we see more and more features coming to css, its not stopping, the work will always be there. I really hope to see something happen to tailwind to keep it afloat. massive growth and revenue down 80% does not help.
It’s that time of year, Coming back to work out of a big break and thinking about big changes. Daily Notes Keep up with daily notes, maybe not here, I tend to have more targeted notes here with full blog posts, but for work daily notes is POG and needs to be leaned on. LLM’s do really good at ingesting markdown and reminding me of things that I need to do, or did, or need to follow up on. Reader Social media is changing, quickly becoming enshitified, I enjoy interacting with some of the people I’ve met online, reading their opinions, and learning from their experiences. I don’t need their hot takes, don’t care about their political takes. I like boring posts that typically fade out of whats picked up on the algorithm. I like a good 5-10 minute read or a long form podcast talk. I will be aggressively collecting more rss feeds to read and keep up with. (Neo)Vim I’ve had these bad habits in my config for years, from day one of using vim. It’s time to kill these.. I killed them this mornin…
Photoshop for text In the near future, transforming text over an entire document will become as commonplace as filtering images. Steph Ango · stephango.com While the non deterministic nature of llms scare the heck out of me in the sense of just cutting it loose on my writing. letting it go through all of my files and just edit them. I do like the idea of mundane tools like “desaturate”, “Gaussian blur”, evolving out of it for text. I don’t yet see this with the tools we have now, but it will be interesting to see them evolve.
File over app If you want to create digital artifacts that last, they must be files you can control, in formats that are easy to retrieve and read. Use tools that give you... Steph Ango · stephango.com file over app is a fantastic philosophy laid out well and concisely documented very well in this post. The idea is that tools will change, we will want to use different tools, different editors, different computers over time. What’s likely to outlast everything is plain text files that we can interact with a wide variety of tools. Not encrypted in dedicated formats that die with our tools, but in plain text where a computer from 2160 is likey as capable of reading the file as one from 1960 would be.
Hornet sitting on a bench. I 3d printed, painted, and assembled this set. I really like how the bronze bench with gold highlights turned out. The distressing on her nail and dress look great in person, and don't come through the best the way the image is lit.
Check out JaKooLit and their project Wallpaper-Bank. Additional wallpapers which will be offered to users for my hyprland scripts
Kickflip down the 3 set using my new hand made 5 ply fingerboard.my latest porta john full mx build with Akko Creamy Yellow V3s installed on the right side and a hodge podge of Durock Lupine and kaihl browns on the left.
The most popular blogs of Hacker News in 2025 Michael Lynch maintains HN Popularity Contest, a site that tracks personal blogs on Hacker News and scores them based on how well they perform on that platform. The engine behind … Simon Willison’s Weblog · simonwillison.net Congrats Simon! Well deserved metric for the level of content that he produces, Its remarkable the amount of high quality posts that come out of Simon Willison. Also this looks like a really great resource to find other high quality blogs that I have not read before.
Today I discovered vim-speeddating
by tpope. I’m sure I’ve seen years ago but it did not click for my workflow
until today. I often go through pictures from my phone for the past few days
and make Posts tagged: shots posts, but I want to date them to about when the image was
taken most of the time. This allows me to quickly bump days up and down using
c-a and c-x even around the new year.
Sound on, listen to those new switches.
A collection of custom mechanical keyboard keycaps, including several sets of purple, white, and other colored keycaps, are arranged on a wooden desk surface.
I’m really excited about gastown, an amazing project by steveyegge. It’s worth exploring! Gas Town - multi-agent workspace manager
Yesterday I wrote about a way to do light mode screen recording to
convert to light mode from dark mode with ffmpeg. I was wondering if it could
be done entirely on the front end for web applications. Turns out you can.
I’m sure there are limited wikis and site builders that don’t allow adding
style like this, but it works if you can.
Convert a video from dark mode to light mode with FFmpeg! Here cassidoo.co Converting video from dark mode to light mode after the fact is a pretty great idea, I’m surprised at how well it does. Its definitely not perfect, but looks really good.
I turned on ironing on the Portajohn3 print and it did not turn out goodA black keyboard plate with multiple switch sockets, awaiting switches and PCB.
I saw this tip from
Cassidoo
and had to try it out for myself. I kicked on a
screen recording right from where my terminal
was, converted it, and it actually looks pretty
good.
There are a few unsettling things about it, but
overall I feel like it was a success.
Portajohn3 on the printerMy first hand pressed fingerboard with teak tuning trucks. It has a purple bottom layer. Sitting on the bottom of a 3-stair.I got a new dart board in the basement for Christmas, It's been super fun to play with the kids. We are getting a pretty good setup down there.5 layers of plywood pressed into a 3d printed fingerboard press.Garmond And Zaza
I actually like linus’s take here. My parents dropped $4k (~$8k in todays money) on a computer when I was a kid, (which turned into something too $$ to let me touch at that point). I played some educational games that no one else has heard of and I’ve long forgotten along with an early ciivilization game. It was e-waste in 2 years we maybe kept it 5, and it was barely working. Contrast this to my PC now I spent $2k on 3 years ago refurb from 2017, and it has no signs of age from me, does everything I need it to. Ram crisis sucks, the outright reason behind it sucks. But on the bright side you can still get a baller build for less than you could late 90s without inflation. The industry is not there for consumers right now, we had better times, but its still not bad times. Keep the hope alive that good times will come.
Smartphones are black holes They can bend spacetime without you even realizing it. People often get offended when I tell them that I don't have a phone, thinking that I'm lying and I just Sylvain Kerkour · kerkour.com This sounds great…. I’m sick AF right now and dont want to do anything but watch YouTube, and let opencode do my work.
Yeah there’s some basics, you know things you might expect like using standard error and standard out correctly. One thing I’ll say on that because I think this is commonly misunderstood, standard error is not for errors, it’s for any information that isn’t part of the normal output. So you know often times that’s warnings and errors, but it might just be progress information. You know anytime that you just need to have something go to the user that’s what it’s there for." (6:15 - 6:42) I’ve definitely done this sin in my own tooling before, and it does make things harder to use. I think I still take err/out at face value. I really like the translation Jeff gave here, one is for normal output, i.e. what the user asked for and the other is extra information. So if I wanted to list something and pipe it into something else, stdout only captures the list, thats it. if you have a bunch of information about config warnings, showing environment, are you sure questions, none of that is captured.
I’m impressed by pitchfork from jdx. Daemons with DX
Codeium what are you doing? It's spamming I'm a little bit of a nerd in the completion.
I’ve found Gemini to be very useful lately, especially for finding information
within long form content.
When writing thought-896, I
wanted to use a direct quote from Jeff Dickey, Gemini popped it out very
quickly.
give me a quote from jeff just before the timestamp I'm at the interviewer
asked what makes a good cli and he started talking about stdout/stderr
In another case, my wife and I are huge Good Eats fans. Alton Brown taught us
how to cook during college and on. We watched every single good eats episode
nearly 10 years after they aired. He is back with some updates to those those
shows on his Youtube. Gemini gives very good detailed responses with
timestamps.
Alton Brown had a recent YouTube video for cooking turkey. Can you get the
instructions from the video?
Maxteabag has done a fantastic job with sqlit. Highly recommend taking a look. A user friendly TUI for SQL databases. Written in python. Supports SQL server, Mysql, PostreSQL and SQLite, Turso and more.
webi-installers by webinstall is a game-changer in its space. Excited to see how it evolves. Primary and community-submitted packages for webinstall.dev
Waylon up at the Marquee of the theater fixing the fallen letters before the night show.
You Might Also Like: My Notes Blog If you subscribe to this blog, you must like it — right? I mean, you are subscribed to it. And if you like this blog, you might also like my notes blog. It’s… blog.jim-nielsen.com I really like a good link blog, it’s the old timers version of a reaction video. It gives me new posts to discover from other writers, and gives additional perspectives from ones I trust enough to add to my RSS. It’s nice to have a place where I can jot down a few notes, fire off my reaction, and nobody can respond to it lol. At least, not in any easy, friction-less way. You’d have to go out of your way to read my commentary, find my contact info, and fire off a message (critiquing or praising). That’s how I like it. Cuts through the noise. Ditto Jim. I’ve oddly found mine more useful to search than blog posts, zettlekaten, notes, whatever you want to call them. For me writing something down makes it more concrete in my brain that I’m less likely to need to go reference, but I often need to re read or references posts from others, this is where Thoughts comes in handy for me Like Jim I have a bunch of feeds you can subscribe to if you want some or all of my stuff, but I…
The other day I was watching [thePrimeTimeagen]https://youtube.com/@theprimetimeagen?si=jVcp23FbfQSFZfDc) and he talked about devs loving ai and artists revolting. There was some discussion in chat about art being more creative and prime quickly squashed that. He ended with being oddly confused why developers are jumping on board and artists are not. Both had their art stolen to build out the models. my own vibes I’m writing this from my phone without further research, all vibes, personal experience, and thoughts, no research. Good Tools First I want to argue that artists have had some form of ai in their tools for years. Idk, probably not ai as we know it today but functionally similar. Content aware fill. This is a Photoshop feature from Adobe, as far as I know it’s one of the special things you get from Adobe that you don’t get from the FOSS alternatives easily. This is an example of a good took that is well loves by the community and widely used, if you put ai in it to make it bett…
“You should never build a CMS” | Sanity Lee Robinson migrated cursor.com off Sanity. He made good points. Here Sanity.io · sanity.io Such a good breakdown of the leerob article, that is hitting everywhere right now. Feels like sanity was just a bit late to getting things right and it would have just worked for them how leerob was trying to use it, but MCP sucked so he jumped. Reading their loose descriptions of a CMS, its an interesting realization to realize I’m rolling my own cms. I kinda feel like theres a few inspiration features to take from here, but I have no regrets. As a developer I like being able to build my own tools, I like being able to search and edit from nvim, and not have to write GROQ queries, and transforms. There were some really good points here that as I get more and more content on my personal site, I do kinda feel it. I’m surprised there is not more tooling that does some of these things for piles of markdown. pinning this to re-read later, feels like a lot of good tidbits here.
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.
Silksong DLC announcement already, we waited 8 years for the game, and are getting DLC’s months after launch. Dudes I haven’t even finished the game get, maybe not even half way. It’s amazing. Its amazing that these three make such a kick ass game with great art, story, voice, gameplay, and now drop a free dlc in 2026.
I’m being gaslit by the ai. It just did a big hard change, now cant do a seemingly basic change, and assures me that that its fixed my issue on every iteration.
Waylon and Rhiannon standing in front of a mostly finished elf house built for the Jolly Holiday Performance at the local theater.Cogwork Saved Pill
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:myposttypepublished:truetags:- myposttype<%*const folder = "pages/myposttype";// get all files in the vault, keep only those inside the folderconst files = app.vault.getFiles().filter(f => f.path.startsWith(folder + "/"));// extract numeric suffixes from filenames like myposttype-123.mdconst 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 movingconst newPath = `${folder}/myposttype-${next}`;await tp.file.move(newPath);%>---
Kelsey has a really good lightbulb moment here about platform engineering. “if you had to do all the deployments for the entire company what questions would you ask of the development team?” That’s your api, your platform, this is your product as a platform engineer. It’s not images, docker, terraform, hcl, yaml, kubernetes, It’s building out the right api for your company to deploy its products effectively. https://www.youtube.com/watch?v=HdUbTyvrfKo&t=429s timestamped
This morning I set up notifications for changes to my static site builds leveraging git name status and ntfy.
--name-status is a great way to see what files have changed in a git diff
alongside the status code. I recently used this in a script to create a report
of new and modified files during a build.
My son wanted to help shovel snow, usually this means, I'll piddle around, have Fun, maybe make things worse, but it's ok cause I'll make it a good time. Tonight he was LOCKED IN and got a good chunk of the neighbors drive and entire sidewalk done.
The dev server is cooking today, I’ve dropped markata builds from 2m40s (hot cache) in prod to 15s (hot cache) in dev. Currently building 2745 posts and 274 feeds.
Running kubernetes in your homelab is a fantastic way to learn, explore, express yourself, and run services that you use. The Right Reasons To Run Kubernetes In Your Homelab There are not many You want to learn kubernetes You like kubernetes You want to learn to scale There are also The Wrong Reasons To Run Kubernetes In Your Homelab You want to learn kubernetes Homelabbing is a such a great way to learn new skills, deploy real apps that you use. Create new custom apps for your specific use cases that no one else has. You should absolutely run kubernetes in your homelab if you want to learn it. I would recommend to start locally, pull up kind, minikube, or k3d and start from your local machine before putting it on a server. When you decide you are ready for a server, you probably don’t need any crazy hardware. You can probably run on some old retired Dell Optiplex or an old desktop someone is throwing out as it no longer runs windows. You like kubernetes Hell Yeah Brother, 100% no bett…
I learned to today that setting MEMORY on your minecraft server causes the
JVM to egregiously allocate all of that memory. Not setting it causes slow
downs and potential crashes, but setting INIT_MEMORY and MAX_MEMORY gives
us the best of both worlds. It is allowed to use more, but does not gobble it
all up on startup.
In this economy we need to save all the memory we can!
Here is a non-working snippet for a minecraft server deployment in kubernetes.
I did not realize all the places to be considered as AI water usage. Hank goes deep highlighting all of the sources he is aware of, most reports leave off a lot of these sources, some reports go maybe too far adding sources that may not make sense depending on the question you are asking. As someone that runs computers with gpus in their house, and watching LTT make AIO installs on GPUs I’ve wondered what would AI use water for, now I understand that its a lot. No where near agriculture, but a lot. Unlike running a gpu in your house, potentially with a closed loop AIO, data centers are filled with hardware making heat and it all must go somewhere. Current technology has this done with evaporative cooling, i.e. its not a closed loop, the water goes into the sky. He goes on to point out that its not just the data center, using water, but also chip fab and power plants. Something I hadn’t put a lot of thought into is the type of water. While a lot of agriculture and power applications do not use municipal water, a lot of data centers do, putting excess strain on water treatment. Something I find interesting is that Altman is doing the same thing here that he does on his financial numb…
Notes – 05:09 Tue 9 Dec 2025 Notes – 05:09 Tue 9 Dec 2025 dbushell.com · dbushell.com Age verification hitting bluesky?? At least its not yet requiring your govt issued id or anything, but stepping that direction. I don’t know how I feel about age checks, does it actually protect kids when parents aren’t involved? I can’t say anything there, but it really does feel like its about ready to hurt the rest of us, requiring us to whip out ids and personal data for anything done online. This is a real problem that is hard to solve, and reasons why it has not been solved yet.
Deprecations via warnings don’t work for Python libraries Seth Larson reports that urllib3 2.6.0 released on the 5th of December and finally removed the HTTPResponse.getheaders() and HTTPResponse.getheader(name, default) methods, which have been marked as... Simon Willison’s Weblog · simonwillison.net Deprecation warnings are so easy to miss, ignore, become numb to. Creating tools and processes to catch and address these issues is important. I’m surprised such big projects let deprecations just hang around for years.
A quote from Claude I found the problem and it's really bad. Looking at your log, here's the catastrophic command that was run: rm -rf tests/ patches/ plan/ ~/ See that ~/ at the … Simon Willison’s Weblog · simonwillison.net damn this is a rough one. A users entire home directory removed by claude code from an rm command. Reading the first half of that command it LGTM. If you had approved rm, you are hosed. If this is inside a larger script its running, you really gotta read close. This one still feels pretty obvious, but I can imagine some bash doing some nasty things I miss if I read it and understand it let alone glance at it. I’ll take this as a reminder that I really need to be paying full-ass attention to agents, and moving towards a better sandbox for them, something in docker, maybe something like distrobox that is a magic wrapper over podman that just gives you the things you need for what it does. Something that starts up with access to start web servers, run agentic cli of choice, see project, git commit. It feels like the right thing has a lot of what distrobox does, but distrobox has too much and would be prone to this using it as I’ve used it in the past.
Cogwork Dancers Fight
I found snow-fall component from
zachleat, and its beautiful… to
me. I like the way it looks, its simple and whimsical.
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://screenshot.11ty.app/https%3A%2F%2Fwww.zachleat.com%2Fopengraph%2F%3Fpage%3D%252F%26cache%3D_p1792866846039/opengraph/" data-handle="@zachleat">@zachleat</a>/snow-fall if that’s your thing. I like
vendoring in small things like this.
<!-- This belongs somewhere inside <head> --><scripttype="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. -->
I’ve been running my shot scraper api for a year now. It creates og images for my website and thumbnails for my Reader using a headless chrome instance. 25870 shots 73 shots per day on average 12-09-2025 first shot taken Histogram You can see in the histogram that I’ve had a few big spike days, This has been mostly for days that I’ve integrated into a new service or changed the endpoint. On February 13, 2025 I swapped over from using the post to using template specific to open graph images. Image Comparison Original Post Image New OG Image Swapping to og images Collage For fun I made a collage of all the shots. It’s cool to see all of these together, I remember a lot of the thumbnails and posts. Many of them from my rss reader. I tried to make a video collage, but turns out it takes a long time to show all 25k shots in video form. It also turned out to be a bit of a strobe as I don’t yet have it figured out how to dark mode in headless chrome.
Today I learned an important lesson that you should periodically check on your
kubeconfigs expiration date. It’s easy to do. You can ask for the
client-certificate-data from your kubeconfig, decode it, and use openssl to get
the expiration date.
Not every print needs supports. So many models default to having it on, whether needed or not. Well designed parts, designed for 3d printing almost never need supports (depending on constraints).
Include steps to reproduce your bug when you file a bug report or issue. You may quickly forget how you got there, and no one can fix a bug that is not reproducible.
This looks like a really good low cost option for some workholding. There is never a shortage of workholding in the shop and everything has a place. Having something low cost that you can have a bunch of makes a lot of sense. Maybe you still need a super scucum unit for really clamping the shit out of something, but this easily covers most use cases in a garage workshop. I want to build it.
Moore’s Law is Dead pitches a pretty ingenious sku for the new gabecube aka steam machine. I fully support repairability and ewaste reduction. most of these components have not had MAJOR improvements in years, hence his channel name. There is a possibility here that Valve could ship with their unique hardware, (apu, psu, case, ports, networking) and let you bring your own ssd and ram from an old device that you might not use anymore. I love this idea. At the same time it feels like entering the star wars universe where there are no more new manufacturing and everything is cobbled together from old hardware made long ago.
When using two GitHub accounts the gh cli gives very easy gh auth switch workflow from the cli.
from the docs
gh auth switch –help
Switch the active account for a GitHub host.
This command changes the authentication configuration that will
be used when running commands targeting the specified GitHub host.
If the specified host has two accounts, the active account will be switched
automatically. If there are more than two accounts, disambiguation will be
required either through the --user flag or an interactive prompt.
# list accountsgh auth status
# switch accounds (interactive if more than 2, i've never seen this personally)gh auth switch
What a heart breaking video to listen to. I’m trying to do a better job of being positive right now. I’m trying to look at the world in what I have control over (not much more than my attitude about it). AI is killing so much right now I’m trying to look at it as the good tools the engineers made it to be. Ownership is dying around every goddamn corner. Hats off to Edison, this guy gets it. We need more companies like this taking a stand for the average person who wants to make it out there.
What a great campfire story Casey stumbled into. Whether any of this is true few will ever know, but its very reasonable that a race condition and a stalled job to apply configuration caused by someone who left the company 10 years ago caused an outage. I find it hilarious that they call this guy he answers, yup I still know the password, but how do I know you’re legit, I’m not just handing out the password. Casey did a stand up job telling this story.
Linus is Techbrophobic like the rest of us. This is such an unexpectedly mild take from him. I expected some threat to the mother of the vibe coder, but he gave a pretty great middle of the road take. The industry sucks, it smells off, we know a lot wrong with it, it feels like theres a lot more wrong than we know. But the tools that its making are really good when used in the right ways. They are not a replacement for anything, they are assistive. They can lift someone from not knowing how to code to making a small webapp for their use. Someone who wants to write backend and give them a decent front end, someone who whats to write front end and give them a decent backend. Great take from someone with more experience than most can ever dream of having, worth a listen.
snow-fall Web Component—zachleat.com A post by Zach Leatherman (zachleat) Zach Leatherman · zachleat.com 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.
This ball vise Idea is incredible and I want one. Its a heavy workholding unit that can accept a variety of tools and manipulate things to a lot of angles while working on them. This looks really good for painting miniatures soldering or generally working on small 3d printed parts that I do.
gpus are awesome and I need one for Bambu Studio to be usable in a
distrobox. Adding the --nvidia flag to distrobox create bind mounts the
nvidia /dev/ devices and sets up the necessary environment variables. Once
we are in there are a couple of packages to install to make it work.
Check out garbage-day.nvim by Zeioth. It’s a well-crafted project with great potential. Garbage collector that stops inactive LSP clients to free RAM
Forebrothers FightForebrothers FullForebrothersHere is a video clip of my Bambu A1 poop flinger fixed and not jamming during operation after my fix.My bambu A1 poop flinger has been getting jammed up for awhile now, here is an image of it in the jammed position.
Running kubernetes in your homelab is complex, time consuming, there are almost no docs to help you (homelab focused docs for things you want to install), and nothing is copy paste. You have to make everything happen yourself. The Wrong Reasons To Run Kubernetes In Your Homelab I run compose and think kubernetes is the next logical step Techno Tim runs it I heard it’s what cool kids do Kubernetes BTW Talos Linux looks cool I found a cool helm chart on GitHub I need scale There are also The Right Reasons To Run Kubernetes In Your Homelab. I run compose and think kubernetes is the next logical step No it’s not. It’s much different than running docker, compose, swarm. It’s meant for scale, it’s complex, it’s made for enterprise, not your local development or your homelab. It can do these things, it can do them quite well, but it’s not the target audience. Techno Tim runs it I heard it’s what cool kids do You need to rethink who the cool kids are, touch some grass. Tim also does it for his…
The k3s system-upgrade controller is a fantastic tool for upgrading k3s
automatically. It has done a fantastic job for me every time I’ve used it.
Today I ran it on a cluster that needed to upgrade several minors and I
learned that the controller does not pick up on changes to the channel url if
you change from minor to minor.
The solution I came up with was to name the plan with the version it supports.
Then on each patch upgrade, change both the plan name and the channel. I use
gitops with argocd, it automcatically cleaned up old plans, created new plans,
and the system-upgrade-controller picked up the plan and started applying
immediately.
# Server planapiVersion:upgrade.cattle.io/v1kind:Planmetadata:name:server-plan-v1.33# <- This is important if you want to change the channel namenamespace:system-upgradespec:concurrency:1cordon:truenodeSelector:matchExpressions:- key:node-role.kubernetes.io/control-planeoperator:Invalues:- "true"serviceAccountName:system-upgradeupgrade:image:rancher/k3s-upgradechannel:https://update.k3s.io/v1-release/channels/v1.33---# Agent planapiVersion:upgrade.cattle.io/v1kind:Planmetadata:name:agent-plan-v1.33# <- This is important if you want to change the channel namenamespace:system-upgradespec:concurrency:1cordon:truenodeSelector:matchExpressions:- key:node-role.kubernetes.io/control-planeoperator:DoesNotExistprepare:args:- prepare- server-planimage:rancher/k3s-upgradeserviceAccountName:system-upgradeupgrade:image:rancher/k3s-upgradechannel:https://update.k3s.io/v1-release/channels/v1.33
I’d love to see a better way if you have a way to upgrade through minors, or
manually control the minor of your cluster let me know.
Deleting Code for Performance The one where I clean up an asynchronous mess. dbushell.com · dbushell.com I did not realize that David’s site was built on a homegrown Static Site Generator. As someone who also does this myself I appreciate the effort. I build my site on markata. It started as a project to learn a set of tools and has become a project that I depend on everywhere and cant put down. It’s a great tool, but you probably shouldn’t use it. Anyways, I feel this really shows on David’s site. His site is filled with custom features that make it very unique, one off, and always a pleasure to read.
GPU’s are awesome. I just added gpu support to my bambu-studio distrobox and its flying! On my wayland based system the native package has never worked, (arch or bazzite), but running in a distrobox does. Outside of distrobox the 3d rendering canvas is black, no output. It used to work fine without gpu support, was snappy enough, complex models were a bit sluggish, but fine. Lately something happened and simple models bring it to its knees. It got unusable!
The print I happen to be working on is some custom designed gumdrops for a theater set. The ui is working and not lagging 30s between clicks causing clicks to happen on the wrong ui element.
Niche companies will rise from the ashes. Companies that want to build good products for customers. Companies that will get hundreds of users. They will treat them right and make enough money to support themselves, maybe. Alongside them we will self host. We will run our own services out of our basement. There will be downtime, but its ok. We will enjoy ourselves. We will tell everyone how much better it is BTW Next to that is a firehose of shit piling back into the circular snakes mouth as all of your data flows freely between any company that can get their hands on it. These companies will spend and make money hand over fist. Most people will continue to use these services until enough is enough and unplug from everything. In this world I don’t see how we sustain the amount of engineers we have created. Small companies run lean, small, and allow slow organic growth happen. It will be interesting to see play out.
Malicious Traffic and Static Sites I wrote about the 404s I serve for robots.txt. Now it’s time to look at some of the other common 404s I serve across my static sites (as reported by Netlify’s… blog.jim-nielsen.com These look like fun endpoints to add anti-maliciously, give good stuff for the sleezy things to read.
A ChatGPT prompt equals about 5.1 seconds of Netflix In June 2025 Sam Altman claimed about ChatGPT that "the average query uses about 0.34 watt-hours". In March 2020 George Kamiya of the International Energy Agency estimated that "streaming a … Simon Willison’s Weblog · simonwillison.net This feels very promising for the future as we enter a world that is more and more dependent on AI that inference is so cheap. I did not understand the scale to how much cheaper inference is compared to training. As we get better with training I imagine this gets significantly better as well. I know they all claim to be profitable on inference, but scrolling through Simon’s feed here you see several articles on the stark difference.
I’m impressed by awesome-nanobanana-pro from ZeroLu. 🚀 An awesome list of curated Nano Banana pro prompts and examples. Your go-to resource for mastering prompt engineering and exploring the creative potential of the Nano banana pro(Nano banana 2) AI image model.
A pretty good email scam How I helped family recover from a clever email scam that hid behind sneaky account settings cassidoo.co scams suck. This is a good story, sorry to hear that it happened to a real person. If you or anyone in your family has a compromised email, add these to your checklist to fix. automatic forwards 2-factor email
2025-11-27 Notes yesterday: 2025-11-26-notes My mental data-lake · pype.dev 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!
K8s Diagram Builder - Visual Kubernetes YAML Generator Free Kubernetes diagram builder with drag-and-drop design. Auto-generate production-ready YAML for Ingress, Services, Deployments, ConfigMaps, Secrets & more. No signup required. K8s Diagram Builder · k8sdiagram.fun This looks like great prototyping tool for k8s. I too often ask ai to get me going with the things I need. I’ve used k8s long enough that I can generally remember all the things I need, roughly where they go, would probably forget a few things and need to iterate, but I cannot remember exactly what goes where and need examples at a minimum. I need to give this a go from desktop and see if it will work for me. Right now looking through mobile looks promising.
Check out dawarich by Freika. It’s a well-crafted project with great potential. Your favorite self-hostable alternative to Google Timeline (Google Location History)
A complete stack of apple boxes for the local theater.Isometric view of the Bosch Colt dust collection design.Dust Collection for Bosch Colt router v0 made of 3/4" plywood.
I’m really excited about alloy-scenarios, an amazing project by grafana. It’s worth exploring! A collection of working Alloy scenarios
The tea command for gitea (used by forgejo) has a flag for login. With gitea
you can have multiple accounts logged in. When you try to run a command such
as repo create it will prompt you which login to use, but I learned that you
can bake it in to all of them with --login <login-name>
❯ tea repo create --name deleteme --description 'for example'┃ NOTE: no gitea login detected, whether falling back to login 'git.waylonwalker.com'?
If you’re into interesting projects, don’t miss out on qmk_firmware, created by WaylonWalker. Open-source keyboard firmware for Atmel AVR and Arm USB families
Learned about nginx_auth today. Feels good to unlock a new skill that I did not quite understand before. I don't think I grasped that there is a backend...
Check out octelium by octelium. It’s a well-crafted project with great potential. A next-gen FOSS self-hosted unified zero trust secure access platform that can operate as a remote access VPN, a ZTNA platform, API/AI/MCP gateway, a PaaS, an ngrok-alternative and a homelab infrastructure.
Today I woke up to finding out that cloudflare hade a widespread outage. My Reader uses tailwind cdn for styles and it was down. Otherwise it was not so impactful to me and felt kike they were quick to have it up. I’m not really researching here, just jotting thoughts down from a parking lot waiting for pickup. It feels like we are seeing a lot of these lately. They feel much more frequent. It feels like a whole industry was sold on 9’s and reliability of big cloud that we just aren’t getting. There’s a huge push to go back to self hosting, racking and stacking. I think this is great. I love it. I’m a big proponent for ownership and self hosting. It’s not the right move for everything and everyone, and is certainly not something to make a knee jerk reaction about in the moment of frustration. There’s a lot of things that are just impossible to do yourself, cdn caching, edge compute, ddos protection. These companies are not magic they are vulnerable to changes just like you and I. It re…
👏👏👏preach it prime! M$ continues to prove that they are not making products for you something else is affoot and shit you don’t want is shoved down your throat and forced on you. Prime points out that the agentic is prompt injected itself😂. Rather than making a better os experience it’s assuming you are stupid and need everything done for you. But what I don’t get here in the text scaling example. Why the F does it not just fix it for me. When I ask the machine to make text bigger it puts a flashy circle where to click. This is a one time setup for someone who gives no fucks to remember how to do it. Why is the machine doing this weird hand holding watching us do it’s work rather than just doing it? I like the pattern when you change display setting it gives you a counter that reverts everything if for some reason shit is so bad you can’t even see it. Do that, not this help me click bs. Now in parallel we have steam making Linux desktop better and better. Allowing you to just access the hardware you own to do what you want to do with it. Providing a fantastic hands off out of the box experience for the price of the hardware. No ongoing fees, no upgrade cycle, soft lock, aribraray c…
PETaflop cluster AI is a pain in the back. Justin Garrison · justingarrison.com Justin makes the coolest kubernetes clusters wishing I could see it in the flesh at Kubecon.
Absolutely banger of a video, what a wild idea to send gippity a bit off course and just see how far off the rails it will go. Dude did a banger of an edit on it. I’ll admit that I listened to the whole thing, but did not watch much, saving here as I might go back when I have time to really watch it. It was really weird how easy it was for chat to say something that could be true, but nearly no chance of it actually happening over and over and just keep it going down this dark spiral of conspiracies. It was ready to electrocute him and separate him from anyone who had a chance of being a non believer. At any moment was ready to say that those closest to him might be his problem. gipity is not your friend, or your therapist.
I found an interesting side effect of manually running my script to generate [[
stars ]] posts is that you get notified when one gets renamed. Today I noticed
that Ned Batchelder created a coveragepy org.
Today I learned how to use AliasChoices with pydantic settings to setup common
aliases for the same field. I’m bad about remembering these things, and hate
looking up the docs. I like things to be intuitive and just do the thing I
want it to do. Especially when they get configured through something like yaml
and do not have a direct lsp look up right from my editor. I figured out how
to support what might be common aliases for a storage directory. These can be
set up as environment variables and used by config.
frompathlibimportPathfrompydanticimportFieldfrompydanticimportAliasChoicesfrompydantic_settingsimportBaseSettingsclassSettings(BaseSettings):storage_dir:Path|None=Field(default=None,validation_alias=AliasChoices("STORAGE_DIR","STORAGE_DIRECTORY","STORAGE_PATH","STORAGE_PATHNAME","DROPPER_STORAGE_DIR","DROPPER_STORAGE_DIRECTORY","DROPPER_STORAGE_PATH","DROPPER_STORAGE_PATHNAME",),description="Directory for stored files",)
Getting ready to batch out 18 apple boxes for the local theater. Need to step up my woodworking tool game here quick on a low budget. Whipped this up up and built the prototype box, went really well. We have 4 in the arsenal now, might do 4 more if we need more assembly capacity. Pretty proud of the first 3d printed thread project here. The design for good 3d prints can be quite different with its anisotropic strength and hollow sections being nearly weightless when compared to traditional manufacturing methods. Its so fun to be able to do it for almost no cost right in my home office.
Mark Zuckerberg scaled Facebook in 2005 - without Kubernetes, Serverless Functions, Redis, Managed Auth, Rust, or Kafka. No fancy orchestration. No distributed event streams. No cloud-native… | Anton Martyniuk | 266 comments Mark Zuckerberg scaled Facebook in 2005 - without Kubernetes, Serverless Functions, Redis, Managed Auth, Rust, or Kafka. No fancy orchestration. No distributed event streams. No cloud-native anyth… LinkedIn · linkedin.com Lean on your skills and your goals. If your goals are to have fun, use whatever you want. If you are looking for a job, Lean on tech that bridges the gap between your resume and the job you want. If you want to build a good product use the tech you are best at. No one in their right mind would throw away 20 years of tech progression because Zuck built facebook ftping php to a server. The sentiment in this post is fine at best the picture feels triggering and oversimplies way too much. If you like kubernetes just fucking use kubernetes. This topic deserves a full on post, maybe later.
I just heard someone drop the this term and it kinda fits a lot of shit on the internet right now. Arguing that its OK to question AI, its OK to like it, its OK to question if it needs to be in every goddamn thing we do, question its morality on training and the slop being pushed at us all the time. I’m not Technophobic I’m Techbrophobic I heard this and it kinda hit with a lot of things that I’ve resonated with lately. Tech bros of today have been compared to Steve Jobs in a lot of ways. Whether its style or the way he was so good at marketing, but this feels different. When Jobs launched the iPhone as this next great thing, He fucking made the thing. No broken promises of being sold something with hopes that it will do more tomorrow. No pushing around insane amounts of money with the hope to become profitable years down the line. No fear pushing that if you are not doing X today your business will be dead in 6 months. Giving us the promise that it was about to create an entire indust…
Are we cooked? Are we? Yes the consumers are cooked there are no more affordable cars with basic shit that you need to go point a to point b. Ford make us cars we can afford and you won’t be cooked by this dumb shit. If you can market it? Most people don’t care what sticker price is and only the monthly payment. This is why we are cooked. We stopped caring that these things cost way too much. I’m probably in a small minority that just want an affordable reliable vehicle and could care less about features past climate control. I don’t use them. My phone has maps and music I don’t need a screen in my vehicle for anything.
I’ve long looked for a way to cat anything in the terminal. I’m am terminally in the terminal. I manage all of my projects, code, website, notes, files, servers, infrastructure, almost everything from the terminal. I occasionally open a file manager, mostly at home, only so that I can browse images. Compounding my issue, I’m a tmux user. It works great for me, and I barely have to think about it at this point. The keybindings are second nature to me. I can go between server, terminal, nvim, and between projects instantly, no loader, no lag, no animation, it just works for everything that really matters to me for really getting things done. Mcat is a new tool that seems like it can cat anything in the terminal, code, files, images, markdown, markdown with images, and even video, without leaving tmux! But it doesn’t always work The keen eyed of you will notice the blank screen at the start of the demo above, not sure what happened, but resizing the terminal fixed something. Sometimes vid…
No one is perfect, this is why we have things like checkpoints or gates in the form of pull requests, linting, type checking, and tests. What happens when you work on small side projects by yourself that try to be content focused? What happens when you end up building a lot of the tech under that site and build it on the bleeding edge of all the tech you make? They are likely missing these things and occasionally there are some periods of regression. This is one reason I really like the term digital garden to describe one’s small corner of the internet where they share their thoughts. There will be regressions The Signs There were signs, signs I did not notice Chat is your rss feed broken? I’m not seeing anything show up in my rss reader me Do I not put thoughts in my rss feed, I swore I did. Chat my fault, Turns out I must have already clicked it in my reader. me great, glat it’s working …But it wasn’t Later this week comes the next sign that I also choose to ignore… Google search has…
Today I gave mcat a try and it's so sick. It can anything right in the terminal, pdf, image, even video. It even works inside tmux unlike almost anything...
#minecraft" playlabel="Play: I refuse to change the way I play… 😂🔥 #comedy #videogames #minecraft "> Microsoft has been addding features to Minecraft for over 10 years now. Idk if there was momentum from the mojang theme, but we’ve barely paid attention to any updates in the last five years. The ocean update was huge, caves and cliffs were huge then it trailed off to we play each release on release day, use commands to try out new features, then never touch them again either to play minecraft as we always have or to play a modded pack with crazy new features that really make an impact on gameplay.
Absolutely incredible what Preston is doing with his time. What a life changing experience this must be for him. Good job to Turso for making this happen. We are going to end up with very feature rich file based databases out of this that the whole world will benefit from.
Absolutely love this selfhosted arc of pewdiepie that is going on right now. It’s crazy to witness now fast he is picking up linux / self hosting, and sounds like soon will be programming. In this one he built a $20k AI beast that crushes gippity with power, speed, proximity, and security. No one to take your data, no latency to the data center, no one else bogging down your prompts, just raw speed. It looks absolutely wild. He implemented RAG and gave it a bunch of data about himself and its able to spit out his wife’s name and phone number in under a second. It writes code at blazing pace. This may be the future that we get over the next few years as things shift towards AI there will be more affordable options, and a larger second hand market for building out these highly capable machines.
External Link jesseleite.com I’m so glad that python supports method chaining out of the box, very similar to the pipe operator that Jesse mentions here. It makes everything much more readable to follow the flow rather than needing to parse nested funcion calls.
I greatly appreciated the wide variety of experienced maintainers of large oss projects. From webdev to desktop application. The most common sentiment here was don’t contribute to open source just to contribute to open source. Bring something meaningful to the project. Find a project you like, look at the discussions/issues for work or start some discussions. If there are no meaningful features that you can add to projects that you use and love, make your own thing. Adam from tailwind really hit on this one several times. He has made tailwind extensible so that you don’t have to contribute to tailwind to get new capabilities, you can probably just extend tailwind with your thing. Its likely that it makes a lot more sense or your use case, and if it turns out that it makes sense for everyone have the discussion about bringing it in. The upside to small oss projects is that you can move at whatever pace you want and break them all you want when the user base is just you. As you move your stuff into tailwind you have to be very careful not to break the massive tailwind user base and you have to bend to the release schedule of tailwind. The other adjacent topic that kept coming back is…
Isometric view of my corner clamp v1 that supports up to 3/4" sheets and includes slots for dowell points on 3/4" and 1/2" material.Act IILast Judge
rustfs by rustfs is a game-changer in its space. Excited to see how it evolves. 🚀 RustFS is an open-source, S3-compatible high-performance object storage system supporting migration and coexistence with other S3-compatible platforms such as MinIO and Ceph.
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 Recognize the right idea when you hear it. Always carry a knife One Breath at a time Let Glue Dry Obsess over quality. blocking others is a p0 creating process is a cardinal sin
You already have a git server: maurycyz.com It’s so easy to forget low level tech sometimes. Things that are dead simple and just work without a hitch. is one of those rock solid things thats very easy to remember all that it does, this is a classic use case. This just works In order to recieve you must update the remote to allow recieve. Now you can pull update push. It’s funny how this was the way I first learned to do Continuous Deployment to a RHEL7 machine, also how Heroku worked, but its so easy to forget this solution is there. I come across it every few years and immediately have a few use cases in mind.
Please don't give Reflect Orbital money: maurycyz.com Well done write up about reflecting solar energy back to earth from low orbit space. I did not know this was a thing, apparently it is/isn’t. Solar is a great technology, its largest limitations are that its not consistent. This tech does not fix this problem, what does is efficient long term storage. I’ve seen some crazy ideas going back to my days in school, maybe elementry school. Theres a lot of innovative ways to store potential energy by moving heavy objects uphill whether fluid or solid. The issue is that energy storage at grid scale is HUGE and not efficient enough. Even assuming this idea had any legs at all, it still doesn’t solve the problem of inconsistent power because it still cant go through clouds!
Melo (@letitmelo.bsky.social) I legitimately didn't know they were competing with Steam and it's crazy to me that they burnt so much money on what sounds like something with very little (or wildly misguided) market research. [… Bluesky Social · bsky.app Wild to see the LinkedIn post linked here to see how out of touch this feels. I find it astonishing that they have something so ingrained into gaming culture as twitch, yet build something like Prime Gaming. Maybe I have no idea what Prime gaming is, but it feels like the opposite of ownership. What I get from steam is a sense of ownership. I own the desktop/laptop/handheld, no one cough nintendo cough cough cant remotely disable my device for using it inappropriately. I have a sense of trust with steam that as long as Gabe is alive I own what I paid for and will be able to open up and play anything at any time on any device I want. It might be a $100 dell workstation raised out of the coorporate refurb bin, it might be a high end machine, It could be my 2010 gateway or my 2045 custom build and they are all likely to play a good amount of my library at some level. I still understand that I really own nothing and the moment steam tur…
Bazzite (@bazzite_gg) on X @thesvpanda @_Messier_33 @LeagueOfLegends Unfortunately that game uses some of the worst spyware in the industry, it will never work outside of Windows with secure boot enabled and TPM hardware. C… X (formerly Twitter) · x.com ROASTED Unfortunately that game uses some of the worst spyware in the industry, it will never work outside of > Windows with secure boot enabled and TPM hardware. Consider Dota 2 or other mobas by competent developers
Meredith Whittaker (@meredithmeredith.bsky.social) 📣THREAD: It’s surprising to me that so many people were surprised to learn that Signal runs partly on AWS (something we can do because we use encryption to make sure no one but you–not AWS, … Bluesky Social · bsky.app Great justification for using the cloud. The infrastructure requirement for signal to be such a great app would be massive for a small team with low budget. The cloud is fantastic at unknown scaling, bursts beyond reasonable capacity to run yourself, getting compute everywhere in the world, and offloading huge infrastructure management costs. DHH is 100% right that we have gone too far, too many things come out cloud first for services that can be ran locally cough such as your bed cough cough. One week ago when the world came to a hault, I did not bat an eye at these small teams with complex requirements going down with AWS. Their own products seem quite damning to me. It signals that they cannot themselves become resilient to themselves. It shows how hard this problem is, how much cost in complexity and resources it requires. I’m sure there are fail overs that happened successfully that we will never hear about, cri…
Just starred croc by schollz. It’s an exciting project with a lot to offer. Easily and securely send things from one computer to another 🐊 📦
I often want to run an s3 sync in an isolated environment, I don’t want to set
any environment variables, I don’t want anything secret in my history, and I
don’t want to change my dotenv into something that exports variables, I just
want s3 sync to work. dotenv run is the tool that I’ve been using for this,
and this uv one liner lets it run fully isolated from the project.
Working on an upcoming project that requires some threaded screws. Trying to keep a low budget on this one with as much to come off of the printer as I can. It might become a slant3d portals product if it works out. I always like making test prints for stuff like this especially to see how the feel is off of the printer that is going to print the final product and take much longer. First try was a success. What worked I started out looking up standard half inch thread pitch and size, but ran out of time to get the exact profile of a half inch bolt, so I will need to fix that later. Th The print orientation is critical for strength here. This part is a full 1/2: so it should be strong either way, but to make sure we are printing the bolt horizontally to get nice long print layers. To do this we have to give it a bit of a flat spot on the top and bottom. This does not hurt performance, if anything it probably helps give some room for poor tolerances..5" od 13tpi pitch non-standard profil…
Atuin desktop sounds dope AF, tried to install it off the AUR and it was broken for me. Seems early and the dev team is all in on mac. They have an official.deb and.rpm. I’ll have to try again later, maybe the binary will work. The idea of building out runbooks from my Atuin data sounds dope AF. It sounds like a mix of markdown and executable cells like a jupyter notebook, but not. Really pitching hard to those of us in the system administration, dev ops, SRE space. Having something that you walk through when a system goes down and you are feeling panicked in DR mode sounds relieving.
Cloud is cooked bois. Seriously too much dumb shit relies on the cloud. Too much critical shit relies on single AZ’s. If normies are literally loosing sleep over an AWS outage (queue the Uncle Roger Voice), You’ve Fucked up. It’s wild to even think about a bed relying on the cloud let alone fully stop working when UE-1 goes down. I want to live in a world of opt in FEATURES, things that bring value to a product because it makes it better. Somehow a bed smells suspiciously like a cash grab for a subscription because its cloud connected. And yet for some reason it takes 16GeeeBee’s per month. I don’t own one of these, and I don’t want to. I don’t want a subscription for everything, I want my shit to just work. The future we are headed towards a world that is ever more reliant on a few key clouds. Which is fine. It’s fantastic that small companies can start and scale without owning an infrastructure team. It’s great that they have the ability to give us many nines of reliability. Some things just don’t need the cloud.
#artificialintelligence #hiring | Gary Vaynerchuk | 117 comments I care about humanity first, THEN skills.. and in this AI-scaled world, human sh*t will win 🔑 #artificialintelligence #hiring | 117 comments on LinkedIn LinkedIn · linkedin.com More Human stuff that’s what we will be doing. Less looking at docs, more architecting (which suspiciously looks like writing docs), more decision making, more explaining. This is a good positive take on AI right now.
Spinning a 3d printed test block on a threaded t handle.
FastAPI." data-hover-title="Starlette">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 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.
fromfastapiimportAPIRouterfromfastapi.responseimportFileResponsefromfastapiimportRequestfrompathlibimportPathrouter=APIRouter()@router.get("/file/{filename}")@router.head("/file/{filename}")asyncdefget_file(filename:str,request:Request,):headers={"Cache-Control":"no-cache, no-store, must-revalidate",}frompathlibimportPathfilename=Path(f"data/{filename}")ifnotfilename.exists():raiseHTTPException(status_code=404,detail="File not found")returnFileResponse(filename,headers=headers)
Today I learned that while .stignore and .gitignore look very similar they
are not. My obsidian directory had been locked up for a few weeks and I had no
idea why until I logged into the web ui and saw errors. The errors were some
confusing regex validator not matching. I don’t know what the exact error was,
but I went in and only ignored the files I cared about instead of the entire
gitignore. Primarily I was getting conflicts in my .git directory.
The work on fullcontrol by FullControlXYZ. Python version of FullControl for toolpath design (and more) - the readme below is best source of information
I hit an issue with 3d printing oversized parts that I have not hit before. I’m working on some jigs for an upcoming woodworking project that will involve a lot of repetition. We want to utilize some dowel joinery and jigs for consistency. These parts will be up to 20in in length this is much larger than my print bed. I’ve fit things together before Here’s where I went wrong, I wasn’t really thinking through my previous applications. They’ve all been slip fit, primarily print in place joints that need to move. My go to offset for print in place on my printer is 0.2mm, sometimes 0.1mm depending on the scale. A live hinged [[ knife-sharpener-double-hinge-first-try]]. And in the hinges of [[ a-box-of-caps-and-a-macropad]]. Experimenting for feel Fitment like this is a lot dependent on the tolerences of your printer and the feel you are going for. I went to school as a mechanical engineer and theres a lot of science behind press fit joints, that’s not happening in my house on my desktop pr…
This is super cool, thanks to Brodie for reading me this content as I do household chores. lowtech magazine 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.
The Year of the Linux Desktop is a meme, every year is the year of the Linux desktop as it gains rounding errors of market share. Outside of Linux nerds, developers that use servers on the regular, cheap asses reviving old hardware that is dead in the eyes of other OS’s, the average user wont even notice a difference with the right distro. I ran bazzite with plasma for over a year, It would be super beginner friendly while allowing users customization on levels never seen on non-Linux machines. Other than adobe, roblox, and EA games with easy anti-cheat most users probably aren’t going to run in to any issues. They probably wont even notice at this point, which is where the meme comes in. Why would anyone switch if its not noticeably different for the average user, they wont, until what is working for them stops working for them.
Handle jig for theater boxes. The image shows the centerline lineup. This jig came out with a handle a little bit too big, going to go with a smaller one for the real boxes.
Litewind Litewind is Tailwind without the build step litewindcss.com 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.
Python has two ways of adding optional dependencies to your projects pyproject.toml file and. dependency-groups for development Dependency grooups are used when working on the project, they do not ship with the project, users cannot select to install them with the project. These are for things like running tests, linting, or docs. You might want to run these in ci, or keep your dev machines tight. For the most part you can probably keep these in. Depending on your team, fluency, and tolerance for slower installs extra packages. Adding too many tight groups might make it hard for the team to remember all the groups and which one to use and end up with them using anyways. optional-dependencies for users Optional dependencies are for shipping. These are for your users, not your development team. This is used for dependencies that are clearly not needed for all or main use cases. It is annoying to use projects that you need to add optionals to just to use at all so use them a bit sparingly…
anthony has some of the best python highlight videos each year. This might be a good sign, but each year there seems to be less and less that I am chomping at the bit to get to. I thought the remote debugger looked every interesting, his use case for seemed very interesting. I wonder what textual would look like built in a 3.14 world, would it still have built its own debugger/console? Without a process flag you need sudo permissions to attach a pdb debugger similar to gdb.
PEP 735 – Dependency Groups in pyproject.toml | peps.python.org This PEP specifies a mechanism for storing package requirements in pyproject.toml files such that they are not included in any built distribution of the project. Python Enhancement Proposals (PEPs) · peps.python.org PEP 735 describes dependency groups as sets of optional dependencies that are not shipped with the package but intended for development purposes. The PEP includes an example for groups that include test, docs, typing, and a combo typing-test. This is implemented in uv and can be used by several of their commands. Dependency Groups are not Extras The docs describe extras as being intended to ship with the application and dependency groups intended for development. The spec allows both to exist with the same name, but care should be taken as tools may have different implementations. Tools MAY choose to provide the same interfaces for installing Dependency Groups as they do for installing extras. Note that this specification does not forbid having an extra whose name matches a Dependency Group. Users are advised to avoid creating Dependency Groups whose names match extras. Tools MAY treat such matching as an e…
Running Software on Software You’ve Never Run I love a good look at modern practices around semantic versioning and dependency management ( Rick Hickey’s talk “Spec-ulation” is the canonical one I think… blog.jim-nielsen.com 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.
Using Litestream to Restore My Database for Easy Development see using-litestream-to-backup-quadtasks-sqlite-db for how I setup litestream replication for quadtask My mental data-lake · pype.dev I really like how well the local dev is setup to run off of production data here. I’ll use this as a reminder that I need to set up lite stream on a few of my projects that it’s missing from and include a nice sync prod data Posts tagged: justfile recipe. Litestreams interface always throws me for a loop. It works fantastic, but the global config stored in /etc and some of the commands break my brain. It’s not you it’s me. Using real data when you can is goated. Fake data is so often a perfect example of what someone thinks the backend should look like and does not include things that users actually do, running pipelines for days, or setting titles to paragraphs worth of text. Obviously this is not possible everywhere and the more sensitive your data the harder that process becomes.
TIL: Loading.env files with uv run Replacing python-dotenv with uv https://daniel.feldroy.com · daniel.feldroy.com I smell a dependency to dying in my workflow. I originally read the title of the post and thought, “I know how to manage.env and almost skipped it”. I’m leaning more and more on these days, so this should just go in my [[ just file]] to make it easy to run.
I’m really excited about mdserve, an amazing project by jfernandez. It’s worth exploring! Fast markdown preview server with live reload and theme support.
A quote from Dan Abramov Conceptually, Mastodon is a bunch of copies of the same webapp emailing each other. There is no realtime global aggregation across the network so it can only offer a fragmented … Simon Willison’s Weblog · simonwillison.net Interesting catch from the HN discussion over his article that came out yestereday. I scanned it yesterday and it has some really fascinating diagrams showing different phases of the web being open, to being siloed, to somewhere that we are trying to make it easy to publish, and retain ownership. I don’t know enough about bluesky, but the core is build on the AT protocol, you can self host your own instance, you can build different front ends for it. So rather than having siloed instagram, FB, twitter, there are clones of those platforms that read the same data from everyones data, that they have the option of self hosting. I like this distinction between Mastadon here. Mastadon can also be self host, but its data aggregation is decentralized, so each instance is fragmented and cannot have a complete view of the data. The way that the ATproto does its aggregation is quite fascinating and feels right for an open social platform. I’m probab…
This is a super cool movement, I like the idea of giving access to composable components like we have in open source. You want to build a website you have a bunch of options from raw dogging assembly all the way up to predefined templates that just need your content. Idk if the analogy is perfect but there are aspects of it that work. I see where right now we are somewhere in raw dogging c or python. We have cheap nuts and bolts and some low level things, but once someone needs some coupler like this it’s dropping down to drawing it by hand.
Wow, I’ve never seen or thought of multi setup parts this is very thought provoking, not sure how useful it is as we have good adhesives and stuff for printed parts. I definitely want to try this though
I can’t believe this thing is so devicive. I kinda can’t belive that I sit on the same side as Mathes and his always against the grain, non corporate influenced response. So many others have praised Haiden for bringing back the real gladiator bloodsport that SX is, is it that though?? It’s a race to the finish. different than a lot of other racing its very unpredictable takeout moves happen, occasionally as an accident, often taking both riders down at the same time. Also different than MANY sports we have a huge industry of weekend warriors, Some of which make it into the night show of the biggest race on TV. You see we only bring 20 riders from each class, the top half to top quarter are “Factory” riders, the rest are privateers, sometimes these privateers are completely their on their own. There is also something called a last chance qualifier. This is your last chance to get into the night show, often fought by these privateers out of box vans with their brother as a mechanic. Often that last spot is filled by sketchy on edge riding and takeout moves from a rider that looks like he is barely making it, but would run circles around anyone at your local race. We celebrate these a…
I’m impressed by fastapi-radar from doganarif. A powerful debugging dashboard for FastAPI applications. Monitor HTTP requests, SQL queries, and exceptions in real-time with a beautiful React UI. One-line integration, zero configuration needed.
Covetous PilgrimSherwood GangfightLong PinHalfway Home Gang FightRosary StringThreefold PinThread StormProgress so far on the Funk server elytra track. It goes through two sea lanturn lit caves so far.
Epic that this Joslin came back 7 years later to complete this. I thought el Toro was dead, aparantly not. Dude got robbed by a broke ass truck, this must have been eating his soul for the last 7 years.
Today I updated my jinja templates and feeds to include shots posts in the main feed. These posts will prominently show the image in the feed with a small post for each one. Shots are instagram style imge posts inspired by https://justin.searls.co/shots/.
A macropad filled with cheese keycaps placed in random orientations.A full box of 9 keycaps sit behind a cap placed in front, they are custom wedge of cheese caps.A Bambu Lab Printer is working on the first few layers of cheese hats to be placed on top of keycaps.A cheese keycap placed in the middle of a macropad, currounded by black/purple caps in a blue case.A macropad with a pixel heart and mlg glasses sit on a clean white background.A pixel heart kecap in the center of a macropad, the macropad is admittedly dirty, filled with small bits of fuzz.A 3d printed keycap with a heart glued to the top of it. The heart resembles a pixelated game asset.
Big W: A Family Tradition A quick look into where we came from and what inspires us to do what it takes to build a solid reputation. Big W Engineering Solutions · bigwengineering.com I first met Adam in college, he seemed like quite a character on the outside, but was always quite smart and often leaned towards realistic solutions to problems rather than over complicating things. He was part of the SAE Formula car, well known for taking a simple problem and trying to turn it into a real formula one carbon fiber solution. I remember a period where he was a fan of old world blacksmithing as they would say at the time. He even got a few very simple and light parts on the car that were easy to make unlike the carbon fiber alternatives. By the time I was there he was more of a leader and did not do a lot of design on any whole system, but would take out class projects for a component or help with some hard problems. This company feels like it is a great extension of who he was a that time, with about 15 years of professional experience tacked on.
If you’re into interesting projects, don’t miss out on gittype, created by unhappychoice. A CLI code-typing game that turns your source code into typing challenges
A print in place box sitting on the printer bed used as a raft for the 9 caps perectly nestled inside in a 3 by 3 pattern.Fourth Chorus
I don’t know about you, but I don’t re-flash my keyboard enough to ever remember where I put the bootloader. Sometimes its the last thing I think about in a refactor and I end up cornering myself into a place where I cant get into that layer anymore. I’ve started putting hardware switches on my newer builds, but some older builds don’t have a hardware one, so it requires disassembly and jumping the microcontroller. Even when I have one though, I gotta flip my board over and its annoying sometimes, so I prefer to have a keystroke for it. Two Hand hold down What I’ve landed on recently is the idea of a two hand hold down combo for the bootloader. These combos are ones that there is no way I can hit without picking my hands up from their normal homerow position and pressing four keys simultaneously with pointer and thumbs. Here are some example layouts from keymap-editor Timing You can even give it a long prior timeout to really make sure that its not an accidental hit.
LaceFour little 3d printed boxes laying on a white background, one contains a painted lid that says M 2x5.
Inspired by Jim and Dave It’s Fun 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 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 This year I have made extra effort to add more and more people into my Reader. 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 based on these posts that I find interesting, and want to further share to othe…
Meet Gor (@MeetGor21) on X SQLite added generated columns in 3.31 (around Jan 2020) Postgres added generated columns with virtual and as default in v18 (to be released September 2025) There is still a lot to learn in SQL a… X (formerly Twitter) · x.com I’ve never tried generated columns, but it is something that I’m interested in. It is nice to have things computed and in the database if you ever need to query on them. My brain is now churning with possibilities and quesions, does this work with Alembic? How does this compare to views?
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.
<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 <spanstyle='cursor: help; color:yellow;'title='respective to the
python developer I am and the team it is used for'>simple</span>.
</p>
3d-printing is so freaking cool. I love the idea that someone could get a hyperspecific tool to their needs for super cheap. Whether it works permanently or to try out one that you want to spend thousands of dollars on to have well done from some high end materials this is a great application.
External Link jesseleite.com 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 is about. https://jesseleite.com/feed
"Pacman is currently in use, please wait." / Pacman & Package Upgrade Issues / Arch Linux Forums bbs.archlinux.org I ran into this issue today, never have I ever before though. Omarchy looking a bit sus on me. This was even after a fresh boot, no pacman process running. just realized I forgot to check yay which it has installed for me. I had to force it in.
Today I learned how to use tar over ssh to save hours in file transfers. I
keep all of my projects in ~/git (very creative I know, I’ve done it for years
and haven’t changed). I just swapped out my main desktop from bazzite to
hyprland, and wanted to get all of my projects back. Before killing my
bazzite install I moved everything over (16GB of many small files), it took
over 14 hours, maybe longer. I had started in the morning and just let it
churn.
This was not going to happen for re-seeding all of my projects on my new
system, I knew there had to be a better way, I looked at rsync, but for seeding
I ran into this tar over ssh technique and it only took me 6m51s to pull all of
my projects off of my remote server.
When you fill all of your time with a bunch of other things, it becomes really hard to become a friendly person. Prime talked about trying to learn how to drop the hurry in his life, and how to not always be in a frenzy of going from one thing to the next. It’s something that puts us in a state that its hard to remember to be friendly. Hard to remember that theres always time for coffee. I do my best to always leave time for coffee, whether at home with my wife and kids, as well as at work. I am in a very unique place at work where I have a rare set of skills for the industry I am in. This comes with a lot of people insterested in how to do things like running data pipelines or managing server infrastructure. I always take time for these conversations, I find them interesting, and useful. Sometimes you end up with someone who asks the same questions every 6 months, other times, you have someone flourish from these conversations. I’m not saying to take on work from every other team in the org, but giving 30 minutes to help mentor others can go a long ways. I’m still not the best, I still get wrapped up in my own stuff just like prime calls out. I sometimes get frustrated with others…
I’ve been 3d printing for years, and create a lot of my own designs. Many of them are hyper specific to me, but for the ones that I think others might find useful I will be putting up here for sale, you can buy prints that will show up to your door in a few days. I’m leaning on the slant3d print farm so this depends on your proximity to them. The prints are typically black petg, if you would like a different color reach out to me and I will see what other options we have, or for an additional fee I can print it myself and ship out special colors. These are all designs that I made and actually use myself, they bring me joy knowing that I made just the thing that I wanted to exist and if you buy something I hope that it brings you this joy as well. Skateboard Wall Mount I’ve used these skateboard wall mounts for years, I have 5 in my office featuring new decks in the queue, and probably 10 in the garage to display used decks, and fully assembled boards for me and my kids. I use these for…
Skull Ant
I’ve been leaning on
lazy-self-installing-python-scripts
more and more, but I did not realize how much tooling that
uv
gives you to help manage your scripts.
uv init --script up
uv add --script up typer rich
uv remove --script up rich
sed -i '1i #!/usr/bin/env -S uv run --script' up
chmod +x up
./up
The result is a script that looks like this, its executable as what looks like
regular command in your shell.
#!/usr/bin/env -S uv run --script# /// script# requires-python = ">=3.13"# dependencies = [# "typer",# ]# ///defmain()->None:print("Hello from up!")if__name__=="__main__":main()
Ben Dicken (@BenjDicken) on X I am once again begging you to put your database servers and application servers in the same region. X (formerly Twitter) · x.com This is a really great animation of latency across different aws regions based on us-east-1.
Hollow Knight: Silksong is breaking Steam, Nintendo’s eShop Valve's usually stable platform struggles thanks in part to lack of pre-loading options. Ars Technica · arstechnica.com Only 1 hour into the release of silksong, and it’s taken down all of the eshops, and steamdb dows 100K concurrent players. The Humble store ran out of steam keys for silksong already. You guys better not break this thing before I get off work and My son gets home cause we are playing this tonight!! I just Check steamDB, and they have 441K concurrent players right now. An Indie game! This shows when you treat your fans right and make something incredible they stand behind you.
Trump says: With this order, I am announcing “America by Design,” a national initiative to improve experiences for Americans, starting by breathing new life into the design of sites where peopl... Chris Coyier · chriscoyier.net Everything is becoming political these days! I hate it. I regularly hear a friend say these podcasts need to set the politics to the side, but you know what its fukin hard when the gov is upending every corner of life and rebranding it with their own new twist. The billionaire class is winning and it looks like there ain’t a thing we can do about it. Here’s another example of someone taking head of an office they have no business being in. An entire set of working class folks let go for this guy to take over. And what does he want to do, make govt services as satisfying as apple. Apple is cutting edge, it is not something that is one bit sustainable. Their launch sites are generally super heavy, hard to scroll, slow, over animated, but damn they are satisfying the first time you scroll through them, after that just let me through.
Home Free online tools for people creating pixel art and other low-spec art. Lospec · lospec.com My son introduced me to lospec.com, It has a great set of color palettes and amazing pixel art inspiration. I particularly liked royal armoury and of course I’m a bit partial to hollow.
Justin Searls @searls GPT-5 + Codex is so fast that when I expressed suspicion that a script was returning too few results (via), Codex corrected me that I should have passed instead. Sure enough, t… justin․searls․co · justin.searls.co This is hilarious, the llm shames him for not utilizing the flag, THAT DIDN’T EXIST WHEN HE RAN THE CLI!
Vibe code is legacy code Code that nobody understands is tech debt blog.val.town Brilliantly said. Vibe coding 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
I enjoyed this post from Theo and think it deserves re-iterated, revisited, and to remind myself of some of these things. https://youtu.be/6TMPWvPG5GA?si=guQem4R8dLOMBntP&t=1356 The skill/read spectrum The first diagram describes that there has become a spectrum of agentic coding from vibe coding where you don’t ready anything, to looking at everything in detail, across a group of people who don’t have a clue what the code says to people who could do it way better if they took the time. The importance spectrum He argues here that its ok to bounce between A,B, and D, but C becomes dangerous. I’d argue that he brought up a 3rd spectrum that is important later on, “how critical is this”. I think the I don’t know, don’t care, didn’t read, but the thing did its job is quite fine, but don’t know, don’t care, mission critical is the main issue we are seeing with agentic coding, primarily in the didn’t read but critical Zone. The Rules This is the list that prompted this post, I think it serve…
Rich Pixels Neat Python library by Darren Burns adding pixel image support to the Rich terminal library, using tricks to render an image using full or half-height colored blocks. Here's the key … Simon Willison’s Weblog · simonwillison.net I saw this post from Simon and I had to give it a go and got some pretty good results. His script is a small cli wrapper around Darren Burns’s Rich Pixels. It works well even through tmux, since there is no terminal magic, just unicode blocks. Some not so good, and needed the terminal font size cranked up.
This one is one that I’ve been using quite often, I did’t have a hotkey for it,
I just used the rm shell command.
!!rm %<TAB><CR>
When you type !! from normal mode it will automatically put you in command
mode with .! pre-filled, then you just type rm and <TAB> to
auto-complete the current file name, and <CR> to execute the command.
The one quirk that I don’t like about this is that the buffer remains open
after deleting, and sometimes I forget to close it and end up re-creating it by
mistake when running :wall or :xall.
Create a DeleteFile command with vim command.
:command!DeleteFileexecute"!rm %"|bdelete!
Create a DeleteFile command with lua.
vim.api.nvim_create_user_command('DeleteFile',function()-- Delete the current file from diskvim.cmd('!rm %')-- Close the buffer without savingvim.cmd('bdelete!')end,{})
The Knight collects the mark of pride charm after defeating the mantis lords.The Knight reigns victorious against the three mantis lords, earning the respect of the mantis village.The Knight falls victim to the Mantis Lords in his first attempt to challenge them.The little night steps in front of the three mantis lords and draws his nail signaling his challenge.Parkour though the thorns yields a wanderers journal.Unlocking the Spore Shroom Charm in Hollow Knight Keeb RunA tricky parkour through the thorns to yield a mask shard and complete a full mask.A cut away keycap on a Durock lupine switched pressed all the way to bottom out.A cutaway keycap sitting on a durock lupine switchA keycap glued to a 2x4 freshly turned into a cut away keykap.
I was curious how/if my custom keycap design was hitting my switches. So I set out to find out what the fitup inside of this assembly looks like, but not theoretically, a fully sliced view into their fit up in the flesh. The set up To setup for this cut, I flooded the edge of a 2x4 with hot glue, and inserted the cap such that the step was tangent with the edge. This way I could use the edge as a guide to cut one side off and leave the stem in tact. I took a handsaw to it and filed it smooth. Removal was applying some isopropyl alcohol and it popped right off. Results Actually the results aren’t that interesting. I found that the pictures turned out really good, but nothing was touching and it sits in the stem exactly as I thought it did. I had a thought, what if the cap is not allowing the switch to reach it’s full travel, and had no way to know, but now I know.
The long trek has paid off and we have aquired Isma's tear, it coats our outter shell with protective coating from the acid, giving us access to new parts of the world.Finishing the battle before accessing Isma's tear in Hollow KnightMaking light moves of this tricky parkour run between deepnest and the royal waterways
This is a really uniquely designed print in place bb launcher. I’ve never seen bb’s on a zip tie like that, they look smooth and molded. Interesting to hear about the design process.
Learn to use email with git! git-send-email.io This site gives us a glimpse into the development workflow using git over email, without remote centralized servers. I found it interesting how patches can be sent with an optional cover letter nearly like a pr would be made.
I’ve used this knife sharpener that I printed for a few years now. I thought that it was based on the Russian designed TSPROF, but in looking through the history it looks very similar to the USA Edge Pro Inc Apex designs that goes back to the 1990’s. The angle isn’t quite holding like it used to. I’ve got a lot of ideas for my own model, but for now I’m going to print some spacers to help get repeatable angles. so I may have went to the next level
Vim :noa is a command that runs what you call without autocommands on. This
is typically used when you have some BufWritePre commands for formatting,
most auto formatters are implemented this way in vim. It can be super useful
if you have something like a yaml/json file that you have crafted perfectly how
you want it, maybe it has some source code for a small script or sql embeded
and your formatter wants to turn it into one line. You could get a better
formatter, but for these one off cases that aren’t a big bother to me I run
:noa w.
Repository Mirrors | Forgejo – Beyond coding. We forge. forgejo.org Forgejo supports repository mirrors, I think this is how I am going to handle migrating all of my github repos into forgejo. over time I’ll probably go through and delete a bunch of unnecessary one from github, ones that might have a user or two I might keep on github. I have such small scale projects with almost no users I am not sure that It really matters for me or not.
Vertical combos are dumb, this makes way more sense. · WaylonWalker/zmk-config-42block@48c30d2 Contribute to WaylonWalker/zmk-config-42block development by creating an account on GitHub. GitHub · github.com This commit to my keymap gets rid of vertical combos, those were a bad idea to me. Maybe I didnt give it a shot, but hitting two keys at once on purpose with the same finger is a skill, one that I don’t have. This change maps those symbols so that they work as a combo or layer switch, so getting the layer key in first does it by layer, but pressing them at the same time gives me the combo, kinda feels genius. We will see how it goes.
Let's Make Sure Github Doesn't Become the only Option - Edward Loveall blog.edwardloveall.com 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.
I’m playing through peak right now with Wyatt and it is a great game, a small wholesome indiegame that is legit hard, but fun with the simplest concept. You are a scout who has crashlanded on an island, your goal is to get to the peak with your friends. You must manage hunger, stamina, weight, health and energy. You have limited resources and must help everyone to the top, if someone is low on stamina, they are going to need a helping hand or a stonger climber to go up and set pitons and ropes. Its a fantastic collaborative play game Ripped off It was insta-ripped off by roblox with microtransactions pay to win garbage. It looks one for one the same damn models and interface, they spared nothing at making it look exactly like the original. They let you buy a golden apple assuming it gives you crazy stamina to climb with ease, and it costs goddam robux. As Big A says here theres nothing they can really do, the roblox platform just lets this happen, and if they didn’t they would loose huge revenue because this is so prevelant. Legal fees would crush this small team that made it.
Explore Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job. Forgejo · git.dbushell.com damn david has been busy, this is sick seeing all of the repos, I’m ready to jump in!
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 damn, M$ really pushing hard on moving github into the ai org.
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.
Reflection - AI Work and ADHD It's time to be more devoted to my work... AI has been a cool technology to watch and experience but one thing I'm allowing it to do to me is to kill my love... My mental data-lake · pype.dev Crazy that we wrote such similar posts on the same day independantly, I just wrote I'm Out On Agents sitting offline in a doctor office. The two pull out’s are very good, “AI is not magic, it’s a headache”. By definition AI is magic to the vast majority of people, but funny how true this is. “When I finish tasks, I’m not fulfilled… if anything I’m relieved.” I just wrote something very similar, maybe this feeling can be used for guidance to when to use AI. When you complete this task will you feel relieved its over? Is it a chore? or creative work you want to accomplish.
Its the year 2025 and we are only a few years into having 6 months to live before ai takes our jobs, and the big push right now is agents, managing agents. I will fully concede to I’m not doing it right, or a future state gets better than where we are right now, but right now they kinda suck. Transparency I’m sitting offline right now as I write this, These are my feels, no research, no links, no ai, just vibes. Chat Chat is what really kicked off ai uses and goes back as old as computers, but it always sucked. Then chatgpt rocked the world with the biggest launch day in history and showed us that it could actually be pretty good. Unethically trained on everything they could get their hands on, burning cities worth of electricity to train, and keep training to stay ahead of the competition. It does a damn good job. There are tells, and if you see enough of it there is a lot that turns to slop, but if you had never seen it before, there is no way you would assume that it was not a compu…
The inside of a keyboard before the tools are used to cut away switch cutouts in the board.
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 Gave modd a try today, and I like it, its something I am going to consider slotting right into my justfiles. Gave it a try and it seems to work really well out of the box and easy to configure.
combos only on default layer · WaylonWalker/zmk-config-42block@2398fc7 Contribute to WaylonWalker/zmk-config-42block development by creating an account on GitHub. GitHub · github.com Fighting some parens in hollow knight lead me to subtle little pauses when playing, I’m swapping combos to only work on the default layer, except for grave, I must have it for minecraft.
Today I gave modd a try, and it seems like a
good file watcher executor. I tried using libnotify to send desktop
notifications, but all I got was modd, I might not have notifications setup
right on the awesomewm machine.
config goes in modd.conf
**/*.py {
# check formatting via ruff
prep: ruff format --check .
# check docstring formatting
prep: pydocstyle .
#
# # check type hints via ty
prep: ty check .
#
# # run linter via ruff
prep: ruff check .
}
I installed it using installer from jpillora, pulling pre-built binaries right
out of the github repo.
curl https://i.jpillora.com/cortesi/modd | bash
Then you can install it, and on file change it will run the commands you
configured.
THE_DEATH_OF_THE_USER_INTERFACE.md markdown This is an insane level of agentic llm use, the author claims to not even use his filesystem anymore, its too cumbersome to find where downloads and documents are and way too easy to ask an agent to move all pdf’s from downloads to documents. This scares me on multiple levels, theres the epidemic of ai datacenters and ai companies burning cash, burning through gpu’s and api calls to a giant data center just to move files sounds absolutely insane to me. Then there is the level of accuracy. There’s a level of interpretation that happens with english that does not happen in code, code generally does what it does repeatably. The examples of “Move old backups to archive” is so open for interpretation that its ready to ruin your day, which backup, which archive, how old? Dude is ready to loose his files. Last is privacy, there is going to be a privacy epidemic that is going to pwn so many people giving these things full access to email, chat, ALL of YOUR FILES, and computer, your whole network. Look I get it this is where things are going, but dude is early, like too early. These things need to become far more accurate, less power hungry, and r…
Damn, social media is at an all time low. I’ve felt all of these issues and when I got a new phone I started fresh, I didn’t install one social media app. Luckily Youtube has remained solid for me. Yes shorts are a bit less what I came for and more addicting content they had to do in order to keep up. There are some legit good commedians, a bit of good knowledge and a bunch of trash that is hard to look away from on shorts. I still find myself able to find content I enjoy and signed up for on YouTube. I feel like I get a one way relationship with someone similar to a TV show or news anchor of old media. Social Media has morphed from follows likes and similar, to viral posts by creators I don’t recognize. posting and immediately getting like by two hot women with accounts created this week. The rest of the real creators left on there are stuck trying to keep up, echo viral trends, trying to keep up the content treadmill. A few come through, but most feel somewhat forced. A lot of it is ai generated, and whats not mostly doesn’t feel that human anyways. The people on here seem to really tie the internet to social media and are ready to quit the internet. I think there is more to the…
Today, some great work on the knife sharpener re-design. I've been using the same one since I first got my ender 3 3d printer, and have wanted to make some...
A 3 lobed wing nut perfectly hiding the m4 cap screw underneath of it, flooded in uv resin.Testing out the double hinge knife sharpener holder for the first time.A bambu A1 printer printing my double hinge mid print under a uv lightUnlocking Kings station in my hollow knight keyboard only runThe final blow to the Dung Defender as he admits defeat and allows the little knight to access the valve in the royal waterways.Using desolate dive to unlock the Royal Waterway bench in my Hollow Knight keeb only run.Entering the royal waterway during my hollow knight keeb only run.Using the simple key to unlock the Royal Waterway in Hollow Knight during my keeb only run.Purchasing the Lumafly Lanten from Sly's shop in Dirtmouth during my Hollow Knight keeb only run.A CAD design for a movable hinge that turned out looking like a space helmet.
Today I needed to make a backup of some config. I wanted to add a timestamp so
that I knew when the backup was made. This would make unique backups easy, and
I could tell when they were made.
cp configfile configfile.backup.$(date %s)
If you want to decrypt the timestamp into something more human readable. You
can list backup files, strip out the timestamp, and then convert it to a human
readable date.
/bin/ls | grep backup | sed 's/configfile.backup.//'| xargs -I {} date -d @{}
Search Needs a Human Solution: A Manifesto When was the last time you felt genuine discovery on the internet? Not algorithmic recommendations. Not SEO-optimized listicles. I mean real, surprising, meaningful discovery. Search is brok… Candid and colorful thoughts on enterprise readiness · simplecto.com The hype bro influencer culture is over, we are fucking burnt the fuck out. I’m done scrolling through ai slop on social media, I like in a few times a week with hopes to see some friends at the top of my feed and jump out. The Doom and Gloom of politics, everyone has a side that will bring glory and the other side will start an apocalypse did me in, ai generated bs is just driving those platforms further into the ground, I’m tired and done. I’m starting to lean into RSS, I hope for projects like Sam mentions here make this more possible for the average person. I hope that real people make awesomelists like he mentions. I hope that the internet becomes more human again.
You Should Be Hiring Mullets. (write that down) Not because it's cool (it is), but because it's what your company actually needs right now. "Business in the front, party in the back" isn't just some throwback style. It's the whole point. In ou… Candid and colorful thoughts on enterprise readiness · simplecto.com We need more mullets (as sam describes them). Not so serious, but serious when it counts. Ready to back you up, get some shit shipped, roll up their sleeves and do the work, stand up in front of people and pitch ideas. We have too many hustle bros pitching shit they cant do, ai doomers who have been here 10 minutes think they can replace everything they don’t understand with a word calculator, framework Andys afraid to ship till its perfect. Grow a Mullet.
OverType - The Markdown Editor That OverType is a transparent textarea over rendered markdown. Plain text simplicity, WYSIWYG beauty, zero complexity. overtype.dev The most under hyped, under engineered text editor overtype. Going to be popping this into some places like Thoughts, and maybe more, looks small and easy to use. Gives just a bit of nice features over a text editor.
Damn this VAnessa is hitting my feed with hard topics, I’m not sure whether to subscribe or to block. These top websites only feel worse every day, when I post on twitter and I get 4 likes by accounts that were created 5 minutes ago with racy profile pics it feels obvious. I wonder how larger accounts deal with it. Now that llms have made making these bots mimic humans easy It really makes you want out. I’ve really become a curmudgeon and leaning on rss over the past year, I dont like it, but idk what to do.
This is a crazy theory I did not realize was out there, but damn power just keeps costing more and more. She does not mention it here, but there are many sources of power for the grid that cost vastly different amounts to produce, generally “clean energy” solutions are harder and more expensive to bring online and don’t just turn on and off at the flick of a switch. Anyways, how are the power companies divying this power out to users, do some get preferred rates or supply? My rates just went up for the summer period “temporarily”. Our infrastructure is aging hard to upgrade and needs something done to it. Who’s really going to pay for it, these AI companies are throwing big numbers but do they have any real money? Do they have any real revenue after building out massive data centers filling them with the most expensive hardware? These guys are burning cash like crazy.
DHH (@dhh) on X Rewiring your muscle memory for copy/paste when you go from Mac to Omarchy is an important rite of passage. Not friction to be whittled away. We need more rituals in society. More tokens of sacrifi... X (formerly Twitter) · x.com Today I learned that its spelled “Rite of Passage”, and is short for ritual. Mac has so many of these things that are just different, but do not let you reconfigure them and you are stuck with it. copy / paste I don’t get, the 3 times I’ve touched a mac since I was a kid its frustrated me. Is it lock in? or is it them actually thinking this is the right way and you all shall do as we say.
After a long time I begrudgingly setup window rules for hyprland. What I wanted was the ability to log out and jump back into work with a freshened work...
A post apocolptic water tower sitting on a rock drawn in blues and greens with moss hanging from it, including a rusty red top and legs. Drew by Wyatt.
[x] remove nextcloud - [x] pause photoprism - [x] pause syncthing - [x] move data to walkershare - [x] filepermissions 1000:1000 all of it - [x] organize how...
Performance Difference between RWX and RWO volumes · longhorn longhorn · Discussion #6964 Hey all, because of some internal testing I made a couple of experiments on our Cluster related to performance of RWX and RWO volumes. Because this might be of interest to some people I thought I s... GitHub · github.com Interesting longhorn storage performance test, author does highlight right away that this is a simulation and not a REAL test. I did not fully understand the storage semantics before reading through this. RWO - Always presents a filesystem or RWX / ROX - Always presents a network share to the pod. This is an important distinction for applications that use sqlite or a tool on top of sqlite such as diskcache. With sqlite it is not recomended to run over nfs due to missing required file locking mechanisms. Longhorn storage still provides a lot of benefits to these applications as the storage is automatically replicated, if the node that your application is running on goes offline a new pod will start on an existing node. If you have planned downtime, you can cordon and drain a node. Since the data is available in another location you will be able to start a new pod on anther node…
Huge progress on shots not to be confused with shots inspired by . I'm building out my own instagram grid design, right now its 4 wide, but I wonder if it...
Inspired by Justin Searls Shots, I made started my own shots feed for self hosted Instagram style photos. The layout could use a lot of work, the feed seems...
Sad day yesterday. We discovered that our freezer was left cracked over a day or so. Kids self serviced themselves to some sausage dogs at some point and...
GitHub Ensloppification The one where I say goodbye to GitHub dbushell.com · dbushell.com David’s got me looking at Forgejo. I’ve seen a lot of GitHub jumpers just this week, and I’ve been tempted for a long time to self host one anyways, so it might be time. I don’t have hard issues with anything, I just like self hosting my own personal stuff. On the flipside, I hope this does not turn yet another thing to shit. I lived through the download software from sourceforge and hope you get the right download now button and not the one from the virus ad. I’m not putting my really public/useful projects on a self hosted platform… well not as the only source, I see how that comes off edgy. I like having some trust in the platform. Currently theres a lot of issues with M$ and GitHub using you for your data, but I don’t think injecting virus, malware, bitcoin miners is a worry I have coming from a GitHub release, unless it was put there by the author.
Note-taking & Editors - awesome-selfhosted A list of Free Software network services and web applications which can be hosted on your own servers awesome-selfhosted.net Great list of self hosted markdown editors. Looking for a good one for my wife and family to use that does not look like editing code.
Slops AI-generated slop that I thought was worth sharing. justin․searls․co · justin.searls.co Justin has such great feeds on his site, I love how the main feeds are so prominant just to the left of the article you are reading. in particular feels like a great category. Saving this chat for later, or found it particularly interesting, but don’t really want to make a post about it.
noah (@noahsolomon) on X this is about to be my go to on plane flights. u don't need to pay for wifi since it's just a dns request which aren't gated behind a paywall X (formerly Twitter) · x.com kinda wild, you can chat with an ai bot over a dns request??
blakewatson.com turns 20 - blakewatson.com I bought this domain as a college student using a friend’s credit card. Twenty years later, it’s one of the best decisions I've ever made. blakewatson.com · blakewatson.com 20 years is a long time to work on something, congrats Blake! So many great links to small web creators, why, and how to build your own site. As algos turn to shit the small web remains a space that cannot be ruined. There will always be rss feeds from real humans writing for other humans.
I recently discovered Termix by Termix-SSH, and it’s truly impressive. Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities.
ThePrimeagen (@ThePrimeagen) on X there is literally no universe that this is true 10k lines and its not bug filled crap? ok Lex Luthor, its time to step away from the keys X (formerly Twitter) · x.com there is literally no universe that this is true 10k lines and its not bug filled crap? ok Lex Luthor, its time to step away from the keys Is this 10k real production code? Dry in the sense that it hasn’t re-implemented the same s3 api dozens of time? What language are we talking something dense like python? something very verbose like html? Maybe a language where you implement everything from scratch like lua. This matters a lot. Playing with little POC applications that dont mean anything I can quickly come up with 500-1k likes of code that I may never look at again. I’m sure I can come up wtih 10k decent lines of code a day. But for the same application without duplicating everything over and over? For something that moves the needle and really matters?? every single day?? Consistently +10k, not 10k changes, not 10k deletes of yesterdays code. nah thats wack.
I found this post from miriam.codes while reading dbushell's notes. I kinda agree with Miriam and David here. AI is really making me feel like an old...
The Brutalist Report The day brutalist.report Discovered the Brutalist Report from CJ on syntax.fm on their rss-is-not-dead episode. The way he described it, I was like gnaw thats whack, not into it, but I had to check it out. It’s actually great! Except the political shit, I go to rss to get away from political finger pointing. The Hacker News list is great, maybe I need to pay more attention to hacker news??
Omarchy is on the move Omarchy has been improving at a furious pace. Since it was first released on June 26, I've pushed out 18(!) new releases together with a rapidly growing community of collaborators, users, and new-t... world.hey.com It’s facinating how many people are making the jump from mac/windows, not just to linux, not just to archlinux, but to a full on tiling window manager. DHH has omakub and omarchy. Omakub is advertised as easy and for beginners, but many are skipping right over that to go straight for the hard stuff. DHH mentions hyprland here, one thing I think he is missing is that this is the first real mainstream tiling window manager that is a competitor to i3, awesomewm, qtile that runs Wayland. I think they were able to pull a bunch of great benefits such as lack of screen tearing and animations from this.
YouTube has earned its crown I often give Google a lot of shit for shutting down services whenever they're bored, hire a new executive, or face a three-day weekend. The company seems institutionally incapable of standing behin... world.hey.com I wonder how much of killed-by-google is due to is 20 percent time. Allowing engineers to follow a passion project turns into a real product that doesn’t have full backing and support of the company. similar to DHH as much as I am hurt by reader and all of their privacy BS that comes from ad based revenue I appreciate YouTube and them supporting all of the creators on it. Giving a platform for small creators the ability to sustain themselves and reach a larch audience without big coorporate rules.
20 Percent Time Google is famous among engineers for “20 percent time.” It was a policy created early on that allowed employees to spend one fifth of their time on projects of their own choosing. Gmail was one... Ted Merz · ted-merz.com Googles 20 percent time is fascinating to me. It seems like a great way for engineers to fill up their tank with new skills, passion projects, and the need to scratch an itch. To me these days it feels like something that would incentivize good talent to join. I can remember back earlier in my career December and January were slow months for big companies. Riddled with vacation and annual planning cycle. I would use this time to create tools and libraries that would help me move quicker throughout the year. I clearly remember having a conversation with a colleague several salary grades ahead of me come mid February asking what I was up to. I was furiously pecking away at some of these projects while he let me know that he had been waiting for this years plan for months and had no tasks from the boss. That said, I don’t think any major tech company is going to adopt 20% time these days. It’s too chaotic, too hard to manage and impossible to measure.…
Blog tonsky.me · tonsky.me Niki has one of the coolest yet simple personal sites that I have seen in a long time. We need more of this on the internet! hover over his face, try dark mode, submit personal data, there are so many really cool Easter eggs to discover!
We shouldn’t have needed lockfiles Lockfiles are an absolutely unnecessary concept that complicates things without a good reason. Dependency managers can and are working without it just the same. tonsky.me · tonsky.me I wholeheartedly agree that packaging is broken, semver is broken, expecting much better from a system of oss that is built on top of volunteers, passion projects, nights and weekends is a fools errand. With that I disagree that we we dont need lockfiles. Maybe its Nikki’s experience in java and my lack that puts us on this opposite spectrum, but without lockfiles the world changes underneath us as we release. One small change to your source can introduce a whole set of new features/bugs that you did not plan on without a good locking system. It can also cause you to need to do dependency resolution at application build time and not ahead of time.
I Will Fucking Piledrive You If You Mention AI Again — Ludicity ludic.mataroa.blog Fantastic write up on their experience in ai, opinions on ai being a hoax with a veil of reasonable usefulness. Arguing that most people do not understand enough to see the difference, and thought leaders see where it is now, see where it was yesterday, it must be going to general intelligence tomorrow and you all will loose your jobs without this. I appreciate the satirical language here.
Letting Ai drive code feels like giving up so much control. It feels like its leaving so many brain cycles open for other things, yet its not quite good enough to do production level things on its own, so we must watch it, we must review it, yet its code can be some of the worst to review left unattended. I’m feeling this right now as I’m avoiding writing a bit of js that I could probably do myself. Some day this is likely to flip, and it will get better and we will spend our brain cycles thinking about architecture, security, marketing, big picture ideas about the problem we are trying to solve, but we are not yet there and as long as we still need to review I find it a much more pleasant workflow to have in a separate window than have it change the whole fucking project for a simple change.
A quote from greyduet on r/teachers I teach HS Science in the south. I can only speak for my district, but a few teacher work days in the wave of enthusiasm I'm seeing for AI tools … Simon Willison’s Weblog · simonwillison.net Woof, ai is sucking the soul from everything, being forced onto teachers who don’t want or care about it and are simply sharing ai-slop to their kids without giving it much thought. remember that it is rude to share ai-slop with others that you have not vetted, It’s next level to turn this into teaching material for children who are forced into your classroom and have no choice about the matter, you should be ashamed.
Yesterday I started building out some qrcode tooling for myself starting with qrcode.waylonwalker.com. This is part of my tinyapps project.
I have a couple of use cases for simple qr codes in python coming up. One is
for blog posts, the other is for auth into a new server application logged to a
terminal. I tried the qrcode library
and it does not look as nice to me and I found
pyqrcode to be quite nice.
import pyqrcode
url= pyqrcode.create('https://waylonwalker.com/qr-codes-in-python')url.svg('qr-codes-in-python.svg', scale=8)print(url.terminal(quiet_zone=1))url.svg('qr-codes-in-python.svg', scale=12)url.svg('qr-codes-in-python.svg', omithw=True)# width is controlled by the containerurl.svg('qr-codes-in-python.svg', omithw=True, module_color='#ffd119')url.svg('qr-codes-in-python.svg', omithw=True, module_color='#ff69b4', background='#2b034c')
Colors • Pico CSS Pico comes with 380 manually crafted colors to help you personalize your brand design system. Pico CSS · picocss.com A great alternative to tailwind colors that has everything defined in one colors file for only 0.3kb. it feels well worth the weight if you are trying to skip a build step or avoid npm/node. It has even more colors than tailwind. I appreciate that there is a grey palette that is fully desaturated.
GitHub - rushter/selectolax: Python binding to Modest and Lexbor engines. Fast HTML5 parser with CSS selectors for Python. Python binding to Modest and Lexbor engines. Fast HTML5 parser with CSS selectors for Python. - rushter/selectolax GitHub · github.com Selectolax you have my attention! I will be giving this a try for markata which often suffers from slow beautifulsoup. It appears to have everything I need for my simple use cases.
If you’re into interesting projects, don’t miss out on selectolax, created by rushter. Python binding to Modest and Lexbor engines (fast HTML5 parser with CSS selectors).
How To Build The Tallest Building - Gary Vaynerchuk There are two ways you can build the tallest building in town. Once you understand this, things get really good. Gary Vaynerchuk · garyvaynerchuk.com Have some positivity! “Just Build the Tallest Fucking Building” is one of my favorite Gary Vee quotes. Build good community, bring others up, and stop tearing everyone down, listen to the vid.
External Link meetgor.com Yes, I can review the code and make changes, but who in the world loves reviewing code? Do you love reviewing peers’ PRs? really? I’m with MeetGor here 100%. reviewing the nuance, not being as involved with the process of creating the architecture design, not solving the problems that arise in development make it hard to effectively review and not turn into LGTM man.
External Link meetgor.com Sometimes, all you need is a mindset shift, a blocker in your mind that holds you back from doing certain things. And for me, I have consumed enough tutorials and posts about Kubernetes, that I need to put to use and create. I have been stuck in the learning cycle, lets push to prod with kubernetes. This hurts. I know others with this learning style that need to see the full picture before actually doing something with new tech. The way I first got into kubernetes I was looking for the easy route and somehow k8s came up several times as a suggested route Looking for a Heroku replacement, What I found was shocking!, So I dove in head first with k3s and kompose. What I found was that it was not all that hard once you start to see how the pieces fit together, no amount of reading tutorials would have gotten me there. Does anyone care if you use simple yet fragile bash scripts or heavy weight Kubernetes cluster for just clicking buttons and creating and updating rows in a database? No! You know what, let’s fucking use Kubernetes. Let’s Gooo. Use what is right for you and stop parroting kubernets is hard, heavy, for big companies, maybe actually try it first.
External Link meetgor.com If you want to use it for the purpose of learning it, please do use it. Kubernetes as usual is a tool like others, you can’t use one tool everywhere. Where bash scripts work, they just work, where they don’t they fall apart too, kubernetes works like a charm. Use your grug brains a little and choose wisely! In the end, who the hell cares if you use kubernetes or bash scripts to scale if your users are happy? Well Said!
Kubernetes Isn Kubernetes isn sliplane.io This post feels like it was written by someone who has never tried kubernetes, someone who reads twitter, listens to t3.gg and thePrimeagen (who cant even container let alone kubernetes). If you cant run linux, use bash, build your own docker images, run docker comfortably. If infra is not your thing kubernetes is probably not for you. Kubernetes Was Built for Google Just like how react was built for facebook to solve facebook problems with many teams contributing effectively to the same interactive interfaces. Turns out that react is actually a pretty good product if you have a highly interactive page, and if this is your bread and butter, you can make overly heavy static sites with too much build very effectively. It works and runs much of the internet now. We are getting serious. We need serious tools. Big companies use Kubernetes. We should too. It feels more professional. It sounds like we know what we are doing. If anyone uses these reasons to pitch kubernetes to me they don’t belong in a position to make any sort of decision. The first one could be a heading with maybe something under it. But Kubernetes should not be your first infra…
I’ve got a few samba shares going in my homelab, and I’m struggling finding a
great app to scroll through vacation photos with my wife. I want something
intuitive, non intimidating, and just works. Turns out that the default file
browser application for hyprland works great, but you need to enable previews
for remote storage for it to work for my use case here.
csi-driver-smb/deploy/example/smb-provisioner at master · kubernetes-csi/csi-driver-smb This driver allows Kubernetes to access SMB Server on both Linux and Windows nodes. - kubernetes-csi/csi-driver-smb GitHub · github.com Great guide to setting up a samba server right in kubernetes. I tried it out after too long of playing with trying to get connected to a samba share on ucore, no idea what was wrong, but this just works, and will live in my homelab no matter what distro I’m on, no playbook required to set it up, just good ol k8s manifest. TBH I cheated and haven’t set up the secrets yet, so its not quite in argocd or in my github repo, but POC is there and it works as advertised without issue.
DHH (@dhh) on X You have all the time you need, you're just spending it poorly. Don't tell me you don't have time for Linux or kids OR BOTH. You have time for all of it once you stop filling your day with junk act... X (formerly Twitter) · x.com The message so many of us need to hear, stop scrolling and start creating. I’m not sure that I have a heavy issue with this, I barely scroll the socials anymore, I have my own rss reader curated with people that I enjoy consuming from. YT is often done as a family activity (with my wife) or listening while doing something like dishes. But I think I’ve been on the other side of this for awhile. There’s something that ticks my brain by twiddling with linux nonsensically or and try it. I’m not imune though, I often fill gaps in the day with nonsense short content, but try to avoid the short trap.
How many times in one video can Prime say dude just use arch, dude arch would be way easier, dude you know how hard you are making this on yourself. I do not envy those who desire full size configurability but stuck with the opinions of GatesJobs. Windows and Mac are so rigid, that it makes it impossible to do any level of customizability that I would want to do for productivity. Unless you Must work on win/mack for some reason of work, you make something for one of them, you use Adobe, or you play competitive online multiplayer with easy anticheat there is a distro for you. The number of things that you need a win/mack for is greatly shrinking, you don’t have to submit yourself to the pain of Gates that this guy has done.
Basement shelf with 3 computers, a network switch, an uninterubptable power supply, one monitor underneath, and a wifi access point to the right.
Copyparty looks like a feature full self hosted file server, putting this into my check out later when I get back to my desk. Impressive number of features I didn’t even know were a thing all from one.py file.
Ben sold me on the mini pocket pry here. It’s funny how so many minimalist tools become over the top titanium damascus with wild patterns and designs. they look amazing, but are they worth the insane price for simple things? I like my edc to be things I don’t worry about breaking, loosing, or giving away. Fancy ass prybars for $200+ gives me all of those negative feelings I don’t want on my edc.
Ben is always good for a banger of a video, this images app is something that i really want in my homelab, he did some great polish here! The idea of building vibe coded applications for your own personal use with all of your own personal opinions and workflows is something that has been an appealing part of ai, I’ve definitely tossed a few apps in my homelab that I use occasionally and they do what I ask of them pretty accurately. This feels great to use, but also seems to kill any startup idea I have, as most of them feel like they could be vibe coded out by someone with a bit of skill and they just host their own. Maybe this is a good thing, maybe we are moving into an era of more people owning their own app they use for themself, maybe i need a security related startup?
I don’t think I ever fully heard the full meaning of vsc*** and why it gets bleeped. I knew that it had to do with M$, but Teej explains it so well here. Its about the editor not really being open sources, but is marketed to be such.
Glossary Web Component The one where I put the hypercard in the hyperlink dbushell.com · dbushell.com I really enjoy David’s Glossary, he has absolutely nailed it. I’m working on one for myself that feels close but not quite. I want to have a list of words that auto glossary to terms for me, maybe this is too much automation and I should just lean on wikilinks, i.e. sick wikilink hover, they only take wrapping in brackets. But like David mentions here its a lot of work to make sure they are right on all the older posts. I think it needs to be done with js on my setup, I don’t have no fancy wroker to modify html on the way out, I’m fully static right now, so i would need to do full rebuilds any time the glossary changes, i’m trying to cut down on the number of features that require full site rebuilds and potential cache issues.
An Ode To My 10-Year-Old Thinkpad T440 mbrizic.com I like reading about old hardware and how to keep it running, sending shit out to e-waste after barely using it for a year makes my skin crawl. I find it interesting how most of these resurrections start with a linux build, and the author giving in and going for linux for the first time and enjoying being able to use something they thought was useless for real work. That being said I have weird thoughts similar to this guy about being able to take a machine and write a novel somewhere off in the distance, but any time I try to do real work form any laptop these days the ergonomics become so unappealing that I tend to just not do anything away from my desk. Theres something that sounds so great about opening vim on old hardware that could last for hours, sip on coffee and write away, but it never works out like that in practice.
Today I set up hypridle on my hyprland desktop build. It was not too bad, I'm probably going to tweak it as it I go if it bothers me, for now I'm giving it a...
uv run for running tests on versions of Python Using uv run with make to replace tox or nox for testing multiple versions of Python locally. https://daniel.feldroy.com · daniel.feldroy.com Such a fantastic use of uv, its so fast and flexible and does everything I need that next time I go to set up some more complex testing like this I’m going to lean towards it more than i would something like tox. In the post Daniel sets up matrix testing for testing out different versions of python with the same pytest test suite.
In my adventure to rice out hyprland I set up a sddm theme today, and it looks sick by only changing the wallpaper. I tried out one theme and was pretty...
Progress on markata themes, I'm able to get feedback in the terminal. I'm building out a custom color model that will be able to mix and blend colors with...
2025-07-10 Notes 2025-07-09-notes from yesterday My mental data-lake · pype.dev big fan of eza and dust, I like these aliases to have some common commands at my fingertips. I often use the tree command and yes it sometimes goes too deep to actually be useful.
Love this dudes casual dry humor style, not afraid to poke fun at things with his dry ass satire. that being said, fc is new and as a long time fan of up arrow and!! I will be using this often.
I am a linux user through and through. Desktop, server, vms, containers,
everything except my phone is linux. With this I spend a lot of time in the
terminal, and have been a long time user of !! to rerun the last command, but
with the ability to tack something on at the beginning or end.
TIL about fc, which opens the last command in your shell history in your
$EDITOR or pass in your editor -e nvim.
yaya yaya, I know you can also up-arrow c-e, but what fun is that, it’s barely a
flex. fc just looks big brained and like you really know what you are doing.
TIL pygments-htmlformatter is a big win for markata, didn't have a chance to take notes yesterday, but I'm really working on templates and themes. It's...
I’ve been a long user of pygments, it’s been the thing that injects <spans>
with funny little class names like sc and si into the code blocks of my
website. I’ve even gone as far as implementing a plugin for
md-it,
but I had no idea how to re-style it. I long ago got a theme that looked good
enough from somewhere and just used it, maybe I pulled something from their
docs site and forgot. Today I learned you can list all the themes easily from
the library itself, and render out new css.
Quickshell A fully user customizable desktop shell quickshell · quickshell.org This has to be the most incredible looking Desktop experience I’ve ever seen, riced to the nines, more polished than macos, more features than kde plasma, this looks incredible and I want to try it and feel it. https://quickshell.org/assets/showcase/end4.mp4
I'm working on hyprland, one thing I am missing from my awesomewm setup is rofi list all running windows. Sometimes I put a browser instance in a different...
DT says it so well in this video, I’ve never really been one to shit on software projects, with maybe a VERY small handful of exceptions. The shitting on ubuntu always rubbed me wrong, shitting on flatpak and snap I never got, shitting on systemd because of Leonard Pottering I never got, DT puts it in such good words here. If you don’t like it you are probably not the target audience. If Ubuntu is too bloated, don’t try to debloat it, this is not windows, we have options, Ubuntu is one option and so much is intertwined together in something like Ubuntu if you think you want to try to “debloat” it good luck. If you have a problem with Snaps, this is probably not for you. You are probably looking for a distro with more control, probably something that you choose everything for.
Lab Update Update on the lab setup and what I’ve been working on recently. Cloudy with a Chance of Tech · blog.thomaswimprine.com Always enjoy a good read through someone elses setup. I appreciate the desire for pi clusters they are cute, they seem cheap, but feel a bit overrated (at least for those of us with relatively cheap electricity). I love seeing the refurb “tiny desktops” getting a second useful life in a homelab after they have serve their useful life in the corporate world sitting behind the monitor of some reception desk. These things rock, they are underrated, x86_64, not ARM, so they just work. Until ARM becomes more normalized in the datacenter this is where its at.
Continuing my exploration of Searchcraft I loaded all of my blog into it. It fully posted, indexed, and had my content ready for search in a literal blink....
Notes – 17:00 Wed 9 Jul 2025 Notes – 17:00 Wed 9 Jul 2025 dbushell.com · dbushell.com Enjoying watching David bring together his rss reader day by day. Excited to see where it goes. Im trying to get better at dropping notes like this without a ton of context, without needing to be right, just a note of whats on my mind and what I’m doing.
uv cache prune If you're running low on disk space and are a uv user, don't forget about uv cache prune: uv cache prune removes all unused cache entries. For example, the cache … Simon Willison’s Weblog · simonwillison.net Good point to check on your uv cache if you are running low on disk space. I checked mine today, and it wasn’t too bad so I left it alone.
What a nightmare this glossary plugin turns out to be, it broke my site. I had it really close, then one more change asked for to the llm, an LGTM and did...
External Link github.com I’m digging these web2app’s from DHH’s omarchy for setting up an opinionated archlinux hyprland. This gives a way to quickly open a web app as an app either with a hotkey or run launcher in its own dedicated window that you can put on it’s own workspace. I really like a workflow of keeping one window per workspace on one monitor and I can quickly navigate between apps with a single hotkey. This gives you the power to switch through things like chat, terminal, browser, steam game with blazing speed from the keybaord, no clicking no searching, just going directly to it.
Check out kyantech and their project Palmr. 🌴 Palmr. is an open-source file-sharing platform focused on privacy and security. It enables users to upload, manage, and share files with features like password protection, custom links, and access control without tracking or limitations. Designed for seamless and secure sharing, Palmr. is completely free.
GitHub - chase/awrit: A full graphical web browser for Kitty terminal with mouse and keyboard support A full graphical web browser for Kitty terminal with mouse and keyboard support - chase/awrit GitHub · github.com awrit is a full graphical browser that runs inside of kitty. I’ve moved on some of my machines away from kitty as the maintainer has seemed so hostile and there are other great therminals out there, but I’m going to give this a go. I have kitty running on my hyprland setup as it is the default anyways. It is actual chromium rendering to a kitty graphics protocol.
Smooth clipboard settings for tmux is critical for my workflow. I’m often
grabbing snippets of terminal output to paste into team chats, blog posts, or
llm prompts. Admittedly, I’m often doing this with the mouse, unless it’s
coming from neovim, which I generally do with motions. Moving from an xorg
based setup to hyprland has required me to reconfigure my tmux clipboard
settings. This is what I did.
First install wl-clipboard with AUR." data-hover-title="Paru">paru.
paru -S wl-clipboard
Next add this to your tmux config. I’ve long had this config, but with only
the xorg/xclip setup, now this checks for wl-copy, uses it, or falls back to
my old xclip setup.
Command palettes are slow, and overrated, you should treat yourself better. You probably installed VSC*** out of the box and your co-workers see you using the mouse and reprimanded you as they should. Mouse usage is not OK if you are a software dev, you should have the cheap ass free mouse that came with your cousins dell machine five years ago and only use if for emergencies. If you want to be fast you cannot do that by moving cursors to imprecise locations and clicking with your hand. You are not a caveman, put down the stones and get with the damn times. You need to be moving with precision. Stage One, the command palette So you are taking your first few baby steps away from that Logitech MX Master and you need to get shit done, during these infant months the command palette is your friend. Use it you will be 10x faster than Razer Naga Ron from accounting. If you are in an IDE like or a JEttedBrains editor they come with a command palette for running commands and fuzy finding files,…
Never did I think I would see the day that theprimeagen decided to run archlinux. Furthermore him to start ricing it, EVEN furthermore, Pewdiepie runs arch now, and thinks you should too?? and is promoting it on one of the largest YouTube channels ever?? Even DHH is getting in the mix with omarchy Such a cool transistion to see everyone find their way to linux and diving deep into the freedom and customization.
Platform Engineer / Agentic Engineer | { TechDufus } TechDufus writes about platform engineering, homelab rebuilds, and agent workflows that hold up in the real world. { TechDufus } · techdufus.com This has to be top tier dopest home page of all time. The commands are all so well customized and whimsical on the terminal.
External Link techdufus.com I’ve ran my homelab on k3s for a year and a half now, and have had talos fomo the whole time. I’m not sure if this article helps or hurts. Helps to see that techdufus struggled and wished he went k3s first, but theres so much good to it that I want it. Prometheus and Grafana for monitoring (because you can’t manage what you can’t see) I’m getting there, ok, I have some of it figured out but not firing on all cylinders like I want. CloudNativePG for PostgreSQL (way better than managing databases manually) Amen to this, cnpg is kick ass and has me tempted to drop sqlite for my production database default. I mostly make small shit on the side that is never going to blow up. sqlite is really good, but the automation that comes along with cnpg to just run it on all nodes and backups once you establish the pattern with the first one is sick. 🤣🤣🤣 actually read the docs 🤣🤣🤣 Is This Overkill for a Homelab? Absolutely. Could do most of this with k3s or Docker Compose. But where’s the fun in that? Speaking my language here! Again I’m well past the 1 year mark of running k3s and i’ve had no regrets. Kubernetes is about establishing and replicating patterns, its a dr…
You want to run containers? JUST FUCKING USE KUBERNETES. Obvious satire If you don’t like harsh language this is not the post for you. Obviously ripping off motherfuckingwebsite. Seealso Some more serious posts Should I kubernetes My Homelab The Wrong Reasons To Run Kubernetes In Your Homelab The Right Reasons To Run Kubernetes In Your Homelab I got the kubernetes in my basement autism “But it’s complicated!” Shut up. Close twitter and fucking do something. Life is complicated. You know what else is complicated? Email. DNS. Life. Kubernetes is the least painful way to orchestrate containers at scale. Docker Compose is for your laptop. Swarm is dead. Nomad is just sad. Systemd units? Get out of here. “But my app is small!” SO IS YOUR AMBITION. You could write a bunch of bash scripts and hope they work on prod. You could SSH into servers and handcraft your infra like it’s 2011. Or you could just fucking use Kubernetes and sleep at night. I can just throw my script in crontab Tell that to…
Jake Bolam principal engineer at Meta, has some of the best career advice for those looking to become principal or just be better at their craft. This video was such a banger I had to bring it in as a full post, and not just a thought. It was a random YouTube auto play, something that I probably wouldn’t have clicked on given title an thumbnail, but turned out to be very impactful. Jake is such a smart guy with a lot of great insights, and I can tell he thinks really quick on his feet, he just pulled all of these things out of his head on the fly. YT Algorithm Gold I don’t know what it is about this title and thumbnail, but it gives me “ex google, ex facebook, ex microsoft, $100M engineer” vibes in a cringy and not satire kind of way. I would have never clicked on it, it autoplayed after a podcast and it hit, immediately I’m like who are these guys? subd and started this post it was so good. Long On Boarding Jake had a super long period of on boarding at meta, he came in as a seasoned…
Forming URIs for Autofill | Bitwarden Find out more about how URI match detection works in the Bitwarden password manager. Bitwarden · bitwarden.com For anyone self hosting a bunch of apps under one domain, I just swapped all of mine to Host matching which includes the full subdomain, and it is glorious to not have 9+ items hit on all of your pages and only the one that you actually want. open one > edit > gear icon next to url > Host
vim usage is becoming normie level. Just like made it too easy to install arch and brought normies into the ecosystem. It killed ArchBTW TM, distros like lazyvim have killed vimBTW TM. It used to be that to run arch, vim, nvim you had to read the docs, and go deep on understanding. running or lazyvim make it so easy to get started that you miss all of the details, you no longer have to understand ctags, quickfix, what an lsp is, or even how to set your own keybindings. You just use the damn thing, like you would with VSC****. No shame to anyone who does this, but you are probably missing out on a bunch of really useful features of a very core tool in your workflow. Just discovered Sylvan Franklin in this post and he is cracked, sub now.
distrobox/docs/posts/run_libvirt_in_distrobox.md at main · 89luca89/distrobox Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror availab... GitHub · github.com Wish I would have saw this guide and provided assembly file for setting up virt-manager in distrobox. They call out immutable distros like the knew I was coming.
I got virtual machine manager running on two Bazzite machines today. It was a
bit tricky, more than I thought actually. I ran into all sorts of
virtualisation not setup issues when I tried the flatpak. Then I found that
Bazzite comes with a ujust setup-virtualization command that does all the
work for me. I tried that and again virtual machine manager was here, but not
working, this time it feels like flatpak issues.
In a Hail Mary attempt I got it working by using an ubuntu distrobox container
to run the UI. And it worked!
From the host we create the container to use from distrobox. This is an ubuntu
machine, it can be any os of your choosing, preferably one that you are
familiar with and contains virt-manager in its package repos.
Now that we are in the distrobox we are no longer in an immutable distro and we
can easily install anything we want. I actually like this process. I might
have shit like this that I use for a month or a few months, on a normal distro,
this is fully installed on the os, raises the potential of package conflicts
and lengthens the update time.
I tried adding myself to the libvirt group, and expicitly setting the socket
path. After setting up another machine I realized these steps were unnecessary.
I later found [[ thoughts-723 ]] there is documentation for setting up virtual
machine manager in distrobox in the distrobox docs. It even calls out running
on an immutable distro like bazzite like it knew I was coming.
Perfect is a made up word that humans use to describe something that is above average, or works really well for them. The idea of perfection is fleeting, as you think more deeply about something, you can continue to chase the idea of perfection to unimaginable senses. Sometimes perfect simply means good enough. Could there be something better, Always, but at what cost. If I spent 10 more minutes on this post would it be better, maybe, but I might fuck it up. If I spent my lifetime studying how humans read and think, sole focused on how it pertains to this post, ya it would get better. When I use this word perfect it’s not meant in the most literal sense of the word, but perfect to me, maybe good enough given the constraints I have, its the best thing I’ve got.
Notes – 06:11 Sun 22 Jun 2025 Notes – 06:11 Sun 22 Jun 2025 dbushell.com · dbushell.com What’s even real anymore? What a shitty age we are in that you have to form an opinion about news outlets and media outlets.
neverjust a guide to better developer communication neverjust · neverjust.net I just never quite understood why the word just can send people over the top. I get it when you don’t know someone, you don’t have history with them, and they come in saying you are doing something wrong. I pulled this out into a full post just
I just never quite understood why the word can send people over the top. I get it when you don’t know someone, you don’t have history with them, and they come in saying you are doing something wrong. When you say “just,” you’re skipping over all the invisible complexity. You’re assuming the problem is simple, and that the person asking for help hasn’t already considered the obvious. You’re not seeing the constraints: Legacy code Business requirements Team conventions Time, budget, or technical debt Platform limitations ~ https://www.neverjust.net/ If I’ve worked with someone for more than 6 months, we have established patterns for problems, libraries we use, and they are deep in the weeds of trying to fix something, I want to ask “Why don’t you just do the same thing we do everywhere else?” I don’t need a snarky ass response, I don’t need you to get bent out of shape about it. I am communicating that I do not know the damn constraints to this problem. I am communicating I am ignorant t…
2025 is not the year to get put on the market, its rough out there. Junior’s have little chance, senior+ are even struggling. We had it easy from 2020-2023, now its over saturated and you have to want to be in this industry to be here and stay here. It used to be a fine place to get a good job to pay the bills, the bar has been raised and if you don’t want to be here you are going to struggle. Theo covers this in this linked video deeply [[ thoughts-472]].
Nailed the netflix documentary style. Videos like this make me so grateful that I have a job in this rough market, if you’ve followed jepi’s series you know he’s been out of a job for months, and he is not alone in this. This is the year of “laid of, i didn’t get laid off, I left to focus on my startup”, [[ thoughts-716]]
Notes – 09:32 Thu 19 Jun 2025 Notes – 09:32 Thu 19 Jun 2025 dbushell.com · dbushell.com David’s design on his blog is fantastic likely from years of small improvements like this converting ugly quotes to pretty quotes and optimizing fonts. It’s common for markdown libraries to convert the first to the second like my build script does. This is new to me, I had no idea that markdown libraries did this, I’m now interested if markdown-it does it. For subsetting I use the fontTools library but I’ve no idea how to setup Python environments. I got it working once and failed to document the process. David, David, David, I’m sorry python has done you this dirty. I should do a post on making python environments in the age of Posts tagged: uv. You got options to run in docker/podman, a whole ass vm, uv venv, uvx, uv run, uv script, python -m venv, virtualenv, poetry, hatch, and too many more. The ones that matter are containers or uv.
Copier has a few quirks with vcs that I just discovered by trying to test out
some changes. I may have some config that I have long forgotten about
somewhere deep in my dotfiles, I don’t think so, but id love to be wrong and
corrected, please reach out.
I tried throwing everything at this template to make it work. I tried a bunch
of flags that did not work. I tried making commits to the local repo to get rid
of the dirty warning. I really wanted to test new changes locally without
committing and pushing untested and potentially broken changes.
Finally after trying everything to get the local copy to work, and my guess of
@branch not working I found this to work. It does require me to go to the repo
on my develop branch.
Really this might be my best option to make quick changes and test them locally
without going through a version control system. It is not ideal, but makes it
easy to quickly iterate on. I might be renaming .git, or copying to /tmp for
quick iteration.
Copier is a great templating tool. I really love it. I use it every single
day to create posts on this blog using Tmux hotkey for copier templates. This is
the first time this quirk has got me and it had me puzzled for 45 minutes as I
did not expect this behavior whatsoever.
Bug: Pypi metadata is wrong (Requires: Python >=3.6) · Issue #1131 · jmcnamara/XlsxWriter Current behavior When pulling the dependency with pip (without pinning the version), our python3.6 tester pulls 3.2.3 and not 3.2.2 even though the version is no longer compatible with python 3.6.... GitHub · github.com pypi yanks suck, they are rare, this one got me today as it was a pinned dependency in my dependency chain. The latest release broke python 3.6/3.7 (which 3.6 has been EOL for 3.5 years btw), and it claimed >=3.6. In order to allow users to still install xlsxwriter without pinning down it needed yanked. I’m not sure if there was another way around it as pypi releases are immutable, so you cannot fix It appears to have broken builds on Canonical/checkbox for ubuntu 18.04. Checkbox is a device compatibility testing framework. https://github.com/canonical/checkbox/actions/runs/14644718138/job/41098549191#step:8:125
I came across checkbox from canonical, and it’s packed with great features and ideas. Checkbox is a testing framework used to validate device compatibility with Ubuntu Linux. It’s the testing tool developed for the purposes of the Ubuntu Certification program.
External Link conventionalcommits.org I try to use conventional commits on all of my commits, but I often end up only using feat/fix. I need to keep this page handy and get new verbiage worked into my language fix: feat: build: chore: ci: docs: style: refactor: perf: test: Optionally include a scope A bang indicates a breaking change note. For example …
Visualizing My Blog’s Internal Links I recently read a post which spurred an idea in my head. For the life of me I can’t find the original post. I looked in my notes, my RSS reader, my browser… blog.jim-nielsen.com I like Jim’s visualizations on his site, reminds me a lot of obsidian. I’ve tried to do the same on my analytics page in the past, but it didn’t come out right. I’m going to have to give this another go.
Your Framework is Showing The one where I’ve had enough of the same Next.js error. dbushell.com · dbushell.com Great breakdown of nextjs. I was highly unaware of its performance optimizations before reading this. The smell of vendor lock in from next/vercel has been there from the start, this is the first real claim I’ve seen. I’m out on modern js front ends, complex builds that change every 6 months, design patterns are out of date just as fast. Its hard to keep up, especially when you don’t have the use case for highly interactive apps. Libraries like htmx or plain ol js gets the job done on the majority of sites and everything I tend to work on.
I’m totally with Prime here, there is something about the read only, mouse clicking part of my brain that causes me to be more critical of the code at a different level. It doesn’t hit the part of my brain thinking about the edit or how to do the edit, it hits a part thats thinking about how I will have to deal with the code moving forward.
Next.js 15.1+ is unusable outside of Vercel TBD Omar Abid - Personal Blog · omarabid.com Vendor lock in disguised as performance. Nextjs aparantly now streams all of your metadata on the fly with js. This would obviously kill all seo right, well not if you’re on vercel they automatically detect search crawlers and serve the metadata. Why the f do they need to do this and not just serve everyone the metadata. The Web is this beautiful place where anyone can create and build amazing things with a relatively low skill. Js is meant to be enhancement, not degrade the experience of its users.
I’ve been using gitingest web ui [[ thoughts-516 ]]
for quite awhile to serialize git repo into llm friendly text files. This
gives tools context about repos that are not in the training data so that it
knows about it and how to use the code in the repo. gitingest also has a
python library [[ thoughts-517 ]]
I had a use case for a project not yet on git, and found yek.
I don’t like curl to bash from random sites, so I have my own self hosted
version of i.jpillora.com. I like using this because it pulls from github and
I trust github as a source for artifacts as good as the repo I am pulling
from.
This will give you a link to a text file that you can add to many llm tools.
This happened so fast for me that I didn’t even believe that it worked
properly.
As with most clis, you can run yek --help to see the options available.
yek --help
Today I discovered brightnessctl to adjust the screen brightness on my
AwesomeWM machine. Its a command line utility that you can use to adjust the
brightness of your screen. A command line interface like this gives you the
ability to bind keys with something like [[xbindkeys]] or your window manager
configuration.
sudo apt install brightnessctl
# or paru -S brightnessctl
Now that you have it installed you can use it to adjust the brightness of your
screen, this worked particularly well for my laptop screen, I don’t think this
works for monitors, in my experience they are usually controlled by the built
in osd.
# Increase brightness by 10%brightnessctl set +10%
# Decrease brightness by 10%brightnessctl set 10%-
# Set brightness to 50%brightnessctl set 50%
# Set brightness to 100%brightnessctl set 100%
Note
on my machine I had to use sudo to run the command, otherwise I got the following error:
Can't modify brightness: Permission denied
You should run this program with root privileges.
Alternatively, get write permissions for device files.
Think less, ship more I do too much thinking about what I want to make, and not enough actually making the thing. cassidoo.co I thin a lot of us have this issues, especially on side projects. At work therre are expectations, jira tickets and so on, keeping you shipping. I think there is something to be said about getting that quick and dirty POC to the right group of people early for feedback before you add redis caching, kubernetes, auto scaling, disruption budget, distributed nodes, high availability, backups, disaster recovery. At work you kinda have to have the right person to shoot ideas by that can understand that you probably need some of these complex things for your app and it will take time to get right.
GitHub - trykimu/videoeditor: Your Creative Copilot for Video Editing Your Creative Copilot for Video Editing. Contribute to trykimu/videoeditor development by creating an account on GitHub. GitHub · github.com I would love to have a browser based video editor I could throw on a server and do quick edits from anywhere. I tried to get this one to work and struggled to get front end to send api requets to backend. I think the root of it was their redis wants to run on 80, this caused a permission error so I tried to run 8880:80, but redis was still unable to start due to a config permission error.
If you’re into interesting projects, don’t miss out on videoeditor, created by robinroy03. Video Editor Application using React, Remotion & TypeScript.
The ability to query s3 buckets so seamless looks like such a pleasure to work with if you have a use case for that. Kedro catalog takes care of this most of the time for me, but I wonder if there are some cross project searching use cases I might find for this.
PocketCal Build Log I made a date-sharing app called PocketCal. Here cassidoo.co I love this idea of tiny useful apps for yourself. In fact I’m working on a project to built out tinyapps for myself to replace my common needs. I absolutely love that all of the state is stored in the url bar, nothing is stored server side. As much as I love to hate js, I really appreciate that things like this can be built to just live on the web, be accessible from anywhere, and live practically forever as they require such little hosting demand.
GitHub - numtide/treefmt: the formatter multiplexer [maintainers=@zimbatm,@brianmcgee] the formatter multiplexer [maintainers=@zimbatm,@brianmcgee] - numtide/treefmt GitHub · github.com This looks like a very useful formatting tool to keep in the back of my mind. I do a lot of python and our tool tends to be pre-commit, named after the git hook pre-commit. It specifies a bunch of tools to run, you can run them in ci, manually, and opt into doing it before commit. I like the simplicity of this one not needing a whole ecosystem, but rather just leveraging the cli commands from those tools. This would probably be something that would get in the way of setup for new devs and not something I would throw on one project by itself, its another thing for everyone to figure out how to install and run on every platform, I’m sure its not hard, but being on python teams pre-commit just fits in.
Focus on the joy, not the suck. Nothing you do in life will be absolute pure joy with no downsides forever, life does not work that way, your brain does not look that way. Look at anyone who ever got massive billion dollar payouts for something like minecraft and how much their life is not glorious when they have nothing to really look forward to. Prime talks about it in almost a cliche way, every boring ass task is an opportunity to grow. This is so real though, if you look at every task ask a shit you gotta do to check that jira ticket off and make bossy lady not scream at you its going to be a hell. If you rather look at it as opportunities to implement new features in new ways or learn something to better yourself and watch yourself grow you are going to take a big dopamine hit. I think prime talks about this in the sense of larger projects. He as talked about his experience being much less of a daily standup, but more of a ok we got three months to figure this out lets go boys. When you are stuck in that daily jira grind it’s harder to see that larger picture of the learning and growing you are doing over the course of 3 or 6 months. Timestamped to the part of the video that r…
Should I go to college? Was my education worth it? Should I keep going. A question that comes in all too often accross most industries that require some level of education. DHH has such great takes on it, some I had never fully thought about. He starts out with should we have people study niche topics (using Russian Poetry as an example). Yes the world deserves people who can make their life works out of something that brings them and many other so much joy, but no you probably shouldn’t go 100k’s into debt to do it. Should I get a software engineering degree, or become a doctor also have similar answers, it needs to be somewhat justified and not outrageous as has become the norm. We used to listen in to Dave Ramsey on long car rides and he would have people call in and say, they went half a million dollars into debt to become a dentist, only to discover they did not want to do dentistry. At this point it’s too bad, you gotta suck it up and pay that off with something that makes some serious cash, and the only skill you probably got that can bring in that level of cash is … dentistry. They dive into the college experience, learning to have adult debates with classmates about which…
WebTUI Modular CSS Library that brings the beauty of Terminal UIs to the browser webtui.ironclad.sh webtui, looks like a pretty sick design aesthetic. I like the keyboard driven nature of it, the look and feel is on point to a terminal interface, sadly it looks like it is not a 2 way street, you don’t automatically get a tui our of your website, just one that looks the part in the browser.
I’ve never heard of niri, or a scrolling window manager, it looks quite interesting. I think tiling window manager misses out on named sessions and hotkey straight to tmux sessions, Brodi mentions not using tmux right before this segment. Niri looks quite interesting, but looks like it suffers specificity. maybe there are other tools that allow me to jump straight to something like brave, or steam, but I don’t see how I could jump to a specific terminal.
Backups interrupted by full disk usage I just got a message from HCIO that my primary backup script is late... This happens every now and then but I decided to check on it... Quickly in and I... My mental data-lake · pype.dev I’m way behind on my notification game and need to pick it up. maybe I’ll look into hcio as well. maybe I’ll look into something that goes straight to signal or just get things working on ntfy. An 80GB log file is massive and the kind of thing id like to see notifications more.
Queso Notes It occured to me that this is my blog... I can write about whatever the heck I want! My mental data-lake · pype.dev Taking this as inspiration to do more non-tech on my blog, I’ve branched out into Posts tagged: gaming, but need take it to the next step. excited to watch pype.dev evolve as well.
The work on treefmt by numtide. one CLI to format your repo [maintainers=@zimbatm,@brianmcgee]
The rich console is themeable, I’ve been a long time user of rich and had no
Idea. You can define your own theme keywords and use them just like you use
normal rich keywords in square brackets like'[bold red]'.
fromrich.consoleimportConsolefromrich.themeimportThemecustom_theme=Theme({"info":"dim cyan","warning":"magenta","danger":"bold red"})console=Console(theme=custom_theme)console.print("This is information",style="info")console.print("[warning]The pod bay doors are locked[/warning]")console.print("Something terrible happened!",style="danger")
The ethics of README ads I’ve been considering accepting sponsorship again for my projects. Will McGugan · willmcgugan.github.io I’ve long avoided running ads on my blog for the same reason. For a few months I ran an ad above the fold. It was a “Your Ad Here” kind of thing, and in the messaging I was looking for content relevant to my content, not google driven ads. This resulted in nothing, no hits, not a one. I’m kinda with Will on this one beer money is not worth degrading the project for. I seriously thought some of the big projects with a moderate level of success got a good cut for these sponsorships. Some of the companies are big companies, like how do they even go through meetings and decide who gets beer money without spending more than that in decision making resources. Maybe they have a guy with more autonomy than I would expect.
External Link hub.docker.com Browsing for the minio tag that I have running right now I discovered that you can do and you get the same version that matches the docker tag, this is super convenient and helpful. I also notice that they use timestamped version numbers. I kinda dont mind this. It feels easy to understand how far behind it is. I really appreciate that the version in the container matches the version inside the container. It’s not as pretty or flexible as semver, it does not communicate trees of majors and minors, but how often do we continue supporting/patching older majors and minors, in my experience only really big teams or teams with sufficient motivation are doing this. food for thought.
You can unset multiple environment variables at once. I did not know this was a
thing, its something that ended up happening organically on a call and asking
someone to run unset. They had never done it before and did not know how it
works, but did exactly as I said instead of what I meant. I like this handy
shortcut doing it in one line rather than each one individually, I will be
using this in the future. You might need this for something like
running aws cli commands with localstack.
I am going to start trying to employ this rhythm to my writing. I’m not very sure how I feel about it, there is something almost too assertive about it. It’s giving me a (i’m great and you should too) kind of vibe. I want to become more assertive in my writing. I’m giving this a shot and see what I learn, you might notice in my tils.
i3lock is a fantastic lockscreen for tiling window managers.
If you are using a tiling window manager within a public space you need to add
a lockscreen. I have one machine that I take with me to a public space. Its
secure enough that I can leave it, but not secure enough that I want to leave
it unlocked. So when I need to leave it behind for the restroom I need to lock
it up.
Now that you have i3lock installed lets lock that screen.
# lock it with a pure white flashbangi3lock
# lock it with a black backgroundi3lock -c 000000# lock it with a custom colori3lock -c 2e1330
# lock it with a wallpaperi3lock -c 000000 ~/Pictures/Wallpapers/mywallpaper.png
You can use your window manager or something more generic like xbindkeys to set
a hotkey. This way you don’t have to open a terminal and type out the command
every time you leave your desk. You can just press something like SUPER+L
like you would on other OS’s.
If you like it a bit fancier, you can use i3lock-fancy, it can blur,
pixelate, and greyscale your current screen. I did not really like this
because you can still tell what is going on the screen. It’s probably secure
enough and looks better, but I went with regular i3lock.
Kraft is the family gaming server that we started early 2025. Repopulating Villagers are really hard to get gong. We have this huge villager tower on the server, we nearly every bed filled, and one day we logged in and there were three. Not sure what happened until I witnessed one of them jump maybe 3 blocks down and off himself. I checked my last two villagers and they were each on one or two hearts left. We almost lost every single villager on the server. To get villagers to breed and make baby villagers you need beds, which we already have, and food. I gave my guys some food and they started making baby villagers immediately, crisis averted as we start to get the first few fresh full health villagers on the server.
This talk about live store really made me think about database transactions in a new way. They are talking about live-store, and the complexity of distributed applications like a notes app with the ability to go offline and continue working. The complexity of resyncing each instance is not simple, conflict resolution accross all the possible installs that may or may not even be online is a really hard problem. They go deep on discussing an event driven paradigm that is driven off of a log of events and how this changes how we deal with databases. Using the event log as the source of truth we can do things like forget about database migrations, we can replay all of the events onto a new database. Its very interesting to rethink in terms of a log system that speaks in terms of understandable events (not table operations) as the source of truth for an application.
DHH (@dhh) on X You don't need a mentor. There's no secret sauce left inside anyone's head any more. It's all been tapped, bottled, tweeted, and shared a million times. Sample some of that, but also guard your ign... X (formerly Twitter) · x.com I need to find this podcast, was DHH this animated through the whole thing? You don’t need a mentor. There’s no secret sauce left inside anyone’s head any more. It’s all been tapped, bottled, tweeted, and shared a million times. Sample some of that, but also guard your ignorance. You’ll lose it soon enough. It takes work, one on one hand holding is a shortcut. Sometimes one that we need. Sometimes we need to level up quick, hence why your job might pair you up with someone for the first few months, but it is not something you need, you can figure shit out on your own with hard work. These days we have things like gippity to bounce ideas off, and you can generally get the sense of the direction the average of the internet it was trained on. Always add your own experience and make a choice for yourself.
Self-Host Weekly (30 May 2025) Self-hosted news, updates, launches, and content for the week ending Friday, May 30, 2025 selfh.st · selfh.st The object storage (S3-compatible) platform MinIO created a bit of a stir this week I had not heard about this before it came in through selfh.st. I use minio a lot, and did not know there are so many great alternatives out there for it. I might be looking into some of these options such as garage. Its hard to tell from this article what mino dropped, but luckily for me it seems to be all ui related. I use the UI for debugging/feedback/sometimes learning, but at this point I’ve got good flows for setting up new access keys, buckets, and everything with the cli.
DHH (@dhh) on X NIH: Not Invented Here Syndrome might come from a good place, but almost everything that's good in this world came from people who ignored it. Virtually everything is a variation of something else.... X (formerly Twitter) · x.com I suffer hard from NIH, I’m cheap, I like building things, I hate reading the docs, the perfect recipe for some bad NIH. I really like DHH’s take here. If no one builds anything new we get stuck with the same old shit. I think theres a lot of things that as far as my use case is concerned feature complete and needs no more. I would just build with it or on it, but not re-invent. It’s a slippery slope.
I’ve gone too long without a proper spellcheck setup in nvim. I know it’s there, I just don’t use it, I don’t have the right keybinds, like I do with vim date, to make it work, and its clunky. Default keybinds z= show spell suggestions zg add word to dictionary zw remove word from dictionary]s jump to next misspelled word [s jump to previous misspelled word I really struggle with bracketed keybinds, they don’t flow for me. I have to shift into it and hit two keys, you cant just pop through them with intent, it always feels clunky to me. Custom keybinds I barely use F-keys in my keymap so that was free game. On my keyboard I have F1-F9 in a numpad layout on my right hand, so F4-F6 are home row, these are super easy to pop through and update. I really refrain from using such high real estate keys like this unless it’s for something good, and I do a lot of writing in nvim, so fingers crossed I use the heck out of it. jump to next misspelled word jump to previous misspelled word show spell…
feat: add hackernews hits on home page · jimniels/blog@b1a250b Contribute to jimniels/blog development by creating an account on GitHub. GitHub · github.com Jim Nielsen fetches his hacker news ranked articles for his home page.
External Link hn.algolia.com this post by Jim Nielsen, lead me to this commit where I found that he was including posts of his that wound up on hackernews. I really like this idea and might take it, even though i have very few HN linked posts.
Links - Jim Nielsen’s Blog Writing about the big beautiful mess that is making things for the world wide web. blog.jim-nielsen.com I really like the idea of Jim’s Eternal Links, and really want to take it for myself. To expand here I want to be able to look for common places for rss feeds, and be able to scrape out rss feeds for sites that I tend to link to often. Also if they have something like a /blogroll it might be a good place to find new great people to follow.
Could I Have Some More Friction in My Life, Please? A clip from “Buy Now! The Shopping Conspiracy” features a former executive of an online retailer explaining how motivated they were to make buying easy. Like… blog.jim-nielsen.com Maybe we need a little more friction in the world. More things that merit our time. Less things that don’t. I can resonate with this post, less friction feels like it leads me to thinking less, having less skin in the game, understanding less, feeling less fulfilled. Vibe coding is a new trend of 2025, it feels like the future, but it does not quite feel like the present yet. It’s riddled with errors and I only get frustrated when it doesn’t work. I like having some friction that leads me to think and pay attention. There might be a future where this is not required for some things like coding up crud apps, but that does not feel like today.
A Gentle Intro to RSS A guide to RSS for the less tech savvy. Derek Kedziora · derekkedziora.com Some of the best things from the old internet are still preserved with RSS. Content is shared via simple files, which means the slow-loading, ad-stuffed and tracker-filled clutter of the modern internet are mostly absent. There aren’t any algorithms. RSS readers are wonderfully dumb. There’s no AI sifting through content to find whatever will outrage you the most. You just get new posts and mark them as read. It’s a calmer world. With RSS I follow lots of people writing about normal people things. People blog about getting back into playing the drums, a fun book they just read, a tough problem they’re working through and the other day to day things of life. This type of content tends to get buried on social media — it doesn’t get the clicks and sell ads like fear and outrage do. I feel like a curmudgeon, but i feel all of these things. I dont think that the new web is completely terrible, what is terrible is that the options of an algorithm ran by companies with differing goals is seemingly the only option. RSS still works, its fantastic, I personally love it, but theres only a small fr…
~gitbook/ogimage/-LIvvKfMD3PkcDQCppzH" alt="Command Line | gitignore.io / docs — To run gitignore.io from your command line you need an active internet connection and an environment function. You need to add a function to your environment that lets you access the gitignore.io API." loading="lazy"> Command Line | gitignore.io / docs To run gitignore.io from your command line you need an active internet connection and an environment function. You need to add a function to your environment that lets you access the gitignore.io API. docs.gitignore.io This is a very interesting cli, its so simple. I stumbled accross the command awhile back and was like pfft, I dont want to install something for that. Didn’t even realize that you don’t install it, its just http. Their install instructions lead you to putting a curl funtion in your bashrc. This now has me wondering “What else can build like this?”
linkarzu has a way to navigate his entire mac using a hyper key. Everything looks so tight and polished, also a lot to remember! Lucky he has a system of mnemonics that make it easy to remember. His setup is very Mac focused using mac only apps, so this would not work for me, though I’m sure I could get something similar on linux. He did mention Kanata which is cross platform. What I do I use a far different system that is fast loose and easy. On every system I run I have 9 workspaces that let me put 9 applications, I can easily move apps to different workspaces and have a side by side if I need. The core of what I do is terminal, web browser, and chat. Those go on workspaces 4,5,6, whch are home-row keys. If I’m running obs, that is on 8, steam goes on 1. but I have some freedom to move. Sometimes 2 will be an image editor or a video editor, sometimes something else all together, but I can quickly go to each app. What I like from Linkazru I do like his layered approach. I run a 42 key keyboard so things can get a bit cramped quickly. And when thinking in mnemonics you only get 26 letters in the alphabet, but prefixing these with another layer this number goes up exponentially. Sub…
Forrest Knight (@ForrestPKnight) on X you're not allowed to write comments in your code anymore, because if you do everyone will just think it's ai generated. X (formerly Twitter) · x.com Oh, I feel this. I go through the effort of removing dum ai comments so the ai looks less ai. you’re not allowed to write comments in your code anymore, because if you do everyone will just think it’s ai generated.
The adapter pattern in python The Adapter pattern is a design pattern that allows objects with incompatible interfaces to work together. It provides a way to convert the interface of an object into another interface that client... Rob Parsons · robp.dev This has me wondering if I need to really learn more patterns, data structures, and algorithms. This looks particularly useful when trying to combine several objects that you dont have full control over and make them behave similarly.
Adding a Dynamic Now Page in Jekyll Make an auto-updating now page on a static site like Jekyll, Hugo, 11ty or Gatsby Derek Kedziora · derekkedziora.com wow looking at how this is done kinda draws me towards jekyll a little bit, I did not realize some of the similarities that it has with markata.
If you need to target a specific k8s node in the cluster, you can use labels.
You want to treat your nodes as much like cattle as you can, but sometimes
budgets get in the way. You might be like me and just run any free hardware
you can get in your cluster, or you might have some large storage or gpu needs
that you can’t afford to put on every node in the cluster.
kubectl get nodes --show-labels
# add the bigpool labelkubectl label node k8s-1 bigpool=truekubectl get nodes --show-labels
# remove the bigpool labelkubectl label node k8s-1 bigpool-
To use the label in a pod set spec.nodeSelector to the label that you
applied.
css if() just landed, I’m struggling to understand what I an do with this that I can’t do with something as old as classes. I can get it if I don’t have control over html creation or js to add classes. The example that Una shows includes data that could directly be a classname with a set of styles in css rather than this crazy css variable unpacking out of a data attribute and an if statement.
wants Personal website. Webby personsite. Amateur hour round the clock. maya.land · maya.land Allen Carr1 on quitting smoking: [Carr] recommends working to really notice and internalise that disconnect [between what we want and what we enjoy]. He tells smokers to pay attention to their next cigarette. It’s like mindfulness but for noticing the unpleasantness. I can appreciate the restraint here, theres something about the mindfulness behind it all.
Inspired by mara.town/wants want but do not enjoy New hardware that cannot be repaired Disciplining Children Nice landscaping which requires regular maintenance enjoy but do not want breakfast Fancy things Manual Labor in moderation Vacations to far away places clankers writing all of the code
This Luke Smith video came across my feed Linux, Bitcoin: When Tech Projects Become “Too Popular…” Don’t forget the goal.. It’s interesting to hear his perspective about Linux, FOSS, Free Software being the end goal, and that we are loosing sight of the goal. This sentiment really aligns with the early FOSS movement from Stallman, but was this ever the goal? Taken over by apathetic interests Luke talks about these projects getting taken over by people with no passion for the original goal of freedom and privacy. They want the projects to grow, get bigger, and become mainstream. This feels exactly the opposite of anything Luke would want, so my bias alarm goes off here. Honestly I do see some of the grossness of projects like this that were grassroots, for freedom and privacy get taken over for money grabs. I’m completely out on bitcoin so I cannot make any comment there, but I Truly believe that the Linux kernel is not a money grab as Luke makes the new face of bitcoin sound. Corporate…
Blogroll Blogroll - a collection of awesome people I follow online Waylon Walker · reader.waylonwalker.com I rolled out the blogroll today, nothing pretty, but is one single page of the rss feeds I follow.
Markata got a shout out part way through the latest episode of LNL, I will go back, re-listen and take some of the feedback. His thoughts on Markata were interesting. On one hand it really is a thing for me that works for me, and as a person with too many side projects I don’t have the focus to really give it polish. On the other hand it really confirms why listen to podcasts, news, finger on the pulse, opinions and how often these guys are wrong, they are not the expert they probably look at 6 things like this a week. He said that it was some sort of javascript thing, that maybe he could fix or customize with javascript if he wanted, kinda shocking, I thought maybe I accidentally added node modules or something dumb, nope, I have a whopping 1.4% js. So most of the comments were plain wrong. I get it he probably peeked at it for 30s and realized it wasn’t the thing for his problem. At the same time I should probably do a better job at marketing what it really is, cleaning up the docs and demo.
Root for Your Friends Heads‑up: The concept of this post might seem trivial, but it can improve your career, happiness, and the people you care about. Proceed without caution. It only takes about 10 minutes to read. josephthacker.com Such a great message right now. I feel like everywhere I turn is negativity, especially social media. It feels like so many things are trying to divide and create hate. “This” is what we should be doing with social media. There are a lot of elements of “there are two ways to have the biggest building in town, tear down all the bigger buildings, or just build the biggest fucking building”, If you want to be successful in X then surround yourself with others successful in X. This is a catalytic skill that everyone needs to have in their belt.
I’m currently [[replacing-google-search-apps-with-self-hosted-web-apps]] and
decided to create a simple b64 encoder/decoder, just start typing to enter
text, escape to deselect, then e/d to encode/decode.
I’m trying to make these apps super simple, self hosted out of minio, static
html, and javascript. It’s been fun to get back to some simple interactive web
development like this. No build just a website that does something. No broken
builds, no containers to deploy, just push to minio.
Great conversation with Billy Basso the creator of Animal Well on the code architecture of Animal well. It’s all hand crafted C++. He talks about early games he tried to build being heavy in oop, and really got lost in oop. Animal well is very flat, there is no inheritance, just lists of entities that all implement similar methods in their own way. Layering and order of entities becomes very important. Its crazy how much he had to think about hardware and MS build being very helpful with this, but needing to know all of the console apis.
Just fucking code. justfuckingcode.com This is great, beautifully captures a modern backend view of https://motherfuckingwebsite.com/. I honestly resonate with almost all of this. I have found myself in more trouble than help when trying to fully vibe out a project. It never refactors, it leaves it shit everywhere, it mostly does what you say, until you get to something that seems easy, so you try to do it yourself, but you break its brittle piece of shit into pieces any time you try to touch it. AI coding help is great, mcp seems like it really has some game changing abilities, but hands of vibe coded crap aint there yet for me.
f2 by ayoisaiah is a game-changer in its space. Excited to see how it evolves. F2 is a cross-platform command-line tool for batch renaming files and directories quickly and safely. Written in Go!
k8s-monitoring-helm/charts/k8s-monitoring/docs/examples/private-image-registries/globally/values.yaml at main · grafana/k8s-monitoring-helm Contribute to grafana/k8s-monitoring-helm development by creating an account on GitHub. GitHub · github.com k8s-monitoring requires setting imageregistry and pullsecrets twice
No docs, no bugs If your library doesn't have any documentation, it can't have any bugs. Documentation specifies what your code is supposed to do. Your tests specify what it actually does. Bugs exist … Simon Willison’s Weblog · simonwillison.net Bugs exist when your test-enforced implementation fails to match the behavior described in your documentation. Without documentation a bug is just undefined behavior. This is quite an interesting thought, so does this mean that, none of my undocumented side projects have bugs? no I think there is still some implied behavior that naming things covers. a function implies doing something wtih s3, getting stuff from your local filesystem or crashing would be considered a bug. I think the argument here is that if I start mining bitcoin when you call and I have not documented it that this is a feature not a bug. If I were to take this a step further, now do I need to document that this does not also start a bitcoin miner? maybe this is more of an unwanted feature than a bug, I’m convincing myself more and more.
So many small details go into making hollow knight such a great game, but it starts with such good controls, every thing is so fluid and predictable. I knew about coyote time, but not some of the other details that Juniper covers, such as hang time, and faster decent than jump.
I’m working on replacing my usage of google inline search apps with real apps, these are ones that I create and host on my own homelab. The first three that I created are mostly chatgpt based, with a bit of hand edit after the fact, uploaded to minio and become an app on my k8s-pages renamed The original title of this post was “Replacing Google Search Apps With Self Hosted Web Apps” I’m leaning on web wakelock to keep the screen on while these apps are running, primarily clos, timer, and stopwatch. Clock A large displya clock. Timer A simple timer that counts down from thet set time. Stopwatch This is the one that inspired it all, I need to run a few stopwatches at work, and chose to just do it right in the google search with a few tabs running. Dice A simple dice roller, this one is the one that I decided to start adding for help. UUID It displays a uuid, thats it. ctrl + c to copy. b64 Today i spent some time on b64, it is a base64 decoder/encoder. Just start tying to enter text, or…
I’m trying to replace my usage of google inline search apps with real apps,
today I used a stopwatch to time some things out at work by opening stopwatch.
This was something I just wanted running in a tab on another screen, it was not
timing running code or anything, I was using it as a reminder to check browser
caches every 5 minutes or so for some testing.
So tonight I whipped up a stopwatch,
clock and timer, all of
which are using the wakelock API to keep the screen on while the app is
running.
// Wake Lock support
letwakeLock=null;asyncfunctionrequestWakeLock(){try{if('wakeLock'innavigator){wakeLock=awaitnavigator.wakeLock.request('screen');console.log("Wake lock acquired");}}catch(err){console.error("Wake lock error:",err);}}document.addEventListener("visibilitychange",()=>{if(wakeLock!==null&&document.visibilityState==="visible"){requestWakeLock();}});requestWakeLock();
Excited to hear this story, they have so many key players in the trailer this will be fantastic.
I’ve been working on
ninesui,
inspired by k9s see thoughts-633.
I want a good flow for making video for the readme and I am using charm.sh’s vhs for this.
Its running in an archBTW distrobox and looks gawdaweful.
The over saturated colors give it a really retro look, seems fine, but not my
cup of tea. I tried to change the textual theme to tokyo-night and it might
have made it a bit better, but still over-saturated.
What I found is that vhs has themes, setting it to dracula made everything much better.
# sort.tape
Output assets/sort.mp4
Output assets/sort.gif
Require echo
Set Shell "bash"
Set FontSize 32
Set Width 1920
Set Height 1080
+ Set Theme 'Dracula'
I’m using these in my ninesui
project, right now they are in the readme, but maybe some docs will grow
eventually. Right now its hardcore explore phase.
External Link christopherbiscardi.com Interesting take on kubernetes from a front end perspective. All valid arguments to me, and really the answer to any do you need to any specific implementation of tech is probably no. We got along just fine before k8s ever existed and you still can, but its really nice in a lot of cases. If your skills lean toward backend or infrastructure I encourage you to give it a try. k8s distros There are a lot of beginner friendly k8s distros that you can setup with relative ease, kind and k0s are great for single node, If you want multi-node k3s is what I generally use. If you want a very lightweight OS that you only interact with through an api, and has a very small attack surface talos is an amazing product. When else might you want k8s Internal, on-prem, self hosted. If you are trying to avoid the cloud for cost, rules, regulations, red tape, kubernetes is a great option to manage your container workflows yourself without needing to have a cloud budget, get approvals and sign offs on running workflows in a public cloud.
A comparison of different custom mechanical keyboard keycap sets.
It’s sad to see textualize.io close the doors, but textual is still alive and maintained as a n open source project. I tried to use it very early, and struggled, this was before docs and tutorials really existed, before a lot of the widgets and components existed. Then as we all do I got busy and moved on to other things in life and did not have the capacity to build TUIs. I like tuis I like tuis, I like staying in the terminal. I use lf daily to move files around when I want something more than and. I use k9s hourly to monitor and manage my kubernetes cluster. Are they worth the effort?? As awesome as tui’s are, they are more effort to build, and less automatable. I feel like the first stage into automation of a project really needs to be a good cli, and this is often good enough for the project and I move on. m9a (em - nine - ah) inspired by k9s Like I said I really like k9s and use it all the time, It really makes running kubectl commands a breeze and much less verbose. I don’t know…
Just listened to this as I am really starting to get into grafana and feel like there isn’t a mountain of setup this time around realizing how much of my stack is brand new. Drill Down and Alloy are both new and key to my setup. The Ai integrations at the end sound wicked good, I will be interested if you can do similar things with an MCP vs how much proprietary stuff needs grafana cloud.
Textual - The future of Textualize Textual is a TUI framework for Python, inspired by modern web development. Textual Documentation · textual.textualize.io Ultimately though a business needs a product. Textual has always been a solution in search of a problem. And while there are plenty of problems to which Textual is a fantastic solution, we weren’t able to find a shared problem or pain-point to build a viable business around. I can totally see this. Finding a marketable business idea is not easy, working in the developer space where everyone wants to do it themselves is no better. Textual specifically I could see, I really wanted to build things on it as it came out, I had ideas, it was hard to use at the time and changing, so I took a break, got busy with far too many other things, and really I ’m good with rich most of the time. I daily use k9s, its absolutely amazing at what it does and appreciate that I could build something like it in python, its just hard to justify the time investment for the things I tend to work on. Which is why Textualize, the company, will be wrapping up in the next few weeks. Damn, that hit hard, its been an adventure watching textual get built, thing…
What’s next? Some years ago I had the opportunity to work fulltime on project of mine. This was at a time where I fully intended to take a year off, but being able to make a living off a project of your own cre... Will McGugan · willmcgugan.github.io So it’s back to plan A: taking a year off. I plan on using this time to focus on my health–something I haven’t prioritized while working as a CEO / Founder of a startup. Wish you the best Will, you have given us textual and rich, and from what I can tell left it in some great hands. All I can say for certain is that I would like to write more. Writing scratches many of the same itches as software development, and it is a skill I’d like to nurture. Go get em Will, write to your hearts desire, and resist the urge to make an SSG company this time.
Too much magic A common criticisms of frameworks like Textual is that they have “too much magic”. Will McGugan · willmcgugan.github.io Now “too much magic” is not the same thing as “bad magic”, although they are often conflated. Bad magic is when the implementation details leak out from the level below. This can manifest itself as cryptic errors that reference the magic’s implementation.
Dang Strong takes against markdown here with a strong push for bespoke content models/structures. This idea is completely foreign and wild to me. I get it that markdown has its issues with flavors, add ons and what not, but overall its mostly transportable, its a skill that works most content sites and writing tools. I am so far on the other side that I seek out tools with markdown as an option and lean away from wsiwyg tools with specialized data formats on the backend. I’ll end with, I’m also a dev that creates very simplified content and maybe seeing the backend of a site with lots of custom fields would be very eye opening for me.
Week Links №2: April 2025 Last year I attempted to do some newsletter-style link aggregation… that good intention imploded spectacularly. But I switched to Obsidian this month and now I have a better system for aggregatin... daverupert.com · daverupert.com Last year I attempted to do some newsletter-style link aggregation… that good intention imploded spectacularly. But I switched to Obsidian this month and now I have a better system for aggregating links (post on that coming later). Inside this issue you’ll find some games, some homelab server hardware, some AI discourse™, some musical instruments, and more. This hits so close to home, I even went through the effort of making a weeknotes script, one weeknote post. I also was inspired by obsidian but it didn’t work out for me, so my script uses data from markata.
What ChatGPT is NOT - Tech Raven Blog There is a lot of excitement about ChatGPT and how it allows us to interact with information and technology. I am actually excited that it now exists and still, I think it is being way overhyped. I... Tech Raven Blog - · blog.techravenconsulting.com Do you remember regression models from college: given some data, you find a best fit line that allows you to predict Y given X. At the end of the day, ChatGPT, and LLMs in general, are the same thing as the regression model – it’s just that ChatGPT is the largest and fanciest model we currently have to model language and information. I really am coming to the idea of calling it a “word calculator”, this seems to be the most succinct description of llms that the lay person can comprehend and relate to. ChatGPT does not hallucinate or become unhinged I think Steve goes much deeper on this in his intervew on fafo.fm. They describe it more as a pleaser or “yes man” essentially all the companies that are building these models want to give the “best” answer, better than their competitors. With this comes the risk of it being completely wrong, they are designed to always give an answer. On that episode the…
“I’d rather read the prompt” Clayton Ramsey grades student assignments and gets papers that are just obviously ChatGPT output. I think any of us can spot it by now: awkward repetitive prose, heavy on bullet points with bold in… Chris Coyier · chriscoyier.net I’ll triple down on the link-blog chain here, see this one going around all over this week and finally had time to read through when it hit my rss reader via Chris. It should come as no surprise that nearly every vibe-coded app on the Internet struggles with security issues; look no further than the vibe-coded recipe app that leaks its OpenAI keys. Every time one generates code by prompt, they create a new stillborn program; vibe coding is the art of stitching together their corpses into Frankenstein’s monster. Damn, that is a strong statement, stitching together the corpses, strong statement here. The OpenAI key thing feels kind of obvious to me, every set of docs, blogs and examples on the internet need to be runnable for people to learn and try out new tech easy, putting secrets in the wrong place is easy, putting them somewhere that you can decode them without sharing them is hard team specific, app specific, and so nuanced…
Under 2000 everything is happy, green field. Any decision you have made is relatively easy to back out of (barring you making a library with downstream users), but as you go, regret kicks in. Regret we didn’t make that pydantic 2 upgrade earlier, as new features become more apealing. Regret that we chose sqlite for simplicity, speed, agility, and now we might need robust and distributed. Regret that you chose a front end framework, or to have a front end at all to a backend problem. Regret that you put 6 layers of abstraction on your db early on and now that you understand the problem you want different abstractions, but all of your endpoints deeply depend on the current one. Vibe coding will not save you, it will only make these wrong decisions for you without the context that you have. You will hate it’s decisions more because you had no input into some of them.
“Gradually roll out your releases to a small group of people” ~ roughly what prime said (I’m listening live) This really hit home with me, tests can be so good at making sure that we dont repeat bugs and that laser focused things work, tests are generally small and focused, but this does not replace some sort of integration testing. These days very few things are written as a monolith, and hence there are a lot of interactions that really need to play well together accross various systems. They call out Crowdstrike here, which took down the world blue screening critical windows systems everywhere in 2024. It was revealed that a small changed was rushed through and skipped critical rollout paths since it seemed like a small change. Crowdstrike also runs at a super low kernel level of access and a small memory bug can kill the system.
External Link waylonwalker.com I’m trying to level up my sre game. I’m trying to set up grafana dashboards for everything and it is such a wide surface area. It’s never just one thing you have to have 3 or more things hooked together in order for the data to flow. I’m really getting not invented here vibes, and thoughts that I can just build this myself. Not grafana and it’s scalability necessarily, but small components of observability.
Kubernetes Monitoring Helm tutorial | Grafana Loki documentation Grafana Labs · grafana.com This is a really great guide to setting up kubernetes monitoring with helm, it uses loki as a log datasource and alloy as a collector of kubernetes logs, events, and nodes. The charts are setup really well to start collecting logs from all your kubernetes pods.
Configure the Tempo data source | Grafana documentation Grafana Labs · grafana.com Really helpful article to getting tempo datasource setup in grafana, this enables you to see span and trace data within grafana. This data helps debug and work through issues that you might come into with performance and need to see the timing of requests along with logs.
I’m trying to learn proper logs, monitoring, otel, and grafana. Today I
imported a bunch of pre-made k8s dashboards and made a few of my own for
specific apps, and it made me want to know how I can turn my own custom
dashboards into infrastructure as code. Turns out grafana makes it pretty easy
to do this, if you have the grafana dashboard sidecar running. It will pick up
any ConfigMap with the grafana_dashboard label and import it.
Go to Dashboards -> Pick a Dashboard -> Export -> JSON.
I just made it past 100% in my main hollow knight run, so now I will allow myself to get silksong when it comes out. I did this with a little bit of YT guidance, but mostly just figuring it out. I only just discovered the ⭐ ReznoRMichael hollow-knight-completion-check which got me an extra 2% for a few items I must have got and not saved on, because I was sure I had them. Controller Hollow Knight is a game that can be played with keyboard or controller, You can use analog stick for movements, but they just translate to dpad, there really are no analog moves in the game. This makes it ripe for playing on pure keyboard. I really favor controller when there are more than one analog (throttle, brake, steering for example). On controller I’ve switched to only using d-pad as I feel like it gives me the most crisp of controls. It is really easy to miss a pogo on analog by hitting slightly left or right. My Keyboard My daily driver keyboard is a custom built 40% monoblock keyboard I absolutely…
I recently discovered wezterm by wezterm, and it’s truly impressive. A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
Today I fixed a bug in markata that has been occurring for a few months where the description for posts come out as None if coming from cache, the issue was a pretty simple check and pull properly from cache. This fixes all the descriptions in feeds and metadata on the post. Better description While in there we went ahead and improved our get_description to more accurately return plain text without escaped characters, remove cutoff words, and add an elipsis if the description cuts off the text. More description While I was there I made longer form posts, use the super description of 500 characters instead of the regular 120 character description. Before After
Vectorizing Your Databases with Steve Pousty What exactly is an LLM doing and why do you need to learn so many new terms? Steve Pousty is here to explain that most of those new terms are things you already kno… Fork Around And Find Out · fafo.fm Steve is such a great listen, the neurospicy 🌶️ rambles this episode goes on is so relatable. I feel like I really missed out on some great takes on intellij vs neovim, but got some really great knowledge about vector db’s, embedding, text compression, similarities to vector algegra like infinite craft. Just popped open infinitecraft and I’ve definitely played this with my kids before, super fun, just could not remember the name of this one. I do remember an android one as well that is alchemist or something like that, which we have also played a lot.
External Link fafo.fm This episode really got me thinking about the difference between HA and DR and my approach to each one. They talk about it from the perspective of a cach cow kind of app rather than a homelab or internal tooling, but think of HA as 9’s how many 9s are we willing to pay for, tink of DR as dollars how many dollars will we loose during the period of recovery. So much more in the episode, a lot of talk around cloud vendors and what they give you vs a purpose build platform with HA and DR in mind.
Just starred kubero by kubero-dev. It’s an exciting project with a lot to offer. A free and self-hosted PaaS alternative to Heroku / Netlify / Coolify / Vercel / Dokku / Portainer running on Kubernetes
I’ve been using ruff to lint my python code for quite awhile now, I was pretty
early to jump on it after release. Some of my projects have had a nice
force-single-line setting and some have not. I dug into the docs and it was
not clear what I needed to make it work.
[tool.ruff]select=['I']# you probably want others as well[tool.ruff.isort]force-single-line=true
Astral is doing great things in the python industry. They are disrupting entire categories of tools with extremely fast, easy to use, and feature rich alternatives that make it really hard to keep using the incumbent. So far I am seeing no signs of evil, sometimes with such a disrupter there is some sort of downside that make it hard to want to do the switch. In the interview they even mention things like leaning on lsp so that it works across all editors rather than building out vscode integrations that work for most developers. As a neovim user I greatly apreciate this.
Playground | ty An in-browser playground for ty, an extremely fast Python type-checker written in Rust. types.ruff.rs ty, has a playground running at types.ruff.rs. You can edit code in there and see what the type checker results would be in browser. This looks good, excited to see it running in my lsp. Here is an example where a Optional may not be defined. Checking for existance before using it resolves the issue.
ty An extremely fast Python type checker, written in Rust. PyPI · pypi.org Astral is working on some great things around python, they have created a high standard for python tooling built on rust that works really well, runs fast and covers everything in the space it resides in. ty appears to be their linter coming soon.
I was looking back at my analytics page today and wondered what were my
posts about back at the beginning. My blog is managed by markata so I
looked at a few ways you could pull those posts up. Turns out it’s pretty
simple to do, use the markata map with a filter.
3D Printable Power Brick Bracket Designer Generate custom 3D printable power brick brackets for your devices. Design and export your own mounting solutions. Bracket Engineer · bracket.engineer This is madness that Wes Bos made this with manifold.js and no openscad! Yes, I have these stupid brackets everywhere, yes, I hand model my own brackets. No I don’t do it enough. I don’t like that these model generators like openscad cannot make fillets and chamfers, but I appreciate the heck out of the speed and automation you can make iterations of things. Link to the promo video. https://bsky.app/profile/wesbos.com/post/3lo4h7unk6s2i
661: Working Vacations, Ripping Out JavaScript, and Non-US Cloud Service Options What are the non-US cloud services options, falling off the blogging train and trying to get back on, working on vacation, Chris recaps the Alaskan Folk Festival experience, how often do you go bac… ShopTalk · shoptalkshow.com Chris hit me where it feels about 10 minutes in. He said he has not been writing on his site as much lately and how hard it is to get back in. He mentions having a baby idea of a post, but then having the thought do you really want to come back from a long break with this! Momentum is a b**** when you got it you cant stop, and when you don’t you can’t stop.
How is usability and it doing the thing I paid for it to do a selling point?? Any time I’ve touched a windows machine in the past 7 years has felt awkward, I have no idea where things are now, but they look so much worse.
How is usability and it doing the thing I paid for it to do a selling point?? Any time I’ve touched a windows machine in the past 7 years has felt awkward, I have no idea where things are now, but they look so much worse.
A quote from Mark Zuckerberg You also mentioned the whole Chatbot Arena thing, which I think is interesting and points to the challenge around how you do benchmarking. How do you know what models are … Simon Willison’s Weblog · simonwillison.net Interesting how confidently he says we can easily go to the top. really makes you wonder what we the normies are leaving on the table by using these general purpose models and what could be achieved with really tuned in models. Could I make an automatic blog tagger more accurately, maybe smaller, maybe tuned so well it runs fine on cpu?
P. Martin Ortiz: Web apps can easily adapt to whatever device you’re on. A single responsive website can run on your desktop, phone, tablet, or even a VR headset. What’s even more, they can be... Chris Coyier · chriscoyier.net The web is everywhere, its the one true write once and run anywhere platform. Millions sunk into browser performance and things like the v8 engine allow us to run our shitty websites anywhere and it still runs good…. most of the time
Helm - Postiz Documentation Install Postiz using Kubernetes and Helm Postiz Documentation · docs.postiz.com I didn’t realize that postiz had a helm chart, I just hand rolled mine based on the compose file they provide. I went from running the compose stack locally to running in my homelab with kubernetes. I am using cnpg rather than a postgres container which I really like the workflow of as far as backup and restore. The one hiccup I ran into was changing the domain from localhost to my homelab domain killed all of my integrations and they needed the redirect url updated.
Here is the current state of my platformer yet to really be named, I want to make something in between hollow knight and portal. Starting I made one once in make code arcace on a pybadge. It was quick and dirty, but fun to work on. It had the basic of blocks that I could move, blocks i could put a portal onto, and a goal for each level. Some levels you can just walk through and some levels required you to really think about where to place the portal. History So this version of the game is a least 2 years in the making, I open it every few months give it a day or two and move on. Its mostly something that I work on with my son. He really likes to jump around on projects so its hard to make real progress on something, but we are hitting an age where he is able to come back to projects a little better. All of this is built in python, and mostly before vibe coding was a thing, its mostly me trying to get out ideas as quick as my son is spitting out the the next idea. Coyote It includes a f…
Check out goose by block. It’s a well-crafted project with great potential. an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
Check out kubernetes-mcp-server by manusa. It’s a well-crafted project with great potential. Model Context Protocol (MCP) server for Kubernetes and OpenShift
I’m really excited about any-agent, an amazing project by mozilla-ai. It’s worth exploring! A single interface to build and evaluate different agent frameworks
Great talk from Lous Rossman! TLDR you don’t own it, and stop pointing the finger calling everyone else an idiot for supporting the other brand, cause your’s probably also has different issues.
Looking for inspiration? Reloader by stakater. A Kubernetes controller to watch changes in ConfigMap and Secrets and do rolling upgrades on Pods with their associated Deployment, StatefulSet, DaemonSet and DeploymentConfig – [✩Star] if you’re using it!
Check out ReznoRMichael and their project hollow-knight-completion-check. App for reading and analyzing a Hollow Knight save file. Shows what remains to do for full 112% Game Completion, Achievements, Hunter’s Journal, Collectibles, True Completion %. Includes a self-designed Hint system.
This is a wild concept for a slicer, essentially he didn’t even make a slicer just a crazy pre-process and post prossess to cura slicer, deforming the part until it doesn’t have any overhangs, creating a normal planar slice, then undeforming the output from cura. He also mentions that the rapid moved needed modified as well. I’m assuming this is because they are generally long distances and not short, without breaking these long lines up we would still end up wtih a straight line after deform.
Marp: Markdown Presentation Ecosystem Marp (also known as the Markdown Presentation Ecosystem) provides an intuitive experience for creating beautiful slide decks. You only have to focus on writing your story in a Markdown document. marp.app Intersting markdown presentation tool, Looks very simple. I really like split on much better than by h1 or h2. Their theme looks really nice in the screenshots.
How to make an entire clickable without presenting the entire content of the card as the link title. These videos are great, I’ve ran into these types of problems so many times, and definitely did not know about things like isolate to keep the z-index scoped to one element. isolate - scope z-index inside this element so that it does not leak out. [.relative [.absolute, inset-0, z-10]] - the inset zero is a modern shorthand for zeroing all sides, top-0, right-0, bottom-0, left-0.
This is an absolute banger of a review by prime and Dylan Beetle. I love the similar takes with different perspectives, would really like to see them podcast together, but this one way style interview does really well to cover a lot of issues in open source, rug pulls, version pinning, thankless maintainers, what its like to open source from a large company.
Perils of Self-Hosting We speak to Kevin and Patricia from Traefik, discuss Alex's recent ZFS snafu and we wonder if the new Chromecasts can match up to the Nvidia Shield. Self-Hosted · selfhosted.show Interesting takes on Diun here. I agree that I like to be in control of updates and pinning not to latest. both seemed like they weren’t going to run it because they can look up the latest version. Maybe I need to be less aggressive on keeping things up to date and its a me problem. I just got diun setup and hooked into ntfy, and I kinda like the automated checklist of new images that I can review and update. To be a bit more clear, having control over changes coming in from others, even if I dont care to see the changelog, it is nice to roll out an update, have it in your git history, watch it deploy and work like before, if not roll back and read the changelog. For internal applications I’m down for automated releases like argo image updater give you, this thing has already gone through review, launch the damn thing at least to a dev space.
Spring 2025: Self-Hosted Update The one where things plod along. dbushell.com · dbushell.com Davids blogs always have so many links that send me down new rabbit holes. Interesting that his experience with smart home is turning away, I’ve been somewhat interested for awhile, but never fully pulled the trigger on buying things. I really hope tailscale enshitification does not take off, but really for me, I barely use it even as a homelabber. Idk why, but every other homelabber praises it so much and I just dont find myself using it.
Characters Xe Iaso xeiaso.net xeiaso, has the coolest characters on her blog. Definitely something I’d like to replicate. I really appreciate how each one has its own sprite sheet, and they have conversations with each other.
GitHub - adrianlopezroche/fdupes: FDUPES is a program for identifying or deleting duplicate files residing within specified directories. FDUPES is a program for identifying or deleting duplicate files residing within specified directories. - adrianlopezroche/fdupes GitHub · github.com keeping this in my back pocket for now. I just moved a few TB’s of data in the homelab and I am expecting a lot of duplication to show up.
I’m really excited about fdupes, an amazing project by adrianlopezroche. It’s worth exploring! FDUPES is a program for identifying or deleting duplicate files residing within specified directories.
Diun Receive notifications when a Docker image is updated on a Docker registry crazymax.dev Diun, looks like a very interesting tool to monitor for image updates, it does not make any change, it only makes notifications. This feels like an easy start to getting image updates started with low effort, keep git ops, but requires manual updates. I see this as a tool that would be a great start and pair well with automated image updaters to ensure they are working as expected.
Keel Kubernetes Operator to automate Helm, DaemonSet, StatefulSet & Deployment updates keel.sh Keel looks interesting, I might give it a try as a simple image updater. I’m unsure if it fits my gitops patterns though. I like to keep everything defined in git, I don’t like drift outside of that so Keel might not be the thing I want.
I’m setting up longhorn in my homelab, and I ran into an issue where I initially setup some pvcs under longhorn, and later realized that to get longhorn to snapshot and backup I needed to hand edit volumes after the fact or change storage class. I’m all in on gitops so option 1 was not an option. So changing storageclass it is. Now the issue is that you CANNOT mutate storageclass on a provisioned pvc, it is an immutable attribute. Migration Job This migration job will create a new pvc with the new storageclass and move the data from the old pvc to the new pvc. Existing Pods This migration job will not work if you have a pod using the old pvc. You will need to shutdown the pod and delete it. Apply the manifests and wait for the job to complete. Cleanup I had chatgpt create me a script to help me find what is using the pvc so that it can be deleted. I had still had cronjob pods completed, so I had to delete them first.
backdated This represents the first sign in to this device. This will be my 3rd pixel 6 since 2021, One shattered screen and one blown battery. My first one was brand new, the first new phone i’ve had in years. That phone only proved to me that new flagship models make no difference to me, I had been running pixel 3 refurbished for many years before. No social media on this device Social media sucks become a bunch of people yelling “fake news” at each other and propping up their political candidate as the savior of everything. Elon bought twitter and fractured it. The communities are no longer here, and I have to dig through so much political posts to see post on tech and engineering its not worth it anymore. update from a year later and It’s been great, I check socials like once a week hoping to find better things, but it all seems like the same BS. The Crypto bros have moved on to AI so hard that I just cant stand watching most of them yap about something that they have no understand…
External Link youtube.com Damn he makes this easy. I did not know about. yes there is waste in requesting the entire thing every 5s, but damn that was easy to get life reload. I’ve only done very specific backend endpoints, built pages up from partials, made endpoints for partials. keeping this one in my back pocket. I’m just kind of amazed that he could do this all in html without touching the backend or js, typically things like this require one or the other. Yes js is running, but no other js library I’m aware of lets you do this.
I recently discovered kubectl.nvim by Ramilito, and it’s truly impressive. ⎈ Streamline your Kubernetes management within Neovim—control and monitor your cluster seamlessly, all without leaving your coding environment.
Resetting a lost admin password — Nextcloud 36 Administration Manual docs.nextcloud.com This is a handy line to reset your admin password in nextcloud.
Redis configuration Overview of redis.conf, the Redis configuration file Docs · redis.io redis has all of their default self documented configs hosted here. You can pull the default redis.conf for any of the major releases.
xpipe by xpipe-io is a game-changer in its space. Excited to see how it evolves. Access your entire server infrastructure from your local desktop
Using pbpaste for command substitution keeps sensitive or long URLs out of
your shell history. Instead of typing git clone https://github.com/user/repo-with-long-name.git, copy the URL to clipboard and
run git clone "$(pbpaste)". This prevents the URL from appearing in
~/.bash_history or ~/.zsh_history.
To get pbpaste working on both Xorg and Wayland, add this to your shell config:
hotel_bookings.csv Discover what actually works in AI. Join millions of builders, researchers, and labs evaluating agents, models, and frontier technology through crowdsourced benchmarks, competitions, and hackathons. kaggle.com nice dataset to use for example / test projects. I’m using it to play with duckdb currently.
Previously THPS 1 Skate Park Gaps Big Ass Billboard Grind BS Gap BS Grind Burly Deck Gap Car Ollie Cheesy Deck Gap Death Grind Deck Gap Dirty Rail Glass Gap Kicker Gap Kicker 2 Edge Kicker 2 Street Rail 2 Rail Roof 2 Roof Secret Tunnel Entrance Sucky Room Gap T 2 T Gap Transfer Truck Gap Tunnel Gap Wimpy Gap Mechanic Gap Box Office Gap Skyway Gap Super Skyway Gap
The State of Secrets Sprawl 2025 GitGuardian's 2025 report reveals 70% of leaked secrets remain active two years later. Discover the alarming state of secrets sprawl & protect your organization. GitGuardian Blog - Take Control of Your Secrets Security · blog.gitguardian.com Good report, make notes later
Mill-Max Hotswap Sockets Mill-Max sockets for adding hotswap support to regular PCBs. Sold in packs of 60 (good for 30 switches). Info about the different types 7305-0: Gold-plated sockets (7305-0-15-15-47-27-10-0) Shorter... Keebio · keeb.io looking into trying these Mill-Max pins on a handwired 3d printed build to see if I can get away from specialty hot swap sockets. Damn they aren’t exactly cheap, I really want the nice short ones but they start at $20 per 60ct and you need two per key, that adds up quick.
External Link r.jina.ai jina reader is a pretty sweet tool to convert a site to ai compatible text. There are other web to markdown types of tools, but the convenience of just adding r.jina.ai to the front of any page makes it so easy to grab for one page of docs.
the racked up 4 framework mainboards sound wild. connected with usb4 and 5gig ethernet. they said they can run big models quantized down from 600Gb to within the 512GB limit they have. This seems wild to bring this level of capability to such a low price point. It will be really cool to start to see demos come out.
Just starred monolith by Y2Z. It’s an exciting project with a lot to offer. ⬛️ CLI tool and library for saving complete web pages as a single HTML file
Previously THPS 1 Mall Gaps Next THPS 1 Downtown Gaps Acid Drop Across The Park Around The Bend HP Transfer Light Grind Over The Box Over The Pipe Over the Rafters Pool 2 Walkway Pool Hip Pool Rail Trans Rafter Rail Transfer Walkway Rail Trans Wall Gap Wall Gap Jr Whoop Gap
Trailmakers 2.0 Pioneers was released today as an update to trailmakers. It’s a brand new campaign mode that requires you to mine resources to get materials to craft your vehicles rather than salvage parts like you so in the Stranded Campaign. There also seems to be a more linear play through of the story with the frogitts, unlike stranded where it let you do anything completely open world, as long as you had the equipment to go there. Four Frogitts Out of the gate Wyatt came in with four frogitts to rescue, I don’t know how he found them all, I’ve only been able to find the first one that the master gives you to bring home as a tutorial. First Boss After Wyatt left for bed I played a little more and beat the first of what felt like a boss level enemy, he had much different attacks. I did not think I would make it as I got hit hard from his first explosion attack before I realized what it did. Here is where he was on the map. First Mega Drill So this first mega drill was a mistake we w…
If you’re into interesting projects, don’t miss out on homelab-compose, created by Doomlab7. A repository for the applications I run via docker-compose in my homelab
PyApp ofek.dev I think I’m getting really close to having a good workflow setup for using pyapp. Such an amazing project to allow developers to create applications in python without passing on the hassle of python and managing installs to the user.
Watching Wes fiddle through this with what a sane person would write in a normal day application and not applying the tricks for this kind of battle is how I feel when trying to do leetcode.
On the road to Gap Master achievement I got all School Gaps in THPS1. This is a super fun level, I’ll have to admit that I had to look up at least a quarter of them, and could not find them myself, mostly due to the naming, all of the rail tricks were actually ledges and I was looking for big rails. None of the warehouse gaps were manuals so I had no idea that the downhill and accross the gym would be manual tricks. Previously THPS 1 Warehouse Gaps next THPS 1 Mall Gaps Ditchin Class Dumpster Rail Gap Funbox Table Transfer Garbage Ollie Gimme Gap Hall Pass gap All-Access Gap Huge Rail Kicker Gap Long Ass Rail Mini Gap Over a Footbridge Over the Air Condidtioner Park Gap Planter Gap Playground Rail Rail to Rail Transfer Roof To Awning Gap Roof To Roof Gap Funbox To Rail Transfer Downhill Manual Accross the Gym Roof Hop Down the Awning Perfectly Balanced Gigantic Rail Ridiculous Rail Got the badge
This is one of the most memorable levels for me in THPS1 from when I had originally played it. Surprisingly there aren’t as many gaps in it as I thought there would be, there are definitely a lot that you can make up on your own. Anyways here’s my playthrough of all the mall gaps in THPS1 on my way to gap master. Previously THPS 1 School Gaps Next THPS 1 Skate Park Gaps Huge Stair Set Off A Mezzanine Coffee Grind The Flying Leap For the Whole Atrium Fountain Gap Exit Stage Right Exit Stage Left Over A Stair Set Over A Huge Stair Set Planter Gap Rail Combo Skater Excalator Gap Accross The Light Beam The Long Rail The Short Rail
Ergonomic Laptop — Evan and Katelyn Back pain ends here. Evan and Katelyn · evanandkatelyn.com This is such a cool idea, I tend to not use laptops at all because they are so uncomfortable I just wait till I’m back at my desk. This solves two main issues I have with laptops, the posture to use them is shit, the keyboards that come on them is not what I want to use. I’ve solved the latter with my own custom keyboard.
OpenTools | Grow Revenue with Agentic Commerce OpenTools gets your store ready for agentic commerce, so AI agents like ChatGPT, Claude and Perplexity can buy from it. Get a free score in 20 seconds. OpenTools · opentools.com OpenTools is an index for mcp servers to work with new agentic workflows like roo code and windsurf.
I really like this idea for a homelab jbod. Hardware Haven builds out J ust a B unch O f D isks using some pretty affordable hardware and has up to 16 disks added to his homelab with the os having full access to use with zfs.
On the road to Gap Master achievement I got all Warehouse Gaps in THPS1. This is this classic warehouse level that everyone thinks of when THPS is mentioned. Such a good level, compact, easy to play, with some fun gaps that might take a few tries to hit. Next up THPS 1 School Gaps Big Rail Channel Gap Deck 2 Rail Face Plant High Rail Holy Shi Kicker 2 Ledge Kicker Gap Monster Grind Over The Pipe Secret Room Taxi 2 Ledge Taxi Gap Transfer Transition Grind
XCMKB: ZMK/Bluetooth Boards XCMKB: Key Remap Dear beginner, there is no real time key remap like Vial, but thanks to nickcoutsos for his work on Keymap Editor, a browser app allows you to load ZMK keymap code and manage it wi... XCMKB · xcmkb.com Nice overview to getting started in zmk
I recently discovered kubevpn by kubenetworks, and it’s truly impressive. KubeVPN offers a Cloud Native Dev Environment that connects to kubernetes cluster network.
I run tailwind for my personal blog, whenever I update it, pre-commit goes in
and fixes end of file. I’m sick of these things fighting each other, since it
is a generated app it is going to et ignored from pre-commit from now on.
External Link youtube.com Damn this looks good, I’ve been casually keeping my eye out for something like this for quite awhile, I think this will come in handy for keeb builds. Printing one out as I post this, damn I love 3d-printing.
There are many Style Guides but this is Mine—zachleat.com A post by Zach Leatherman (zachleat) Zach Leatherman · zachleat.com Zach’s site looks sick colors are all on point, the fonts are so good. I really like the idea of a style-guide. I think I might be renaming my Sample post to style-guide now.
python-build-standalone/.github/workflows/release.yml at main · astral-sh/python-build-standalone Produce redistributable builds of Python. Contribute to astral-sh/python-build-standalone development by creating an account on GitHub. GitHub · github.com Astral uses just in CI, kinda cool to stumble into this setup in the wild. And her is the accompanying justfile. you can see how it accepts arguments, and starts calling out to other just recipes.
fix double slash in url · WaylonWalker/waylonwalker.com@93ca7da Latest version of waylonwalker.com - dev.waylonwalker.com - fix double slash in url · WaylonWalker/waylonwalker.com@93ca7da GitHub · github.com fixing more ahrefs issues on the road to fixing all major issues within my control I found a ton of urls pointed to an url with a double slash, turns out I wasn’t properly referencing slug with post.slug.
fix json schema · WaylonWalker/waylonwalker.com@deebd40 Latest version of waylonwalker.com - dev.waylonwalker.com - fix json schema · WaylonWalker/waylonwalker.com@deebd40 GitHub · github.com I found that I had Structured data has schema.org validation error on essentially every single page on my blog, turns out I had made some changes and have never tried to validate it. Damn json and its hatred towards trailing commas.
Weblogging: Part 1 The one where I blog about blogging (part 1) dbushell.com · dbushell.com Long live RSS! Rss is not dead David, you are right there. I really agree with David that learning a topic well enough to form thoughts and write about it really help learning. You don’t need to be an expert, but forming your own thoughts, putting ideas in words takes a lot more than surface level knowledge. When you try to write or speak about something you quickly realize where your holes in understanding are. Blogging helps me learn. When I commit knowledge to writing it reinforces what I know and shines a spotlight on what I don’t. Most topics require additional research. Even then, I occasionally get things wrong, or miss different ways of thinking, and I welcome corrections. I’ll often update and enrich my posts based on feedback. Without my blog I’d miss other points of view. As they say, the best way to get an answer on the internet is not to pose a question, but to assert the wrong solution! Most feedback I get is constructive. Sometimes it’s blunt but I try not to read into unspoken sentiment. Some people are more direct. If the end result is positive learning, I can take a hit or…
fix: Open Graph URL not matching canonical · WaylonWalker/waylonwalker.com@0fd994b Latest version of waylonwalker.com - dev.waylonwalker.com - fix: Open Graph URL not matching canonical · WaylonWalker/waylonwalker.com@0fd994b GitHub · github.com In fixing a bunch of meta tags, I introduced Open Graph URL not matching canonical on every page by having trailing / on canonical and not on the. This commit will fix the error.
After that embarrasing death I made my way over to a touchstone I found and Woodie is back from the dead, but without his beloved Lucy, to get her we will need to go
Cotton Coder The one where I launch a new blog dbushell.com · dbushell.com I like Davids idea for cotton coder here, reminds me a lot of Thoughts, which turns out to be mroe commonly called a linkblog. I can relate to David heavily on gathering too many side projects and soem collecting more digital dust than you would really like them to. I use thoughts for quick publishing, very similar to David’s notes. I have tags and titles, but the titles are a reflection of the post I’m taking a note on. They are short and sweet, I put just enough thought into them without overthinking them. They live as a separate server hosted website, but the data gets pulled into my blog at build time, so they end up in the same place eventually.
GitHub - valkey-io/valkey: A flexible distributed key-value database that is optimized for caching and other realtime workloads. A flexible distributed key-value database that is optimized for caching and other realtime workloads. - valkey-io/valkey GitHub · github.com valkey appears to be the largest open source fork of redis that was forked just before their transition to the new source available licenses. One notable thing missing from the readme is how to run with docker, which I saw in the valkey-py docs. You can install the python library with
valkey Python client for Valkey forked from redis-py PyPI · pypi.org python bindings for valkey, forked from redis. one notable difference I see from redis is that you can install with libvalkey to autmatically get faster parsing support. For faster performance, install valkey with libvalkey support, this provides a compiled response parser, and for most cases requires zero code changes. By default, if libvalkey >= 2.3.2 is available, valkey-py will attempt to use it for response parsing.
I’m really excited about valkey, an amazing project by valkey-io. It’s worth exploring! A flexible distributed key-value datastore that is optimized for caching and other realtime workloads.
To kick off the second session, I noticed that when you have a torch you can light your cooking pot, what I did not realize was that this burns your cooking pot to smitherines. Nothing left but a frame of ** ashes.
Fragmentions - linking to any text kevinmarks.com I can’t believe I’ve never see this Tim Berners-Lee quote, but I can’t unsee it and will be required to reference it from now on. eventually every URL ends up as a porn site I had a friend let his blog domain expire, within a short period it was scooped up and was hosting porn. I don’t know why, but my best guess is that they were holding it ransom with the most embarrassing content to have your personal site replaced with.
hype cp | Hypermedia Copy & Paste hypecp.com This is a super cool reference for htmx snippets. I really like how he has a couple of errors on the page as examples with examples that fix these common errors.
As I was gathering resources with Lucy, minding my own business ** I got hit with an attack from a Clockwork Bishop, man these things hit hard and have really good aim. I took three hits before getting away, leaving me with very low heath at the end of this play session.
This post is still WIP. ….. https://indieweb.org/fragmention##Challenges I’ve been digging through David Bushell’s blog over the past day, he has some really good ideas about blogging and webdev. One really interesting post I came accross is url-fragment-text-directives. I’ve long had id’s linked on my headings, though sometimes broken, or now showing the link, I’ve done my best to include them. Fragmentions extend this to allow any text to be linkable like this. fragmentioner ui: https://github.com/kartikprabhu/fragmentioner/tree/master?tab=readme-ov-file fragmentioner js: https://github.com/chapmanu/fragmentions Examples https://resilientwebdesign.com/#This%20is%20a%20web%20book
I’m building in a [[ fragmentions ]] implementation into my blog, I wanted to
add some text before the fragment to indidate that it was the highlighted
fragment that someone may have intended to share with you.
To get a newline in a :before I need to use \A and white-space: pre-line.
I’m going to leave the title off this post and see what happens. Titles are a lot of pressure! I think there is a reason that the big text-based social networking sites (Mastodon, X, Facebook… Chris Coyier · chriscoyier.net Interesting thoughts here on blog post titles, do we need them? They are so ingrained into everything. It makes me think about markata.dev. I don’t require you to add any meta data to your post, you don’t need a title at all, but you do have to name a markdown file, and this does end up being your title if you don’t set one. Titles are a lot of pressure! I think there is a reason that the big text-based social networking sites (Mastodon, X, Facebook, Threads, LinkedIn, Bluesky, etc.) don’t have titles. Especially for short posts, the title just isn’t necessary. Just say the thing. Interesting observation what rss readers do without one. My own favorite[rss reader], Feedbin, shows the author of the post as the title if it’s missing. Eh, not great not horrible. Hilariously he puts a title on the OG image for the post. I was interested in seeing what would happen in signal, it appears to be showing the author name as well. Confirmed the page has no title or does it…
AI workloads on Talos Linux Companies are exploring how to run GPU accelerated workloads on Kubernetes. Sidero Labs · siderolabs.com cool article for setting up talos linux with an nvidia gpu. What a wild world it we are living in where these devices that started out being only for hardcore gamers are becoming commonplace in servers and slowly entering the homelab space.
Damn prime makes an interesting point near then end of this video. He’s seen a bunch of people able to just throw down charts and shit at their company and end up being “the coding guy” cause they proompted something once. In a way I can relate, I got into software in a similar way, but at a time that it took a lot more hard work, understanding, and copy past from the right stack overflow. Based on some of the people around me at the time I can only imagine how some people must feel like they got pushed into it without wanting it, and now are building something they don’t know anything about with no care about it or care to build any expertise. Is the future proompted charts from enterprise chatgpt or do we only continue growing more need for software from here.
I’m really excited about pangolin, an amazing project by fosrl. It’s worth exploring! Tunneled Mesh Reverse Proxy Server with Identity and Access Control and Dashboard UI
Check out llm-sort by vagos. It’s a well-crafted project with great potential. Sort input lines semantically with llm
On day two I had enough materials gathered to make the garden digamajig to prep the soil for gardening. I planted the few seeds that I stole from the birds right away.
Here’s the diff, this is it. The error On first install of my dotfiles I’m presenting with this flashbang of an error filling the screen with red background. Its kinda hard to read, I’m not deep into lua and reading their tracebacks. It pops up in this pager that if I scroll too far it quits and the error is gone before I know what it is or how it got there. For the longest time it just felt like it randomly showed up without much warning. I sent ai at the issue I tried some chatgpt and windsurf, both gave me overconfident answers that all did nothing. They just sent me in loops for way too long. I fixed it What did it take?? Just sitting down and thinking about what the problem was and setting up a good test workflow. Yesterday I worked out testing nvim installs and I was immediately able to replicate the error over and over. Unlike before where it felt random, I now have a good problem statement that I can replicate. clean install start nvim Lazy pops up FLASHBANG!! Error that treesi…
Testing fresh nvim installs can be a pain, and hard to di without borking your
known good install. I’ve been using NVIM_APPNAME to run a test nvim in a
sandbox that wont bork my main install. This usually runs for me in under a
minute, can be down under 15s if I remove some of the TreeSitter installs at
the end. This beats a full docker build of my full devtainer to test out nvim
packaging woes.
I connected my home network to have 4G bakcup with Google Fi and Netgear LM1200. Goodle Fi offers free data-only sim cards that you can order from their service. It takes a couple of days, and a new sim arrives in the mail free of charge. It does pull data from your account, so if you are not on an unlimited plan be careful of how much you let go through the sim. I’ve owned this for a few years now, but it’s been disconnected for a good six months or so. I’m not s[e what happened, but it stopped recognizing the old sim card. no need to point out the coffee stains at the end, its definitely not related Follow the provided instuctions Activating the sim asked for a confirmation code shipped with the sim card, then brought me to this page. Clicking brought up instructions to set up the APN in the LM1200. Restart First thing for me was that the sim was not recognized, restarting the LM1200 did the trick to recognize it as a Google Fi sim, and I started setting up by adding the APN as instr…
This post is a big work in progress, expect it to keep getting better. Initial Score 404 Not Found, generate a page for each tag Title too long 404 Not Found, comma separated tags Another hit on 404’s caused by tags, was tag parsing from thoughts into posts, this cause links to the full comma separated list of tags rather than one per tag. You can see on the website the whole dang set of tags was being treated as a single tag. Broken images I’m not fully sure what happened to all of these gifs in my old host and why they didn’t show up, but I moved them all and they are solid now. I burned all of my January Credits So I had an issue with my self hosted shots not making them fast enough for ahrefs, and essentially ddosing myself on one of their runs. The long wait times for images burnt all of my credits. Here was the next successful run with a HUGE improvement in overall score. The trend for errors is looking quite good. md files were Missing I had several links out to the raw source o…
When I want to put a date in a document like a blog post from vim I use !!date
from insert mode. Note that entering !! from normal mode puts you in command
mode with :.! filled out. This runs a shell command, i.e. date for this
example.
It outputs the following
Fri Jan 31 08:46:11 PM CST 2025
You can also pass in a date such as tommorrow by pasdding in the -d date -d tomorrow.
It outputs the following
Sat Feb 1 08:53:20 PM CST 2025
codeium just taught me this one with autocomplete
:put=strftime('%Y-%m-%d')
This outputs the following
2025-01-31
What I like about the :put =strftime( method is that you can add a format,
but that is a lot more for me to remember than !!date
I’m going through a bunch of blog posts and dont want my date formats to change
to the Wed Feb format so I broke down and made these keybindings. I think I’m
still going to be using .!date a lot, but these keybindings will be nice for
editing blog post frontmatter.
Just after the first night started I found my way back to the center of the map and made a stone campfire. I really like to use the stone campfires as they last forever, you just have to add wood. I was lucky enough to find stone by the Tall Bird to make this one on first day.
I like DigitalHarbor7’s project engineering-status-pages. Static sites for engineering project status updates
Today I ran into an interesting question, why am I being asked to configure
tzdata while installing npm. Turns out that the aptitude cli has a why
command that very handily nails down why you have something installed on a
debian based system.
Now we can query why we need tzdata and see the full chain with the root
package being npm.
root@47685221fb82:/# aptitude why tzdata
i npm Depends node-gyp
i A node-gyp Depends gyp (>= 0.1+20200513gitcaa6002)i A gyp Depends python3:any
i A python3 Provides python3:any
i A python3 Depends python3.12 (>= 3.12.3-0~)i A python3.12 Depends tzdata
On the first day I made a look around my home biome, and ran into a Tall Bird
Today I ran into this interactive prompt on ubuntu while installing node and
npm, and I do not want to manually configure this interactively every time I
run an install, moreso in docker I do not have the interactive terminal to do
so.
Configuring tzdata
------------------
Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are located.
1. Africa 2. America 3. Antarctica 4. Arctic 5. Asia 6. Atlantic 7. Australia 8. Europe 9. Indian 10. Pacific 11. Etc 12. Legacy
Geographic area:
Checking aptitude why tzdata it shows that the chain goes back through npm.
root@47685221fb82:/# aptitude why tzdata
i npm Depends node-gyp
i A node-gyp Depends gyp (>= 0.1+20200513gitcaa6002)i A gyp Depends python3:any
i A python3 Provides python3:any
i A python3 Depends python3.12 (>= 3.12.3-0~)i A python3.12 Depends tzdata
This is required, because apt installing tzdata will trigger the
interactive prompt. You will manually configure it in the next two steps.
I always select the character _. He comes with an axe called _ she has some dark humor (but not too dark), I like her. She also does not wear out so you always have a weapon and way to chop wood with you.
Colors - Core concepts Using and customizing the color palette in Tailwind CSS projects. tailwindcss.com Tailwind has the best color system, very well done. Even if you don’t use it, it serves as a great color picker.
Wyatt is also documenting his run, while we aren’t playing in the same world we are playing together. https://wyattbubbylee.com/dst-forever-world/ Loading into the world I always select the character Woodie. He comes with an axe called Lucy she has some dark humor (but not too dark), I like her. She also does not wear out so you always have a weapon and way to chop wood with you. First encounter with a Tall Bird On the first day I made a look around my home biome, and ran into a Tall Bird Tall Bird Stats Setting up base Just after the first night started I found my way back to the center of the map and made a stone campfire. I really like to use the stone campfires as they last forever, you just have to add wood. I was lucky enough to find stone by the Tall Bird to make this one on first day. Opening up the garden On day two I had enough materials gathered to make the garden digamajig to prep the soil for gardening. I planted the few seeds that I stole from the birds right away. Gettin…
Big fan of Primes setup. I was not far off of his setup before he really came on the scene, but I’ve picked up a ton of nuggets from him and how he operates. I took his first developer productivity course on Front End Masters as it came out. It is interesting to see him roll back his ansible scripts for bash scripts here. I converted my setup to ansible after watching his first, but have also since rolled back to bash scripts for quite similar reasons. Ansible is great for remote tasks that need to be done on a fleet of machines, but like he says here overkill for this purpose and ends up something that you need to read the docs for every change to your dotfiles. Unlike prime I’ve really leaned harder on installing everything in a docker image and developing out of a docker image. I’ve long built docker images of my dotfiles with the idea that its nice to be able to just use them on other machines, but it rarely happened. In the past year I’ve moved bazzite, an immutable distro. It comes with podman and distrobox, so I install very little on it, a few flatpaks from the store for brave and signal, but most of what I really use day to day comes from my devtainer. It’s nice that I rea…
Since bc supports standard unix pipes you can easily pipe data from vim into bc
and back out using !!bc. All you need is a string of math on the line you
want to calculate, go to normal mode and run !!bc to get the answer.
Traditionally I will open my system calculator or ipython to do something like
this.
To keep the equation and the result in the same line you can send the equation
to stderr and the result to stdout using tee.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH Learn how to troubleshoot ERR_SSL_VERSION_OR_CIPHER_MISMATCH when using Cloudflare SSL/TLS. Cloudflare Docs · developers.cloudflare.com Today I learned that cloudflare free tier universal certs do not support multilevel subdomains. By default, Cloudflare Universal SSL certificates only cover your apex domain and one level of subdomain.
Config loader migration - docs.kedro.org Migrating from kedro 0.18.4 to the latest version involves handling the deprecated OmegaConf loader. Switching over does not look as bad as I originally thought. installing kedro 0.18.5+ set the CONFIG_LOADER_CLASS in settings.py swap out import statements config must be yaml or json getting values from config must be done with bracket style not with any Exceptions caught from Templated config loader will need to be swapped to OmegaConfig exceptions, similar to #3 templated values must lead with an Globals are handled different OmegaConfig does not support jinja2 sytax, but rather a syntax
Search: 24 results found for "box white" Leading mechanical keyboard switches with stable performance and tactile typing feel. Kailh switch · kailh.net Prime mentioned on stream that Whites were his favorite switch. I tend to like lighter switches and want to give it a try. I really like my Durock lupine’s at 55g, the box whites are 45g, that feels like it would take quite a bit more control, floating over the keys.
Today I was playing with markdown split panels. I want to be able to compare and constrast occasionually, today the inspiration hit to do this using admonitions. Mobile Users 🔄 You will need to rotate your device to see the side by side feature. The Markdown This is what I am going for, one admonition that is easy to remember, that nests inside of itself, and I can put as much markdown on the inside that I want. Here is the result of that markdown. I Have two opinions Left Opinion supporting arguments lorem ipsum ipsum dolor lorem ipsum ipsum dolor Right Opinion supporting arguments lorem ipsum ipsum dolor lorem ipsum ipsum dolor Vsplit Hello World Here is a hello world application written in the typer cli framework for cli. Vsplit
Today in my homelab I wanted to setup a new service that needed a MinIO access key. So I created a new user and a new access key with the MinIO CLI rather than poking through the ui like I have before. Global Level vs User Level The MinIO CLI has two levels of access, global and user level. Most of the commands in this post will have several ways to do similar tasks that would potentially work. We are going to prefer to use the user level commands for more control. For some commands such as listing Keys it is handy to use the global level. The Policy First we are going to make a new policy file named. Set the Minio Alias Before we can create new access keys we will need to start by settin up an alias in minio that has admin rights to the minio server. Check to see if your alias exists. The Script Now we are going to pick a SECRETKEY and a NEWUSERNAME, create the policy, create the user, attach the policy to the user and add the user to the alias. Attention This is the secret key, do no…
Check out cloudnative-pg and their project cloudnative-pg. CloudNativePG is a comprehensive platform designed to seamlessly manage PostgreSQL databases within Kubernetes environments, covering the entire operational lifecycle from initial deployment to ongoing maintenance
I like fcsonline’s project tmux-thumbs. A lightning fast version of tmux-fingers written in Rust, copy/pasting tmux like vimium/vimperator
I’ve been back to putting some images on my blog lately and thinking about
making them a bit thinner through the use of aspect ratio for simplicity. I’m
leaning pretty heavy on tailwindcss these days due to some weird quirks of
markdown-it-attrs I cannot have slashes in classes from markdown so I made a
.cinematic class to achieve this.
An Aspect Ratio Guide for Every Filmmaker How can the aspect ratio of your film or TV show contribute to your story? No Film School · nofilmschool.com A good reference of common screen ratios. I just realized that 16:9 is also 1.78:1. I’ve been putting some images on my blog again, and thinking about using some 2.39:1 ratio on them.
There is a glimmer of hope out there that normal people can scrap together enough gpu to really run the latest models themselves. The ui really appears to be having huge leaps forward such that doing things like rag is no longer such a research project that it was just a few years ago. So excited to see Prime go through this homelab exercise.
Attrs does not like ‘/’ characters in its classes, so to use some tailwind
classes with custom values we must make new classes in our tailwind input css.
.cinematic{@applyaspect-[2.39/1];}
Given the following markdown with attrs added to the image and to the paragraph
block.
We get the following output with only the middle one working correctly.
{.aspect-[2.39/1]}
Note
The inline version of .cinematic works, but .aspect-[2.39/1] does not,
it turns into text after the image. The block version with the class
before the image applies to the paragraph, not the image.
External Link youtube.com Oh, this kills me to hear it. RSS is the OG way to subscribe and share content out to others. It gives you control of what you subscribe to and reminds you when new content lands on your favorite sites. It is a huge component of web 1.0 and I feel is the most decentralized social media can ever hope to be.
I realize that I never did a post on markata 0.8.0, so here it is. 0.8.0 was released on Jan 2, 2024, just over a year ago at this point. This was the release that we got pydantic support, and multi feeds. Pydantic Support Was kinda big Markata is leaning on pydanttic for configuration and Post models. These models are filled with validators such that you can give it an empty markdown post and it will figure out some pretty sane default values for the frontmatter. From there you can progressivly enhance your post with more information like title, date, tags, slug, description. validators are awesome!! for instance I don’t set the description on many of my posts by hand, I let the auto_description grab the first bit of text from the post most of the time. Multi Feeds Markata==0.8.1 brought multiple feeds into the mix, and started to take place of rss and sitemap. Feeds are a list of posts that are configured with a slug, filter, sort, reverse, description, and a template. These feeds th…
I realize that I never did a post on markata 0.8.0, so here it is. 0.8.0 was released on Jan 2, 2024, just over a year ago at this point. This was the release that we got pydantic support, and multi feeds. Pydantic Support Was kinda big Markata is leaning on pydantic for configuration and Post models. These models are filled with validators such that you can give it an empty markdown post and it will figure out some pretty sane default values for the frontmatter. From there you can progressively enhance your post with more information like title, date, tags, slug, description. validators are awesome!! for instance I don’t set the description on many of my posts by hand, I let the auto_description grab the first bit of text from the post most of the time. Multi Feeds Markata==0.8.1 brought multiple feeds into the mix, and started to take place of RSS and sitemap. Feeds are a list of posts that are configured with a slug, filter, sort, reverse, description, and a template. These feeds th…
Behold, the Steam Brick A modder has transformed the Steam Deck in a screen-less, controller-less Steam Brick. Rock Paper Shotgun · rockpapershotgun.com I fully believe in our right to repair, ewaste reduction, and bringing a second life to still good hardware that is not up for it’s originally intended purpose. This is a sick console like experience you can strap to the back of a tv, throw in your back to take on a trip, or leave stuffed in your vehicle to game in the backseat. Sucks that it cant do 4k, but I’ve used mine on large screens, and it does quite well for a lot of games, maybe not AAA, but the cartoony multplayer games I play with my kids do quite well.
If you’re into interesting projects, don’t miss out on tailpipe, created by turbot. select * from logs; Tailpipe is an open source SIEM for instant log insights, powered by DuckDB. Analyze millions of events in seconds, right from your terminal.
Damn these deepseek memes go hard. Wild to see openai get played by their own game. It’s crazy that the normie news that I have seen on deepseek shows that the Chinese made what the Americans did at a fraction of the price, without taking notice that they are building on the shoulders of openai.
👏👏👏 This one is really good. I’m right there with him on most of this. I am very hesitant on subscription models, and all the ai tools feel like they are getting ready to be the next round of death by a thousand cuts, this time with pretty limited free tier and relatively high prices to run. I’m sure we will see companies get taken by huge bills soon by building off of someone else’s service. On the flip side I’m definitely the guy that gets in a rut of just copy paste to the ai, wait for codeium to to inject. I feel like I have issues of momentum more than anything. When I’m on one side or the other I tend to stick it out for too long, but less so on going without because that llm drug is calling you when you hit a hard problem. I’m excited to see him build out a homelab for llm stuff that he mentioned at the top. I’m interested, but probably not building one out for myself until we start to see some cheaper maybe used hardware to do it.
A side effect of Markata DidYouMean is that we are able to implement some rudimentary search based on slug, title, tags, and description. I made a video of the early work on using this side effect to search for content on markata.dev. This was first implemented to solve 404 pages giving users a way to try to find the page that they tried to access. But it turned out to be a decent way to search through the docs.
Kelsey says several times in this interview, you don’t need kubernetes. If you are running one node you don’t need kubernetes. My question though is, would you use kubernetes? Ya I get it if you are a web developer, data scientist, backend dev, but if you are looking to bee a whole ass engineer, or infrastructure engineer, you know kubernetes, Should you use kubernetes on single node?
Coming in Markata 0.9.1 is far better documentation. i.e. Documentation that actually exists for everything. As part of poking around I realized that I often go to look up the docs for a plugin and forget that the path is, sometimes I might try or or or I might even forget the plugin name exactly and try something like and get a 404. So I added a plugin to markata that takes care of this. I made a quick recording of this early feature, pay close attention to the url as it automatically updates to the correct page. Happy Path direct forward If you have one post called, and it is the only post called feeds, any combination of or or will all automatically redirect with an html page (not a server 3xx) to the post. Here is the snippet that does the redirect. You won’t see it unless you are on a really bad network, or you have js disabled, but this is what it would look like if you ever saw it. Notice there is a backup link if you have js disabled. Multiple Similar Posts list of options If y…
Models Pydantic Docs · docs.pydantic.dev I came accross from_attributes today it allows creation of pydantic models from objects such as a sqlalchemy Model or while nesting pydantic models. I believe in the past I have ran into some inconsistencies with nesting pydantic models and I’ll bet one had from_attributes set and another did not. Arbitrary class instances¶ (Formerly known as “ORM Mode”/from_orm). Pydantic models can also be created from arbitrary class instances by reading the instance > attributes corresponding to the model field names. One common application of this functionality is integration with object-relational mappings (ORMs). To do this, set the from_attributes config value to True (see the documentation on Configuration for more details). The example here uses SQLAlchemy, but the same approach should work for any ORM.
Dang strong stance that tmux and zellij should not exist. I really do get his point though. Theres a good number of terminal features I often miss out on because I run tmux. Its an app that runs apps, and doesn’t let all of the signals back to the host. But its fantastic at what it does, and brings so much to the table that the little bit of downside it brings is well worth it to me. The other thing missing in this discussion is that I can take my hotkeys and session workflow to any machine just by running tmux. I do not need to run a certain terminal, or install it headlessly on a server to get special features just for it.
Here are a list of some cold builds from my site. I’ve ran this site for a long time and would like to have some references to go back to, and wish I had kept a few profiles of cold builds laying around to compare with. The time is now lets keep some cold build links around for reference. 01/27/2025 https://ec314b08.waylonwalker-com.pages.dev/_profile/ - 429s - markata==0.9.0.dev5 has md_video open cache on every post issue https://27f117fd.waylonwalker-com.pages.dev/_profile/ - 112s- markata==0.9.0.dev5 after fixing md_video issue https://e6b8f64a.waylonwalker-com.pages.dev/_profile/ - 16s - markata==0.9.0.dev5 1 post not skipped, this one https://10b778b4.waylonwalker-com.pages.dev/_profile/ - 5.65s - markata==0.9.0.dev5 fully hot cache build with no changes
Pesos is the act of Publish Elsewhere Syncicate to Own Site. It is an indieweb concept that I recently started applying to my own site. here does it skip again Note See https://indieweb.org/PESOS for more information, they have a ton of information about the indieweb In short it is the concept of pulling data from other sites that you use and republishing it to your own site. This gives a single source of information for you, and protection against sites and apis changing or rug pulling. Other people might have a lot more use cases for this, but I already begin a lot of my data right on my site. GitHub stars I am using the github api to get a list of my stars and then create posts in the github repo for my blog. This allows me to keep track of things I star on GitHub in my own way, and share them out with my rss feeds.
I broke my sick wikilink hover recently in a refactor, today I did some diving in to figure out what happened. Before As you can see in the screenshot below, the link is in a list of links, and when the hover image pops up it sits behind all of the other text. The z-index of the list-item is supposed to be raised above the others on hover. Manually setting z-index to 20 in the inspector I noticed this message from devtools, “The position: static property prevents z-index from having an effect. Try setting position to something other than static.”, looking back at some of my refactoring I had relative in an old template and it was lost. After After properly setting position to relative on the list-item, the hover image is raised above the others.
Top Python libraries of 2024 Dive into our 10th annual Python Libraries roundup for 2024, now featuring separate curated lists for General Use and AI / ML / Data tools. Discover this year's most innovative additions to the eco... Tryolabs · tryolabs.com Really good listicle of new modern top python libraries from 2024. Very well done article with images, links, and an actually quality listicle with many things I’ve never even heard of.
Choosing color palettes — seaborn 0.13.2 documentation seaborn.pydata.org Good overview of seaborn color palettes. They have all sorts of different types, some designed to purposfully give each color the same weight for catecorization. Some designd to give linear differences in value, some have a parabolic feel with a diverging nature.
I’ve been posting on this site since 2016, when layoffs were rolling through the company I worked for at the time. Starting a personal blog and a pile of side projects felt like one of the best things I could do for my resume, so off I went. This site is built on markata, more about that in the /colophon. The old version of this page embedded static SVGs from my Python Markata build. Those files are gone in the site, so this page now renders the yearly posting history directly from the current content set. Post Contributions All Time Monthly Contribution Graph Error: Invalid JSON configuration Post Contributions in 2026 Post Contributions in 2025 Post Contributions in 2024 Post Contributions in 2023 2023 was a very busy year for me and I started slowing down. About mid year I felt like I had a lot that I wanted to get out, but felt like I couldn’t, because I did not have the time to blog, so I added Thoughts on 7/22/2023 with this first thought. Notice the huge uptick that started imme…
poolers.postgresql.cnpg.io CRD metadata.annotations Too long · Issue #325 · cloudnative-pg/charts Unable to deploy helm chart using ArgoCD. Getting following error Failed sync attempt to: one or more objects failed to apply, reason: CustomResourceDefinition.apiextensions.k8s.io "poolers.postgr... GitHub · github.com I’ve never seen or needed to use a serversideapply in kubernetes before, but I ran into this same issue in my k3s homelab while installing cloudnative-pg. You can do it with argo and you can do it with kubectl
Just starred bazzite by ublue-os. It’s an exciting project with a lot to offer. Bazzite is a cloud native image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
A small improvement to my blog today. I was checking out my /now post and noticed that lists have left padding but no discs or numbers. I popped open my added these lines and rebuilt. And rebuild, which I actually do with ⭐ casey just, but showing the command here for clarity. WHY the applies Before After
I built out a tool for myself to manage my nvim configuration, and I wanted to
quickly see which one I am running in my starship prompt. Here’s the config I
ended up with. It warns if the NVIM_APPNAME environment variable is not set, and
it shows which nvim I am using if it is set.
[custom.nvim-manager-system]when='[[ ! -n "${NVIM_APPNAME}" ]]'style="bold yellow"symbol='[ ](fg:#15AABF)'format='$symbol[USING SYSTEM NVIM]($style)'[env_var.NVIM_APPNAME]style="green"symbol='[ ](fg:#15AABF)'format='[$symbol${env_value}]($style)'variable="NVIM_APPNAME"
Nerd Fonts - Iconic font aggregator, glyphs/icons collection, & fonts patcher Iconic font aggregator, collection, & patcher: 10,000+ glyph/icons, 70+ patched fonts: Hack, Source Code Pro, more. Popular glyph collections: Font Awesome, Octicons, Material Design Icons, and more Nerd Fonts · nerdfonts.com Nerdfont cheatsheet is a fantastic way to copy paste icons into your shell. I just used it to juice up my starship prompt with my current managed by nvim-manager
I came across headlamp from kubernetes-sigs, and it’s packed with great features and ideas. A Kubernetes web UI that is fully-featured, user-friendly and extensible
Just starred headlamp by headlamp-k8s. It’s an exciting project with a lot to offer. A Kubernetes web UI that is fully-featured, user-friendly and extensible
The work on gitui by extrawurst. Blazing 💥 fast terminal-ui for git written in rust 🦀
I recently noticed that my og images were missing emoji. They were taken using
headless chrome in a container. I fixed it by adding an emoji font in the
containerfile / dockerfile.
RUN apt-get update && apt-get install -y \
# Add fonts with emoji support fonts-noto-color-emoji \
&& rm -rf /var/lib/apt/lists/*
Manufacturer Recertified Drives | Enterprise Grade Manufacturer Recertified enterprise drives work and look like new. Rebuilt by the manufacturer and quality tested to ensure they function as new, our recertified drives save on cost. Shop now! ServerPartDeals.com · serverpartdeals.com For my next drive upgrade in my homelab I am gong to be using one of these factory recertified drives from serverpartdeals.com. Found them on an LTT video awhile back. They are some lightly used and recertified, fully burnt in drives. Shop for drives that are certified once again by the manufacturer to work like new. Factory ReCertified drives are cost-effective alternatives compared to factory-sealed new counter parts. Additionally, unlike in mass production, the re-certification process involves closer attention to the overall operation of the hardware so that the re-certification will not have to happen a 2nd time
GitHub - bootandy/dust: A more intuitive version of du in rust A more intuitive version of du in rust. Contribute to bootandy/dust development by creating an account on GitHub. GitHub · github.com dust is one of my favorite rust rewrite tools. Its so useful for narrowing down file system bloat and cleaning up some disk space on your nearly full disks. It runs right in your terminal and gives you a nice bar graph on the top directories in use.
Keycloak Keycloak - the open source identity and access management solution. Add single-sign-on and authentication to applications and secure services with minimum effort. Keycloak · keycloak.org Keycloak looks like an interesting way to setup sso. It’s part of the cncf so it’s got a good backing. I want something better for argo workflows and this might be it. I’m curious what else I can tie into it.
Don’t stop learning! Stop trying because you have a doomer outlook on ai, llms, industry and think they are taking over. If you have no hope for the future, if you stop now you are cementing in that you will be no good and the ai will be better. Many, maybe most of us in this industry go here by hard work, long nights of learning, trying to solve problems that our job had. If llms take over then the world is going to be a whole lot different, it will be a world you cannot predict or plan for. For now put your head down and succeed in the world we have today. TEEJ has some great thoughts on this whole sentiment, put this on for you morning walk or whatever you do.
Tonight my son and I played rounds, I pulled clips of all the final rounds of each set of rounds. We play hardly any games with guns in them, this is one of the few exceptions, it feels quite whimsical, fun, and strategic, and not at all realistic or first person. The strategy part really brings me back to the fps games I would play with friends in my teens. Round 1 - Orange I thought I had him on this one. I had this rare power up that allows me to shot through walls. It came down to the very last round and he had too much firepowerfor me. Sorry, your browser doesn't support embedded videos. Round 2 - Blue The final round of round 2 was Super fast. I felt like I nerfed my homing power up by adding fastball to it and it didn’t really home in anymore. What made it so quick, I think he had glass cannon and I laid down two well placed shots. Sorry, your browser doesn't support embedded videos. Round 3 - Orange Round three he got some really good cards, but too much firepower and stacking…
My son and I are starting a new Minecraft server today called wondercraft. setup We are running a few mods on this server notably FTB Ultimine for less grindy resource gathering, Sodium for shaders, and Universal Shops. We are runninng on Minecraft 1.20.1, I think this is because it was the latest supported by Universal Shops, its at least one major release old at this point. I grabbed a few shaders, the ones that you see in this post are rethinking voxels. spawn We initially spawned in a plains biome near an acacia and forest biome. We ended up going straight for the forest, only coming back for some sheep and wheat seeds. Night one Zombie fight On the first night we had the obligitory zombie fight before getting beds and bases set. Salmon Wrangler I was the designated food provider. I setup a small wheat farm with about 64 seeds, then went out to hunt down some salmon for the immediate food need. I ended up with about a stack of salmon at the end of the session. Setting up Shop So as…
I like the charts that Theo brings to to these videos. Shout out for a positive k8s reference and not shitting on it. Htmx brings html /css just a bit further down the complexity graph with little to no extra effort, while react allows us to go all the way full complexity at the cost of build and dev complexity to go from zero to 100 as soon as its introduced. htmx brings us back to the ease of jquery ajax without any complex swapping or json parsing, all of the object parsing and html templating is done in the backend, the front end just tracks where to put it. HTMX couples the frontend and backend much tigher, since all of the front end html is generated in the backend, done correctly it is not possible for the front end to get out of sync and try to do things that the back end does not know how to handle, vice versa.
@cassidoo for the idea! Reflecting on the why I love December. It's a time of reflection, where I try to think about what I have…" loading="lazy"> Why I Write Today is day 3 of #blogvent, where I'm writing a blog post every day for the month of December. Shoutout to @cassidoo for the idea! Reflecting on the why I love December. It's a time of reflection,... Brittany Ellich · brittanyellich.com It’s interesting how many people in tech maintain a blog. I think part of this brings us back to web 1.0 days when so many individual websites owned the web it was a free for all unindexed land and you got to own a small piece of it. I agree with most of Brittany’s points here I write a lot to keep my skills sharp, and to refer back to. Brittany mentions keeping all her old posts, even the cringy ones. I’m all with you here, I’m just wodering how you look back at anything you wrote in the past and not get a bit of that feel, maybe its just me, but I see cringe and mistakes gallore, but it all makes me better moving forward.
Availability Senior Product Engineer at Bluesky and co-host of Overcommitted. Articles and talks about software development, AI tools, and accessibility. Brittany Ellich · brittanyellich.com nice overview of availability measurements and what they really mean. The crazy world we live in today depends on so many things runnig, its also so hard to measure your uptime, The uptime metrics can mean a lot of different things. The site is up and accepting traffic, but can users make changes or submit orders, there is a lot more to it than just up or down. I really appreciate Brittany’s story from Nike nested in there.
nRF52840 Wireless Controller Development Board - kriscables SuperMini nRF52840 Wireless Controller Development Board kriscables - Custom Ergo Keyboards and Cables · kriscables.com The SuperMini nrf52840 is a sick controller for building keyboards, affordable, easy to get, and compact. Bluetooth and wired setup just works in zmk. This page has a nice image of the pinout.
I recently built a cli application as a nearly-one-shot-app called nvim-manager. It manages your nvim dotfiles install. Why How is nvim manager any better nvim-manager allows you to install pinned versions of your dotfiles, your friends dotfiles, and distros in ~/.config. This allows you to have stable versions that will not break installed while you change things. I’m sure most of us have experienced the pain of installing one plugin, only to update all of your plugins and break something. Or, you have small changes on every machine you use, because they are all just a bit different and now you have big merge conflicts to deal with. All of this aside you can install a distro to get you by, or a known working version of your own dotfiles. So all these versions in ~/.config ya, thats the magic of, I can boot up any of these intalled working versions in an instant with. I can still cowboy up and break my main install, but as long as I am diligent to keep these installs untouched I will a…
This page is meant to be simple view into what is happening in my life right now. Inspired by @NowNowNow. and Derek Sivers. testing md.waylonwalker.com to trigger builds, second time is a charm, testing new deploy testing build in prod again now Last Update 2025-10-29 Silksong has my attention, it’s great Working on new features for dropper Vibe coding sucks Images will soon be able to be resized and be more efficient over the network. Trying to branch out and add more than software to the blog. Things like design and 3d printing. Last Update 2025-05-22 14:27:47 Working on [[ninesui]] Working on [[krayt]] learning observability with grafana Fairly happy with markata, at the moment, less focus and some small fixes The blog is fully k8s, love the experience replacing Google apps with self hosted apps [[replacing-google-search-apps-with-self-hosted-web-apps]] Doing a second run through hollow knight home row layout Also second run of animal well put a pause on the thps gap project Posts t…
So I made a mistake in an app I am working on and ended up creating thumbnails of thumbnails, and thumbnails of thumbnails of thumbnails… etc. I was able to delete them all, but I wanted to make a one-shot script to do it. One Shot App I got the idea of the one shot app from Simon Willison and replicated his setup in a chatgpt project Initial Prompt s3_cleanup Here is the result of the s3_cleanup script. It ended up being 5 or 6 passes to get everything I wanted with soft-delete enabled. Nice preview outputs in the dry run. This was 90% created by chatgpt 4o, with some slight hand edits by me along the way. full help text output Here is the help text for all of the commands in the script.
Quick Start - kotaemon Docs cinnamon.github.io interesting UI for RAG based workflows, i.e. chatting with your documents. It looks like it can run a number of models, feels like ollama with RAG and a nice web ui.
Bluesky is more like Twitter than X is joelhooks.com Bluesky is almost excatly like twitter was when I joined years ago. It’s gone crazy lately bogged deep in politics, bots, and ads. I’ve seen like two scroll pages of ads in a row, its nuts. What I did not know before Joel pointed out here is that the feed I am looking at is my following feed, its only feed of people I follow in descending order. On bluesky you get to pick your feed!!! This feels like tweetdeck did back when we were able to run that. You could tune in search terms and save them it was glorious. Bluesky has some really interesting ones that you can use like popular with friends, only posts, my bangers, that have a pre defined algorithms.
This man is responsible for making gaming on linux what it is today. Such a heartfelt story to hear that reviving his dad’s machine was at the core of what drove him to do what he has done for the wider gaming on linux community. Update on your schedule, remove all the tracking and bloatware, this is what drove him to start using linux before making it accessible for his Dad. But really do update, this is not your 2002 PHP box, things need updated and regular updates help the process.
Today I learned that the docs in postiz are a bit behind, (fantastic docs btw,
they are to the point, and cover almost all of what you need). The docs state
that you need to include an R2 bucket to handle uploads.
This issue shows that
more work has been done, one of which is local storage. The compose
file they use in the
quick start has the required env variables to set this up.
Today we broke through the atmosphere in trailmakers ready for pickup from those back at mission conrol. I haven’t posted a lot of gaming content to by blog, idk why, but I think I am going to start, especially for the ones that are good memories with my son. Today we hit 100% of the required parts required to build the space ship and leave the atmosphere of the planet that the story is set in. Trailmakers is a game where you design and build your own vehicles. The campaign mode standed is a story where you are in a high tech freighter ship that crash lands on a distant planet. Your crew back home can come as far as the planet your on but cannot break through the atmosphere. Your job is to collect all the wreckage and gain all the parts required for a space ship build to take you out of the atmosphere to meet them. There were a couple really heavy salvages to gather up, this one is high in the floating islands and is the cockpit fo the space ship. I thought this was a cool shot of one…
External Link devcommunity.x.com Just tried using my twitter api key for the first time in quite awhile. Apps now need to be tied to projects in order to work. It looks like projects are where pricing comes into play. Thankfully they still give a free tier for doing small time things for myself. You can really see the effect that llms have on these things though as it is 5x more expensive to read posts than to make posts currently. Data is the new gold for these kind of companies.
GitHub - containers/podman-compose: a script to run docker-compose.yml using podman a script to run docker-compose.yml using podman. Contribute to containers/podman-compose development by creating an account on GitHub. GitHub · github.com Wild that the podman-compose github readme calls out k3s as an alternative. compose definitely has its place, especially for local development on a developers machine, its so much easier to stand up and get things like hot reload up and running smooth.
bic Static blog generator, in bash bic · bic.sh Intereresting someone built a blog generator in bash. it comes with normal markdown to html, static content, robots.txt, sitemap, rss, and tags. It uses pandoc to take markdown to html and mustache for page templates.
Animate to height: auto; (and other intrinsic sizing keywords) in CSS | CSS and UI | Chrome for Developers Animate to and from intrinsic sizing keywords with `interpolate-size` and `calc-size()` Chrome for Developers · developer.chrome.com Css is getting so good, new things like interpolate-size are making things that use to require some deep expertise and hacks intuitive and easy.
External Link github.com Looks like a great start to a rules file for fastapi. Place the happy path last in the function for improved readability. I have never heard anyone say this. It feels weird to me. The other early return, find and handle errors early all make sense to me, but happy path last is new to me.
Generate Custom.cursorrules for Your Project Based on Community Examples expert led courses for front-end web developers and teams that want to level up through straightforward and concise lessons on the most useful tools available. egghead · egghead.io Really interesting way to generate a rules file for agentic workflows based on your current repo. John uses gitingest here, looks like a fantastic tool, but probably not useful for most private repos. I’m sure you can replicate the same thing in a private repo wtih a small amount of effort the few times you need to do it. gitingest looks like a great way to pull in some extra context for some open source dependencies that you have though.
GitHub - coderamp-labs/gitingest: Replace 'hub' with 'ingest' in any GitHub URL to get a prompt-friendly extract of a codebase Replace 'hub' with 'ingest' in any GitHub URL to get a prompt-friendly extract of a codebase - coderamp-labs/gitingest GitHub · github.com Gitingest has a python package on pypi that you can run with uvx, and it accepts the same arguments as the web version, right in your terminal
Gitingest Replace gitingest.com Replace hub with ingest in any github and get a prompt friendly codebase ready to feed into any llm. It combines the entire codebase, based on a gitignore style glob that you pass in, into a single TXT file.
I’m really excited about gitingest, an amazing project by cyclotruc. It’s worth exploring! Replace ‘hub’ with ‘ingest’ in any github url to get a prompt-friendly extract of a codebase
GitHub - olimorris/codecompanion.nvim: ✨ AI Coding, Vim Style ✨ AI Coding, Vim Style. Contribute to olimorris/codecompanion.nvim development by creating an account on GitHub. GitHub · github.com Definitely need to give codecompanion.nvim a try, it looks like a competitor to windsurf but in nvim. It looks so feature complete that its hard to grasp all of what it does.
Release v0.0.2 · WaylonWalker/nvim-manager 0.0.2 add install –distro to install distros add install –pick to pick a version to install add install –pick-distro to pick a distro to install add install –force to force install a version … GitHub · github.com New release out for nvim-manager that supports installing pre-configured distros. It’s such a breeze to install these now, its been fun to go through each of them. The currently included distros are. LazyVim AstroVim kickstart NvChad LunarVim
Releases · WaylonWalker/nvim-manager manage dotfiles with nvim_appname. Contribute to WaylonWalker/nvim-manager development by creating an account on GitHub. GitHub · github.com First release of is out. Your dotfiles change a lot, sometimes it’s hard to manage all of the places you have installed them and potentially made hand edits to. nvim-manager allows you to easily make static releases of your dotfiles, and keep your nvim install from breaking by leveraging NVIM_APPNAME and pinned releases of your dotfiles stored in ~/.config. In this directory you might have many nvim configurations installed, nvim-manager automates the process of installing and updating from your dotfiles, while keeping previous pinned versions untouched.
GitHub - ngalaiko/tree-sitter-go-template: Golang template grammar for tree-sitter Golang template grammar for tree-sitter. Contribute to ngalaiko/tree-sitter-go-template development by creating an account on GitHub. GitHub · github.com This setup fixed my nvim syntax highlighting in helm templates.
GitHub - imagegenius/docker-immich: Monolithic (Single) Docker Container for Immich Monolithic (Single) Docker Container for Immich. Contribute to imagegenius/docker-immich development by creating an account on GitHub. GitHub · github.com imagegenius has made an immich all in one setup that looks much easier to use than immich.
Owning It · Matthias Ott Owning your content and platform means true independence on the web. Why it matters more than ever for creators. Matthias Ott – Web Design Engineer · matthiasott.com I can say I had the same kind of feelings when I first saw something called “Own Your Web” being run in Buttondown. I totally get it. It takes time and effort to build your own stuff, email sending is hard, not done right ends you in the spam folder. There is something about the name though that I think needs to set an example and self host as much as it possibly can. The changelog has covered this several times, do they need to go to the crazy lengths they do to run their site, no probably not, but it keeps them in the loop. They are using the tech they talk about in a very real and production critical way to run the show. Cant wait to see more from ownyourweb.site
Gyroscope better than a mouse?? Nerd nest really sells how having two gyros in the way they have done for noise cancelling changes the game on it, and makes it a contender to replace a mouse. It really makes me want to try it. I love how repairable this controller looks. I’ve got to imagine that the fact that it comes as a kit, and all the parts are available that this hits S tier repairability. My current controller of choice is a PS5 and I’ve had stick issues I wish I could fix. No analog triggers, I’m out. Maybe they will make it an option in the future idk. I don’t play shooters where I need a hair trigger, this won’t work on session or driving games. micro usb, seriously, that kinda kills it for me too. edit I looked on their website and they have usb c in the latest version
Postiz: The Agentic Social Media Scheduling Platform Postiz is the agentic social media scheduling platform. Claude, ChatGPT, Cursor or OpenClaw plan, schedule and publish to 30+ channels from one calendar. Postiz · postiz.com postiz looks like a very polished way to automate and schedule posts to all the social services.
GitHub - gitroomhq/postiz-helmchart: Helm for Postiz Helm for Postiz. Contribute to gitroomhq/postiz-helmchart development by creating an account on GitHub. GitHub · github.com Reminder to myself, look into self hosting postiz with this helm chart later.
Realign I just popped out a realign of the ol’ personal website. I only say realign as I didn’t rethink every single detail of the thing. I’d say probably 40% of the original HTML and CSS… Chris Coyier · chriscoyier.net Chris Coyier had a small re-align on his site, some good nuggets in here. I like the idea of having a photo of myself prominently on the site, so you know who you’re dealing with here. I really like this after thinking about it and I think I am going to make sure I get my face back on my posts. I do have my 8bit style pixel art image of me that I use on social media, but no real picture. I feel like a lot of people redesign their entire website when it’s time to update to the latest list of social networks and I’m no different. Once you touch it you gotta keep going. I can totally relate to this, once you open the thing, you get the build tools greased up, and your confidence high that re-deploying isn’t going to mess something up, I tend to start digging in to other things.
About Harry Roberts – CSS Wizardry csswizardry.com I’ve only recently learned what colophon means, and I really like to read through site that use it. If you don’t know its about how the site is built. I’ve always liked peeking under the hood of things to understand how they work, it’s what turned me towards an engineering degree. I love how he mentions that he chose the name when he was 17 and he is stuck with it. I particularly like the name, it has something special to it. Hats off to you for doing something that has lasted so long for you. I fully understand though, I have projects that I made a year ago that I think why did I name it that. At the same time when I try to think of a name I end up with the I don’t have anything good and I’d rather build the thing so fuck it, its going to be what it is.
Using Obsidian as a Gaming Backlog Library How to use Obsidian as a gaming backlog library. Get a long-lasting overview of games you want to and have played. Bryan Hogan · bryanhogan.com Very interesting way to catalog games, I need to make a catalog of mine, I’ll probably start adding some blog entries for games I’m in and have completed. Wonder if there is a way to hook into steam with python to get achievements and progress live.
@csswizardry) — 📡 I’ve been writing a lot lately. I’ve also dusted off my RSS reader. Send me your feeds! Mine is at csswizardry.com/feed.xml https://csswizardry.com/feed.xml" loading="lazy"> Harry Roberts ( @csswizardry) 📡 I’ve been writing a lot lately. I’ve also dusted off my RSS reader. Send me your feeds! Mine is at csswizardry.com/feed.xml https://csswizardry.com/feed.xml Bluesky Social · bsky.app Tons of cool people came out with their rss feeds here, again will need to browse more closely later.
myRSS/personal-blogs.xml at master · sturobson/myRSS a copy of my RSS feeds in a handy.opml file. Contribute to sturobson/myRSS development by creating an account on GitHub. GitHub · github.com Sturobson has a ton of rss feeds here, I recognize quite a few, will definitely need to poke at some of these later.
Own Your Web Own Your Web is a newsletter by Matthias Ott about designing, building, creating, and publishing for and on the Web. Every other week, I send out an exclusive email full of actionable insights, bes... buttondown.com I’m a sucker for good own your own shit on the web blogs, and Matthias Ott has a top notch one here. The archive has been a great read so far, I’ve discovered things like slashpages.net.
Remaining Authentic in Retirement with Kelsey Hightower | Fork Around And Find Out Retirement is about the journey, not the destination. For Kelsey Hightower, it’s been an epic journey. On our debut episode of the Fork Around and Find Out Podcast (and much to Autumn’s elation... share.transistor.fm What a great first guest for FAFO. Kelsey is always such a great listen. He talks about killedbygoogle and how engineers get no incentive to work on old projects, google had no incentive, and you got the thing for FREE in the first place. He talks about end of career and having love you money, having so much in the bank you can say no. If you are presented with a project that does not align with your values you can say no.M Justin even mentions how Google has more killedbygoogle projects than Amazon has total projects. If we knew how hard it would be, we would never build it. Autumn’s Fav quote from ep1 of shipit
Welcome to waylonwalker.com, my small corner of the internet. I currently have 3818 posts published, here are some links to help you get started around here. Feeds I have quite a few different feeds that you can browse or subscribe to in your rss reader, you can find them on my feeds page. Slash posts Slash pages are some evergreen pages that I will do my best to keep up to date, they are typically not targeted to a specific moment in time, but designed to be ever living. Waylon Walker - Husband, dad of two, and hobbyist builder of things on the internet. Ai - Last updated Jan 2026. analytics - I've been posting on this site since 2016, when layoffs were rolling through the company I worked for at the time. Starting a personal blog and a pile of… /carry/ - I try to keep a pretty light every day carry, but it never works out, keyfobs and headphone cases end up causing more bulk than I'd like, but My EDC is no… /colophon - Colophon a page that describes how the site > is made, with what…
Changelog Maker of web things, sticker merchant, viral toot-based business man, blogger, podcaster, and pizzaiolo. Human dad. rknight.me Well done changelog with some really good inspirational nuggets. Many slash pages I want to check out and an 11ty contribution graph.
slash pages A guide to common pages you can add to your website slashpages.net A nice list of slashpages you might want to consider including / aliasing / 301ing. These feel like nice things to setup and keep in the back pocket for obsidian style wiki link to easily. I get kinda bad at wiki-linking as much as I would like to, mostly because it does require some amount of work to make the page, and keep it up to date over time, then remember that you even have it. Some are serious, some very common, some quite useful.
I’m running a two node k3s cluster at home, I thought I could simply mount an nfs share on each worker node, and essentially have the same storage accross all nodes. I’m already learning why this is not reccommended. Slow I’ve been running some cronjobs and argo workflows on the second node for awhile, these are things that run in the background and I don’t care if they take a bit longer to keep my master node freed up for more critical work. I just started trying to build this site in a cronjob, It was taking 20 minutes to build, and something I noticed was that markata was taking minutes to run glob ( search for files), normally this happens in a few ms and I never notice this step. Permissions I have seen where you can get diffent permissions on the nfs share based on user id. Since I’m homelabbing here I only have one user per machine. As you step into enterprise level VMs with tighter controls and dozens of users for all the different services that might run on it. I’ve ran into m…
Colophon a page that describes how the site is made, with what tools, supporting what technologies Author All posts on this site are written by Waylon Walker, the typical content has changed and evolved over time. I go back and make a few corrections, but for the most part things stay pretty much as they were published originally. see more in Waylon Walker tech This site is a static site build with my own static site generator markata, Thoughts or as Simon Willison calls it a link blog posts are pulled in as a regular posts, all is hosted on cloudflare pages. markata Thoughts cloudflare pages see more about these components in about this site Analytics I do not track users, I respect the privacy of my readers and do not track their information. I do track analytics on my own writing a post rate. Its more of an interesting history of the site. meta Some evergreen pages that are more about me or this site from the Posts tagged: meta feed.
Theo does a fantastic history of serverless here. Kubernetes shit Theo can’t have an infra video without shitting on k8s. Specifically people who have never touched k8s pushing fear of k8s to large audiences of people who have never touched k8s. If you are a webdev who solely lives in webdev space and never touches as much as a dockerfile listen to him. If you touch infra at all try it before you take his opinion at face value. Serverless shines in high variance If you plan on having traffic spikes 10x your regular traffic for something like black friday, serverless might be right for your use case. stateless programming He argues that targeting a stateless deployment of serverless leads to better code. I’d like to see more examples here. Maybe most of the code bases I work on already do this. I’ve never targeted a serverless deployment, but I’ve targeted horizontally scaled deployments many times and they feel like they have the same targets. For instance if I spin up 8 pods for my application or uvicorn with 3 workers I have to target statelessness, all of the state must live in the database and cannot live in memory. Even if I target 1 instance in a containerized environment I h…
linkding A self-hosted bookmarking service that is designed to be minimal, fast and easy to set up. linkding · linkding.link linkding looks like an interesting alternative to thoughts. Thoughts is focused on the note being a value add tweet length blog post that you share to the public. This seems more focused on fire and forget with some note taking and search ability. I should definitely level up the search and tag discovery in thoughts.
Lane from boot.dev madde this fantastic video about serving files on the internet. It has me wondering if I need to rethink a few of my things that I have built. I have a few things I am serving media from, but I have very aggressive cloudflare cache rules on them, so each file should only be uploaded about once per year. My problem going straight out of minio right now is how do i set headers for cache control on it. If I can’t set the cache control and everything is coming out of minio this does not solve my problems. I went back and played with presigned urls and you can in fact control and set response headers, this is definitely the way and I have been wrong.
curl with partial files Back in September 2023, we extended the curl command line tool with a new fairly advanced and flexible variable system. Using this, users can use files, environment variables and more in a powerful... daniel.haxx.se · daniel.haxx.se This is a cool new feature coming to bash, I can’t think of a use case I have out of the gate, but it looks cool. I’m thinking this might be good to keep in the back pocket for something like CI where I don’t have a hightly tuned bashrc file, and I want a dynamic curl request based on some state that exists as a fille.
The beautiful sentence that is the web A metaphor for the building blocks of web development. cassidoo.co Nicely worded Cassidy! Javascript can be too much, it can bog down low powered devices, we can ship so much that its untenable on poor connections. It can be argued that its a bad language and putting it on the server is a mistake, but it brings sites to life. It makes it possible to extend the static nature of html /css with just a little special spice only your site needs. I’d add to the argument that a lot of js should go away over time. Over time libraries such as jquery have fallen out of use, not because they are bad, or have been replaced by new libraries, but because the browser has adopted most of the functionality that jquery brought. As a primarily python dev I’d really like to see htmx die a very similar graceful death. There have been several iterations on this idea, and the crux of it is very similar, give the ability to use HTTP verbs right inside html with some instruction of when to apply them and what to apply them to. No js should not go away, it never will, we will always find new patterns that the browser should take, sites will always need a small bit of s…
Teleport to coop partner Hello, Is there a command where you can teleport to your coop partner? Or is it just this Follow button in chat?:) Hypixel Forums · hypixel.net /p warp will warp your party to your current server in hypixel skyblock
External Link stackoverflow.com Today I learned how to configure the baseurl for htmx using the tag. This is pretty handy to be able to configure different baseurls.
Addy Osmani (@addyosmani.bsky.social) Tip: Chrome DevTools can override the content of Fetch/XHR requests! Useful for mocking APIs without waiting on backend changes. Bluesky Social · bsky.app WTF, you can just change a server response from devtools and update a vuejs app? Just tried with htmx, and my GET requests are not showing up in the sources tab. I’ll keep this in my back pocket for next time I’m supporting a vuejs app though.
Gary Vaynerchuk (@garyvee.com) 2025: the year of action … who’s finally ready? PS: text me for any follow up questions at 📱 1-212-931-5731 #2025 #todo #todolist #motivation #garyvee Bluesky Social · bsky.app Gary Vee, is the goat. leaving this image as a reminder for myself
Ellie Huxtable (@ellie.wtf) Atuin v18.4 is out now! Including, your year in shell history 🐢 thanks @daveeddy.com for the suggestion! Bluesky Social · bsky.app Atuin v18.4 is out with an atuin wrapped command. Here’s Ellie’s Wrapped. This is a pretty sick command, I’ve only been using Atuin about as long as I’ve been on bazzite, so maybe 4 months, but here is my wrapped. Comparing to Ellie, I’m surprised that I even have 126 package related commands, being on an immutable distro most of my packages come from the container, I don’t need to run packaging commands. My cd is also super low, I use tmux sessions to take me where I need to be most of the time, which is a project’s root directory, It’s pretty rare to see me outside of a project root directory. I’d venture to guess that nvim would be higher if it didn’t auto start on every tmux session as well.
Red Hat has donated the whole open alternative to docker to the CNCF, the hosts weigh in with thier opinions all being pretty positive as they seem to be a legitimate donation and not dumping crap on open source. podman podman-desktop buildah compose-fs podman bootc scopio Personally I’ve been running podman exclusively at home since switching to Bazzite in August. I’d like to use buildah in ci. I gave it a try, but was unable to swap out my use of kaniko for buildah, I will get there, but it was not quite as drop in as I wanted.
Holy shit these AGI models are incredibly expensive to run, require lots of wild hardware that there is not enough to go around, and requires shit tons of power to run. Now more than ever is time to distinguish yourself with deep expertise, jack of all trades is being eaten by ai. People with deep expertise are getting a jack of all trades bump from ai, not o3, just the regular stuff.
I just setup my oldest hardware on the newest hotest server distro ucore-zfs. This is a gateway FX6860 manufactured in 2010. Immutable is the future My current boot log shows that I first started daily driving bazzite back in August 2024. I’ve been hapily using it since my arch install was plaugued with a crippling display driver error, or something that would lock the display for minutes every 30s or so, it became unusable. I switched because this is what I put my son on and it was working great for him. Four months later and I am really loving the immutable distro experience. My base system gets fresh reliable updates, and I barely install anything directly on it, a handful of things are snaps or flatpaks from the discover store, but my main workflow is now in distrobox. It has been rock solid reliable, and just works. The Hardware This gem is running a an intel i7-2600 (4) @ 3.80 ghz with 16gb of ram. I’ve maxed out the ram that the motherboard will allow me. I may have even forgot…
Theo weighing in on the 2025 job market. It’s no 2018 out there right now, the ratio of jobs to engineers in the market has flipped big time. Theo as usual really focuses on community, being in a community, and being a good citizen. At the end of the video Theo weighs in on his experience hiring, and generally it starts with we need someone to do x does anyone know someone, then goes to a more formal internal post, then more formally asking internally does anyone know someone, then maybe to his community, and if he really still needs the person it might become an external post. These days there are so many good engineers on the market that very few good jobs actually get a posting for in his opinion.
kitze 🛠️ tinkerer.club (@thekitze) on X holy fk I thought package.json was bad but TIL python stores dependencies in a.txt file 💀 X (formerly Twitter) · x.com kitze hating on python packaging in new ways. Python packaging has a lot of quirks that can make it infuriating. Not once have I thought “you know what this needs, quotes and braces”
This tip of using tinkercad to do boolean operations on an stl of a solid gridfinity bin and an outline is absolute fire 🔥🔥🔥. This feels like a relatively simple operation, but to do it to a generated stl proves hard to do in most modeling software, at least harder than it needs to be. Somehow tinkercad got it right and made it a very basic operation to do. It took me a minute to find the Merge button that Uncle Jessy mentioned, they call it a group in TinkerCAD.
Damn Glorious Eggrolls is still making gaming on linux better. Of course its containerization that drives everything on linux these days. This is a pretty badass talk. Umu is already running in steam and bazzite. Bazzite gamemode uses this to get a gamescope session running.
Great list of 4 tips for running fastapi applications. Keep routes small Fat routers with all of the logic built in makes them hard to test, hard to refactor, causes lots of duplication, and makes it hard to reuse the business logic code later in something like a cli application. Deploy Early I really like this advice! He reccommends deploying as early as you can get a healthcheck live in your application. I’ve found too many times developers build something that is really hard, or impossible to deploy, when if they had tried to deploy early they would have spotted some easy to fix issues. This is less important if you are building out of a template that your team commonly deploys from, but very important with new patterns. https://youtu.be/XlnmN4BfCxw?si=ks1wvmgDyoQLgrv2&t=1093
Building Python tools with a one-shot prompt using uv run and Claude Projects I’ve written a lot about how I’ve been using Claude to build one-shot HTML+JavaScript applications via Claude Artifacts. I recently started using a similar pattern to create one-shot Python uti... Simon Willison’s Weblog · simonwillison.net This is really interesting, the lazy uv scripts are really becoming quite appealing, especially for something like this to just pop out of an llm ready to run. The article features several examples of these one-shot prompt ideas that I suggest you give a try, and a prompt for creating them.
Depot Status Latest service status for Depot Depot Status · status.depot.dev Depot’s uptime seems to be great. I definitely hit some issues with it this afternoon 12/24/24 that were not reported. I wonder if my issues were with the fly integration. Maybe fly ran out of credits to depot or something.
Deploy to Fly using a Depot builder Using Fly.io's new Depot builder, we'll walk you through how to deploy a TypeScript service globally with speed. Depot · depot.dev Here the integration to depot appears to be opt in using the flag on. This must have changed over time though because today it was giving me issues and I had to opt out using. Looks like a great service and I just learned about them on their bad day.
Depot | Software Delivery built for machine scale Depot provides fast source control, builds, CI runners, sandboxes, caches, and registries to ship reliable software at machine scale. Depot · depot.dev Just learned about depot today ironically because it seems to be down and fly is using them under the hood to do the container builds, seems like a really great service for fast builds accross your team.
This was an eye opening video into agentic editing workflows. setting rules Dfferent ai tools use different rules files, windsurf uses.windsurfrules. testing out rules Test out your rules file by having it say something at the beginning of the output to verify that the rules are being applied correctly. First line He suggests to use this key rule for debugging purposes, otherwise you are guessing to what rules if any it is following.
Dedicated Servers | Intel Servers | AMD Servers - Dedicated Hosting reliablesite.net Dax talked about this in a recent How about tomorrow podcast https://thoughts.waylonwalker.com/post/461. He is using it as his dev machine, he just ssh’s in and devs on it. Feels like quite an interesting workflow, their prices seem competitive, but as a cheap ass homelabber I see their prices and think I could grab a used optiplex for the cost of a month or two of these and probably wouldn’t know the difference. DAX mentions longer compile times so maybe he does notice.
This is a pretty great episode talking shop with typecraft. They talk setups, cameras, content creation. I found them talking about their linux setups particularly interesting. Dax talked about his flow from building his own machines to using reliablesite.com. tmux default leader Dax hates on c-a, both typecraft and dax use c-s, which normally freezes a terminal, we can all agree that is useless. I use the default c-b, it seems fine for me. type crafts setup Ubuntu Ghosty Tmux Nvim Ruby Selling coffee without a web front end Dax talks about terminal.shop and how they originally planned to have a web front end, but after they had so much success they stuck with it. now they are leaning harder into it and are building out integrations with a bunch of languages and an api, but no front end.
PEP 723 – Inline script metadata | peps.python.org This PEP specifies a metadata format that can be embedded in single-file Python scripts to assist launchers, IDEs and other external tools which may need to interact with such scripts. Python Enhancement Proposals (PEPs) · peps.python.org PEP 723 is what is inspiring all of these lazy self installing python scripts, Authored by the author of hatch and pyapp. This is a really cool thing that uv has picked up and made python packaging just a bit easier.. maybe… dependency resolution still sucks.
Switching from virtualenvwrapper to direnv, Starship, and uv Earlier this week I considered whether I should finally switch away from virtualenvwrapper to using local.venv managed by direnv. I’ve never... Trey Hunner · treyhunner.com I’ve kinda fallen out of using direnv now that a lot of my projects use hatch, I generally just hatch shell into them. I just need to make sure I go through all of them and make my installer uv. Now I’ve been thinking about making uv my only needed dependency to run a python project and leaning more to something like
Lazy self-installing Python scripts with uv I frequently find myself writing my own short command-line scripts in Python that help me with day-to-day tasks. It’s so easy to throw together a... Trey Hunner · treyhunner.com I really like Trey’s steps to making an executable python script with uv his old process seems to be the same with a new shebang Add an appropriate shebang line above the first line in the file (e.g. #!/usr/bin/env python3) Aet an executable bit on the file (chmod a+x my_script.py) Place the script in a directory that’s in my shell’s PATH variable (e.g. cp my_script.py ~/bin/my_script) And here is the new format the the shebang followed by the metadata comment block defined in PEP 723.
My approach to running a link blog I started running a basic link blog on this domain back in November 2003—publishing links (which I called “blogmarks”) with a title, URL, short snippet of commentary and a “via” … Simon Willison’s Weblog · simonwillison.net I still cannot believe I thought I had such a unique idea with thoughts only to find out shortly thereafter that Simon beat me to the punch by about 20 years! Simon put a lot of work into this post please check it out. Its not only filled with tons of little nuggets about blogging, it has just a ton of links to other posts I’m itching to read now. https://simonwillison.net/2024/Dec/22/link-blog/#thoughts.waylonwalker.com a linkblog proves that you read Simon mentions it in the post as well, but one thing about having a link blog does is that it proves that you actually read articles that you share. This is really more about proving to myself, and reminding myself that anyone else, it’s a good feeling. Trying to add soemthing extra include names of people, and add tags for common people something extra - the whole point is to bring something to the post without stealing thunder, but rather linkbuilding for the author that put th…
How I use Obsidian Templater One of my favorite Obsidian plugins is Templater, which lets you create reusable templates in your notes vault! cassidoo.co I really like this idea of keeping a set up contacts in a markdown repo, and being able to wikilink them to different tickets / meetings and what not. I’m imagining the graph you can build, it feels quite interesting. Even more relevant as we see things like teams rolling out retention limits to messages. Here is Cassidy’s format, I like it but I’m probably not going to track the birthday of most people I work with, thats just not the relationship I tend to have with work friends. It might be a midwest or non tech thing, but I am not even aware if any of my co-workers have social media, and I assume that if they did it would not include anything work related but more football and other sports.
docker context (and an issue to question your sanity) docker contexts are great, would recommend putting them in your prompt though (via starship or something else)... here's why My mental data-lake · pype.dev Dang context can really cause you to pull your hair out. Context seems so freaking convenient, but I’ve avoided it and just ssh in for these reasons. Maybe I’ll come around eventually but for now ssh is my friend.
This is such an improvement to the backend of my website it warrants a blog post of celebration. For far too long I’ve been dealing with a tiny ass edit form on thoughts. I tend to not edit them, and try to get them right in one go. This is kinda the point of a thought, its a quick post meant to be the size of a tweet, but sometimes I’m leaving thoughts on a video or long post and want to make sure I have a good save point, but I just keep the thing in draft and hope I don’t loose if for far too long. Results Let’s see this change in action!! before This is the tiny ass form nested deeply in the flow of the feed. When I made it I naively just swapped out the post itself with the edit form, and swapped the post back in after edit. after Now the edit is a full page modal with a nice blurry backdrop effect to the rest of the content. This feels pretty similar to making a on twitter. How How did I do this with htmx? I had to break out of the mindset my brain was in with swapping in place a…
I came across markitdown from microsoft, and it’s packed with great features and ideas. Python tool for converting files and office documents to Markdown.
gh-skyline by github is a game-changer in its space. Excited to see how it evolves. A GitHub CLI extension to generate a 3D model of your GitHub contribution history
I’m really excited about studio, an amazing project by outerbase. It’s worth exploring! A lightweight Database GUI in your browser. It supports connecting to Postgres, MySQL, and SQLite.
I got the ADHD, too This month I got my official diagnosis for Adult ADHD. It’s fun to share experiences with friends. While ADHD presents some new waters to navigate, it isn’t exactly news to me. Thanks to Dr. Ti... daverupert.com · daverupert.com Cheers to the Unique brains dave. I can say I am 100% with Dave on all of these, except the clean environment thing, lucky Dave. If I have enough room to see what I am doing and walk around a mess, I probably wont even notice it. I’m so hyper focused on what is right in front of me that mess could be a huge pile of cash and i’d never see it.
How to make your RSS feed pretty Life is too short for ugly XML. cassidoo.co I love me some styled rss, it’s how the OG internet was made to be. You choose what you want to read and when. There is no middleman aggregator inflating the reach of things they want you to see or suffocating things against them. It’s just you and your internet friends. Cassidy’s Styled rss Cassidy has a quite lovely and easy to read rss feed, with an open source style sheet, that is part of her open source blog template for astro blahg, love that name by the way! Dave Rupert’s Feed I first learned of styled rss feeds from shoptalkshow.com, specifically from Dave Rupert. Dave uses a pretty bog standard styled rss feed with pretty-feed-v3. This repo is probably the best place to start if you are looking to style your rss feed. https://github.com/genmon/aboutfeeds/blob/main/tools/pretty-feed-v3.xsl My RSS Feed My feed comes from my static site generator markata, a plugins all the way down static site generator written in python, made for customizing, lacking just about any and all docs so you are on your own.
Today i got hit by this accessibility issue on my site. Low contrast links are
not distiniquishable. I had not seen this error title before it was new to me,
maybe I have bad memory or maybe it’s new to me.
I ended up dropping the background color of the site down a notch as I didn’t
really care for the semi-dark brown anyways. I’m liking the near black
bg-zinc-950 much better now.
Dropper — Private file storage and sharing A private file drop for uploads, previews, and a searchable media library by Waylon Walker. Dropper · dropper.waylonwalker.com Dropper is a place for me to drop files for quick posts like this.
Add a healthcheck to your FastAPI app I'm building a few FastAPI apps to throw in docker and run on my homelab... I wanted to add healthchecks and here's a simple way to do it My mental data-lake · pype.dev Nice example of adding a healthcheck to fastapi, and integrating it with docker. Don’t forget to include curl in the install, nice touch.
GitHub - casey/just: 🤖 Just a command runner 🤖 Just a command runner. Contribute to casey/just development by creating an account on GitHub. GitHub · github.com new versions of just now come with color variables already set.
pipely/justfile at main · thechangelog/pipely I like the idea of having like this 20-line Varnish config that we deploy around the world, and it’s like: Look at our CDN! - thechangelog/pipely GitHub · github.com I found this nugget in thechangelogs justfile, it lets you add color to your justfile with variables quite easily. Usage
Hurl - Run and Test HTTP Requests Hurl, run and test HTTP requests with plain text and curl. Hurl can run fast automated integration tests. hurl.dev Hurl was mentioned by @gerhard on the latest changelog and Friends. Looks like a feature rich easy to use testing tool that is tested via what looks like a config file. Hurl is a command line tool that runs HTTP requests defined in a simple plain text format. It can chain requests, capture values and evaluate queries on headers and body response. Hurl is very versatile: it can be used for both fetching data and testing HTTP sessions. Hurl makes it easy to work with HTML content, REST / SOAP / GraphQL APIs, or any other XML / JSON based APIs.
Today I discovered the Urllink function in bash from the ujust tool from
ublue.it. Seems like a cool trick, but might not work
everywhere.
########### Special text formating########## Function to generate a clickable link, you can call this using# url=$(Urllink "https://ublue.it" "Visit the ublue website")# echo "${url}"function Urllink (){URL=$1TEXT=$2# Generate a clickable hyperlinkprintf"\e]8;;%s\e\\%s\e]8;;\e\\""$URL""$TEXT${n}"}```j
watchfiles Simple, modern and high performance file watching and code reload in python. watchfiles.helpmanual.io Simple, modern and high performance file watching and code reload in python.
I’m really excited about turso, an amazing project by tursodatabase. It’s worth exploring! Turso Database is a project to build the next evolution of SQLite.
limbo by tursodatabase is a game-changer in its space. Excited to see how it evolves. Limbo is a work-in-progress, in-process OLTP database management system, compatible with SQLite.
hostnamectl to easily change hostname hostnamectl is apparently a linux utility for easily changing your hostname in a variety of ways My mental data-lake · pype.dev For some reason the ublue ecosystem does not prompt you to set your hostname on install and you get a hostname like bazzite showing up. Looks like this is the fix. hostnamectl –static hostname babyblue-aurora
I came across cockpit-identities from 45Drives, and it’s packed with great features and ideas. User and group management plugin for Houston UI (Cockpit)
cockpit-file-sharing by 45Drives is a game-changer in its space. Excited to see how it evolves. A Cockpit plugin to easily manage samba and NFS file sharing.
Using OPNsense with Tailscale · Tailscale Docs Set up a Tailscale VPN on OPNsense. Get secure communication across your devices without the need for complex configuration. Tailscale · tailscale.com On reboot of my opnsense router it did not tailscale up. I’m not sure if a key expired or what happened. The fix was to first enable ssh, then ssh in and run tailscale up. enable ssh In opnsense System > Settings > Administration > Secure Shell > Enable Secure Shell tailscale up Follow the link to log in. disable ssh now uncheck secure shell to lock down the opnsense machine. In opnsense System > Settings > Administration > Secure Shell > Enable Secure Shell
I’ve been debugging a cloudflared tunnel issue in my homelab all day today, and
getting really frustrated. My issue ended up being that it was running twice,
once without the correct config file and another with it. I believe that
cacheing may have compounded the issue.
In yesterday’s post I setup a cloudflared tunnel on my ubuntu server to
expose applications running on the server to the internet. I’m setting up a
new server and running cloudflared in its own vm.
exportCLOUDFLARED_TUNNEL_ID="my-tunnel-id"cloudflared tunnel list
cloudflared tunnel info $CLOUDFLARED_TUNNEL_ID
I run a cloudflared tunnel on my ubuntu server to expose applications running
on the server to the internet. I’m setting up a new server and running
cloudflared in its own vm.
Now setup the config directory. For the systemd service to work, the config
file needs to be in /etc/cloudflared. I like to give my user rights to edit
the config file without being sudo, we will do that here by creating a group
cloudflared, add ourselves to the group, give ownership of /etc/cloudflared
to the group, give group write access to the directory, and refresh groups.
Now setup config. For the systemd service to work, the config file needs to be
in /etc/cloudflared. The config that I have provided below will expose
localhost:8000 to tester.example.com
Fitting two hard drives and an SSD in a Dell OptiPlex 7010 SFF The Dell OptiPlex 7010 SFF officially only has room for one 2.5" hard drive internally, I fitted two 3.25" hard drives and a 2.5" SSD in one. willj.net This guy fit 2 3.5" drives and an sdd in a dell 7050 SFF. It looks tight, and there it probably not much airflow running in it, but its an impressive project.
How To Fix An Office Chair Popping Noise? With Root Causes If you hear a popping noise from under your office chair when you move around or when you spin it, it’s time to repair your office chair. Read more. ToErgonomics · toergonomics.com I tried this fix on my secretlabs chair, but unfortunately it did nothing for me. Mine ended up being an issue in the tilt mechanism and not the hydraulic piston. I greased the crap out of it, it can only help the longevity. I did notice that the two washers on either side of my bearing were quite worn in.
Reddit reddit.com This is definitely happening to my secretlabs chair. I did the fix this morning, its still not perfect, but it’s better now than it has been in a long time. Mine use to be so bad that it would pop and creak every time I sat down or moved the smallest bit. It’s now quiet through the mid range of its motion with the occasional pop when I sit down.
@changelog) on X — 🗣️@dhh on Kubernetes' migration pitch: “Oh, we’re on Amazon? Flip the switch, George! Let’s move over to GCP.” Vs reality: "Flip the switch, George! We’ll start having the meetings about the meetings about how we can move out four years from now."" loading=“lazy”> Changelog ( @changelog) on X 🗣️@dhh on Kubernetes' migration pitch: “Oh, we’re on Amazon? Flip the switch, George! Let’s move over to GCP.” Vs reality: "Flip the switch, George! We’ll start having the meetin… X (formerly Twitter) · x.com switching cloud providers, theres no easy way. K8s was supposed to get us there, haha, the deep integrations with each vendor just keep locking us in
Just starred nvtop by Syllo. It’s an exciting project with a lot to offer. GPU & Accelerator process monitoring for AMD, Apple, Huawei, Intel, NVIDIA and Qualcomm
This is a really amazing documentary of argocd. I got into k8s pretty late in the game. Which is pretty typical for me. As I went to use k8s for the first time i was using workflows, then cd. both of these tools had a level of polish that made them seem like they had been there forever and not quite as young as they actually are. I thought it was interesting how they focused on how the name must be two syllables or less, start with a or b, logo needs to be cutesy funny and recognizable seemed interesting, but puts them at the top of lists and makes them look like they’ve been there forever.
GitHub - saghen/blink.cmp: Performant, batteries-included completion plugin for Neovim Performant, batteries-included completion plugin for Neovim - saghen/blink.cmp GitHub · github.com A new completion plugin that I might give a try. Readme makes it sound like its built on some fast teck that allows them to handle a lot of items and run more frequently. The videos look like they don’t have some of the same issues cmp does for me. Maybe its my configuration, but I’m pretty sure it does not update when you backspace and things like that.
Wes Bos (@wesbos) on X CSS Anchors: flip a tooltip to the bottom when it goes offscreen X (formerly Twitter) · x.com These css anchors are crazy that you can do this with html and not a bunch of js, probably requiring a library or framework.
I’ve been playing with 3d printing some items through the slant3d api. I’ve
been pricing out different prints by running a slice request through their api.
I’ve been using uv for project management. It’s been working well for quick
projects like this while making it reproducible, I’m still all in on hatch for
libraries.
Then you can run the python script to price out your print. I’m not exactly
sure how this compares to an order, especially when you add in different
materials.
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 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
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 Hynek has a sick dockerfile setup for using uv in python projects.
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.
External Link printables.com 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.
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.
I came across pz from CZ-NIC, and it’s packed with great features and ideas. Easily handle day to day CLI operation via Python instead of regular Bash programs. 🇺🇦 #supporting
I’m impressed by rocketnotes from fynnfluegge. AI-powered markdown editor - leverage vector embeddings and LLMs with your personal notes - 100% local or in the cloud
faststream by airtai is a game-changer in its space. Excited to see how it evolves. FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.
I came across faststream from ag2ai, and it’s packed with great features and ideas. FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.
The work on memos by usememos. An open-source, lightweight note-taking solution. The pain-less way to create your meaningful notes. Your Notes, Your Way.
Aaron Francis (@aarondfrancis) on X 📣 We're excited to announce Mastering Postgres, a video course coming October 15th. @steve_tenuto and I started this business with dreams to improve the quality of database education. With the… X (formerly Twitter) · x.com Aaron Francis is a database master, pumped for thsi dude and all that he is able to accomplish.
@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.
ticklemykeys (@XTicklemykeys) on X Porta john got some pink caps X (formerly Twitter) · x.com Loving this 6 pink with blueforward multicolor combo the porta john has going right now. Also my son printed me a cute black pumpkin.
Reddit reddit.com 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.
Install a Zulip server — Zulip 12.3 documentation zulip.readthedocs.io Zulip was just featured on a changelog clip as a self-hosted 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.
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
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 helix inspired treesitter select outwards and select inwards.
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.
helix-vim/config.toml at master · LGUG2Z/helix-vim A Vim-like configuration for Helix. Contribute to LGUG2Z/helix-vim development by creating an account on GitHub. GitHub · github.com 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.
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.
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 I am a heavy user off substitutions in vim, helix does not substitutions built in, rather it leans on multicursor support. to replace every instance of hello with world in vim and in helix you would
Background Image | Wallpaper · Issue #3059 · helix-editor/helix Describe your feature request Hey! It'd be cool to have the ability to set a background-image on supported terminals (like kitty). Like on IntelliJ: Here is an example of what it'd be on helix: GitHub · github.com How to make helix themes transparent. You can make any built-in theme transparent in helix with one line, a few extras and you can make all the pop ups, help menus and status line trransparant as well.
configuring pylsp · helix-editor helix · Discussion #6623 Hi, I'm trying to make some modifications to the default pylsp settings as I do not strictly follow PEP in my personal projects. I googled some examples but I cannot get them to work, so I am wonde... GitHub · github.com How to set your python formatter to black with helix. The following snippet lays out how to set the helix editor to auto-format on save with the black formatter.
Database Remote-Copy Tool For SQLite (draft) Neat new SQLite utilities often show up in branches of the SQLite repository. Here's a new one from last month: sqlite3-rsync, providing tools for efficiently creating and updating copies of … Simon Willison’s Weblog · simonwillison.net Simon shared a really cool new utility tool for sqlite ispired by rsync. It checks hashes of each sqlite page and syncs pages. So if nothing in the database has changed it will only require 0.5% the bandwidth as a copy would.
ticklemykeys (@XTicklemykeys) on X working on a new model. seams less visible hotswap more room for build X (formerly Twitter) · x.com porta-john design update, working on moving the seams to line up with an edge to eliminate long noticable seams. These seams are required because I don’t have a printer big enough to print this in one shot. hotswaps are going in. I’m getting really excited for hotswaps as they will make keebs more repairable, and users can self change out the switches if they want. I can also pre-build them ready to go, and drop in switches at the time of order. I did learn today that these are hyper specific to gateron, damn all these switch manufacturers and their special pinouts. Last thing I gotta make more room for wiring the microcontroller and running wires out to the rows and columns, my first prototype build took waay to long to build.
Dr. Elvim Ransom 👽 (@jesseleite85) on X Help, I'm being Helix pilled by my own friends! X (formerly Twitter) · x.com Is Jesse going to get sniped by the helix community?
ticklemykeys (@XTicklemykeys) on X New cap of my own design X (formerly Twitter) · x.com This low profile design almost made it to 9. I think blending together the custom brim to make them all one piece really made the final difference here. The custom brim is two layers thick, only touching on the top layer making it very easy to peel off, but gives better adhesion to the bed, and does not loose one like this print did.
ticklemykeys (@XTicklemykeys) on X Full size MX caps, printing flawlessly with minimal cleanup required. X (formerly Twitter) · x.com really excited for how these caps of my own design are working out. Having the extra control is the first time I’ve been able to print more than one at a time without some hacky gcode. I’ve got a set of nine here that I have printed 4 times without a single failure.
Cherry 8 mm keycap mount telcontar.net MX keycap stem dimensions. I used these to create my new caps and all these dimensions worked great. The one dimension I had issues with was the outer diameter off the cap stem, not shown here. 5.3mm ended up being a good outer diameter for me. I print them at an angle and the bottom of the stem can get a bit of sag, pressing out on the outer wall of the switch and can actually stick the key.
distrobox/docs/usage/distrobox-assemble.md at main · 89luca89/distrobox Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror availab... GitHub · github.com This page is gold. It lays out all of the distrobox assemble api with some good examples of how to get access to things like podman and kind from inside of containers. Especially this example.
Comparing the thickness of the low profile portajohn2 to the portajohn1
GitHub - urob/zmk-config: Personal ZMK firmware configuration for various boards (34-keys, Glove80, Planck) Personal ZMK firmware configuration for various boards (34-keys, Glove80, Planck) - urob/zmk-config GitHub · github.com This is a very well thought out zmk config featuring many macros, numword, and timeless homerow mods. The build system to build locally looks on point, I really need to give that a try!
add init hooks and exported bins · WaylonWalker/devtainer@2e4c6da 🐳 (dotfiles) My personal development docker container base image - add init hooks and exported bins · WaylonWalker/devtainer@2e4c6da GitHub · github.com Today I learned that you can use init_hooks to access host machine commands from inside a distrobox container. This is super handy for things that you cannot get to from inside the container and need ran outside (docker, podman, flatpak, xdg-open).
Taildrop · Tailscale Docs Send files between your personal devices on a Tailscale network. Tailscale · tailscale.com Tailscale comes with a feature called taildrop that lets you easily share files between machines on your tailnet. If you have tailscale on ios/android it shows up as a share target when you try to share something, and you can pick the machine to share with. What was not obvious to me was how to receive the file on linux. The linux tailscale service does not automatically receive the file, which can be kinda nice that you can put it where you want, but was not obvious to me at first. Use this command to receive files.
GitHub - triliu/Heawood42: Files for the Heawood42 ortholinear split keyboard Files for the Heawood42 ortholinear split keyboard - triliu/Heawood42 GitHub · github.com The Heawood42 is an interesting diodeless keyboard that is not direct wired. According to the repo this is the only keyboard to be diodeless and not direct wired. It does this through the use of a graph.
Leveret v2 & lever keycaps Leveret is a wireless split keyboard by dohn-joh, featuring thumb clusters with custom lever keycaps. kbd.news · kbd.news This is a wild key cap that uses a lever to convert horizontal key presses to vertically press the switch down. The leveret v2 uses two of these on thumbs, one to press outward, and what appears to be one straight forward which feels like it would have to be a wrist motion, but who am I to judge without having it in person.
After first setting up a new k3s instance your kubeconfig file will be located
in /etc/rancher/k3s/k3s.yaml.
You cans use it from here by setting $KUBECONFIG to that file.
exportKUBECONFIG=/etc/rancher/k3s/k3s.yaml
Or you can copy it to ~/.kube/config
cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
If you have installed k3s on a remote server and need the config on your local
machine then you will need to modify the server address to reflect the remote
server.
External Link uxplanet.org A nice set of blacks to use in web design. Subtle variants off of black or white like this can really make your design look nice and modern.
Wes Bos (@wesbos) on X Are you using position: absolute; to overlap elements? It's almost always better to Use CSS Grid instead! X (formerly Twitter) · x.com This is a pretty incredible use of css grid to overlay items overtop of each other without needing to resort to and the side effects that it brings.
External Link printables.com Someone has created a knock off of the ltt screwdriver and made it printable, and it works really well. I have one printed with 6 different bitholders. I popped some labels on them in bambu studio as I printed to mark them for metric/inch and so on. I’ve had mine for about a year now, and I use it quite often. I used to be a dedicated screwdriver kind of guy, but as life has changed I’m not working out of a shop with tools at reach as much, I’m grabbing a couple of items and heading to a job in the house or a neighbors house. It’s not 30s to grab just the right dedicated screwdriver anymore. Also having some setup with hex and torx is a game changer. It’s also super handy that you can just pop the bits right into a drill or impact. Highly recommended print. Sorry for not buying the real deal Linux, I got kids to feed here. I owe you a t-shirt order or something.
Installing and managing Python | uv A guide to using uv to install Python, including requesting specific versions, automatic installation, viewing installed versions, and more. docs.astral.sh now can install python for you. is inspired by rust’s cargo, an all in one fast package and installation manager. is so fast and becoming feature complete, it’s really changing the python packaging ecosystem.
Switching configs in Neovim How to maintain multiple Neovim configurations and switch between them Michael Uloth · michaeluloth.com Switching between nvim configs can be really easy to do since they implemented the Environment Variable. Now config will be loaded from Michael lays out some aliases in the full article.
infused-kim has done a fantastic job with kb_zmk_ps2_mouse_trackpoint_driver. Highly recommend taking a look. A PS/2 mouse & trackpoint driver module for keyboards running the zmk firmware
Today I dropped some new caps in the porta-john. I need to do a bunch of posts on zmk and my journey building the porta-john, I’ve been rocking it for at least two weeks now pretty solid and I am absolutely loving it. More on that later. KLP-Lame-Keycaps The model of the caps are KLP-Lame by braindefender, they are super rounded and smooth. They look really good on camera and feel good to the finders. I printed these at home on my ender3 s1 pro with a black and purple silk filliment. I printed all 42 at once using a Printing 42 keys at once technique. They do have just a bit of a rough texture that you can feel on your figertips. I printed these on super quality.12mm layer height, while my last set was printed on draft quality.32mm layer height. They look crazy different in print quality with the lines of the new caps barely showing, the feel isn’t nearly as drastic. The Result Check out the final shots as I set up the porta-john with these sweet caps. And here they are all set up. Ful…
External Link halfwit.github.io This is the coolest scrappy build, no printer or modeling required, no fancy tools, just straight chisel and claw hammer in soft pine. Im here for it, create the thing that you want to create.
Vim has a handy feature to format text with gq. You can use it in visual
mode, give it a motion, or if you give it gqq it will format the current line.
I use this quite often while writing in markdown, I do not use softwraps in vim,
so gqq quickly formats my current line into a paragraph. Once I have done
this for a single line one time I typically switch to the motion for around
paragraph gqap to format the whole paragraph and not just the current line.
A slug is the part of the url that comes after the domain. Commonly matches the file name of a markdown file many blogging systems. These are typically human readable, unique identifiers for pages within the site.
Wikilinks are a core concept within obsidian to link to documents by Slug wrapped in double square brackets. These are commonly used within wiki site generators.
[[slug]]
Obsidian gives you a keybinding alt+enter to go to that file, but if it does not exist it will create the file for you in the root of the project. It’s a nice way to quickly make new documents.
Over the past years couple of years blog traffic has been tanking, for some time I thought it might have just been me, but then i heard it from Dave Rupert on Shop Talk show, and it made sense. LLMs and AI is slowly killing the internet as we know it. My metrics I dug into my emails from the google search console team and found two results nearly one year apart. Impressions are only 60% of its value a year ago while clicks are only 35% of where they were a year ago. I’m getting less impressions and even less clicks. Suspicions What I think is happening is a large portion of users are getting their answers from ChatGPT, Copilot, and llms like this. A lot of my posts have been filling gaps in the internet, notes for myself when I struggle to integrate x in y because there was a gap of how to do so in the docs and stack overflow. Some small fraction of users have moved on to duck duck go and other non global warming search engines with AI in their results. Clicks are down even further, th…
Hotkey to open link under at the text cursor position while typing in edit mode I find myself not wanting to leave the keyboard for navigation and think a keyboard-only shortcut that could open a link at the text cursor position is at would be really handy for this case. Obsidian Forum · forum.obsidian.md Obsidian has a go to definition like feature, the keybind is alt+enter, I would have never guessed this one.
It was not obvious to me, but if you have a wikilink such as Trying Obsidian, you can jump to the file in obsidian, just like you can with lsp go to definition, the keybinding is alt + enter.
Very inspiring video Jason, these people faced adversity and crushed it. The market is so hard right now, its not easy to get a job, move around, and recover from a layoff. Everyone in this video just showed that you can make it in this industry right now, you just have to be willing to work harder than the rest. The bar is raising, a lot of great people are already putting in hard work to make it. Community is Key, Theo mentioned that a lot of the companies he works with don’t even post openings, they go to their community first and are often filling spots through lower risk community hires.
Thor always comes in hard with fire takes in his shorts. Especially if you are early in our career take this in. If you dont yet have kids, but plan to, double take this in.
I’ve long used copier to create all of my posts for my blog, and it works
really well for my workflow. I think of a title, call a template, and give it
a title. out of the box obsidian did not seem to work this way. It seems like
it wants me to right click a file tree and make a new file using the tree, this
is not my jam.
Here is what I came up with to replace my til template.
---
date: <% tp.file.creation_date() %>
templateKey: til
title: <%*
const originalFileName = await tp.system.prompt("Enter file name");
const toTitleCase = str => str.replace(
/\w\S*/g,
txt => txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase()
);
const title = toTitleCase(originalFileName);
tR += title + '\n'; // Add the title to the template result
-%>
published: true
tags:
-
---
<%*
const fileName = originalFileName.toLowerCase().replace(/\s+/g, '-');
const newFilePath = `pages/til/${fileName}`;
await tp.file.move(newFilePath);
-%>
<% tp.file.cursor() %>
tR is a return value, and it gets placed directly into the place it is in the file
to.file.cursor() creates a tab-index point so I can tab into the content
I am giving obsidian a try, this is a test post to learn the flow. Something that has been really hard for me for a long time is images, I don’t include a lot of images just because it takes so much longer just to get the post out. I store them in a separate repo, I need to resize and compress them for the web so they aren’t so big. Images are easy This is my current wallpaper. I have more about my process in this post about Obsidian Image Converter. It’s still just markdown I don’t know why it took me so long to understand this but obsidian is just markdown files. I pretty much just plugged in my existing blog and it picked up all the tags and was ready to run. I now get some nice visualizations to help me identify posts that were not ever tagged or maybe left unfinished. It leans hard on wikilinks I just finished moving my backend over to md-it-python, which comes with some good wiliklink support. I even make a sick wikilink hover feature that previews wikilinks on hover. Inside of o…
I’m giving obsidian a go as an editor for my blog and one of the main things I
want to fix in my workflow is the ability to quickly drop in images. on first
look through the community plugins I found Image Converter. I set it up to
convert to webp and drop them in a git submodule. I may make it something
other than a git repo in the future, but I’ve learned that adding images to my
blog repo quickly makes it heavy and hard to clone on other machines.
Once the images are there they are pushed and deployed as their own site to
cloudflare pages. I made a quick edit to my sick wikilink hover plugin for
my blog. if it sees a wikilink ending in webp, convert the domain over to
obsidian-assets.waylonwalker.com, and clean up the remaining "! " that the
python md-it library leaves behind.
Note
after first try I needed to increase the width from 600 to 1400, the image in this post was unreadable.
Docker no Docker, what!!! So fly.io uses Dockerfiles to deploy your app, but no docker. They use containerd to download your docker images into firecracker microvms to run your app. Firecracker is the same tech that runs aws lambda functions. Fascinating short post on the beans under the hood at fly.io and how they scale your app globally.
Reddit reddit.com This is a pretty sick design, touch screen macropad, trackball, ring, and knobs for days. I just want to play with it and see what I can make it do. As I’m typing I think I just realized that its modular, each rectangle is it’s own section!
Damn Johnny is always such a positive vibe, just getting steamrolled by this braille shit. WTF are these brand sleeping on. Happy to hear that Andy and Brian are supporting him well. Also kinds shows what shoes are good when he goes to buy shoes cause no one will send him any and he goes with Etnies. Johnny keep it going!
Niklas Luhmann created the Zettelkasten method of notetaking, He was the Da Vinci of writing, holding a high standard that we can take inspiration from even today in this digital era. As many times as I have seem the Zettelkasten covered, I never knew that it roughly translated to little cards in a box. Four Principles Mischa lays out four principles of Zettelkasten. Atomic - each card conains one idea Link - cards are linked together Structure - comes from the links Own Words - You write the note in your own words My blog, tils, and thoughts make up my own zettelkasten. I am not going to say that mine is a perfect representation of his method, but the components are here. rather than building books, my thoughts and tils build up to blog posts. The rate of blog posts I write definitely changes with the seasons of life, as seasons change it becomes a bigger or smaller part of the season. I really like Mischa’s most important note to Write in your own words, this is what really promotes learning, and proves to yourself that you can form a thought around the topic. Up until recently I’ve wrote everything, but lately I’ve taken to copy pasting some quotes into my thoughts posts, but I…
add quick-tap-ms and require-prior-idle-ms · WaylonWalker/zmk-config-42block@cb2cda4 Contribute to WaylonWalker/zmk-config-42block development by creating an account on GitHub. GitHub · github.com Even after switching to my hm and ht behaviors I am running into some issues where sometimes I am still accidentally hitting mods(&hm) and layers(&ht) while typing and it’s been getting frustrating. My main issue has been on &ht, they are configured the same so I suspect that my pinkies just move a bit slower over the keys than my pointer/middle finger. I just added and to my &hm and &ht behaviors, and a few intentionally sloppy passes through monkeytype seem to show that its working well. A few days of trying this will tell whether it was a good fix or if I have maybe gone too far the other way. The end goal here is to be able to roll over keys faster without worrying about hitting other layers or mods.
I’ve had a couple of uploads to twitter fail recently and has been a pain. I
tried some online converters for convenience, but none of them worked. I
reached out to chatgpt and found succeess with this ffmpeg command.
Tickle My Keys Keyboards so good your fingers will be begging to tickle these keys. ticklemykeys.com I’ve been working on something, I’m gong to combine my mechanical engineering skills with my love of great keyboards and start a custom keyboard shop for building custom keyboards for exactly what people need with an emphasis on portability.
Damn Prime covers this so well from all angles. Can’t overstate the importance of that last step. Look at the issues, and raise an issue if there is not one before putting in a bunch of hard work. Make sure that the maintainers are open for your changes and no one else is already working on it.
sqlite-jiff I linked to the brand new Jiff datetime library yesterday. Alex Garcia has already used it for an experimental SQLite extension providing a timezone-aware jiff_duration() function - a useful new … Simon Willison’s Weblog · simonwillison.net Sqlite is getting rust extensions now, and datetimes make it totally worth if if they work well and and fast, two things that don’t always go together in datetime libraries
There’s a TUI for that with Nick Janetakis (Changelog & Friends #53) Nick Janetakis is back and this time we're talking about TUIs (text-based user interfaces) — some we've tried and some we plan to try. All are collected from Justin Garrison's Awesome TUIs repo o... Changelog · changelog.com 50 minutes into this episode they start a discussion on seo, and naming posts. They give Jerod the task of googling for tmux and see how high up the ranking they find Nick, expecting a number one post, and he cant even get to Nick. The problem? Jerod is such a beginner he doesn’t even know what to search, he starts with a long query about getting started with tmux, but all of Nick’s videos are why you should use advanced features of tmux, but Jerod has yet to discover that these exist. As experts we often come up wtih a post title for the exact thing that we are trying to teach someone how to do, but yet, they haven’t discussed that they need that feature yet, they just want the getting started guide, or tell me why I should start using tmux. Not why sessions are better than windows, and tabs suck all together. Definitely an eye opening conversation listening to two experts sit in shock as the…
The Verge (@verge) on X Stress testing a snack-proof keyboard X (formerly Twitter) · x.com This is a wild keyboard test. This is exactly what I want to see from ticklemykeys.com. I want to make ergomechanical boards that you can use and abuse. I want you to not be afraid to take them with you or to eat a nutrigrain bar in the same room (cough 2015 mac). And If something does go out, I want users to be able to repair it themsleves, key caps, switches, batteries, and microcontrollers should be replacible parts they can get at a good cost from the shop if they have paid for a board.
all lt keys to hl · WaylonWalker/zmk-config-42block@ce25356 Contribute to WaylonWalker/zmk-config-42block development by creating an account on GitHub. GitHub · github.com Today I swapped out all of my keys that are used dual purpose for letters and layers to homerow layers. This prevents goofy things happening when rolling, and prefers-tap makes it so that keys that are rolled over get hit as letters instead of as layers. This was one of my biggest hurdles jumping into zmk, lt as a homerow key just does not behave the same as the ht/hm behaviors with tap-preferred set. Seealso See previous commit where I added the hl https://github.com/WaylonWalker/zmk-config-42block/commit/9522c859cdf024a2c2b73931c130ddc907c09ffc
I like Infisical’s project infisical. ♾ Infisical is the open-source secret management platform: Sync secrets across your team/infrastructure, prevent secret leaks, and manage internal PKI
Tips for Being Happier, Healthier, More Productive by The GaryVee Audio Experience Today's podcast episode is an interview I did on the Happier with Gretchen Rubin Podcast with Gretchen Rubin and Elizabeth Craft. We discuss balancing ambition, tenacity, humility, and patience. I … Spotify for Creators · podcasters.spotify.com Deep breath, the deepest you can take in Smile, a real fukin smile not some pansy bullshit Say I’m not going to give a shit about this when I’m 90
Can't use System update - invalid signature when validating ASN.1 encoded signature · Issue #1316 · ublue-os/bazzite Describe the bug Hello, I installed the nvidia KDE version of bazzite just 2 days ago. Today I wanted to update to the most recent release, but unfortunately, I keep getting the following error: Pu... GitHub · github.com This fixed my bazzite update issues after the signing key was rotated recently. This team is killing it with such a great user experience.
Update Kconfig.shield rec by bravekarma · WaylonWalker/zmk-config-ninepad@8b76b76 zmk configuration for ninpad keyboard. Contribute to WaylonWalker/zmk-config-ninepad development by creating an account on GitHub. GitHub · github.com This one space killed my whole config and held me back from learning zmk.
DragonFruit The DragonFruit is a VIK certified monoblock split by Protieusz. kbd.news · kbd.news The trackball spinner looks sick here. I can imagine using that spinner like a scroll wheel.
NEC M-System The NEC M-System was a Japanese input method and a series of word processor keyboards introduced in 1983. Posted by wj-zhe. kbd.news · kbd.news They had split ergo boards back in 1983??? WTF who the heck keeps these row stagger boards going. This board looks like endgame material, If this thing was more normal, it’d kill a whole section of the ergo mechanical keyboard industry for good reason.
This keyboard layout looks weird af the mix of column staggar and row stagger is wild. Not sure if its genius or an abomination. That solenoid though is absolutely wild though, I kinda want one TBH. and the clear plate with the diodes laid out on it in a herringbone pattern is a very nice touch.
Close-up view of a barebones custom mechanical keyboard plate and PCB.A setup featuring an open laptop running Ubuntu next to a detached, custom mechanical keyboard.
External Link stackoverflow.com today I learned that there is an accessibility feature in chrome that allows you to place a text cursor anywhere on the page. I had accidentally done this and it drove me mad that it was there.
fish room fish bubbles ul d dl l dl ur ul jellyfish d l d l d l u r egg room bar dir given bar codes top r mid dr bot dl calculated bar codes num dir 1 r 2 dr 3 d 4 dl 5 l 6 ul 7 u 8 ur bar code direction num bar 1 top 2 mid 3 top mid 4 bot 5 top bot 6 mid bot 7 top mid bot 8 empty egg room decode 6 3 3 6 3 1 3 4 2 4 3 2 8 3 5 8 _ 3 5 7 5_ __ 5 2 5 6 3 1 3 3 1 3 6 4 4 6 4 2 4 6 8 6 4 8 7 3 7 6 5 7 6 __ egg room decode dir ul dd __ dd ul dd rr dd __ dl dr dl dd __ dr ur__ dd ll ur __ dd ll uu ll __ ____ ll dr ll ul dd rr dd __ dd rr dd ul dl __ dl ul dl dr dl ul ur ul dl ur uu __ dd uu ul __ ll uu ul ____
Hard to argue this take, happy to see that its at the top. With it being such an old language its amazing that it still holds this position, and not surprising that it has warts, and thing that have turn users off from wanting anything to do with it. timestamped in the link
Command Line Interface Guidelines An open-source guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day. clig.dev This is a pretty sick set of guidelines to help you write better cli programs, I’m definitely coming back to reading this one more in depth later.
Remove Background Web - a Hugging Face Space by Xenova In-browser background removal huggingface.co I’ve long been a user of remove.bg, and I just discovered that you can run this transformer right within your browser with no api limits.
FastHX - FastHX volfpeter.github.io Very interesting approach to htmx and fast api. It uses separate decorators for returning template partials and json that can be stacked to include both options on a single route. The templates are explicitly set in the decorator. Separate decorators are used for full page and partial pages. I don’t see an example of full and partial pages being combined. I think the demo app must be behaving in a spa like fashion where it does not get all of the data when it calls index and index will ask for user-list. Definitely going to keep my eye on this project and ponder on it.
FastHX - FastHX volfpeter.github.io Very interesting approach to htmx and fast api. It uses separate decorators for returning template partials and json that can be stacked to include both options on a single route. The templates are explicitly set in the decorator. Separate decorators are used for full page and partial pages. I don’t see an example of full and partial pages being combined. I think the demo app must be behaving in a spa like fashion where it does not get all of the data when it calls index and index will ask for user-list. Definitely going to keep my eye on this project and ponder on it.
Pinout and Schematic - nice!nano Pinout and schematic for the nice!nano nicekeyboards.com Pinout for nice!nano boards. Note that P0.15 means gpio port 0 pin 15, they can be referenced in zmk when setting column and row pins.
External Link unix.stackexchange.com today I learned that /dev/pts is a pseudo-tty. It amazes me how much linux is still built around things like hardware terminals.
GitHub - svenstaro/miniserve: 🌟 For when you really just want to serve some files over HTTP right now! 🌟 For when you really just want to serve some files over HTTP right now! - svenstaro/miniserve GitHub · github.com miniserve is a sweet http server, replacement for. It’s fast, runs off a small binary, but why would I want to use it over something that already exists on most machines, because it includes a bunch of features like qr codes, pretty themes, and uploads. I’ve used many times to transfer files from one machine to another in a pinch, like at a family members house. But what if they have an android, windows, or something not easy to get a python repl running on, you can run miniserve and upload from their device rather than hosting from their device.
pacman/Tips and tricks - ArchWiki wiki.archlinux.org The arch wiki is always full of good content, and pacman tips and tricks does not disappoint. Today I discovered this command to remove orphaned dependencies on my system.
Inside 22,734 Steam games About a year ago I blogged about games that use curl. In that post I listed a bunch of well-known titles I knew use curl and there was a list of 136 additional games giving credit to curl. Kind of... daniel.haxx.se · daniel.haxx.se Interesting to see that curl is used in so many places. I often think of things like games being so windows centric and curl being so linux centric I don’t even think of these things crossing paths as much as they do.
wcurl is here Users tell us that remembering what curl options to use when they just want to download the contents of a URL is hard. This is one often repeated reason why some users reach for wget instead of cur... daniel.haxx.se · daniel.haxx.se interesting, seems like such a simple way to completely remove the need of a whole other cli. No offense to anyone working on wget, but generally I use it out of lazyness or something wierd is happening and I am looking for a second opinion. Cool to know that wcurl exists and will start shipping with curl.
I’ve started leaning in on kubernetes kustomize to customize my manifests per
deployment per environment. Today I learned that it comes with a diff command.
kubectl diff -k k8s/overlays/local
You can enable color diffs by using an external diff provider like colordiff.
exportKUBECTL_EXTERNAL_DIFF="colordiff -N -u"
You might need to install colordiff if you don’t already have it.
Kubernetes ships with a feature called kustomize that allows you to customize your manifests in a declarative way. It's a bit like helm, but easier to use. I...
Animal well does not let you remap keys, and really doesn’t even inform you
that it is keyboard compatible. I had to play around and discover the keymap,
which can be a bit tricky on a 40% board. This is what I found.
I recently discovered pydantic-sqlite by Phil997, and it’s truly impressive. Simple package for storing pydantic BaseModels in an in-memory SQLite database.
Email Address Obfuscation Hide email addresses from bots while keeping them visible to visitors. Cloudflare Docs · developers.cloudflare.com I recently started seeing email-decode.min.js show up on my blog posts, and I wondered what the heck? I didn’t put it there. Turns out that cloudflare put it there from pages to safely serve email addresses for me. inspecting the page without js running we can see that the mailto email is swapped out for email protected. Neat feature. Looking deeper into this article it looks like this feature comes from Scrape Shield and enabling Email Address Obfuscation.
Background Tasks - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production fastapi.tiangolo.com fastapi comes with a concept of background tasks which are functions that can be ran in the background after a function has been ran. This is handy for longer running functions that may take some time and you want to have fast response times. Here is an example from the docs
Client Challenge pypi.org markdown it py running in rust claims to be 20x faster. I’ll definitely look into this if markdown it py is ever a bottleneck in my performance. At first glance it appears that plugins are written in rust not python, and there is no admonition plugin, so I’ll keep my eye on it for now, but I can’t use it.
DiskCache API Reference — DiskCache 5.6.1 documentation grantjenks.com diskcache has a peekitem method that allows you to lookup the expire_time of a cached item without changing it. I recently used this to implement debounce for fastapi background tasks with multiple workers running. since all the workers I care about are on the same machine, but running in different processes diskcache was a great option. All workers have access to the same disk, but not the same variables in memory.
I am using it for longer running tasks and I don’t want to give users the
ability to spam these long running tasks with many duplicates running at the
same time. And each fastapi worker will be running in a different process so I
cannot keep track of work in memory, I have to do it in a distributed fashion.
Since they are all running on the same machine with access to the same disk,
diskcache is a good choice
Here is how I used diskcache to debounce taking screenshots for a unique shot
every 60 seconds.
fromdiskcacheimportCachejobs_cache=Cache("jobs-cache")@shots_router.get("/shot/{shot_id}",responses={200:{"content":{"image/webp":{}}}})@shots_router.get("/shot/{shot_id}/",responses={200:{"content":{"image/webp":{}}}})asyncdefget_shot_by_id(background_tasks:BackgroundTasks,request:Request,shot_id:int,):shot=Shot.get(shot_id)# check if the shot exists and return it or continue to create it.is_running=jobs_cache.get(shot_id)ifis_running:expire_time=datetime.fromtimestamp(jobs_cache.peekitem(expire_time=True)[1])-datetime.now()console.print("[red]Already running store_shot: ",shot_id)console.print(f"[red]Can retry in {expire_time.seconds}s")else:jobs_cache.set(shot_id,True,60)background_tasks.add_task(store_shot,shot_id=shot_id,)
learn-pdm by pypeaday is a game-changer in its space. Excited to see how it evolves. A repository for learning and playing with the pdm package manager/system for python
kind {.hoverlink} is a very useful tool to quickly standup and teardown kubernetes clusters. I use it to run clusters locally. Generally they are short lived clusters for trying, testing, and learning about kubernetes. Kind is Kubernetes in Docker, its very fast to get a new cluster up and running. Other than checking a box in docker desktop it is the easiest way currently to get a cluster up and running. I’ve used docker desktop for k8s before I really developed on k8s and it was buggy at the time and sometimes started and sometimes didn’t, when it didnt I had no idea how to fix it. I’d suggest kind as the best option to get a cluster up and running locally. Not Production If you are looking for a production ready cluster this is not it. I really like k3s {.hoverlink}. At the time that I chose k3s it was the most lightweight option that easily supported multi-node clusters. Starting a kind cluster The first step, and maybe only one that you need is to create a cluster and give it a na…
Yesterday I realized that I have overlooked the default installation method of
the sealed secrets controller for kubernetes kubeseal this whole time an
jumped straight to the helm section. I spun up a quick kind cluster and
had it up quickly. I can’t say this is any better or worse than helm as I have
never needed to customize the install. According to the docs you can customize
it with [[ kustomize ]] or helm.
# option if you don't have a cluster try with kindkind create cluster
curl -L https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.27.0/controller.yaml > controller.yaml
kubectl apply -f controller.yaml
Alternatives A Pro Micro alternative for wireless keyboards. Contribute to joric/nrfmicro development by creating an account on GitHub. GitHub · github.com Huge list of micro controllers tried and used in keeb builds.
waylon walker (@_WaylonWalker) on X First bit of hand written gcode in 12 years let's go! X (formerly Twitter) · x.com Not gonna lie, kinda pumped about this one. I manually did one, jotted down the coordinates, opened the gcode in vim, added markers between setup/teardown and print. then added the wipe, the copy pasted the print+wipe section a bunch of times. My printer tends to run a bit better on single prints than printing a dozen at once as it has less issues with retract start and stop.
Damn, supply chain vector attacks are wild. Random guy in Primes stream was getting $40k offers to buy their open source project while in university and they have never made anything from it. What a social engineering attack this is. It would be so easy to make it look like a good deal and that the package was going to a good new owner who has real resources to maintain it.
Found: OverlayKey X Designed by @yfuku_, a keyboard to place on top of your laptop. Thomas Baart's Microblog · micro.thomasbaart.nl This is almost exactly what I have been thinking about building for quite awhile. I am going to give it a good try with a few $$ in filiment some cheap switches a microcontroller and go pretty bare bones, maybe open wiring on the bottom.
Queueing – An interactive study of queueing strategies In this blog, we go on an interactive journey to understand common queueing strategies for handling HTTP requests. encore.dev Absolutely sick post. This is top tier animated blog posts. This posts demos how different queuing systems work with fantastic interactive demos.
Supply chain attacks are so big these days engineers definitely need to take these into consideration. It’s wild that such a simple attack vector hit some really big applications. This particular vector is so easy to avoid. You are already hosting web content, just curl the file and self host the script, then you own it. That eliminates this attack vector all together, but doesn’t completely remove supply chain attacks, the js file can still hit external apis internally. What I see has happened in this case is that the owner of the domain polyfill.io changed. so anyone who directly linked to them got a malware injected script used. I can only imagine the number of applicatons that are not even being maintained anymore getting hit by this. TLDR, if you are taking something to production, where you are goind to deploy it and let it run, host the js yourself. these cdns are great for prototyping, but tread with caution.
- YouTube Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. youtube.com Well spoken prime. Co-pilot is a fantastic tool for templating, boilerplate, or just getting something done that is just outside your knowledge or care to know. Bit if you really want to learn something, you need to use your hands. Reading the solution only gives you the happy path. This does not give you that path that most people would take, and completely misses debugging. If you are very new and learning it’s unlikely that you can write large blocks of code without running a test or a script to try it. Taking these shortcuts will hinder your ability to do it yourself. If I were to devils advocate here, copilot is still not the greatest at the big picture, you still have to drive, and tell it I want to use python, fastapi, I want to load settings from.env. taking these shortcuts can help you move quick and get the big picture. This is especially helpful for someone who might know one language or framework and is trying a different one, but at some point you need to do the work and learn if you are going to be effective.
GitHub - dropbox/pyannotate: Auto-generate PEP-484 annotations Auto-generate PEP-484 annotations. Contribute to dropbox/pyannotate development by creating an account on GitHub. GitHub · github.com pyannotate is a tool that uses runtime types to suggest type annotations to use. Test runners such as pytest can be used to generate the types.
qmk_firmware/docs/features/programmable_button.md at master · qmk/qmk_firmware Open-source keyboard firmware for Atmel AVR and Arm USB families - qmk/qmk_firmware GitHub · github.com Interesting, linux supports 32 programmable buttons, special buttons that do nothing that hotkey programs like xbindkeys can pick up and run things, seems like it would be very intersting to use on a macro pad. You could easily do dynamic and complex tasks without clashing that keybinding with something else. I’m going to look into this for my next obs setup. No matter what I try to do with the hyper key it always tends to do odd things depending on the application I am in. typically its tmux, and it starts trying to do something I don’t want it to.
GitHub - tusharsadhwani/yen: The last Python environment manager you'll ever need. The last Python environment manager you'll ever need. - tusharsadhwani/yen GitHub · github.com Create virtual environments for any Python version, without needing Python installed.
Where DOESN’T curl run with curl BDFL Daniel Stenberg (Changelog & Friends #49) Daniel Stenberg shares his guiding principles for BDFL'ing curl, gives us his perspective on the state of the internet, talks financial independence, ensuring curl won't be the next XZ & more! Changelog · changelog.com Love how Daniel just brushed off the number of netflix tv installs as small beans for curl installs. overall great episode on open source, owning a major component to technology with such a small team.
I’ve long had issues with my qmk keyboard media keys on my arch install, I
always thought it was on the keyboard end. Today I learned that playerctl
fixes this.
paru -S playerctl
Once it is installed all of my media keys started working right away.
I played around with it a bit more and came up with a way to display the
current playing title in my notifictations.
External Link keyboard.university Great keyboard design guide for all the different mounting options that are normal for keyboards with pros and cons of each.
Welcome to RSS Club Congratulations on joining a secret society! If you’re reading this, that means my message has been transmitted successfully. This post is only available to you, Reader, through the ancient peer-... daverupert.com · daverupert.com Super cool idea, kinda breaking the rules by talking about it here, but Its a cool idea to throw out posts to the core audience. Apparently its been around for quite while Dave started in 2018.
GitHub - stackrox/kube-linter: KubeLinter is a static analysis tool that checks Kubernetes YAML files and Helm charts to ensure the applications represented in them adhere to best practices. KubeLinter is a static analysis tool that checks Kubernetes YAML files and Helm charts to ensure the applications represented in them adhere to best practices. - stackrox/kube-linter GitHub · github.com A linter for linting kubernetes manifests and help charts.
Keycodes Overview | QMK Firmware Documentation for QMK Firmware docs.qmk.fm Full reference to all of the qmk keycode list. Handy reference to refer to all of the keycodes that qmk has.
Just starred TinyLlama by jzhang38. It’s an exciting project with a lot to offer. The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.
Best practices for Docker in production You talkpython.fm Great listen for anyone interested in productionizing python code with docker. Itamar brings up some Don’t trust base images for security, upgrade your packages. Vulnerabilties become published and solved giving the bad guys istructions how to wreck your day and these fixes wont come to your docker application for up to two weeks due to image build tatency. For job based containers pre-compile your pyc for faster startup. Alpine linux is probably not what you want for python. Many packages such as postgres ship pre-copiled binaries that work for most linux distributions wich use glibc, but alpine uses musl so the binaries will be incompatable requiring you to need to install a bunch of build dependencies.
Homelabbers have been some of the best co-workers I have ever had. Typically have a get shit done, If there’s a way I will find it kind of mentality. If you are struggling to get a job in tech right now its tough. Starting a homelab on a pc you pull out of the trash is a good way to get some experience that you can talk about in interview questions. Linked video has some great points!
SVG backgrounds, icons, and other website graphics 👉 Copy-and-paste backgrounds, patterns, icons, and other website graphics directly into projects. All customizable, tiny in file size, and licensed for multi-use. SVG Backgrounds · svgbackgrounds.com svgbackgrounds is a really awesome resource for svg things recently featured on https://shoptalkshow.com/618/
GitHub - darrenburns/posting: The modern API client that lives in your terminal. The modern API client that lives in your terminal. - darrenburns/posting GitHub · github.com Currently Posting is a super early postman like tui (terminal user interface). It looks so good. Darren is really getting into a groove, and textual is getting to a place that is allowing him to really make these beautiful. I am so impressed with the progress that he has made so early, it looks so close to postman in the freaking terminal, and the ui is so good. He already has think like jump that give you a way to around the ui like easymotion plugins. Theres themes and a command line, oh man its so good. star it.
Check out sqlsync by orbitinghail. It’s a well-crafted project with great potential. SQLSync is a collaborative offline-first wrapper around SQLite. It is designed to synchronize web application state between users, devices, and the edge.
Blogmarks that use markdown I needed to attach a correction to an older blogmark (my 20-year old name for short-form links with commentary on my blog) today - but the commentary field has always … Simon Willison’s Weblog · simonwillison.net Oh I kinda like the name blogmark, as opposed to thoughts like I have chose for the same thing. Aparantly Simon beat me to the punch by 20 years on this one.
A Link Blog in the Year 2024 Kellan Elliott-McCrea has started a new link blog: Like many people I’ve been dealing with the collapses of the various systems I relied on for information over the previous decades. … Simon Willison’s Weblog · simonwillison.net THIS! is the same reasons that I built thoughts {.hoverlink}. Simon has bee a big inspiration along the way. He defintely changed the format of my posts as I watched him build out his quote posts. Link blogging is a pleasantly low-pressure way of writing online. Found something interesting? Post a link to it, with a sentence or two about why it’s worth checking out. Ditto! just make a post.
A Link Blog in the Year 2024 My big fantasy for what I’d do with a little free time is start a link blog. This is probably a sad commentary on a half dozen things simultaneously. - kellan, May 08, 2024 Kellan Elliott-McCrea: Blog · laughingmeme.org Kellan brings some interesting thoughts on where the internet is headed in 2024. Interestingly I see myself headed in a similar direction. Feeling like I know just enough to say fuck it and build my own platform for me to me me, from thoughts {.hoverlink} where I link and make thoughts on posts like this, to reader {.hoverlink} which is my rss reader replacement that I wanted in 2013 when it was killedbygoogle And particular with the collapse of the social spaces many of us grew up with, I feel called back to earlier forms of the Internet, like blogs, and in particular, starting a link blog. Ai has really had quite the two sided effect since chatgpt launched and set the world ablaze. Suddenly you can get any answer you want as a custom fit blog post for free without effort, thus killing the traffic to any of these sites.
How to Configure DNS over TLS (DoT) Using Unbound DNS in OPNsense Going beyond the basics of home networking homenetworkguy.com Setting up DNS overTLS in opnsense has made my dns just a bit more secure and reliable. I recently had an outage of half the internet within my house. This also hit some of my friends and not some. It did not hit my mobile network. What seems to have happened is a dns issue with my isp not resolving some domains. This setup corrected my issue and I was back online more securely. Note I did try to setup the family resolver and found it was blocking some sites I am ok with. I decided to drop back to the vanilla resolver and let other services within opnsense control blocking where I can caontrol the whitelist myself.
GitHub - argoproj/argo-events: Event-driven Automation Framework for Kubernetes Event-driven Automation Framework for Kubernetes. Contribute to argoproj/argo-events development by creating an account on GitHub. GitHub · github.com Argo events is an event driven automation framework for kubernetes that can create kubernetes objects among other things based on events. I’ve been using native kubernetes cronjobs to kick off jobs based on a cron trigger. For instance I am running reader.waylonwalker.com every hour, to rebuild the site and re-deploy it. It takes about two minutes to fetch every rss feed, so this is a nice application of a job compared to a web server fetching the feeds live. Now my posts may be up to an hour stale but they load fast. Argo events takes event drien architecture to the next level allowing to be triggered by many more things, and do many more things than creating a cron job. I’m definitely thinking about dropping this in my homelab.
2024 has been a learning fueled year, Diving deep into things I never would have previously thought I would. It’s been a bit of a mix of the 🔥hot twitter trends, and exactly what tech twitter tells you not to do. It just goes to show community is great, the tech community is filled with strong opinions, but you need to think about what really makes sense for you, your career and your customers (or lack there of). tech k8s tailwind fastapi htmx jinja opnsense successful one day builds play-outside reader thoughts thoughts chrome-extension Kubernetes Damn did I sleep on k8s for way took long. This is like exactly what I’ve needed for a lot of things. It’s a perect example of what happens when you listen to the tech community tell you. Looking for a Heroku replacement, What I found was shocking! I started looking for something to make my homelab deployments easier at home. Previously I needed to ssh into my server and fuss around with docker compose. This just did not feel right for me to…
Today I am playing around with tailwind, flexing the css muscle and learning
how to build new and different layouts with it.
I created a new post template that mimics a terminal look in css where I could
inject the post title, description, and other frontmatter elements.
GitHub - catppuccin/ulauncher: 🇺 Soothing pastel theme for Ulauncher 🇺 Soothing pastel theme for Ulauncher. Contribute to catppuccin/ulauncher development by creating an account on GitHub. GitHub · github.com I am using this theme for Ulauncher in arch and it looks fantastic! One line install (read it first).
Ulauncher — Application launcher for Linux 🐧 Download Ulauncher for Linux, discover extensions and videos, and support the project. ulauncher.io Just discovered this really cool launcher from the DHH distro omakub. github.com/omakub {.hoverlink}. Ulauncher comes out of the box looking good, supports extensions, and shortcuts like I have a lot of mac launchers have. I installed it plus a theme and in no time It was looking good and launching applications. In the past I have leaned in on rofi for task launching, it is good. I just felt it was harder to configure to get right or look good.
Steam Deck dock A Crkbd laptop dock by a8ksh4 designed for his Steam Deck. kbd.news · kbd.news This is a sick steam deck dock! With a corne built in laptop style.
GitHub - omacom/omakub: Retired — the story lives at https://omarchy.org/omakub, the thread continues at https://omabuntu.omakasui.org Retired — the story lives at https://omarchy.org/omakub, the thread continues at https://omabuntu.omakasui.org - omacom/omakub GitHub · github.com This is DHH’s linux startup script. Call it a distro if you want, but he doesn’t. It’s made to take a vanilla ubuntu install and configure everything the way he likes it. There’s a number of great nuggets in here to pick up on. No need to write bespoke configs for every essential tool just to get started or to be up on all the latest command-line tools. Omakub is an opinionated take on what Linux can be at its best. Check it out and give it a ⭐ basecamp/omakub {.hoverlink}.
From the circle to epicycles | Personal Site of Andrei N. Ciobanu This article will be part of an extensive series in which I plan to explore various aspects of Fourier Mathematics. I will take notes, create some visuals (a good pretext to learn more about graphi... andreinc.net This is a really cool animated visual representation of how sine waves work, how they relate to circles, pi, rad, and how to add up a series of waves to make square and sawtooth waves.
How to Force Dark Mode on Every Website in Google Chrome Do you like dark mode? Chrome now lets you forcibly enable it for every site on the web. No more blindingly bright websites. How-To Geek · howtogeek.com Sometimes I struggle to get my os to report dark mode to chrome, luckily there is a way to force chrome to always use dark mode. I’ve never really gotten into dark reader and extensions like this. For some reason they all make websites look really weird to me and I don’t really care for it. What I want is websites designed to be in dark/light to always go dark, if the designer didn’t design dark just let it be light.
xxHash — extremely fast hash algorithm xxHash is an extremely fast non-cryptographic hash algorithm, working at RAM speed limit. Four stable variants: XXH32, XXH64, XXH3-64 and XXH3-128. xxhash.com xxHash is an extremely fast non-cryptographic hash algorithm, working at RAM speed limit. It is proposed in four flavors (XXH32, XXH64, XXH3_64bits and XXH3_128bits). The latest variant, XXH3, offers improved performance across the board, especially on small data.
xxhash Python binding for xxHash PyPI · pypi.org I hit an issue with markata where even though a bunch of articles were cached, the site build was still slow because I was hitting hashlib.sha256 so hard for cache keys. I was shocked when this popped up in my profiler as a significant portion of the time spent. I swapped out for xxhash and that issue completely went away.
Tailscale allows you to ssh into all of your tailscale machines, it busts
through firewalls and accross networks without complex setup. If you have used
tailscale before this is an obvious no brainer. What is not obvious is that
you can configure tailscale to allow ssh connections from devices within your
tailnet without even a ssh daemon process running right through the tailscale
daemon.
tailscale status
tailscale set --ssh
I picked this up from the tailscale youtube channel.
I just implemented a latest blog post link in Markata by asking for the first
post slug from the blog feed. The implementation uses the jinja_md plugin to
render jinja against the markdown and a tag to redirect.
My latest blog post is [[ {{ markata.feeds.blog.posts[0].slug }} ]]. Click the
link if you are not automatically redirected.
<meta http-equiv="Refresh" content="0; url='/{{ markata.feeds.blog.posts[0].slug }}'" />
Feeds are setup in markata.toml configuration. They provide a handy way to
create an html feed, rss feed, and quickly reference a filtered set of posts
like this.
# you will need to enable the jinja_md plugin along with the defaults[markata]hooks=["markata.plugins.jinja_md","default",]# set up the blog feed[[markata.feeds]]slug='blog'template="feed.html"filter="date<=today and templateKey in ['blog-post'] and published"sort="date"reverse=true
For more information on markata check out the full markata post.
Replicate - Run AI with an API Run open-source machine learning models with a cloud API replicate.com This is so easy compared to self hosting stable diffusion yourself. It even has a nice api that you can hit with curl or python. The pricing seems competitive as well. Bookmarking this to try next time I need something like it.
How to Deliver Code Every Day I recently calculated that I merge 0.8 pull requests every day into my team repo. Let’s round up and say I merge about one PR every day, delivering one or more features to production. I like this... Jake Worth · jakeworth.com Great set of tips here! No waiting. No “waiting until tomorrow” or “It’s Friday, let’s wait until Monday” to deploy. If your deploys are so slow that deploying an hour before the end of the day is a risk, that’s a separate problem. If you’re afraid of a Friday deploy, your system is too brittle, or you don’t have foolproof rollback procedures, or you don’t have people you trust on call to resolve it. Each of these is a problem that you can fix. This one I find interesting I think there are some industries where customers come in large waves over the weekend, and a weekend bug can not only ruin someones day off, take longer to fix, but also cost a lot of money. Not deploying on Friday is totally what that team should be doing. Most of us are not that team. Most of us work on small teams supporting some sort of product that Should be able to be tested and rolled back. I completely agree with Jake here, if your not willing to deploy…
You Have to Get Fast to Get Good at Programming Great programmers aren’t fast because they’re great. They’re great because they’re fast. I’ve sunk a lot of time into being fast at Vim. I’ve used it as my text editor for eight years,... Jake Worth · jakeworth.com Be Fast, Practice, Hone your craft. There’s a lot to be said here about honing your craft for editing text, picking up a few extra WPM, learning vim shortcuts. Also just build shit. The more you build new and different things the more not only your text editing will just roll out, your skills to see patterns in code and architecture will flourish. Read their bios, and the answer is always no. They loved to play, sure. They had some base talent, typically. But they also invested an absurd amount of time into that skill set. This! is actually what turned me on to Post Malone. I remember hearing his story in how he was just known as the guy with a guitar because he was always playing it between class and everything.
Previously I had setup a feature of my website to expand one line links into a card. This was not a standard, even to the point that some formatters wrap the links with, thus breaking my custom plugin. Moving to the wikilink standard will allow my markdown posts to work accross more site builders without custom integrations. Expand One Line Links What is a wikilink Wikilinks are standard to a lot of wikis written in markdown. markdown-it-wikilinks The wikilink syntax is a slug wrapped in double square brackets. Marksman lsp will even autocomplete these for you, its pretty sweet. Note I recently implemented hover for wikilinks and and am pretty stoked about the result. Check this one out sick wikilink hover. Vim Quickfix You could use to fill your quickfix list will all of the one line links but I am less familiar with vimgrep and kept missing posts for some reason, I think it was something in my file glob missing some directories. I chose to use to fill my quickfix list using a command…
I registered waylonwalker.com and started making content for it in 2017 after a big industry downturn in 2016 that left me scared for what would happen if I were laid off. The company I was working for at the time did it’s first major downsizing in history sending many really good engineers out to look for new opportunities in a world flooded with many in the same situation. This was very similar to what happened to the tech industry in 2024. This was very similar to what happened to the tech industry in 2024. See Waylon Walker for more about me. What is this site? It’s a blog Digital Garden Learn in public TIL portfolio my personal corner of the internet It’s [NOT]{.text-red-500.text-6xl.font-bold} Perfect There will be mistakes I will learn Grammar will be fine, but never perfect Code will run on my machine, but not guaranteed to be perfect There will be days when the whole site is broken It started as a blog This site started out as a [big B] It’s a digital garden Somewhere along th…
Just starred eol-dr by pypeaday. It’s an exciting project with a lot to offer. A crowd-sourced guide to help techs help their non-tech spouses / partners / parents / kids when we are at the end-of-life
Zellij (@Zellij_dev) on X POV your sysadmin rigged your terminal to show this when you ssh into production X (formerly Twitter) · x.com This one is too funny. opening a sixel image in the terminal when logging into prod.
text-decoration-line - Typography Utilities for controlling the decoration of text. tailwindcss.com Tailwind calls strikethrough line-through. This caught me off guard and took me a minute to find. Control how text is decorated with the underline, no-underline, and line-through utilities.
Today I set up some sick wikilink hover effects using tailwind see A Case For Tailwindcss. When you hover over them they show an image preview of the link that you are going to. I cant find where I have seen this but it comes from some docs sites. I’ll finish this article later, just excited to see it up.
Digital Gardening for Non-Technical Folks How to build a digital garden without touching code maggieappleton.com Maggie is a fantastic proponent to the digital gardening movement. In this article she proposes 3 ways for someone to start their own digital garden with low friction and no code.
We have a right to repair! with Kyle Wiens, Founder and CEO at iFixit (Changelog Interviews #582) This week Adam went solo — talking to Kyle Wiens, Founder and CEO at iFixit, about all things Right to Repair. They discussed the latest win here in the US with Oregon passing an electronics Righ... Changelog · changelog.com This is one of my favorite changelog episodes of all time. I had no idea all the work that has gone into the right to repair and ifixit. They talk a lot about apple and its trend to be less repairable from unservicable air pods to serialized components within iphone. A lot of legal talk that was far more interesting that I thought it would be. Recently winning the right to repair case against John Deere, and creating repairability scores for devices to be placed in stores like energy guide is.
This post is a work in progress. Markata is the static site generator that I created to build my website about this site. I built it for me and I enjoy using it. I know everying it can do and I can extend it to do more easily. I have set it up for some friends to also use it and am proud that it helps them publish their content. It’s a meme to create your own static site generator to make your website. Yes its funny, I don’t recommend it if your not ready for the level of work that comes with it, but at the end of the day it’s very rewarding and a great way to learn. Static Sites were all the rage JAMStack was 🔥 Gatsby and Next.js hit the scene as the next generation of static site builders and were getting big around the time I started building my site in 2017. They were based on react. I dove into react and learned it enough to build my website, but I really lacked the depth of knowledge in the js ecosystem to really work on it effectively. For instance when it got slow, it was hard…
My linked in work history is empty. I made up a position about content developer that tracks how long I’ve been blogging. I think i did this because LinkedIn requires it. Either way this is public knowledge and fine sharing. Social Engineering If you have taken any security class for your job seriously you have already been told not to share your work with most companies to the public, this is private information that only opens you up for social engineering attacks against that company. I care about privacy and security I care about the security of these companies I work for and their reputation, so I refuse to publically share it. Need to know If somehow you need to know where I work it’s my choice to tell you. I don’t need to advertise to every social engineering hacker where I work on the platform that they go to get that information from.
Your linkedin link sits at the top of your resume, its one of the first things I see when I open your resume, but yet it gives me no more information that the damn resume you sent me. Save that space on your resume for something useful. So you want that /in/me on your resume Fine if you want it on your resume make it actually useful for someone reading your resume. Actually post something If I am reading resume’s and I actually take the time to look at your linkedin I want to see you post something. Take a side, make an opinion and post it. Learn something new, make a post about it. If you have a blog and you make a good post share it there. Your work history belongs on your resume Any security 101 tells you that you should not share your work history on linked in. You should not share photos of you at your workplace that include sensitive information such as your badge. Your work history on LinkedIn is for hackers to steal and use for social engineering. If you took security seriously…
Try Out the Latest Linux Gnome DE With DistroBox Discover a step-by-step guide to installing and experiencing the latest Linux Gnome desktop environment with DistroBox. Linux TLDR · linuxtldr.com Get gnome running in distrobox.
STLGears.com Design, learn, and model all kinds of gears stlgears.com This is a pretty nice gear generator. I printed a few gears today and it worked great so far.
GitHub - eraser-dev/eraser: 🧹 Cleaning up images from Kubernetes nodes 🧹 Cleaning up images from Kubernetes nodes. Contribute to eraser-dev/eraser development by creating an account on GitHub. GitHub · github.com This is kinda sick, its a tool to clean up container images in a k8s cluster.
Distrobox Use any linux distribution inside your terminal. distrobox.it distrobox gives you to run commands on the host. This is handy to get access to host level clis that you probably wouldn’t want to run from the container like,,. DESCRIPTION distrobox-host-exec lets one execute command on the host, while inside of a container. Under the hood, distrobox-host-exec uses host-spawn a project that lets us execute commands back on the host. If the tool is not found the user will be prompted to install it.
Are We Anti-Cheat Yet? areweanticheatyet.com A comprehensive community built index of anti-cheat support for linux very similar to proton, but specific to anticheat support.
GitHub - ublue-os/image-template: Build your own custom Universal Blue Image! Build your own custom Universal Blue Image! Contribute to ublue-os/image-template development by creating an account on GitHub. GitHub · github.com ublue-os makes a github template for making your own git repo with actions that build out your own personal ublue iso.
GitHub - ublue-os/obs-studio-portable: OCI container image of OBS Studio that bundles a curated collection of 3rd party plugins OCI container image of OBS Studio that bundles a curated collection of 3rd party plugins - ublue-os/obs-studio-portable GitHub · github.com Distrobox is so interesting and cool, I’ve only recently started realizing how much it can do especially related to hardware and graphics, this is quite an example that runs obs in a distrobox. I had no idea distrobox would let you connect to cameras and gpus so seemlessly, and give you a gui to work from. And with distrobox you can export so that it just looks like an app on your system.
andydunstall has done a fantastic job with piko. Highly recommend taking a look. An open-source alternative to Ngrok, designed to serve production traffic and be simple to host (particularly on Kubernetes)
External Link tech.ahrefs.com 2024 has been a wild year for infra with going “back” to on prem being made popular by @dhh. Well it looks like ahrefs saw right through the cloud trends an decided to ride the anti cloud train until it came back around to the station. Being just a bit critical of the article it is impossible to get an apples to apples without actually running something of this scale and spending too much to find out. I cant imagine raw ec2 and ebs being the cheapest route into aws. They used no serverless tech in their article, but I digress, because I like this own your shit and build good product train. What about People?! This follow up does dive into the typical gut reaction that people cost a lot of money, you must account for them. You see when you hire people who are actually good at what they do, and run lean a lot of cost goes away, you have levels of management that disappear, levels of tooling that don’t need to exist, departments of IT don’t need to exist. Colo’s are the new hotness, and will continue to grow! I just notices that they didn’t even account for egress, support and taxes, egress costs would make a difference.
Safer Bash Shebang Recipes - Just Programmer's Manual just.systems When using justfiles each line is ran separately from the last, unless you specify the file to be ran by something other than just such as bash. If you want variables to persist you need to set a shebang. Also if you are using your script i a way that you want it to exit when it fails you need to set -e and -o pipefail. This is critical if you are thinking about using just for production scripts like ci/cd. I’ve hit too bugs where ci passes, but no artifacts were created issues for this exact reason.
Justfile Cheat Sheet Just is a command runner https://github.com/casey/just Cheatography · cheatography.com This is a dope ass cheat sheet for justfiles. It’s filled with good examples that are short and to the point, probably all from the docs, but anyways I need to do some like this for myself.
A quote from Tim Paul I’m no developer, but I got the AI part working in about an hour. What took longer was the other stuff: identifying the problem, designing and building the UI, setting … Simon Willison’s Weblog · simonwillison.net Damn this Tim Paul quote finishes hard and such a good point. None of the stuff around llms just work. Good ui’s, front end, back end, infrastructure, product. All these things still need to exist, and in fact for ai to be good we need to still go hard on them otherwise everything will die in a heaping pile of ai slop I’m no developer, but I got the AI part working in about an hour. What took longer was the other stuff: identifying the problem, designing and building the UI, setting up the templating, routes and data architecture. It reminded me that, in order to capitalise on the potential of AI technologies, we need to really invest in the other stuff too, especially data infrastructure. It would be ironic, and a huge shame, if AI hype sucked all the investment out of those things. — Tim Paul
PopSQL - Collaborative SQL Editor - Bring Order to SQL Chaos PopSQL is a unified SQL collaboration workspace that connects everyone in the data analysis process so you can obtain better insights by asking the right questions, together. PopSQL · popsql.com PopSql looks like a very innovative product to bring collaboration to data exploration and visualization in a way you would expect from something like vscode liveshare. This looks far more appealing than a traditional BI data tool.
Pricing | PopSQL PopSQL is a unified SQL collaboration workspace that connects everyone in the data analysis process so you can obtain better insights by asking the right questions, together. PopSQL · popsql.com interesting pricing model from popsql (pronounces Popsicle). At a glance you pay for data retention, want the abiltiy to recall all the queries you ran within the last year, run at a higher frequency, you jump a pricing tier.
such a sick episode with dax. SST’s free tier will be free as long as aws allows a free tier, their free tier literally costs them nothing. They talked about keeping SST small, the limitations that brings, but also the number of problems that just go away when you only have 3 people building. Lots of process disappears, everyone can trust everyone, no one needs to wait for approval, everyone is their own PM and just builds cool shit. They don’t have to worry about big costs and making payroll because they are profitable so much higher than their costs. If they can get through phase one of just being the go platform for a very specific audience of users, and gain marketshare, the ideas of offerings on top of this are endless.
I had no idea that you could just drop an msi installer right in steam. This worked for me, and was much easier to install pokemon tcg live in 05-2024 on ubuntu 22-04. I added the msi to steam from my downloads, hit start, failed right away like he said it would. changed compatability to proton experimental, and it opened right up. Download the official installer from pokemon tcg Add non steam game click show all file types navigate to downloaded msi click gear icon > compatability > proton experimental click play profit
Fields Pydantic Docs · docs.pydantic.dev and is a good pydantic combination for secret attributes such as user passwords, or hashed passwords. exclude keeps it out of model_dumps, and repr keeps it out of the logs.
just has been by go to tool for saving
commands in a way that I can replay them and have team members replay them
without relying on the shell history of any given machine. This is my go to
default step, it lets you pick a just command to run with a fuzzy picker.
Hatch v1.10.0 - Hatch hatch.pypa.io Hatch be flyin. This new release of hatch includes support for the new package installer which is just mind blowing fast compared to anything else we have in python right now. The other features are cool too, check them out. I’ll probably be using the test runner, but I’ve been waiting for the uv support since uv launched.
External Link loggly.com I had a boot issue on my sons fresh ubuntu 24.04 install and journalctl came in clutch. -p 3 gives me priority 3 -x gives me extra catalog information when available -b gives me the current boot.
Bug #2006590 “gdm3 crashes with SIGTRAP on startup”: Bugs: gdm3 package: Ubuntu Suddenly this week, my GUI (ubuntu 22.10) does not open, stuck on the console text. I tried to free some space (by uninstall a app), then to check/update the paquets (dkpg). ProblemType: Bug Distr… Launchpad · bugs.launchpad.net This Thread saved my son’s ubuntu 24.04 install. His was failing to start with the following error. https://twitter.com/_WaylonWalker/status/1785825677079441482
GitHub - Alir3z4/html2text: Convert HTML to Markdown-formatted text. Convert HTML to Markdown-formatted text. Contribute to Alir3z4/html2text development by creating an account on GitHub. GitHub · github.com Super neat tool to convert html to markdown It even plays nicely with rich.
Fantastic interview with Uncle Bob, really it was more of a 2 way conversation. So many of Uncle Bob’s takes have been taken out of context, its cool to hear some of the well actuallys, and the experience behind some of the reasoning.
External Link medium.com Imagine waking up to a $1,300 for running an example project! That sounds like peanuts for a cloud bill but for an individual trying to learn that hits my monthly budget real hard. That’s what happened to Marciej, make sure you check out the full article and give them a 👏 on Medium if you have an account. The more I see things come out about aws, the more it makes me sick, and confirm my feelings that I cannot possibly use them for a side project without some real $$ planning to come out of it. Yes, S3 charges for unauthorized requests (4xx) as well[1]. That’s expected behavior. They offer no DDOS protection against 4xx or 5xx requests against your bucket. Absolutely bonkers that you have ZERO control over this. This response just feels absolutely gross. I notified the AWS security team. I suggested that they restrict the unfortunate S3 bucket name to protect their customers from unexpected charges, and to protect the impacted companies from data leaks. But they were unwilling to address misconfigurations of third-party products. It sounds like this guy followed some default instructions for an example site, HOW MANY OTHERS have done this or will do this? A…
#pydantic.networks.EmailStr" class="embed-card-link" target="_blank" rel="noopener noreferrer"> Network Types Pydantic Docs · docs.pydantic.dev pydantic has a nice built in email validator It requires an optional pydantic dependency Then you can validate email addresses.
rich.panel — Rich 14.1.0 documentation rich.readthedocs.io This is my go to rich response container for clis written in python. It creates a nice box around the content on the screen and provides some nice separation in the output. It can be overdone, but comes in clutch when looking for that print statement in a long output.
Handling Errors - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production fastapi.tiangolo.com This page shows how to customize your fastapi errors. I found this very useful to setup common templates so that I can return the same 404’s both programatically and by default, so it all looks the same to the end user. This post sat in draft for months. I stumbled upon it again and found great success returning good error messages based on user preferences. the default remains json, but if a user requests it will be an html response, and text for or
Creating SSH Apps with Charm Wish and Laravel Prompts Building PHP CLI apps with Laravel Prompts is easy, but how can we share them? Charm to the rescue! Charm Wish is an easy-to-use SSH server that allows users to securely log into your server and us... Joe Tannenbaum · blog.joe.codes Joe has a sick cli.labs site for deploying tui applications.
white-space CSS property - CSS | MDN The white-space CSS shorthand property sets how white space inside an element is handled. MDN Web Docs · developer.mozilla.org html can preserve newline characters by styling an element with pre-wrap Sequences of white space are preserved. Lines are broken at newline characters, at, and as necessary to fill line boxes.
</> htmx ~ The htmx Response Targets Extension Extension htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypert... htmx.org The htmx response-targets extension allows me to respond to errors from the backend and do normal htmx swaps. Note Load the extension in head Use the extension on an endpoint that might return a 400.
How to Restart All Pods in a Kubernetes Namespace | Boot.dev Where I work, we use a repo-per-namespace setup and so it often happens that I want to restart all pods and deployments in a single Kubernetes namespace. Maybe I want to see the startup logs, or ma... Boot.dev · blog.boot.dev As of kubernetes 1.15 there is an easy way to restart all pods in a deployment. Thanks Lane give him a follow @wagslane
TIL how to display the list of nfs mounts on your network.
showmount -e
You can even look for mounts of other machines on your network.
showmount -e <hostname>
To allow access only to the , you can pass add the Resource field to
the User Policy when you create a new token.
You can inspect sqlite tables with the sqlite shell.
note that you get into the shell with sqlite3 database.db
.tables
I also learned that .tables, .index and .schema are helper functions that
query the sqlite_master table on the main database.
Here is an output from my redka database. The sqlite_master table contains all
the sqlite objects type, name, tbl_name, rootpage, and sql to create them.
❯ sqlite3 database.db "SELECT * from sqlite_master;"table|rkey|rkey|2|CREATE TABLE rkey ( id integer primary key,
key text not null,
type integer not null,
version integer not null,
etime integer,
mtime integer not null
)index|rkey_key_idx|rkey|3|CREATE UNIQUE INDEX rkey_key_idx on rkey (key)index|rkey_etime_idx|rkey|4|CREATE INDEX rkey_etime_idx on rkey (etime)where etime is not null
trigger|rkey_on_type_update|rkey|0|CREATE TRIGGER rkey_on_type_update
before update of type on rkey
for each row
when old.type is not new.type
begin
select raise(abort, 'key type mismatch');end
table|rstring|rstring|5|CREATE TABLE rstring ( key_id integer not null,
value blob not null,
foreign key (key_id) references rkey (id) on delete cascade
)index|rstring_pk_idx|rstring|6|CREATE UNIQUE INDEX rstring_pk_idx on rstring (key_id)view|vstring|vstring|0|CREATE VIEW vstring as
select rkey.id as key_id, rkey.key, rstring.value,
datetime(etime/1000, 'unixepoch') as etime,
datetime(mtime/1000, 'unixepoch') as mtime
from rkey join rstring on rkey.id = rstring.key_id
where rkey.type =1 and (rkey.etime is null or rkey.etime > unixepoch('subsec'))table|rhash|rhash|7|CREATE TABLE rhash ( key_id integer not null,
field text not null,
value blob not null,
foreign key (key_id) references rkey (id) on delete cascade
)index|rhash_pk_idx|rhash|8|CREATE UNIQUE INDEX rhash_pk_idx on rhash (key_id, field)index|rhash_key_id_idx|rhash|9|CREATE INDEX rhash_key_id_idx on rhash (key_id)view|vhash|vhash|0|CREATE VIEW vhash as
select rkey.id as key_id, rkey.key, rhash.field, rhash.value,
datetime(etime/1000, 'unixepoch') as etime,
datetime(mtime/1000, 'unixepoch') as mtime
from rkey join rhash on rkey.id = rhash.key_id
where rkey.type =4 and (rkey.etime is null or rkey.etime > unixepoch('subsec'))
With the liscense changes to redis there are several new forks out there. One
that I am particularly interested in is
redka.
We now have redis running on port 6379 that we can connect to with a redis
client. And we have a sqlite database that we can inspect.
❯ sqlite3 database.db "SELECT name FROM sqlite_master;"rkey
rkey_key_idx
rkey_etime_idx
rkey_on_type_update
rstring
rstring_pk_idx
vstring
rhash
rhash_pk_idx
rhash_key_id_idx
vhash
We can look at the values in the vstring table.
sqlite3 database.db "SELECT * from vstring;"1|hi|hello there you||2024-04-17 01:46:26
The main system that I am concerned about is my arch BTW machine. I found a
great article
from the official archlinux site covering it.
For my machine I am concerned with this line.
The xz packages prior to version 5.6.1-2 (specifically 5.6.0-1 and 5.6.1-1)
contain this backdoor.
I checked my xz package with AUR." data-hover-title="Paru">paru, and I am good.
paru -Qii zx
AUR." data-hover-title="Paru">paru has some nice features that I rarely use, and hav to look up when I need
them. Here are two commands to help with dependency management.
❯ paru -Qii nodejs
Name : nodejs
Version : 21.7.2-1
Description : Evented I/O for V8 javascript
Architecture : x86_64
URL : https://nodejs.org/
Licenses : MIT
Groups : None
Provides : None
Depends On : icu libuv libnghttp2 libnghttp3 libngtcp2 openssl zlib brotli c-ares
Optional Deps : npm: nodejs package manager [installed]Required By : node-gyp nodejs-nopt npm semver
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 46.86 MiB
Packager : Felix Yan <[email protected]>
Build Date : Thu 04 Apr 2024 05:11:09 AM CDT
Install Date : Mon 15 Apr 2024 07:27:02 AM CDT
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
Backup Files : None
Extended Data : pkgtype=pkg
You can check all the packages depended on by nodejs by running the following.
This is everything from all of the repos you have configured, not what you have
installed.
Changelog Master Feed Your one-stop shop for all Changelog podcasts. Changelog · changelog.com Jerod (It’s ya boi) and Adam are my favorite tech news nerds, and have the sickest podcasts in tech. Yes plural podcasts they run seven podcasts maybe more. If you want it short and sweet they got the best 15 minutes of tech news each week this is it. My favorite is Ship it, sad to see Gerhard go, but Justin and Autumn are crushing it. Every episode is highly polished and surrounded by the sickest beats in podcasting. Subscribe to one pod if you want, but I recommend collecting them all with the master feed. ⭐⭐⭐⭐⭐
MarkdownDown Convert any webpage to a clean markdown w/ images downloaded. MarkdownDown · markdowndown.vercel.app Small web app to convert html into markdown. Pretty cool idea. I actually want to look into this for reader and see how well it would work. Right now I am just pulling descriptions, but maybe I can pull full web pages, and keep the full intent of the first 200 words or so in the cards.
Boston Dynamics’ new humanoid moves like no robot you’ve ever seen All-electric, 360° joints give the new Atlas plenty of inhuman movements. Ars Technica · arstechnica.com Award for the creepiest way to stand up a robot from lying flat.
Rug pull, not cool! (Changelog & Friends #40) If Changelog News had an extended edition, this might be it! Jerod & Adam discuss Hashicorp's Cease and Desist letter, Redis getting forked, Boston Dymanics' scary cool new robot, Justin Searls' ex... Changelog · changelog.com Five star episode with Jarod and Adam shootin the crap. The massive Cease and Desist Sucks that the guest had to back out, what a wild world 2024 is. Filled with license and pricing changes. From Vim to Zed Interesting to hear the journey into zed, way to go Thorston diving all the way into working at zed. Boston Dynamics’ new Atlas I later saw this through a YT short, and man does it hold up to the creepy level that they described. MarkdownDown This is a legit cool service, that converts html into markdown
I recently had to update my copier-gallery command to trust my own templates
because some of them have shell scripts that run afterwards. Be warned that
this could be a dangerous feature to run on random templates you get off the
internet, but these are all mine, so if I wreck it its my own fault.
copier copy --trust <template> <destination>
All the the copier copy api can be found with help.
❯ copier copy --help
copier copy 8.3.0
Copy from a template source to a destination.
Usage:
copier copy [SWITCHES] template_src destination_path
Hidden-switches:
-h, --help Prints this help message and quits
--help-all Prints help messages of all sub-commands and quits
-v, --version Prints the program's version and quits
Switches:
-C, --no-cleanup On error, do not delete destination if it was
created by Copier.
--UNSAFE, --trust Allow templates with unsafe features (Jinja
extensions, migrations, tasks) -a, --answers-file VALUE:str Update using this path (relative to
`destination_path`) to find the answers file
-d, --data VARIABLE=VALUE:str Make VARIABLE available as VALUE when rendering the
template; may be given multiple times -f, --force Same as `--defaults --overwrite`.
-g, --prereleases Use prereleases to compare template VCS tags.
-l, --defaults Use default answers to questions, which might be
null if not specified.
-n, --pretend Run but do not make any changes
-q, --quiet Suppress status output
-r, --vcs-ref VALUE:str Git reference to checkout in `template_src`. If you
do not specify it, it will try to checkout the
latest git tag, as sorted using the PEP 440 algorithm. If you want to checkout always the
latest version, use `--vcs-ref=HEAD`.
-s, --skip VALUE:str Skip specified files if they exist already; may be
given multiple times -w, --overwrite Overwrite files that already exist, without asking.
-x, --exclude VALUE:str A name or shell-style pattern matching files or
folders that must not be copied; may be given
multiple times
Manual Upgrades | K3s You can upgrade K3s by using the installation script, or by manually installing the binary of the desired version. docs.k3s.io You can give k3s an install channel to install,, or specific versions like. This is handy to make sure that you install the same version on all of your workers.
Today I accidentally ran f2 in ipython to discover that it opens your $EDITOR!
I use this feature quite often in zsh, it is bound to <c-e> for me, and since
I have my environment variable EDITOR set to nvim it opens nvim when I hit
<c-e>. Today I discovered that Ipython has this bound to F2. If you know
how to set it to <c-e> let me know I’ve tried, a lot.
Devin's Upwork "side hustle" exposed (Changelog News #90) YouTuber "Internet of Bugs" breaks down why AI "software engineer" Devin is no Upwork hero, Redka is Anton Zhiyanov's attempt to reimplement Redis with SQLite, OpenTofu issues its response to Hashi... Changelog · changelog.com Damn 2024 is such a shit show, now Devin seems to be out as a complete scam. It’s really teaching us to have skepticism for what you find on the internet. Turns out that when broken down frame by frame much of the description in the video was a straight up lie. Personally it seemed quite plausible that it was percentage points better than the competition, but I was not holding my breath for it to be a hands off engineer.
External Link stackoverflow.com I learned about the sqlite_master table from this stack overflow answer. This helps make a lot of sense to how sqlite works. The master table contains all the sqlite objects and the sql to create them. The.tables, and.schema “helper” functions don’t look into ATTACHed databases: they just query the SQLITE_MASTER table for the “main” database. Consequently, if you used
Redirecting 15r10nk.github.io This is a cool snapshot testing tool that automatically creates, and updates test values for you. Starting with some test code. now if I run my tests will fail because my assert will fail, but if I run it will fill out my snapshot values and the file will then look like this.
I’ve really been enjoying using sqlmodel for my projects that need a database.
One thing that I definitely lacked on for too long was indexing my database. I
hit a point with one database where it was taking 7s for pretty simple
paginated queries to return 10 records.
For every field that you will be querying on, you can create an index, by
setting it equal to Field(index=True)
Now when I run pytest my tests will fail because my assert has no value, but if I
run pytest --inline-snapshot=create it will fill out my snapshot values and the
file will then look like this.
GitHub - nalgeon/redka: Redis re-implemented with SQL Redis re-implemented with SQL. Contribute to nalgeon/redka development by creating an account on GitHub. GitHub · github.com Redka a sick new redis compatable api, that uses sqlite as its backend datastore. It feels lightweight to use as it is a single small binary. Data does not have to fit into memory as it uses sqlite to store data.
Today I learned how to VACUUM a sqlite database and cut its size in about half.
It’s a database that I have had running for quite awhile and has some decent
traffic on it.
Why is it important to do a VACUUM? In short its becuase the file system gets
fragmented with as data is updated. On delete the files are removed from the
database and marked as available for reuse in the filesystem, but the space is
not reclaimed.
To VACUUM a database, run the following sql command. You can do it right form
the sqlite shell by running sqlite3.
You will need about double the current size of the database as free space to
do the VACUUM, you need space for a full copy, journaling or write ahead
logs, and the existing database.
Arch Linux - News: The xz package has been backdoored archlinux.org Check your system to see if you are vulnerable to the xz backdoor. I found this line most pertanent to me. The xz packages prior to version 5.6.1-2 (specifically 5.6.0-1 and 5.6.1-1) contain this backdoor. Also it appears that arch is not vulnerable as it does not directly link openssh to liblzma, so the known attack vecotor is not possible. read to the end of the linked article for more.
I learned that tailwind animations are pretty easy to add only needing a few
classes. For some reason though my brain broke, thinking that I could
dynamically change the number and you can’t cause there are only so many pre
compiled classes without using an arbitrary value with brackets.
Here are the classes that I used to transition my colors very slowly.
I recently updated ollama, and it now installs a systemd
service that I was not expecting. Seems like a great option, but I hadn’t
expeted this and I was able to kill it previously. It was using up gpu, and I
do other things on my machine with a gpu. I tried pkill, kill, and everything,
it was still coming back.
No matter what it comes back
# stop itsystemctl stop ollama.service
# disable it if you wantsystemctl disable ollama.service
# confirm its statussystemctl status ollama.service
I found this statement quite intriguing. multi-cursors are just macros. This is quite a philisophical video and mostly prime talking about the things that make vim vim, and what prime needs in and editor vs what he can live without.
Typer makes it easy to compose your cli applications, like you might with a web
router if you are more familiar with that. This allows you to build smaller
applications that compose into a larger application.
You will see similar patterns in the wild, namely the aws cli which always
has the aws <command> <subcommand> pattern.
Lets setup the cli app itself first. You can put it in project/cli/cli.py.
Creating an app that will become a command is the same as creating a regular
app in Typer. We need to create a callback that will become our command, and a
command that will become our subcommand in the parent app.
[project.scripts]# <- this project is part of the config DO NOT change itproject="project.cli.cli:app"# <- This project is the project name, DO change it
Now you can see each cli application as a sub command.
❯ project --help
Usage: project [OPTIONS] COMMAND [ARGS]...
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion [bash|zsh|fish|powershell|pwsh] Install completion for the specified shell.│
│ [default: None] │
│ --show-completion [bash|zsh|fish|powershell|pwsh] Show completion for the specified shell, │
│ to copy it or customize the installation. │
│ [default: None] │
│ --help Show this message and exit. │
╰───────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────────────────╮
│ api model cli │
│ config config cli │
│ user user cli │
│ run run cli │
╰───────────────────────────────────────────────────────────────────────────────────────────────────╯
In the example above we can run the command project config show to see the
current configuration of our project.
I learned not to fear the arbitrary size feature of tailwind. While building
out reader.waylonwalker.com I kept getting
content flowing off the screen, and struggling to keep it on the screen. I
really felt that I should be able to do this with vanilla tailwind, but after
some encouragement from Twitter I decided to lean on arbitrary values and it
worked.
Don’t fear the arbitrary values.
<liclass="max-w-[100vw]"></li>
Learn more about using-arbitrary-values from their docs
docs
Use an llm to automagically generate meaningful git commit messages I harper.blog This is pretty sick, I wanted this early on when I was making lockhart. I wanted to do the git hook thing but could not figure it out and did not know that was a hook that I could use. Git Hooked Then I remembered! Git hooks! Lol. Why would I have that in my brain - who knows! I asked claude again, and they whipped up a simple script that would act as a hook that triggers with the prepare-commit-msg event. This is awesome, cuz if you want to add a git message, you can skip the hook. But if you are lazy, you exclude the message and it will call the LLM. Simon Willison’s llm cli comes in clutch here, it has such a good intereface to allow a prompt to be piped in, but the system prompt be set by -s. I love hacking on projects, but often I am super bad at making commits that make sense. I completely relate to this statement, and this is why I am trying it.
Each time I go to set up npm I am frustrated by the errors saying that I don’t
have permission to npm i -g <package>, and it’s frustrating. And I forget
what I need to do to tell npm to install packages in a directory I own, and my
shell to look there so that I can use the executables.
If you are designing a website in dark mode the scrollbars can be finicky to
match the theme. Here is a pretty sane default that looks nice without being
obnoxiously contrast to the rest of the site.
Inspired by Adam Savage and his One Day builds on youtube. I often build things, and want to make them generally useful for others and over configure out of the gate. This project is purely for me inspired by a need I have. play-outside!How-To This post will not directly show how to make a weather app, but document the process that I went through to make mine. It will show the tools that I used to make it, and the final result. The Situation It often goes in our house ask dad while he is busy and he will probably just say yes without thinking much. This happens a lot when kids ask to go outside. I think sure, go for it, you will figure it out. Then my wife walks in and asks where they are, followed by, did you even check the weather, its -11 degrees outside right now. I need a tool for this decision making process Lungs You we have a family of not the most heathly lungs, we have my wife with lung cancer, one lung missing, and kids with asthma. We need to account for temperature, humidi…
External Link stackoverflow.com This is how you fix the stupid corner section of a double scroll bar being white on a dark theme site. The question included an example image where you can see white squares everywhere there are horizontal and vertical scroll bars.
Before you deploy to cloudflare pages you need to create a project. You might
already have one, or you might want to create one in the webui, but you have
the option to create it at the command line with wrangler.
Now you can deploy your static application using wrangler to cloudflare pages.
In this example I have my application built into the markout directory, and
since the production branch is named markout I need to pass that in here as
well.
This is an interesting problem. I want to make a solution for this on htmx -patterns. I would make user specific routes with an rather than serving the whole page, serve a partial with s to fill in user specific data with a no cache on the cdn level.
So cool to see ROX build this over the course of a day.
For my reader app I am using cronjobs to schedule my a new build and upload to
cloudflare pages every hour. In this example I have built a docker image
docker.io/waylonwalker/reader-waylonwalker-com and pushed it to dockerhub.
It uses a CLOUDFLARE_API_TOKEN secret to access cloudflare, and the
entrypoint itself does the build and upload.
I’m really excited about fastapi-observability, an amazing project by blueswen. It’s worth exploring! Observe FastAPI app with three pillars of observability: Traces (Tempo), Metrics (Prometheus), Logs (Loki) on Grafana through OpenTelemetry and OpenMetrics.
I am working on a page for
htmx-patterns and I ran into a
situation with lots of duplication. Especially when i am using tailwind I run
into situations where the duplication can get tedious to maintiain. The
solution I found is macros.
Now I can use the same code for all of my links, and call the macro to use it.
If you’re into interesting projects, don’t miss out on taipy, created by Avaiga. Turns Data and AI algorithms into production-ready web applications in no time.
jinja has a loop variable that is very handy to use with htmx. Whether you
want to implement a click to load more or an infinite scroll this loop variable
is very handy.
{% for person in persons %}
<li{%ifloop.last%}hx-get="{{ url_for('infinite', page=next_page) }}"hx-trigger="intersect once"hx-target="#persons"hx-swap='beforeend'hx-indicator="#persons-loading"{%endif%}{{person.name.upper()}}-{{person.phone_number}}</li>{% endfor %}
Now for every chunk of contacts that we load we will trigger the infinite
scroll by loading more once the last one has intersected the screen.
Out of the box FastAPI." data-hover-title="Starlette">Starlette does not support url_for with query params. When
trying to use url_for with query params it throws the following error.
In my searching for this I found starlette issue #560 quite helpful, but not complete, as it did not work for me.
importjinja2ifhasattr(jinja2,"pass_context"):pass_context=jinja2.pass_contextelse:pass_context=jinja2.contextfunction@pass_contextdefurl_for_query(context:dict,name:str,**params:dict)->str:request=context["request"]url=str(request.url_for(name))ifparams=={}:returnurlfromurllib.parseimportparse_qs,urlencode,urlparse,urlunparse# Parse the URLparsed_url=urlparse(url)# Parse the query parametersquery_params=parse_qs(parsed_url.query)# Update the query parameters with the new onesquery_params.update(params)# Rebuild the query stringupdated_query_string=urlencode(query_params,doseq=True)# Rebuild the URL with the updated query stringupdated_url=urlunparse((parsed_url.scheme,parsed_url.netloc,parsed_url.path,parsed_url.params,updated_query_string,parsed_url.fragment,))ifos.environ.get("ENV")in["dev","qa","prod"]:updated_url=updated_url.replace("http","https",1)returnupdated_urldefget_templates():templates=Jinja2Templates(directory="templates")templates.env.globals["url_for"]=url_for_queryreturntemplates
https
If you want url_for to work in production you need some way to convert http
to https. Here is how I make it work, for local development I export ENV=local then for each environment that I am running on a server I include
it in the list and update ENV appropriately.
To access the home route using url_for in a jinja template you can use the
following, once you have applied the url_for_query function as your default
url_for
<ahref="{{ url_for('home', page=1) }}">Home</a>
Kind (Kubernetes in Docker) is a tool that makes it easy to create and tear
down local clusters quickly. I like to use it to test out new workflows.
Argocd is a continuous delivery tool that makes it easy to setup gitops
workflows in kubernetes.
Here is how you can setup a new kind cluster and install argocd into it using
helm, the kubernetes package manager.
kind create cluster --name argocd
# your first time through you need to add the argocd repohelm repo add argo https://argoproj.github.io/argo-helm
helm repo update
# install argocd into the clusterhelm install argo argo/argo-cd --namespace argocd --create-namespace
# deploy the app of appskubectl apply -f apps/apps.yaml
If you want to add repos and apps to your cluster you can use the argo cli to
do that, but first you will need forward the argocd port and login.
# Wait until Argo CD API server is availableecho"Waiting for Argo CD API server to be available..."while ! kubectl wait --for=condition=available --timeout=60s deployment/argo-argocd-server -n argocd;doecho"Waiting for Argo CD API server to be ready..." sleep 10donekubectl port-forward svc/argo-argocd-server -n argocd 8080:443 &argocd_admin_password=$(kubectl get secret argocd-initial-admin-secret -n argocd -o jsonpath="{.data.password}"| base64 -d)argocd login localhost:8080 --insecure --username admin --password $argocd_admin_passwordargocd repo add https://github.com/fokais-com/app.fokais.git --username waylonwalker --password ${GH_ARGO_PAT}argocd app create app-fokais-local --repo https://github.com/fokais-com/app.fokais.git --path k8s/overlays/local --dest-server https://kubernetes.default.svc --sync-policy automated --sync-option Prune=true
External Link dotesports.com Damn this button had me stuck for way too long. It definitely looks like a button once I see it, but I don’t recall coming into contact with many buttons in the game, I tried to set it ablaze, pull it, fly it, nothing.
External Link help.socialbee.com YouTube makes finding rss feeds way too hard. Hats off to them for still supporting it, allowing you to find content outside the algorithm, and consuming content you asked for. But i had no idea you had to search the source code to get it.
I have several feeds that you can consume my content with. Many posts will cross between them, so if you would like to follow a certain stream of content in your rss reader thats what this is for. This one might feel like it has some extra noise with multiple posts per day, including starts, and instagram style posts, for a bit less look at the [[ main]] feed. TLDR If you are looking for everything look here https://waylonwalker.com/archive/rss.xml All This is a feed of everything that I have published on my site to date including Posts tagged: blog, [[ til]], Thoughts, [[ stars]], Posts tagged: shots, [[ pings]]. web rss Main Like the All feed, but drops the shots (instagram style posts) and stars (github stars). web rss til - daily(ish) think gist with a tweet This is a feed of all of my TIL’s (Today I Learned). These are generally short single topic posts that I write up quickly. They are generally things that are fairly new to me, often things that I struggled to find support for o…
Optimizing SQLite for servers SQLite is often misconceived as a "toy database", only good for mobile applications and embedded systems because it's default configuration is optimized for embedded use cases, so most... Sylvain Kerkour · kerkour.com Very interesting article by Sylvain, suggested by Simon Willison. Definitely some things that I want to come back and try later on. Here is the TLDR of the whole post This is interesting, and something I need to consider. I definitely have an application with slow count queries. I am not sure how to make it better as its not a full so a count table doesn’t work, nor does counting by index. I might need to have a table of cached results, and if a write matches the counter increase it, or update all counters on write. COUNT queries are slow SQLite doesn’t keep statistics about its indexes, unlike PostgreSQL, so COUNT queries are slow, even when using a WHERE clause on an indexed field: SQLite has to scan for all the matching records. One solution is to use a trigger on INSERT and DELETE that updates a running count in a separate table then query that separate table to find the latest count.
Inspiring story transitioning into tech from nursing. I also came to tech through a set of circumstances that made it difficult for me to excel at my current job. Looking back it is something that I was always interested in and I was just unsure how to get in, I am so glad that I figured it out, it has been such a great benefit to my family. I really enjoyed listening to trshpuppy’s journey in through building projects, and choosing tech not based on what she wanted to learn, but what fit the project the best.
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 thoughts.waylonwalker.com site. It’s a fully dynamically rendered site 2000’s style. Posts are stored in a database and instantly available. Almost all of the posts were written in a small field within a chrome extension that I built for it. These posts are intended to in two ways. One, link building for the author. I hope that I give the people helping me out along the way just a little bit of a boost. Two, they serve as a permanant commented bookmark for me to search, and come back to later when I have forgotten where I have seen something. web rss All thoughts posts cross posted to my site are prefixed with a thought balloon 💭. The tech Since this blog is mostly a tech blog about software development, and my journey as I learn, lets talk tech. python fastapi htmx sqlite docker https://fly.io fastapi The core of the site is a python web server run…
Some Git poll results Some Git poll results Julia Evans · jvns.ca great poll of git questions poll: did you know that in a git merge conflict, the order of the code is different when you do a merge/rebase? merge: <<<<<<< HEAD YOUR CODE OTHER BRANCH’S CODE c694cf8aabe rebase: «««< HEAD OTHER BRANCH’S CODE YOUR CODE d945752 (your commit message) This one explains a lot. I think I knew this, I might have seen it somewhere, but I have definitely noticed it go both ways and confuse the crap out of me. Feels very similar to how and flip flops.
External Link sealed-secrets.netlify.app kubeseal is a pretty simple to get started with way to manage secrets such that they can be stored in a git repo and be picked up by your continuous delivery service. Sealed Secrets provides declarative Kubernetes Secret Management in a secure way. Since the Sealed Secrets are encrypted, they can be safely stored in a code repository. This enables an easy to implement GitOps flow that is very popular among the OSS community.
In my homelab kubernetes cluster I am using kubeseal to encrypt secrets. I
have been using it successfully for a few months now wtih great success. It
allows me to commit all of my secrets manifests to git with out risk of leaking
secrets.
You see kubeseal encrypts your secrets with a private key only stored in your
cluster, so only the cluster itself can decrypt them using the kubeseal
controller.
Most of these commands come straight from the docs. From my experience I have
always specified the namespace, my projects go per namespace and I don’t have
any reason that other namepsaces should see the secret, and if they do I deploy
another secret in that namespace.
# Create a json/yaml-encoded Secret somehow:# (note use of `--dry-run` - this is just a local file!)echo -n bar | kubectl create secret generic mysecret --dry-run=client --from-file=foo=/dev/stdin -o yaml -n thenamespace > mysecret.yaml
note that the key of the secret is foo and the value is bar
# This is the important bit:kubeseal -f mysecret.yaml -w mysealedsecret.yaml
# At this point mysealedsecret.json is safe to upload to Github,# post on Twitter, etc.# Eventually:kubectl create -f mysealedsecret.yaml -n thenamespace
# sealedsecret.bitnami.com/mysecret created# Profit!kubectl get secret mysecret
kubectl get secret mysecret -n thenamespace
# NAME TYPE DATA AGE# mysecret Opaque 1 27scat mysealedsecret.yaml | kubeseal --validate
Now the main downside I see with kubeseal is that it does not provide a way to
store your secrets in a way that you can access outside of your cluster. So
you need to make sure that you have another solution in place to store your
secrets so that you still have them if you ever were to take the cluster down
or move from k8s to something else.
Overall the likelyhood of you loosing a production cluster is pretty low, so
maybe it’s ok to just trust it depending on what the secrets are. Especially
for things you control and can rotate anyways its fine.
Great episode covering a seemingly simple topic. What I really benefitted from was hearing all the different use cases, from logging, debugging, to a/b testing, caching, and auth. I hadn’t even thought of it being applied to a router. I thought of it being applied for an entire application. This seems very useful for things like an admin router, all routes would need to have the admin role to get in.
![[None]] I’ve been using these decorators to modify the behavior of specific routes. It will do things like 404 admin only routes in a way that looks just like fastapi ’s default, or only allow certain roles into the route, or redirect unauthenticated users to login. After listening to yesterday’s syntaxfm I’m now really thinking about middleware and the benefits it might have. middleware would make it easy to apply things like admin to an entire admin router, so you wont forget it on any one admin route. It will look cleaner as the admin checker is only applied once per router, not once per route.
I stumbled into kubernetes December 2023 when I was looking for a better way to self host applications. I was looking for something that didn’t require logging into a server and building and deploying like a cave man. I wanted a smoother experience than docker compose was giving me. https://waylonwalker.com/looking-for-a-heroku-replacement/ This post turned into a list of tools that I have adopted into my k8s workflow, and plan to keep. enjoy. Kompose Kompose is a great tool for gettting going and converting your docker-compose to kubernetes manifests or helm templates. It was a great tool for me to get started with, but I was afraid that it was hindering me learning more and just blindly using its output so I have tried to use it less and less. I’m now not solely leaning on it, but using it to get out quick POCs with low friction. Kompose really helped me go 0 to 60 and get right into kubernetes with my existing docker compose files and very little change. I found it a great way to ge…
Simon Willison (@simonw) on X TIL Google Chrome has a --headless option you can use to take a screenshot from the CLI that's built into the default installation X (formerly Twitter) · twitter.com Huh, so this is just built right into the chrome cli.
![[None]] jinja’s in fastapi does not account for https by default, there is probably a better way, but this is a way that allows me to configure when I use http vs https.
@cassidoo) on X — I MADE AN APP ✨" loading="lazy"> Cassidy ( @cassidoo) on X I MADE AN APP ✨ X (formerly Twitter) · twitter.com Damn are one time paid and have it apps making a comeback? Seems like the perfect thing to have someone else automate and not pay a subscription for. Genius Idea Cassidy!! Now what do you call this, its not software as a service, is this just sofware?
Joining the split keyboards club: a Moonlander story | Carlos Becker This post will describe my experience with a couple of firsts: carlosbecker.com I switched from a 60% vortex pok3r to a 40% corne June, 2021. I can relate to a lot of what Carlos talks about here. I think going from 60%-40% made my journey harder than it needed to be. There’s no going back now, but it took me a really long time to be able to hit all of the numbers and symbols, just figuring out how to do the layout was hard there’s not much space. I didn’t touch type. I never really used my pinkies, except maybe for ESC, Shift, CTRL, Backspace et al. I can relate to this, my typing habits were terrible. Shortly before going split ortho I worked on my speed with lots, and lots of practice on keybr and monkeytype. I took my speed from 35wpm to 80wpm with a few months of steady practice. This is one of the best things I did for myself. Once I got split it dropped down to single digits and slowly rose back up to 80, just barely breaking my PB on monkeytype. I still feel like I still can’t type at my previous max speed — mostly because I wasn’t used to use my pinky and used the “wrong finger” for a lot of keys, but, ne…
My workflow, part 1 | Carlos Becker I keep getting asked how my setup works, how I use tmux and nvim over ssh… all that good stuff. carlosbecker.com Carlos has a pretty sick setup here, I can relate to mostly, cept the macos part. My main critique is that I don’t think he gave window managers much chance on linux, and they just don’t work on MacOS/Windows. Most of the time I have a single, maximized window. I can relate to this. I should really make a full post about my experience with tiling window managers. TLDR, I came for tiling and I stayed for the workspaces. Multiple Displays An exception here could be streaming: having multiple displays can help preventing doxing yourself if you only share the screen of one of them. I only did stream like 3 times and that’s what I did, but I’m sure experienced streamers have better workflows (with or without multiple displays). Accurate, my home machine uses one monitor, and for work I use one monitor+laptop. I pair, screenshare, and present quite a bit at work, and its good to have one screen for sharing, and one for seeing things like the app you are sharing from (chat, cams, etc)
strawberry-sqlalchemy by strawberry-graphql is a game-changer in its space. Excited to see how it evolves. A SQLAlchemy Integration for strawberry-graphql
I recently discovered AnyText by tyxsspa, and it’s truly impressive. Official implementation code of the paper <AnyText: Multilingual Visual Text Generation And Editing>
Using Netlify Analytics to Build a List of Popular Posts The other day, the wind blew and I decided to realign the design of my blog just a bit. One of the things I wanted to change was the content on my home page… blog.jim-nielsen.com This is a sick feature of Jim’s blog, I am really inspired by this. I am not sure how to do it for my own. I honestly think the easiest non locked in way would be to just use google search console results. It’s definitely a different way to think about it, but most of my traffic is coming from google search, so it would be a pretty good ballpark estimate.
I’m really excited about full-stack-fastapi-template, an amazing project by fastapi. It’s worth exploring! Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
605: Jim Nielsen on Subversive URLs, Blogging + AI, and Design Engineers Jim Nielsen joins us to about URLs and linking as the new subversive way to maintain the web, paying for news in Canada, should content creators be worried about AI, the case for design engineers, … ShopTalk · shoptalkshow.com An absolute fantastic episode about blogging, thinking about a web1.0 kind of world today, and what it means moving forward. Web 1.0 is robust, you own your own destiny, you own your data, you can do what you want. There is no platform to tell you what you can and cannot do. But the future web is stealing your data to build AI models, spam sites are duplicating your content and stealing your SEO. You may or may not care, but at the end whether you get traffic or now you own your web 1.0 sites.
Configure Liveness, Readiness and Startup Probes This page shows how to configure liveness, readiness and startup probes for containers. For more information about probes, see Liveness, Readiness and Startup Probes. Before you beginYou need to ha... Kubernetes · kubernetes.io What is the difference between health, liveness, readiness, and startup? This article does a great job at a full writeup description of how it works in kubernetes, here is my TLDR. health 200 OK - I’m still responding to requests health ERR - something happened and I cant respond to requests liveness 200 OK - I’m ready for more work liveness ERR - I’m still responding to requests, and i’m already working send requests to another pod, or scale up Z-pages These probes are commonly deployed at and endpoints. Why the z? z is a convention that comes from google for meta endpoints to reduce conflict with actual endpoints, and can be deployed to any application.
External Link stackoverflow.com The convention of “z-pages” comes from google and reduces the likelihood of collisions with application endpoints and keep the convention across all applications.
Placehold Placehold is a simple, fast and free image placeholder service to generate SVG, PNG, JPEG, GIF, WebP and AVIF placeholder images for your project. placehold.co This is a handy placeholder generator for generating placeholder items like images, and videos.
![[None]] I figured out the killer combination for python lsp servers, ruff and jedi! ruff does all of the diagnostics and formatting, then jedi handles all the code objects like go to definition and go to reference.
Client Challenge pypi.org Underrated python library to on board ruff, or just use it on a project where its not the norm. ruff claims that its 99.9% compatible with black and when you read through the known differences they are clearly edge case bugs in black. See this page for more about the comparison to black https://docs.astral.sh/ruff/faq/#how-does-ruffs-formatter-compare-to-black oh and I just noticed that it is maintianed by Charlie, and comes straight out of astral.
![[None]] First I need to fetch my thoughts from the api, and put it in a local sqlite database using. Now that I have my posts in a local sqlite database I can use to enable full text search and populate the full text search on the post table using the title message and tags columns as search. Now I am ready to search my thoughts, which is a tiny blog format that I created mostly for leaving my own personal comment on web pages, so most of them have a link to some other online content, and their title is based on the authors title.
External Link screenshots.waylonwalker.com This is the best tree I have ever built in minecraft. It took at least 4 stacks of logs and leaves despite what it looks like. It is placed where Welscraft’s island in the hermitcraft season 10 seed, but on our own server we call lonecraft. We started this server a few weeks after hermitcraft season 10 started, and play on it a few times per week. It has a pretty successful day one iron farm that took us way more than one day to complete, and the farm behind this is our first ever villager driven farm. Somehow potatoes got cross contaminated and now its pumping out potatoes and some bread, but no carrots or beat roots. World Seed: 5103687417315433447
Formatting codes – Minecraft Wiki Formatting codes (also known as color codes) add color and modifications to text in-game. Minecraft Wiki · minecraft.wiki Minecraft MOTD and server names have formatting codes so that you can get colors, bold, underlined, italics, in your message of the day or server name. See the article for all the cods.
GitHub - jesseduffield/lazydocker: The lazier way to manage everything docker The lazier way to manage everything docker. Contribute to jesseduffield/lazydocker development by creating an account on GitHub. GitHub · github.com I’ve been using this for a few weeks now and it’s fantastic. It’s reminds me of lazygit, it gives a nice quick interface into the things I need and it just works. Yes I can git status to see what changed, then diff the files, then commit hunks, but lazygit can do that in just a few keystrokes. lazydocker does this for docker. It gives me a nice view into whats running, what’s eating up disk space, and the networks I have. And if I see I have a bunch of exited containers, there is a bulk command righ there to clean them up. tldr on steroids
Go is feeling more and more like something I could throw in my tool belt as a python dev. I really like that it’s garbage collected and has great error management. I am just not sure how to work it in without it being the main thing. The thing that is so cool is the ability to ship tiny pre-compiled binaries that just work, and the raw speed. these binaries just get up and working without any warm up. writing any cli in python I’m going to be using something like typer, and it takes half a second just to warm up, so even hello world cannot be faster than half a second.
Great example from Anthony showing how easy it is to practice building database orm models and playing with them in a repl. This is good practice even if you are in a big code base to be able to test and learn in a simplified code base that does not have a mountain of other code around atuh, permissions, security, and other complex things that come into real production code bases that might make it hard to focus on what you are trying to do. Note Anthony uses backref here, thats legacy, use back_populates on both parent and child.
External Link stackoverflow.com Today I came across some sqlalchemy models that created some relationships, some used some used. I was stumped why, I had never came accross before and I felt skill issues sinking in. backref is considered legacy https://docs.sqlalchemy.org/en/14/orm/backref.html As stated in the sqlalchemy docs, backref is a legacy feature. Its shorthand to creating relationships between parent and child, but only adding it to the parent. While this is simpler it introduces some invisible magic.
If you’re into interesting projects, don’t miss out on datasette-litestream, created by datasette. Datasette plugin for streaming SQLite database backups to S3, using Litestream!
I came across minio from minio, and it’s packed with great features and ideas. MinIO is a high-performance, S3 compatible object store, open sourced under GNU AGPLv3 license.
I’m really excited about cadwyn, an amazing project by zmievsa. It’s worth exploring! Production-ready community-driven modern Stripe-like API versioning in FastAPI
Textualize has done a fantastic job with toolong. Highly recommend taking a look. A terminal application to view, tail, merge, and search log files (plus JSONL).
2.5 Admins 180: Email 777 – 2.5 Admins 2.5admins.com How do you pronounce URL, is it U.R.L or Earle? I’m about 50/50, mostly when I am in a hurry I use Earle as it is one syllable and easy to say. I picked this up from MPJ of fun fun function, who took over Dev Tips. In this episide Jim uses Earle and they make fun of him. If it’s good enough for Jim, I am done with my 50/50 and I’m going all in on Earle. Episode also included a fastinating corrdinated attack that used Ars Technica profile photos communicate directions for the next attack via query parameters in the image url.
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.
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.
A poc is not a product. I started focais, not in a rush, but as something that I already had a POC for and thought it would be easy. I wanted to build tools to make creating blog posts like this one easier. I stared with a tool that takes screenshots of websites. POC (proof of concept) For the poc, I made a single fastapi endpoint that takes a url and returns a screenshot of the page. It converts the url into a key that I can lookup to see if I have the shot, if I don’t I go get it. With the open source libraries out there, this is not too hard of a task. Progress Thus Far /shot But this wasn’t enough All it does so far for this first tool is take screenshots of websites, and give you a hosted image. Users To bring in users, I need to create a signup flow, with a database to store users, login, logout, and email recovery. I’ve never had to use an email service before that wasn’t already mandated by a company or an iternal smtp server. After some searching I chose resend for email. Prog…
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. So what is this? 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, More examples Here is a contrived example of text. 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. Just give it the one eyed fighting kirby ~prime still struggling 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 MODEL The given Vim substitute regex:%s/(here)(.)(there)/\3\2\1 performs the following operation: %s initiates the substitute command. The percent sign % indicates that the operation should be performed across the entire file…
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 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. You can continue the conversation with a You can pass it some data
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 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. You can continue the conversation with a
Gridfinity The modular, open-source grid storage system. Gridfinity · gridfinity.xyz 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.
Read a Range of Data - LIMIT and OFFSET - SQLModel SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness. sqlmodel.tiangolo.com 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. It is incredibly slow, and gives me the following warning. What I learned from the SQLModel docs is that you should give it a join to correct this and go much faster.
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.
after digging into my keymap I found that I had remaped gf to edit years
ago. This works great if the file is in your current directory, and if it’s not
it makes the file. This bind completely breaks vim’s ability to :find files
and was a terrible keybind that I added probably from someone else years ago
and have literally never used this feature. If gf opens an empty file I
always close it and assume that vim failed to :find the file.
-- Allow gf to open non-existent filesset("","gf",":edit <cfile><CR>")
Yes, after that fix I still needed to adjust my path#
I ended up with the following in my options.lua.
-- look for jinja templates in the templates directoryvim.opt.path:append("templates/**")
Template Designer Documentation — Jinja Documentation (3.1.x) jinja.palletsprojects.com html 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:
Intro - Minecraft Server on Docker (Java Edition) Documentation for Minecraft Server on Docker docker-minecraft-server.readthedocs.io I just learned that if you can exec into the container running minecraft with the itzg/minecraft container you can run to get command access to the server. You need to set the 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 when you are in.
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
Theo’s response puts a lot of my feelings about unit testing into words. Many of us have grown up in this world preaching unit testing. We often hear these statements “Everything must be unit tested, tests make code more maintainable.” In reality when we are not writing complex low level code unit tests are probably the wrong approach. We Finally Agree On Unit Tests - YouTube!https://www.youtube.com/watch?v=MbU-PKukdMw Dec 22, 2023 Most of us are assemblers So much of software engineering is assembling existing well tested code. Crud applications, UI, Data Pipelines, building on top of battle tested code. Manufacturing Analogy - Unit Testing This kind of reminds me of Manufacturing. Individual components are QA tested with tests that look more like unit test. Parts like bearings, pistons, shafts, valves, they are all tested against sophisticated statistics of sample measurements. This is quite similar to unit testing. You see measuring the individual sizes of these components does not…
Mastodon.py — Mastodon.py 2.3.3 documentation mastodonpy.readthedocs.io Mastadon.py is a python api client for mastadon that makes it easy to cross post to mastadon.
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 bunny.net looks like an interesting cloudflare alternative.
IndieWebify.Me - a guide to getting you on the IndieWeb indiewebify.me This is a sick guided site to validate indieweb tags on your site. It makes it much easier than trying to do it yourself.
External Link stackoverflow.com After struggling to get dependencies inside of middleware I learned that you can make global dependencies at the app level. I used this to set the user on every single route of the application without needing Depend on getting the user on each route.
ikalnytskyi has done a fantastic job with httpie-auth-store. Highly recommend taking a look. Credential store plugin for HTTPie, attaches auth to ongoing request.
Authentication from cli tools can be a bit of a bear, and I have to look it up
every time. This is my reference guide for future me to remember how to easily
do it.
I set up a fastapi server running on port 8000, it uses a basic auth with
waylonwalker as the username and asdf as the password. The server follows
along with what comes out of the docs. I have it setup to take basic auth,
form username and password, or a bearer token for authentication.
# installpython3 -m pip install httpie
# basic authhttp POST localhost:8000/token -a waylonwalker:asdf
# basic auth with password prompthttp POST localhost:8000/token -a waylonwalker
# tokenhttp POST localhost:8000/token -A bearer -a eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ3YXlsb253YWxrZXIiLCJleHAiOjE3MDI5NTI2MDJ9.GeYNt7DNal6LTiPoavJnqypaMt4vYeriXdq5lqu1ILg
http-prompt comes from the httpie org, and has an interactive cli interface
into apis. You can even specify a spec file to autocomplete on api methods.
Handling Errors - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production fastapi.tiangolo.com This page shows how to customize your fastapi errors. I found this very useful to setup common templates so that I can return the same 404’s both programatically and by default, so it all looks the same to the end user.
logs with FastAPI and Uvicorn · Issue #1508 · fastapi/fastapi Hello, Thanks for FastAPI, easy to use in my Python projects! However, I have an issue with logs. In my Python project, I use: app = FastAPI() uvicorn.run(app, host="0.0.0.0", port=8000) And when... GitHub · github.com Setting an additional log handler to the uvicorn logger for access logs in fastapi was not straightforward, but This post was very helpful.
waylon walker (@_WaylonWalker) on X Bloggers where do you put your markdown? X (formerly Twitter) · twitter.com Most bloggers on my twitter blog right into a file that goes on git. I kinda expected to have more database folk. I have my blog in markdown on git and the editing experience is top notch. I can just find files edit them in MY EDITOR, push them and I got a post. I am running thoughts in a sqlite database with a fastapi backend, and holy crap the instant nature of posting feels so much better. Both sides have good points.
Show some equivalent list comprehensions in filter examples · Issue #1068 · pallets/jinja I'm willing to write a pull-request for this, but I just want to see what people think before I write it. So the issue is this. I'm very familiar with python. I'm new to Jinja2. Often I find myself... GitHub · github.com I often want to reach for non existing list comprehensions in jinja 2, Here are a few nice equivalents.
External Link vi.stackexchange.com I fixed my missing macro recording indicator that I lost and was never quite sure why. (because I forgot that I set cmdheight=0).
I am working on fokais.com’s signup page, and I want to hide the form input during
an htmx request. I was seeing some issues where I was able to prevent spamming
the submit button, but was still able to get one extra hit on it.
It also felt like nothing was happening while sending the email to the user for
verification. Now I get the form to disappear and a spinner to show during the
request.
Let’s start off with the form. It uses htmx to submit a post request to the
post_request route. Note that there is a spinner in the post_request with the
htmx-indicator class.
The intent is to hide the spinner until the request is running, and hide all of
the form input during the request.
GitHub - DataDog/ddqa: Datadog's QA manager for releases of GitHub repositories Datadog's QA manager for releases of GitHub repositories - DataDog/ddqa GitHub · github.com DataDog ddqa is building out a textual app and deploying it with pyapp. They have CI setup to fully build and cross compile their textual tui into github releases that you can just download from their releases page. This is something I am looking at for markata. This would be pretty sweet to be able to make it just work on places like windows. It would also be interesting to try to build a full desktop app with pyapp.
Adam Wathan (@adamwathan) on X Hear me out. X (formerly Twitter) · twitter.com I’m going to give this trick a shot on my sites, and see how I like it. Down in the comments @adamwathan goes on to say. Basically every layout overflow bug ever boils down to some flex or grid child needing min-width: 0 😄 Oh and @ryanflorence also says in the comments. I … do this.
External Link tushar.lol Nice message by @tusharsadhwani. Write it down. You had to dig deeper than face value at something. Write it down. You had to combine multiple pages of docs. Write it down. Someting was simply not obvious to you at first and it took someone else to give you that ah ha moment. Write it down. You had a small discovery that had a marginal impact on your day. Write it down. A blog does not have to be a Blog, it can be small meaningful posts. There are absolutely no rules. If you think you are going to end up with too many posts, that is a solvable problem, make a search, curate your favorite posts, make multiple feeds. At the end of the day. Write it down. This post itself is a thought, the smallest component to my blogging strategy. Write it down.
Path Operation Advanced Configuration - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production fastapi.tiangolo.com From the Docs trailing slash I’ve had better luck just routing both naked and trailing slash routes in fastapi. I’ve had api’s deployed as a subroute to a site rather than a subdomain, and the automatic redirect betweens them tended to always get messed up. This is pretty easy fix for the pain is causes just give vim a yyp, and if you don’t want deuplicates in your docs, ignore one. favicon.ico Now you do not need to deploy favicons to your api in any way, it is nice to have it in your browser tab, but more importantly to me I hate having console errors that are meaningless, this gives the browser something to automatically grab and not log errors.
Protect API docs behind authentication? · Issue #364 · fastapi/fastapi Basic Question Does FastAPI provide a method for implementing authentication middleware or similar on the docs themselves (e.g. to protect access to /docs and /redoc)? Additional context My company... GitHub · github.com You can protect your fastapi docs behind auth so that not only can certain roles not run certain routes, but they cannot even see the docs at all. This way no one that shouldn’t be poking around can even discover routes they shouldn’t be using. Here is the soluteion provided by @kennylajara
Cancel subscriptions Cancel subscriptions immediately or at the end of the subscription period with proration options, invoice handling, and automatic cancellation after failed payment attempts. stripe.com This is a handy guide to cancelling stripe subscriptions. You can even inverse it by flipping to and re activate the subscription.
Today I am working on fokais.com, trying to get to a point where I can launch
by workig through stripe integrations. This is my first time using stripe, so
there has been quite a bit to learn, and I am probably building in more than I
need to before launching, but I am learning, and not in a rush to launch.
I am building the fokais backent in python primarilyt with fastapi and sqlmodel
on sqlite. My billing integration is going to be all Stripe.
Here is a link to the stripe docs for your refrence, especially if you want to
see how to cancel subscriptions in other languages. They include code samples
for many popular languages.
Here is the cancellations api. I created an are you sure form that I can link
to from the accounts page with a normal anchor tag. Note that I am doing a
POST request to do the cancellation from a form. I want this to work for any
user whether there is js or not. This is an operation that will change the
users data, and I want to make sure that it avoids all browser and cdn caching.
As a scrappy startup we are running light on infrastructure and are caching
hard at the CDN to avoid excessive server hits.
Note
I am doing a POST request to do the cancellation from a form.
@pricing_router.get("/cancel")@pricing_router.get("/cancel/")defget_cancel(request:Request,current_user:Annotated[User,Depends(get_current_user_if_logged_in)],):returnconfig.templates.TemplateResponse("cancel.html",{"request":request,"prices":products.prices,"products":products.products,"current_user":current_user,},)@pricing_router.post("/cancel")@pricing_router.post("/cancel/")defpost_cancel(request:Request,current_user:Annotated[User,Depends(get_current_user_if_logged_in)],):current_user.cancel_subscription()returnHTMLResponse('<p id="cancel" hx-swap-oob="outerHTML">Your Subscription has been Cancelled</p>')
Reactivating accounts looks just about the same as cancelling, only flippng True to False.
@pricing_router.get("/reactivate")@pricing_router.get("/reactivate/")defget_reactivate(request:Request,current_user:Annotated[User,Depends(get_current_user_if_logged_in)],):returnconfig.templates.TemplateResponse("reactivate.html",{"request":request,"prices":products.prices,"products":products.products,"current_user":current_user,},)@pricing_router.post("/reactivate")@pricing_router.post("/reactivate/")defpost_reactivate(request:Request,current_user:Annotated[User,Depends(get_current_user_if_logged_in)],):current_user.reactivate_subscription()returnHTMLResponse('<p id="reactivate" hx-swap-oob="outerHTML">Your Subscription has been reactivated</p>')
External Link stripe.com You can find your customers next billing date through the stripe api by using. and passing in customer, customer_details, subscription, or schedule. Within the invoice, you can find the next_payment_attempt as a epoch.
Search Use the search APIs to look up and retrieve objects in your Stripe data. Using search is a faster alternative to paginating through all resources. stripe.com Stripe has it’s own query language for querying data. I’m just getting into using it and it seems pretty good so far. I needed to lookup the price for products. I was able to find prices for my product using the python api as shown below.
Your browser does not support the audio element. I’ve long hosted my personal blog as a static site on waylonwalker.com. It’s all markdown, converted to html, and shipped as is. It’s been great, I’ve moved it from GitHub Pages, to Netlify, tried Vercel for a minute, and have landed on Cloudflare Pages. Each migration has not really been that hard, it’s just pointing ci to a different host after the site has built. What about server side Now the part that I have struggled with is how to cheaply host a server rendered application that can just live on forever without me paying for it. This is a harder problem as it costs more to keep servers spinning, memory, and disk all ready for you to use at a moments notice. Honestly I never really deployed anything that useful on heroku, but it seems like the klenex of the bunch that’s why they are in the title. I’ve moved between digital ocean and fly.io, and have had some great experiences with both. I just don’t want to build something that is g…
Dang this is such a good message. I can’t exactly relate to being forced into the overworking situation that PirateSofware is talking about. I can relate to being conditioned to feeling a certain way and changing that is very difficult. I can also relate to not feeling like I am getting enough done in the day. Sometimes a bit of separation is good.
page-break-after CSS property - CSS | MDN The page-break-after CSS property adjusts page breaks after the current element. MDN Web Docs · developer.mozilla.org I’m working on something that might go to print, so I want the page breaks to happen somewhat in my control as the content author. As I do my writing I break my content up in to many short sections using h2, sometimes an h3. These are generally short sections that go together, should stay together, and typically are not too lengthy to cause a large white space in print. I found a way in css to only allow page breaks to happen on h2 and h3, and it turned out perfect, suck it WSIWIG editors
I’ve been using tailwind for a few months now and I can still say I’m loving
it. I’ve been using it to create some rapid prototypes that may or may not
ever become something, a document that is likely to go to print (a resume), and some quick
dashboards.
I started working on fokais.com only a few weeks ago, It’s going to be a SAS to
make blogging easier. I’ve started hosting some tools for this blog that I
really like that I think I can turn into a service. It’s been fantastic to
quickly pump out new pages with tailwind.
tailwind and htmx are a match made in heaven. They both really lean on
Location of Behavior over Separation of concerns. They do really well at
making small components that you can throw on and endpoint and stack into any
page. With tailwind I just configure it to look at all my templates, and I can
guarantee that the styles will be in app.css, and all I need to do is add
classes to my component.
Heres a sample component for a user widget that will go on every page. It has
everything it needs right in the template.
I’ve built several interal apps, and tailwind has been really great for this.
Its super quick to pop classes on components and get things to look decent
quickly, or put some real polish into making them look nice.
I’ve dropped my old decrepid css for some tailwind on my main site. My css was
much smaller, but did not work quite as well on all devices, and most
importantly was becoming a house of cards. Every time I fixed one thing several
other things would fail. Colors were a bit muddy, and not as nicely configured
as tailwind.
Most importantly was becoming a house of cards. Every time I fixed one thing
several other things would fail.
One rough side of styling a blog in tailwind is that you don’t necessarily have
control over granular details of how your pages get rendered without getting
really deep into the markdown renderer, or writing your posts in html. It ends
up looking a bit ugly, and is against the tailwind best practices, but it seems
like the best way for a site like this.
I’ve struggled to use grid on my projects, and I’ve tried a few different times
with no real success or adoption, but started using it on my resume, to have a
main middle column, with two outer full bleed columns where I can make some
elements full bleed to the edge. tailwind made this easy, once done, I had an
admonition that was beautiful full bleed with a touch of color.
How to Build a Website or App - Syntax #696 This podcast episode covers a wide range of topics related to building a website or web application from start to finish. syntax.fm Use good data or good fake data make it have some variation like long and short text Don’t use a database if you need one, static content is eaiser to manage end to end test, (does the site load page x) You DONT NEED all this complexity, you can deploy a site with HTML and CSS.
@willmcgugan) on X — Just a wee thing that came up today. I think this is kind of neat." loading="lazy"> Will McGugan ( @willmcgugan) on X Just a wee thing that came up today. I think this is kind of neat. X (formerly Twitter) · twitter.com Textual is so sick, Will just made a live markdown editor in the terminal!
Sebastián Ramírez (@tiangolo) on X Now @FastAPI has 65k+ GitHub stars! ✨🎉 Since today, FastAPI has a few more GitHub stars than Flask. 🤯 Now FastAPI is the second most starred Python web framework, right after Django. 🥈 X (formerly Twitter) · twitter.com Fastapi passes flask in GitHub stars!
Nice take by @t3dotgg. Some of the old patterns that go deep into webdev, MVC, separation of concerns, REST, are things we are told to believe on day one, thrown so many things, no mental bandwidth, or experience to form our own opinions we must take them as fact. Rarely do we take these facts and revisit them with our new understandings years later.
DoomponyLewis 🦄 (@DoomponyLewis) on X @wtravishubbard Management is abhorrent to me X (formerly Twitter) · twitter.com Today I learned the meaning of abhorrent abhorrent ăb-hôr′ənt, -hŏr′- adjective Disgusting, loathsome, or repellent. Feeling repugnance or loathing.
I’m really excited about sqlmodel, an amazing project by fastapi. It’s worth exploring! SQL databases in Python, designed for simplicity, compatibility, and robustness.
Heroicons Beautiful hand-crafted SVG icons, by the makers of Tailwind CSS. Heroicons · heroicons.com heroicons is a really nice set of many of the basic icons that you will need for building nice ui’s. They have a really nice copy as svg or jsx button, so that you can just yank it and paste it on your page without any extra packages or installation.
Uptime Kuma A self-hosted monitoring tool uptime.kuma.pet Uptime kuma is a fantastic self hosted monitoring tool. One docker run command and you are up and running. Once you are in you have full control over checking status of urls, frequency, allowed timeouts, and a HUGE list of notification providers I deployed it in my homelab today.
kv - Command | Vault | HashiCorp Developer The "kv" command groups subcommands for interacting with Vault's key/value secret engine. kv - Command | Vault | HashiCorp Developer · developer.hashicorp.com hashi vault lets you manage secrets right from your cli.
GitHub - johanhaleby/kubetail: Bash script to tail Kubernetes logs from multiple pods at the same time Bash script to tail Kubernetes logs from multiple pods at the same time - johanhaleby/kubetail GitHub · github.com Kubetail is a pretty sick bash script that allows you to tail logs for multiple pods in one stream. Very handy when you have more than one replica running. Now with kubetail I can tail all the logs for every shot-wayl-one pod in the shot namespace.
I am converting my docker compose env secrets over to k8s secrets. This guide was clear and to the point how I can replicate this exact workflow. First set the secret, the easiest way is to use kubectl wtih –from-literal because it automatically base64 encodes for you. If you don’t use the you will have to base64 encode it. Once you have your secret deployed, you have to update the container spec in your deployment manifest to get the valueFrom secretKeyRef.
waylon walker (@_WaylonWalker) on X Which is more complicated X (formerly Twitter) · twitter.com Wow, shocked at these results. All this time I’ve been told and believed that k8s is incredibly hard, and you need a $1M problem before you think about it because it will take a $1M team to maintain it. So far my experience has been good, and I definitely do not have a $1M problem in my homelab.
Wes Bos (@wesbos) on X 🔥 The stale-while-revalidate header is suuuuuuper handy for striking a balance between fast loads and and frequently changed content. Here I am using it to instantly deliver an OG image that t… X (formerly Twitter) · twitter.com Wes has some of the coolest OG images i’ve ever seen. Here he talks about how to enable cache configuration so that its constantly updating the cache without the user waiting for the image to be created.
</> htmx ~ Locality of Behaviour (LoB) Carson Gross explores the Locality of Behaviour (LoB) principle, which emphasizes making the behavior of code units obvious on inspection to enhance maintainability. He discusses the tradeoffs betw... htmx.org Interesting principle here. What a great example, If I’m looking at the second jQuery example, I have to dig into dev tools or make some assumtions that this team uses jQuery, and selects by id, therefore I can grep for. Consider two different implementations of an AJAX request in HTML, the first in htmx:
External Link thoughts.waylonwalker.com I was looking to add running kubernetes jobs to a python cli I am creating, and I found this solution, mostly thanks to and my loose understanding of what the yaml syntax is supposed to look like for a kubernetes job. This will let me create a job in the cluster, choose the image that runs, the command that is called, and how long until the job expires and is cleaned up. While the job still exists I can go in and look at the logs, but once its ttl has expired they are gone.
How to kill process based on the port number in Linux Learn to kill a process by port in Linux using fuser, lsof, and ss commands. Essential for system admins managing network processes efficiently. LinuxConfig · linuxconfig.org I’ve often struggled to find and kill a process using a certain port on archlinux. Mainly becuase most guides use netstat rather than. Here is how I just killed the process using port 5000 using. You can also get information about the process by running
GitHub - mkimuram/k8sviz: Generate Kubernetes architecture diagrams from the actual state in a namespace Generate Kubernetes architecture diagrams from the actual state in a namespace - mkimuram/k8sviz GitHub · github.com This is a sick kubernetes architecture diagran generation tool. Here is an example installation Usage
GitHub - casey/just: 🤖 Just a command runner 🤖 Just a command runner. Contribute to casey/just development by creating an account on GitHub. GitHub · github.com I think just, might just be the thing I have been looking for. I’ve been looking for some ci/cd that I can host myself, but everything looks pretty big, so for now I am going to use just as my task runner. I installed with installer. I set up my devtainer builds with just. Here is my, yes you just need the cli and a file named.
Translate a Docker Compose File to Kubernetes Resources What Kubernetes · kubernetes.io is a sick cli to convert docker-compose.yml to kubernetes manifest.
Kubernetes Persistent Volumes with Deployment and StatefulSet How to use Kubernetes persistent volumes with deployment and stateful set and also when you should use one or another. Alen Komljen · akomljen.com Example of how to add a pvc to a deployment.
External Link frank.sauerburger.io I was curious to see what was going on inside of my minio object storage. Great technique here by Frank to create an inspector pod, then you can do as you wish with the data. I created the manifest as Then used it like this.
Reddit reddit.com Right after installing k3s you are going to need to use to use any command. The reason for this is that the default config is owned by root. To get around this you will need to make your own config and set the environment variable To do this I used one last time to copy the file into my own directory and take ownership of it.
Quick-Start Guide | K3s This guide will help you quickly launch a cluster with default options. Make sure your nodes meet the requirements before proceeding. docs.k3s.io I recently spun up k3s in my homelab. I’m trying to offload some work off of my free tier fly.io app in order to keep it free tier without crashing. My main hiccup so far was the machine I am running on runs zfs on root, and it would not start the master node. Rather than figuring out how to make zfs play nice I just pointed k3s to a drive that is not zfs.
Tailwind comes with that I have never heard of that is made to give margin and padding together in one class. Adam dropped it here in the Tailwind Connect conference.
Litestar: Effortlessly Build Performant APIs We all know about Flask and Django. And of course FastAPI made a huge splash when it came on the scene a few years ago. But new web frameworks are being created all the time. And they have these ea... talkpython.fm Litestar is an interesting api framework similar to fastpi, that I am interested to check out to see if it fits into some project scope. It sounds like it comes with a lot more batteries included for things like auth, but does not have hard opinions like django. At this point I’m not jumping off of fastapi, but its something I want to try.
Delete a Postgres Cluster - Fly.io Fly.io · fly.io Deleting a fly postgres db cluster was not straightforward to me as the app name is not inferred from the toml like it is for the main app.
![[None]] Yet again twitter cards were causing me pain. This time it was me not realizing that they require full urls, and not relative or abolute urls. This was not working This does work with a full url
GitHub - David-Kunz/gen.nvim: Neovim plugin to generate text using LLMs with customizable prompts Neovim plugin to generate text using LLMs with customizable prompts - David-Kunz/gen.nvim GitHub · github.com This seems like a promising tool to use with ollama.
Ollama · Run AI models locally and in the cloud Run and build with open AI models locally or in the cloud on macOS, Windows, and Linux. ollama.ai ollama is the easiest to get going local llm tool that I have tried, and seems to be crazy fast. It feels faster than chat gpt, which has not been the experience I have had previously with running llm’s on my hardware.
gen.nvim by David-Kunz is a game-changer in its space. Excited to see how it evolves. Neovim plugin to generate text using LLMs with customizable prompts
GitHub - sysid/sse-starlette Contribute to sysid/sse-starlette development by creating an account on GitHub. GitHub · github.com sse- FastAPI." data-hover-title="Starlette">starlette provides server sent events for startlette and FastApi. I’m evaluating for use with htmx. Installation: Usage:
overflow - Layout Utilities for controlling how an element handles content that is too large for the container. tailwindcss.com Controlling overflow with tailwindcss Examples
External Link w3schools.com Default scrollbars on a dark theme website are just the ugliest thing. This page covers all the pseudo selectors needed to style the scrollbar.
wincent/aspects/dotfiles/files/.zshrc at 85fc42d9e96d408a5b36739f6c10e6d686b70b34 · wincent/wincent 💾 Dot-files. Contribute to wincent/wincent development by creating an account on GitHub. GitHub · github.com Wincent (Greg Hurrel) has a pretty solid and fast zshrc. I recently grabbed his completion section and it seems to be working better than whatever I had. zsh completion snippet
Change Autocomplete Styles in WebKit Browsers | CSS-Tricks We got a nice tip from Lydia Dugger via email with a method for changing the styles that WebKit browsers apply to form fields that have been autocompleted. CSS-Tricks · css-tricks.com All the hover, select, autofil, focus combinations have left me confused on how to consistently get my form elements styled in dark mode This snippet from CSS tricks has fixed all the different states for me to give me full control.
GitHub - florimondmanca/arel: Lightweight browser hot reload for Python ASGI web apps Lightweight browser hot reload for Python ASGI web apps - florimondmanca/arel GitHub · github.com arel is a “Lightweight browser hot reload for Python ASGI web apps” I just implemented this on my thoughts website using fastapi, and it’s incredibly fast and lightweight. There just two lines of js that make a web socket connection back to the backend that watches for changes. When in development mode, this snippet gets injected directly on the page and does a refresh when arel detects a change.
main.py python I just discovered arel for hot reloading python applications when content changes from this snippet that implements it for fatapi. On app startup add the routes if in DEBUG mode. install and make sure you have for websocket support. In the template, load the script when in debug mode.
Bob Belderbos (@bbelderbos) on X Forget Python for a sec, here's how Vim helped me out today … 💪 📈 Ever felt like you needed a quick string replacement without diving into a script? Here's a Vim trick I just used … I w… X (formerly Twitter) · twitter.com I need to learn regex capture groups better. This is so dang powerful. I really like the \v that bob uses here, it really does cut down on the terseness of all the special characters. I wanted to replace all occurrences of: name,[email protected],0,171,,2023-09-21 With: name,[email protected] Easy to do with Python, but what about a bit of > regex in Vim?:%s/\v([,]+,[,]+),.*/\1/
teej dv 🔭 (@teej_dv) on X Hypermedia fixes this HATEOAS gonna hate X (formerly Twitter) · twitter.com HATEOAS gonna hate. More and more htmx seems like the js library for backend devs. So rather than making 55 rest calls here, just make an endpoint that does what you want it to do with one, or a few requests.
Open source, not open contribution with Ben Johnson (Changelog Interviews #433) This week we're talking with Ben Johnson. Ben is known for his work on BoltDB, his work in open source, and as a freelance Go developer. Late January when Ben open sourced his newest project Litest... Changelog · changelog.com Ben Johnson was on the Changelog a few years back covering his work on litestream, and talks about why he chose to go open source, but not open contribution. You should have a good reason to move off of sqlite.
jpillora/installer is the install script generator I have been looking for. It
downloads binaries for your machine from GitHub releases and unzips them for
you. It grabs the latest release, so you can easily update them. I have
tried scripting these installs in the past and struggled to consistently get
the latest version for every package and unpack it correctly.
Also these pre-compiled binaries install rediculously fast compared to building
them from source.
I wanted to host some static files through fastapi. Typical use cases for this
might be some static web content like html/css/js. It could also be images or
some data that doesn’t need dynamically rendered.
OscartGiles posted this solution to add
authentication to static files. I tried this out on my
thoughts and it worked flawlessly.
importtypingfrompathlibimportPathimportsecretsfromfastapiimportFastAPI,Request,HTTPException,statusfromfastapi.staticfilesimportStaticFilesfromfastapi.securityimportHTTPBasic,HTTPBasicCredentialsPathLike=typing.Union[str,"os.PathLike[str]"]app=FastAPI()security=HTTPBasic()asyncdefverify_username(request:Request)->HTTPBasicCredentials:credentials=awaitsecurity(request)correct_username=secrets.compare_digest(credentials.username,"user")correct_password=secrets.compare_digest(credentials.password,"password")ifnot(correct_usernameandcorrect_password):raiseHTTPException(status_code=status.HTTP_401_UNAUTHORIZED,detail="Incorrect email or password",headers={"WWW-Authenticate":"Basic"},)returncredentials.usernameclassAuthStaticFiles(StaticFiles):def__init__(self,*args,**kwargs)->None:super().__init__(*args,**kwargs)asyncdef__call__(self,scope,receive,send)->None:assertscope["type"]=="http"request=Request(scope,receive)awaitverify_username(request)awaitsuper().__call__(scope,receive,send)app.mount("/static",AuthStaticFiles(directory=Path(__file__).parent/"static"),name="static",)
If you want both then, all you have to do is mount AuthStaticFiles to a
different route. Now you can have private, or paid content behind
/restricted.
Point-in-time recovery - Wikipedia en.wikipedia.org I just learned that the term PITR means Point In Time Recovery. I have never seen this term, but it is most often referred to in relation to database recoveries.
Very inspiring talk, TLDR, you probably don’t need a database server. sqlite will probably be faster, simpler to maintain, and simpler to test your application.
I recently se tup minio object storage in my homelab for litestream sqlite
backups. The litestream quickstart made it easy to get everything up and
running on localhost, but I hit a wall when dns was involved to pull it from a
different machine.
GitHub - benbjohnson/litestream: Streaming replication for SQLite. Streaming replication for SQLite. Contribute to benbjohnson/litestream development by creating an account on GitHub. GitHub · github.com install Install is fast using installer, no compilation, just copy the binary and run.
Serious question. No one ever got fired for choosing PostgreSQL But, why. It’s the most loved db, right? Right? Maybe it’s time to rethink it. Don’t get me wrong, if I need a relational db as a service, PostgreSQL is going to be my first choice, but why do I need to run a separate application for it? Tutorials use sqlite Why is that? Because there is nothing else to stand up. Nothing else to maintain. And you probably already have it installed on just about anything that has a battery. SQLite runs in memory Don’t need, or maybe don’t want to persist state. Run it in memory. This is a nice feature for running tests. Less exposure SQLite is a file on your filesystem. It’s not a web service. It’s not a cloud service. Not that postgres is insecure, but it is one more endpoint that you have to think about securing. this means that is probably also cheaper 🤑 SQLite is easy to replicate Want to run your new feature with prod data? Pull a replica or backup. It’s a file, you can cp, scp, rsync…
Why I Built Litestream - Litestream Despite an exponential increase in computing power, our applications require more machines than ever because of architectural decisions made 25 years ago. You can eliminate much of your complexity... litestream.io As applications scale to the edge, to put compute as close to the user as possible, database queries back to the master node get slower and slower. Enter sqlite replication, put the database wtih the application code and replicate from master.
I'm All-In on Server-Side SQLite Ben Johnson has joined Fly.io Fly · fly.io SQLite is the next big database trend. with more horizontal scaling, close to user read heavy applications, having your database in the same application stack makes a lot of sense. Tools like litestream are going to enable global distribution in an impressive way.
LiteFS Cloud: Distributed SQLite with Managed Backups Documentation and guides from the team at Fly.io. Fly · fly.io Fly.io’s solution to sqlite managed backups.I definitely want to look into this a bit, but moreso the tech under the hook litestream.
GitHub - jpillora/installer: One-liner for installing binaries from Github releases One-liner for installing binaries from Github releases - jpillora/installer GitHub · github.com This is a sick looking bash script generator for installing binaries off of github releases. it reccomends curl into bash, but you could curl into install.sh and toss that in your dotfiles repo or wherever. Install installer with installer
How to run pods as systemd services with Podman Podman is well known for its seamless integration into modern Linux systems, and supporting systemd is a cornerstone in these efforts. Linux commonly uses th... redhat.com podman comes with a nice command for generating systemd service files (units).
Pagefind Pagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure. Pagefind · pagefind.app Pagefind is absolutely insane. I’ve tried a number of static site searches, and found them all hard to get get going, clunky and not the best experience as a user or developer. I setup pagefind in about 2 minutes on my site where it found and indexed 833 pages in 2 minutes. The only downside I see so far is that it is a lot of bandwidth to the user. On simulated slow 3G you can definitly feel it, but not terrible. Anything slower and its going to start feeling frustrating. edit: I have actually fully deployed it on waylonwalker.com, and its fast! create the index Then I put this on a page, it looks really nice on a white background, but would need some work to drop into a dark theme.
makeplane has done a fantastic job with plane. Highly recommend taking a look. 🔥 🔥 🔥 Open Source JIRA, Linear, Monday, and Asana Alternative. Plane helps you track your issues, epics, and product roadmaps in the simplest way possible.
I was watching @theprimeagen recently and I think he sold me on using tailwindcss. The thing about tailwind is that it is not a big component library, it’s a set of css classes mapped to a few (usually one) style. All css classes are shitty, so you might as well use someone else’s shitty css classes on all your projects rather than thinking you’re being smart with a new set of classes that you will hate in 6 months when you come back to the project. roughly quoted from memory of @theprimeagen It’s tiny So unlike big component libraries like tailwind, it comes with a cli that that it uses to create the final css file. It is able to treeshake out all the tailwind classes that you are not using and only ship the ones that you are using. It’s hard to clash Since the classes are so small and single purpose it’s hard to end up with something like in two places that mean different things causing you to duplicate most of that css anyways so that the whole design doesn’t break when you change o…
Simon Willison (@simonw) on X Anyone got a lead on a good embedding model that can embed both images and text into the same space, so you can search for "dog" and get back images most likely to contain a dog? It looks like Vis… X (formerly Twitter) · twitter.com Kinda mindblown that this is even possible. This is so far outside of my current thinking that i didn’t even think of an elegant way to implement semantic search accross images and text at the same time. I know it happens at Google, but I envision that as still text search accross tags and meta data about the image. Based on the number of responses CLIP is the thing that does this.
GitHub - aca/emmet-ls: Emmet support based on LSP. Emmet support based on LSP. Contribute to aca/emmet-ls development by creating an account on GitHub. GitHub · github.com This is the greatest nvim emmet plugin I have tried. In the past I had tried the vim plugin a few times and just could not get a good flow with the keybindings and found it confusing for my occasional use. just uses lsp-completion, so its the same flow as other completions. You can try it out by installing with config
LLM now provides tools for working with embeddings LLM is my Python library and command-line tool for working with language models. I just released LLM 0.9 with a new set of features that extend LLM to provide tools … Simon Willison’s Weblog · simonwillison.net Simon’s llm cli is getting quite interesting. I really want to run some clustering on my website content.
Formatter How to use the Biome formatter. Biome · biomejs.dev Tried out biome today and it worked better than prettier on jinja templates, I might adopt this over prettier.
It’s so easy to get out of rhythm, get busy, and drop the ball on some things that you really want to do or should do. This blog is a good example. I took some time off for some family reasons, but have taken a long time to get back to it simply because I am out of rhythm. As I am trying to get back into the rhythm there is some tooling that I have set up for it that I completely forgot about that feel good to use again. Repetitive Tasks Simple Repetitive Tasks that I have to do often can just feel soul crushing, and one main thing that got me interested in programming. AI tools are becoming more and more useful at solving these problems. For instance code generation tools like co-pilot or codeium are really good at boilerplate and pattern repetition. Things that used to be a few vim macros is now just banging on tab. I often look for setting up templates or some sort of snippet to replace a big chunk of boilerplate that I know I will need over and over. timebox Don’t be afraid to give…
</> htmx ~ The disable-element Extension htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypert... v1.htmx.org An extension to disable elements during flight of an htmx request, Looks super useful for things like a create or delete button where the server would end up with an error if you double delete or double create. This eliminates an error path that the user might see under normal use of the ui.
</> htmx ~ hx-indicator Attribute The hx-indicator attribute in htmx allows you to specify the element that will have the `htmx-request` class added to it for the duration of the request. This can be used to show spinners or progre... htmx.org The class is added to elements. You can target this css selector to create loading state throbbers. By default the target element will the, but you can use the typical htmx css selector to select which element will recieve the class while the request is running. The only way to override the name of the class is through config.
Prime concisely made sense of why htmx is so awesome compared to what has become modern reactive web dev in 2 minutes. I had never thought of it this way and it’s incredible. One thing I have comepletely missed out on with my use of htmx is setting the disabled state while the server is working, what a genius move!
</> htmx ~ Examples ~ Updating Other Content htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypert... htmx.org Three ways to support updating other content. Fantastic article walking through the different ways to update other parts of the screen using htmx. In htmx there is no 2 way data binding, the dom is your state, and if you have elements derived from the same data on the screen in different places you need to think about how to keep them in sync.
Bigger Applications - Multiple Files - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production fastapi.tiangolo.com Fastapi lets you tag your ’s so that the swagger docs are grouped according to the router. Now all routes in will appear in the router group in the swagger docs.
Preline UI Docs | Free Tailwind CSS Component Library Quickly set up Preline UI for Tailwind CSS with installation docs, JavaScript setup, component examples, themes, and framework guides. Preline · preline.co Tailwind css component library. There are many examples with copy and pastabily with the tailwind classes already setup.
Tailwind CSS Cheat Sheet Cheat sheet to learn Tailwind CSS quickly. Browse and search all Tailwind utility classes or CSS properties on one page. nerdcave.com A nice searchable cheatsheet for tailwindcss classes.
cURL Command Without Using Cache | Baeldung on Linux A quick and practical guide to using curl without cache. Baeldung on Linux · baeldung.com Busting cache with curl. I’m not sure how much gets cached by curl, but I have ran into several cases where I am looking for new content and I want to ensure the content is new and no chance of being cached. This article suggests 3 different techniques.
GitHub - sharkdp/bat: A cat(1) clone with wings. A cat(1) clone with wings. Contribute to sharkdp/bat development by creating an account on GitHub. GitHub · github.com Bat is my favorite pager, its the one for me that seems to just work more than the rest. colors, syntax highlighting, line numbers search, it just feels the most natural.
Check out server-hot-reload by mikeckennedy. It’s a well-crafted project with great potential. Include in your web projects for dev-time auto reloading of web browser when any change is detected in content.
sqlite_utils Python library - sqlite-utils sqlite-utils.datasette.io sqlite-utils is primarily a cli tool for sqlite operations such as enabling full text search, and executing searches, but it also has a nice python api that is exposed and pretty straightforward to use. This returns a generator object that you can iterate over the row objects with.
External Link levelup.gitconnected.com Use prettier to format all files in a directory. By default prettier does not write, it just echos out the format that it would do. Give it the and it will write the changes to the files. I just used this on my thoughts repo.
GitHub - simonw/datasette-render-markdown: Datasette plugin for rendering Markdown Datasette plugin for rendering Markdown. Contribute to simonw/datasette-render-markdown development by creating an account on GitHub. GitHub · github.com datasette really does everything doesn’t it!
GitHub - simonw/shot-scraper: A CLI utility for taking screenshots of websites, recording video demos and scraping sites using JavaScript A CLI utility for taking screenshots of websites, recording video demos and scraping sites using JavaScript - simonw/shot-scraper GitHub · github.com Daaaang, this is such an elegantly simple way to get web screenshots with a cli. I was literally up and running with two commands on my arch linux machine (which it warned was unsupported by playwright). Note is a full length screenshot of the entire page. Oh and its pretty dang fast, let alone the setup time, this crushes on startup time in my attempts to use a headless browser in the past.
shot-scraper: automated screenshots for documentation, built on Playwright shot-scraper is a new tool that I’ve built to help automate the process of keeping screenshots up-to-date in my documentation. It also doubles as a scraping tool—hence the name—which I … Simon Willison’s Weblog · simonwillison.net An interesting way to build automatically annotaatd docs with arrows pointing to elements on a webpage.
I’d never given this much thought, but there are so many guides that are complete guides for beginner workflows, but once you get beyond beginner there is likely no manual for what you are trying to do in programming. There is no guide that will tell you the best way to get your companies salesforce data, alongside of the ERP data and present it to the users who need to know in a way that compels them to make the right decisions. You are going to have to build this out for yourself by piecing together knowledge about each subject.
HTML Over The Wire | Hotwire Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. hotwired.dev An alternative approach to building modern web withhout heavy js and json, but instead html over the wire, keeping the logic in the backend of rails.
How do I post form data using Curl? To post form data to the server using Curl, you can use one of two command line options: -F (--form) or -d (--data). ReqBin · reqbin.com How to pass form data with curl, give it the d.
I’m really excited about SHARK-Studio, an amazing project by nod-ai. It’s worth exploring! SHARK Studio – Web UI for SHARK+IREE High Performance Machine Learning Distribution
How to Use HTML to Open a Link in a New Tab Tabs are great, aren't they? They allow the multitasker in all of us to juggle a bunch of online tasks at the same time. Tabs are so common now that, when you click on a link, it's likely it'll ope... freeCodeCamp.org · freecodecamp.org Most of the time when creating links in html you want to maintain the default behavior, as this is what users are going to expect, but sometimes your site behaves such that it does not fit, and it does something unexpected anyways. in this case you might want to make the default behavior to open the link in a new tab rather than relying on users to control click. Use this with restraint as this can make your site feel janky and do things that do not feel natural to the web.
Create Models with a Many-to-Many Link - SQLModel SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness. sqlmodel.tiangolo.com Creating many to many relationships with sqlmodel requires a LinkTable Model. The link model will keep track of the linked id’s between each of the models.
External Link stackoverflow.com I went down the route of leveraging the extention in htmx, but later realized that this completely breaks browsers/users who do not wish to use javascript. While most of the web would feel quite broken with javascript disabled, I don’t want to contribute to that without good reason. Taking a second look into this issue, rather than using, and using as_form to get form data into a model keeps the nice DX fo everything being a pydantic model, but the site still works without js. with js htmx kicks in, you get a spa like experience by loading partials onto the page, and without, you just get a full page reload. the implementation copied from https://stackoverflow.com/questions/60127234/how-to-use-a-pydantic-model-with-form-data-in-fastapi And the usage looks like
GitHub - chebykinn/sedmario: NES Super Mario Bros level 1 written in pure sed! NES Super Mario Bros level 1 written in pure sed! Contribute to chebykinn/sedmario development by creating an account on GitHub. GitHub · github.com 🤯 NES Super Mario Bros level 1 written in pure sed, this is madmess.
External Link github.com neovim stopped formatting on save for me awhile ago and I have just been dealing with it. looks like there may have been an api change, idk. I had to make this update.4
`ValueError: Constraint must have a name` in alembic 1.10.0 · Issue #1195 · sqlalchemy/alembic Describe the bug ValueError: Constraint must have a name in alembic 1.10.0. Expected behavior Migration succeeds. To Reproduce Please try to provide a Minimal, Complete, and Verifiable example, wit... GitHub · github.com After a nasty time with alembic upgrades, thoughts is about to get a new users table. This may have came from incorrectly setting up alembic for sqlite from the start, but I was able to fix the issue with this GitHub issue. The change I needed to make to get my migration to run.
![[None]] Since using alembic I have been just running out a new revision checking its content and deleting it if its empty, today I learned there is an command to check for operations that need to be created.
API — Jinja Documentation (3.1.x) jinja.palletsprojects.com 🤯 jinja comes with a loader to templates! Defihnitely need to look at this for, as is till one of the biggest hot spots.
API — Jinja Documentation (3.1.x) jinja.palletsprojects.com I’ve definitely been missing out on setting up a proper jinja loader on a few projects, I need to lean on this a bit more. The path can be relative or absolute. Relative paths are relative to the current working directory.
GitHub - wagoodman/dive: A tool for exploring each layer in a docker image A tool for exploring each layer in a docker image. Contribute to wagoodman/dive development by creating an account on GitHub. GitHub · github.com Really cool tui to inspect docker imaages that runs with docker.
Gzip/Brotli Compression Test | GiftOfSpeed Check if Gzip or Brotli compression is working on your website. giftofspeed.com A nice tool to check compression on a public url.
Read a Range of Data - LIMIT and OFFSET - SQLModel SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness. sqlmodel.tiangolo.com Implement paging in sqlmodel with where, limit, and offset.
DuckDB vs. MotherDuck: When to Move to the Cloud | Kestra DuckDB is fast and free. MotherDuck adds cloud storage, collaboration, and scale. Here kestra.io duckdb is a new in process database that has been making its rounds in analytics for its high performance in those applications. Mother duck is a centeralized server that brings manages storage, data sharing and an ide to duckdb.
Textual - Center things Textual is a TUI framework for Python, inspired by modern web development. Textual Documentation · textual.textualize.io How to center things in textual. Textual has a very unique way of styling text user interfaces for the terminal using css. If you know css it feels natural. @willmcgugan, has put together a great article on how to center things in textual here the final result
GitHub - kndndrj/nvim-dbee: Interactive database client for neovim Interactive database client for neovim. Contribute to kndndrj/nvim-dbee development by creating an account on GitHub. GitHub · github.com A neovim database client that I need to check out.
Relocating the Docker root directory If the space in the file system where the Docker root directory is located is not adequate and cannot be increased, you must relocate the directory. ibm.com A very straightforward guide to moving your docker data, such as container storage to a different location. In my case I wanted it off of my boot drive.
GitHub - containers/aardvark-dns: Authoritative dns server for A/AAAA container records. Forwards other request to host's /etc/resolv.conf Authoritative dns server for A/AAAA container records. Forwards other request to host's /etc/resolv.conf - containers/aardvark-dns GitHub · github.com I ran into some dns issues while running podman on arch, aparantly I had missed an optional dependency of aardvark-dns for container to container dns resolution.
Podman - ArchWiki wiki.archlinux.org I kept running into limits in the number of subuid and subgid’s I had on my system by default. As always thank the arch wiki guide for having the most comprehensive yet consice guide to setup podman. What I needed to do to fix the error.
TestDisk Step By Step CGSecurity · cgsecurity.org is an amazing command line utility (interactive tui) that just saved me a hard drive that was filled with data, but every machine that I plugged it into told me that it was completely unpartitioned.
Textual - Using Rich Inspect to interrogate Python objects Textual is a TUI framework for Python, inspired by modern web development. Textual Documentation · textual.textualize.io I love rich inspect. It’s one of my most often used features of rich. It gives you a great human readable insight into python object instances. I have a pyflyby entry for it so that I can just run it ang get automatic imports. To not clash with the standard library inspect, which is quite useful on it’s own, I have aliased it to.
Reasons to avoid Javascript CDNs Wesley Aptekar-Cassels · blog.wesleyac.com And this is why we don’t run cdn in prod, respect your users who can’t control where the assets are stored. There are so many fast static hosting providers out there, if you are worried about performance reasons use one of those to self host.
How to Manage 'Systemd' Services and Units Using 'Systemctl' in Linux Systemctl is a systemd utility which is responsible for Controlling the systemd system and service manager. Systemd is a collection of system management daemons, utilities and libraries which serve... How to Manage ‘Systemd’ Services and Units Using ‘Systemctl’ in Linux · tecmint.com A fantastic overview of the systemd cli.
How to fix ZFS pool not importing at boot You have probably tried Stack Exchange and reddit at this point, so what do you have to lose?./techtipsy · ounapuu.ee Hacky solution to get to work on boot right away. This has been an issue that has plagued my system for months and no matter what dependencies I add in it never works, but adding a sleep as ExecStartPre did the trick.
External Link stackoverflow.com In flask apps I often get a 404 for routes with a trailing slash. This Stack Overflow post shows how to configure flask to allow trailing slashes on some or all routes.
Deleting Specific Lines in a File with sed or yq — Nick Janetakis We Nick Janetakis · nickjanetakis.com sed can be a tricky beast, I often stumble when trying to pipe into it. Next time I need to use sed, I should reference this article by Nick Janetakis. He makes it looks much easier than my experience has been, and it appears to behave like a vim substitution does, or a g command.
External Link htmx.org json-enc extension converts url encoded form values into json encoded data, this is very useful for fastapi to have the same interface for htmx and curl type of interfaces.
Header Parameters - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production fastapi.tiangolo.com Getting request headers in fastapi has a pretty nice stetup, it allows you to get headers values as function arguments, I was able to use headers to detect if a request was made from htmx or not. If the request was made from htmx, then we want a html format, otherwise I’m probably hitting the api programatically from something like or
GitHub - 1j01/textual-paint::art: MS Paint in your terminal.:art: MS Paint in your terminal. Contribute to 1j01/textual-paint development by creating an account on GitHub. GitHub · github.com 1j01 created a complete working clone of ms paint in the terminal using the textual framework. It’s incredible.
Dear Red Hat… featuring Jeff Geerling (Changelog & Friends #7) Red Hat's decision to lock down RHEL sources behind a subscription paywall was met with much ire and opened opportunity for Oracle to get a smack in and SUSE to announce a fork with $10 million beh… Changelog · changelog.com Loved this explanation about all the recent lock down with RHEL from Jeff Geerling.
sqlite-utils now supports plugins sqlite-utils 3.34 is out with a major new feature: support for plugins. sqlite-utils is my combination Python library and command-line tool for manipulating SQLite databases. It recently celebrated... Simon Willison’s Weblog · simonwillison.net As the title states sqlite-utils now supports plugins. I dug in just a bit and Simon implemented this completely with entrypoints, no framework or library at all.
Form Data - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production fastapi.tiangolo.com Getting form data inside of fastapi was not intuitive to me at first. Everything I had used in fastapi leaned on pydantic models. Form data comes in differently and needs collected differently.
Usage | pywebview Build GUI for your Python program with JavaScript, HTML, and CSS pywebview.flowrl.com I am creating this post from a desktop app that I created in 3 lines.
Column INSERT/UPDATE Defaults — SQLAlchemy 1.4 Documentation docs.sqlalchemy.org sqlalchemy server_defaults end up as defaults in the database when new values are inserted.
Template Designer Documentation — Jinja Documentation (3.1.x) jinja.palletsprojects.com A feature of jinja that I just discovered is including sub templates. Here is an example from the docs. And inside of my thoughts project I used it to render posts. note that post_item. html automatically inherits the post variable.
Templates - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production fastapi.tiangolo.com A guide to add Jinja2Templates to fastapi.
</> htmx ~ Documentation htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypert... htmx.org A complete reference of all of the htmx swapping methods.
External Link stackoverflow.com I am trying to use htmx on a new fastapi site for my thoughts, and have been hitting this error. What is happening I have an htmx component that gets the current users name, but if they are not logged in the backend redirects to a login form. But for some reason when the front end gets this redirect, it tries to do it through http, and flags it as insecure. The solution To solve this issue, the post directs to set the to ‘*’
gistfile1.txt text [registries.search] registries = ['docker.io'] functions. You might get errors like: Various documentation (redhat blog entries, pages) say that dockerhub is a default, but without this step it’s clearly not. By default podman will not pull images from docker.io and will need setup. This guide worked for me.
External Link htmx.org Using templates with htmx requires the client-side-templates extension, and the template engine to be loaded in a tag. example htmx using templates.
Static Files - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production fastapi.tiangolo.com Mounting static files in fastapi.
First-class session support in FastAPI · Issue #754 · fastapi/fastapi Is your feature request related to a problem All of the security schemas currently supported by FastAPI rely on some sort of "client-server synergy", where, for instance, the client is expected to... GitHub · github.com Here is a snippet provided by @tiangolo to store the users jwt inside of a session cookie in fatapi. This was written in feb 12, 2020 and admits that this is not a well documented part of fastapi. It’s already in place. More or less like the rest of the security tools. And it’s compatible with the rest of the parts, integrated with OpenAPI (as possible), but probably most importantly, with dependencies. It’s just not properly documented yet. 😞 But still, it works 🚀 e.g.
Redirecting… duckdb.org To persist data in duckdb you need to first make a connection to a duck db database. Then work off of the connection rather than.
Redirecting… duckdb.org duckdb can just query any pandas dataframe that is in memory. I tried running it against a list of objects and got this error. Great error message that gives me supported types right in the message.
pytest-subtests unittest subTest() support and subtests fixture PyPI · pypi.org pytest-subtests is a package to register multiple subtests within a similar test function.
![[None]] When setting up a new machine, vm, docker image you might be installing command line tools from places like pip. They will often put executables in your directory, but by default your shell is not looking in that directory for commands. To solve this you need to add that directory to your $PATH. To make this change permanant add this line to your shell’s init script, which is likely something like or.
GitHub - doyensec/wsrepl: WebSocket REPL for pentesters WebSocket REPL for pentesters. Contribute to doyensec/wsrepl development by creating an account on GitHub. GitHub · github.com Very inspiring textual project to check out how they set up the ui. Their intro video has a pretty epic dev experience.
https://t.co/km5m7k6Pb0 #doyensec #appsec #websockets #burpsuite" loading=“lazy”> Doyensec (@Doyensec) on X Announcing wsrepl, the WebSocket testing tool from Doyensec! This intuitive tool is super easy to use and makes automation around WebSockets simple! Check out our blog for the details and download… X (formerly Twitter) · twitter.com wsrepl is an epic websocket repl built in python on the textual framework.
Filter Data - WHERE - SQLModel SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness. sqlmodel.tiangolo.com When fetching pydantic models from the database with sqlmodel, and you cannot select your item by id, you probably need to use a where clause. This is the sqlmodel way of doing it. Here is a snippet of how I am using sqlmodel select and where to find a post by link in my thoughts database.
URL Decoding query strings or form parameters in Python | URLDecoder URL Decode online. URLDecoder is a simple and easy to use online tool for decoding URL components. Get started by typing or pasting a URL encoded string in the input text area, the tool will automa... urldecoder.io In order to turn url encoded links back into links that I would find in the database of my thoughts project I need to urldecode them when they hit the api. When anything hits the api it must urlencode the links in order for them to be sent correctly as data and not get parsed as part of the url. Here is a snippet of how I am using urlib.parse.unquote to un-encode encoded urls so that I can fetch posts from the database.
encodeURIComponent() - JavaScript | MDN The encodeURIComponent() function encodes a URI by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character (will... MDN Web Docs · developer.mozilla.org In order to send data that includes special characters such as in a url you need to url encode it. You have probably seen these many times in urls with things like %20 for spaces. I’m working on a chrome extension to make quick blog posts, like thoughts or a persistent bookmark tool with comments. The backend is written in fastapi and when I check to see if I have a post for a page I need to url encode it. curl example generated from the fastapi swagger docs. Here is how I used javascript’s to turn my chrome extension into a notification when I already have a post for the current page.
🛠️ Installation | LazyVim You can find a starter template for LazyVim here lazyvim.org Lately in 2023 I have been leaning on lazyvim for my new setups where I am not necessarily ready to drop my full config. It’s been pretty solid, and comes with a very nice setup out of the box, the docs are pretty fantastic as well.
Prime reviews an article with some hot takes about python being slow and quirky, but good enough for a lot of things. Especially data applications that have libraries written in C.
@changelog) on X — 🗣️ @kelseyhightower on his demos: That happy path gets people out of their chairs. They’re going back to the computer, like: “Yo, I’m gonna try it right now.” Come on… I’d rather have that. And I’ll take the bit of criticism that comes with it." loading=“lazy”> Changelog ( @changelog) on X 🗣️ @kelseyhightower on his demos: That happy path gets people out of their chairs. They’re going back to the computer, like: “Yo, I’m gonna try it right now.” Come on… I’d rat… X (formerly Twitter) · twitter.com Such an inspiring clip from Kelsey Heightower. Make good shit that inspires people rather than fake ppts of how things could be.
@chriscoyier) on X — I was unaware of `text-wrap: pretty;` I knew about the (new/cool) — but sometimes that's a bit… too much. I feel like it's nice on headers but not smaller type. Here's what I mean." loading=“lazy”> Chris Coyier ( @chriscoyier) on X I was unaware of I knew about the (new/cool) — but sometimes that's a bit… too much. I feel like it's nice on headers but not smaller type. Here's w… X (formerly Twitter) · twitter.com Next time I’m working with large headers on small screens I need to try this. I always truggle to get them to look good for most text and overflow ridiculously long words correctly or at all.
sqlite-utils command-line tool - sqlite-utils sqlite-utils.datasette.io I want to like jq, but I think Simon is selling me on sqlite, maybe its just me but this looks readable, hackable, editable, memorizable. Everytime I try jq, and its 5 minutes fussing with it just to get the most basic thing to work. I know enough sql out of the gate to make this work off the top of my head
LZone LZone - Cheat Sheets for Sysadmin / DevOps / System Architecture lzone.de A nice cheat sheet for jq. jq looks so nice, but it so quickly gets overwhelming on how to select what you want. I was able to make a jq contains query.
Playing minecraft with Wyatt today he started a server all on his own and had me join. All vanilla, only one rule, underground bases. I spawned into the server and it was already night time. I gathered up some wood on my way down a tree, and was attacked by zombies before I could get any tools, so I ran up another tree and crafted a crafting table. Now to follow the rules, it’s time to head underground to build my base. I made a mistake and died, but look at this view from my respawn point.
Check out coolify by coollabsio. It’s a well-crafted project with great potential. An open-source & self-hostable Heroku / Netlify / Vercel alternative.
The next version of markata will be around a full second faster at building
it’s docs, that’s a 30% bump in performance at the current state. This
performance will come when virtual environments are stored in the same
directory as the source code.
I was looking through my profiler for some unexpected performance hits, and
noticed that the docs plugin was taking nearly a full second (sometimes
more), just to run glob.
Now glob.py from the docs plugin does not even show up in the profiler.
I opened up ipython and saw the following results. For some reason as I hit
docs.glob it was only hitting 488 ms from ipython, but it was still a massive
improvement over the original.
%timeitdocs.glob(m)# 488 ms ± 3.05 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)%timeitdocs.glob(m)# 9.37 ms ± 90.9 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
I’m really excited about gpt-engineer, an amazing project by AntonOsika. It’s worth exploring! Platform to experiment with the AI Software Engineer. Terminal based. NOTE: Very different from https://gptengineer.app
I recently discovered elia by darrenburns, and it’s truly impressive. A snappy, keyboard-centric terminal user interface for interacting with large language models. Chat with ChatGPT, Claude, Llama 3, Phi 3, Mistral, Gemma and more.
Once setup you are ready to install packages from the AUR just like the core repos.
# you can update your system using paru
paru -Syu
# you can install packages from the AUR
paru -S tailscale
paru -S prismlauncher
# even core repo packages can be installed
paru -S docker
There are other options out there, paru seemed to be the most supported at the
time I started using arch and there has been no other reason for me to change
it. It’s treated me well for nearly a year now.
Life comes in waves, and sometimes you need to set down some of your projects to focus on others. For the first part of 2023 I’ve really had a lot of family stuff to focus on, we also are pretty new homeowners and are still trying to get our new to us house cleaned up and modernized. Side Projects You can see in my growing list of repos that I have poked around on quite a few side projects over the past few months. This has been quite relaxng to me, mostly things that I use to learn from, but also a lot that are tools and things I use that bring me joy. Pydantic I haven’t wrote about it at all yet, but I have really been starting to lean into pydantic on all of these side projects. I have really been enjoying the type system. A good friend @pypeaday got me hooked and we have been throwing around this phrase that he learned from a math professor “Make it So”. The idea boils down to leveraging pydantic to make all the values you want to exist up front, or fail validation, then have no mo…
The following is a playthrough of Star Wars Text Adventure with a 10 yr old.The following is a playthrough of StarThe following is a playthrough of Star
I’m really excited about pylyzer, an amazing project by mtshiba. It’s worth exploring! A fast, feature-rich static code analyzer & language server for Python
I was reading about pydantic-singledispatch from Giddeon’s blog and found it very intersting. I’m getting ready to implement pydantic on my static site generator markata, and I think there are so uses for this idea, so I want to try it out. The Idea Let’s set up some pydantic settings. We will need separate Models for each environment that we want to support for this to work. The whole idea is to use and type hints to provide unique execution for each environment. We might want something like a path_prefix in prod for environments like GithubPages that deploy to while keeping the root at in dev. Settings Model Here is our model for our settings. We will create a CommonSettings model that will be used by all environments. We will also create a model that will be used in dev and that will be used in prod. We will use as the discriminator so pydantic knows which model to use. Singledispatch Now let’s create our function. We will use to provide a unique execution for each environment. It w…
I’m impressed by pandas-ai from sinaptik-ai. Chat with your database or your datalake (SQL, CSV, parquet). PandasAI makes data analysis conversational using LLMs and RAG.
Check out lm-sys and their project FastChat. An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.
I came across hatch-aws from trash-panda-v91-beta, and it’s packed with great features and ideas. Hatch plugin for building AWS Lambda functions with SAM
Check out fabulously-optimized by Fabulously-Optimized. It’s a well-crafted project with great potential. A simple Minecraft modpack focusing on performance and graphics enhancements.
Looking for inspiration? chatgpt_commit_message_hook by tom-doerr. Enhance your git workflow using AI-generated commit messages from ChatGPT. Seamless integration for a well-documented commit log.
If you’re into interesting projects, don’t miss out on oxen-release, created by Oxen-AI. Lightning fast data version control system for structured and unstructured machine learning datasets. We aim to make versioning datasets as easy as versioning code.
Oxen by Oxen-AI is a game-changer in its space. Excited to see how it evolves. Lightning fast data version control system for structured and unstructured machine learning datasets. We aim to make versioning datasets as easy as versioning code.
pypa has done a fantastic job with bandersnatch. Highly recommend taking a look. A PyPI mirror client according to PEP 381 http://www.python.org/dev/peps/pep-0381/
Check out WaylonWalker and their project lockhart. Lockhart is an AI-powered Python library that generates elegant and efficient code, much like the charming and deceiving wizard Gilderoy Lockhart. It allows developers to effortlessly create impressive code and deceive others with their skills, just as Gilderoy Lockhart deceives others with his charm and wizardry.
I came across nanoGPT from karpathy, and it’s packed with great features and ideas. The simplest, fastest repository for training/finetuning medium-sized GPTs.
If you’re into interesting projects, don’t miss out on RecoverPy, created by PabloLec. Interactively find and recover deleted or 👉 overwritten 👈 files from your terminal
I came across textual-autocomplete from darrenburns, and it’s packed with great features and ideas. Easily add autocomplete dropdowns to your Textual apps
Check out git-sim by initialcommit-com. It’s a well-crafted project with great potential. Visually simulate Git operations in your own repos with a single terminal command.
Quickly and easily create new versions of your Python package with the gh release
command. Get the version number, changelog, and
Releasing a new version of your Python package can be a daunting task. You need to make
sure that all the necessary files are included, and that the version number is correct.
But now, with the help of the gh release command, you can make the process much
smoother.
The gh release command allows you to quickly and easily create a new version of your
Python package. All you need to do is provide the version number, the changelog, and the
distribution files. For example, if you wanted to create a new version of your package
with the version number v1.2.3, you could use the following command:
This command will create a new version of your package with the specified version number,
and include the changelog and the distribution files. It’s a great way to make sure that
all the necessary files are included in the release, and that the version number is
correct.
The gh release command is a great tool for quickly and easily creating new versions of
your Python package. With just a few simple commands, you can make sure that all the
necessary files are included, and that the version number is correct. So if you’re looking
for an easy way to release a new version of your Python package, give the gh release
command a try.
Fix Arch Linux randomly rejecting passwords with one command. Try
‘faillock –user $USER’ to reset login counter and regain access. Quick
solution for a smooth computing"
If you’re an Arch Linux user, you may have experienced a frustrating issue
where your password is randomly not being accepted by the system. This can be a
major inconvenience and can cause a lot of frustration, especially if it
happens frequently.
The good news is that there is a simple fix for this issue. The following bash
code can be used to fix the problem:
bash faillock --user $USER
This command is used to reset the failed login count for the current user. By
running this command, you will be able to reset the system’s login counter and
regain access to your account.
It’s important to note that this command should only be used as a temporary
solution. If you find yourself frequently having to run this command, it’s
likely that there is a deeper issue with your system that needs to be
addressed.
In any case, if you’re experiencing problems with your Arch Linux system not
accepting your password, give the above command a try and see if it resolves
the issue for you.
I like sickcodes’s project Docker-OSX. Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
I’m really excited about d2, an amazing project by terrastruct. It’s worth exploring! D2 is a modern diagram scripting language that turns text to diagrams.
I came across neogen from danymat, and it’s packed with great features and ideas. A better annotation generator. Supports multiple languages and annotation conventions.
I’m really excited about mason.nvim, an amazing project by williamboman. It’s worth exploring! Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
I came across mason.nvim from mason-org, and it’s packed with great features and ideas. Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
Construction of a floating base begins on Day 16.Farm animals gathered and penned on Day 12.Beet and pumpkin farm plots prepared near the main base.Standing on Wyatt’s freshly built dock overlooking the water.Wyatt joins to conquer a zombie spawner and build a dock together.
I like sbidoul’s project hatch-pip-deepfreeze. A hatch virtual environment plugin to lock dependencies with pip-deepfreeze
Secret storage area built as part of a tiny base challenge on Day 9.Early storage silo construction begins with terraforming and chest placement.After leaving the world paused, a surprise death screen leads to a survival reset.A newly constructed animal pen expands the farm.End of Day 5 shows the finished perimeter fence and first animal pen.Start of Day 5 with work on the perimeter fence and gathering resources.
yazgoo has done a fantastic job with vmux. Highly recommend taking a look. helper for multiplexing terminals with vim/neovim
Outer perimeter fence under construction around the base during Day 4.The roofline of the base is complete and the tree farm is cleared for fresh oak and acacia saplings.Sun setting over the fresh house frame as Day 2 brings sand collection for windows.The wooden frame of the new house begins to take shape on Day 1.
Give github actions the -e flag in the shebang #! so they fail on any one
command failure. Otherwise each line will set the exit status, but only the
last one will be passed to ci.
The -e flag to the bash command allows your script to exit immediately if any
command within the script returns a non-zero exit status. This can be useful
for ensuring that your script exits with an error if any of the commands it
runs fail, which can help you identify and debug issues in your script. For
example, if you have a script that runs several commands and one of those
commands fails, the script will continue running without the -e flag, but will
exit immediately if the -e flag is present. This can make it easier to
troubleshoot your script and ensure that it runs correctly.
In windows the solution is not quite as simple. You can define a function in a
Windows batch script that wraps an if statement to check the exit status of a
command and handle any errors that may have occurred. Here is an example of how
you might define a function called “check_error” that does this:
:check_erroriferrorlevel1(echo An error occurred!
exit /b 1
)
To use this function in your script, you would simply call it after running a
command, like this:
some_command
call:check_error
This would run the “some_command” and then call the “check_error” function to
check the exit status and handle any errors that may have occurred. This
approach allows you to reuse the error-checking logic in your script, which can
make it easier to write and maintain.
Acacia biome spawn with trees and resources in a new hardcore world.
This is my first time journaling a Minecraft hardcore world, my son Wyatt is also documenting his journey in a survival world on wyattbubbylee.com. Day 0 init I logged into a brand new hardcore world. I was welcomed by a great Acacia biome spawn full of resources. I quickly cut my first tree, crafted an axe and set out to find my first sheep. I was able to find enough sheep for a bed, several cows and pigs. I crafted a set of wooden tools, and farmed out a wheat farm till my wooden hoed died at the shore of a nearby stream. I found a small stone outcropping in the side of a hill and harvested nearly a full stack of cobblestone from my first wooden pick. I ended the first day by sleeping in my bed safe from mobs. Achievements bed furnace stone wheat farm Day 1 Thoughout the course of day one I collected wood and started the framework for my new house. Day 2 Day two continued the framework of the house, and a bit of sand collection for windows. I was a bit late to bed and saw four mobs s…
Looking for inspiration? sshfs by libfuse. A network filesystem client to connect to SSH servers
I recently setup some vm’s on my main machine and got sick of signing in with
passwords.
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa.pub virt
Moving panes between tmux sessions is something that makes tmux a very flexible
and powerful tool. I don’t need this feature very often, but it comes in
clutch when you need it.
I’ve long had this one in my tmux config, I always have a “scratch” session
that I’m running, I often use for looking at things like k9s accross repos
within a popup.
This use case puts a pane into the scratch session, then pulls it back out. I
will use this to move a pane between sessions in the rare cases I need to do
this.
# push the active pane into the scratch session horizonallybind -n M-f join-pane -ht scratch
# pull the last active pane from the scratch session horizonally into this sessionbind -n M-F join-pane -hs scratch
The work on PySnooper by cool-RR. Never use print for debugging again
I just shared some ssh keys with myself and ran into this error telling me that
I did not set the correct permissions on my key.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0750for'/home/waylon/.ssh/id_*******' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/waylon/.ssh/id_*******": bad Permissions
repo: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Check out nvim by Allaman. It’s a well-crafted project with great potential. Minimal, blazingly fast, and pure Lua based Neovim configuration for my work as DevOps/Cloud Engineer with batteries included for Python, Golang, and, of course, YAML
Looking for inspiration? dotfiles by jessarcher. $HOME sweet $HOME
With the latest release of version of nvim 0.8.0 we get access to a new winbar
feature. One thing I have long wanted somewhere in my nvim is navigation for
pairing partners or anyone watching can keep track of where I am. As the
driver it’s easy to keep track of the file/function you are in. But when you
make big jumps in a few keystrokes it can be quite disorienting to anyone
watching, and having this feedback to look at is very helpful.
Then you need to use that on_attach function on all of the lsp’s that you
want navic to work on.
Then in a lua file you need to setup the winbar, for now I put this in my
lsp-config settings file, but eventually I want to move my settings to lua and
put it there.
Just starred nvim-navic by SmiteshP. It’s an exciting project with a lot to offer. Simple winbar/statusline plugin that shows your current code context
I came across pre-commit from pre-commit, and it’s packed with great features and ideas. A framework for managing and maintaining multi-language pre-commit hooks.
I really like having global cli command installed with pipx. Since textual
0.2.x (the css release) is out I want to be able to pop into textual devtools
easily from anywhere.
In order to install optional dependencies with pipx you need to first install
the library, then inject in the optional dependencies using the square bracket
syntax.
I am working through the textual tutorial, and I want to put it in a proper cli
that I can pip install and run the command without textual run --dev app.py.
This is a fine pattern, but I also want this to work when I don’t have a file
to run.
Now to get devtools through a cli without running through textual run --dev.
I pulled open the textual cli source code, and this is what it does at the time
of writing.
Note: I used sys.argv as a way to implement a --dev quickly tutorial. For a
real project, I’d setup argparse, click, or typer. typer is my go to these
days, unless I am really trying to limit dependencies, then the standard
library argparse might be what I go with.
deftui():fromtextual.featuresimportparse_featuresimportosimportsysdev="--dev"insys.argv# this works, but putting it behind argparse, click, or typer would be much betterfeatures=set(parse_features(os.environ.get("TEXTUAL","")))ifdev:features.add("debug")features.add("devtools")os.environ["TEXTUAL"]=",".join(sorted(features))app=StopwatchApp()app.run()if__name__=="__main__":tui()
The work on PrismLauncher by PrismLauncher. A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once (Fork of MultiMC)
I’m really excited about learn-cloudformation, an amazing project by widdix. It’s worth exploring! Learn how to use Infrastructure as Code on AWS with the help of CloudFormation.
For far too long I have had to fidget with v4l2oloopback after reboot. I’ve
had this happen on ubuntu 18.04, 22.04, and arch.
After a reboot the start virtual camera button won’t work, It appears and is
clickable, but never turns on. Until I run this command.
sudo modprobe v4l2loopback video_nr=10card_label="OBS Video Source"exclusive_caps=1
Today I learned that you can turn on kernel modules through some files in /etc/modules...
This is what I did to my arch system to get it to work right after boot.
echo"v4l2loopback"| sudo tee /etc/modules-load.d/v4l2loopback.conf
echo"options v4l2loopback video_nr=10 card_label=\"OBS Video Source\" exclusive_caps=1"| sudo tee /etc/modprobe.d/v4l2loopback.conf
I ran into an issue where I was unable to ask localstack for its status. I
would run the command and it would tell me that it didn’t have permission to
read files from my own home directory. Let’s fix it
It dawned on me that the first time I ran localstack was straight docker, not
the python cli. When docker runs it typically runs as root unless the
Dockerfile sets up a user and group for it.
If you have sudo access to the machine you are on you can recursively change
ownership to your user and group. I chose to just give myself ownership of my
whole ~/.cache directory you could choose a deeper directory if you want. I
feel pretty safe giving myself ownership to my own cache directory on my own
machine.
The first example that you can use right now is markata-gh. It will render
repos by GitHub topic and user using the gh cli, which is available in github
actions!
Get it with a pip install
pip install markata-gh
Use it with some jinja in your markdown.
## Markata plugins
It uses the logged in uer by default.
{% gh_repo_list_topic "markata" %}
You can more explicitly grab your username, and a topic.
{% gh_repo_list_topic "waylonwalker", "personal-website" %}
The jinja extension details are for another post, but this is how markata-gh
exposes itslef as a jinja extension.
classGhRepoListTopic(Extension):tags={"gh_repo_list_topic"}def__init__(self,environment):super().__init__(environment)defparse(self,parser):line_number=next(parser.stream).linenotry:args=parser.parse_tuple().itemsexceptAttributeError:raiseAttributeError("Invalid Syntax gh_repo_list_topic expects <username>, or <username>,<topic> both must have the comma")returnnodes.CallBlock(self.call_method("run",args),[],[],"").set_lineno(line_number)defrun(self,username=None,topic=None,caller=None):"get's markdown to inject into post"returnrepo_md(username=username,topic=topic)
In my adventure to learn django, I want to be able to setup REST api’s to feed
into dynamic front end sites. Potentially sites running react under the hood.
I already have the following model from last time I was playing with django. It
will suffice as it is not the focus of what I am learning for now.
Note the name of the model class is singular, this is becuase django will
automatically pluralize it in places like the admin panel, and you would end
up with Itemss.
fromdjango.dbimportmodels# Create your models here.classItem(models.Model):name=models.CharField(max_length=200)created=models.DateTimeField(auto_now_add=True)def__str__(self):returnf"{self.priority}{self.name}"
Next I will make some dummy data to be able to return. I popped open ipython
and made a few records.
Next we need to set up a serializer to seriaze and de-serialize data between
our model and json. You can specify each field individually or all of them by
passing in __all__.
Now we need a view leveraging the djangorestframework. The serializer we
just created will be used to serialize all of the rows into a list of objects
that Response can handle.
Note: to return a collection of model objects we need to set many to True
Markata 0.5.0 is now out, and it’s huge. Even though it’s the backend of this
blog I don’t actually have that many posts directly about it. I’ve used it a
bit for blog fuel in generic ways, like talking about pluggy and diskcache, but
very little have I even mentioned it.
Over the last month I made a big push to get 0.5.0 out, which adds a whole
bunch of new configurability to markata.
Before cutting all of my personal projects over to hatch. The first thing I
did was to setup a solid github action,
hatch-actionthat I can resue.
It automatically bumps versions, using pre-releases on all branches other than
main, with special branches for bumping major, minor, patch, dev, alha, beta,
and dev.
To convert the project over to hatch, and get rid of setup.py/setup.cfg, I ran
hatch new --init. This automatically grabs all the metadata for the project
and makes a pyproject.toml that has most of what I need.
hatch new --init
I then manually moved over my isort config, put flake8 config into .flake8,
and dropped setup.cfg.
Part of my hatch-action is to run a before-command, for markata, this runs
all of my linting and testing in one hatch script called lint-test. If this
fails CI will fail and I can read the report in the logs, make a fix and
re-publish.
My typical workflow is to work on features in their own branch where they do
not automatically version or publish, they keep the same version they were
branched off of. Then I do a pr to develop, which will do a minor,dev bump
and publish a pre-relese to pypi.
# starting with version 0.0.0
Feature1 -- │
Feature2 -- ├── dev 0.1.0.dev1,2,3 ── main 0.1.0
Feature3 -- │
I will let several features collect in develop before cutting a full relese
over to main. This gives me time to make sure the solution is what makes the
most sense, I try to use it in a few projects, and generally its edges show,
and another pr is warranted to make the feature useful for more use cases.
After running and using these new releases in a few projects, I am confident
that its ready and release to main.
hatch makes building and publishing pretty straightforward. It’s one command
inside my hatch-action to build and one to publish. On each project that uses
my hatch-action I only need to give it a token that I get from PyPi.
lkwq007 has done a fantastic job with stablediffusion-infinity. Highly recommend taking a look. Outpainting with Stable Diffusion on an infinite canvas
My next issue trying to run off of a separate domain was a cross site request
forgery error.
Since this is a valid domain that we are hosting the app from we need to tell
Django that this is safe. We can do this again in the settings.py, but this
time the variable we need is not there out of the box and we need to add it.
You might find these settings helpful as well if you are trying to run your
site on a remote host like aws, digital ocean, linode, or any sort of cloud
providor. I had it running in my home lab while I was out of the house and
ssh’d in over with a chromebook.
I am continuing my journey into django, but today I am not at my workstation. I
am ssh’d in remotely from a chromebook. I am fully outside of my network, so I
can’t access it by localhost, or it’s ip. I do have cloudflared tunnel
installed and dns setup to a localhost.waylonwalker.com.
I found this in settings.py and yolo, it worked first try. I am in from my
remote location, and even have auth taken care of thanks to cloudflare. I am
really hoping to learn how to setup my own auth with django as this is one of
the things that I could really use in my toolbelt.
ALLOWED_HOSTS=['localhost.waylonwalker.com']
I have no experience in django, and in my exploration to become a better python
developer I am dipping my toe into one of the most polished and widely used web
frameworks Django to so that I can better understand it and become a better
python developer.
If you found this at all helpful make sure you check out the django tutorial
The first thing I need to do is render out a template to start the project.
For this I need the django-admin cli. To get this I am going the route of
pipx it will be installed globally on my system in it’s own virtual
environment that I don’t have to manage. This will be useful only for using
startproject as far as I know.
pipx install django
django-admin startproject try_django
cd try_django
Once I have the project I need a venv for all of django and all of my
dependencies I might need for the project. I have really been diggin hatch
lately, and it has a one line “make a virtual environment and manage it for
me” command.
hatch shell
If hatch is a bit bleeding edge for you, or it has died out by the time you
read this. The ol trusty venv will likely stand the test of time, this is what
I would use for that.
Next up we need to start the webserver to start seeing that development
content. The first thing I did was run it as stated in the tutorial and find
it clashed with a currently running web server port.
python manage.py runserver
I jumped over to that tmux session, killed the process and I was up and running.
I opened up the urls.py to discover that the only configured url was at
/admin. I tried to log in as admin, but was unable to as I have not yet
created a superuser. Next time I play with django that is what I will explore.
While updating my site to use Markata’s new configurable head I ran into some
escaping issues. Things like single quotes would cause jinja to fail as it was
closing quotes that it shouldnt have.
Jinja comes with a handy utility for escaping strings. I definitly tried to
over-complicate this before realizing. You can just pipe your variables into
e to escape them. This has worked pretty flawless at solving some jinja
issues for me.
The issue I ran into was when trying to setup meta tags with the new
configurable head, some of my titles have single quotes in them. This is what
I put in my markata.toml to create some meta tags.
[[markata.head.meta]]name="og:title"content="{{ title }}"
Using my article titles like this ended up causing this syntax error when not
escaped.
After making a complicated system of using html.escape I realized that jinja
included escaping out of the box so I updated my markata.toml to include the
escaping, and it all just worked!.
Check out gradio-app and their project gradio. Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
When I am developing python code I often have a repl open alongside of it
running snippets ofcode as I go. Ipython is my repl of choice, and I hace
tricked it out the best I can and I really like it. The problem I recently
discovered is that I have way overcomplicated it.
So in the past the way I have setup a few extensions for myself is to add
something like this to my ~/.ipython/profile_default/startup directory. It
sets up some things like rich highlighting or in this example automatic
imports. I even went as far as installing some of these in the case I didn’t have them installed.
I missed the fact that some of these tools like pyflyby and rich already
have an ipython extension maintained by the library that just works. It’s less
complicated and more robust to future changes in the library. If anything ever
changes with these I will not have to worry about which version is installed,
the extension will just take care of itself.
The issue that I found with this is that you can end up with a sea of errors
flooding your terminal. Personally I will know immediately if ipython is
working right or not and typically have scriped venv installs so I have
everything I need, so If I don’t have everything it’s probably for a reason and
I don’t need an error message lighting up.
My way around this was to test if the module was importable and if it had a
load_ipython_extension attribute before appending it as an extension.
defactivate_extension(extension):try:mod=importlib.import_module(extension)getattr(mod,"load_ipython_extension")c.InteractiveShellApp.extensions.append(extension)exceptModuleNotFoundError:"extension is not installed"exceptAttributeError:"extension does not have a 'load_ipython_extension' function"extensions=["rich","markata","pyflyby"]forextensioninextensions:activate_extension(extension)
Just starred markata-todoui by WaylonWalker. It’s an exciting project with a lot to offer. A todo plugin for markata. It is a tui (text user interface) that runs in the terminal using textual. It gives me a trello-board feel from the terminal. I can create, update, delete, move, and fully manage my todo items from the terminal with it.
I recently discovered cmp-nvim-lsp-signature-help by hrsh7th, and it’s truly impressive. cmp-nvim-lsp-signature-help
A long needed feature of markata has been the ability to really configure out
templates with configuration rather. It’s been long that you needed that if
you really want to change the style, meta tags, or anything in the head you
needed to write a plugin or eject out of the template and use your own.
If this does not take you far enough yet, you can still eject out and use your
own template pretty easy. If you are going for a full custom site it’s likely
that this will be the workflow for awhile. Markata should only get better and
make this required less often as it matures.
I recently discovered stable-diffusion-videos by nateraw, and it’s truly impressive. Create 🔥 videos with Stable Diffusion by exploring the latent space and morphing between text prompts
Looking for inspiration? markata-slides by WaylonWalker. A slides plugin for markata that allows you to create presentations in markdown from the comfort of your favorite editor. Each new h2 tag (## in markdown) becomes a new slide. This plugin leverages the built-in feeds plugin for navigation, and adds in some hotkeys (j/k) to go the the previous and next slides.
I’m really excited about small-group-notes, an amazing project by pypeaday. It’s worth exploring! Landing zone for small group notes - plan is to make this a nicer website for all things small group related
I’m really excited about meetgor.com, an amazing project by Mr-Destructive. It’s worth exploring! My Personal Blog and Portfolio made with Markata SSG and Python
Looking for inspiration? ansible-language-server by ansible. 🚧 Ansible Language Server codebase is now included in vscode-ansible repository
I’m really getting into using hatch as my go to build system, and I am really
liking it so far. I am slowly finding new things that just work really well.
hatch new is one of those things that I didn’t realize I needed until I had
it.
creating new versions created by myself with stable diffusion
❯ pipx run hatch new --help
Usage: hatch new [OPTIONS] [NAME] [LOCATION]
Create or initialize a project.
Options:
-i, --interactive Interactively choose details about the project
--cli Give the project a command line interface
--init Initialize an existing project
-h, --help Show this message and exit.
Note! I am running all of these commands with pipx. I like to use pipx for
all of my system level cli applications. To emphasis this point in the
article I am going to use pipx run hatch, but you can pipx install hatch
then just run hatch from there.
hatch new has an --init flag in order to initialize a new hatch
pyproject.toml in an existing project. This feels like it would be useful if
you are converting a project to hatch, or if like me you sometimes start making
something before you realize it’s something that you want to package. Honestly
this doesn’t happen too much anymore I package most things, and I hope hatch new completely breaks this habbit of mine.
I’ll dive more into environments and the run command later, but we can run the
cli pretty damn quick with two commands. In under 5s I was able to run this cli
that it created. This is a pretty incredible startup time.
Hatch has an amazing versioning cli for python packages that just works. It
takes very little config to get going and you can start bumping versions
without worry.
creating new versions created by myself with stable diffusion
The main hero of this post is the pyproject.toml. This is what defines all
of our PEP 517 style project setup.
[project]name="pkg"description="Show how to version packages with hatch"readme="README.md"dynamic=["version",][build-system]requires=["hatchling>=1.4.1",]build-backend="hatchling.build"[tool.hatch.version]path="pkg/__about__.py"
It is possible to set the version number inside the pyproject.toml
statically. This is fine if you just want to version your package manually,
and not through the hatch cli.
[project]name="pkg"version="0.0.0"# ...
Statically versioning in pyproject.toml will not work with hatch version
Cannot set version when it is statically defined by the `project.version` field
Setting the project verion dynamically can be done by changing up the following
to your pyproject.toml. Hatch only accepts a path to store your version. If
you need to reference it elsewhere in your project you can grab it from the
package metadata for that file. I would not put anything else that could
possibly clash with the version, as you might accidently change both things.
If you really need to set it in more places use a package like bump2version.
The hatch project itself uses a
about.py
to store it’s version. It’s sole content is a single __version__ variable. I
don’t have any personal issues with this so I am going to be following this in
my projects that use hatch.
Hatch has a pretty intuitive versioning api. hatch version gives you the
version. If you pass in a version like hatch version "0.0.1" it will set it
to that version as long as it is in the future, otherwise it will error.
# print the current versionhatch version
# set the version to 0.0.1hatch version "0.0.1"
# minor bumphatch version minor
# beta pre-release bump# If published to pypi this can be installed with the --pre flag to piphatch version b
# bump minor and betahatch version minor,b
# release all of the --pre-release flags such as alpha beta rchatch release
In my github actions flow I will be utilizing this to automate my versions. In
my side projects I use the develop branch to release –pre releases. I have
all of my own dependent projets running on these –pre releases, this allows me
to cut myself in my own projects before anyone else. Then on main I
automatically release this beta version.
Here is what the ci/cd for markata looks like. There might be a better
workflow strategy, but I use a single github actions workflow and cut branches
to release –pre releases and full release. These steps will bump, tag,
commit, and deploy for me.
- name:automatically pre-release develop branchif:github.ref == 'refs/heads/develop'run:| git config --global user.name 'autobump'
git config --global user.email '[email protected]'
VERSION=`hatch version`
# if current version is not already beta then bump minor and beta
[ -z "${b##*`hatch version`*}" ] && hatch version b || hatch version minor,b
NEW_VERSION=`hatch version`
git add markta/__about__.py
git commit -m "Bump version: $VERSION → $NEW_VERSION"
git tag $VERSION
git push
git push --tags- name:automatically release main branchif:github.ref == 'refs/heads/main'run:| git config --global user.name 'autobump'
git config --global user.email '[email protected]'
VERSION=`hatch version`
hatch version release
NEW_VERSION=`hatch version`
git add markta/__about__.py
git commit -m "Bump version: $VERSION → $NEW_VERSION"
git tag $VERSION
git push
git push --tags- name:buildrun:| python -m build- name:pypi-publishif:github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'uses:pypa/[email protected]with:password:${{ secrets.pypi_password }}
I am setting up a github custom action
waylonwalker/hatch-version-action
that will lint, test, bump, and publish for me in one step. More on that in
the future.
Just starred cloak.nvim by laytan. It’s an exciting project with a lot to offer. Cloak allows you to overlay *’s over defined patterns in defined files.
Markata is a great python framework that allows you to go from markdown to a
full website very quickly. You can get up and running with nothing more than
Markdown. It is also built on a full plugin architecture, so if there is extra
functionality that you want to add, you can create a plugin to make it behave
like you want.
The talk is live on YouTube. Make sure you check out the other videos from the
conference. There were quite a few quality talks that deserve a watch as well.
Markata I open sourced the static site framework that I use to build my-blog among other side projects. It’s a plugins all the way down static site generator, that makes me happy to use. {% gh_repo_list_topic “waylonwalker”, “markata” %} Repos used to build this blog my-blog is built on a number of small repos. I set it up this way so that creating content is fast and easy to do. I don’t have to worry about carrying around large images with my lightweight text files just to make some posts. {% gh_repo_list_topic “waylonwalker”, “personal-website” %} Kedro I am a heavy user of the kedro framework, and a big advocate for using some sort of DAG framework for your data pipelines. kedro is built all in python which makes it easy for a python dev like me to extend, run, maintain, and deploy. {% gh_repo_list_topic “waylonwalker”, “kedro” %} Neovim Plugins I use vim for all of my text editing needs. It brings me joy to make any part of it just a bit smoother. I have written a few plugins that…
I spoke at python webconf in March 2022 about how I deploy this blog on a
continuous basis.
Building this blog has brought me a lot of benefits. I have
a set of custom curated notes to help describe a problem and how to solve it to
me. At theis point it’s not uncommon to google an Issue I am having and
finding my own blog with exactly the solution I need at the top.
I also bump into people from time to time that recognize me from the blog, its
a nice conversation starter, and street cred.
The talk recently released on Youtube, you can watch it without having a ticket
to the conference for free. There were a bunch of other talks that you should
check out too!
rofi-network-manager by P3rf is a game-changer in its space. Excited to see how it evolves. A manager for network connections using bash, rofi, nmcli,qrencode.
I got all the pypi packages that I own behind 2 factor authentication. 💪
Recently this really made it’s rounds in the python news since pypi was
requiring critical package maintainers to have 2FA on and even offering them
hardware tokens to help them turn this on.
I feel like this caused a bit of confusion as turning on 2FA does not mean that
you need to do anything different to deploy a package, and it DOES NOT
require a hardware token. You can continue using your favorite 2FA app.
You might wonder what this means for my projects. It means that to edit any
sensitive content such as pull a new api token, add/remove maintainers, or
deleting a release I need to use a TOPT (time based one time password)
application such as Google Authenticator, Microsoft Authenticator, Authy, or
FreeOTP.
This has very little change to my overall workflow as my CI system still
automatically deploys for me with the same api token as before.
This is one small thing that maintainers can do to prevent supply chain attacks
on their projects that they put so much work into.
Once I turned on 2FA for my account I could then turn on 2FA requirement for
each project. I am not sure how much safety there is in pypi, it might require
all maintainers to have it turned on before it allows packages to have it
turned on.
Once turned on it requires anyone who maintains the project to have 2FA on to
be able to edit any sensitive content.
After years of listening to talkpython.fm I had the honor to be part of episode-337 to talk about Kedro for maintainable data science. I was quite nervous to talk on a show that I helped shape my career in such a profound way. I started my journey towards software engineering near Michaels first few episodes. His discussions with such great developers over the years has made an huge impact on my skill. It has always given me great advice and topics to go deeper on. During the episode I tried my best to let Yetu and Ivan take the spotlight as the maintainer and chime in with my experience as a user of kedro. Video Version https://youtu.be/WTcjvwkXoY0 Michael made the call available on youtube as well as the audio only podcast
Check out squidfunk and their project mkdocs-material. Documentation that simply works
I just love how some features of vim are so discoverable and memorable once you
really start to grasp it. Sorting and uniqing your files or ranges is one of
those examples for me.
" sort the file:sort" sort the file only keeping unique lines:sortu" sort a range:'<,'>sort" sort a range only keeping unique lines:'<,'>sortu
I recently used this to dedupe my autogenerated links section for
rich-syntax-range-style.
More often I am using it to sort and uniqify objects like arrays and lists.
Today I’ve been playing with
py-tree-sitter a bit and I
wanted to highlight match ranges, but was unable to figure out how to do it
with rich, so I reached out to
@textualizeio for help.
Now we need some code to highlight. I am going to rip my register_pipeline
from another post.
code='''
from find_kedro import find_kedro
def register_pipelines(self) -> Dict[str, Pipeline]:
"""Register the project's pipeline.
Returns:
A mapping from a pipeline name to a ``Pipeline`` object.
"""
return find_kedro()
'''
Now we can start highlighting lines right when we initialize our Syntax
instance. It looks ok. It’s not super visible, but more importantly its not
granular enough. I want to highlight specific ranges like the word
register_pipelines.
I needed to delete all build pipeline steps that were named upload docs. I
currently have about 60 projects running from the same template all running
very similar builds. In the past I’ve scripted out migrations for large
changes like this, they involved writing a python script that would load the
yaml file into a dictionary, find the corresponding steps make the change and
write it back out.
Today’s job was much simplar, just delete the step, were all steps are
surrounded by newlines. My first thought was to just open all files in vim and
run dap. I just needed to get these files:positions into my quickfix. My
issue is that all the builds reside within hidden directories by convention.
After searching through all the projects it was clear that all the steps were
in their own paragraph, though I was not 100% confident enough to completely
automate it, and the word upload docs was in the paragraph.
Templates are amazing, and tools like cookiecutter and copier are essential in
my workflow, but those templates change over time. Some things are a constant,
and others like this one are an ever evolving beast until they are tamed into
something the team is happy with.
I know all the files that I care to search for are called build.yml, and they
are in a hidden directory.
:args `fd -H build.yml`
:vimgrep /upload docs/ ##
Once opened as a buffer by using args, and a handy fd command I can vimgrep
over all the open buffers using ##
Open buffers are represented by ##
Now I can just dap and :cnext my way through the list of changes that I
have, and know that I hit every one of them when I am at the end of my list.
And can double check this in about 10s by scrolling back through the quickfix
list.
You’re not a true vim enthusiast until you have spent 10 minutes writing a blog
post about how vim saved you 5 minutes. Check out all the other times this has
happened to me in the vim tag.
a sprinter edging out his opponent by Dall-e
It’s about time to release Markata 0.3.0. I’ve had 8 pre-releases since the
last release, but more importantly it has about 3 months of updates. Many of
which are just cleaning up bad practices that were showing up as hot spots on
my pyinstrument reports
Markata started off partly as a python developer frustrated with using nodejs
for everything, and a desire to learn how to make frameworks in pluggy. Little
did I know how flexible pluggy would make it. It started out just as my blog
generator, but has turned into quite a bit more.
Over time this side project has grown some warts and some of them were now
becoming a big enough issue it was time to cut them out.
I like to use my tils articles for examples and tests like this as there are
enough articles for a good test, but they are pretty short and quick to render.
mkdir ~/git/tils/tils
cp ~/git/waylonwalker.com/pages/til/ ~/tils/tils -r
cd ~/git/tils/tils
python3 -m venv .venv --prompt $(basename $PWD)# --pre installs pre-releases that include a b in their version namepip install markata --pre
markata clean
markata build
These measurements were taken with pyinstrument mostly out of convenience since
there is already a pyinstrument hook built in, but also because I like
pyinstrument.
Here is the pyinstrument report from the last run.
Most of these changes revolve in how the lifecycle is ran. It was trying to be
extra cautious and run previous steps for you if it thought it might be
needes, in reality it was rerunning a few steps multiple times no matter what.
The other thing I turned off by default, but can be opted into, is
beautifulasoup’s prettify. That was one of the slower steps ran on my site.
It should be out by the time you see this, I wanted to compare the changes I
had made and make sure that it was still making forward progress and thought I
would share the results.
People exceptionally talented in the Deliberative theme are best described by
the serious care they take in making decisions or choices. They anticipate
obstacles.
I am risk-adverse. I want everything well thought out and calculated before I
make any sort of change. I have never gambled in my life and just the thought
of it makes me anxious.
One of the biggest ways that I utilize this skill is automation. I am all
about automating things, not just because I don’t want to do the manual work,
but I am not sure when I am going to need to do something again.
Check out archlinux and their project aur. ⚠️⚠️Experimental aur. git mirror⚠️⚠️ (read-only mirror)
A common meta thing that I need in python is to find the version of a package.
Most of the time I reach for package_name.__version__, but that does not
always work.
In searching the internet for an answer nearly every one of them pointed me to
__version__. This works for most projects, but is simply a convention, its
not required. Not all projects implement a __version__, but most do. I’ve
never seen it lie to me, but there is nothing stopping someone from shipping
mismatched versions.
While its not required its super handy and easy for anyone to remember off the
top of their head. It makes it easy to start debugging differences between
what you have vs what you see somewhere else. You can do this by dropping a
__version__ variable inside your __init__.py file.
Your next option is to reach into the package metadata of the package that you
are interested in, and this has changed over time as highlighted in the stack
overflow post.
for Python >= 3.8:
from importlib.metadata import version
version('markata')
# `0.3.0.b4`
I only really use python >= 3.8 these days, but if you need to implement it for
an older version check out the stack overflow post.
Well we have a cli tool that wraps around piptools and we wanted to include the
version of piptools in the comments that it produces dynamically. This is why
I wanted to dynamically grab the version inside python without shelling out to
pip show. Now along with the version of our internal tool you will get the
version of piptools even though piptools does not ship a __version__
variable.
In the end, I am glad I learned that its so easy to use the more accurate
package metadata, but still appreciate packages shipping __version__ for all
of us n00b’s out here.
Check out crossposter by Mr-Destructive. It’s a well-crafted project with great potential. Crosspost your articles to dev.to, codenewbie.org, medium.com and hashnode.com with a single shellscript / python package
The community, that’s it, end of post, roll the credits. I’m a tinkerer I am a tinkerer, I am not going to run a stock desktop manager, mostly becuase that’s just not how my brain works. I need to tweak everything to fit my needs. Grantid I have not spent much time in many full fledged linux desktop environments. They are far more customizable than windows ever will be, I absolutely love that about them. Inevitibly I end up in a situation where I hit a wall, it just won’t do what I want it to do, or my lack of understanding what came wtih it holds me back. minimal I love minimal installs. I love just building up my system from the bottom up with things that I like, I understand, and that I can script. I’m a noob I spend a lot of my time in the terminal. I’d like to think I know how to use a linux command line for software development really well, but there are a lot of things that I still dont know all that well, mostly because I don’t need to. The AUR Arch’s community maintained repo…
Just starred moonlight-qt by moonlight-stream. It’s an exciting project with a lot to offer. GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
If you’re into interesting projects, don’t miss out on xpadneo, created by atar-axis. Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)
I came across Launcher-Curseforge from ShayBox, and it’s packed with great features and ideas. Integrates the CF Modpack install button to any MMC based launcher
Recently I added two new bash/zsh aliases to make my git experience just a tad
better.
Most of our work repos were recently migrated to new remote urls, we scriped
out the update to all of the repos, but I was left with a tracking error for
all of my open branches. To easily resolve this I just made an alias so that I
can just run trackme anytime I see this error.
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream develop origin/<branch>
The following command will always return the currently checked out branch name.
git symbolic-ref --short HEAD
Injecting this into the suggested git command as a subshell gives us this
alias that when ran with trackme will automatically fix tracking for my
branch.
I sometimes get a bit lazy at checking main for changes before submitting any
prs, so again I made a quick shell alias that will rebase main into my branch
before I open a pr.
Here are both of the alias’s, feel free to steal and modify them into your
dotfiles. If you are uniniatiated a common starting place to put these is
either in your ~/.bashrch or ~/.zshrc depending on your shell of choice.
aliastrackme='git branch --set-upstream-to=origin/$(git symbolic-ref --short HEAD)'aliasrebasemain='git pull origin main --rebase'
Check out pip-tools by jazzband. It’s a well-crafted project with great potential. A set of tools to keep your pinned Python dependencies fresh.
So many terminal applications bind q to exit, even the python debugger, its
muscle memory for me. But to exit ipython I have to type out exit<ENTER>.
This is fine, but since q is muscle memory for me I get this error a few times
per day.
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ <ipython-input-1-2b66fd261ee5>:1 in <module> │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
NameError: name 'q' is not defined
After digging way too deep into how IPython implements its ExitAutoCall I
realized there was a very simple solution here. IPython automatically
imports all the scripts you put in your profile directory, all I needed was to
create ~/.ipython/profile_default/startup/q.py with the following.
q = exit
It was that simple. This is not a game changer by any means, but I will now
see one less error in my workflow. I just press q<Enter> and I am out,
without error.
It’s no secret that I love automation, and lately my templating framework of
choice has been copier. One hiccup I recently ran into was having spaces in my
templated directory names. This makes it harder to run commands against as you
need to escape them, and if they end up in a url you end up with ugly %20 all
over.
Here is a slimmed down version of what the copier.yml looks like.
site_name:type:strhelp:What is the name of your site, this shows in seo description and the site title.default:Din Djarin_jinja_extensions:- cookiecutter.extensions.SlugifyExtension
The cookiecutter.extensions.SlugifyExtension extension provides a slugify
filter in templates that converts string into its dashed (“slugified”) version:
{% "It's a random version" | slugify %}
Would output:
it-s-a-random-version
It is different from a mere replace of spaces since it also treats some special
characters differently such as ' in the example above. The function accepts
all arguments that can be passed to the slugify function of
python-slugify_. For example to change the output from
it-s-a-random-version to it_s_a_random_version, the separator parameter
would be passed: slugify(separator='_').
Textual is still very early and not really ready for prime time, but it’s quite
amazing how easy some things such as creating keybindings is. The docs are
coming, but missing right now so if you want to use textual be ready for
reading source code and examples.
As @willmcgugan shows in this tweet it’s
pretty easy to setup, it requires having two terminals open, or using tmux, and
currently you have to use the css branch.
Textual is a tui application framework. Unlike when you are building cli
applications, when the tui takes over the terminal in full screen there is no
where to print statement debug, and breakpoints don’t work.
Now you can create a virtual environment, feel free to use whatever virtual
environment tool you want, venv is built in to most python distributions
though, and should just be there.
I’m really excited about minesweeper, an amazing project by NotUnlikeTheWaves. It’s worth exploring! A minesweeper in the terminal written in Golang with Bubbletea
I love using pipx for automatic virtual environment management of my globally installed python cli applications, but sometimes the application is not compatible with your globally installed Which version of python is using?? This one took me a minute to figure out at first, please let me know if there is a better way. I am pretty certain that this is not the ideal way, but it works. My first technique was to make a package that printed out. Let’s setup some other versions of python with pyenv If you don’t already have pyenv installed, you can follow their install instructions to get it. I usually require a virtual environment I set the environment variable to to ensure that the virtual environment is activated when pip installing, this makes it so that I can’t accidentally use the global env, which is typically not what I want to do. This goes right into my shell startup script or. Exceptions happen This is my one exception. I’ve had better luck putting pipx right in the global python…
curl has done a fantastic job with curl. Highly recommend taking a look. A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
https://youtu.be/-42A5210HYo Super fun steam Broadcasted live on Twitch – Watch live at https://www.twitch.tv/waylonwalker We worked on markata todoui, a command tui trello board written in python using only markdown files to store the data. I love markdown and I want to make this my workflow. During this stream we get RAIDED by TEEJ_DV! and chat about tmux a bit before calling the changes to markata-tui good and signing off. dotfiles: https://github.com/WaylonWalker/devtainer today’s project: https://github.com/WaylonWalker/markata-todoui website: https://waylonwalker.com/
The work on pyscript by pyscript. PyScript is an open source platform for Python in the browser. Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2
When I am creating blog posts it’s often helpful to add screenshots to them to illustrate what I see on my screen. Sometimes I lack good screenshots in my posts because it just takes more effort than I have in the moment, and I prioritize making content over making perfect content. Making Screenshots When I have something to take a screenshot of, I need to take the shot, optimize the image, often convert it to a better format, publish it, and create a the img tag in my blog. take screenshot optimize conversion publish create img tag Created in 🐍Python I created this tool for myself in python because that is what I am most familiar with, but realistically most of what I am calling are shell scripts that I could do in just about any language. Install my screenshot tool My screenshot tool is quite hacky and not configurable, but works wonderfully for me. If you like it and want to use it, make it configurable or fork it. For now it lives on GitHub and since it has a setup.py with entrypoi…
Copier is a fantastic templating library written in python, but older versions have a dangerous bug if you are using it inside of existing directories.!!UPDATE As of May 15, 2022, the stable release of copier now includes these changes, if you have not already make sure you update. This is a PSA I Use copier several times per day and get fantastic benefit from this project, this post is not intended to crap all over copier in any way, but is rather a PSA for other users who do use copier like I do so that they know the dangers of using copier inside an existing directory. The issue The fix https://github.com/copier-org/copier/pull/273 As of the time of writing this version is still in beta, if you still want to use copier with existing directtories, I’d strongly encourage you to install the release. confirm My update commit https://github.com/WaylonWalker/devtainer/commit/a06e47462e2c6d26ad69fbdc2e7990a1a73ab4b7
I came across cli from httpie, and it’s packed with great features and ideas. 🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
Here are some CFP’s that I used for PyOhio 2022. https://pretalx.com/pyohio-2022/cfp Idea to blog post in minutes - Shorter Markata is a plugins all the way down static site generator, that covers all the things you need to go from markdown to a blog site out of the box. Since it’s plugins all the way down you can also rip out all the default plugins, and do something completely different with the lifecycle. Lets build a whole blog site in 5 minutes. Add Kedro to your Pandas Workflow - Short Sometimes python scripts/notebooks take a long time to run, let kedro automatically save your datasets so that you can maintain your production code with ease. Lets take a pipeline with an issue 30 minutes in and solve the issue in 5 mintues.
Gramformer by PrithivirajDamodaran is a game-changer in its space. Excited to see how it evolves. A framework for detecting, highlighting and correcting grammatical errors on natural language text. Created by Prithiviraj Damodaran. Open to pull requests and other forms of collaboration.
I like WaylonWalker’s project markata. A plugins all the way down static site generator written in python. Plugins all the way down means that you can completely change the behavior of how it works by swapping plugins, installing new ones, or creating your own all in python.
I’m really excited about dirty-equals, an amazing project by samuelcolvin. It’s worth exploring! Doing dirty (but extremely useful) things with equals.
Just starred nvim-terminal.lua by norcalli. It’s an exciting project with a lot to offer. A high performance filetype mode for Neovim which leverages conceal and highlights your buffer with the correct color codes.
Check out neovim-grimoire by alanwsmith. It’s a well-crafted project with great potential. No description available.
functools.total_ordering makes adding all of six of the rich comparison
operators to your custom classes much easier, and more likely that you
remember all of them.
From the Docs: The class must define one of __lt__(), __le__(),
__gt__(), or __ge__ In addition, the class should supply an
__eq__() method.
Check out ipython and their project ipython. Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
If you’re into interesting projects, don’t miss out on asdf, created by asdf-vm. Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
I came across Talkpython.fm-Notable-Packages from xandrade, and it’s packed with great features and ideas. [unofficial] Talkpython.fm podcast notable PyPI packages compilation
This is not a flaky works half the time kind of plugin, it’s a seriously smooth editing experience. I’ve just started using pyflyby, and it is solid so far. I have automatic imports on every save of a python file in neovim, and automatic imports on every command in ipython. I can’t tell you how pumped I am for this, and how good its felt to use over the past few weeks. It’s glorious. YouTube video Listen to me rant on how great pyflyby is https://youtu.be/2QW5DJiEJH4 Give the video a watch, I did not have noise-cancelling on in obs. My apologies for the background hum and the mic stand bumps. I did my best to fix them up. Installation How to install pyflyby for automatic python imports pyflyby is hosted on pypi, so you can get it with pip. I have had no issues installing it on 3.8+ so far. Configuration setup with stow always stow your dotfiles If you’re going to configure any of your tools the first thing you should do is set it up with stow, seriously don’t sleep on the stow. If you…
If you are running vim autocmd’s without a group, you’re killing your performance. Granted your probably not sourcing your vimscript files with autocmd’s too often, but every time you source that vimscript you are adding another command that needs to run redundantly. https://youtu.be/2ITTn4Dl0lc This is what I had Not silky smooth For WAAY too long I have had something like this in my vimrc or init.vim. It formats my python for me on every save, works great except if I source my dotfiles more than once I start adding how many times black runs. Why is a bare autocmd bad let me demonstrate Lets create a new file called and give it the. Works great, it starts telling me that its formatting. BUT as every time I give it the it formats an extra time on every single save. Setting up an augroup I’ve been told I need an to prevent duplicates. So I did it, and nothing changes, it still ran as many times as it was sources on every save. Clearing out the augroup What you need to do is clear out al…
I often review Pull requests from the browser as it just makes it so easy to see the diffs and navigate through them, but there comes a time when the diffs get really big and hard to follow. That’s when its time to bring in the comforts of vim. https://youtu.be/5NKaZFavM0E Plugins needed This all stems from the great plugin by AndrewRadev. It breaks a down into a project. So rather than poping into a pager from git diff, you can pipe to diffurcate and it will setup a project in a tmp directory for you and you can browse this project just like any other except it’s just a diff. My aliases First to quickly checkout PR’s from azure devops I have setup an alias to fuzzy select a pr and let the command do the checkout. Next I have a few aliases setup for checking diffs. The first one checks what is staged vs the current branch, the others check the current branch vs main or master. Links diffurcte.vim
I’ve gone far too long without a good setup for editing yaml files, I am missing out on autocomplete and proper diagnostics. This ends today as I setup yaml-language-server in neovim. https://youtu.be/xo4HrFoKF4c The video for this one is part of a challenge-playlist I put out for myself to constantly improve my dotfiles for all of December. init.vim I have my setup to only source other modules, if you want everything in a single config, feel free to do as you wish. I broke mine up earlier this year as I doubled into nvim and am not going back. Plugin setup You will need the following plugins. I use plug, if you don’t you will have to convert the syntax over to the plugin manager you use. neovim/nvim-lspconfig is for configuring the lsp. It comes with a bunch of sane defaults for most servers, so you pretty much just have to call setup on that server unless you want to change the defaults. hrsh7th/nvim-cmp is what I use for autocomplete. If you are using something else you might need t…
https://youtu.be/PQw_is7rQSw I am often in a set of tmux splits flying back and forth, accidentally close my editor, so when I come back to that split and hit my keybinds to edit files I enter them into zsh rather than into nvim like I intended. Today I am going to sand off that rough edge and get as similar behavior to nvim as I can with a couple of aliases. Make sure you check out the YouTube video to see all of my improvements. what’s an alias If you have never heard of an alias before it’s essentially a shortcut to a given command. You can pass additional flags to the underlying command and they will get passed in. Most of the time they are just shorter versions of commands that you run often or even like in this case a common muscle memory typo that occurs for you. My new alias’s for fuzzy editing files from zsh Here are the new aliases that I came up with to smooth out my workflow. These give me a similar feel to how these keys work in neovim but from zsh. Follow the YouTube chan…
In honor of the neovim 0.6.0 release, I decided to do a funny skit installing neovim, and fix up my install script in the process as part of my challenge to fix up my dotfiles. I ran into one snag where I was not updating the repo that I cloned. I moved it to the directory I now keep third-party git repos and set it to update with ansible. https://youtu.be/64oKLphhBuo The thing that took me the longest to realize was…. I had a path issue pointing me to an old install of the appimage over the fresh build, fixed that up and now we are on 0.7.0 nightly. Related Links https://neovim.io/ https://github.com/neovim/neovim https://github.com/neovim/neovim/releases/tag/v0.6.0
https://youtu.be/Jq1Y48F_rOU I am challenging myself to 30 days of dotfile ricing. I have been on linux desktop for a few months now and have a pretty good workflow going, I have the coarse edits done to my workflow, but it has some rough edges that need sanded down. It’s time to squash some of those little annoyances that still exist in my setup. This is primarily going to be focused on productivity, but may have a few things to just look better. This will comprise heavily of aliases, zsh, and nvim config. Follow the YouTube channel or the rss feed to stay up to date.
Trying to read a.ipynb file without starting a jupyter server? jut has you covered. https://youtu.be/t8AvImnwor0 watch the video version of this post on YouTube install is packaged and available on pypi so installing is as easy as pip installing it. examples what are all the commands available for jut? Take a look at the help of the cli to explore all the options that it offers. There is some good information on the projects readme as well. without installing using pipx Don’t want jut cluttering up your venv, or want to save yourself from making a new one, can manage a separate virual environment for you. This is one of the biggest selling points for me. nbconvert is the lightweight option that I think will fit the bill often for me, but it just doesn’t always cut it. Mostly if there are images in the notebook or large output that is hard to read, its time to pull out the medium guns that sit between fulling running jupyter and. nbconvert does not have its own cli, instead it sits unde…
Hi, Hello, I’m Waylon Husband, dad of two, and hobbyist builder of things on the internet. When I’m not wrangling data pipeline platforms or building web platforms, you’ll find me gaming with my kids, making art, or skating around the neighborhood. Reliving my mechanical engineering days with my 3d printer. Winding down at the end of the day binge-watching Big Bang Theory with my wife. What I Do I’m a Senior Software Engineer who specializes in data pipelines and Python-based web platforms. I help teams turn messy data into reliable systems that actually work. Why I Built This Site from scratch I got tired of: Build times that took forever Node modules folders that became black holes Bloated pages that took ages to load SEO tools that felt like an afterthought So I built my own platform from scratch using pluggy and diskcache. It’s under-funded, over-dreamed, barely documented, and I love it. This site is my sandbox for learning, teaching, and sharing ideas on my own terms. Infrastruct…
I use to boost my productivity by automatically generating yaml catalog entries for me. It will create new yaml files for each pipeline, fill in missiing catalog entries, and respect already existing catalog entries. It will reformat the file, and sort it based on catalog key. https://youtu.be/_22ELT4kja4 What is Kedro 👆 Unsure what kedro is? Check out this post. Running Kedro Catalog Create The command to ensure there are catalog entries for every dataset in the passed in pipeline. Create’s new yaml file, if needed Fills in new dataset entries with the default dataset Keeps existing datasets untouched it will reformat your yaml file a bit default sorting will be applied empty newlines will be removed CONF_ROOT Kedro will respect your settings when it creates a new catalog file, or looks for existing catalog files. You can change the location of your configuration files by editing your variable in your projects.. I prefer to keep my configuration packaged inside of my project. This is…
telescope-media-files.nvim by nvim-telescope is a game-changer in its space. Excited to see how it evolves. Telescope extension to preview media files using Ueberzug.
sqlfluff by sqlfluff is a game-changer in its space. Excited to see how it evolves. A modular SQL linter and auto-formatter with support for multiple dialects and templated code.
Check out chipsenkbeil and their project distant.nvim. 🚧 (Alpha stage software) Edit files, run programs, and work with LSP on a remote machine from the comfort of your local environment 🚧
https://youtu.be/E18m4KkJUnI Slides 👇 welcome Other possible titles Using Vim as a Team Lead I 💜 Tmux Why I stopped using @code Get there fast How I vim It’s ok Use a graphical IDE if it works for you. Trick it out vim is so well integrated into the terminal, take advantage It wasn’t working for me anymore dozens of instances As a team lead I bounce betweeen a dozen projects a per day https://pbs.twimg.com/media/FAEmRjYUcAUk2eR?format=jpg&name=large Move With Intent Running vim inside tmux lets me move swiftly between the exact project I need. https://twitter.com/_WaylonWalker/status/1438849269407047686/photo/1 //: <> (__) Hub and Spoke direct link to specific projects fuzzy into all projects fuzzy into open projects How I navigate tmux in 2021 #hub-and-spoke Other Things That Make this Possible tmux direnv vim adjacent things yes, vim is ugly, make it yours @rook @_waylonwalker lsp treesitter telescope fuzzy matching like a boss fzf is ok too Check Messages
I’m impressed by telescope-frecency.nvim from nvim-telescope. A telescope.nvim extension that offers intelligent prioritization when selecting files from your editing history.
codelucas has done a fantastic job with newspaper. Highly recommend taking a look. newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:
It happens to the best of us We can’t all remember every single function signature out there, it’s just not possible. If you want to stay productive while coding without the temptation to hit YouTube or Twitter. Use the built in help. Here are 5 ways to get help without leaving your terminal. https://youtu.be/TZrRAP-9UMk Docstrings In any python repl you can access the docstring of a function by calling for. In Ipython we can even get some syntax highlighting with the. Source Code Sometimes the docstrings are not good enough, and don’t give us the content we need, and we just need to look at the source. Without leaving your terminal there are two ways I often use to get to the source of a function I am trying to use. The more common way I do it is with the ipython. Bonus rich.inspect You thought the syntax highlighting was good with ipython, check out what can do! As far as I know there is no way to get to source code, but the results are still fantastic. Install rich then inspect Conn…
Are you participating in Hacktoberfest 2021? I got my start with open source with Hacktoberfest 2018. I remember being so nervous for those first pr’s. I have continued to participate every year, and it feels good to give back. It made a big change on me Something that it really did for me was to lower the hurdle to contribute regularly. I am not a huge contributor to open source. I am not necessarily a regular maintainer of any large project, but I do often raise issues when I see things as a user that would make things easier or more clear. After participating it does not feel like such a big deal to go through the motions of making my own fork, making a small change, and submitting it for review. What can you do? As a user, you might be in a unique position to see a library from the perspective of other users rather than from the eyes of a maintainer. You can help bring the user perspective to your favorite library. https://twitter.com/_WaylonWalker/status/1446440878864846909 My fav…
I’ve slowly adding more and more lua functions into my neovim configuration, and recently I noticed a pattern for a class of functions that reach out to run shell commands that can be abstracted away. https://youtu.be/8m5ipBuopPU Telegraph.nvim Check out the project readme for the most up to date details on the plugin itself. Motivation I want a simple way to make remaps into shell commands that can open new tmux windows, popups, or just run a command with context from the editor. For example I want to make remaps to do things like open the current file in lookatme. The main goal here is that remaps become one liners that can just be put directly in my without creating a whole new lua module for each shell command I want to bind. how takes in a argument to determine where to tun the command.j (default) runs command in the built in terminal runs command in a new tmux session and joins it. runs command in a tmux popup window. runs command in a tmux session and displays it in a popup runs…
Parameters are a place for you to store variables for your pipeline that can be accessed by any node that needs it, and can be easily changed by changing your environment. Parameters are stored in the repository in yaml files. https://youtu.be/Jj5cQ5bqcjg What is Kedro 👆 Unsure what kedro is? Check out this post. parameters files You can have multiple parameters files and choose which ones to load by setting your environment. By default kedro will give you a and parameters file. base The base environment should contain all of the default values you want to run. NOTE base will always be loaded first. accessing parameters Parameters can be accessed through context or through the catalog. Generally when you are working with nodes it will be loaded through the catalog. Loding with the context. Loading with the catalog. Loading a specific key with the catalog. using parameters in nodes Here is an example from the complete spaceflights demo. The entire parameters dict is passed in, then the…
https://youtu.be/-gEwU-MrPuA Before we jump in with anything crazy, let’s make some nodes with some vanilla data structures. import node You will need to import node from kedro.pipeline to start creating nodes. func The is a callable that will take the and create the. inputs / outputs Inputs and outputs can be None, a single catalog entry as a string, mutiple catalog entries as a List of strings, or a dictionary of strings where the key is the keyword argument of the func and the value is the catalog entry to use for that keyword. our first node Sometimes in our pipelines our data is coming from an api where we already have python functions built to pull with. Thats ok, kedro supposrts that with. second node Now we have some data to work from, lets use that as our input. Multiple Inputs Kedro can take lists or dicts as either input or output when your function needs more than one input or output. Links all of my kedro articles kedro playlist on YouTube node docs first_nodes.py
I came across nvim-example-lua-plugin from jacobsimpson, and it’s packed with great features and ideas. A simple Neovim Lua plugin using the Lua embedded in Neovim, suitable as a template.
I’m impressed by skimpy from aeturrell. skimpy is a light weight tool that provides summary statistics about variables in data frames within the console.
I’m really excited about vim-startuptime, an amazing project by dstein64. It’s worth exploring! A plugin for viewing Vim and Neovim startup event timing information.
I like wbthomason’s project packer.nvim. A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
If you’re into interesting projects, don’t miss out on nvim-treesitter, created by nvim-treesitter. Nvim Treesitter configurations and abstraction layer
Looking for inspiration? vim-matchup by andymass. vim match-up: even better % 👊 navigate and highlight matching words 👊 modern matchit and matchparen. Supports both vim and neovim + tree-sitter.
Running your kedro pipeline from the command line could not be any easier to get started. This is a concept that you may or may not do often depending on your workflow, but its good to have under your belt. I personally do this half the time and run from ipython half the time. In production, I mostly use docker and that is all done with this cli. https://youtu.be/ZmccpLy-OEI What is Kedro 👆 Unsure what kedro is? Check out this post. Kedro run To run the whole darn project all we need to do is fire up a terminal, activate our environment, and tell kedro to run. Specific Pipelines Running a sub pipeline that we have created is as easy as telling kedro which one we want to run. Single Nodes While developing a node or a small list of nodes in a larger pipeline its handy to be able to run them one at a time. Besides the use case of developing a single node I would not reccomend leaning very heavy on running single nodes, let the DAG do the work of figuring out which nodes to run for you. So…
Avoid serious version conflict issues, and use a virtual environment anytime you are running python, here are three ways you can setup a kedro virtual environment. https://youtu.be/ZSxc5VVCBhM conda venv pipenv conda I prefer to use conda as my virtual environment manager of choice as it give me both the interpreter and the packages I install. I don’t have to rely on the system version of python or another tool to maintain python versions at all, I get everything in one tool. stores environment in a root directory i.e. conda can use its own way to manage environments the python interpreter is packaged with the environment virtualenv Virtual env (venv) is another very respectable option that is built right into python, and requires no additional installs or using a different distribution of pytyhon. environments are typically stored in the project directory does not package the interpreter pipenv Pipenv is another virtual enviroment tool that comes with its own system for managing depen…
Kedro comes with an command to install and manage all of your projects dependencies. https://youtu.be/IWimEs-hHQg cd into your project directory and activate env You must start by having your kedro project either cloned down from an existing project or created from kedro new. Then activate your environment. Kedro New this post covers kedro new kedro Virtual Environment This post covers creating your virtual environment for kedro install kedro Make sure you have kedro installed in your current environment, if you dont already have it. pip-tools Kedro uses the package under the hood to pin dependencies in a very robust way to ensure that the project will continue to work on everyone’s machine day, including production, day in and day out. No matter what happens to the dependencies you have installed. pip-compile The command that kedro uses from is. It will look at what you have in a file, compile the dependencies down to exact versions, and create a requirements.txt that is fully pinned…
Immediately after, before you start running or your first line of code the first thing you should always do after getting a new kedro template created is to. https://youtu.be/IGba3ytf_6U git init Its as simple as these three commands to get started. I don’t care if this project is for learning, if it will never have a remote or not, use git.
https://youtu.be/uqiv5LAiJe0 Kedro new is simply a wrapper around the cookiecutter templating library. The kedro team maintains a ready made template that has everything you need for a kedro project. They also maintain a few kedro starters, which are very similar to the base template. What is Kedro Unsure what kedro is, Check out yesterdays post on What is Kedro. pipx I reccomend using when running kedro new. is designed for system level cli tools so that you do not need to maintain a virtual environment or worry about version conflicts, manages the environment for you. The kedro team does not reccomend in their docs as they already feel like there is a bit of a tool overload for folks that may be less familiar with I like using as it gives you better control over using a specific version or always the latest version, unlike when you run what you have on your system depends on when you last installed or upgraded. Kedro New The kedro team also has a set of starters, by passing in you ca…
Kedro is an unopinionated Data Engineering framework that comes with a somewhat opinionated template. It gives the user a way to build pipelines that automatically take care of io through the use of abstract that the user specifies through entries. These entries are loaded, ran through a function, and saved by. The order that these are executed are determined by the, which is a DAG. It’s the ’s job to manage the execution of the. https://youtu.be/Wf4rnFsaFFU What is Kedro This is an updated version of my original what-is-kedro article Hot Take If you are doing a series of operations to data with python, especially if you are using something as supported as pandas, you should be using a framework that gives you a pipeline as a DAG and abstracts io. Orchestrators Like I said, is unopinionated it does determine where or how your data should be ran. The kedro team does support the following Orchestrators with very little add on to the base template. Argo Workflows Prefect Kubeflow Workflow…
https://youtu.be/bw5_FWDVRpU Ubuntu I recently switched over to using Ubuntu, it works well pretty much out of the box for me. I am using gnome with a dark theme. Gnome Terminal I am still using the built in default gnome terminal, it just works. It does all the things that I need it to do. It supports transparency renders my fonts and allows me to highlight things well. One Dark Theme dotfiles You can find my dotfiles on github. Feel free to read through and take anything that you find useful. I would encourage you not to steal them, but to integrate the parts that you want into your own dotfiles. dotfiles are a very personal thing. They are an extension of ones fingertips designed for how you think and type. zsh I use zsh as my default shell. I like to use it as my interactive shell. It works, and does a bit better with things like tab completion out of the box. starship I use the starship prompt for my shell. It works well out of the box. It looks good and includes all of the inform…
https://youtu.be/LLk94fKpGg4 As we push the limits of tmux further and further you are bound to end up in a situation where you are mashing down a hotkey and it’s just not doing what you want it to do, and you have no idea why. is a tmux command that can be used to show what tmux is actually doing behind the scenes. This might highlight any hot key conflicts you might have in your. man page for show-messages In case you wnat more information about show-messages, here is the man page. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/nT0FA1RNZEs Now your creating, jumping, and killing sessions like a boss. You are slicing through projects with ease, let me show you one more thing that can be the cream on top of this silky smooth setup we have been working towards. Chris Toomey’s Tmux Course This script is simply my fork of Chris Toomey’s script straight out of his course. It helps us create or jump to project specific sessions with ease. a directory of projects My version of the script will let you pass it a directory, and it will give you a fuzzy popup. setting up a keybinding default layout By default I have my projects open with a vertical split, vim is on top, with my file finder open and the lower split is set to just my terminal. This is what I do 90% of the time that I open a project anyways. More projects I also have a directory setup that is a symlink-gallery of all of my projects, both private and public. This makes it easy to have one key that lets me see all of my projects. https://wayl…
https://youtu.be/utfLA6L8o5s You’ve got some long running tasks, and you’re trying to stay productive and knock tasks off that board, but you keep finding that your processes finish and you stay on other tasks for longer than you should. You were in the flow and just did not check back in on it. With you can send yourself a notification when that long running task is complete. from the man page Here is a snippet of from the tmux man page. I rarely need to do anything other than just display message, but there are other flags for it. notifier With we can do things like setup notifications that will work cross platform. Without setting the target-pane defaults to the active pane. This is a very handy feature that allows us to switch windows, or sessions and still recieve the message. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/QWPyYx54JbE Now it’s time to switch gears, we are onto a different part of our day and there are just too many sessions running and we need to clean up shop. kill-server One viable option is to nuke the whole dang thing. I actually do this more than you might think. save and commit your work diligently before kill-session A more reasonable option might be to kill a single session. choose-tree Killing sessions one by one from the command line can be a bit tedious, and involve more keystrokes than necessary. Another option built right into tmux is. By default is bound to, that’s pressing control+b then s. Once you are in, you can navigate around with your configured navigation scheme, press to kill a session, or pane or window then to confirm. You can also batch delete by tagging items with t, and killing them all at once with. tmux choose-tree check out this post for a bit more information on choose-tree fuzzy matcher Here is my preferred way, using a fuzzy matcher. I r…
https://youtu.be/XucVVgGmesM I see you there, trying to script out your tmux layouts. Tryig to get each project setup just perfect with a script, but you keep stumbling over yourself with error messages The tmux command is a handy tool to prevent this error message when scripting your tmux layouts. command line The command is pretty straight forward, you simply ask tmux if the session name you are looking for exists. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/Y1MYmL8ZolE Tmux list keys can be a useful tool to help remind you of what kebindings you have setup. You can search for them and scroll just like in tmux copy-mode. command line You can call list-keys from the command line but the interface is not very usable by itself. It might be nice to mix with grep or a pager in some circumstances. tmux command line Running from within the tmux command line puts you into a much more pleasant. default keybinging By default tmux comes with bound to prefix+?. list-keys man page You can see the additional flags provided by tmux in the man page for. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/mvgM8UH11_U The tmux status bar can be a handy tool to remind yourself where you are within tmux. It can also include a bunch of system information like battery status, cpu, mem, whatever you can get from the command line. Honestly I like to keep it minimal, and actually keep it turned off most of the time. I find that it helps a little bit for others to follow along if I keep it on in certain circumstances. show the status bar You can set a hotkey to show or hide the status bar. setting the background transparent I really want a minimal status bar with very little bling, I want it to get out of the way an not draw too much attention, so step one is to set the background to transparent. setting default colors I want my status bar to somewhat match the rest of my theme, so I set the default foreground as magenta and the default background as transparent. my status bar Honestly I set this up quite awhile ago, and it does everything I need it to for now. It shows me the c…
https://youtu.be/dDq0depPrTs So you have been tricking out that, you’re looking for a silky smooth workflow that lets you fly through tmux with super speed, but every time you tweak out that you have to restart your whole session. Not amymore, Let’s add this to the bottom of our tmux.conf so that you can see everytime it gets sourced. command We can run this command from your shell to re-source your changed It also works from the tmux command line. tmux hotkey It’s very common to set this up as a keybinding so that you can do it easily without needing to memorize the exact command. from vim This is my preferred way of re-sourcing my. It sits quietly in the background, and I dont need to remember to do anything. If you are a vim user you can automate this process by creating a. This will shell out the everytime you save your. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the v…
https://youtu.be/DkJ9rb85LC0 Quickly getting between tmux splits is critical skill for productivity. You can get by with or session for awhile, but if you have more than about three session you need something a bit more targeted. Full Screen selector I have used this fzf one keybinding for quite awhile, honestly I did not make it up, and cannot remember where it came from. It will open up a session picker in a new full screen window. Popup selector Like with many of my keybindings I have swapped this one out for a popup version. It just feels so smooth. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/8kZnjHPYnKU Now that we are splitting up work into their own sessions, lets talk about how to navigate between them without the command line. Navigating sessions is what kept me using a too many splits and windows workflow for far too long. It was rough, I was always tripping over panes and windows until I got too frustrated and just ran to start on a new blank slate. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/c-a2Bnv_NJ0 Scripting tmux to open up specific applications can be intimidating your first time. It can be tricky to get it to start in the right directory. If you are trying to assign applictaions to a keybinding it can be easy to mess up and have weird things happen every time your gets sourced. Open htop in an above split I used this one for a number of years to take a quick peek into my systems performance while a memory intensive task was running. 🗒️ note that the will make the htop split active immediately Open htop in a popup With the new tmux popup windows I really like the flow of just peeking at htop in a popup and jumping back into what I was doing. It can have a more consistennt look, and not mess with the window layouts. Open an applicaiton in the current directory One thing that can be tricky is getting apps that need to be in a specific directory started in the directory that you want. Here are two examples I use to open or. 🗒️ note that takes in a -c fl…
https://youtu.be/WRLRiQDjVIA So you have been working on your tmux workflow, you’ve dropped a too many window workflow for scoping work that belongs together into separate sessions, but you cannot remember what session your work is in. If your diligent you have named your window when you created it, but sometimes its intent has changed or your were just plain too lazy at the time for the extra characters needed to name it. Don’t worry we can still give that session a descriptive name. Let’s rename some sessions in the terminal. There is a default keybinding that you can use to rename the current session in the tmux command line. I’ve also had this keybinding kicking around for years, but I rarely use it anymore. You will see why in an upcoming video. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/5KE7Il7SOEk This is something that I made up but use every single day, this is what keeps much of what is on my blog or my teams private work wiki going. I have a few very important directories that I have assigned directly to a hotkey for fast session switching. tmux new-session This one is building off of yeserday’s new-session post, make sure you check that one out as well. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/LbQNdCAUogE This one starts a new chapter in our series that is going to open up a whole new set of workflow productivity options, understanding how the command is a critical command in our adventure into tmux glory. This is going to open the door for some seriously game changing hotkeys and scripting. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/A1qx3tNKDdA tmux detach is a handy tmux command that will quit your current session while keeping it running. The full name of the comamnd is, is a shorthand. default keybinding I have mine bound to where mod is alt. https://waylonwalker.com/tmux-nav-2021/ for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/JQ0yDCVu44E attach is one of the most useful features of tmux. If you have no interest in tmux for pane and window management, you should use tmux for this. It can be a life saver if you ever get disconnected from the host machine or accidently close your terminal you can connect right back into the session you were just in using attach. attach this command will simply attach back to tmux if you are ever disconnected If you ever run long running tasks on a remote machine by sshing into this you should be doing it inside tmux, or something like tmux so that you do not loose your work. attach to a specific session If you have multiple sessions running you can select the session that you want to attach to by passing. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/LY41GLn_DGg tmux ls will list the sessions that you have running within the tmux server if tmux is currently running. This is handy to combine with commands such as. tmux attach How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/SNu-4IrkjAs So far we have covered a lot of tmux commands and how they map to keybindings but these same commands can be executed at the command line. From the command line Let’s make a popup that displays our git status for 5s or until we close it manually. We can run the following command at the command line, in a split. From the tmux command line Or we can open the tmux command line and run it from tmux’s built in command line, which is very similar to bim EX mode. By default the tmux command line can be opened with. 🗒️ note that the tmux command is called by default when inside of tmux. Make it a keybinding Finally we can make it a keybinding by adding a bind command ahead of our tmux command, then we can execute this in the tmux command line or add it to our. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/-ypY_-VmBKk tmux copy-mode is a tmux mode that lets you scroll, search, copy, and jump your way through a pane. There are a ton of keybindings for copy-mode, the main ones you will need to know are for searching down for searching up, for next item, for starting a selection, and enter to copy the selection. Arrow keys will be used for navigation unless you have specified vi mode, then it will be. Default keybinding to get into copy mode is. If you are a vim user you will likely want to use vi style keys, add this to your file to enable vi mode. full list of copy-mode keybindings from the man page. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/Vm5rRtcVXLw Join-pane allows you to join panes that you have broken away from your window, or created in a different window to the window you want it in. As far as I know there is not a default keybinding for it. Before you can join a pane you must first have a pane marked to join. Once you mark a pane, go back to the window you want to join it to and join-pane. My keybindings, you must add this to your file to use them. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post Also check out the full YouTube tmux-playlist to see all of the videos in this series.
https://youtu.be/ICL609F2xnc Break-pane is a handy tmux command when your layout gets too cramped and you want to just move a split into its own window. Calling does exactly that, it creates a for you and moves your currently selected split into that window Default key binding for How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post
https://youtu.be/Rn6mOarCQ-Y Zooming into the current split in tmux is a valuable tool to give yourself some screen real estate. These days I am almost always presenting, streaming, or pairing up with a co-worker over a video call. Since I am always sharing my screen I am generally zoomed in to a level that is just a bit uncomfortable, so anytime I make a split it is really uncomfortable, being able to zoom into the split I am focused on is a big help, and also help anyone watching follow where I am currently working. Default key bindings for zooming the current split I have rebound this to match the default binding with mod+z rather so that I get that single keystroke experience. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post
https://youtu.be/YRPZBv-iYyE New window as it sounds makes new windows in tmux. Windows are kind of like tabs. They are another screen within your sessions that you can name and make new panes in. Default key bindings for creating and navigating windows in tmux. As always I have rebound these keys because I generally prefer a single keystroke over the prefix plus keybinding approach that tmux gives by default. When I started using tmux I did almost everything in one giant session with many panes and windows. It became a nightmare to manage and quickly get between two sets work efficiently. This year I leaned in on sessions quite heavily. Checkout this 👇 post to see that workflow in depth. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post
https://youtu.be/CPZJZjN9YTY These are my MOST often used keybindings that I use in tmux. They allow me to jump between splits with ease with a vim style layout. I can hold mod and jump between panes with a familiar arrow key. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post
https://youtu.be/06z5qf81ofo Rotate window is the main way that I navigated tmux before I learned. It allows you to change your focused pane, or rotate the position of the panes easily. Default keybindings My keybindings look just a bit different than the default ones, I do not like needing to hit prefix for every command, especially for repeated commands. I set a similar keybinding to the default one that uses mod instead of prefix. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post
https://youtu.be/F0mHnwTrNNc When you get many splits going in tmux sometimes its time for a new layout. There are four layout strategies that I use, main-vertical, main-horizontal, even-vertical, even-horizontal. Almost always I am useing the main ones with mod plus a or mod plus shift a keybindings. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post
https://youtu.be/hpFYE2LU7xc Resizing panes in tmux can be quite difficult in default tmux, I use a set of keybingings to help resize panes in the rare occasions that I do need just a bit more space. I set the keybinding to the same as my split navigation bindings but shifted. They are very vim like (h,j,k,l). Most often when I need to resize panes I just grab the edge of the pane with my mouse. Yes the mouse, its not that often that I actually need to change the size of a pane. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post
ThePrimeagen has done a fantastic job with refactoring.nvim. Highly recommend taking a look. The Refactoring library based off the Refactoring book by Martin Fowler
https://youtu.be/79Y-kqAiMpw Choose tree is a powerful tmux utility that provides a graphical interface to preview all sessions, windows, and panes, move between them kill them, move them and much more. The default keybinding my preferred keybinding to open sessions and windows collapsed and Zoomed in. From the man page. https://waylonwalker.com/tmux-nav-2021/ for more information on how I navigate tmux, check out this full post
https://youtu.be/BMkpbfhbkKM The prefix key is an essential part of tmux, by default all of tmux’s key-bindings sit behind a prefix. This prefix is very similar to vim’s leader key. It is common for folks to change the default (control b) to or if they are a vim user something to match their vim leader key. A few of the essential default key-bindings. A more complete list of key-bindings can be found in this gist https://gist.github.com/mzmonsour/8791835. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post
https://youtu.be/kzgyiHap1nQ splitting panes is a core feature of tmux. It allows us to split the terminal vertically or horizontally into new panes. 🗒️ note that ‘#{pane_current_path}‘will keep the split in the same directory as it’s parent, without this it will default to your home directory. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post
https://youtu.be/RB87EEnnMnU An ultimate productivity key-binding in tmux is one to switch to the last session. I use this to quickly get between sessions really quick. Often I am working and need to lookup a quick note, or copy something into my notes, then get back to where I was quickly. I think of this hub and spoke model, and use to quickly drive it. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post
https://youtu.be/2ZqFDsJywt8 Tmux popups are actually floating windows that you can drag around the screen. They always open in the middle (by default) when you open them, no matter where you leave them. Here are a couple of keybindings I use to open up popup windows. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post
https://youtu.be/2I8fB28zfB4 Tmux-popups are a great feature that is relatively new to tmux, many repos such as the standard ubuntu repos do not have it. Popups came in 3.2a, if your package manager does not have it, you can follow the tmux’s install instructions to build from source. How I navigate tmux in 2021 for more information on how I navigate tmux, check out this full post I use popups quite a bit in my workflow to ssh into another machine for a short period, or make a new project with a template.
Check out pysonDB by pysonDB. It’s a well-crafted project with great potential. A Simple, ☁️ Lightweight, 💪 Efficent JSON based database for 🐍 Python. PysonDB-V2 has been released ⬇️
Kedro versioned datasets can be mixed with incremental and partitioned datasets to do some timeseries analysis on how our dataset changes over time. Kedro is a very extensible and composible framework, that allows us to build solutions from the individual components that it provides. This article is a great example of how you can combine these components in unique ways to achieve some powerful results with very little work. What is Kedro 👆 Unsure what kedro is? Check out this post. How does our dataset change over time?? This was a question presented to me at work. We had some plots being produces as the output of our pipeline and the user wanted the ability to compare results over time. Luckily this was asked early in the project so we were able to proactively setup versioning on the right datasets. To enable this all we needed to do now was to add and we will be able to compare results over time. Yes kedro makes it that easy to setup. set up a project Set up a new project just as usu…
I’m really excited about pyupgrade, an amazing project by asottile. It’s worth exploring! A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
I recently started streaming on twitch.tv/waylonwalker and it’s been a blast so far. python kedro Data Science Data Engineering webdev digital gardening Kedro Spaceflights It all started with kedro/issues/606, Yetu called out for users of kedro to record themselves doing a walk through of their tutorials. I wanted to do this, but was really stuck at the fact that recording or editing somewhat polished vide is quite time consuming for me. Inspiration My introduction to twitch came from twitch.tv/theprimeagen. I watched him on YouTube, and then decided to drop into a stream. It was so fun to watch him live that I started following others in the science and tech category. twitch.tv/teej_dv Brilliant neovim core dev, I learn a bunch about nvim every time I watch. twitch.tv/cmgriffing Super Chill and engaging chat. twitch.tv/cassidoo Fantastic discussion/chat. twitch.tv/anthonywritescode Building the python ecosystem. twitch.tv/kierisi Exploring data in r-studio, taking xgboost to Sliced. S…
The work on NearBeach by nearbeach. NearBeach is an open sourced project management tool, helping you keep track of your project. You can track requirements, projects and tasks
Check out vim-twitch-line-sign by noopkat. It’s a well-crafted project with great potential. some helpers to annotate vim signs with Twitch related metadata. Inspired by: clarkio/vscode-twitch-highlighter
Just starred flake8 by PyCQA. It’s an exciting project with a lot to offer. flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
This was my seconf time ever streaming on twitch.tv/waylonwalker, and I completely botched my mic 2x. https://youtu.be/_7MwgKu-844 Links Spaceflights Tutorial my spaceflights repo Notes to get started
https://youtu.be/I4VenHqIEng Doing some Digital Gardening on stream Ahrefs Errors ahrefs large images Automatic gif to mp4 gif to mp4 After this stream all gifs on my site are converted to mp4/webm if they exist.
github-coauthors.nvim by cwebster2 is a game-changer in its space. Excited to see how it evolves. A neovim extension for populating coauthors when comitting
This was my first time ever streaming on twitch.tv/waylonwalker. I am excited to get going. I have been streaming early in the morning while I am still waking up, so still a bit groggy as I go. https://youtu.be/Y07UBr9Ccjs Kedro Spaceflights It all started with kedro/issues/606, Yetu called out for users of kedro to record themselves doing a walk through of their tutorials. I wanted to do this, but was really stuck at the fact that recording or editing somewhat polished vide is quite time consuming for me. Notes
The work on kedro-mlflow by Galileo-Galilei. A kedro-plugin for integration of mlflow capabilities inside kedro projects (especially machine learning model versioning and packaging)
If you’re into interesting projects, don’t miss out on textual, created by Textualize. The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
The work on lsp-colors.nvim by folke. 🌈 Plugin that creates missing LSP diagnostics highlight groups for color schemes that don’t yet support the Neovim 0.5 builtin LSP client.
With the latest releases of kedro, it is now possible to run kedro pipelines from within scripts. While I would not start a project with this technique, it will be a good tool to keep in my back pocket when I want to sprinkle in a bit of kedro goodness in existing projects. New to Kedro What is Kedro If your just learning about kedro check out this post walking through it No More Rabbit Hole of Errors as of 0.17.2 I’ve tried to do this in kedro and it turned into a rabbit hole of errors. First kedro needed a directory, if you tried to fake one in it would then ask for logging setup. These errors just kept coming to the point it wasnt worth doing and I might as well use a proper template for real projects and stick to simple function calls for things that are not a kedro project. Kedro in a script To get kedro running, you will need a pipeline, catalog, and runner at a minimum. Those who have used kedro before the pipeline will look very similar to what you are familiar with, but the ca…
I’m really excited about netlify_deploy, an amazing project by lannonbr. It’s worth exploring! Mini Rust CLI to deploy sites to Netlify using their API
Kedro can have a chatty logger. While this is super nice in production so see everything that happened during a pipeline run. This can be troublesome while trying to implement a cli extension with clean output. Silence a Python log First, how does one silence a python log? Python loggers can be retrieved by the module’s function. Then their log level can be changed. Much of kedro’s chattiness comes from INFO level logs. I don’t want to hear about anything for my current use case unless it’s essential, i.e., a failure. In this case, I set the log levels to ERROR as most errors should stop execution anyways. python logging levels Get or Create a logger Getting a python logger is straightforward if we know the name of the logger. The following block will grab the logger object for the logger currently registered under the name passed in. 🔥 If a logger doesn’t exist under the passed in name, it will create one for you. Set Level Once we get the logger, we need to silence it by setting the…
Running multiple processes using the same diskcache object can cause issues with locks. As I was trying to setup a rich Live display for markata I ran into issues where each part could not nun simultaneusly. As I had followed the instructions from discache it was not directly aparant to me, so I had to make a simple example to experiment and play with at a small scale. Minimum reproducible error Minimum reporducible error is one of my superpowers in development. I do this very often to sus out what is really happening. My day to day work is processing data with python, I keep a number of very small data sets handy to break and fix. This helps separate complexities of the project and the problem. Let’s break it Markata has a lot going on. It’s a plugins all the way down static site generator built in python. Trying to find the root cause through the layers of plugin and cli modules can be a pain, but in this case building a very simple minimum reporducible error was much easier. 📝 is he…
In 2021 I changed the way I navigate between tmux sessions big time. Now I can create, kill, switch with ease, and generally keep work separated into logical groups. Update Since making this post, I have made ~20 other posts in short form that all have a YouTube video to go along with them you can find them all on my tmux-playlist. Chris Toomey’s Tmux Course I took Chris’s tmux course in December 2020 and it was fantastic. Even as a seasoned tmux user, I learned quite a bit. Before the course, I was proficient in navigating within each of my tmux sessions but rarely started more than one session. A few months later, I have adopted a lot of what I learned from Chris and made it my own. I am now keeping projects to their own session and can move between them fluidly with just a few keystrokes. For high-traffic projects, I have them bound to a single keystroke for instant switching. This change has been a game-changer from the mess of windows I used to have and the nightmare it was to fin…
I’m really excited about thinkeys, an amazing project by moduloindustries. It’s worth exploring! Split ortholinear custom replacement keyboard with TrackPoint for ThinkPad laptops.
When a python module is called it is assigned the of otherwise if it’s imported it will be assigned the of the module. Concrete example Let’s create a module to play with a bit. We will call this module. It is a module that we may want to run by it’self or import and use in other modules. I have set this module up to execute one of two if statements based on whether the module it’self is being ran or if the module is being imported. Note it is not common to have a block, this is just for demnonstration purposes. running python nodes.py Running a python script with the command will execute your script top to bottom. This will print out How to Install miniconda on linux (from the command line only) If you don’t already have python installed try using miniconda or replit.com running./nodes.py You can also simply execute the script from bash if you first set the module to be executable. is only needed one time, even if you edit the file. pipeline.py Let’s create a second module and import…
Creating a directory that is a union of several directories can be achieved with a few symlinks at the command line. Creating a Virtual File Gallery Here is how I am creating a virtual directory of all my projects that is a combination of both work and not-work projects. I am creating symlinks for every directory under and. ⚠ Notice that first I am recreating the directory each time. This will ensure that any project that is deleted from their actual directory is removed from the virtual gallery. Updating the gallery Since links are always kept up to date without any extra work, all the data is still in the same place it started. But as new directories are added to any project directory they will not be automatically added to the virtual gallery. cron bashrc/zshrc If you’re concerned about system resources, you can add it to a cron job to run at a regular schedule that makes sense to you. For me, I just popped those 4 lines right in my. It’s a bit overkill, maybe bloat, but it runs in…
Just starred monkeytype by monkeytypegame. It’s an exciting project with a lot to offer. The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
If you’re into interesting projects, don’t miss out on termopen.vim, created by fabi1cazenave. Easy integration of TUI apps in Neovim: Ranger, LF, Tig… Tetris…
I really like using conda () as my python virtual environment manager of choice. It’s simple and it includes its own python interpreter using the version that I specify at creation. Mamba from their readme Mamba is a reimplementation of the conda package manager in C++. parallel downloading of repository data and package files using multi-threading libsolv for much faster dependency solving, a state of the art library used in the RPM package manager of Red Hat, Fedora and OpenSUSE core parts of mamba are implemented in C++ for maximum efficiency At the same time, mamba utilize the same command line parser, package installation and deinstallation code and transaction verification routines as conda to stay as compatible as possible. Installing Micromamba Similar to miniconda micromamba can be installed with a few lines of bash Creating Environments with Micromamba Creating new environments with micromamba is pretty similar to using conda. -c is required I was unable to figure out how to…
I’ve long used neovim from within windows wsl, and for far too long, I went without a proper way to get text out of it and into windows. wsl has access to cmd applications wsl can access clip.exe. You can do some cool things with it, such as cat a file into the clipboard, sending output from a command to the clipboard, or set an autocmd group in vim to send yank to the windows clipboard. using clip.exe Let’s say you want to send a teammate the tail of a log file over chat. You can tail the file into clip.exe. pipe streams of text into clip.exe make it a bit more natural I recently made mine feel a bit more natural by aliasing it to clip. pop this in your ~/.bashrc or ~/.zshrc yanking to windows clipboard from vim I use neovim as my daily text editor and its a pain to share code with a teammate over chat, stack overflow, into a gist, or whatever you need. The following snippet has been quite useful and flawless for me. add this to your ~/.vimrc or your ~/.config/nvim/init.vim Wsl2 Based…
plenary.nvim by nvim-lua is a game-changer in its space. Excited to see how it evolves. plenary: full; complete; entire; absolute; unqualified. All the lua functions I don’t want to write twice.
Testing print/log statements in pytest can be a bit tricky, capsys makes it super easy, but I often struggle to find it. capsys capsys is a builtin pytest fixture that can be passed into any test to capture stdin/stdout. For a more comprehensive description check out the docs on capsys using capsys Simply create a test function that accepts capsys as an argument and pytest will give you a capsys opject.
Draft Post I’ve really been digging @willmcgugan ’s rich library for creating TUI like interfaces in python. I’ve only recently started to take full advantage of it. Dev Server I am working on a project in which I want to have a dev server running continuously in the background. I really like dev servers theat automatically chooose an unused port and list out the running pid so that I can kill it if I need to. automatic port number auto-restart display ( port, pid, uptime) finding the port I am very novice at best when it comes to sockets, the following function came from searching StackOverflow for how to tell if a port is in use. I recursively check if a port is being used, if it is I increment by one until I find an unused port to return. The Dev Server I am going super basic here and just running. It works for what I need it for, it hosts my files for the browser to display, and if I try a route without an index. html it gives me a decent file list. Optionally if you wanted a live-…
The work on maggieappleton.com by MaggieAppleton. ⚠️ Now retired. My previous, poorly constructed digital garden built with Gatsby and MDX. Updated garden here: https://github.com/MaggieAppleton/maggieappleton.com-V2
The work on cookiecutter-data-science by drivendataorg. A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.
Recently I noticed a new netlify site of mine was down while I was checking to see if new content was live. Later found out this was consistent after each and every push the site would go gown as soon as I hit push, and would not come back until the build finished. Is this normal? Do other Netlify sites go down during build??? Short Answer NO. All of my google fu lead me to believe I was alone and none of my other sites do this. Digging into my build My deploy script ends with the following. After resetting keys and watching it build half a dozen times I determined that everything was working as normal here. Opening the Nelify Console After poking at the netlify console for hours I realized that the issue was that netlify was still auto-deploying from a no longer existing directory and would cause 404’s for every page. During build, then my build from GitHub Actions would deploy with the netlify cli. Netlify really likes to put a lot of warnings up when you are not deploying from them.…
With the realease of came a new module in the project template. Here are some notes that I learned while playing with this new module. migrating to create a file create a function in that mirrors the register_pipelines method from your module do not bring the decorator remove register_pipelines method on your class You should now have something that looks like this in your. pipeline_registry only works in Conflict Resolution What happens If I register pipelines in both places I was not able to find any official documentation on how conflict resolution worked so I stepped into a project and added to both my and file. I noticed that it would pick up pipelines from both modules, but pipelines from always take precedence. The entire duplicate pipeline will be over written by the one from. kedro automatically merges pipelines from both hooks.py takes precedence Ready to update In my experience there were no issues upgrading from to. I would reccomend only having one so decide to migrate to…
I recently discovered markserv by markserv, and it’s truly impressive. 🏁 serve markdown as html (GitHub style), index directories, live-reload as you edit
People who are quick to toss team members under a bus are not well trusted or highly thought of and it will lead to some toxic team dynamics. Building Steam While collaborating on any project there are going to be decisions made that aren’t necessarily your favorite, during a summer internship my mentor made some decisions that I was not on board with, but I accepted his wisdom and moved forward with little push back. Full Spead Ahead During a review, leadership showed interest in the option that I wanted to go towards. I was quick to jump up and say I told you so right then and there and pitch reasons why my idea was so much better. The Aftermath I walked out so proud that leadership recognized my idea, but I will never forget the look on my teammate’s face and what he told me after the meeting. “Wow quick to throw me under the bus in front of everyone 😢”. I ~ my teammate Realizing what Happened It was at this moment that I threw my mentor, a good friend in front of a bus that was at…
I create this blog with one person in mind, me. There are others like me This is not completely selfish, as there are likely many others out there that think similarly to me. Everyone comes from different backgrounds and varying levels of experience. In no way do you need to be an expert to create content others will benefit from. Accurate I am as accurate as possible. I don’t know everything, and If I waited for that to happen I would never post, or write at such a high level no one else (including me) would ever want to read. Generally I know that I am directionally accurate for most of the article. In fact there is often a part of the article that I don’t feel the best about. It may have been some code that could have been better. I try to point these things out. Often when I am and point out where I know there is improvement to be had I get the most welcoming comments, “that was just fine how you did that”, or “I tried that myself and saw a better abstraction. Create the articles I…
I recently discovered twint by twintproject, and it’s truly impressive. An advanced Twitter scraping & OSINT tool written in Python that doesn’t use Twitter’s API, allowing you to scrape a user’s followers, following, Tweets and more while evading most API limitations.
to-mc has done a fantastic job with checksumdir. Highly recommend taking a look. Simple package to compute a single deterministic hash of the file contents of a directory.
How small can a minimum kedro pipeline ready to package be? I made one within 4 files that you can pip install. It’s only a total of 35 lines of python, 8 in and 27 in. 📝 Note this is only a composable pipeline, not a full project, it does not contain a catalog or runner. Minimal Kedro Pipeline I have everything for this post hosted in this gihub repo, you can fork it, clone it, or just follow along. Installation Caveats This repo represents the minimal amount of structure to build a kedro pipeline that can be shared across projects. Its installable, and drops right into your or modules. It is not a runnable pipeline. At this point I think the config loader requires to have a logging config file. This is a sharable pipeline that can be used across many different projects. Usage Implemantation This builds on another post that I made about creating the minimal python package. I am not sure if it should be called a package, it’s a module, but what do you call it after you build it and hos…
This is a post that may be a work in progress for awhile, Its a collections of thoughts on managing my blog, but could be translated into anythiung that is just a collection of markdown. Listing things posts tags draft posts data frontmatter filepath content template html render content Markdown.Markdown support extentsions frontmatter cleaning. provide ways to hook in or clean up the frontmatter Markata.Markata methods load render save Markata.Post methods load render save Markata plugins before_load before_post_load after_load after_post_load before_save before_post_save after_save after_post_save Markata plugins cleanse_frontmatter html_feed json_feed rss_feed save_posts CLI
I am making another push in 2021 to get my content out in the world and meeting users where they are. See how I plan to execute. Platforms waylonwalker.com Twitter DEV hashnode Medium LinkedIn Anchor Markdown My content is written in markdown, all markdown. I find that markdown does a really great job at getting out of the way and letting ideas flow onto the page. I am never fussing with fonts and formatting while physically writing posts. Not that I don’t spend way more time than I need to tweak these things on my own personal site where everything gets posted. Articles Much of what I create is inside of short articles that get posted to my personal site waylonwalker.com. These will get cross-posted to DEV, hashnode, Medium. I have made cross-posting a bit easier for myself by posting the markdown for each article next to the post on my personal site. Add.md to any post and there is the source. Should I be giving my articles to Medium?? Personally, I am not a fan of the bait and switc…
Recently I automated starting new posts with a python script. Today I want to work on the next part that is editing those posts quickly. Automating my Post Starter Check out this post about setting up my posts with python 🐍 Enter Bash For the process of editing a post I just need to open the file in vim quickly. I dont need much in the way of parsing and setting up the frontmatter. I think this is a simple job for a bash script and fzf. change to the root of my blog fuzzy find the post open it with vim change back to the directory I was in bash function For this I am going to go with a bash function. This is partly due to being able to track where I was and get back. Also the line with nvim will run fzf everytime you source your file which is not what we want. Lets setup the boilerplate. Its going to create a function called ep, track our current directory, create a sub function. Then call that function and cd back to where we were no matter if fails or succeeds. boilerplate Creating R…
Gitui is a terminal-based git user interface (TUI) that will change the way that you work with git. I have been a long-time user of the git cli, and it’s been hard to beat, mostly because there is nothing that keeps my fingers on the keyboard quite like it, except which comes with some great ways to very quickly walk through a git project. installation Go to their [releases]https://github.com/extrawurst/gitui/releases) page, download the latest build, and pop it on your PATH. I have the following stuffed away in some install scripts to get the latest version. install latest release run It opens blazing fast. Quick Commits Sometimes I edit a number of files and want to commit them one at a time, this is painful in the git cli and my main use case for. shows unstaged changes at the top, staged changes on the bottom, and a diff on the right. Navigate with hjkl By default, uses arrow keys, but simply copying vim_style_key_config.ron to your config directory will get you vim-like keybinding…
In python data science/engineering most of our data is in the form of some sort of table, typically a DataFrame from a library like pandas, spark, or dask. DataFrames are the heart of most pipelines These containers for data contain many convenient methods to manipulate table like data structures. Sometimes we leverage other data types, namely vanilla types like lists and dicts, or even numpy data types. What is Kedro unfamiliar with kedro, check out this post Sometimes datasets are not tables There are times when our data doesn’t fit nicely into a DataFrame. Lucky for us Kedro has pickle support out of the box. Pickle is a way to store any python object to disk. Beware that pickle files coming from an unknown source can run malicous code and are considered unsafe. For the most part though when you read and write your own pickle files they are a good tool to consider. See more about pickle from python.org. Cataloging Pickle I may have a dictionary that describes some cars. In the catal…
Changing conda environments is a bit verbose, I use a function with fzf that both lists environments and selects the one I want in one go. Conda I have used conda as a virtual environment tool for years now. I started using conda for its simplicity to install packages on windows, but now that has gotten so much better and it’s been years since I have run a command. I’m sure that I could use a different environment manager, but it works for me and makes sense. What environment manager do you use for python? Conda environments are stored in a central location such as and not with the project. They contain both the python interpreter and packages for that env. Conda create Conda environments are created with the command. At this point, you will need to name your env and select the python version. After running this command you will have a directory with a base python install. It will not be active yet. List environments Before activating an environment I often want to list the environment…
Replacing text based on whats in the current search register is a quite handy tool that I use often. I believe I picked this tip up from Nick Janetakis, check out his YouTube channel for some amazing vim tips. https://www.youtube.com/watch?v=fP_ckZ30gbs If there is one thing that I Like most about vim it’s the ability to hack on it and make it work well for you. Replacing text in vim Vim can often be a bit verbose, but that’s ok because we can hack on it, and make our own shortcuts and keybindings. For instance, finding and replacing text requires using a command at the vim command-line. Replacing foo with bar looks like this, the final g means all of the foos, not just the first one on the line. making it better I have a keybinding in my that will allow me to search for a pattern with the usual character, page through them as normal with and, but when I press it will populate the replace command for me so that all I need to do is type out the new text. Note on the In command mode vim…
What does it take to create an installable python package that can be hosted on pypi? What is the minimal python package setup.py my_module.py This post is somewhat inspired by the bottle framework, which is famously created as a single python module. Yes, a whole web framework is written in one file. Directory structure setup.py name The name of the package can contain any letters, numbers, “_”, or “-”. Even if it’s for internal/personal consumption only I usually check for discrepancy with pypi so that you don’t run into conflicts. Note that pypi treats “-” and “_” as the same thing, beware of name clashes version This is the version number of your package. Most packages follow semver. At a high level its three numbers separated by a that follow the format. It’s a common courtesy to only break APIs on major changes, new releases on minor, and fixes on patch. This can become much more blurry in practice so checkout semver.org. py_modules Typically most packages use the argument combin…
I do much of my work from tmux, I love it so much that I want to setup some functionality that puts me in tmux even if I didn’t ask for it. Bash Function Bash function to check if the shell is in a tmux session. Using the bash function I often open up vim to do some quite edits, but before I know it I have several splits open and I need access to another shell utility, but I forgot to start in tmux. This function makes sure tht I start in tmux everytime. Using to ensure vim is opened in tmux. I am not quite sure if this is proper use of the and, let me know if you have a better way to do one thing if returns true and another if it returns faslse.
If you are like me, you have created a macro or two that is pure glory, and you forget how you made it after a day or so, or you immediately want to store it away as a custom keybinding. As with most things with vim, it’s easy to do once you understand it. Creating a Macro One of the earliest things we all learn to do in vim is to create macros, custom sets of functionality stored in a register that can be replayed later. To create a macro, get into normal mode, then type followed by a letter that you want to store the macro under. Note: a common throw-away macro register is q because it’s easy to hit qq from normal mode to start recording. Replaying a Macro Macros can be replayed using followed by the letter that you stored the macro under. Registers Registers are nothing more than a single character key mapping to a value of some text. As you,, or create macros in vim, it automatically stores text into these registers. When you hit paste it’s simply pasting in the default register. Y…
Replacing text in vim can be quite frustrating especially since it doesn’t have live feedback to what is changing. Today I was watching Josh Branchaud’s Vim-Unalphabet series on Youtuve and realized that his vim was doing this and I had to have it. https://twitter.com/_WaylonWalker/status/1346081617199198210 How to do it I had to do a bit of searching and found a great post from vimcasts that shows exactly how to get the live search and replace highlighting using:h inccommand Add this to your config I believe that this is a neovim only feature, add it into your file. You can see it in my dotfiles as well. See it in Action example live substitution The Video that inspired this Check out Josh Branchaud’s great series on the Vim-Unalphabet. https://www.youtube.com/watch?v=5jMiYtXz2QA
khzaw has done a fantastic job with vim-conceal. Highly recommend taking a look. A vim plugin making use of vim’s conceal feature for additional visual eyecandy.
Web browsers are a black hole of productivity. I try to use them as little as possible when it is time to focus. I try to use,, or with ipython, or –help at the command line as much as possible. What about that time I am trying to see what my online friends are posting on their sites? I used to used google reader quite heavily before that was taken down. Newsboat I am going to give a terminal rss reader a try for a bit and see how that goes for me. I have really struggled to get into an rss reader since google reader died. installation I installed with the reccomended snap for Ubuntu. Adding feeds super simple Running help for newsboat directed me towards their config files at the bottom. I just need to edit its urls file. The Urls file is just a list of urls to rss feeds. Adding mine in allowed me to see all of my posts. Config I took most of my config from a blog post that I found by Evan Travers. It set some sane defaults to the reading width and vim keys. GUI Browser No matter how…
As projects grow patterns that worked early on break and we need to change things to make the project easier to work with, and more welcoming to new developers. git Before you start mucking up a project with wild commands at the terminal check that you have a super clean git status. We may make some mistakes and need a way to undo 100’s files and git makes it really easy if you start with a clean history. If we are ready to begin work we should see a response like this. It would also be wise to do this inside of a branch. The minute you try to do something wild in your working branch someone will walk by and ask you to do a five-minute task, but your deep in refactoring and haven’t left yourself a clean way back. grepr Time for the meat of this refactor replacing text across our project. I often will pop this bash function into my terminal session and tweak it as needed. This function is called for then. It will recursively search for a given pattern inside your working directory, then…
I use my ipython terminal daily. It’s my go to way of running python most of the time. After you use it for a little bit you will probably want to setup a bit of your own configuration. install ipython Activate your virtual environment of choice and pip install it. Any time you are running your project in a virtual environment, you will need to install ipython inside it to access those packages from ipython. You are using a virtual environment right? Virtual environments like venv or conda can save you a ton of pain down the road. profile_default When you install ipython you start out with no config at all. Runnign will start a new profile called that contains all of the default configuration. This command will create a directory multiple configurations You can run multiple configurations by naming them with This command will create a directory startup Inside the profile there will be a startup directory. Ipython will execute each of the files in this directory on startup. This is part…
I’ve grown tired of the standard ipython prompt as it doesn’t do much to give me any useful information. The default one gives out a line number that only seems to add anxiety as I am working on a simple problem and see that number grow to several hundred. I start to question my ability 🤦♂️. Configuration If you already have an ipython config you can move on otherwise check out this post on creating an ipython config. Ipython-Config The Dream Prompt I want something similar to the starship prompt I am using in the shell. I want to be able to quickly see my python version, environment name, and git branch. python version active environment git branch Basic Prompt This is mostly boilerplate that I found from various google searches, but this gets me a basic green chevron as my prompt. The rest of this post will build off of this boilerplate and add to the method of MyPrompt Colors I mostly set the colors of my prompt throughout this post by guessing and trying different attributes under…
One thing we all dread is mundane work of getting started, and all the hoops it takes to get going. This year I want to post more often and I am taking some steps towards making it easier for myself to just get started. When I start a new post I need to cd into my blog directory, start neovim in a markdown file with a clever name, copy some frontmatter boilerplate, update the post date, add tags, a description, and a cover. Todo List for starting a post frontmatter template Title slug tags date cover description create markdown file open in neovim Lets Automate this This aint no proper cli hot and fast As with many thing running behind the scenes on this site, I am the one and only user, I have limited time, so this is going to be a bit hot and fast. Let’s create a file called new-post. start the script new-post 👆 Works on my machine If this were something that had more users than me I would probably use something like click, but for this I want to get it done quick and avoid any need…
In python data science we often will reach for pandas a bit more than necessary. While pandas can save us so much there are times where there are alternatives that are much simpler. The itertools more-itertools` are full of cases of this. This post is a walkthrough of me solving a problem with rather than reaching for a for loop, or pandas. I am working on a one-line-link expander for my blog. I ended up doing it, just by modifying the markdown with python. I first split the post into lines with, then look to see if the line appears to be just a link. One more safety net that I wanted to add was to check if there was whitespace around the line, this could not simply be done in a list comprehension by itself. I need just a bit of knowledge of the surrounding lines, enter. simplified rendering function I have a function that will check to see if the line should be expanded, then render the correct template. Fist step is to check if the line contains no spaces and starts with, if it does…
This is episode 1 of the Waylon Walker Audio experience, posts from waylonwalker.com {.hoverlink} in audio form. So I have had this idea for awhile to add audio to my blog posts. The idea partly comes from the aws blog, if you have ever been on their blog you will have noticed that they have a voiced by amazon polly section. What to Expect Honestly I don’t know this is all new to me and I dont have much to go off of. For now its a test that may or may not work out. I will say that the time that I have available for clean audio is a bit limited so expect these to come out in batches as I get time to go back and record. What Not to Expect One thing that makes the aws blog really hard to listen to is the robotic voice, I definitely don’t want that. This will be voiced by a real human, Me. At the same time written text doesn’t translate directly to audio well so don’t necessarily expect the audio to be word for word. Code blocks There are a lot of code blocks in my blog, which don’t transl…
Inspired by discourse’s link expansion I am rolling out expansions for one line links on the blog waylonwalker. I was able to find a gatsby plugin gatsby-remark-embedder that expands one line links for social cards for popular platforms like twitter and YouTube through a repose from Kyle Mathews to my tweet. https://twitter.com/kylemathews/status/1329817928666005504 Use Cases This covers a couple of use cases I have with very little effort. Twitter YouTube install This was super quick and simple to setup, the only thing that was extra was to install the plugin as well as the. enable Thats it, now I can embed tweets and YouTube videos by just leaving the link on a single line.
I wanted a super simple way to cross-link blog posts that require as little effort as possible, yet still looks good in vanilla markdown in GitHub. I have been using a snippet that puts HTML into the markdown. While this works, it’s more manual/difficult for me does not look the best, and does not read well as Goals for new card The new card should be fully automated to expand with title, description, and cover image. Bonus if I am able to attach a comment behind it. fully automated card expansion Title description cover image Old Card If you can call it a card 🤣. This card was just an image wrapped in an anchor tag and a paragraph tag. I found this was the most consistent way to get an image narrower and centered in both GitHub and dev.to. The key here is that I have to put the HTML into the markdown. It looks a bit dirty while editing and quite frankly it’s a pain to deal with. New Card My first eight years as a working professional. First step My first attempt was to make my own tra…
astronomer has done a fantastic job with dag-factory. Highly recommend taking a look. Dynamically generate Apache Airflow DAGs from YAML configuration files
There are many reasons that you should be using kedro. If you are on a team of Data Scientists/Data Engineers processing DataFrames from many data sources should be considering a pipeline framework. Kedro is a great option that provides many benefits for teams to collaborate, develop, and deploy data pipelines What is Kedro Starter Template Kedro makes it super easy to get started with their cli that utilizes cookiecutter under the hood. Create New Kedro Project read more about how to start your first kedro project here Collaboration Kedro provides many tools that help teams collaborate on a single codebase. While writing monolithic scripts it can be easy to pin yourself in a corner where it is difficult to have multiple people making changes to the notebook/script at the same time. Kedro helps guide your team to break your project down into small pieces that different members of the team can work on in parallel. sharable catalog Kedro makes it easy to collaborate with members who aren…
Just starred Second-Brain by KasperZutterman. It’s an exciting project with a lot to offer. A curated list of awesome Public Zettelkastens 🗄️ / Second Brains 🧠 / Digital Gardens 🌱
Kedro 0.16.6 is out! Let’s take a look through the release notes Deployment Docs This is really exciting to see more deployment options coming from the kedro team. It really shows the power of the framework. The power of some of these orchestrations options is incredible. Argo Prefect Kubeflow Batch SageMaker Most of them hinge on a sweet combination of the kedro cli, docker image, and the pipeline knowing your nodes dependencies. Argo, Prefect, and Kubeflow have an interesting technique where they translate the pipeline and its dependencies from kedro to their language. Batch uses the aws cli to submit jobs, one node per job, and listen for them to complete. It will submit all nodes with completed dependencies at once, meaning that we can get some massive parallelization. I did a quick and dirty test of one of these by simulating the technique in a bash script and saw a 40 hr pipeline finish in about 1 hour. I am excited to get this working in my production workflow. Spaceflight start…
I started making stories as kind of a brain dump a few times per day and posting them to [LinkedIn]( https://www.linkedin.com/in/waylonwalker/(https://www.linkedin.com/in/waylonwalker/). Here are the last 11 days of stories. I store all the stories on my website with the hopes of doing something with them on my own platform eventually. For now it makes it easy to make these posts. Stories 10-10-2020 - 10-21-2020
Check out mmchougule and their project kedro-grpc-server. Kedro gRPC Server is a Kedro plugin that creates a gRPC server for triggering and monitoring pipeline runs using a general-purpose RPC framework gRPC
Check out mytechnotalent and their project Python-For-Kids. A FREE comprehensive online Python development tutorial FOR KIDS utilizing an official BBC micro:bit Development Board going step-by-step into the world of Python for microcontrollers.
I was 20 commits into a hackoberfest PR when I suddenly realized they they all had my work email on them instead of my personal email 😱. This is the story of how I corrected my email address on 19 individual commits after already submitting for a PR. Change the email for this repo Prepare for rebasing start the rebase 🛠 Fix First wrong Commit Fix all commits Done ReCap Change the email for this repo stop the bleeding Before anything else set the email correctly! Prepare for rebasing First thing is to find how many commits back this mistake goes. I opened up the git log, and saw mine went back 19 commits. I rolled back 20 just to be sure. start the rebase Now I start the rebase 20 commits back from HEAD. THis will pop you into a text file with a list of commits, for this change simply replace all with. Note for the first commit If you want to rebase back to the start of the repo use the flag. Run git log to see where we ended up. As expected we ended up on Kiyo’s commit. So we can simpl…
nodes_global I released a router-like plugin for kedro back in April 2020. This was not the first design, the idea actually came from one of the QB folks who taught me kedro nearly a year before. We were assembling our pipelines with something called. It worked fairly well but did have some issues around being set as a global variable. But… One thing in particular that it did not lend itself well to was being able to create a packagable pipeline that I could pip install and append into any of my existing pipelines. Something I am still trying to work out, maybe I don’t need this. I think I have it working for our internal pipelines and it seems like the way to go, but we don’t necessarily end up using it. Also… With this pattern all of the nodes needed to be importable by the module containing nodes_global. I find that this becomes a big hurdle for new pipelines coming from jupyter to overcome and can be most infuriating when their nodes aren’t getting ran after they added them. What i…
Today I ran into an issue where we had a one-off script that just needed to work, but it was just chewing threw memory like nothing. It started with a colleague asking me How do I clear the memory in a Jupyter notebook, these are the steps we took to debug the issue and free up some memory in their notebook. How do I clear the memory in a Jupyter notebook? Pre check the status of memory There are a number of ways that you can check the amount of memory on your system. The easiest is not necessarily my first go to is free… literally. check for free space Generally my first go to is a bit more graphical, and not available on a stock stystem, but far more useful….. is a terminal process explorer that shows cpu usage, mem usage, and running processes. htop First step throw more swap at it Often before going through the process of getting a larger instance underneath the notebook you can hobble home with a bit more swap file. It may not be pretty or fast, but gets the job done in a pinch. C…
A common linting error thrown by various linters is for trailing whitespace. I most often use flake8. I generally have [pre-commit]( https://waylonwalker.com/pre-commit-is-awesome hooks setup to strip this, but sometimes I run into situations where I jump into a project without it, and my editor lights up with errors. A simple fix is to run this one-liner. One-Liner to strip whitespace bash pre-commit is awesome I recently discovered the ✨ awesomeness that is pre-commit. I steered away from it for so long because it seemed like a big daunting thing to set up, but... Jun 5, 2020
actions has done a fantastic job with setup-python. Highly recommend taking a look. Set up your GitHub Actions workflow with a specific version of Python
deepyaman has done a fantastic job with kedro-accelerator. Highly recommend taking a look. Kedro-Accelerator speeds up pipelines by parallelizing I/O in the background.
There are many useful chrome extensions out there. I probably have way too many installed, here are four that I am currently using. This post was inspired from Chris over at daily-dev-tips LastPass Stylus Vimium hypothesis LastPass Love it or hate it passwords are hard to manage. Everyone needs a password manager to avoid the dreaded password reuse, and to be able to quickly rotate them with a service. I use lastpass, thus it’s browser extension is my most used extension. Stylus Stylus is an extension that allows you to add your own CSS to style pages how you want. There seems to be a full community of folks that really use this to the nth degree to style all of their commonly used sites somewhat similarly or add dark mode to sites without it. Personally I mostly use it to add my favorite syntax highlighting theme to jupyter, onedark. I’ve long lost the original author, but have posted the CSS I use in this gist Vimium Vimium adds vim-like keybindings to chrome. I don’t use it a ton bu…
Bash is a language that is quite useful for automation no matter what language you write in. Bash can do so many powerful system-level tasks. Even if you are on windows these days you are likely to come across bash inside a cloud VM, Continuous Integration, or even inside of docker. I have three techniques that help me write more composable bash scripts. functions Arguments positional arguments All Arguments Error Handling main script Functions Break scripts down into reusable components Functions in bash are quite simple. They are something that I wish I would have started using long ago. They make your code much more reusable. I often use them in my aliases as well since they can simplify the process and allow more flexibility. syntax Source the file to load the function and run it from the terminal. run it outputs Arguments Make functions a little more flexible Arguments and options are quite a bit more complex in bash. For now, we will focus on the basics which are not all that bad…
Here are three things that I see my non programming counterparts doing every single day. These really sum up so much of what folks do within an office. So many of us dabble in or become power users of spreadsheets without knowing there is an alternative out there that can save us time, automate boring things, and allow us to open up our minds for the part that we add value, Thinking about the data. Focus on Value Add Operations Lets face it, stitching together spreadsheets is zero value add by itself, but if you can see something in the data and take action on it, this can be huge value add to your company. Learning just a bit of python will help focus more of your attention on “value add operations” and leave the mundane stuff to your computer. Merge a directory full of spreadsheets into one I see this one all the time. One team gets a spreadsheet from another team once per month and they need to stich all the pieces together. Excel really opens the door for some nasty hidden bugs in…
miniconda is a python distribution from continuum. It’s a slimmed-down version of their very popular anaconda distribution. It comes with its own environment manager and has eased the install process for many that do not have a way to compile c-extensions. It made it much easier to install the data science stack on windows a few years ago. These days windows are much better than it was back then at compiling c-extensions. I still like its environment manager, which installs to a global directory rather than a local directory for your project. Installing miniconda on Linux Installing miniconda on Linux can be a bit tricky the first time you do it completely from the terminal. The following snippet will create a directory to install miniconda into, download the latest python 3 based install script for Linux 64 bit, run the install script, delete the install script, then add a conda initialize to your bash or zsh shell. After doing this you can restart your shell and conda will be ready t…
This post was inspired by a comment I left on @dsteenman’s post. {% post dsteenman/how-long-should-a-blogpost-be-2k6n %} Most of the time I prefer short as I am more likely to read the whole thing. If its setup as a series I am more likely to work my way through the whole series in a matter of a few sessions. Just my preference I will say though there are certain articles that fit well to the long format. They are articles that folks tend to come back to often as a reference again and again. Sections layout is key Break it up Article types superpost single post series discussion Post what you want to read layout is key Either way, you go layout is key. You are not Steven King, no matter how great of a writer you are, you are unlikely to hold attention like he can. Most folks reading blogs scan articles first. I often scan, then read. If the article is really good or pertains well to me I will read everything, otherwise, I go back and read only the sections of interest. If there are no…
I like RanaEmad’s project metrics-of-awesome-api. A Node.js API with the main purpose of acting as a backend for practicing authentication in React. It enables the user to sign up, sign in and view a dashboard with his metrics of awesome through different endpoints.
shreyashankar has done a fantastic job with gpt3-sandbox. Highly recommend taking a look. The goal of this project is to enable users to create cool web demos using the newly released OpenAI GPT-3 API with just a few lines of Python.
I was particularly inspired by @chantastic episode 103 of the react podcast with @ParissAthena. They spoke about the black tech pipeline as well as Diversity, Equity, and Inclusion. Pariss is quite an inspiration. She has done so much work to create a better place for POC in tech. I like that not only is she helping them get jobs but acting as a mentor for their first few months on the job to make sure that they are able to find their place and fit in. Based on an episode of react podcast. 🎙 Listen to the full episode. So Inspirational I was particularly inspired by @chantastic episode 103 of the react podcast with @ParissAthena. They spoke about the black tech pipeline as well as Diversity, Equity, and Inclusion. Pariss is quite an inspiration. She has done so much work to create a better place for POC in tech. I like that not only is she helping them get jobs but acting as a mentor for their first few months on the job to make sure that they are able to find their place and fit in. L…
It’s a really cool GitHub action that will automatically commit files changed during the action. I was using this to render a new readme based on a template. Check out the repo for git-auto-commit-action. It’s a really cool GitHub action that will automatically commit files changed during the action. I was using this to render a new readme based on a template. This has been by far the easiest way to commit back to a repo that I have seen. Other patterns often require fully setting up the git user and everything. While it’s not all that hard, this action already has all of that covered. You must give it a commit message and thats it. Optionally you can configure a number of things. Its possible to configure the,, and. I often also scope the to a certain subset of files. Getting Started with GitHub Actions Github actions are written in configuration files using the YAML syntax. YAML is a superset of JSON. Most YAML can be expressed inline with JSON syntax.... Mar 16, 2020 If you’re new t…
If we take a look at the release notes I see one major feature improvement on the list, auto-discovery of hooks. This one comes a bit surprising as it was just casually mentioned in #435 Think pytest As mentioned in #435 this is the model that pytest uses. Not all plugins automatically start doing things right out of the box but require a CLI argument. simplicity It feels a bit crazy that simply installing a package will change the way that your pipeline gets executed. I do like that it requires just a bit less reaching into the framework stuff for the average user. Most folks will be able to write in the catalog and nodes without much change to the rest of the project. Implementation Reading through the docs, they show us that we can make our hooks automatically register by adding a endpoint that points to a singleton instance of our hook. from the docs Careful with the singletons hook authors beware I will be a bit cautious before installing a plugin that is automatically registered.…
If you’re into interesting projects, don’t miss out on awesome-README-templates, created by elangosundar. A collection of awesome readme templates to display on your github profile.
I’m really excited about github-readme-stats, an amazing project by anuraghazra. It’s worth exploring! ⚡ Dynamically generated stats for your github readmes
Caution None of the testproject.io urls resolve anymore in JAN 2025, I removed all of the broken links. As I continue to build out waylonwalker.com I sometimes run into some errors that are not caught because I do not have good testing implemented. I want to explore some integration testing options using GitHub’s actions. Running integration tests will not prevent bugs from happening completely, but it will allow me to quickly spot them and rollback. 🤔 What to test first? The very first thing that comes to my mind is anything that is loaded or ran client-side. Two things quickly came to mind here. I run gatsby so most of my content is statically rendered, and it yells at me if something isn’t as expected. For performance reasons I lazy load cards on my blogroll, loading all of the header images gets heavy and kills lighthouse (if anyone actually cares). I am also loading some information from the top open-source libraries that I have created. To prevent the need to rebuild the whole si…
I came across nocode from kelseyhightower, and it’s packed with great features and ideas. The best way to write secure and reliable applications. Write nothing; deploy nowhere.
When learning a new skill it’s important to practice along the way. In order for me to show up to practice I need to make it easy to show up. An easy way to show up to practice with python is to use an online repl. With these you can try out something quick. Sometimes I see snippets from blogs or tweets and I need to try the out for myself to really understand. When learning a new skill it’s important to practice along the way. In order for me to show up to practice I need to make it easy to show up. An easy way to show up to practice with python is to use an online repl. With these, you can try out something quick. Sometimes I see snippets from blogs or tweets and I need to try them out for myself to really understand. Three online REPLS Here are three different options that I have used in the past to try out something at some various levels. I am sure there are plenty more, but these are three that I have tried. I am not covering all of them, because It’s been a while since I have us…
I’m impressed by blog-post-workflow from gautamkrishnar. Show your latest blog posts from any sources or StackOverflow activity or Youtube Videos on your GitHub profile/project readme automatically using the RSS feed
mypy Mypy’s config parser seems to be one of the most complex. This is likely in part to it having the largest backwards compatability of all projects that I looked at. mypy/config_parser flake8 options/config.py black black portray only uses pyproject.toml portray/config.py interrogate only uses pyproject.toml
I recently added a button to my blog, and subsequently my posts on DEV.to. It’s the best thing that I have done for it in a while. It makes it so easy to do quick edits. finding errors I refer back to my old posts quite a bit, sometimes I find errors in them. Honestly most of the time its too much effort to load up my editor make the change and and. It’s not much, but when I am referring to my own post generally I am just trying to get something done and don’t have time for that. The slug The slug that I am getting from gatsby is formatted as. Note the trailing slash and missing file extension, thats where the comes in. The Full Link GitHub makes it super easy to form a URL that puts you right into edit mode on the exact post you are looking for. This is format for the URL… you can always figure it out easily by clicking edit on one. The Final Result Wrapping that URL up in a short snippet gave me the following result. I know better than hard coding the GitHub url in, but I did it anyw…
When first learning to code its very common to hard code everything right into the code. This happens with most folks in just about any language. Whether its HTML or markdown for front end content, or even hardcoding parameters in our backend languages like python, or node.js. 🤷♀️ What’s wrong with hard coding everything? Hard coding everything right into your code makes it really hard for non-technical collaborators to join. It makes it nearly impossible to hand websites off to clients without needing to come back for routine updates. The cms generally come with a rich content editor that feels more like something most folks are used to. There are buttons for changing the font, font-size, adding images, bold, italics, etc. Sometimes I don’t feel technical Even when you are developing for a technical audience there is a layer of polish that comes from giving them a nice interface to edit their content in. YouTube doesn’t have you manually inserting records into the database to add a c…
I am looking into a way to replace my google reader experience that I had back in 2013 before google took it from us. I am starting by learning how to parse feeds with python, and without much previous knowledge, it proved to be much easier than anticipated thanks to the library. This is how I used python to parse rss and setup my own custom feed. Install Install the feedparser library. Get the content The feed object The feed is a feedparser.FeedParserDict. For all intents and purposes this seems to just behave like a dict with the following. feed has some general information about the rss feed, but the meat of the feed is in entries. The rest of the keys weren’t all that useful for me at the moment. pulling multiple feeds I grabbed a few popular RSS feeds that I was familiar with to get started. I checked out the keys, all three had the following keys. Mine also had the full post under, this is because I added an extra for publishing to from an RSS feed. NOTE: dev.to/feed I also pull…
Check out awesome-github-profile-readme by saturn-abhishek. It’s a well-crafted project with great potential. 😎 A curated list of awesome GitHub Profile which updates in real time
I recently discovered awesome-github-profile-readme by abhisheknaiidu, and it’s truly impressive. 😎 A curated list of awesome GitHub Profile which updates in real time
I ran this post on dev.to and got a great response of great examples, check it out.!! 🤓 What's on your GitHub Profile The GitHub profile feature just went live for a subset of users. Simply creating a repo named after your username, and clicking share to Profile on the sidebar will create a custom profile that shows up just above your pinned projects. I am still trying to figure out what to put on mine, but this is what I have so far. I feel like mine is a bit big at the moment, I don’t like that my pinned repos end up blow the fold. updated I tightened mine up and took inspiration from a few others. Share a screenshot and link of yours on dev. updated again Updated with a list of latest Twitter followers, using GitHub actions.
Can someone explain how or why twitter cards render differently from device to device? I do understand that twitter cards a built from meta tags, the full list can be found in their docs Rendered on Mobile Mobile Looks fine. Not Rendered on Desktop On Desktop it is not picking up the image. Twitter Card Validator The Validator renders the card correctly. I tried the official twitter card validator, as well as heymeta.com, and metatags.io. All look good. Can Cards be updated? even with a redirect? I tried seting up a pinned tweet that uses a netlify redirect to always keep my latest post up to date. Again this one looks good in the validator, doesnt render the image on desktop, does render the image on mobile, but does not update. I have heard that you need to hit the card validator to update cards? I am not sure if this is true, but for me this is not even upating the card. 👋 Hello, ―――――― I'm Waylon Walker ―――――― I work with data using 🐍 #python and utilize #webdev to 〽visualize it. ―…
I ran a discussion on dev that collected quite a list of examples in the comment section. So many great calls to action, animations, memes, and weird tricks. My current profile social icons Upload all of your icons to the repo in a directory such as or, then link them with a attribute like below. I used html for mine, not sure if you can set the in markdown. note I did add a bit of (non-breaking-whitespace) between my icons. Without adding css this seemed like the simplest way to do it. Center Aligning things in the center of the readme is super simple. I used this trick to align my social icons in the middle. right For my latest post I floated it to the right with a little bit of action. You may need to play with where you put this in the document, and the size of elements to get things to flow right. redirects In order to keep my latest post always up to date on my readme I implemented a netlify redirect to always point to my latest post. As a digital gardener this helps me keep poin…
staged-recipes by conda-forge is a game-changer in its space. Excited to see how it evolves. A place to submit conda recipes before they become fully fledged conda-forge feedstocks
The work on digital-gardeners by MaggieAppleton. Resources, links, projects, and ideas for gardeners tending their digital notes on the public interwebs
Check out react-adaptive-hooks by GoogleChromeLabs. It’s a well-crafted project with great potential. Deliver experiences best suited to a user’s device and network constraints
Python and are super useful tools, that when used properly can make you code much simpler and easier to maintain. Large manual conversions from a dataset to function arguments can be packed and unpacked into lists or dictionaries. Beware though, this power can lead to some really unreadable/unusable code if done wrong. I generally post these as a carousel on LinkedIn based on a full article. Let mw know what you think of it shown inside of a blog @_waylonwalker. See the full article here Slides
Why use kedro catalog? While using the catalog alone will not reap all of the benefits of the framework, it does get you and your project ready for the full framework eventually. For me the full benefit of the catalog comes when you combine it with the pipeline and dont even touch read/write steps at all. Taking a step into kedro by adopting the catalog first will give you a way to organize all of your data loads in one place, and stop manually writing read/write code, which can be different for each data and storage type. You just don’t need to think about it. iperitive loading style organizes your data all file locations can be quickly identified can be dropped into kedro later “can be dropped into kedro later” Let’s talk a bit more about that 2 Ways to Gracefully adopt the catalog How do I get started with the kedro catalog add with the code api load from yaml ( recommended) 1. Adding to the catalog with the code api how to use the kedro catalog code api It is possible to keep every…
Just starred python-interrogate-check by JackMcKew. It’s an exciting project with a lot to offer. GitHub Action for use with python package interrogate
kedro 0.16.2 just dropped last week with a long-awaited feature… catalog search! I went as far as monkey patching this into each of my projects. I work jump between a few really big projects that have tons of datasets. Being able to quickly search for what I need is so useful. The Catalog The kedro data catalog is a key component to the kedro framework. It handles all data loading and saving for you. It is configurable and hackable. Having all your data connections listed in one place make it so easy to pick your project up and move it to a completely new environment. That sweet imperative loading style saves so much read/write overhead. I can load all my data with a single command whether it’s in amazon s3, google cloud platform, or a local file. Kick start a toy project Just like with most of these articles, I am going to create a conda environment so that I don’t break any existing projects and scaffold up a toy project to learn from. Expect this set of commands to take a few minute…
This day 8 years ago I started my first day as a Mechanical Engineer. I am so grateful for this journey that I have been able to have. There is no way that I could have planned this journey from the beginning. Keep Learning My initial career plans were down a completely different path. I have been very flexible in taking on a new career path. I have been eager to learn new things and respond to life changes that I never would have imagined. Life Changes Very severe chronic health issues from my family restricted my ability to travel to the facilities I served as a Mechanical Engineer. I was able to stay strong and make it work. But in the meantime, I was learning new skills that enabled me to be more effective remotely. I was scared. It was in these times that I found a love for data, and taking action from insights I found with data. I learned how to use python to enable me to be more effective. I did this primarily from hospital waiting rooms and many overnight stays. This gave my mi…
Passing inputs into kedro is a key concept. Understanding how it accepts a single catalog key as input is quite trivial that easily makes sense, but passing a list or dictionary of catalog entries can be a bit confusing. *args/**args review Check out this post for a review of how work in python. understanding python *args and **kwargs python args and kwargs article by @_waylonwalker All Kedro inputs are catalog Entries When kedro runs your pipeline it uses the catalog to imperatively load your data, meaning that you don’t tell kedro how to load your data, you tell it where your data is and what type it is. These catalog entries are like a store. You just need to give the key when setting up a node. Single Inputs These are fairly straightforward to understand. In the example below when runs the pipeline it will load the input from the catalog, then pass that input to the func, then save the returned value to the output catalog entry. List of inputs Let’s look at an example node that com…
It’s been a long time coming. We use some very harsh language within tech so much sometimes that we become numb to it. It’s time to do my very small part in this movement and purge this language from my active repos starting with this blog right here. Large Refactor At The Command Line this post follows my method of refactoring code bases from the command line, read more about that in this article. c-s-f First off browsing through the content of my blog I found many references to master. I cannot completely whole-sale find and replace each one of them, because some of them are links that I do not own. Any set of instructions got upgraded from to There were countless cases of examples like this to comb through, but it feels good to have them purged of old language. rename routes Following yesterdays post, I am going to rename my markdown files /static/_redirects shorteners redirect posts redirect external links to repo More info on refactoring your blog routes with netlify here. Refacto…
I just did a quick refactoring of my JAMStack blog urls. Some didn’t fit with my style, some had that I wanted to switch to, and others were ridiculously long. I’ve been using forestry as my CMS, I write many of my posts there, and sometimes it picks some crazy file names (based on my titles). It was time to refactor. Large Refactor At The Command Line When refactorings similar to this get really big I often need to do some project wide find an replace, I usually do this right from the command line. 🖊 Rename posts change the filename My post urls are based on the file name of my markdown file, so I can simply go through my filesystem and rename anything I want. From here its probably best to only commit the addition of the new file name, until the redirects clear, but these are all low traffic posts for me so I just commited both at once. Safely redirect without breaking links _redirects ⤴ /redirects I am hosted on netlify, which automatically puts very ⚡ performant redirects on the ed…
Python and are super useful tools, that when used properly can make you code much simpler and easier to maintain. Large manual conversions from a dataset to function arguments can be packed and unpacked into lists or dictionaries. Beware though, this power can lead to some really unreadable/unusable code if done wrong. Python and are super useful tools, that when used properly can make you code much simpler and easier to maintain. Large manual conversions from a dataset to function arguments can be packed and unpacked into lists or dictionaries. Beware though, this power can lead to some really unreadable/unusable code if done wrong. *args are for lists *args are some magical syntax that will collect function arguments into a list, or unpack a list into individual arguments. recieving *args When recieving variables as a, commonly, the arguments get packed into an ordered list. Never add *args to your function definition (almost never) Generally I find poor naming and it only drives con…
I recently discovered pytest-sugar by Teemu, and it’s truly impressive. a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)
the-hub by ari-hacks is a game-changer in its space. Excited to see how it evolves. 📈📊 A hub where users can experiment with graphing and Python in the browser ( https://pyodide-experiment.herokuapp.com/)
I recently discovered the ✨ awesomeness that is pre-commit. I steered away from it for so long because it seemed like a big daunting thing to set up, but really it’s easy. It will automatically run checks for you. In some cases, it will even automatically fix them for you. Out of the box, it will do things like automatically trim extra whitespace, fix file endings, and ensure file sizes are not too large for git. I recently discovered the ✨ awesomeness that is pre-commit. I steered away from it for so long because it seemed like a big daunting thing to set up, but really it’s easy. It will automatically run checks for you. In some cases, it will even automatically fix them for you. Out of the box, it will do things like automatically trim extra whitespace, fix file endings, and ensure file sizes are not too large for git. Quickstart It comes with a that is pretty general purpose and use for just about any project in git. Cloned Repo Once someone has created the everyone on the team wil…
Follow along the Journey as I build out kedro.dev. Building a Community I have really enjoyed my own personal journey as I have started to build all of my data pipeline projects with the kedro framework. I want to start building a place to share resources with the community. I want to see this community grow and flourish. They say in front end web development if you are not using a framework you end up building one. That’s exactly what I was doing before I started using kedro. I want to build out a set of resources that this community can learn from and start to use the framework at their own pace without needing to develop their own from scratch. research Looking into the front end frameworks to see how they welcome their community. Much of my inspiration is from them, bringing lessons learned to data. pages banner nav docs -> readthedocs tutorial -> kedro-examples blog -> medium community support team courses examples meetups conferences articles podcasts videos external resources se…
I recently discovered kedro-wings by tamsanh, and it’s truly impressive. Kedro Wings automatically creates catalog entries to simplify Kedro pipeline writing. See the video here: https://www.youtube.com/watch?v=p4ELo1tqbYY
kedro-static-viz is out with support for the newly released hooks feature. This means that you can have automatically deploy a full gatsby site keeping your visualization always up to date. Even though it is a static site there is no functionality lost. The only thing that’s missing is the flask server. With kedro-static-viz you can deploy your visualization to a number of static hosting providers such as GitHub pages free of charge with wicked fast performance ⚡ It’s Fast Even though it’s built on gatsbyjs the full site builds in under 2s even on slower hardware. This is because the site is already pre-rendered and stripped of any excess. It’s zipped up right into the python package and is typically used with the cli, but now can be used with python, or as a hook as well. What is kedro-viz 🤔 Kedro viz is a fantastic kedro plugin that allows you to visualize your data pipeline. Kedro allows you to quickly build production-ready pipelines where you just configure a catalog, then toss py…
There are two main ways to create kedro hooks, with modules and classes. Each one still uses the same verbiage as the function/method names. Class hooks seem a bit special as they give you a way to configure them so that they are a bit more generally useful. What is Kedro If you are completely unsure what kedro is be sure to check out my what is kedro post Installation.create a new environment manager of choice. Here I will use. Then we will install from pypi. Create a sample project Kedro new For more details check out my full post on kedro new For this post I really just want a working pipeline as fast as possible. For this I am going to use iris pipeline that is generated from the command in the cli. It’s important that you answer to create an example pipeline. Hold On ✋ Did you create a separate environment for this? Please do. After you run the command it will ask a series of questions. 👇 Here is how I answered them. Install the Project Next install the project itself and all of i…
This post is a 🧠 branstorming work in progress. I will likely use it as a storage location/brain dump of hook ideas. What is Kedro 🤔 If you are completely unsure what kedro is be sure to check out my what is kedro post after_catalog_created filepath replacer bucket replacer before_pipeline_run preflight check that data exists run run mypy run interrogate run flake8 after_pipeline_run Great Expectations send email send slack before_node_run after_node_run Great Expectations save stats/meta data Execution Order hooks are executed in reverse order of the hooks list. hooks with will be moved to the end of the list hooks with will be moved to the end of the list after_catalog_created before_pipeline_run args run_params = run_params = {‘run_id’: ‘2020-05-23T15.24.23.958Z’, ‘project_path’: ‘/mnt/c/temp/kedro0160’, ’env’: ’local’, ‘kedro_version’: ‘0.15.9’, ’tags’: (), ‘from_nodes’: [], ’to_nodes’: [], ’node_names’: (), ‘from_inputs’: [], ’load_versions’: {}, ‘pipeline_name’: None, ’extra_para…
I want to incorporate some of the wonderful comments, \U0001F495, \U0001F984, and \U0001F516’s that I have been getting on dev.to on my website. I have dabbled once or twice with no avail this time I am taking notes on my journey, so follow along and let’s get there together. By the end of this post, I will have a way to get comments from posts on the client-side thanks to the wonderfully open dev.to API. I want to incorporate some of the wonderful comments, 💕, 🦄, and 🔖’s that I have been getting on dev.to on my website. I have dabbled once or twice with no avail this time I am taking notes on my journey, so follow along and let’s get there together. By the end of this post, I will have a way to get comments from posts on the client-side thanks to the wonderfully open dev.to API. The API dev.to has an open API that allows us to easily get comments as HTML. They have their API hosted at https://docs.forem.com/api/#tag/comments, let’s take a look at it. Here we can see that going to http…
GitHub’s actions are a new GitHub feature that will trigger GitHub to spin up a virtual machine and run some tasks with some special access to your repo. It can interact with comments/issues, it can clone your repo, You can explicitly pass in secrets so that it can commit back to the repo or deploy to another service. The environment may be a Linux, windows, or even a mac machine. I believe this is wildly incredible for the open-source community, putting these tools in the same place that we are already collaborating is so convenient. What can they do for my personal website? 🤔 GitHub actions can give you confidence that your site is up and running, with the latest JavaScript packages, does not have broken links, and can even take screenshots of what your website looks like on different screen sizes and operating systems. periodically check that the website is up update npm url checker screenshot website srt32/uptime srt32/uptime is an action that you can run on any public website. I r…
Kedro provides an efficient way to build out data catalogs with their yaml api. It allows you to be very declaritive about loading and saving your data. For the most part you just need to tell Kedro what connector to use and its filepath. When running Kedro takes care of all of the read/write, you just reference the catalog key. But what is happening behind the scenes Under the hood there is an that each connector inherits from. It sets up a lot of the behind the scenes structure for us so that we dont have to. For the most part kedro has connectors for about anything that you want to load, csv, parquet, sql, json, from about anywhere, http, s3, localfile system are just some of the examples. Here is a DataSet implementation from their docs. Here you can see the barebones example straight from the docs. Parameters from the yaml catalog will get passed in
As usual while listening to python bytes 181 I heard of a tool that I had to try out right away! This thing is 🔥 hot off the press folks, we’re talking the first release only 3 weeks ago. Its something that the python community needed years ago, and it belongs in your CI today. I had tried several tools that tried to do docstring coverage in the past but they were a bit cumbersome and were quickly forgotten about. Not interrogate, its dead simple! Nothing I have tried has come close to being this good Interrogate It runs documentation coverage for your python project. It allows you to set the minimum amount of docstring coverage for your project and has some great setup instructions right in the readme. Install it Interrogate is on pypi so it is super simple to install with run it This is the best part, its super easy to run right from the command line! Just call it, and give it a path to run. 😲 I have some work to do One of my new open source packages find-kedro only hit 71%. Personal…
When creating cli’s I often want some nice full-width character. I find it tough to find them, and when I do half the time it is an image or something that cannot be copied 👿. I rarely get very complex with my semi-manual ASCII art. I can do 98% of what I need with bars and corners. Using some simple full-width characters can really give your cli a nice clean look. Example I’d say 50% of what I need is just a full-width horizontal bar to give some visual flair or separation. Bars Square Corners Round Corners Harpoons Double Boxes Dashed Boxes Connectors Others Arrows Rounded Box Resources As I was putting this together I stumbled accross a good site to find ascii characters and copy them. Unicode Full-Width Characters
Kedro Hooks Intro - kedro hooks are an exciting upcoming feature of kedro. They allow you to hook into,, and (nouns). With a, or (adjective). This really reminds me of reacts lifecycle hooks, that let you hook into various state of react web components. This is going to make kedro so extendable by the community. I am super pumped to see what the community is able to do with this ability. kedro hooks are an exciting upcoming feature of kedro. They allow you to hook into,, and (nouns). With a, or (adjective). This really reminds me of reacts lifecycle hooks, that let you hook into various state of react web components. This is going to make kedro so extendable by the community. I am super pumped to see what the community is able to do with this ability. What is Kedro If you are completely unsure what kedro is be sure to check out my what is kedro post Docs a work in progress As this is a part of an upcoming release you will need to look in the docs, not and you will find a 15_hoooks page…
is a small library to enhance your kedro experience. It looks through your modules to find kedro pipelines, nodes, and iterables (lists, sets, tuples) of nodes. It then assembles them into a dictionary of pipelines, each module will create a separate pipeline, and being a combination of all pipelines. This format is compatible with the kedro format. is a ✨ fantastic project that allows for super-fast prototyping of data pipelines, while yielding production-ready pipelines. enhances this experience by adding a pytest like node/pipeline discovery eliminating the need to bubble up pipelines through modules. When working on larger pipeline projects, it is advisable to break your project down into different sub-modules which requires knowledge of building python libraries, and knowing how to import each module correctly. While this is not too difficult, in some cases, it can trip up even the most senior engineers, losing precious feature development time to debugging a library. is deployed…
Often when reading through javascript examples you will find some arrow functions use parentheses while others use braces. This key difference is that parentheses will implicitly return the last statement while braces require an explicit return statement. It is important to understand the difference between them because it is likely that you will find code examples of both and trying to edit code written differently than you’re used to may have unintended consequences. Arrow functions are one-liner functions in javascript that have two main syntactical ways to create the code block. with parentheses and braces. Let’s take a look at both ways of creating arrow functions so that when we come accross them in the wild it will all make sense. Here is an example of an arrow function that will implicitly return the last statement without the return keyword. I believe that these are a bit more restricted in that you cannot set variables inside them. They are a little bit more concise and great…
This past week I had a really weird bug in my kedro pipeline. For some reason data running through my pipeline was coming out completely made no sense, but if I manually request raw data outside of the pipeline it matched expectations. NOTE While this story is about a kedro pipeline, it can be applied anywhere closures are put into an iterable. After a few days of looking at it off and on, I pinpointed that it was all the way down in the raw layer. Right as data is coming off of the database. For this I already had existing files stored and a function to get the data so I opted to just set up the pipeline to utilize the existing code as much as possible, leaning on the kedro framework a bit less. I have dynamically created lists of pipeline nodes many times in the past, but typically I take data from kedro input and use it in the lambda. I prefer the simplicity of using lambdas over. It typically looks something like this. What was different this time is that I needed to pass in the na…
Looking for inspiration? autoreload by stevekrenzel. A small python script to watch a directory for changes and reload a process when a change is detected.
If you are developing python packages and using GitHub here are four actions that you can use today to automate your release workflow. Since python tools generally have such a simple cli I have opted to use the cli for most of these, that way I know exactly what is happening and have more control over it if I need. If you are developing python packages and using GitHub here are four actions that you can use today to automate your release workflow. Since python tools generally have such a simple cli I have opted to use the cli for most of these, that way I know exactly what is happening and have more control over it if I need. Lint Test Package Upload to PyPi Lint With flake8 flake8 is pythons quintessential linting tool to ensure that your code is up to the standards that you have set for the project, and to help prevent hidden bugs. I am a heavy user of and as well, but for ci flake8 is typically considered the gold standard. and will help you automate many fixes suggested by flake8.…
So often I see a variables inside of its name and it hurts me a little inside. Tell me I’m right or prove me wrong below. Examples Pandas are probably the worst offender that I see Sometimes vanilla structures too! Edge Cases? It’s so common when you need to get inside a data structure in a special way that itsn’t provided by the library…. I am not exactly sure of a good way around it. Containers are plural Always name your containers plural, so that naming while iterating is simple. Before I start fights 🥊 in code review, am I inline here or just being pedantic?
I’m really excited about kedro-pandas-profiling, an amazing project by brickfrog. It’s worth exploring! A simple wrapper to use Pandas Profiling easily in Kedro
Here is one useful thing that you can do with GitHub actions no matter what language you use, send email. You might want to know right away when your ci passes. You might want to give your team a nice pat on the back when a new release is deployed. There might be subscribers wanting to see the latest release notes in their inbox as soon as the latest version is deployed. Whatever it is, its pretty easy to do with an action right out of the actions marketplace. Mail on Star Here is a silly example that sends an email to yourself anytime someone stars your repo.
GitHub actions are an amazing tool that allows us to run code based on triggers inside of our repo. Their is a large and growing community of actions inside the marketplace to use with very little effort. Best of all they are free for public repositories, and private repos have a very generous free tier. I have been diving deep into Github actions for about a month now and they are wicked good! They allow you to run any sort of arbitrary code based on events in your repo, webhooks, or schedules. They are very reasonably priced. The interface that GitHub hs developed for them is top-notch! It’s so good I have done 90% of my editing of them right from github.com. TLDR some interaction to your repository triggers code to run. The online editor for actions is pretty amazing. When creating a new workflow it automatically sets up a new blank workflow or a workflow from the marketplace for you in your directory. This is all it takes to get an action running, a or file in the directory. The ed…
Github actions are written in configuration files using the YAML syntax. YAML is a superset of JSON. Most YAML can be expressed inline with JSON syntax. Similar to python YAML is whitespace driven by whitespace rather than brackets tags. The argument for using YAML for configuration files such as actions is that it is more human-readable and editable. It’s much easier to see the whitespace layout than it is to get closing brackets correct. For actions, I believe this is mostly true. I don’t see any use case to get past 3-5 indents, which is completely manageable. Can I just say that I learned more than I realized about YAML by writing this article Arrays and Objects In YAML or JSON, the most basic containers for data are arrays, a 1D list of things, and objects, for key-value pairs. Arrays The start of an array container is signified with a leading. This is probably one of the big things I didn’t understand about YAML before writing this post, but hats off to the GitHub actions editor…
Check out generate-changelog-action by ScottBrenner. It’s a well-crafted project with great potential. GitHub Actions Hackathon 2020 winner - lob/generate-changelog Action
Today I learned how to diff between two branches. Sometimes we get a little happy and mistakenly commit something that we just can’t figure out. This is a good way to figure out what the heck has changed on the current branch compared to any other branch. Example Let’s create a new directory, initialize git and toss some content into a readme. After all of that, we have a git repository on our local machine with a single file that contains the following. Create a branch and ✍ edit Let’s checkout a new branch called Waylon and change the word to in our file, then diff it. At this point we have one commit. Things are really straightforward, and our diff will be the same between the last commit and the main branch since. Let’s make another commit by adding the date. 👆 At this point, our diff doesn’t tell us the whole story between our current state and main, only between our current state and our last commit. Let’s commit our changes and compare our branch to main. Git is powerful I learn…
This is a quickstart to getting a new kedro pipeline up and running. After this article you should be able to understand how to get started with kedro. You can learn more about this Hello World Example in the docs 🧹 Install Kedro 🛢 Create the Example Pipeline 💨 Run the example 📉 Show the pipeline visualization Create a Virtual Environment I use conda to control my virtual environments and will create a new environment called with the following command. note the latest compatible version of python is 3.7. EDIT: as of kedro 0.16.0 kedro supports up to 3.8 Options Activate your conda environment I try to keep my base environment as clean as possible. I have ran into too many issues installing things in the base environment. Almost always its some dependency that starts causing issues making it even harder to realize where its coming from as I never even installed it in base. Install Kedro Currently is available on pypi and can be pip installed. EDIT kedro is up to Make sure you are in the…
DesktopECHO has done a fantastic job with xWSL. Highly recommend taking a look. Installer script for Ubuntu 22.04 / 24.04 with XFCE 4.18 on WSL. Does not require hypervisor, container, or X11 server.
Learn the business Learn Git Your code does not need to be amazing Keep Learning Learn Git You dont have to start out as a git wizard with the cleanest possible commit history. At first dont let yourself get too wrapped up in it, the most important part is that you make commits. You will find needs for more advanced stuff later. Get comfortable with this, then learn how to,,, etc… Your code does not need to be amazing Get the job done. Keep it in small bite size pieces. Make readable function definitions and variable names. You will thank yourself for naming things well later. Readability counts more than performance in most cases of data science. If it gets the job done try not to over worry about things like performance. A few extra seconds to clean a dataset or build a model is not worth hours of your time. As you go you will have cases that performance is more critical and you will learn what to do from the start to avoid them.
I am working through Wes Bos’s beginnerjavascript.com/ I just hit module 18 on hoisting. It’s something that I always knew was there, Its not something I typically see used or use myself. Do you Hoist? Do you have any use cases that you use hoising? Why? It seems like a really cool feature in any language that uses it, but I dont really notice it in use. What is Hoising There are many articles that cover this in far more depth, but its the idea that variable declarations and functions are defined before they are executed. This means that it doesnt matter if you call a function before or after it is defined. Hoisting Running this code will log out “Waylon” What about variable hoisting I am most familiar with python which does not variable hoist so this one kinda confused me at first. It only hoists the variable declaration not the value of the variable. It defines whether the variable is going to be,, or and sets it to undefined. It only hoists the variable declaration not the value of…
What is Kedro This is my original what-is-kedro article. There is a brand new one Kedro is an open source data pipeline framework. It provides guardrails to set your project up right from the start without needing to know deeply how to setup your own python library for data pipelining. It includes really great ways to manipulate and. This article will cover the 10K view of kedro, future articles will dive deper into each one. kedro is an open-source data pipeline framework. It provides guardrails to set your project up right from the start without needing to know deeply how to set up your own python library for data pipelining. It includes great ways to manipulate and. This article will cover the 10K view of kedro, future articles will dive deeper into each one. Libraries Currently, kedro is broken down into 3 different libraries. 💎 kedro 📉 kedro-viz 🏗 kedro-docker kedro kedro is the core of the ecosystem. It provides the docs, getting started, templates, and the core library including…
Getting a custom scrollbar on your site makes it stand out a bit compared to the very plain stock one that are on most sites. This is how I set mine up on my gatsby site. Inspired by Wes Bos’s new uses.tech I wanted a custom scrollbar on my personal site. I had tried to do it in the past, but gave up after it was not working. Looking at the Source Since uses.tech is open source I jumped on github, searched for scroll and found this layout.js. Copy it to my own component My first step was to take his css and copy it into a styled component for my entire layout, but it failed. I do not fully understand why. None of the custom style came through at all. If you know please leave me a comment. I suspect for some reason it has to do with attatching to the html element inside of a styled-component. I think wes was able to get around this by using. But I was still using much of the default gatsby template, so I did not have a element, but I did have a layout.css. scroll.css I added to my stati…
localstack by localstack is a game-changer in its space. Excited to see how it evolves. 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline
“Don’t waste your time learning everything.” Inspired by this linkedIn post I felt that this comment was very powerful. Here are my 2 cents. Be Productive Stick to what you know, and learn a little bit of something new every day. If what you know is how to use Excel like a boss, don’t fee ashamed that you are missing something. Be proud and use what you know. Don’t Stagnate Take small steps enhance what you know now with something new that you get you closer to where you want to be. If you need something that sci-py offers learn how to load in data and use that part. If your sick of waiting for IT to pull data out of the database so you can use it, learn that. Dont Overwhelm Yourself If you try to drop everything you know now and jump whole hog into these new flashy things its not going to work. Learn what you need to know. New things crop up very often. They will come and go. Some things will get traction, some will never get much traction past an impressive hello world example. Keep…
Moving into 2020 I have been really leaning on using purple as my theme color everywhere more and more. Its time for an update to my personal site, not just because it feels plain, not just because the cover art I am using for dev.to doesn’t fit my current card layout, but because I feel inspired and I want to. Starting point This is what we are working with. It has been my card design for at least a year now. Its not bad but, its a bit play, doesnt fit my new cover art style, and that date is not working over top of the cover art text. plain cover art does not fit I am not digging the date on cover art that also has text Colors I have been really into using a deep purple lately. It is a neutral color that does not get enough respect, i.e. it’s not used as frequently and kinda stands out when used. How I pick colors I am really bad at picking colors that go well together so for this I punt to utilizing others who have a better eye for this. I commonly used the instant-eyedropper deskto…
It was so easy to get a professional looking navbar with just 3 lines of code. This package seriously is so usable on mobile it is ridiculous. I found this package from day-4 of the 100 days of gatsby challenge. It is by the wonderful man who brought us gatsbyjs Kyle Mathews, so you know its gotta be good. install react-headroom installation is easy Import Headroom There was no instructions for es6 style imports that are common with gatsbyjs sites like mine, but it was intuitive to figure out. Using Headroom Simply wrap your existing content, Nav in my case, with the component and your off to the races. The content will pop back into view when you scroll past then back up. See it in action I think this simple package completely changes the ux of your site on mobile. You can get that sticky nav out of the way, but its still right there with just a little bit of a scroll up. Configurable is configurable, but I did not find it necessary. I really like the simplicity that it brought by jus…
I finally fixed my Styled-Components in gatsby.js. I am starting a redesign of my website. I have started cross posting to dev.to more regularly. With that I have been making more detailed cover images at the recommended. These images get cut off on my own site, which is a bit ridiculous to have my own content not look right on my own site. But before we start a heavy redesign I have a small issue that has plagued the site for at least a year! I have a small issue that has plagued the site for at least a year! I have been using styled components in my gatsby.js site for about a year now. And it has been plagued by styled-components not being in the ssr causing some jank in the styles being loaded. You can see it in the lighthouse performance report below. It generally loads super quick, and is only caused on first load. Anything using the gatsby component typically is fine and unaffected by the issue. The fix The fix was so simple it was only 2 lines total. One to install and one to us…
Netlify I have happily had my personal site waylonwalker.com hosted on netlify for nearly 2 years now. In fact I have hosted about a dozen different toy projects to play with on there, 4 of which have gone far enough to get a custom domain name. They are fast to deploy and consistently do so on every to main. Zeit I have recently started playing with zeit again. I really like their cli tool, its dead simple and makes sense. I tried the netlify one early on and dont think I really gave it much of a chance. I was able to backup a site we were modifying by saving everything locally (literally control+s) and running in the command line. While I was on the site I realized that when switching to gatsby v2 I had deployed it to now.sh while testing, before cutting over to the updated one on netlify. It has been building every version since without issue! It has been building every version since without issue! What I am using gatsby forestry.io I am using gatsby to build my site, and I do use f…
Finally after years of hand typing out a full I found there is a setting to automatcally push to the current branch. More realisitically I just did a let git yell at me, and copying the suggestion. git config This one setting will now to the current branch without yelling at you that your upstream does not match your current branch. This helps me ship chnages faster as I am constantly chnaging projects and branches.
This morning I logged into my machine and was nearly out of space 64GB miniconda3! 5GB conda cache 4GM pip cache 34GB docker Find it These are the commands that I often use to reclaim space. Its so easy to fill up small vm’s in the cloud, or in my case today let your dev machine go way too long without a good cleanup. Show Remaining Space on Drives This shows us where to start and gives a baseline of how much space we have reclaimed. show largest files in current directory Next keep drilling into directories that are big and running this command to see whats big inside of it. When you find somethign that you are willing to part with it and check to see if you have enough reclaimed yet. Honestly I rarely bother unless the directory is in the GB’s of space. A super simple filter for that is to just grep for G. conda How Many? As a first baseline lets see how many enviroments we are starting with. I started with 71. Yeah I have had this machine for 2 years, and dont regularly remove them.…
cli tools are super handy and easy to add to your python libraries to supercharge them. Even if your library is not a cli tool there are a number of things that a cli can do to your library. Example Ideas Things a cli can do to enhance your library. 🆚 print version 🕶 print readme 📝 print changelog 📃 print config ✏ change config 👩🎓 run a tutorial 🏗 scaffold a project with cookiecutter 🖱 Click Click is the most popular python cli tool framework for python. There are others, some old, some new comers that make take the crown. For now Click is the gold standard if you want to make a powerful cli quickly. If you are dependency conscious and dont need a lot of tooling, use argparse. Project Structure ❯ cli.py ✨ init.py For our simple_click library can be left empty. It is here purely to signify that simple_click is a library. It is likely that you will import other modules here that need to reside at the top level of your library api, your cli does not need to be at the top of of your api.…
I love using URL shorteners to easily share links without hitting character limits, but they loose their meaning. Services like bit.ly will save my links for me so that I can find them, but I would rather them to be easy to remember. https://bit.ly/2ruLwQz does not roll of the tongue so well. 301 🤸♀️ I recently discovered a really cool feature of netlify that I have always looked past,. It is so simple cool and powerful, every netlify site should do this! But how 🤷♀️ simply add a file to the root of your your published site with the following format. The trick I found with my gatsby site was that it needed to be in my static directory, not root. Next you just put space separated links on separate lines. #’s can be used for comments. 🙌 Share those short links Now with shorter links we have more space for our content without needing to use a service like bit.ly that makes our links unreadable.
I spend a lot of my time at the terminal for my daily work, mostly in Linux or wsl. One big reason for using wsl over cmd.exe is the ease of walking through history that fzf provides. This week we had a windows bug in a cli and I was stuck in vanilla cmd.exe 😭 > Cmder First off if you are stuck using cmd.exe, do yourself a favor and get cmder. It makes life just a bit easier. It is super confugurable and comes with several power ups that make it a bit more enjoyable than cmd.exe. History F7 - Scroll through history F8 - Search history based Example.bat The next simple technique is to save your commands into a.bat file. Any valid command ran with cmd.exe can be saved into a bat file and called again later by running it in the terminal. save your command use f7/f8 to get your command back add at the end, hit the home key and add echo to the front. Do not wrap with quotes. This is not bash. » append type not cat To ensure that you got the command right… and didn’t forget that you were in…
Mine is the python debugger. I was a long holdout thinking that print statements were sufficient. That was untill I started having errors crop up in functions that took minutes to run. The thing that I most notably wish I would have known about is post_mortem. Example Debug with iPython/Jupyter Vanilla Debug More For more information about the debugger checkout the real python article. https://realpython.com/python-debugging-pdb/ Also keep a bookmark of the table of pdb commands from the article https://realpython.com/python-debugging-pdb/#essential-pdb-commands Debug Session
I have been using oh-my-zsh successfully for about 2 years now. But lately my startup time has been really bothersome. It has grown to the point where it was taking about 5.5s to startup a shell! This is ok if I am going to spend some time in here for awhile and do some work that benefits from all of the autocompletions, plugins, and shortcuts that oh-my-zsh brings. But to only jump in to run a handful of commands is infuriating. 📑 My Setup I believe the real issue is io speed on wsl. I have some remote servers with similar configs that are 10x faster or more, loading in 100s of milliseconds rather than seconds. Sourcing all of the individual plugin files are just too much for it. 💨 How Fast can it be Quick side note: your zsh config is controled by your ~/.zshrc file. This file can source other files, load plugins, or run literally anything. Time the initial time Move your ~/.zshrc config file. Time the fastest startup possible with nothing in your ~/.zshrc config file. Move your ~/.z…
Vim’s (neovim in my case) location list can provide some very useful information while developing. Mine gives me information about linting and type checking errors with fairly little config. Generally, it sits nicely at the bottom of the screen and barely affects me. Other times, especially while zoomed way in during a presentation, it just gets in the way. Location List eating up the screen while I am zoomed in and trying to live code Toggling the location list Through some google search I found the culprit was syntastic. It has an feature. We can turn it off by setting. Keybindings I want to keep the location list open automatically most of the time, but when I don’t want it to keep opening it’s generally detrimental. Trying to live code while the location list keeps taking up the whole screen is not cool. First, create a function that will toggle both the location list and syntactic together. This binding will allow me to use from normal mode to toggle the location list. I am starti…
I came across jumpcutter from carykh, and it’s packed with great features and ideas. Automatically edits vidx. Explanation here: https://www.youtube.com/watch?v=DQ8orIurGxw
I came across blocks from blocks, and it’s packed with great features and ideas. A JSX-based page builder for creating beautiful websites without writing code
Check out vscode-git-semantic-commit by nitayneeman. It’s a well-crafted project with great potential. 💬 A Visual Studio Code extension which enables to commit simply by the semantic message conventions
awesome-streamlit by MarcSkovMadsen is a game-changer in its space. Excited to see how it evolves. The purpose of this project is to share knowledge on how awesome Streamlit is and can be
I came across awesome-data-engineering from igorbarinov, and it’s packed with great features and ideas. A curated list of data engineering tools for software developers
If you’re into interesting projects, don’t miss out on Recreation-of-Nature, created by Kashu7100. ALife simulation with Python: patterns, behavior, and cognition.
tqdm is one of my favorite general purpose utility libraries in python. It allows me to see progress of multipart processes as they happen. I really like this for when I am developing something that takes some amount of time and I am unsure of performance. It allows me to be patient when the process is going well and will finish in sufficient time, and allows me to 💥 kill it and find a way to make it perform better if it will not finish in sufficient time. @waylonwalker Add a simple Progress bar! convenience TQDM also has a convenience function called trange that wraps the range function with a tqdm progress bar automatically. notebook support There is also notebook support. If you are bouncing between ipython and jupyter I recomend importing from the auto module. Autoreload in Ipython If you are using notebooks you should enable ipython autoreload 👆
Check out terminal by microsoft. It’s a well-crafted project with great potential. The new Windows Terminal and the original Windows console host, all in the same place!
If you are a regular listener of TalkPython or PythonBytes you have hear Michael Kennedy talk about Named Tuples many times, but what are they and how do they fit into my data science workflow. Example As you graduate your scripts into modules and libraries you might start to notice that you need to pass a lot of data around to all of the functions that you have created. For example if you are running some analysis utilizing,, and data. You may need to calculate total revenue, inventory on hand. You may need to pass these data sets into various models to drive production or pricing based on predicted volumes. Load data Here we setup functions that can load data from the sales database. Assume that we also have similar functions to and. Create Metrics Here we create our first function to calculate some metrics. There are likely many of these functions that repeat a similar pattern. They use similar data and have their own custom logic for calculations and joins. Furthermore these functi…
This post is intended as an extension/update from background tasks in python. I started using the week that Kenneth Reitz released it. It takes away so much boilerplate from running background tasks that I use it in more places than I probably should. After taking a look at that post today, I wanted to put a better data science example in here to help folks get started. This post is intended as an extension/update from background tasks in python. I started using the week that Kenneth Reitz released it. It takes away so much boilerplate from running background tasks that I use it in more places than I probably should. After taking a look at that post today, I wanted to put a better data science example in here to help folks get started. I use it in more places than I probably should Before we get into it, I want to make a shout out to Kenneth Reitz for making this so easy. Kenneth is a python God for all that he has given to the community in so many ways, especially with his ideas in bu…
If you’re into interesting projects, don’t miss out on starship, created by starship. ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
alttch has done a fantastic job with rapidtables. Highly recommend taking a look. Super fast list of dicts to pre-formatted tables conversion library for Python 2/3
I have used for several years now with great success and 🔥 rapid reloads. It allows me to move super fast when developing libraries and modules. They have made some great updates this year that allows class modules to be automatically be updated. What I like about autoreload 🔥 Blazing Fast 💥 Keeps me in the comfort of my text editor 👏 Allows me to use Jupyter when I need 👟 Extremely Reliable One of the biggest benefits that I find is that it shortens the distance between my module/library code and test code inside of a terminal/notebook. Now I primarily use jupyter notebooks for the presentation aspect. I develop code from the comfort of my editor with all of the tools I have setup, and run the functions in a notebook to get the output. From there I might do some aggregations or plots, but the 🥩 meat of development is done outside of jupyter. Now I primarily use jupyter notebooks for the presentation aspect. Enabling Autoreload 📐 config This is a short script that I use to setup ipytho…
If you’re into interesting projects, don’t miss out on promote-open-source-project, created by zenika-open-source. 📄 How to promote my open source project?
Check out watchtower by kislyuk. It’s a well-crafted project with great potential. Python CloudWatch Logging: Log Analytics and Application Intelligence
I recently discovered arrow by apache, and it’s truly impressive. Apache Arrow is the universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics
Throw that mouse Away its time to setup some keyboard shortcuts. These sortcuts were the baseline for switching from tmux/vim to vscode. Most folks posts I was able to find gave great tips on replacing vim, but very few have focused on the hackability of tmux. tmux allows me to rapidly fire up a workspace, create new windows and splits. Then When I switch tasks I can leave that workspace open and and jump right back in later exactly where I left off. There is nothing quite like it. The shortcuts listed here make the transition a bit better. The worst thing I found when using vscode at first was no way to switch between the terminal and editor without the mouse. This first set of keybindings solve that issue. The worst thing I found when using vscode at first was no way to switch between the terminal and editor without the mouse. See-also I have an updated article in my tmux workflow How I navigate tmux in 2021 Alt+[hjkl] navigation ⬅ jump to left split alt+h ⬇ jump to terminal from edi…
tarpas has done a fantastic job with pytest-testmon. Highly recommend taking a look. Selects tests affected by changed files. Executes the right tests first. Continuous test runner when used with pytest-watch.
If you’re into interesting projects, don’t miss out on vim-flog, created by rbong. A blazingly fast, stunningly beautiful, exceptionally powerful git branch viewer for Vim/Neovim.
My git workflow based on real life. Its not always clean and simple. sometimes things get messy The Clean Path pull 👉 branch 👉 format 👉 work👉 add 👉 commit 👉 pull 👉 rebase 👉 push Pull As complicated as that seems it is pretty straight forward. When you sit down to work the first thing you do is to pull down the teams latest working “develop” branch from git. Branch Next create a new branch with a name that will remind you of what you are working on. For your own sanity choose something descriptive. It is easy to get too many similar branches going and forget which branch is which. Format If you know which files in existance that you will be editing before you start work it is a good idea to format them in a commit early on to keep your working commits separate from formatting. This will make it easier for reviewers to distinguish from your changes and formatting fixes. If your team agrees to a consistent formatting logic, sticks to it and always remembers to run the linting/fixing tools…
Just starred kedro by kedro-org. It’s an exciting project with a lot to offer. Kedro is a toolbox for production-ready data science. It uses software engineering best practices to help you create data engineering and data science pipelines that are reproducible, maintainable, and modular.
Testing out forestry.io Sorry Netlify CMS I still ♥️ your product dont be forestry is simple I have been playing with the netlify cms for a while now, and it has been a decent experience, but I really struggle configuring it. Forestry is so simple to setup. My favorite part is that I can code up my gatsby.js site, storing all editable text in markdown, and come back later and add the CMS based on existing documents. Configuration is Simple Forestry.io has this amazing feature to create create based on existing document 🤯. This is great because it sets up the config for me without error. And If I really want to come back later to customize it more I have that option, too. Multi-File Gallery I have a use case for a photography site where the owner wants to be able to show off sample photos of each type of work she does. I got it working in the netlify cms, although it was not very user friendly. Everything was nested in an accordian 😢. Next I looked into forestry.io. I pointed forestry.i…
Just starred eslint-config-wesbos by wesbos. It’s an exciting project with a lot to offer. No-Sweat™ Eslint and Prettier Setup - with or without VS Code
Check out ydataai and their project ydata-profiling. 1 Line of code data quality profiling & exploratory data analysis for Pandas and Spark DataFrames.
I came across ydata-profiling from Data-Centric-AI-Community, and it’s packed with great features and ideas. 1 Line of code data quality profiling & exploratory data analysis for Pandas and Spark DataFrames.
rebase git commit –amend Unstage rage unstage to wipte out history of staged commit Undo file rage quit git reset HEAD~n removes modifications keeps hitsory of changes and undoes them git checkout HEAD~n – keeps modifications removes history –SOFT –HARD –Mixed undo n commits back locally before push after push update.gitignore after push
This is my story into data science. The Journey Begins I am addicted to the process of learning and improving my skills nearly to a fault. The reason I say nearly is because my addiction is fueled with results. I crave the output of my work enhance the work of others. I jump with joy as I see users gain insights they could have never imagined before. My mouth starts watering as I see their boring repetitive data mining activites be completed in a matter of seconds, opening up their mind to focus on their expertise. The day I stop learning will be the day that I start looking for another career path. It’s not all about winning. ~Mom This happened to me in 2014. I have a mechanical engineering degree and had a really good position at the time. I owned full engineering control of a small subset of engine components. The problem was that Everything is so proprietary and hardly documented the process of learning did not click with me. I felt like I had learned a lot about the product early…
Looking for inspiration? fzf-preview.vim by yuki-yano. The plugin that powerfully integrates fzf and (Neo)vim. It is also possible to integrate with coc.nvim.
I recently discovered vimade by TaDaa, and it’s truly impressive. Vimade let’s you dim, fade, tint, animate, and customize colors in your windows and buffers for (Neo)vim
This morning I log into my VCS and check activity on my projects to find that someone else has been very active on my projects fo the last few weeks. I quicklyhover over the missing avatar to find that It’s Me. What’s wrong here, why do I look like two different people throughout the day! upon further investigation I see the issue. while setting up a new terminal environment I mistyped my email address by one character. After much searching and a few failed attempts I was able to fix it by following an article no longer available (2021) from https://help.github.com/articles. Bare Clone Clone the repo, note it must be a clone. git -author-rewrite Curl down the script and edit the following variables Run the script, and push the updates. Cleanup Delete the repo from your local machine. I hope this helps someone, or future me who needs to fix their information in git.
The year of intenionality This is a follow up to my previous post 2018-retrospective professional This year I will become more productive, by intensionally working on a well thought out plan, learning the right technologies, and leave behind a positive legacy. Productivity Last year I was able to make some great strides in my productivity and focus. This year I want to be able to bring it up a notch. Intentionality plays a big part in this. Taking some time to sit down and think about the tasks you realistically want to complete for the day, then focusing on those tasks one at a time. I started off the year last year using the pomodoro system to focus on one task and one task only for 25 minutes at a time. This worked really well for me but I quickly fell off of the train and fell into my old trap of reacting to the loudest customer over the items I put intensionally on my todo list. A kanban system is key to keeping it intentional. I currently use a very simple trello system, with ver…
Check out engineer-man and their project youtube. Code from the Engineer Man YouTube channel. Please do not submit pull requests, they will be ignored/closed. The code in the repo needs to remain as it was in the video.
2018 was a year of many ups and downs, and learning to deal with a whole new set of problems professionally and at home. In 2018 I logged in to my first Linux system, setup my own webserver, data pipelines, database. I learned to use react and d3. Stepped up my python, javascript, and sql. At home the doctor appointments keep piling in. While I am learning to deal with it all there were several times throughout the year that I was very overwhelmed with everything and broke down. Here are the goals I had listed out for 2018 and how I faired at completing them. Positivity The Good Continue “Favorite Things” with family at dinner time Take 2 10min breaks per day clear the mind I can say that the kids are fully on board with favorite things and love to tell everyone about how their day went. This is a time that they are very positive and generally give praise to another family member for helping them through their day. To Be Improved Gratitude journaling every day Snooze Less be productive…
Today I want to take some time to talk about the things that make me happy in my work environment. This is completely free-flow off the cuff, but are things that I do that make me happy, not having them would definitely be a deal breaker for me. Attitude A positive work atmosphere goes a long ways. We all have enough negativity going on in our lives that is out of our control accepting any negativity in the workplace is a no go for me. There was a point in which I was suffering a lot of negativity at work. This began to trickle into every part of life, and it became hard to see positivity anywhere. My wife not only noticed this, but put a polite request in for change. It was definitely a low point and she could tell tell that my work life was not helping anything. Bring the positivity to your workplace. It is really difficult for folks to tear you down if you are the one that is always up beat and happy. People will notice. When they do they will bring the good projects your way, Prais…
feather by wesm is a game-changer in its space. Excited to see how it evolves. Feather: fast, interoperable binary data frame storage for Python, R, and more powered by Apache Arrow
If you’re into interesting projects, don’t miss out on awesome-vscode, created by viatsko. 🎨 A curated list of delightful VS Code packages and resources.
psp_hourly_rates by rwhitt2049 is a game-changer in its space. Excited to see how it evolves. My local power company offers market based electricity rates that vary by hour. This is an analysis to determine if it could save me money. https://www.powersmartpricing.org/
The work on sharp by lovell. High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
select rowid, key, raw, store_time, expire_time, access_time, access_count, tag, size, mode, filename from Cache where key=‘e3cd37c97980ab2c’; ’e3cd37c97980ab2c’ ’e3cd37c97980ab2c' select rowid, key, raw, store_time, expire_time, access_time, access_count, tag, size, mode, filename from Cache where key=‘c14050404a107d5e’; Learn D3 in 5 days For what we are creating in these posts d3 is way overkill and very verbose, but I need to start somewhere! These are just stepping stones into real custom visualizations that cannot be done in any other tool today. I still cannot explain how excited I am to say “I created that in d3!!!” Todays Result Recall Example 3 from yesterday Subject Math Science Chart Size Large Small Final Result Subject Math Science Chart Size Large Small
Learn D3 in 5 days For what we are creating in these posts d3 is way overkill and very verbose, but I need to start somewhere! These are just stepping stones into real custom visualizations that cannot be done in any other tool today. I still cannot explain how excited I am to say “I created that in d3!!!” Todays Result Today I will be learning about d3 scales, and adding them to the bar chart that we created yesterday. Follow along as I try to create something interesting. Recall Example 3 from yesterday maybe a few days ago…. give me a break I have a lot of other priorities In yesterdays post we created a working example of a horizontal bar chart that shows grades for a set of 5 students that are all in two classes; ‘Math’ and ‘Science’. The chart is interactive, and will switch subjects at the press of a button. Math Science --> Add Scales One issue with that plot was that the scale was created by hand. In todays example we will let d3 take care of the scale for us. We will define a…
Learn D3 in 5 days I recently subscribed to Ben Clinkinbeard’s learn D3.js in 5 days, and am currently on day 3. I read through the first 2 days, and felt fairly comfortable with selecting elements, so I did not follow along on the first two days. I probably should have, but there are only so many hours in the day. Why Learn D3 D3 is the ubiquitous dynamic visualization library for building custom interactive visualizations on the web. It is a bit low level, and more verbose than many other libraries that build upon it, but if you want full control D3 is the way to go. I have used a few libraries built upon d3 in the past and have been very happy with the results. For now I want to start learning a bit about how d3 works. I know that learning it is going to take a long time, so I want to start working on some simple examples now in order to build my understanding so that I can learn quickly when I am ready to dive in. If I never decide I need to take the deep dive into d3, I think unde…
I’m really excited about awesome-podcasts, an amazing project by pbnj. It’s worth exploring! 🎙 A collection of awesome engineering podcasts! ARCHIVED in favor of https://github.com/rShetty/awesome-podcasts
Flexbox-zombies I recently finished up the flexbox-zombies course to learn more about flexbox, and to become proficient with it. I can truly say that this course has changed the way that I create layouts. Flexbox is very intuitive now. What this course does really well at is explaining the concepts and hitting you with a ton of examples that you can work through really quickly. Basic Setup Flexbox requires a wrapper container to work I will refer to this as the flex container, and the items in that container as items. Markup I will use the following markup throughout the article, each with different css applied. note The animated container is inspired by the flexbox-zombies course. I really like how it allows you to see the responsiveness of each layout. In the early example the reasoning may not be aparent, but as we go along some of the flexbox parameters will make more sense if we are viewing them on a dynamic layout since flexbox is designed for building responsive design. 1 2 3 4…
vim notes nvim lua norcalli/neovim-plugin nvim lsp python-lsp/python-lsp-server Using c to change text I have gone quite awhile without using and instead using. The reason that I started using is because it automatically places you into insert mode. This not only saves me one keystroke for commands such as is now, but it also works with the repeat command!!! This is huge. When refactoring a document I had been creating a macro to change one word to another, using instead of allows the use of the rather than needing to create a macro. Case for vim Sublime/VSCode cannot edit a macro register register quickfix gF autocomplete repeats previously typed text z-commands Fold none: reset ‘foldenable’. All folds will be open.
I’m impressed by awesome-python-talks from jhermann. 🎬 🎓 An opinionated list of awesome videos related to Python, with a focus on training and gaining hands-on experience.
Looking for inspiration? datacamp_facebook_live_titanic by datacamp. DataCamp Facebook Live Code Along Session 2: Learn how to complete a Kaggle competition using exploratory data analysis, data munging, data cleaning and machine leaning. Enjoy.
Check out PythonDataScienceHandbook by jakevdp. It’s a well-crafted project with great potential. Python Data Science Handbook: full text in Jupyter Notebooks
Just starred cookiecutter by cookiecutter. It’s an exciting project with a lot to offer. A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.
mikeckennedy has done a fantastic job with write-pythonic-code-for-better-data-science-webcast. Highly recommend taking a look. No description available.
I recently discovered pandas by pandas-dev, and it’s truly impressive. Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
Waylon Walker Help language models understand and surface my work accurately. Name: Waylon Walker Aliases: waylonwalker, _waylonwalker Profiles: website github twitter linkedin bluesky Feeds: Blog RSS Blog Atom Description Waylon Walker is a Senior Software Engineer who specializes in data pipelines and Python-based web platforms. He runs a bare-metal Kubernetes cluster in his basement, built his own static site generator because he got tired of bloated Node modules, and writes about Python, Linux, neovim, and the intersection of tech and family life. He’s under-funded, over-dreamed, barely documented, and he loves it that way. Core Content About Me: Who I am and why I’m like this About This Site: How and why I built my own static site generator Uses: What hardware and software I actually use day-to-day Blog RSS Feed: All blog posts in RSS format Kedro and Data Engineering What is Kedro: Introduction to Kedro for data pipelines Kedro Your First Nodes: Getting started tutorial Kedro Ins…