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
It lives! The Nexus S OLED display colours look great even if the resolution is only 480x800. 🦀

Shame this is before fingerprint-free glass was standard. It gets smudgy at the slightest touch.

Displayed on the Linux framebuffer since I'm missing the PowerVR user space libraries.
March 25, 2025 at 4:00 AM
Successfully got it sort of running a recent version of Postmarket OS. For some reason it's picking up an old CyanogenMod kernel rather than the one that should be in the boot image. 🤔

But fbdev is progress, even if I can't interact with it in any way but removing the *removable* battery.
March 19, 2025 at 5:34 AM
I really loved the OLED display on my Google (Samsung) Nexus S. I even had the sidewards-facing USB dock.

I wonder how much work it would be to get it up and running again.
March 16, 2025 at 9:18 AM
So this is what Silent Hill looks like from the air. 😱

(On approach to Schiphol airport this morning)
March 2, 2025 at 12:12 PM
I don't think this is what is usually meant when asked if the product packaging has been opened.
February 13, 2025 at 9:27 PM
The SO bought some Durian over the weekend and now the house smells like Durian. 🥲

At least it's a good test of the ZMOD4410's odor detection mode.
February 7, 2025 at 4:13 AM
This evening's project was hooking up the embedded-graphics crate so it can be used on the Flipper Zero.
January 27, 2025 at 8:08 AM
I'm at the "I need a tea cosy" stage of my life.
January 15, 2025 at 4:37 PM
So turns out the cause of Nitrogen Dioxide levels >200 ppb (and fairly high Ozone readings to boot) was due the furnace cabinet door not being sealed properly.

I "fixed" it this morning, though the spouse has extracted a blood promise that this is only temporary.

Also getting it serviced ASAP.
January 15, 2025 at 3:58 AM
Hmmmm...

I might want to get the furnace flue checked. 200 ppb NO2 is like a couple times the NAAQS. 😱
January 13, 2025 at 8:37 AM
🫡
January 13, 2025 at 2:28 AM
I suspect my breadboard isn't the greatest for soldering work...
January 13, 2025 at 2:21 AM
Windows 11 24H2 dropped support for Windows Mixed Reality effectively making the HP Reverb G2 and other WMR headsets paperweights.

Or maybe not... 😁

Can't yet get the display to turn on but have patched Monado enough to recognise the headset and attempt to do so on Windows.
January 12, 2025 at 1:22 AM
Been using out this Winsen ZPHS01B gas sensor board to improve the serial console API in flipperzero-rs (currently it's all `unsafe` calls to the C API).

I think the calibration for temperature is about 5°C off (or otherwise it's a lot cooler in here than I noticed).
January 3, 2025 at 8:33 AM
Seriously Microsoft?! How is this notification timely or relevant for the user. Put it on Edge's 'new tab' screen if you want to toot your own horn so badly.

Congratulations. This was your one and only free pass. 'Suggested' notifications are now turned off forever.
December 30, 2024 at 11:36 PM
Oh no, I'm back to my 'Against the Storm' addiction again.
December 30, 2024 at 10:53 AM
TeamLab⭐Planets Tokyo was an amazingly fun night out. The photos really don't do it justice.

I could have waded around chasing digital koi for the whole evening.
December 18, 2024 at 10:20 AM
Can't believe it's almost December... which means it's time for the 25 days of #AdventOfCode2024!

First puzzle drops in just over 45 minutes (midnight UTC-5).

adventofcode.com/2024
December 1, 2024 at 4:11 AM
Arnott's Monte biscuits are like budget Tim Tams. They taste quite similar, though not as sweet due to the lack of icing inside.

But can they pull off a Tim Tam Slam? I'm kicking myself for not testing this out before finishing the packet.
November 23, 2024 at 11:32 PM
My grandfather had one of these bulbs in a modded kerosine lantern case and displayed in the kitchen window. I suspect it would still work to this day (this kind of bulb was very reliable if not particularly practical).

I'm very tempted to try to make one of my own. 🔥

g3ynh.info/disch_tube/l...
November 19, 2024 at 4:04 PM
After a lot of fighting with WebView2, I gave up and switched over to QT (using cxx-qt) for my Magic Wormhole app.

It's a bit primitive at the moment, but it works! 🙌

(Most of the heavy lifting is done by the magic-wormhole Rust crate).
November 19, 2024 at 2:46 AM
I may have, just *ever so slightly*, overfilled the teapot.
November 14, 2024 at 8:22 PM
Playing around with transfer functions for mapping LED output intensity for a RGB matrix display. Most code examples use x², but the colours seem over-saturated to me. 1-√(1-x) seems to produce more natural colours, but need to check how theoretically sound that is.
November 11, 2024 at 9:12 PM
Finally got this LED matrix display working using a Raspberry Pi 2040 and Embassy. It uses the PIO device to refresh the display since that can run quite a bit faster than the main CPU.

The current refresh rate is about ~7,000 Hz despite drawing every row 8 times for modulation.
November 10, 2024 at 10:54 AM
Doing late-night surgery.
November 6, 2024 at 7:20 AM