Darren Burns @darren.bsky.social · 30/03/2025Posting 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.comRelease 2.6.0 - Editing rows, compact mode, header value autocomplete, and more! · darrenburns/postingThis 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/2025If 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/2025While 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/2025What 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/2025Updated 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/2025My 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/2025Posting 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/2025The `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/2025Yep, 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/2025Ah 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/2025I 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 · 07/03/2025There 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/2025Posting 2.5 is out now, and adds support for bearer token auth thanks to another external contribution! 🔒 github.com/darrenburns/... 140
Reposted by Darren BurnsJosh W. Comeau @joshwcomeau.com · 02/03/2025A 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/2025The ability to quickly jump between requests by pressing a ctrl+shift+p (configurable)... 000
Darren Burns @darren.bsky.social · 02/03/2025A fantastic community contribution landing in the next version of Posting: enabling and disabling rows in tables. 000
Darren Burns @darren.bsky.social · 01/03/2025Working 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/2025According to my LinkedIn feed "Python is the new Assembly" 👍 120
Reposted by Darren BurnsKelsey Hightower @kelseyhightower.com · 17/01/2025Angertainment is a great way to describe the emotional experience most social media platforms are optimizing for. 1645418681
Darren Burns @darren.bsky.social · 03/01/2025darren.codes/posts/goodby...darren.codesGoodbye TextualizeAfter 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 Burnsjamelle @jamellebouie.net · 03/01/2025commenting 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/2024My 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/2024My 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.cohttps://github.com/zellij-org/zellij/pull/3884 020
Darren Burns @darren.bsky.social · 17/12/2024I 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/2024Have 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/2024Bravo 👏 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/2024Why is my bank insulting me? 😞 (Top 1% Greggs customer btw) 000
Darren Burns @darren.bsky.social · 15/12/2024That 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/2024This 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/2024Thanks - 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/2024advent of code day 12 part 2 has fallen we continue to the next nightmare 000
Darren Burns @darren.bsky.social · 15/12/2024I love these visualisations! What are you using to draw them? 110
Reposted by Darren BurnsCorvus @corv.bsky.social · 13/12/2024Advent of Code Day 12: Perimeter Patrolling #AdventOfCode 1132
Darren Burns @darren.bsky.social · 08/12/2024This is how I used it: github.com/darrenburns/...github.comadventofcode/aoc24/day05.py at main · darrenburns/adventofcodeAdvent of Code 2024 and beyond. Contribute to darrenburns/adventofcode development by creating an account on GitHub. 000
Darren Burns @darren.bsky.social · 08/12/2024Yup, 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