-
Brief Look At Microsoft's New CLI Text Editor
Kicking the tyres on Edit, Microsoft’s new text editor for the CLI. Continue reading β
-
Podcasters, I’m begging you: if you mention an article in your show, no matter how trivial it may be, put a link to it in the show notes. Take a page from your YouTube making cousins, who fill their video descriptions with links, even to things that seem inconsequential to the topic of the video.
Mea culpa: the link that I thought was missing from the show notes was actually there. The author was read out on the show but not the title, which is why I didn’t recognise it. So my apologies: I was wrong.
The post still stands though, for those podcasts that refuse to put any links in the show notes. But most tech/tech adjacent shows do this really well, so I hope you know this post doesn’t apply to you. π
-
Airing Of Draft Posts
A collection draft ideas and reflections, amassed over the last year, highlighting a mix of topics ranging from technology insights to personal musings. Continue reading β
-
TIL: CR2420 button batteries are not the same as CR2032, no matter what your eyes say to you.
-
Idea for UCL: Methods
I’m toying with the idea of adding methods to UCL. This will be similar to the methods that exist in Lua, in that they’re essentially functions that pass in the receiver as the first argument, although methods would only be definable by the native layer for the first version.
Much like Lua though, methods would be invokable using the
:“pair” operator.strs:to-upper "Hello" --> HELLOThe idea is to make some of these methods on the types themselves, allowing their use on literals and the result of pipelines, as well as variables:
Continue reading β -
π§βπ» New post on TIL Computer: Local Values In Fiber
-
π§βπ» New post on TIL Computer: A Way To Resolve Redelivered Messages Stuck In A NATS Jetstream
-
2024 Year In Review
Itβs a few minutes to 12:00 PM on the 1st January 2025 when I published this. Thanks to time-zones, that means itβs just about to turn 12:00 AM one hour to the west of Greenwich, meaning that itβs still 2024 in much to the west of the prime meridian. So Iβm technically still within the window of time where I could say I got a year in review post out for 2024.
Continue reading β -
We might be seeing the end of the tunnel with our performance woes at work. I did some profiling with pprof this morning, and saw that a large amount of time was spent in
context.Value(). Which is strange, given that this is just a way of retreving values being carried alongside context instances.My initial suspicion was that tracing may have been involved. The tracing library weβre using carries spans β like method calls β in the context. These spans eventually get offloaded to a a service like Jaeger for us to browse.
We never got tracing working for this service, so I suspect all these spans were building up somewhere. The service wasnβt memory starved, but maybe the library was adding more and more values to the context β which acts like a linked list β and the service was just spending time traversing the list, looking for a values.
This is just speculation, and warrents further investigation, maybe (might be easier just to spend that effort getting tracing). But after we turned off tracing, we no longer saw the CPU rise to 100%. When we applied load, the CPU remained pretty constant at around 7%.
So itβs a pretty large signal that tracing not being offloaded is somewhat involved.
-
π§βπ» New post on TIL Computer: Link: Probably Avoid Relying On Error Codes To Optimistically Insert In Postgres
-
π§βπ» New post on TIL Computer: Donβt Use βTβ RDS Instance Types For Production
-
π§βπ» New post on TIL Computer: Feedback Of Conditional Updates In PostgreSQL
-
π§βπ» New post on TIL Computer: Slow NATS Go Subscribers
-
π§βπ» New post on TIL Computer: psql Techniques
-
Weekly Update - 20 Oct 2024
Yeah, I know, it’s been a whileβ¦ again. A lot has been happening in life and there’ve been many days that I haven’t done any work on anything. Things are starting to settle down now, although I am expecting a few more bumpy days ahead, so we’ll see how we go with project work.
Cyber Burger
Yeah, I’m getting pretty tired of this one. I’m right in the trough of despair here, where the initial excitement has worn off and I just want to finish it. All the remaining work for it has been defined, which I think helps, and now it’s just a matter of plowing through the tasks.
Continue reading β -
π§βπ» New post on TIL Computer: Exporting a Query as a CSV File From PostgreSQL
-
π§βπ» New post on TIL Computer: HTMX And POST Redirects
-
Project Updates
Well, it’s been three weeks since my last post here, and as hard as it was to write this update, not writing it would’ve been harder. So let’s just skip the preamble and go straight to the update.
Cyber Burger (That Pico-8 Game)
I’m terrible at being coy, I’ll just spill the beens. That game I’ve been working on is call Cyber Burger. It’s based on a DOS game I saw on YouTube, and it seemed like a fun project to try and work on, with some tweaks to the gameplay that I think would make it more forgiving.
Continue reading β -
Simplifying UCL
I’ve been using UCL for several days now in that work tool I mentioned, and I’m wondering if the technical challenge that comes of making a featureful language is crowding out what I set out to do: making a useful command language that is easy to embed.
So I’m thinking of making some simplifications.
The first is to expand the possible use of pipes. To date, the only thing that can travel through pipes are streams. But many of the commands I’ve been adding simply return slices. This is probably because there’s currently no “stream” type available to the embedder, but even if there was, I’m wondering if it make sense to allow the embedder to pass slices, and other types, through pipes as well.
Continue reading β -
Imports And The New Model
Well, I dragged Photo Bucket out today to work on it a bit.
It’s fallen by the wayside a little, and I’ve been wondering if it’s worth continuing work on it. So many things about it that need to be looked at: the public site looks ugly, as does the admin section; working with more than a single image is a pain; backup and restore needs to be added; etc.
Continue reading β -
UCL: First Embed, and Optional Arguments
Came up with a name: Universal Control Language: UCL. See, you have TCL; but what if instead of being used for tools, it can be more universal? Sounds so much moreβ¦ universal, am I right? π
Yeah, okay. It’s not a great name. But it’ll do for now.
Anyway, I’ve started integrating this language with the admin tool I’m using at work. This tool I use is the impetus for this whole endeavour. Up until now, this tool was just a standard CLI command usable from the shell. But it’s not uncommon for me to have to invoke the tool multiple times in quick succession, and each time I invoke it, it needs to connect to backend systems, which can take a few seconds. Hence the reason why I’m converting it into a REPL.
Continue reading β -
Adding A Sidebar To A Tiny Theme Micro.blog
This is now a standalone Micro.blog Plugin called Sidebar For Tiny Theme which adds support for this out of the box. The method documented below no longer works, but I'm keeping it here for posterity reason.
I’d though I’d write a little about how I added a sidebar with recommendations to my Tiny Theme’ed Micro.blog, for anyone else interested in doing likewise. For an example on how this looks, please see this post, or just go to the home page of this site.
Continue reading β -
Photo Bucket Galleries and Using the HTML Popover API
Spent a bit more on Photo Bucket this evening. Tonight I started working on galleries, which’ll work more or less like albums.
At the moment you can create a gallery and add a photo to it. Most of the work so far has been backend so the UI is pretty rough. Eventually you’ll be able to do things like rearrange photos within galleries, but for the moment they’ll just be added to the end.
Continue reading β -
π Apple Watch Series 9 and Ultra 2 Ban Takes Effect; Apple Appeals
The ITCβs ruling was subject to a potential veto by U.S. President Biden by December 25th, but today, the Office of the U.S. Trade Representative issued a statement that it has decided against vetoing the ITC ruling, meaning that the ruling is now final.
It seems odd to me that Apple was expecting a reprieve from the White House over this patient dispute with Masimo. Issuing a veto looks like choosing one US company over another. Doesnβt seem like good political optics to me. Maybe it seemed to Apple it was worth a shot. π€·ββοΈ
-
Overhead someone say, in not so many words, that my UI design for something was sub-par. π Sad, but can’t deny that it’s true to a degree. Acknowledged area of potential development, I guess.