HNHacker News
TopNewBestAskShowJobs

ryanong

352 karma · joined July 21, 2011

[ my public key: https://keybase.io/ryanong; my proof: https://keybase.io/ryanong/sigs/gR6cuz0XjfnyoB8aald81Llv6oPd4-V8JjvW-a1hLwA ]
submissionscomments
ryanong··on Show HN: Short-term rental estimate for sites like Airbnb
Asheville, NC
ryanong··on Ngrok: Secure tunnels to localhost
Ngrok also works without port forwarding through a router
ryanong··on India has banned disposable plastic in Delhi
I think one reason could be because Delhi doesn't have it's own border control? But yea I get it, there are lots of things that can be done to enforce it.
ryanong··on The limited value of a computer science education
Not to say school wasn't useful to you but all of these things could also be learned on the job. (As that is where I learned them)
ryanong··on A Renegade Muscles in on Mister Softee’s Turf
Location is a serious thing in NYC for vendors. If someone moves within 10 feet of you, imagine your daily revenue cut in half.

Sometimes vendors will informally buy locations from other vendors.

ryanong··on 400 days of Go
No but when the GPS tells you to drive into the lake, you shouldn't drive into the lake.
ryanong··on Running three hours of Ruby tests in under three minutes
Would it be cheap enough to encourage a re-write, re-engineer the server stack, and re-train employees? I doubt it.

I think it is an interesting question but a bad one most of the time unless you take into account all the other external factors that don't include the language it self.

ryanong··on Running three hours of Ruby tests in under three minutes
Thanks for the awesome work you have done on test-queue. We have really appreciated it at SchoolKeep.
ryanong··on Running three hours of Ruby tests in under three minutes
If you want to implement this locally without using mini-test checkout test-queue by Aman Gupta at github.

https://github.com/tmm1/test-queue

One thing that really sped up our test suite was by creating an NGINX proxy that served up all the static files instead of making rails do it. This saved us about 10 minutes off our 30 minute tests.

ryanong··on Ross Ulbricht’s private journal shows Silk Road’s birth
I think it implied that he didn't even get up from his chair. I think it implied that they grabbed it when he looked away.
ryanong··on Scroll Slow. Have Fun
any pictures or previews?
ryanong··on Benchmarking Phoenix vs. Rails vs. Sinatra vs. Express vs. Martini
I would love to see openresty in there too.
ryanong··on Horizon – Record horizontally. Always
I don't think they were rotating it. I think they were trying to keep it stable.
ryanong··on Horizon – Record horizontally. Always
Hrm, great idea but not in practice?

This is a demo from youtube. Looks even more shaky than the default camera app.

https://www.youtube.com/watch?v=m2-S5SgQFVg

ryanong··on After Technology Destroys Capitalism
This is a really awesome book that explains what that it is and how it might work.

Race Against the Machine,

by Erik Brynjolfsson, Andrew McAfee

http://www.amazon.com/Race-Against-The-Machine-Accelerating-...

It has some ideas on how to get from where we are to there. I think the philosophies of Race Against the Machine and Capital in the 21st century are pretty insightful and the truth may be somewhere in between the two.

ryanong··on Ketamine 'exciting' depression therapy
As beautiful as this story is, I would also like to mention the numerous friends that I have that have unfortunately become extremely addicted to the drug due to this serenity. For many this feeling does not stay and must be chased with more and more K.
ryanong··on Why We Don't Use Heroku
For context I am a ruby developer first, DevOps second. The last cluster I managed was while I was working for Pivotal Labs. Out client had 50 VMs on top of about 30 Metal servers. We used OpenVZ, Scientific Linux (because centos didn't have ipv6 firewalls, WTF?) and chef-server.

We had to add a few patches to get features we wanted such as graceful shutdown and fix up the way the CLI api worked.

Chef was tested, but the way the tests were implemented were done extremely poorly. When testing a class they stubbed their own internal classes. Basically what ended up happening was none of the interaction between the methods were being tested. I was amazed that this class worked at all. This happend quite a bit too. I understand that what chef is trying to do is very difficult but maybe the problem is that they are trying to do too much.

I don't want my ops tool doing everything, I only want it to setup my servers and make sure that they are all the same.

Groupon has a pretty good internal solution that they are trying to open source soon. They released the client a few days ago. Now if only they had some documentation and the server.

https://github.com/groupon/roll

ryanong··on Why We Don't Use Heroku
I like heroku, I like metal more.

But don't use chef... seriously... It is poorly tested, and lets you do way too many stupid things. Same with puppet.

Check out salt stack

http://docs.saltstack.com/

ryanong··on Wealth, risk, and stuff
http://youtube.com/ryanmalcomong

I have found that tips for traveling are all over the internet so I have none to give really. The advice you heard me tell you now is told by many others in travel blogs. http://reddit.com/r/travel

ryanong··on Wealth, risk, and stuff
I used to live in NYC, and even there I was able to keep down my COL. I was lucky enough to grow up there but I found an apartment for pretty cheap in outer brooklyn. I didn't go out to clubs much, or eat out much either. I hung out mostly in cheap bars or dinner/house parties with friends.

Right now I am in South America, I am using couchsurfing.com and using hostels. I have an apartment right now which cut down costs a lot but still hang out with the local couchsurfing community. I cook nearly all the time so food is pretty cheap. I am lucky that I can program and work remotely but I have friends who do data entry work, translation, english tutoring. I have friends who volunteer in hostels for free room and board or use http://www.helpx.net/

As for traveling, mostly by bus, or budget airlines(which are as expensive as buses). And I do not move often.

Hanging out with couchsurfers has really kept my daily COL. I personally hate most tourist traps and by hanging out with couchsurfers usually you get amazing local cultural experiences for either free or cheap. IE My host in Venezuela took me to his girlfriend's niece's baptism party where I sang, drank, and danced with 70 year old venezuelan women.

I find I am happiest not going on a guided eco tour, or going to the top of some tall thing(building or mountain), but sharing thoughts and experiences with different/local people.

ryanong··on Wealth, risk, and stuff
I've met all kinds of ages while traveling. 18-72 mostly in their 20s yes but that is because of the amount of responsibilities. Most of the older people I have met learned how to delegate responsibilities and obligations or get rid of them.
ryanong··on Wealth, risk, and stuff
I'm traveling the world and living on $40 a day. I have a $300 netbook, an iPhone 4S which i could live without because it isn't unlocked so it is just an mp3 player, and a $70 kindle. No you don't have to be rich to live a minimalist life style. You have to be vigilant about it. For food I am living frugally, making lentil soup or pasta. These things don't require much room.

All the things that I own at this point in time fall into at least one of these three categories.

1. Help me reach goals or aspirations (computer, camera)

2. Make my life simpler and safer (Water bottle, Telephone, multi-tool, clothes, accessories)

3. Provide or improve an experience (kindle, speakers/headphones)

The one thing these three categories share is function. Everything you own should have function and it should be consistently used/appreciated.

Here is to a life, instead of bought, lived.

ryanong··on Pixar’s Rules of Storytelling
It is interesting how replacing character with object makes it a decent guide to figuring out problems or refactoring in programming.
ryanong··on What's all this fuss about Erlang?
Jose Valim made an awesome language for the erlang vm called elixir

http://elixir-lang.org/

I have been playing around with it and it simplifies a lot of the things that bother me about erlang. It breaks some functional conventions for code readability such as rewriting the same variable

ryanong··on Mashion's Pairing Rig
That is pair programming though. The point is to get the other user up to speed so they can contribute more to the project.

I like to think of knowledge as a resource with compound interest for the individual and especially for the company. Knowledge is built on what you already know and the more you learn the more ideas and knowledge you can generate. Teaching another is the key principle of pairing. If done correctly somebody should always be learning and teaching.

ryanong··on QRCodesDoneRight.com - let's teach people how to use QR codes right
How many people that aren't in the tech scene actually know a simple way to scan a QR code?
ryanong··on Getting the closest string match
I had to do fuzzy string matching for car brand names, Two character pair matching tended to work best.

Here is a gist of the code in ruby if anybody wants to steal it. I stole it from somewhere else and thus you have the history of programming.

https://gist.github.com/1038659

ryanong··on How we Autoscale Heroku
You might want to look into using girl_friday instead of delayed job. girl_friday doesn't require an extra background worker.
← PreviousPage 2 of 2