Demetrius

@laelapa
14 Followers
138 Following
46 Posts

Developer, encyclopedic knowledge appreciator. I have the natural tendency to deep dive into every new interest of mine, sometimes with great success, sometimes the nuance might turn out overwhelming but that's no matter because there's still value in the process.

Having studied computer & software engineering at a university level, I'm currently falling in love with #golang

homepagehttps://laelapa.dev
githubhttps://github.com/Laelapa

A full #guitar rig used live, running on the #steamdeck 🤯

https://youtu.be/yL1DM0QWGSE

The Steamdeck is my entire guitar rig

YouTube

An interesting article about "Why Copying Go Lock Is a Bad Idea"
#golang

https://ivan-pidikseev.dev/posts/why-copying-go-lock-is-a-bad-idea/

Parallel Table-Driven Tests in Go

Parallel execution of table-driven tests in Go: Learn best practices, avoid race conditions, and optimize test performance with t.Parallel() and subtests.

Rost Glukhov | Personal site and technical blog
feel like there's a bit of nuance lost when people argue about usability in Linux. Just because I know how to do something by editing a file in a very specific directory that changes between distros does not mean that I think it's good ui/ux. I can be frustrated with how something should be a simple GUI toggle vs rawdogging dconf. I can also still be smart; it does not make me dumb to want shortcuts.
The bus deadlock in Oslo has illustrative value

#dev #programming #buses #multithreading

Chatting with a friend about Cloudflare's intermittent outages today, they brought up an interesting point: How many organizations have started relying on Cloudflare to do basic security blocking and tackling stuff, like stopping SQL injection attacks at the edge? Maybe your devs were lazy at blocking this stuff in the past b/c CF was the control layer to compensate for that.

You might say well okay but if CF is down, so are the sites relying on them, and that's true. But a lot of organizations will switch CF off during these times to keep their sites and services reachable and running. And my friend's point was that for those organizations, they might want to take a closer look at the traffic they received during this eight-hour outage window or whatever, and I think that's sound advice.

RE: https://techhub.social/@docker/115531756547104461

Some big changes are included in the latest Docker release. And behind the scenes, I've been happy to see the client side CLI move from the docker to the moby organization. #docker

A little louder, a reminder:

"Good UX" mostly means "I've seen this before."

Have you ever seen an adult without your cultural baggage approach a doorknob for the first time? They'll start by pulling it, then pushing it. There's nothing "intuitive" about turning a round doorknob. But you've been trained, so you don't even notice.

"...but Apple, but the iphone", the iPhone was never "easy to use" or "intuitive". They bombarded TV with training videos disguised as ads for 6 months pre-release.

TIL Go's mutex is unfair by default, allowing the running goroutine to re-acquire a lock it just released. This is faster because it avoids having to park and unpark goroutines, and is kind to CPU caches. But if starvation is detected (defined as >1ms of waiting), it switches to fair servicing of waiters.

https://go.googlesource.com/go/+/refs/tags/go1.25.3/src/internal/sync/mutex.go#31

#golang

src/internal/sync/mutex.go - go - Git at Google

Oh Shit, Git!?!