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
|
9 years ago
|
on: Rails 5.0: Action Cable, API mode, and more
Super appreciated! Great work Sean. This kind of deep structural improvement will pay dividends for years.
trevorturk
|
12 years ago
|
on: Outbox Is Shutting Down
I absolutely love PaperKarma. Keep up the good work!
trevorturk
|
13 years ago
|
on: Sparrow acquired by Google
I want a refund.
trevorturk
|
13 years ago
|
on: Svbtle is hiring to build the future of news and opinion on the web
I'll stick to 9rules.com, thank you very much
trevorturk
|
14 years ago
|
on: Why I Don’t Host My Own Blog Anymore
I just moved from a self-hosted WP blog to a free one at WordPress.com. Much happier now :)
trevorturk
|
14 years ago
|
on: Sane RSS usage
http://hckrnews.com/ is an awesome way to keep up with hacker news without missing things if you take a few days off.
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: The anatomy of a WordPress theme (Infographic)
FWIW - I made "the simplest possible Wordpress theme" in an effort to understand what the bare minimum Wordpress theme requires (to get into their theme directory). You can see it here:
http://wordpress.org/extend/themes/simplest
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: MySQL in the cloud at Airbnb
Heroku just released some major updates to their Postgres offering as well. See the blog for info:
http://blog.heroku.com/
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: Review our startup: Lanyrd, the social conference directory
Awesome. I don't see any way for me to get a tweet/email/something to let me know when new stuff is added. That kind of thing would be nice, because I'm sure I won't remember to go back to the site.
trevorturk
|
15 years ago
|
on: Ruby 1.9.2 Released
..waits patiently for Heroku to support it ;)
trevorturk
|
15 years ago
|
on: Tell HN: Github has dozens of public s3 passwords
trevorturk
|
15 years ago
|
on: Things You Should Be Doing With Your Server, But Probably Aren't
I've been happily using Sprinkle for a while now:
http://github.com/crafterm/sprinkle
Might be worth checking out if your needs aren't too complex and you want to get up and running quickly with something simple.
trevorturk
|
15 years ago
|
on: Full Trailer For Facebook Movie ‘The Social Network’ Hits The Web
...uhh... was that Justin Timberlake...? This is going to be _hilarious_
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?
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!