Skip to content

Category Archives: Random Thoughts

“Error: EPERM: operation not permitted, rename” on Windows+VirtualBox+npm (and Rails)

When using an Ubuntu VM on a Windows host, and developing on npm with a shared folder, you’re probably going to hit our “operation not permitted” error a lot. I installed browserify-rails on my rails app today, but i couldn’t compile my assets because of a series of issues with VirtualBox shared folders. Here are […]

Error: origin_mismatch when using Google OAuth on a non-localhost domain

Not developing on localhost? Google’s “Authorized JavaScript origins” list can only be configured to use localhost:port (e.g. http://localhost:3000) for development. This poses an annoying problem for those of us that are developing remotely or with a VM. My current setup has me running a Ubuntu VM using VirtualBox, on a Windows 10 host. Since the […]

Error when installing fcgi gem

If you’re getting this error when installing fcgi: Installing fcgi 0.9.2.1 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. you need to actually install FastCGI first. (`gem install fcgi` just installs the ruby bindings) Normally, `brew install fcgi` would be ok, but it looks like the fcgi library has been taken down. […]

A Tip to Recruiters

Here’s a pro tip to recruiters: format your emails. I automatically delete 90% of recruiter emails without reading, and in the rare occasion where I actually open your email, at least make it easy for me to read it. You have 10 seconds to pitch before I press shift-3. Also, don’t use an email address […]

There is some truths in this

between the ages of 10 and 20, people who are most envied are those with beauty; between the ages of 20 and 30, people who are most envied are those who’ve found love; between the ages of 30 and 40, people who are most envied are those whose children are ones they can be proud […]

First real frustration since I arrived in HKUST

There is nothing else I despise in this world than self-righteous yet incompetent people. Here’s an unbiased but abridged story: I got my Comp 303 Project 1 (a Flash game) scores back, and I saw a 94. Curious of how I lost 6 points, I went to the grader. Let’s cal this guy “G”. G: […]

“Smoking Hot Bartenders” archive exposed

Adam retweeted this article from @newsycombinator a 2 hours ago. Since I’m taking an afternoon break from in the summer heat of Hong Kong, I decided to mess with the scam website. I figured they probably don’t have any real content on their server. With a little help from Firebug, I managed to find the […]

Gmail security vulnerability?

This has happened to me twice now – getting my Gmail password reset after coming back from a trip. It reaffirms that no one should use email as file storage. It’s ridiculous. The first time it happened, I had no way to recover it except by remembering exactly when I started using Gmail, Calendar, Docs, […]

Mobile 2.0

to add connectivity, ubiquitous portability, and location-based services to enhance information and services found on the web.

New Age Values

Not just Competing. Think Co-operating. Not Career. Think Passion. Not Market. Think Community. Not just Profit. Think Thick Value. Not Buy and Sell. Think Participate and Contribute. Not just Author. Think Initiator. Not just Managing. Think Leading. Not just Education. Think Passion Nurturing. Not mugging up and Memorizing. Think Imagination and (New) Innovation in schools. […]