jd's Avatar

jd

@jd.codes.bsky.social

Programmer by day, father all day, programmer later on at night, & gamer even later at night. ❤️Ruby and Elisp (and a little bit of Go maybe) https://jd.codes

734 Followers  |  76 Following  |  59 Posts  |  Joined: 24.10.2023  |  2.428

Latest posts by jd.codes on Bluesky

Ahh incredible. Thank you. I guess I _did_ mis-understand after all lol.

13.01.2025 19:38 — 👍 1    🔁 0    💬 1    📌 0

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?

13.01.2025 19:18 — 👍 2    🔁 0    💬 2    📌 0

Ohhh love the lifetime access. I’ve seen a few that are $10-15 a month for like 10,000 unique visits which is annoying. Thanks for the suggestion!

08.01.2025 16:05 — 👍 0    🔁 0    💬 0    📌 0

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

08.01.2025 15:52 — 👍 0    🔁 0    💬 1    📌 0

Ohh thanks for this, I’m working on a Rails 8 side project now and want to add a native app for it. This guide is perfect!

05.01.2025 23:34 — 👍 2    🔁 0    💬 1    📌 0

What are folks using to generate a basic ToS and cookie agreements for their apps?

05.01.2025 23:30 — 👍 1    🔁 0    💬 0    📌 0
A screen shot of The Storygraph readalong page for Practical Object-Oriented Design in Ruby.

A screen shot of The Storygraph readalong page for Practical Object-Oriented Design in Ruby.

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...

03.01.2025 19:29 — 👍 67    🔁 22    💬 7    📌 6

Reading was honestly my path to leaving my phone alone at night. I would scroll for too long and I felt my mental health just getting worse. So reading became the vice that replaced it lol. It works well for me but I get it's not for everyone.

04.01.2025 03:45 — 👍 0    🔁 0    💬 1    📌 0

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 💪

03.01.2025 22:47 — 👍 4    🔁 0    💬 1    📌 1

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.

16.12.2024 13:44 — 👍 1    🔁 0    💬 0    📌 0

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 😅

05.12.2024 23:37 — 👍 0    🔁 0    💬 0    📌 0

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.

02.12.2024 17:04 — 👍 56    🔁 15    💬 2    📌 0

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.

02.12.2024 15:58 — 👍 0    🔁 0    💬 0    📌 0

1. The gaslighting when a leader does something wrong and you call it out. Than you “just have a spirit of rebellion.”

2. The cult behavior knowing if you question something “foundational” you threaten the loss of community, incentivizing you to avoid asking hard questions.

01.12.2024 01:27 — 👍 3    🔁 0    💬 0    📌 0

Elisp is extremely fun for me. I tried Go as well recently and had a blast. I’ve written a decent amount of Python but it just makes me feel smart as opposed to it actually being fun lol.

28.11.2024 23:46 — 👍 2    🔁 0    💬 0    📌 0

Hack the Planet!

27.11.2024 03:40 — 👍 1    🔁 0    💬 0    📌 0
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...

So I updated the post jd.codes/posts/kamal-... to be correct and noted the mistake I had made. Now everything works 🚀

25.11.2024 02:48 — 👍 2    🔁 0    💬 0    📌 0

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

25.11.2024 01:06 — 👍 1    🔁 0    💬 0    📌 0

For folks preaching not having “a spirit of fear” they really gave a lot to us as kids. 2/2

24.11.2024 16:11 — 👍 6    🔁 0    💬 0    📌 0

Man I relate to this so much. I watched Thief, Left Behind, and Tribulation in the span of a month at a small group because of a month long “end times” series at the church i grew up in. I was about 10 years old and it really messed with me for years. 1/2

24.11.2024 16:11 — 👍 5    🔁 0    💬 1    📌 0

We also monitor your rizz and alert you if it dips below the cringe threshold

23.11.2024 18:51 — 👍 21    🔁 3    💬 2    📌 0

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?

23.11.2024 17:27 — 👍 0    🔁 0    💬 0    📌 1
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...

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-...

22.11.2024 23:34 — 👍 3    🔁 0    💬 0    📌 1
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...

Done! jd.codes/posts/kamal-...

22.11.2024 23:29 — 👍 1    🔁 0    💬 0    📌 0

I got hung up on proxying through my app server into the db server. My DB server is only on an internal network and all external ports are closed down behind a fire wall. I “forgot” I set it up this way i guess and I didn’t configure Kamal to use the internal network IP for the DB server 😅

22.11.2024 07:31 — 👍 1    🔁 0    💬 1    📌 0

First Kamal/Rails 8 deploy down!

22.11.2024 07:24 — 👍 3    🔁 0    💬 1    📌 0

Today I wrote an extension to `web-mode` because of some special files at work. Everyone else is struggling with working on those files because of the lack of an lsp, no syntax highlighting, etc. I wrote 15 lines of elisp after roaming the docs and I have it all as if it's natively supported!

19.11.2024 19:41 — 👍 0    🔁 0    💬 0    📌 0

Part of why I still use it, despite it's oddities and inconveniences at times is because I'm not smart or patient enough to figure out how to make other editors do what I want them to do, even though they're just as customizable. With Emacs the docs and examples are just a keystroke away.

19.11.2024 19:41 — 👍 1    🔁 0    💬 1    📌 0

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.

19.11.2024 19:41 — 👍 1    🔁 0    💬 1    📌 0

I love ERB, but wow, why does commenting out a block of code have to feel like a boss battle?

18.11.2024 07:35 — 👍 6    🔁 2    💬 0    📌 1

@jd.codes is following 19 prominent accounts