Joseph Hsu

Dec 16

Foo Ross Daaaaaaaaaaaaaaa thanks #reddit #secretsanta (Taken with instagram)

Foo Ross Daaaaaaaaaaaaaaa thanks #reddit #secretsanta (Taken with instagram)

Nov 29

Taken with instagram

Taken with instagram

Jul 24

Rails (2 & 3) Rake console

A little script (./script/taskrunner) to run a little rake console without having to start up the env everytime, works with environment variables too.

to get it set up, run this from your rails project directory:

curl -o ./script/taskrunner https://raw.github.com/gist/1072723/61b9eb6d458e643b3ea9e679d6501c388f3d3377/taskrunner.rb
chmod +x ./script/taskrunner
./script/taskrunner

Jul 14

Nyc at a greek place (Taken with picplz.)

Nyc at a greek place (Taken with picplz.)

Jul 13

(Taken with picplz.)

(Taken with picplz.)

Jul 09

Pafdle boat (Taken with picplz.)

Pafdle boat (Taken with picplz.)

Jun 22

Scratching Itches: Listening to Music

In this series I’ll be talking about little lifehacks I have found that work for me.

All my music is stored in one location, but I want to be able to listen to it from work, in the car or wherever I go.

I hardly ever plug my phone into my computer and I don’t want to have to manually sync my music over. I want to be able to listen to my latest music without syncing.

My criteria for a solution:

And So I Found… Subsonic

The downside of running subsonic is that there is some setup. You need a dedicated machine to run the server and set up port forwarding through your router if you want to access it externally. Using no-ip.com helps so I don’t have to remember an IP address to access subsonic. Subsonic also has to transcode the audio to the bitrate of your choice so you can’t skip positions right away (unless the song is already cached on your device).

The music player also is flash (which isn’t so great on linux especially on a 64-bit OS).

Subsonic can also eat up bandwidth when streaming to something outside the network. I had to mitigate this using QoS on my DD-WRT router.

Long-term conclusion

I’ve been using this setup for almost a year and I’ve had no problems with it. I listen to my music on my phone, listen to music in the browser at work and home (no native music player needed).

Screenshot of Subsonic

May 17

weapon of #railsconf be afraid (Taken with picplz.)

weapon of #railsconf be afraid (Taken with picplz.)

May 15

(Taken with picplz.)

(Taken with picplz.)

Apr 15

flying blimp at work (Taken with picplz.)

flying blimp at work (Taken with picplz.)