Blog

$ less blog.txt
This page is still kind of buggy with the pagination and format. If you prefer, see an archive of all of my blog posts.

Domino's ShopRunner Flub

2013-02-06

On Sunday, February 3, 2013 (Super Bowl Sunday), Domino’s Pizza disabled ShopRunner free delivery on their site. This screenshot was taken from the Domino’s Order Page on Tuesday, February 5, 2013, when they added it back in.

Coincidence? Sneaky Domino’s. I didn’t think to take a screenshot at the time, though. Too bad!

Domino's ShopRunner Flub

Let’s see what sharing to Twitter yields…

How to Clone a Car

2013-01-24

Today, I was looking up biking directions to my new office. I wanted to take VTA Express from Fremont to Sunnyvale, and then bike the rest of the way.

So, I looked up biking directions on Google Maps, and, to have a better idea of the actual road conditions, looked at street view. That’s when I noticed something interesting–all the cars on the road look the same!

Am I seeing multiples?

Car Clones

Car Clones

The Google Streetview car was slightly ahead and to the right of the car in the picture driving down Java Drive, and therefore, that same car was pictured in every frame of map tiles along that stretch of road.

What appears to be an optical illusion is… an optical illusion created by stitching together several separate frames together.

Dropbox on NTFS Mount in Ubuntu

2012-11-07

After I switched to Ubuntu as my primary OS (dual-boot alongside Windows XP), I had a problem syncing some Dropbox files to an NTFS mount.

While some files synced without much trouble, the Dropbox icon would consistently be spinning and several files and folders would not sync.

I got around to searching for the issue today “dropbox ntfs ubuntu” and found this helpful blog post that answered my problems.

tl;dr; – the fix was to simply add uid=1000 to the /etc/fstab entry for the NTFS mount, because Dropbox, running as your user, tries to change permissions on the file (owned by root in the absence of the uid=1000 option).

Don’t have Dropbox yet? Why not use my referral link to sign up to get a free bonus and start off with 2.25GB? Dropbox is one of the best cloud-based file-sync programs for the average user, allowing access from Windows, Linux, Mac OSX, iOS, and Android!

Apache on OSX 10.8 Mountain Lion

2012-11-07

I upgraded to Mountain Lion (10.8.x) from Lion (10.7.x) a few months ago, and only discovered today that Apache wasn’t working–going to http://localhost showed the default “It works!” page.

A quick search for “apache mountain lion” found this helpful guide: AMP Guide for Mac OSX 10.8.

tl;dr; for those who know what they are doing:

  • There is no longer a Web Sharing section in System Preferences > Sharing.
  • Use sudo httpd start|stop|restart to control the Apache process
  • Main configuration file: /etc/apache2/httpd.conf
  • Default DocumentRoot is /Library/WebServer/Documents
  • Enable PHP by uncommenting the PHP module include in httpd.conf
  • User configuration file: create one at etc/apache2/users/YOURUSERNAME.conf

Sample user conf contents:

<Directory "/Users/YOURUSERNAME/Sites/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

Cool Video of Strange Chinese Song

2012-10-05

Here’s a cool video.

The song, named Tan Te, is sung by Gong LinNa. It is considered both modern and traditional Chinese music.

And in case you’re wondering–no, the words don’t make any sense.


Make a Donation