Author Archives: vinhboy

How to make the sign in page the root page on devise

You can’t just use root :to => ‘devise/session#new’ because you will get this Could not find devise mapping for path “/” So you have to do this devise_for :users do root :to => ‘dashboard#index’, :constraints => lambda {|r| r.env["warden"].authenticate? } … Continue reading

Posted in Technology | Leave a comment

America: The land of plenty… garbage.

When I walk our dog around the block, I notice that 4 out of 5 garages are full with stuff. I rarely see a garage with space for cars. And when I say full, I don’t mean things taking up … Continue reading

Posted in Rant | Leave a comment

How two whitespaces ruined my life.

Ok. I literally just spent 6pm since last night, until 12pm today debugging (minus 5 hrs of sleep) because of two whitespaces. I am setting up a server, and I had to copy one line of configuration.   signup_flag_on: true I … Continue reading

Posted in Technology | Leave a comment

Fuck you apparmor!!!

That’s 5 hours of my life I will never get back. http://paikialog.wordpress.com/2011/10/19/how-to-properly-move-mysql-datadir-to-a-new-folder/

Posted in Technology | Leave a comment

costs the taxpayer

On the local news, they are constantly reminding us how much it “costs the taxpayer”. Raids of the occupy protests, costs of building roads, prisons, social programs, court fees, etc… To be fair, maybe they should also remind viewers how … Continue reading

Posted in Rant | Leave a comment

Eating rice noodles give me a stomach ache

Eating rice noodles give me a stomach ache. Not poo in your pants stomachache. Knot in your stomach kind. Anyone else ever had this problem?

Posted in Rant | Leave a comment

The selfish liberal

The other day a friend called me a “bleeding heart liberal”. But honestly, there is nothing “bleeding heart” about my progressive stance. In fact, most of my motivation are pretty selfish Universal Health Care – Sure, I support universal health … Continue reading

Posted in Politics | Leave a comment

How to make Margin Call better

I keep thinking about the movie I saw last night, “Margin Call”, and how it could have been so much better. While the movie was very well done, I feel that it could have done a better job at storytelling. … Continue reading

Posted in Rant | Leave a comment

Margin Call Movie Quote

While the movie strays far from reality to focus more on the human drama, it had one beautiful scene. If you really want to do this with your life you have to believe that you’re necessary. And you are. People … Continue reading

Posted in Politics | Leave a comment

Economics: What is a derivative?

Best explanation I have read: http://dealbook.nytimes.com/2009/10/07/dealbook-dialogue-lynn-stout/ For me, a financial derivative is like a “sidebet” at a poker game. Sidebets are annoying because they are usually called for by loud and obnoxious players who have no patience to wait for … Continue reading

Posted in Politics | Leave a comment