10 Trillion is Insane!

I love watching the truthful reporting that Frontline provides.  This episode talks about the 10 trillion dollar debit that the US currently has, that’s approximately $35,000 per person in the US.  If we don’t stop spending frivolously on wasteful government programs we’re going to be in major trouble really fast.

Watch the video, it really opens your mind and makes you want to save!

You can edit this ad by going editing the index.php file or opening /images/exampleAd.gif

jQuery Tools

I came across this today and thought it was a great collection of the best jQuery effects.  I plan on using some of these effects in some projects I’m using.  Check it out!

http://flowplayer.org/tools/demos/index.html

Too Many Features

This video reminds me of developers that try to push too many features into an application; imagine what will happen when the train’s doors open, hahaha.

This is why we need less features.

I cam across this interesting image recently, it’s Microsoft Word with all the toolbars turned on.  This is exactly why we should only include the relevant features in our code and not dump in every single thing that may seem like a good idea.

http://www.codinghorror.com/blog/images/word-all-toolbars-small.png

How to SCP a file.

I had to move a file from my OSX laptop to a Linux box, while using a FTP client to do it is easy, there is an even easier way.

From the command line just use the SCP command. “Secure Copy”

scp examplefile yourusername@yourserver:/home/yourusername/

Another method a friend of mine showed me is the following:

cat file | ssh user@someserver.com "cat - > file"

I kinda agree with Microsoft.

Usually I have a tough time agreeing with Microsoft’s philosophy, but this nice financial-looking guy is making sense to me.  I think Apple should do a subscription service for iTunes, makes sense…  Anyway watch the commercial.

What’s the current URL?

Have you ever needed to know the URL of the page that you are on in your Rails application.  Well, it’s very easy to find that information.  Simply call the request_uri method on your request object.

Like this: <% page = request.request_uri %>

You can also get a ton of other useful information about the page you are on by calling some of the other methods on the AbstractRequest object.

Beginning iPhone Dev

A few of us at work started to go through the iPhone class from Stanford, it’s very detailed and well taught.  Here’s the link to all the slides and assignments:

http://www.stanford.edu/class/cs193p/cgi-bin/downloads.php 

Another very help site is Apple’s Dev Center.

How to use Sphinx with Rails

I’ve been working on a little side project that requires me to find out where in my area are the best kabobs.  This is what I’m using.