Better HN
topnewbestaskshowjobs
Log inSign up

trevorturk

715 karma · joined Mar 7, 2007 (19y ago) · 117 submissions

https://twitter.com/trevorturk
Submissions

comment 2y ago · link · parent

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!

2.

The weather machine: 100k realtime data requests with autoscaling on Heroku(helloweatherapp.com ↗)

3 points · by trevorturk · 6y ago · discuss

3.

Peter Thiel, YC, and hard decisions(medium.com ↗)

59 points · by trevorturk · 10y ago · 12 comments

comment 10y ago · link · parent

Super appreciated! Great work Sean. This kind of deep structural improvement will pay dividends for years.

5.

Let’s stop trivializing design work(medium.com ↗)

2 points · by trevorturk · 10y ago · 1 comment

6.

Why Chicago needs to stop playing by Silicon Valley’s rules(holovaty.com ↗)

11 points · by trevorturk · 12y ago · 1 comment

comment 12y ago · link · parent

I absolutely love PaperKarma. Keep up the good work!

8.

Chick-Fil-A Confessional(chickfilaconfessional.com ↗)

2 points · by trevorturk · 14y ago · discuss

comment 14y ago · link · parent

I want a refund.

comment 14y ago · link · parent

I'll stick to 9rules.com, thank you very much

comment 14y ago · link · parent

I just moved from a self-hosted WP blog to a free one at WordPress.com. Much happier now :)

comment 15y ago · link · parent

http://hckrnews.com/ is an awesome way to keep up with hacker news without missing things if you take a few days off.

comment 15y ago · link · parent

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...

comment 15y ago · link · parent

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 ;)

comment 15y ago · link · parent

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

comment 16y ago · link · parent

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 ;)

comment 16y ago · link · parent

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...

18.

Rails for Zombies - Learn Rails from the comfort of your browser(railsforzombies.org ↗)

336 points · by trevorturk · 16y ago · 57 comments

comment 16y ago · link · parent

Heroku just released some major updates to their Postgres offering as well. See the blog for info: http://blog.heroku.com/

comment 16y ago · link · parent

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!

comment 16y ago · link · parent

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.

comment 16y ago · link · parent

..waits patiently for Heroku to support it ;)

comment 16y ago · link · parent

I use a similar strategy: http://trevorturk.com/2009/06/25/config-vars-and-heroku/

...this kind of thing doesn't have to be Heroku-specific, though.

comment 16y ago · link · parent

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.

comment 16y ago · link · parent

...uhh... was that Justin Timberlake...? This is going to be _hilarious_

comment 16y ago · link · parent

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?

27.

Update to Rdio iPhone app still waiting for Apple’s approval(blog.rdio.com ↗)

2 points · by trevorturk · 16y ago · discuss

comment 16y ago · link · parent

I'd suggest doing open-source work, blogging, and presenting at meet-ups. Sharing your knowledge with other people is a great way to make friendly connections.

comment 16y ago · link · parent

Does it means something that I don't see Apple on this page?

http://www.webmproject.org/about/supporters/

1234