Developers who remove lines of code are the ones who maintain a project's productivity. Those who frantically add lines of code sabotage it.
08.08.2025 20:33 β π 1 π 1 π¬ 0 π 0@alexis.bernard.io
Developers who remove lines of code are the ones who maintain a project's productivity. Those who frantically add lines of code sabotage it.
08.08.2025 20:33 β π 1 π 1 π¬ 0 π 0Incredibile π
01.08.2025 14:48 β π 1 π 0 π¬ 0 π 0βIf this test fails, would I care or just ignore it?β
βIf this works, what does it prove?β
βIf this fails, do I know why?β
If a test doesnβt help you think better, itβs noise.
More on this mindset β Aug 1 workshop
goodenoughtesting.com
Ensuring HTML is valid would be great! Inline partials sounds like a nice idea to speedup applications with a lot of small partials, but it comes with some nice pitfalls π
17.07.2025 11:13 β π 1 π 0 π¬ 0 π 0RailsConf 2025 - The Modern View Layer Rails Deserves: A Vision for 2025 and Beyond
I just published a recap of my RailsConf 2025 talk on my blog!
Herb v0.4.0 is out, now with the Herb Linter, a Formatter preview, and deeper editor integration for HTML+ERB.
Plus: a look at ReActionView, my vision for the future of the Rails view layer.
#railsconf #railsconf2025 @rubycentral.org
I knew that handling time in programming is hard, but not that hard: shanrauf.com/archive/how-....
11.07.2025 07:50 β π 0 π 0 π¬ 0 π 0Do yourself a favor and buy a programming book in addition to your AI subscription. One is consumption, the other is investment in yourself. You will get more skilled at the end.
25.06.2025 11:39 β π 1 π 0 π¬ 0 π 0Hate it or Love it! My main issue is that is adds all columns into users table instead of creating a specific models for sessions, email confirmations, password resets, etc. I strongly believe it's a modeling error.
19.06.2025 16:31 β π 1 π 0 π¬ 0 π 0PS: CPU/cost should be read as CPU benchmark / cost. It could have been misleading that I compare just the number of cores.
13.06.2025 06:52 β π 0 π 0 π¬ 0 π 0I don't have a preferred node size, but I pick the server with the best CPU/cost ratio. Servers have often too much RAM and not enough CPU. Currently it's 12 CPUs for 16GB on bare metal server. For another app it's a VPS with 40 vCPUs for 32GB.
13.06.2025 06:49 β π 1 π 0 π¬ 1 π 0pg_hero, rails-pg-extras and redis_dashboard.
Latest is self promotion π
Internet must remain decentralized. Cloudflare is the easy choice to protect your website, but it has a hidden cost. It controls which trafic goes to your website and can read it. This price is too high for me, and for you too.
torrentfreak.com/cloudflare-c...
Congratulations!
24.05.2025 12:05 β π 0 π 0 π¬ 0 π 0I released version 0.4.0 of active_hashcash. Thanks to @ivanverges.bsky.social and @elalemanyo.bsky.social for their contributions.
ActiveHashcash protects Rails applications against bots and brute force attacks without annoying humans.
github.com/BaseSecrete/...
Namespaces 101
During the last days I have done an immersion into namespaces, the new big feature that is coming in Ruby.
Here's a digested mental model for you all.
gist.github.com/fxn/86ad8584...
Excellent choice π
14.05.2025 15:45 β π 1 π 0 π¬ 0 π 0Among things to do at least once in your life, there is attending Friendly.rb. The conf and the organizers are great!
14.05.2025 07:35 β π 6 π 3 π¬ 3 π 0Indeed, I do rate limiting with RackAttack because it's very convenient and flexible, but moving that to the frontend server or load balancer is a nice improvement.
13.05.2025 12:12 β π 1 π 0 π¬ 0 π 0The combo RackAttack + ActiveHashcash provides a decent protection with a minimum effort. I'm convinced that the Internet must remain decentralized, and using Cloudflare is not the right long-term solution.
13.05.2025 09:12 β π 2 π 0 π¬ 1 π 0Got attacked by a botnet with more than 18000 IPs. ActiveHashcash saved that Rails app. I strongly believe that is the best protection since CPU is the most expensive in hardware and it does not annoy final users.
13.05.2025 09:12 β π 12 π 2 π¬ 1 π 1Do you remember the song Ruby Ruby Ruby Ruby (www.youtube.com/watch?v=qObz...) ?
There is one version which has been recorded during a Ruby conference by Ruby developers a long time ago. I think it was in Poland. Could you help me find it?