12 Followers
53 Following
75 Posts
Ruby developer, tinkerer based in Prague 🇨🇿
Twitterhttps://twitter.com/Podruh01
Githubhttps://github.com/podruh
Alt. accounthttps://mastodon.online/@podruh
Do not outsource your thinking

Why Effort Matters More Than Ever in the Era of ChatGPT

Terminal Curiosity

Do you know an app that disabled Puma's request queuing i.e. `queue_requests false` ? If so, do you know why they disabled it?

I'm wondering if we could remove that configuration/codepath. I know people use it, but usually because of some secondary effect it has on the system. So i'm looking for (all) reasons people disable it to better understand.

Please repost for reach

#ruby #puma

We disclosed two CVEs for the default gems today.

* https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/
* https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/

We recommend to upgrade them for keep your code as safety.

CVE-2024-27280: Buffer overread vulnerability in StringIO

The next edition of @shortrubynews is made this weekend by drinking a V60 drip coffee made by a the recipe from James Hoffmann called "A better 1 Cup V60" and it had a great taste.

I used a mix of coffee beans:
- 7g of Swiss Water Decaf
- 8g of Uganda Bugisu Elgon

#Ruby #Coffee

Link for the V60 recipe:
https://www.youtube.com/watch?v=1oB1oDrDkHM

A Better 1 Cup V60 Technique

YouTube
Got off my call with Reddit just now about the API. Bad news unless I come up with 20 million dollars (not joking). Appreciate boosts. https://www.reddit.com/r/apolloapp/comments/13ws4w3/had_a_call_with_reddit_to_discuss_pricing_bad/
📣 Had a call with Reddit to discuss pricing. Bad news for third-party apps, their announced pricing is close to Twitter's pricing, and Apollo would have to pay Reddit $20 million per year to keep running as-is.

Hey all, I'll cut to the chase: 50 million requests costs $12,000, a figure far more than I ever could have imagined. Apollo made 7 billion...

reddit

As an #ADHD Programmer, staying on top of work (what to do, & not letting things slip through the cracks), and knowing if I'm doing "enough" has been hard. I've put together a tool to help with that, and I'm thrilled with how much it's been helping. I thought I'd give you a sneak peek.

This is the "dashboard" it's a high level overview of all the things: notes, tasks, open PRs, and a couple graphs of PR related things.

#Rails

1/?

@faraaz @postmodern I belive all oficial 3.2.x docker images are built with YJIT support, you just need to set RUBY_YJIT_ENABLE to 1 in your environment.
As seen on reddit, RelishApp appears to be down.
https://relishapp.com/rspec/
#relishapp #rspec
Lucian Ghinda (@[email protected])

In case you are using Devise with Rails 7 you might want to watch this video https://youtu.be/-fWTYoVfTEA and read the PR at https://github.com/heartcombo/devise/pull/5548

Ruby.social

We just shaved ~2ms from our median response time, ~10ms from the p99.

With just a super simple patch https://github.com/Shopify/pid_cache

Hopefully that will make it to Ruby 3.3

GitHub - Shopify/pid_cache: Cache calls to Process.pid

Cache calls to Process.pid. Contribute to Shopify/pid_cache development by creating an account on GitHub.

GitHub