Sign in

Darren Burns

@darren.bsky.social
161 followers 126 following 72 posts

Software engineer 💻, fantasy book enjoyer 📚, 日本語 learner 🇯🇵 Building posting.sh, the HTTP client that runs in the terminal. darren.codes

PostsRepliesMedia
Reposted by Darren Burns
Matt @stradiwhovius.bsky.social · 12/06/2025
lmao get her
Boy George wrecking JK Rowling
154102202105
Darren Burns @darren.bsky.social · 30/03/2025
Posting is an API client that runs completely in your terminal - and version 2.6 is out now! It's one of the biggest releases yet, adding the ability to edit headers/query params, compact mode, more autocompletion and much more! github.com/darrenburns/...
github.com
Release 2.6.0 - Editing rows, compact mode, header value autocomplete, and more! · darrenburns/posting
This is a pretty huge release. It introduces a bunch of features the community requested, and a bunch they didn't! Edit rows without deleting them 🤯 Finally! You can now edit headers, query params,...
053
Darren Burns @darren.bsky.social · 23/03/2025
If enabled, you can use env vars in Posting - but this could cause you to leak info if you're streaming for example. By default, there's now a simple substring check on the name of the variable, and if it looks like information you may not want to be public, it'll be hidden from the preview.
020
Darren Burns @darren.bsky.social · 15/03/2025
While in compact mode, Posting's command palette, theme picker, and request search menus now appear to integrate with the URL bar. The theme selector also takes up minimal space now, allowing you to see more of the theme in action. github.com/darrenburns/... #python #opensource #programming
030
Darren Burns @darren.bsky.social · 14/03/2025
What is this? An API client for ants?? Compact mode is working nicely with different themes, horizontal mode, and jump mode. I also added a subtle background to indicate which tab has focus-within - something that I lost by hiding tab underlines. #python #opensource
010
Darren Burns @darren.bsky.social · 14/03/2025
Updated Posting's README image to show more recent UI changes! github.com/darrenburns/... #python #opensource #programming #software
031
Darren Burns @darren.bsky.social · 13/03/2025
My sweet Summer child... did you think you were safe from the AI chatbot assistants after booting up that video game world? news.xbox.com/en-us/2025/0...
000
Darren Burns @darren.bsky.social · 13/03/2025
Posting 2.5.3 is out, and reduces launch time by about 60% 🚀 I wrote a bit about it here - including some general Python and Textual tips for diagnosing and improving slow startups: darren.codes/posts/python... #python #programming #OpenSource #software #textual
071
Darren Burns @darren.bsky.social · 09/03/2025
The `ansi_theme_dark` reactive only affects things if you use ANSI colors in your markup. It's unrelated to *Textual* themes. Textual themes only change the values in the CSS design system variables, like $primary, $accent, $surface, etc. Textual themes will never change the value of `red`.
010
Darren Burns @darren.bsky.social · 09/03/2025
Yep, if you're just going straight to hex or RGB tuples then there's nothing to think about :) In Textual 1, if you write `red` in markup it gives Monokai-purple-red, unless you do the thing I shared above. In Textual 2, it gives web-color red (255, 0, 0), which happens to match ANSI bright_red.
210
Darren Burns @darren.bsky.social · 09/03/2025
(Screenshot is from Textual 1.0)
020
Darren Burns @darren.bsky.social · 09/03/2025
Ah ok. I was originally thinking something like this (makes it so that red is actually red and not the Monokai purple-red shade). Although on trying it I realised the new Textual 2 markup uses web colours, so "red" now corresponds to ANSI bright_red rather than the Monokai shade.
220
Darren Burns @darren.bsky.social · 09/03/2025
It may well be different, it’s all a bit fuzzy 😄
110
Darren Burns @darren.bsky.social · 09/03/2025
I see - I believe that reactive does exactly what you need then if I understand correctly. It’ll map the colour codes (0-15, e.g. ansi_blue) to an RGB value that is unaffected by theme (although you’ll have to set the light & dark reactives). The default maps to Monokai colours because reasons 😆
130
Darren Burns @darren.bsky.social · 09/03/2025
Did you use `App.ansi_theme_dark` here?
110
Darren Burns @darren.bsky.social · 07/03/2025
There are a few features in Posting that I really need to advertise more, and I'll be trying to find a home in the docs for more of these. One thing is the ability to easily adapt the UI on the fly. Press ctrl+h to toggle the sidebar, and ctrl+m to expand the focused section
030
Darren Burns @darren.bsky.social · 07/03/2025
Posting 2.5 is out now, and adds support for bearer token auth thanks to another external contribution! 🔒 github.com/darrenburns/...
140
Reposted by Darren Burns
Josh W. Comeau @joshwcomeau.com · 02/03/2025
A few weeks back, I shared one of my favourite macOS hidden features: the ability to zoom *way in* on the cursor. I’m curious, are there similar features on Windows or Linux? Or software that can accomplish the same goal? It’s such a boon for front-end work.
12994
Darren Burns @darren.bsky.social · 02/03/2025
The ability to quickly jump between requests by pressing a ctrl+shift+p (configurable)...
000
Darren Burns @darren.bsky.social · 02/03/2025
A fantastic community contribution landing in the next version of Posting: enabling and disabling rows in tables.
000
Darren Burns @darren.bsky.social · 01/03/2025
Working on Posting again for the first time in a couple of months! Bug fixes and minor (but highly requested) features! It also hit 8k stars today on GitHub ✨
010
Darren Burns @darren.bsky.social · 01/02/2025
According to my LinkedIn feed "Python is the new Assembly" 👍
120
Reposted by Darren Burns
Kelsey Hightower @kelseyhightower.com · 17/01/2025
Angertainment is a great way to describe the emotional experience most social media platforms are optimizing for.
1645418681
Darren Burns @darren.bsky.social · 04/01/2025
Indeed. Thanks Rodrigo!
010
Darren Burns @darren.bsky.social · 04/01/2025
Thank you!
010
Darren Burns @darren.bsky.social · 03/01/2025
darren.codes/posts/goodby...
darren.codes
Goodbye Textualize
After three years of working full-time on Textual, it’s finally time to move on and find a new challenge. Over the course of three years, I’ve worked with some amazing colleagues, been part of a fanta...
250
Reposted by Darren Burns
jamelle @jamellebouie.net · 03/01/2025
commenting on something happening in some corners of tiktok right now but this is a general observation: it is absolutely brain-breaking how so many people have lost the ability to disagree with someone without denouncing them as ontologically evil or pathological or whatever else
382118171091
Darren Burns @darren.bsky.social · 27/12/2024
010
Darren Burns @darren.bsky.social · 27/12/2024
My Atuin wrapped 2024 😄 I think the "Command Evolution" stuff is the wrong way around though. Pretty sure I only started with Atuin a few months ago and never used it in the first half.
020
Darren Burns @darren.bsky.social · 26/12/2024
My first Rust OSS contribution got merged in to Zellij 🦀 +1, -1 and a single character but we need to start somewhere right 😄 github.com/zellij-org/z...
t.co
https://github.com/zellij-org/zellij/pull/3884
020
Darren Burns @darren.bsky.social · 18/12/2024
Program: 2,4,1,3,7,5,4,0,1,3,0,3,5,5,3,0
110
Darren Burns @darren.bsky.social · 17/12/2024
I just learned that you can now turn off pointer acceleration in MacOS without running a console command!
000
Darren Burns @darren.bsky.social · 17/12/2024
I’m at day 15 now (haven’t started yet)!
220
Darren Burns @darren.bsky.social · 17/12/2024
Haven’t tried that one 🙂
000
Darren Burns @darren.bsky.social · 17/12/2024
It does yeah
110
Darren Burns @darren.bsky.social · 17/12/2024
Have you tried Outer Wilds? I’m playing it now and it’s been great (mystery/exploration/get in your ship and fly to another planet/fun ship control mechanics/very interesting game mechanic I can’t say without spoiling). Also just Googled and it has a VR mod which is apparently very good 🤔
110
Darren Burns @darren.bsky.social · 16/12/2024
Bravo 👏 At times I find it tough in plain Python, so props on making visualisations which demonstrate the algorithms so effectively!
010
Darren Burns @darren.bsky.social · 16/12/2024
building the next big thing
000
Darren Burns @darren.bsky.social · 16/12/2024
Why is my bank insulting me? 😞 (Top 1% Greggs customer btw)
000
Darren Burns @darren.bsky.social · 15/12/2024
That looks very similar to my solution. I used BFS instead of DFS though and it was recursive. I also counted fences during the search in part 1 rather than afterwards. In part 2 my approach for counting sides looks similar to yours 😄
010
Darren Burns @darren.bsky.social · 15/12/2024
This screenshot was just my good-enough for part 1 algorithm. I refactored to just keep a counter of each stone type for part 2 and it was instant enough (38ms) 😄
110
Darren Burns @darren.bsky.social · 15/12/2024
Thanks - I managed to get it finally 😆 I was having difficulty 'merging' fences into a single edge. I was trying to merge fences into edges as I found them and ended up in a bit of a mess. I ended up doing another pass to count edges after collecting the fences for each region, and it helped lots!
110
Darren Burns @darren.bsky.social · 15/12/2024
advent of code day 12 part 2 has fallen we continue to the next nightmare
000
Darren Burns @darren.bsky.social · 15/12/2024
I love these visualisations! What are you using to draw them?
110
Darren Burns @darren.bsky.social · 15/12/2024
when i close my eyes this is what i see now
010
Darren Burns @darren.bsky.social · 15/12/2024
advent of code day 12 part 2 has defeated me
330
Reposted by Darren Burns
Corvus @corv.bsky.social · 13/12/2024
Advent of Code Day 12: Perimeter Patrolling #AdventOfCode
1132
Darren Burns @darren.bsky.social · 14/12/2024
I should've went for the m4 max
130
Darren Burns @darren.bsky.social · 08/12/2024
This is how I used it: github.com/darrenburns/...
github.com
adventofcode/aoc24/day05.py at main · darrenburns/adventofcode
Advent of Code 2024 and beyond. Contribute to darrenburns/adventofcode development by creating an account on GitHub.
000
Darren Burns @darren.bsky.social · 08/12/2024
Yup, it seemed easier to reason about for me but I could be wrong! I think internally it defines a class which defines ordering using your comparison function. It seemed like a shortcut way of defining an ordering without creating a wrapper class and implementing dunder comparison methods.
100