isti115

joined 2 years ago
 

I wasn't able to find any up-to-date information about tail call optimization support in Ruby, so I decided to post this hoping that it will pop up next time someone might also be searching for this topic...

What I was able to figure out is that TCO can be enabled in Ruby 3.4 via a compile option like so:

RubyVM::InstructionSequence.compile_option = {tailcall_optimization: true}

def tailSumUntil(n, m)
  n == 0 ? m : tailSumUntil(n - 1, n + m)
end

tailSumUntil(100_000_000, 0)
# => 5000000050000000
 

So, 10am PT instead of 8am PT. Here's a countdown, hopefully I managed to set it to the correct time: https://www.timeanddate.com/countdown/generic?iso=20250409T10&p0=137&msg=Framework+Laptop+12+Pre-order

[–] isti115@lemmy.world 2 points 11 months ago* (last edited 11 months ago) (1 children)

I also like them (not as much as the originals, but there are some good ones among the new batch as well), luckily they seem to have returned back to normal!

[–] isti115@lemmy.world 3 points 11 months ago* (last edited 11 months ago)

You mean it's only included in the Plus Max Ultra Platinum VIP Extra™ plan? 😀

10
submitted 11 months ago* (last edited 11 months ago) by isti115@lemmy.world to c/duolingo@lemmy.world
 

I just logged in today and found that all stories seem to be gone from my path and the practice hub as well. 🙁 I really hope that this is only something temporary!


Edit: I just checked after about ~10 hours and they seem to have returned!

 

We're getting really close, which is great to see, as I'm going be teaching about graphics tools (GIMP for raster [maybe a tiny little bit of Krita as well], Inkscape for vector) at a workshop in November, and will be more than happy to show off the new non-destructive editing capabilities! :)

 

I remember that way back around 2015 the double XP boost used to stack, so you could get a 4x multiplier, but I don't think that I've ever got a triple.

 

It seems that they have accidentally posted the announcement earlier than intended, but it will probably show up later during the day.

 

If the rolling wooden variant still turns out not to be enough, I might need to source a real live duck. 🦆 Not sure how patient that would be at listening to me explaining code though. 🤔

 

After getting a comment from the creator of kanata (an awesome piece of software by the way) that he found my story amusing, I figured that I'd also post it here, partly as fun, partly as a cautionary tale. Also, I'd appreciate any tips as to what to check for in my system, it's a weird feeling to know that some stuff might have been messed up under the hood.