Category Archives: Life

Daily Vitamin #15 – iOS Web Server, Ubuntu 14.04LTS

Lightweight GCD based HTTP server for OS X & iOS (includes web based uploader & WebDAV server)

GCDWebServer was originally written for the ComicFlow comic reader app for iPad. It allow users to connect to their iPad with their web browser over WiFi and then upload, download and organize comic files inside the app.

GCDWebServer

Ubuntu 14.04LTS – New LTS, desktop looks lot more like Mac OS X, which means it’s friendlier to use.

Tips for Starting Haskell

I began recording a series of Haskell screencasts, but as always, had to move all my focus aways from anything personal due to work. Rather than throwing the notes away, I’ll post some of them here as I go through my spring cleaning.

Below are the links I was going to mention in the screencast.

To install Haskell on your Mac, use Homebrew by following these steps:
$ brew update
$ brew install haskell-platform
$ echo 'export PATH=~/.cabal/bin:$PATH' >> ~/.zshrc
$ cabal update

Please be advised that I use zsh, so that’s why the third step is .zshrc. If you use bash, then change that to .bashrc or .profile.

To verify that the installation, start ghci.

cabal is a package manager for the platform. Test the cabal by installing pandoc (since it’s an essential tool, right?) for documentation since we all LOVE documentation. 😉
$ cabal install pandoc

BTSync – Better Alternative to Dropbox

Although I still think that Dropbox is a great service, I just didn’t like the limitation and uneasy feeling of having my files sitting on someone else’s server. That’s why when BTSync came out, I decided to give it a try and it’s been a year since I switched and thought it was about time I gave my thoughts.

I won’t go into technical details here, but it’s not any insecure than other services. You can find more about it at https://www.bittorrent.com/sync

BitTorrent_Sync_Beta

Things I Like

1. The file syncs lot faster between my computers.
2. Works without making me think about it.
3. The files are on my machines and on my server with a web UI. See below.
BitTorrent_Sync
4. Free!!!
5. Automatically syncs anywhere.
6. Did I mention it’s FAST?
7. Super easy to set up.

From Security Now

Final Thoughts

Don’t let the “beta” fool you. I’ve been using this for over a year and didn’t even know that this was still in beta. It’s lot better than Dropbox since it also keeps versions for you just in case you make the mistake of deleting files. I personally believe that BTSync IS the Dropbox killer. I have yet to find anything that would make me think that Dropbox is a better product.

Management

If you’re a manager or is about to become one, try these lessons I’ve learned starting from business school (I have a degree in Finance) and all throughout my career at this point. I realized that I’ve forgotten some of these and this is a great reminder.

The best managers do not “manage”, instead, they inspire and create a working environment for others to flourish. They also hire the right people for the job with the personality that fits the team, no matter how talented someone is. The same goes for getting rid of anyone that throws off the team balance.

Here’s my list of “things”:

  1. Always eat together. I made it mandatory for everyone to eat lunch together. I never compromised on this and you shouldn’t either.
  2. Don’t interfere with productive creativity. In other words, stay out of the way and let people soar.
  3. Learn to sell your ideas. The sales skill I learned (yes, it’s learned, not born with as some people would say) still applies to all aspects of my life.
  4. Always put yourself in their shoes.
  5. Entertain. People should look forward to talking to you, not dread it
  6. Protect your people. Never throw anyone under the bus, even if they deserve it.
  7. Listen!
  8. Don’t try to change things that will never change. It’s okay to accept the fact that cows can’t talk no matter how hard you try to teach it.

Rehashing Old Contents

I’ve realized that when I switched over to selfthis.com, I abandoned lots of personal notes from RubyHead blog. In any case, now that I’m going through digital spring cleaning, I’m going to transfer them here.

R.I.P. Jim

I was sad and shocked to wake up to the news that Jim Weirich passed away. He contributed so much to Ruby community and was one of the nice Rubyist.

Not only he created Rake, but he also created Flexmock. One of those component that I loved so much.

I’ll always remember Jim whenever I issue a rake command.

I’d like to thank Jim for everything and will always remember his gifts to us while he was with us.

Daily Vitamin #13 – Email Lists I Subscribe To

It’s really difficult to keep up with all the changes given that I work on Objective-C/Cocoa, Ruby, Android, JavaScript, and so much more. I subscribe to these email newsletters and allocate time to go through the changes and upcoming stuff. It initially felt like I was getting spammed, but over time, I found them to be extremely useful. Besides, these are weekly or monthly, so the frequency does not bother me at all. Check it out for yourself.

iOS/Cocoa
Dave Verwer’s iOS Dev Weekly – my Friday treat
Ray Wenderlich – monthly but sometimes more
Cocoaheads NYC

From Peter Cooper
Ruby Weekly
Javascript Weekly
HTML5 Weekly

Others
Haskell Cafe
NYC MongoDB User Group (via Meetup.com)