Sign in

pragdave

@pragdave.bsky.social
923 followers 75 following 32 posts

Accident prone programmer, speaker, and writer. pragprog.com

PostsRepliesMedia
pragdave @pragdave.bsky.social · 05/03/2025
pshaw.... Thank you!
020
Reposted by pragdave
Saron Yitbarek @saron.bsky.social · 05/03/2025
Honored to be asked to review @pragdave.bsky.social's new book for programmers, Simplicity. It was such a joy to read -- like having your super experienced senior dev best friend share all their coding and productivity secrets. It's now in beta, check it out ❤️ pragprog.com/titles/dtcod...
pragprog.com
simplicity
Fight complexity and reclaim the original spirit of agility by learning to simplify how you develop software. The result: a more humane and effective environment, and a happier you.
2213
pragdave @pragdave.bsky.social · 30/12/2024
I had a really nice chat with @bruceeckel.bsky.social and @jamesward.com about programming, need, and satisfaction creators.spotify.com/pod/show/hap...
creators.spotify.com
#107 The Joy of Programming with Dave Thomas by Happy Path Programming
We chat with Dave Thomas, co-author of The Pragmatic Programmer, about the joy of programming and the tensions between our and others needs. Discuss this episode: ⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠discord.gg/XVKD2uPKyF⁠⁠
1124
pragdave @pragdave.bsky.social · 15/12/2024
Day 7 of the #AdventofCode. I'm really please with the first part: generating all permutations of the two operators by adding one to a count.
buff.ly
2024 Advent of Code, day 7
This one had a fun first part but I think I must have missed something obvious in the second: it runs way too sloe.
040
pragdave @pragdave.bsky.social · 10/12/2024
I think Phoenix has been fairly stable, but I have had no direct experience using it for a while now. I can't talk about the JVM ones. I've also had zero experience on the JVM side of the house.
210
pragdave @pragdave.bsky.social · 10/12/2024
And #AdventOfCode day 4 is up, including a wee little data-driven search... youtu.be/Uy02EnbHvbA
youtu.be
2024 Advent of Code, Day 4
YouTube video by pragdave
021
pragdave @pragdave.bsky.social · 08/12/2024
Day 3 of AoC is up. Lots of regular expressions and bad typing... youtu.be/8WC8kks2Mws
youtu.be
2024 Advent of Code, Day 3
YouTube video by pragdave
042
Reposted by pragdave
The Pragmatic Bookshelf ✅ @pragprog.com · 08/12/2024
This week's PragProg Best Sellers: 1. Agile Web Development with Rails 8 by @intertwingly.net 2. Network Programming in Elixir and Erlang by @whatyouhi.de 3. Real-World Event Sourcing by @kevinhoffman.bsky.social pragprog.com/best_sellers
075
pragdave @pragdave.bsky.social · 07/12/2024
Day 2 of my #AdventOfCode exploration is now online. www.youtube.com/watch?v=_6EL...
youtube.com
2024 Advent of Code, Day 2
YouTube video by pragdave
041
pragdave @pragdave.bsky.social · 07/12/2024
Nah, it's me that's going to feel stupid when the "why didn't you..." comments start rolling in. :)
010
pragdave @pragdave.bsky.social · 06/12/2024
ust as an experiment, I'm recording myself working through the Advent of Code challenges. The videos are pretty raw: I edit out long silences and the occasional dog park, but otherwise they've just me bumbling along. Enjoy: www.youtube.com/watch?v=oEI2...
youtube.com
2024 Advent of Code, Day 1
YouTube video by pragdave
1113
pragdave @pragdave.bsky.social · 05/12/2024
Massive congratulations to Chris McCord and the team for reaching the amazing milestone of LiveView 1.0.
0263
pragdave @pragdave.bsky.social · 30/11/2024
Maybe you say I should just freeze all versions of the framework code, and run with that into the future. I tried that. I have 80kloc of Rails that won't run on Ubuntu > 18. And, or course, that means no security updates. I think we need to start factoring this in to our choice of frameworks.
150
pragdave @pragdave.bsky.social · 30/11/2024
Not picking on Rails here: it's even worse in the Javascript world. And Python 2 -> 3 is still a mess, all these years later. It's time to stop assuming latest = greatest, and instead know that latest will be most painful. I don't want to incur the future debt of Rails or a JS framework.
130
pragdave @pragdave.bsky.social · 30/11/2024
This has reached the point where some frameworks are not even compatible with themselves. Rails 8, for example, changed how assets work (again) and deleted a manifest file. But use the Rails 8 generator to create an esbuild app, and that app won't run.
100
pragdave @pragdave.bsky.social · 30/11/2024
Most framework curators seem to value signing up new users over supporting existing users and their apps–each major release will adopt the libraries and ideas du jour, attracting people who want to play with them to the detriment of existing users who now have to spend time fixing their code.
162
pragdave @pragdave.bsky.social · 30/11/2024
Well said! DRY is about having a single source of truth, and never about removing identical lines of code. I updated the 2nd edition of TPP to try to make that clearer.
030
pragdave @pragdave.bsky.social · 30/11/2024
Who knows, who knows...
010
pragdave @pragdave.bsky.social · 30/11/2024
We're making that easier: use the code turkeysale2024 when you check out at pragprog.com and get 40% off. Make a little gerbil happy today...
pragprog.com
Pragmatic Bookshelf: By Developers, For Developers
We improve the lives of professional developers. We create timely, practical books on classic and cutting-edge topics to help you learn and practice your craft, and accelerate your career. Come learn ...
053
pragdave @pragdave.bsky.social · 30/11/2024
This is Finley. Finley's parents work in our ebook department, where they enjoy picking out the best 1s and 0s as they craft each download. They would really appreciate it if you'd pick up one of the books they made, because they hope to buy Finley a wheel for Christmas.
251
Reposted by pragdave
Margaret Eldridge @margeditor.bsky.social · 27/11/2024
7 skills in 7 weeks! Dive into coding, databases, and web frameworks with our #BlackFriday sale. Use code turkeysale2024. Details in the article: medium.com/pragmatic-pr... #coding #web #programming #pragprog #books @pragprog.com
collage of book covers from pragprog.com
263
pragdave @pragdave.bsky.social · 25/11/2024
I'll be interested to hear what you think.
110
pragdave @pragdave.bsky.social · 24/11/2024
Aerospace might well be the workspace manager for OS X that I've been looking for. Anyone got any other favorites?
320
pragdave @pragdave.bsky.social · 21/11/2024
I just tried installing eight popular CMS apps under Rails 8. Only one of them got past the initial install stage. Makes me want to use Java.
060
pragdave @pragdave.bsky.social · 21/11/2024
This afternoon I submitted an issue to the JRuby team. Five hours later they had the fix ready to merge. I'm seriously impressed.
0131
pragdave @pragdave.bsky.social · 20/11/2024
On the face of it, Payload and Drizzle have a nice looking take on database migrations. During development, the scheme just updates automatically. When a feature is complete, you then ask it to create a migration to formalize the little changes you've made.
020
Reposted by pragdave
Rebecca Skinner @cercerilla.bsky.social · 17/11/2024
I really try not to do too much self promotion. I think it's annoying, and I generally believe that the best way to get interest in your work is to give people something they value. That said, new platform so I'll do this once: I wrote a book about Haskell: www.pragprog.com/titles/rshas...
pragprog.com
Effective Haskell
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell to do practical work.
711525
Reposted by pragdave
Adolfo Neto @adolfoneto.elixiremfoco.com · 16/11/2024
I have just finished reading Currently Away, by @redrapids.bsky.social and @maggietate.bsky.social. It is not a book about a boat trip. It is a book about two fascinating human beings that decided to take that trip (known as The Great Loop). In some chapters you cry, but most of the time you laugh.
Currently Away cover Currently's Great Loop TrackCurrently Away last page
3103
pragdave @pragdave.bsky.social · 17/11/2024
I try to distinguish between disagreement and argument. Disagreement is when we have different opinions and try to find common ground. Argument is when we disagree and don't. The former is what makes things change. The latter is what makes people walk away and disengage.
000
pragdave @pragdave.bsky.social · 17/11/2024
That from a /. reader. Is that _really_ how people are coding? If so, I've been incredibly naive, and I am really, really scared. developers.slashdot.org/story/24/11/...
developers.slashdot.org
Ask Slashdot: Have AI Coding Tools Killed the Joy of Programming? - Slashdot
Longtime Slashdot reader DaPhil writes: I taught myself to code at 12 years old in the 90s and I've always liked the back-and-forth with the runtime to achieve the right result. I recently got back fr...
120
pragdave @pragdave.bsky.social · 17/11/2024
"What I do now is type English sentences in increasingly desperate attempts to get ChatGPT to output what I want (or provide snippets to Copilot to get the right autocompletion), which -- as they are pretty much black boxes -- is frustrating and non-linear: it either "just works," or it doesn't. "
131
pragdave @pragdave.bsky.social · 16/11/2024
Thank you. Nice to be here.
000
pragdave @pragdave.bsky.social · 16/11/2024
...while changing your front end framework every two weeks...
010
pragdave @pragdave.bsky.social · 15/11/2024
I mean that we need to learn to separate state and the things that update it. Classes try to do it all. On top of that, classes are abused by making them mix in functions you want to share. It's a bigger concept than I can fit here, though...
010
pragdave @pragdave.bsky.social · 15/11/2024
We don't stop playing because we grow old; we grow old because we stop playing. George Bernard Shaw
0122
pragdave @pragdave.bsky.social · 14/11/2024
Possibly my favorite cover
000
Reposted by pragdave
Noel Rappin @noelrappin.com · 12/11/2024
For #rubyconf, I've got a coupon code. 35% off the Pickaxe ebook at pragprog.com/titles/ruby5... with the code: rubyconfchicago Good through the end of November...
pragprog.com
Programming Ruby 3.3 (5th Edition)
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used third-party tools.
01513
Reposted by pragdave
Margaret Eldridge @margeditor.bsky.social · 13/11/2024
Now out of beta, Serverless Apps on Cloudflare by Ashley Peacock helps you focus on code, not servers. Medium: medium.com/pragmatic-pr... ebook: pragprog.com/titles/apapps Paper: www.biblio.com/bookstores/ #serverless #cloudflare #cloudcomputing #webdevelopment #pragprog #books
book cover featuring a cloud made up of orange cubes
041
pragdave @pragdave.bsky.social · 14/11/2024
Alternatively, move stuff out of classes and into functions is also a great starting point for Ruby code 👍 actually being serious: the Ruby world has become overly infatuated with classes at the expense of objects.
310