jd
banner
jd.codes
jd
@jd.codes
Programmer by day, father all day, programmer later on at night, & gamer even later at night.

❤️ Ruby, Python, and Elisp (and a little bit of Go maybe)

https://jd.codes
It blows my mind every day that the software I use the most day to day is almost 50 years old. There's also not an editor out there that has the higher potential for LLM integration, given every buffer is programmable by default. #emacs
September 29, 2025 at 2:53 PM
Reposted by jd
I got a line on some primo pure uncut acetominaphen
September 24, 2025 at 1:33 PM
I was very much hoping this wasn't going down a dark path.
September 24, 2025 at 1:49 PM
Reposted by jd
Freedom, another member of the Ruby Central Board, wrote this post, but it closely aligns with my feelings and experiences as well.

apiguy.substack.com/p/a-board-me...
A board member's perspective of the RubyGems controversy
What a week it's been as a Ruby Central Board Member.
apiguy.substack.com
September 21, 2025 at 7:30 PM
I’m not sure how much I like the new Liquid Glass bit from apple. The screen kinda feels more cluttered but maybe that’s a boomer take.

That being said, the animations are snappier and things feel more responsive. That is what I love about iOS 26 so far.
September 19, 2025 at 2:14 PM
I've been leading the data infrastructure efforts at my job (I used to work as a Data Engineer in big tech) and the stack we've landed on is so enjoyable to work with.

@dagster.io - Orchestration
@duckdb.org - Database
@motherduck.com - Data Warehouse/storage
DBT - Data modeling
September 5, 2025 at 3:00 PM
One piece of tech I’ve been nerding out on this year has been DuckDB. This is one of the reasons why:

> …you could enrich a local customers table with user behavior data from a 10-billion-row Parquet file stored on S3–all in one SQL query..

motherduck.com/blog/pg-duck...
Announcing Pg_duckdb Version 1.0 - MotherDuck Blog
PostgreSQL gets a DuckDB-flavored power-up for faster analytical queries without ever leaving Postgres. | Reading time: 6 min read
motherduck.com
September 4, 2025 at 9:39 PM
Oof been off this app way to long. X is such a shit show, but tech Twitter yields enough interesting stuff I haven't been able to pry myself away....
September 4, 2025 at 2:19 PM
Another question for developers who’ve started an app:

- How did you handle payments? Specifically for subscriptions.

Reading through Stripe pricing info it seems like pricing for “recurring billing” capability is ~$600 USD per month.

Any chance I misunderstood this?
January 13, 2025 at 7:18 PM
To all my friends that have built and launched an app I need some suggestions:

What did you use for:
- Creating your Privacy Policy?
- Creating your ToS Agreement?
- Creating that annoying cookie opt-in-out thing?

I'm building a rails app and need to implement these things and would love thoughts
January 8, 2025 at 3:52 PM
What are folks using to generate a basic ToS and cookie agreements for their apps?
January 5, 2025 at 11:30 PM
Reposted by jd
Let's do a community readalong of @sandimetz.bsky.social's Practical Object-Oriented Design in Ruby (#POODR). We'll read a chapter per week with prompts and conversation on @thestorygraph.com.

We'll start on Jan 8th and the first chapter is due on Jan 15th.

app.thestorygraph.com/readalongs/5...
January 3, 2025 at 7:29 PM
So in 2024 I read a total of 26 books.

Highlights include:

- Oathbringer by Brandon Sanderson
- Project Hail Mary by Andy Weird
- Dark Matter by Blake Crouch
- Hyperion by Dan Simmons

There were a bunch of other books I read and enjoyed as well. My goal for 2025 is 50 books 💪
January 3, 2025 at 10:47 PM
Just finished Wind and Truth last night and now I have to wait ~9 years to find out what happens next. _Storms_.

Read all of the Stormlight Archives between September and now. Around ~6,000 pages and I have no idea what to do with myself now.
December 16, 2024 at 1:44 PM
Too much is happening this week. Tomorrow is Path of Exile 2 early access AND Wind and Truth releases.

Welp. Going to no life it up I guess 😅
December 5, 2024 at 11:37 PM
Reposted by jd
The definition of DRY, from "The Pragmatic Programmer"

> Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

It has never been about whether you repeat lines of code. Never.
December 2, 2024 at 5:04 PM
Good morning to everyone except the person who almost hit me in a roundabout this morning illegally crossing lanes to go to the next exit point while I was taking my kids to school.
December 2, 2024 at 3:58 PM
So I updated the post jd.codes/posts/kamal-... to be correct and noted the mistake I had made. Now everything works 🚀
Kamal Tip - Private Network only Database Server | JD Codes
Edit: In the original version of this post I made a mistake. This post has been corrected. See the details at the below for an explanation of the mistake and the solution. Mistake Summary & Solution I...
jd.codes
November 25, 2024 at 2:48 AM
Ok issue has been resolved. I posted on Reddit and someone linked me to a commit lol www.reddit.com/r/rails/s/wi...

Solution was to tell Kamal that the App server IP was the internal one not the public one then leave the ssh config to proxy through the public IP. Seems obvious in retrospect lolol
November 25, 2024 at 1:06 AM
Reposted by jd
We also monitor your rizz and alert you if it dips below the cringe threshold
November 23, 2024 at 6:51 PM
Ok I may have misunderstood something here. So if I try to get to my prod rails console with the proxy, the SSH connection uses itself as a proxy to itself and then dies? wat? If I disable the ssh proxy in the Kamal configuration it works….

Huh? So how do I manage the accessory without the proxy?
November 23, 2024 at 5:27 PM
Here’s the setup I used for deploying a #Rails 8 with #Kamal whose DB server is accessible via a private network. Truly exhilarating stuff lolol

jd.codes/posts/kamal-...
Kamal Tip - Private Network only Database Server | JD Codes
I recently started a small side project and decided to use Rails 8 and Kamal. I’ve jumped on the #nobuild bandwagon (at least for this project) and thought I’d share a tip for all you non-dev-ops folk...
jd.codes
November 22, 2024 at 11:34 PM
First Kamal/Rails 8 deploy down!
November 22, 2024 at 7:24 AM
I've had several folks throughout my career express a level of intimidation about using Emacs to me. I'm not huge into the Emacs vs Vim vs VSCode thing, but one thing Emacs does better than every other app I've ever used, is having incredible documentation and help navigation natively in the editor.
November 19, 2024 at 7:42 PM
Reposted by jd
I love ERB, but wow, why does commenting out a block of code have to feel like a boss battle?
November 18, 2024 at 7:35 AM