Chad Lee B.

722 posts

Chad Lee B. banner
Chad Lee B.

Chad Lee B.

@chaadow

Freelancing Ruby on Rails Dev (DMs are open) Software Engineer - Wolf/Roy SSBU main

France Katılım Haziran 2009
311 Takip Edilen98 Takipçiler
Sabitlenmiş Tweet
Chad Lee B.
Chad Lee B.@chaadow·
I've just realized that I've been featured for 4 consecutive weeks! Actively contributing to Rails has been a delightful experience, and I will surely continue to do so. A special shout-out to Jonathan Hefner and @eileencodes for their swift and thorough reviews!
Ruby on Rails@rails

Thanks to all of the contributors that were included in this week’s highlights: @p8 @flavorjones (w/thanks to @ledermann) @_byroot @chaadow jonathanhefner @bensheldon @fractaledmind and...

English
0
0
5
890
Chad Lee B.
Chad Lee B.@chaadow·
@UltraLinx @brian_lovin Could you make a tweet ( or video ) in a month or so about if going from 6K down to 5K has become an issue for your work. Or is going from 60hz to 120hz worth it more than the 6K resolution. Cheers
English
0
0
2
125
Oliur
Oliur@UltraLinx·
The only 6K monitor that actually matches the MacBook displays is the ASUS 6K. But it’s still matte. However it’s the best matte coating I’ve come across where it doesn’t look hazy like others. Still not as crisp as glossy though. I am still sticking with the Studio XDR. Replaced my Pro Display XDR.
English
3
0
6
763
Brian Lovin
Brian Lovin@brian_lovin·
Has anyone picked this up? Seems like a great deal for slightly more than the Studio Display and a lot less than the XDR (which I don’t need, but of course the heart yearns)
Brian Lovin tweet media
English
30
0
38
19.5K
Chad Lee B. retweetledi
Matt Diebolt
Matt Diebolt@mdiebolt·
Here’s how Fizzy implements a really nice data export system. #RubyOnRails
English
1
2
55
3.2K
Chad Lee B. retweetledi
Akshay
Akshay@typeangled·
Sometimes I forget how elegant and concise Ruby and Rails is. The usage of concerns, around_action, cookies API, Stimulus conventions, etc. so much conceptual compression. Reading this code made me happy. github.com/basecamp/fizzy…
English
3
4
47
2.2K
Chad Lee B. retweetledi
Daniel Hooper
Daniel Hooper@DanielcHooper·
My C programmer thoughts on Claude+Opus 4.5: 1. Bad at writing code: wrote O(n²) algorithm when O(n) possible. I wouldn't commit its code without review. 2. Responds well to feedback "make this algorithm linear". You have to already be a good programmer to know how the code could be improved. 3. Useful for analysis: "How could this system get into ?" 4. Helps get over procrastination on grindy tasks, like creating a linux sysroot for cross compilation. 5. Makes it cheaper to try different approaches: "change the memory layout to X and use data structure Y, run performance test and compare" 6. Running 1 or more agents in the background while I do other work feels like a superpower. 7. Best when treated like a lawyer's paralegal: you do big brain planning, it does tedium in background, you review, tweak, commit.
English
148
206
3.7K
295.5K
Chad Lee B. retweetledi
Denis Magda
Denis Magda@denismagda·
Beware of invalid indexes, which you might end up having in Postgres if CREATE INDEX CONCURRENTLY or REINDEX INDEX CONCURRENTLY fails! The database continues to update and maintain those indexes just like regular (valid) ones, adding hidden cost 🤯 Learn more from this great piece: postgres.ai/blog/20260106-…
Denis Magda tweet media
English
0
3
19
1.7K
Chad Lee B.
Chad Lee B.@chaadow·
@HiSaeloun so in this case, it should be somewhat like : `UPDATE 'projects' SET name = "clients".name FROM clients WHERE "clients".id = "projects.client_id"`
English
0
0
0
8
Chad Lee B.
Chad Lee B.@chaadow·
@HiSaeloun Thanks for the article. Unfortunately, the SQL in the "after" part is wrong. it's in this form depending on if there is one or many joins. What's in common though, is that `t1` (table1) is always the one you're operating the update on, and `t2` ( table2) is the one used in FROM
Chad Lee B. tweet media
English
1
0
0
32
Chad Lee B.
Chad Lee B.@chaadow·
Update: For all my sidekiq dynos, I've disabled eager_load with `config.eager_load = ENV['EAGER_LOAD_ENABLED'].present?`. i've only enabled it on our web dyno. And it just went from 1Gb to 360MB on startup. and with decent work coupled with GC, it stablizes at around 500~600Mb.
English
0
0
4
374
Chad Lee B.
Chad Lee B.@chaadow·
anyone else has had his Memory/RAM doubled with ruby 4.0.0 at startup on a rails application. I used to have 510MB on startup. now I got 1010+MB just by launching sidekiq with no queues/no work #ruby #rails (I've disabled YJIT and it saved ~30MB or so)
English
3
1
24
5.2K
Chad Lee B.
Chad Lee B.@chaadow·
@codetrap_dev @GregMolnar @drawkkwast However, I agree, from experience, that it's better to run the stable versions ( 8-1-stable for instance) rather than the latest released version on Rubygems, because unfortunately, versions are not released frequently (there is no strict schedule, like a monthly release or so)
English
1
0
3
40
Chad Lee B.
Chad Lee B.@chaadow·
@codetrap_dev @GregMolnar @drawkkwast same (5.2 => 6.0), but since then, Rails improved in that aspect. As @GregMolnar said, more and more companies use rails edge (including myself), so if there is a breaking change it will usually be reported, and the rails team is pretty responsive so that's cool
English
1
0
1
29
Chad Lee B. retweetledi
Jorge Manrubia
Jorge Manrubia@jorgemanru·
Check the upcoming storage tracking system for Fizzy by @bitsweat. You always learn when you see Jeremy work. I certainly do: github.com/basecamp/fizzy… I took an initial stab at it by first replicating the approach we use in Basecamp, then refining it based on feedback from Jeffrey Hardy, who has deep knowledge of the problems we've encountered in Basecamp: github.com/basecamp/fizzy… So you can compare three different approaches to the same problem. Open source is cool!
English
7
4
82
7.7K
Chad Lee B. retweetledi
Akshay
Akshay@typeangled·
If your company is moving to SolidQueue from another job framework, I found Andrew Markle's recent RailsConf talk super helpful. One useful technique I learned was to rename the queues based on how long the job might sit in the queue, instead of priority-based or domain-based names. youtube.com/watch?v=lWMYPH…
YouTube video
YouTube
English
2
6
62
8.4K