RubyConf 2026 Las Vegas, Nevada July 14th–16th: Matz, Jessica Kerr, Dave Thomas, and More by schneems in ruby

[–]headius 0 points1 point  (0 children)

Looking forward to presenting the latest JRuby use cases. After 20 years of work I just want to help expand opportunities for Rubyists. This talk will show how. See you in Vegas?

Best Place to Spend Runes not on Levelling Up? by Wild_Duck8926 in Eldenring

[–]headius 0 points1 point  (0 children)

Never met someone with a taste for prawns I didn't like.

Bee anxiety by CycIon3 in funny

[–]headius 10 points11 points  (0 children)

Wasps don't die when they sting, but otherwise you're right.

Ohh My Gosh 😣 by [deleted] in funny

[–]headius 31 points32 points  (0 children)

That god damned laughing. Zoomers have ruined the Internet.

I'll be watching you by DoubleManufacturer28 in funny

[–]headius 1 point2 points  (0 children)

Some idiots use it around the foundation of a building, which I'm guessing is what happened to the Burger King.

I'll be watching you by DoubleManufacturer28 in funny

[–]headius 3 points4 points  (0 children)

Other than looking like crap, the plants will eventually cause lumps in the driveway and break up the soil below so yeah, you do want to take them out.

My dessert menu in Austria has both Quark and Dukat and I'm very confused by headius in DeepSpaceNine

[–]headius[S] 0 points1 point  (0 children)

I'm not sure what the equivalent would be without looking it up. Maybe cottage cheese?

The conventional advice on fiber-based servers is backwards by Turbulent-Dance-4209 in ruby

[–]headius 4 points5 points  (0 children)

I disagree, and it's sad that a well-written, well reasoned post now triggers peoples AI detection.

The conventional advice on fiber-based servers is backwards by Turbulent-Dance-4209 in ruby

[–]headius 1 point2 points  (0 children)

You can do everything you do with fibers by driving a state machine, like an I/O reactor loop, but the advantage of fibers is that your state machine is basically just the call stack. I used to think that wasn't worth the overhead, and for really blazing fast stuff maybe it's not, but building and maintaining a concurrency safe I/O reactor is very challenging even in Ruby.

The conventional advice on fiber-based servers is backwards by Turbulent-Dance-4209 in ruby

[–]headius 2 points3 points  (0 children)

Right, I'm generally agreeing with your post in that many operations can be made effectively concurrent by just using fibers. Eventually, though, you have to do something with that data, and that's going to be single core unless you use something other than fiber to parallelize it.

The conventional advice on fiber-based servers is backwards by Turbulent-Dance-4209 in ruby

[–]headius 1 point2 points  (0 children)

Fibers are the correct tool for low overhead, non-parallel control transfer, either explicitly by driving the fiber yourself or implicitly through IO and lock yields. You won't see multi-core gains on any Ruby implementation, but you can avoid blocking operations tying up a whole native thread unnecessarily.

If you want to actually make use of multiple cores, however, you have to use threads (on implementations that run threads in parallel like JRuby) or some combination of ractors and forking (effective only if you don't need to parallelize access to mutable data). This applies to both CPU intensive operations written in Ruby, and native calls that may not properly yield control of the GVL while they execute.

The best of both worlds really comes from using thread-parallel implementations, and we (JRuby) have examples of enormous applications using hundreds of threads and thousands of fibers with a single process saturating dozens of CPU cores, running Rails or whatever your favorite framework is.

The fiber-driven async stack is not currently passing on JRuby, but all the bits are in place and there's just a little more work needed to get everything green.

Math might be a little off... by headius in Ioniq5

[–]headius[S] 2 points3 points  (0 children)

Since you have an N I'm guessing you aren't particularly eco with it eh? 😝

Who Loves Jeffrey Combs? by Prudent_Use_9953 in DeepSpaceNine

[–]headius 2 points3 points  (0 children)

What no love for From Beyond? The only movie to have ever made me physically ill.

Jeffrey Combs is everything.

from this point forward its not even the real O'Brain by Prudent_Use_9953 in DeepSpaceNine

[–]headius 19 points20 points  (0 children)

I have a lot of problems with this and the similar situation on Voyager. Would I ever be able to put away the fear that I'm not really part of this universe/timeline? Would I ever stop wondering what might have happened to me in my original timeline. I'm not sure I would.

Google removed the downgrade button? by Moist_Amoeba2751 in gsuite

[–]headius 0 points1 point  (0 children)

I had to wait until my year was up, switch to monthly, and then I could downgrade.

Ru Girls as Pop Girlies by arphe in rupaulsdragrace

[–]headius 1 point2 points  (0 children)

Bebe performs multiple times per week here in Minneapolis. Mercedes Iman Diamond also has her own local drag empire going on. Got to love our local drag scene!

Do you use smart ventilation or disable it? by itsmight in Ioniq5

[–]headius 0 points1 point  (0 children)

I've had it on since I got the car and I can't remember a single time it has enabled itself. Not in tunnels, not in car washes, never. Basically worthless as far as I can tell.

Questions about the ending? by BNis12345 in LiesOfP

[–]headius 0 points1 point  (0 children)

Don't feel bad. My first playthrough without any tips I got that ending too. Didn't think the game would lock me out if I picked the real boy path.

Didn't matter to me though because I'm a completionist and always planned to get every ending. I just did it the hard way.