trevorturk's comments

trevorturk | 1 year ago | on: What's New in Ruby on Rails 8

I think the ActionCable PR is here: https://github.com/rails/rails/pull/50979 -- it seems like it's going well, but taking some time. I think that should be interesting for some use cases, but we'll have to see if/how that makes deployment/operations more complex. For example, if you're better off with the bulk of your app running w/ threads on Puma, would you run the ActionCable stuff w/ fibers on Falcon? Or maybe you just have an app that's doing mostly streaming of AI API responses or something?

Anyway, I'd be careful about over-promoting Falcon/Async, even as one of the relatively few people that's running in a large-ish production app. In my case, I'm doing a LOT of hanging waiting on API responses from weather data sources, and I want to transform the JSON and do some data point conversion in real time. So even in my case, I think it's better for me to switch (see https://github.com/socketry/async-examples for me doing some experiments) because I'm often waiting on API responses (in real time) that can take 1-2 seconds (!) but then I'm still doing some heavy CPU work reading and writing JSON blobs. I saw a pretty good speedup with YJIT, so I think I'm not entirely IO bound, if that makes sense.

I think it's great to have more options for those of us that love Ruby, so we don't need to switch to Node.js or something else for this kind of work. But I think it's likely that existing Rails apps (and typical CRUD Rails apps etc) will probably want to stick with a thread-based model. We'll see how it all shakes out over the next couple years, and I think you're right that it's exciting stuff. Between all the work on YJIT etc, and the possibilities for Node.js-type or Go type use-cases being possible/reasonable with Fibers, it's a great time for Ruby!

trevorturk | 15 years ago | on: Ditch Starbucks and work at the library

I've been working from the British Library in London lately, and it's been great. If you're working at a library, though, please do consider making a donation. Sure it's free, but...

trevorturk | 15 years ago | on: How To: WordPress to Jekyll

Ugh. The length of that article (and the reliance on Disqus for comments) is why I'm still using WordPress.

I'd use a hosted service, but I haven't found one that can properly import my posts and comments. Is there such a thing? I know Posterous is close, but I don't think they import comments.

I still love Mint, too. I wish someone would build a hosted version of something just like it. If you're thinking the same thing and want to team up, drop me a line ;)

trevorturk | 15 years ago | on: Rails for Zombies - Learn Rails from the comfort of your browser

I've helped a number of people "get started with Rails" over the years, and I've had to help every single one of them get their environment set up properly.

I think there's tremendous value in this kind of site. If someone comes up to you and says "how can I get started with Rails?" now you can just point them to this site and tell them to get in touch when they've finished the tutorials. Then you can help them set up their environment properly ;)

trevorturk | 15 years ago | on: Rails for Zombies - Learn Rails from the comfort of your browser

This is a wonderful idea. Every time I try to get someone started with Rails, I sent them to the Rails Guides and warn them that "getting Rails up and running in the hardest part." Being able to have someone jump straight into videos and interactive prompts from their browser is going to be so much better...

trevorturk | 15 years ago | on: Making Posterous faster with Varnish page caching

Varnish is most definitely a huge win. It can be somewhat of a pain to install if you're not using Chef or something, though. Here's some helpful info I compiled that might come in handy for first-timers:

Installing Varnish with nginx, Passenger, and Monit on Ubuntu 8.10 intrepid:

http://trevorturk.com/2009/10/22/installing-varnish-with-ngi...

It's a bit out of date now, but basically still applicable.

Also, here are some packages for Sprinkle, which is an alternative to Chef that I like:

http://github.com/trevorturk/sprinkle-packages

Varnish is not installed by the default example, but look in packages/varnish.rb and you'll be able to sort it out.

Go go gadget Varnish!

trevorturk | 15 years ago | on: Linode Turns 7, Big RAM Increase

I've been a happy Slicehost customer for a long time, but I've heard good things about Linode and liked using them well enough during Rails Rumble...

This price difference is pretty tempting. Does anyone that's made the switch from Slicehost to Linode care to tell us about their experience?

page 1