Dave Thomas
@pragdave
Programmer turned publisher (but mostly programmer)
We're refreshing the PragProg newsletter. Each week will include an issue with an article of general interest, and possibly an issue with new titles or sales. Today's article is on flipping the job interview. Sign up at pragprog.com/newsletter/ before noon CDT to get it.
Take advantage of: ➡️ the Rails::Console class ➡️ and IO.popen to add a `pbcopy` helper that copies any console result to your clipboard! 🤩 #rubyonrails
12 days after the first commit, Ruby Friends is officially live in the App Store! It's built with Hotwire Native (of course) and features a dynamic, native tab bar, native social sharing, and QR code scanning.
I've officially entered my YouTube era. 🙃 youtube.com/watch?v=HMMkYi…
Have you registered to attend dev2next? Don't miss your chance to join us in beautiful Colorado Springs this Fall 🌄 Get ready for world-class workshops, sessions & so much more! Tickets are on our early bird prices till July 31st so be quick! 🎟️ dev2next.com/register
Join @joemasilotti at #RailsWorld as he builds iOS and Android apps live on stage using #HotwireNative. No need to master Swift or Kotlin. With just HTML, CSS, and your Rails codebase, you’ll see how to ship native apps across platforms in no time. One codebase, three platforms,…
Now idea why it took me so long to do this, but I finally twigged to a way of making @rails dev logs usable when looking at errors: bin/dev | grep -v '/gems/' Now the error fits on the screen. Added bonus: I'm no longer depressed by the depth of the Rails' call stack.
Simplicity Same author of The Pragmatic Programmer. Reminds you how overcomplicating things kills good software
Had to buy the book after seeing @andatki's awesome talk at the last RailsConf! Was awesome to meet you!
Looks like @chadfowler and I will both be a rubyconf.at next May. Wish it were sooner, but Vienna in May sounds like it will be delightful.
Our 2025 Giveaways are live! WIN a PragProg book or a Pragmatic Studio course! See our update for details: forum.devtalk.com/t/devtalk-2025…
til: I have a complex set of DB associations, which make setting up tests tedious. For one part of the testing I can ignore most of the associations, but the db has not null constraints on the fk, so: t.references :upload_wrapper, null: Rails.env.test?, foreign_key: true
Celebrating Vector Search with JavaScript: Build Intelligent Search Systems with AI by Ben Greenberg now in beta! 🔗 Read more: medium.com/pragmatic-prog… 📘 ebook: pragprog.com/titles/bgvector #javascript #ai #vectorsearch #programming #pragprog #books
The Last RailsConf Sale - even if you're not in Philly, you can still save - take 35% off any Ruby or Rails title with code RailsConf25
Vector Search with JavaScript comes out tomorrow! This is your last chance to join the mailing list before it's released and get access to a significant coupon code on the book. 👉👉 vectorsearchbook.com
til: In (Neo)vim, replace every occurrence of "id000" with "id𝑛", where 𝑛 is an incrementing number: :let i=1 | g/id000/s/id000/\="id"..i/ | let i=i+1
Win one of 6 copies being given away for free at #RailsConf of High Performance PostgreSQL for Rails. Join my newsletter at pgrailsbook.com for more info. Find me at 10:30 AM for “Meet the Authors” on Day 1, Tues July 8. Or attend my talk at 4:15PM. See you soon!