Wednesday, October 27, 2010

Rhosync Compile Errors–Rake Log File

Standard behaviour to run a Rhosync webserver requires running the following command in the folder containing your Rhosync server app (talking windows here):

   1:  rake rhosync:start

which will run in a new cmd window. Problem is if there is a compile error, this window will close before you get to see the error. I was expecting to see errors in logs somewhere, but my limited searching turned up nothing.

Easy fix is to just call rake instead. e.g.


   1:  rake

Probably easy for most people to work out, but for us linux noobs simple things can sometimes seem very difficult :(

Tuesday, October 26, 2010

Android <3 – 5 Best Apps

Purchased a Samsung Galaxy S a couple of months ago after trying to hold out for a Windows Phone 7 … phone. Never made it and my Samsung Omnia was getting a bit long in the tooth (though custom roms from XDA made it bearable). For various, probably unreasonable, reasons I was reluctant to but another samsung phone. Bit the bullet, and I’m glad I did. Phone is awesome yada, yada, yada. Just thought I’d share my top 5 favourite apps:

Launcher Pro Plus – US$2.99

LPPLauncher app to replace Samsung’s iPhone-ish TouchWiz Launcher. I can’t give LauncherPro Plus enough wraps, smooth, powerful, intuitive, customizable. The ability to create shortcuts on your home-screens is invaluable. Not just app shortcuts though, webpages, contacts, activities(i.e. message a contact, navigate to a destination, etc). Really makes this phone fun to use. Free Version is full-featured but I recommend purchasing the app to help out the developers.





Handcent SMS – FREE


Replaces the standard android/samsung messaging app. Again really nice app to use, highly customizable, fast, etc. Best feature would have to be the “Quick Reply” popup that allows you to reply to an SMS without having the entire messaging app open up.







brutWorldwide navigation using Google Maps Directions, map tiles caching on SD card, etc. ‘nuff said








AppBrain – FREE (Ad supported)

appbrainReplacement market app. Manage you apps online. Hot apps, recommendations, backups, app lists. It’s got them all. Fast clean, interface. I would probably purchase this to get rid of the ads, but they seem to only have a donate option :S







Winamp – FREE

winampOnly just installed this, but it looks like it will be my number one music player for the foreseeable future. It’s got playlists, it’s fast, it’s smooth, has a great homescreen widget and best of all a lock screen widget. Not sure I could ask for much else in a media player.







It’s not really surprising that all these apps are just replacements for existing functions on the Galaxy S which are all severely hindered in some way. Next time I’ll look at apps that actually add features…

Monday, October 25, 2010

Node != Nodejs

Recently built a new Ubuntu 10 VM to test out a few Node.js ideas. While support for windows is improving, it just isn’t ready for prime time. I’m very much a linux noob so I just tried following the various guides out there.

I’ve followed these steps successfully recently so it came as a surprise when running:

   1:  neil@ubuntu:~$ cd node
   2:  neil@ubuntu:~/node$ ./configure

resulted in:

   1:  neil@ubuntu:~/node$ ./configure: 4: autoconf: not found
(or some other such error)

Now trying to brute my way through the install I pushed on and ran:

   1:  neil@ubuntu:~/node$ make
   2:  neil@ubuntu:~/node$ sudo make install
furthers errors ensued…

However then running:

   1:  neil@ubuntu:~/node$ node

gave me the oh so informative:

   1:  The program 'node' is currently not installed.  You can install it by typing:
   2:  sudo apt-get install node

DO NOT RUN sudo apt-get install node

As this will install the node module. Confused? Well node != nodejs. node is apparently a Amateur Packet Radio Node program. Not what we want unless you’re into ham radios… Attempting to run node will usually result in something along the lines of:

   1:  axconfig: port 1 not active 
   2:  axconfig: port 2 not active 


How to fix all this? Well thanks to stack-overflow and the nodejs group at least I knew where to start:

First remove the node package:

   1:  sudo apt-get remove --purge node
   2:  sudo apt-get clean


And then run the following to get a stable version of nodeJS running (e.g. v0.2.4):

   1:  sudo apt-get install build-essential
   2:  cd node
   3:  git checkout v0.2.4
   4:  ./configure
   5:  make
   6:  sudo make install


You should now be able to run nodeJS scripts. YMMV