Matt Layher
banner
mdlayher.com
Matt Layher
@mdlayher.com
Software Engineer at PlanetScale. Go, Rust, Linux, networking, and open source software. On and ever upward. he/him.
Reposted by Matt Layher
Just a light little personal project. If you own a Framework Laptop 16 and wonder what the heck to do with those little LED modules, here's your sign. ;)

github.com/ctsdownloads...
GitHub - ctsdownloads/led-battery-monitor: Battery monitor with LED display and Spotify integration
Battery monitor with LED display and Spotify integration - ctsdownloads/led-battery-monitor
github.com
July 4, 2025 at 12:44 PM
Reposted by Matt Layher
PlanetScale now supports Postgres.
July 1, 2025 at 3:25 PM
Reposted by Matt Layher
I did not have Postgres on my bingo card for 2025 but here we are and let me tell you this thing rips.
planetscale.com/blog/planets...
Announcing PlanetScale for Postgres — PlanetScale
PlanetScale now supports Postgres
planetscale.com
July 1, 2025 at 3:12 PM
Reposted by Matt Layher
Choosing Languages
steveklabnik.com
March 13, 2025 at 5:12 PM
Reposted by Matt Layher
I keep coming across all these "pseudocode" examples on Wikipedia and in academic papers, and what I don't understand is why the authors can't just learn a real programming language
February 6, 2025 at 7:49 PM
Reposted by Matt Layher
The year is 2035. I meet President AOC in the Oval Office. "You've done well," she says. "By telling men to dress gay, you've lowered the population rate by 90%, thereby reducing carbon emissions." She slides me a manilla envelope. I can now afford a home in a walkable neighborhood
January 13, 2025 at 5:24 AM
Reposted by Matt Layher
You’re still arguing about tabs vs. spaces? May I present…
December 25, 2024 at 6:37 PM
Reposted by Matt Layher
December 22, 2024 at 2:06 PM
When presented with an opportunity to buy 99 cans of PBR, you must buy 99 cans of PBR. #99pabst
December 9, 2024 at 12:31 AM
Kobol, nice! I really wanted a Helios64 for off-site backup but didn't end up going for it before they shut down. Really neat little devices though.
December 3, 2024 at 1:45 PM
Reposted by Matt Layher
A silly Go channel trick:

The idea behind the gate type (pkg.go.dev/github.com/n...) is to use two channels to store one bit of state. If one channel contains a value the bit is set; if the other it is not.
gate package - github.com/neild/gate - Go Packages
pkg.go.dev
November 27, 2024 at 3:58 AM
Guacamole passed away this week. Her life wasn't a long one, but she showed us so much more love, empathy, and pure innocence than I ever knew possible.

Jennifer, Meatloaf, and I are so grateful for everything she taught us and for all the fun times together. It's been a real honor being her dad.
November 23, 2024 at 1:25 PM
Reposted by Matt Layher
Is everybody believing in the servers? If you don't believe in the servers they don't work
November 18, 2024 at 3:29 AM
I've helped work on this migration for almost my entire time at PlanetScale and I'm so so stoked that the migration is complete and the case study is public!

bsky.app/profile/plan...
November 13, 2024 at 1:52 PM
Reposted by Matt Layher
Read about how Cash App, the #1 finance app in the App Store, runs on PlanetScale's cloud database platform.

planetscale.com/case-studies...
Cash App — PlanetScale
Cash App's move to PlanetScale resulted in streamlined database operations, improved performance, and reduced operational overhead.
planetscale.com
November 12, 2024 at 8:50 PM
Reposted by Matt Layher
Ooh — SIMD intrinsics for the official Go SwissTable map implementation are starting to land in the Go compiler:

go.dev/cl/626277

The compiler team said in the past that SIMD support here could be a starting point for more concretely exploring general user-facing SIMD support, which would be nice
Gerrit Code Review
go.dev
November 7, 2024 at 7:27 PM
Reposted by Matt Layher
[Googles how to do a revolution]

[Googles how to do a rebellion]

[Googles swordfighting basics with video]

[Googles nearby bakeries]

[Googles nearby bakeries delivery]
November 6, 2024 at 2:04 PM
Reposted by Matt Layher
Wanting to see more #golang content here, let me try to get the ball rolling with a developers plus contributors starter pack!

go.bsky.app/Hz6nVzr
October 28, 2024 at 1:55 PM
Reposted by Matt Layher
When I see someone unironically complaining about DEI woke mind virus stuff, I like to imagine how Strong Bad would respond to them as if it were an email, and it makes me feel better.
October 22, 2024 at 3:12 AM
Reposted by Matt Layher
I’m excited to share River, a plan to build a new http reverse proxy built in Rust using Cloudflare’s pingora libraries: www.memorysafety.org/blog/introdu...
Announcing River: A High Performance and Memory Safe Reverse Proxy Built on Pingora
Today we are announcing plans to build a new high performance and memory safe reverse proxy in partnership with Cloudflare, Shopify, and Chainguard. The new software will be built on top of Cloudflare...
www.memorysafety.org
February 28, 2024 at 3:30 PM
Reposted by Matt Layher
As someone raised in the fires of early 00s forums, seeing furry art in feeds where I least expect it is like seeing wolves thriving in Yellowstone again. A healthy furry population is the sign of effective rewilding efforts.
If you’re upset and angered by the presence of furries on your social media website, Bluesky is Probably Not Right For You
February 8, 2024 at 1:31 AM
Reposted by Matt Layher
Welcome to Bluesky, everyone! We opened access yesterday, and we just crossed 4M people total on the network. 🎉

• 800k+ new users have signed up
• Averaged 8.5 new accounts/second
• 2M posts were created in the last 24 hours

We're so excited to have you here!
February 7, 2024 at 6:10 PM
Reposted by Matt Layher
Fuck it, blog series time:

xeiaso.net/shitposts/no...

I wrote a code generator for it too.
February 1, 2024 at 8:37 PM
"with large systems, everything I touch is some sort of 'implied API' hyrum's law strikes back" -
@arslan.io
January 26, 2024 at 12:13 PM
Reposted by Matt Layher
Enable Go telemetry on your dev machines - it collects a handful of counters and crashes anonymously, and it's hugely helpful to upstream to prioritize correctly!

telemetry.go.dev/privacy

This telemetry is for the *toolchain*, it does not affect the binaries you build at all.
January 26, 2024 at 11:46 AM