David Coles 🌠
banner
dcoles.net
David Coles 🌠
@dcoles.net
Principal Software Engineer and Systems Architect at Sony Interactive Entertainment (PlayStation). Rust, Linux, System Architecture, Hijinks.

They/them | 🏳️‍🌈 | dcoles.net
Reposted by David Coles 🌠
Starting tomorrow, you will be able (on linux without cross-compilation) to install and use the Rust GCC backend directly from rustup! To do so:

rustup component add rustc-codegen-gcc

Thanks a lot to @jberanek.bsky.social for all their work to make it a reality!

github.com/rust-lang/ru...
Add GCC and the GCC codegen backend to build-manifest and rustup by Kobzol · Pull Request #151156 · rust-lang/rust
This PR adds the GCC codegen backend, and the GCC (libgccjit) component upon which it depends, to build-manifest, and thus also to (nightly) Rustup. I added both components in a single PR, because ...
github.com
January 22, 2026 at 10:56 PM
Reposted by David Coles 🌠
Rust 1.93.0 has been released! 🌈 🦀✨

This release includes a new musl version for the *-linux-musl targets, adds support for #​[cfg] inside asm!(), and adds [T]::as_array, VecDeque::{pop_front_if, pop_back_if}, Vec/String::into_raw_parts, fmt::form_fn, and more! ✨

blog.rust-lang.org/2026/01/22/R...
Announcing Rust 1.93.0 | Rust Blog
Empowering everyone to build reliable and efficient software.
blog.rust-lang.org
January 22, 2026 at 6:02 PM
Really scratching my head why WireGuard explicitly disables IPv6 link-local addressing. Sure there's no MAC address for EUI-64, but you could easily derive one from the interface public key or allocate a random one like many operating systems now do.
January 19, 2026 at 6:07 AM
Reposted by David Coles 🌠
January 17, 2026 at 11:19 AM
Wanted to try out WebGPU, so wrote a little shader to replicate how I remember the SNES to look on a CRT when using composite input.

I'm sure it's horrifically inefficient, but the chroma sub-sampling look feels pretty close.

dcoles.dev/webgpu/snes-...
January 17, 2026 at 2:12 AM
One of the most frustrating artifacts of tools like Copilot and Chat GPT is partial/limited context. It doesn't need much to sound competent and that it "understands the problem", but scratch beneath the surface and you find there's nothing really there.
January 16, 2026 at 8:15 AM
This feels horribly cursed, but using usbipd to pass through a USB HDD dock to WSL2 in the absence of an easily accessible Linux machine works surprisingly well.

learn.microsoft.com/en-us/window...
Connect USB devices
Learn how to connect a USB device to your WSL 2 Linux distribution using usbipd-win.
learn.microsoft.com
January 3, 2026 at 6:09 PM
Today I learnt that you can use 7zip to open disk images, including those of various virtual machine formats.

Saved me a huge amount of time trying to work out if there was anything important on this 50 GiB Virtual Box image.

superuser.com/a/1598684/15...
Mount vdi as drive in Windows
I am wanting to mount a VDI file that no longer boots to a drive in Windows to, hopefully, recover some files. I am aware that Winmount advertises this function, but I am a bit confused about which
superuser.com
January 2, 2026 at 9:32 PM
My life is in constant tension from my desire to stay up late / sleep in and my dog's desire to be fed at the crack of dawn.
December 7, 2025 at 9:48 AM
Just for fun I decided to try doing some of #adventofcode on the Flipper Zero using flipperzero-rs. My initial try at Day 1 OOM'd because of Vec's amortized re-allocation strategy, but I can work around that by giving an explicit capacity.

Exposed a few of the rough edges in flipperzero-rs API too.
December 6, 2025 at 7:44 AM
Reposted by David Coles 🌠
I think I probably ate something I was allergic to today and then mentally disappeared from 5 to 8pm. Yep this is a thing allergy can do to you. You just... cease to be able to think.

If you suffer from recurrent unexplainable brain fog and sleepiness it's worth looking into allergies!!
November 25, 2025 at 10:56 PM
You know what the best thing about Dad Jokes are?

They get better with age. ;)
November 25, 2025 at 6:32 AM
Reposted by David Coles 🌠
Last chance to turn it off.

On Monday, November 3rd, Microsoft will start using your LinkedIn data for AI training. And remember, you're opted in by default.

To toggle it off 👉 Account - Settings & Privacy > Data privacy > Data for Generative AI Improvement.
October 31, 2025 at 1:37 PM
Reposted by David Coles 🌠
Hello, friends! After 10(!) years of #AdventOfCode, I've made some changes to preserve my sanity: there will be 12 days of puzzles each December (still starting Dec 1) and there is no longer a global leaderboard. Read more:
adventofcode.com/2025/about#f...
adventofcode.com/2025/about#f...
October 22, 2025 at 2:32 AM
Reposted by David Coles 🌠
Oops, it's Nov *2nd*, not 9th (I was looking at Mar. 9th, the start date), thanks to infosec.exchange/@rob3/115428...
rob3 (@[email protected])
@[email protected] U.S. time fallover is Nov 2 this year.
infosec.exchange
October 24, 2025 at 2:23 PM
I don't want to talk to my PC, I just want to be able to use it without mandatory twice-weekly reboots.
Microsoft’s Mico heightens the risks of parasocial LLM relationships
“It looks like you’re trying to find a friend. Would you like help?”…
arstechnica.com
October 26, 2025 at 10:17 PM
We keep hearing that "it's getting too expensive to make games/software/movies/tv-shows/albums/etc." when doing so has never been easier or more accessible.

I think it's only a certain class of media ("blockbuster/AAA") that has such a vacuous unsatisfiable need for "cøntent".
August 23, 2025 at 4:26 PM
Reposted by David Coles 🌠
Who does your assistant serve?
The newest post on Xe Iaso's blog
xeiaso.net
August 17, 2025 at 2:43 PM
Reposted by David Coles 🌠
J K Rowling is literally less qualified than me to opine on the nature of biology as it applies to sex and the fact that she means otherwise means I wish ill of her because why else did I get a PhD in this
August 18, 2025 at 9:05 AM
Reposted by David Coles 🌠
If there were a single lesson I'd drill into new software engineers it'd be this:

You can be technically right and politically and systemically dead wrong.
August 17, 2025 at 11:52 PM
Reposted by David Coles 🌠
Lol. No. But they sure are trying hard to manufacture consent.
August 18, 2025 at 6:04 PM
Does anyone find AI-generated slide backgrounds incredibly distracting to the point of being painful?

I have two theories:
August 23, 2025 at 3:34 PM
Reposted by David Coles 🌠
going to start every slack message with “You’re absolutely right!”
August 19, 2025 at 6:09 AM
Reposted by David Coles 🌠
I'm probably going to post this a couple times, but if you are a Rust dev, who cares about messaging between tasks/threads/process/devices, and would be willing to do me a personal solid, I want YOU to help me put Ergot through its paces:

github.com/jamesmunns/e...

I need your help!
Call for Experimentation · jamesmunns ergot · Discussion #76
This is a call to the kind of people that write connected systems in Rust to try out Ergot between now and the middle of September. ergot is a messaging library, built on postcard, that I am buildi...
github.com
August 18, 2025 at 3:58 PM