milkfarm

fullstack ruby/rails developer, ice cream advocate

milkfarm boosted:
Jared Normanjardo@ruby.social
2025-05-29

Joan is right. We see the reality that "experience doesn't stack" constantly on software teams. Twenty junior developers with bootcamp certificates ≠ one senior dev with 10 years of battle scars. joanwestenberg.com/experience-

milkfarm boosted:
2025-05-24

Announcing: justaqrcode.com.

Tired of "free" QR code generators that are full of ads and trackers, that share your data, and that want to sell you something? Me too. Here's my act of resistance: I made a one-page site that works entirely in your browser to generate a simple QR code. And that's all it does. You can download the HTML page and run it locally, even. Read the source; nothing up my sleeves. Just a QR code.

My offer to you -- I will continue to pay for the domain name and web hosting for it, myself. If you find it valuable, you can pay it back by creating your own useful thing for the world and releasing it for free. Let's take back the friendly web, one vexingly-monetized utility at a time!

#QRcode #Free #FriendlyWeb #Resistance

milkfarm boosted:
2025-05-24

I’m reaching out with an urgent request for help. My wife is a Type 1 diabetic, and we’re facing a critical situation with limited insulin and financial strain. I’m a dedicated and skilled Web Application Penetration Tester with 5.5 years of experience in identifying

I could use the communities help to get a job, I am autistic and it is hard for me to do interviews. I worked four and half years at my last place of employment and they did appreciate my hard work. They are down sizing things.

DM or message below

#jobs #infosec #coding #python

milkfarm boosted:
Jared Normanjardo@ruby.social
2025-05-21

It's rad to see view components continuing to gain traction in the Rails ecosystem. I'm personally a big fan of Phlex and use it on all my new projects, but the basic ideas that apply to Phlex apply to ViewComponents, even if the details are different. joshfrankel.me/blog/viewcompon

milkfarm boosted:
2025-05-21

Partitioning splits huge tables into smaller, more manageable chunks, reducing bloat and improving performance. Honeybadger's pg_partition_manager gem automates creating and pruning time-based partitions in Rails, so maintenance is hands-off.

Here's a walkthrough from Honeybadger co-founder Ben Curtis.

honeybadger.io/blog/pg-partiti

#Ruby #RubyOnRails #Postgres #Datebase #PostgreSQL

milkfarm boosted:
Curated Hacker NewsCuratedHackerNews
2025-05-21

What Is the Difference Between a Block, a Proc, and a Lambda in Ruby? (2013)

blog.awaxman.com/what-is-the-d

2025-05-19

@pabuisson @ploum I quickly got lost in these posts, will add to my reading list as well 🙇‍♂️

milkfarm boosted:
František Fuka (Fuxoft)fuxoft@kompost.cz
2025-05-19

Just spent 20 minutes pulling my hair out because Ruby's "and" has lower operator precedence than assignment to variable!

#programming #nerdy #ruby

milkfarm boosted:
2025-05-19

took some time over the weekend to rewrite my "neovim lsp client guide" with the new v0.11 updates.

vonheikemen.github.io/devlog/t

i do wish i could make it shorter but i know it'll be a long time before v0.11 becomes the "base" version everyone has access to.

it shows how the new api is a layer on top of existing features. so with enough motivation you can still have nice things.

#neovim

milkfarm boosted:
Paweł Grzybekpawelgrzybek
2025-05-17

"How to have the browser pick a contrasting color in CSS" by @jensimmons and @webkit

I love the recent articles on the Webkit blog. Behind the simple feature introduction, there is a proper deep dive into the subject.

This post is just a fantastic explainer of how contrast is calculated on the web and a few standards responsible for it. I love it!

webkit.org/blog/16929/contrast

milkfarm boosted:
Bradley Schaefersoulcutter@ruby.social
2025-05-17

A Rails workflow tip I’ve been getting a lot of mileage out of lately is

bin/rails c --sandbox

This starts a rails console wrapped in a transaction so that when you exit the session the database hasn’t been polluted by your tomfoolery.

it’s the little things

#ruby #rails

2025-05-17

@asymco clear-eyed, well-considered thoughts as always—thank you

milkfarm boosted:
2025-05-11

✍️ Just published a new blog post on using #fzf and #ripgrep in #vim / #neovim for a low-tech go-to-definition and find-references solution. Super handy for when my #elixir LSP server takes a break! 😌

➡️ blog.pabuisson.com/2025/05/low

milkfarm boosted:
jm3 (John Manoogian III)jm3@ruby.social
2025-05-10

Should you use ENV vars, custom yaml, or config.x? Where does Rails secrets fit into this?

Fantastic article on the different configuration organization choices for managing rails config values custom to your app, from the good people at the Joy of Rails.
joyofrails.com/articles/master

milkfarm boosted:
Julia Evansb0rk@jvns.ca
2025-05-09

curious about where there's a project (other than base16 & its forks) that uses shell scripts to set your terminal colours like this: github.com/chriskempson/base16

I really enjoy setting my terminal colours from a shell script (works in every terminal emulator! no more messing around in the settings! ) but there are some things about base16 that I don't love

milkfarm boosted:
Russell Garnerrgarner
2025-05-08

@tosbourn something like

class Cat < ApplicationRecord
def model_name
return super unless bad?

@_bad_model_name ||= super.dup.tap do
def it.singular_route_key = 'bad_cat'
def it.route_key = 'bad_cats'
end
end
end

2025-05-04

@jaymcgavren TIL The return value of the last expression issued in rails console is automatically stored in the special underscore (_) variable

milkfarm boosted:
Ars Technicaarstechnica
2025-05-03

Judge on Meta’s AI training: “I just don’t understand how that can be fair use”
Judge downplayed Meta’s “messed up” torrenting in lawsuit over AI training.
arstechnica.com/tech-policy/20

milkfarm boosted:
2025-05-02

“Time dulls the magic of new things.” – Luigi Teschio

luigitesch.io/2025/05/01/remem

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst