's Avatar

@the-spectator

13
Followers
165
Following
9
Posts
26.10.2024
Joined
Posts Following

Latest posts by @the-spectator

Post image

There's a lazy narrative going around social media about how software eng jobs are dying, by screenshotting the image on the left - a massive decline in job postings.

Unfortunately, those posting it never looked closer. I did.

This is the "COVID effect." It's everywhere.

27.02.2025 15:19 👍 146 🔁 18 💬 4 📌 0
Post image

#TIL MySQL dump restore speed can be boosted multi-fold by disabling FK checks & unique checks.

23.01.2025 06:21 👍 0 🔁 0 💬 0 📌 0
Preview
Hire me! - Tim Riley After 15 years at Buildkite, Culture Amp and Icelab, I’m available for hire! I’m an effective, versatile and compassionate technical leader, and an accomplished Rubyist. I’m looking for remote Princi...

After 15 years off the market, I’m available for hire!

I’m an effective, versatile and compassionate technical leader, and an accomplished Rubyist. I’m looking for remote Principal or Staff Engineer roles, at 4 days/week.

Find out more: timriley.info/posts/hire-me

20.01.2025 01:07 👍 45 🔁 34 💬 2 📌 3

Turns out my test hostname `parent.eight_one.test` was invalid. Once I fixed it to `parent.eight-one.test` (notice underscore replaced by hypen), everything worked!

13.12.2024 19:46 👍 1 🔁 0 💬 0 📌 0

Then I tested in Firefox, it shouted me the most friendly error. Then I learned, Underscores (_) are NOT valid in hostnames. Painful TIL, but worth it. 🫠

13.12.2024 19:43 👍 0 🔁 0 💬 1 📌 0

I double-checked my response headers:
content-security-policy: frame-ancestors 'self' parent.eight_one.test
Everything seemed correct. Yet, Chrome ignored the parent domain from frame-ancestors, leaving me utterly confused. 🤔

13.12.2024 19:40 👍 0 🔁 0 💬 1 📌 0

Context:
Playing around with iframes locally, using self-signed HTTPS certs. Tried embedding `child.eight_one.test` into `parent.eight_one.test` but kept hitting: "Refused to frame 'https://child.eight-one.test/' because an ancestor violates the following CSP directive: "frame-ancestors 'self'"."

13.12.2024 19:40 👍 0 🔁 0 💬 1 📌 0
The first image is the Firefox error message clearly stating that the host of the test domain is invalid as hostnames can't contain an underscore. While Chrome gives a vague error message.

The first image is the Firefox error message clearly stating that the host of the test domain is invalid as hostnames can't contain an underscore. While Chrome gives a vague error message.

A good error message makes all the difference!
Shoutout to @firefoxdevtools.bsky.social for saving me from my debugging hell while @googlechrome left me chasing shadows.

13.12.2024 19:24 👍 7 🔁 3 💬 1 📌 0

Persistence wins! Congratulations to the youngest World Chess Champion! @DGukesh ! 👑👑👑

12.12.2024 13:12 👍 0 🔁 0 💬 1 📌 0
Post image

This year's RubyConf India was absolutely fantastic! 🎉
I delivered a flash talk about war room stories, made many new Ruby friends, and met some old ones!
My biggest takeaway: **Ruby is going strong** 💎💎🚀🚀
Looking forward to next year already!
#rubyconfindia2024 #rubyconf #ruby

02.12.2024 08:00 👍 3 🔁 0 💬 0 📌 0
Preview
Future Crate Maintenance and Redis Inc. Relationship · Issue #1419 · redis-rs/redis-rs Hello users. I haven't actively maintained this library in a very long time as you probably noticed. I am still controlling the entry on crates.io for it alongside the redis release team and @badbo...

Looks like Redis Inc. is trying to take over the client library ownership. Issue open in redis-rs (rust client of Redis) with the ask to transfer the ownership. 👀
github.com/redis-rs/red...

25.11.2024 20:29 👍 1 🔁 0 💬 0 📌 0
Add Fiber Running / Fiber Switch events to the marker chart by tenderlove · Pull Request #107 · jhawthorn/vernier Fiber Running and Fiber Switch events give us information about what Fibers in the system are doing. The Fiber Running span in the marker chart allow us to easily select work that a particular Fib...

Worked with @jhawthorn.com to make a change to Vernier today! This PR gives us visibility in to Fibers running in Ruby. It's especially handy for identifying Fibers that are stalling your event loop (if you're using that): github.com/jhawthorn/ve...

20.11.2024 01:07 👍 38 🔁 7 💬 2 📌 0
Preview
Implement a fast path for integer parsing by casperisfine · Pull Request #692 · ruby/json rb_cstr2inum isn't very fast because it handles tons of different scenarios, and also require a NULL terminated string which forces us to copy the number into a secondary buffer. But since the ...

This morning I though I was done optimizing the ruby/json parser, so I was doing some final cleanups before the 2.8.0 release. But nope, I found two more ~10% wins back to back...

This will never end...

github.com/ruby/json/pu...

06.11.2024 12:56 👍 48 🔁 14 💬 1 📌 1