Pinned toot
Pinned toot

Hello! I am @andrewt and I have registered this side account so I can kvetch about tech without boring everyone who cares not one jot about it.

I've written this style of SQL handler for every Node project I've done. Finally got around to making a stand-alone version, so here it is.


const [ user ] = await sql`SELECT * FROM users WHERE id = ${ id }`;


Generates prepared statements behind the scenes so you don't have to mess about escaping things.

Oh yeah:

β€’ Dell's "reformat the disk and reinstall Windows from the secret backup partition" was totally fine with Windows sharing a disk with Linux and Grub. Just did not give a shit and got on with things. We love to see it.


β€’ Setting up a new OS is a really good use case for a voice interface and I honestly liked it.
β€’ I was baffled for a while how it knew my wallpaper and weird taskbar settings. (I keep it down the left because Ubuntu and because why have it on the long side of a 16:9 screen?) Obviously it had just synched my settings to the cloud.

Observations from having to wipe & reinstall the two-year-old factory version of Windows 10 tonight:

β€’ It was way less pretty back then.
β€’ It comes with a 5-day trial of Office 2016 that opens IE to buy.
β€’ It was easy once in recovery mode but getting there without a working OS was blind stumbling.
β€’ It did not accept it was genuine for ages.
β€’ The way Microsoft use "genuine" to mean "proven genune" is a bit offensive.
β€’ I wish it had taken Ubuntu down too. I kinda want to start again on that.

If we want to get *really* scifi, maybe these hypothetical carbon capture machines could construct *themselves* out of captured carbon, possibly using some kind of tiny pod containing most of the materials needed to get started as well as the information to construct the entire machine... Maybe these pods could, themselves, be made through carbon capture using the same machines, making them self-replicating without any technical skills needed

But this is all some kind of absurd pipe dream, of course. It's not like self-replicating material-producing carbon capture machines grow on trees

just come up with a super-elegant way to get the last element in a javascript array you guys

so, how do you solve operator precedence? do you encode it in the grammar? do you use Pratt parsing? hell no

I think my current Linux install's got a bit bogged down with stuff so I'm considering wiping the partition and starting afresh β€” a good opportunity to try a different distro. What would you recommend?

I'm running a year-old laptop, with a touchscreen, and currently I use Ubuntu. I know Linux so I don't need anything especially too simplistic but I like a nice, friendly UX. That's important to me. I don't want to use the terminal much unless I'm deving or whatever.


This was two separate doodles that happened to be next to each other but honestly, what a mood.

Very little in life is so reliably fiction as the "Joel Test" section on the bottom of Stack Overflow job ads.

So I am considering leaving my current job because honestly I think the business is doomed. I'm keeping an eye on the jobs on Stack Overflow but are there other good tech-jobs listings I should be following?

If it's relevant: I'm pretty much full-stack JS (Node, React, vanilla, etc) with bonus experience in .NET and a dash of Java. TBH I'd describe myself as "language agnostic but don't take the piss".

labels from my private trello boards:

β€’ customer hand-holding
β€’ rampant paranoia
β€’ poking the legacy bear

Any tech opinion that includes the phrase "X is good because it forces you to Y" is nonsense made up to promote X which severely underestimates the determination of people who wrongly insist on Y while also failing to recognise at least one legitimate reason to Y.

We rely too much on hiring mediocre developers and putting them on rails. It doesn't work.

HELLvetica. Like helvetica, but with like, much shittier kerning for Halloween.

Who called it realizing you're trans and not suspension of cisbelief

I wrote a bash script called "g" that's just a bunch of shortcuts for Git commands I can't remember.

Interactive commit amendments are on the subcommand "a".

And of course to stage a hunk in an interactive commit you press "y".

So what I'm just realising now is that to quickly fix a small mistake in a commit, I have to type "gay".

Show more
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!