Monday 30 June 2008

Featured gadget: Olympics Countdown Gadget





Name: Olympics Countdown Gadget
Author: Kamal Singh
Description: Can't wait for the Beijing 2008 Olympic Games? Then the Olympics Countdown Gadget is right for you.

More information | Download gadget

Each week this blog features a recently added Google Desktop gadget that looks promising. If you'd like to see all new Desktop gadgets as they're published, subscribe to the RSS feed.

O'Reilly PDF Wonderfulness and Lighter Laptop Bags

As I have hopefully blogged about a little bit, I have been working a lot lately with Ajax stuff and writing a lot of my course content in HTML. Consequently, I am constantly bouncing from Javascript to CSS to HTML to Java to PHP, etc.... Add to this, I have never been that great at remembering syntax. So I often carry around a number of the O'Reilly quick reference books with me. Cause I know what I need to do, but I can't remember correct idiom (References to Monty Python and the Holy Grail welcome). :)


So I often find myself carrying around a bunch of books that I don't really want to carry around. At the Rails conference this really began to bug me cause I'm sure my books were heavier than my laptop.


So at said Rails conference I chit chatted with the nice O'Reilly lady at their booth. This problem came up during the conversion and she mentioned that a number of their books were available as PDFs.


Well I looked into it this weekend and sure enough, most of their books (especially the new ones) have a PDF version. I found replacements for all my quick references: the CSS, HTML, Regex, JavaScript, and SQL. In addition, I found PDF versions of the PHP Cookbook and Mats' Ruby book. My laptop bag has just dropped about 2 or 3 pounds!


The quick references cost between $7 and $10 each. The regular books from $20 to about $35, only a slight discount off the print book. I do think O'Reilly should consider lowering the price of the PDFs a bit. I think they would sell better.


The PDFs themselves have no passwords or DRM on them. Plus they are indexed and searchable!!! Woo hoo! So if you want to lighten that load, head over to their store and check it out: http://oreilly.com/store/



Thursday 26 June 2008

From the desktop to your TV



In the old days, we used to watch a simple device called a television. Nowadays, all the stuff worth watching and listening to tends to be stored on or accessed through a computer. To help remedy this, we are pleased to release the Google Media Server.
Google Media Server is a Windows application that aims to bridge the gap between Google and your TV. It uses Google Desktop technology such as Desktop gadgets for the administration tool and Google Desktop Search to locate media files. All you need is a PC running Google Desktop and a UPnP-enabled device (e.g. a PlayStation 3). At the touch of a button, you can then:
  • Access videos, music, and photos stored on your PC
  • View Picasa Web Albums
  • Play your favorite YouTube videos
It's easy to install, so please try it out. We'd love to get your feedback and hear what you'd like to see next.

Wednesday 25 June 2008

PHP Object Basics

I have written up a little how to on using PHP objects. The article is by no means comprehensive and only covers some of the basics. But I did learn quite a bit trying to write it. The PHP __call method is very interesting and I had no idea it even existed.


Since I bounce between languages so much, I needed a simple summary example showing standard syntax for regular and static objects. The static syntax always throws me off and I was getting tired of having to repeatedly look that stuff up.



Using Flickr with Dojo Tutorial

Here is another great link from Ajaxian. A short tutorial on Sitepen on how to use Dojo with Flickr.

Monday 23 June 2008

Featured gadget: Qantas Socceroos Widget





Name: Qantas Socceroos Widget
Author: Haymarket Media
Description: Lastest Socceroos news from FourFourTwo

More information | Download gadget

Each week this blog features a recently added Google Desktop gadget that looks promising. If you'd like to see all new Desktop gadgets as they're published, subscribe to the RSS feed.

Friday 20 June 2008

Kung Fu Panda Rocks!


If you get the chance, go see Kung Fu Panda. It is one of the funnest films I have seen in quite some time. Definitely fun for the whole family.



Jack Black is great. The animation is wonderful. The movie is on par with the first Shrek movie. Go see it, you will be glad you did.

Tuesday 17 June 2008

Help Set the Record! Download Firefox 3

My friend Scott posted this link and so shall I!

http://www.spreadfirefox.com/en-US/worldrecord



The Mozilla dudes are trying to set a record for the most downloads in 24hrs. Firefox 3 is out, so what better reason to help out!



I have been using both FF3 and FF2 side by side for about 2 weeks. FF3 seems to work great. They have also come out with a beat version of Firebug so I can actually use it now.



Featured gadget: Shia Jafari Prayer Time





Name: Shia Jafari Prayer Time
Author: Alzahra Satellite Channel
Description: Displays prayer times, using the Jafari method

More information | Download gadget

Each week this blog features a recently added Google Desktop gadget that looks promising. If you'd like to see all new Desktop gadgets as they're published, subscribe to the RSS feed.

Suse Linux Not Supported on HP 2133 (Per HP Support)

Well after getting transferred 3 times, the first two people didn't know what a 2133 was, I finally got someone who "attempted" to "solve" my problem. I explained that there seemed to be no network repository for packages installed with Suse Linux 10 and was wondering what the URL was for one I could use. This is the answer I got:



  1. HP doesn't support this software (i.e., Suse Linux) so I can't really help you. (Interesting since HP installed the software on the system.)

  2. What I should do is make an ISO of the Suse OS, copy that to my hard drive and then tell the installation software to use that.



I pointed out to the nice HP support lady that I received no Suse OS disk with the system. Where could I find such a disk? She restated 1 and reiterated 2.



Well at this point, there is no point in wasting anymore of her or my time. I thanked her and hung up. I had pretty low expectations but this exceeded them. Wow! Thanks a lot HP.



Since I have had the 2133, it seems to randomly lock up occasionally (its the software config, not the hardware). After one of these crashes, the Suse auto login stopped working and now I have to log in from the command prompt and do a "startx". In addition, the shutdown features no longer seem to work from inside the desktop (Have to drop to root. Shutdown and then do an init 0 from single user mode). This started happening while I was waiting on hold. It's setups like this that give Linux a bad name. Crap like this used to happen when I tried to use Redhat and never happen now that I use Ubuntu.



The moral of the story, only use a Linux that you can get community support for. Looks like its Ubuntu time. Installation instructions for Ubuntu and the HP2133 can be found at: https://wiki.ubuntu.com/LaptopTestingTeam/HP2133. So much for trying Suse Linux. :(



I don't have time at the moment to setup Ubuntu. This will probably have to wait until early July when I have some vacation. But at least I know I will get support from that community.


HP Mini Note 2133 with Linux

I purchased an HP mini note 2133 laptop just before I left for my trip. This is an ultra notebook about the size of your standard tech paperback book and weighs about 3lbs. It is pretty nice. The 9" screen is small but readable with a resolution of 1280x768. Much better than what you will find with most ultra portables like it. In addition, the keyboard is 90% of the normal size so it is still pretty big. Having seen an eee pc at Rails Conf, I am not sure I could type on that. The keyboard on the mini note is not a problem.



I purchased the Linux version with 1gig of ram and a 120G hard drive from newegg for about $550 like the one you see below. Apparently Amazon is going to get a few of these in sometime.



The main problem I have to date is the Suze Linux installed with the system looks for a DVD ROM drive for additional software packages. This is a bit humorous since the mini note has no DVD or CDROM drive. HP. Don't you think it would be better for this system to look at some network repository for packages? Maybe? lol. You can't make this stuff up.



I found a DVD image on the HP support site. I am downloading that to see if it has some of the packages I want. Really, I just want to add Apache, PHP5, and Ruby. Maybe Thunderbird, SQLite. Just stuff I can play around with when I am bored. Gonna call too to see if they can give me some sort of network URL.



Now I know most Linux geeks are gonna say, just wipe the sucker and install Ubuntu. I have thought about that, but I'm not that good of a Linux geek and I don't really want to take the time. Heck it would be nice to use another distro just to see what it is like.



I will update you on my progress.



Monday 16 June 2008

Dojo Tutorials via Ajaxian

Thanks to the folks at Ajaxian who provided the links to these tutorials on Dojo.

I'm really interested in the first one. I like the drag and drop lists you find on a number of sites now and want to incorporate that into my site.

Saturday 14 June 2008

Making Blogger Page my Front Page

You will notice a few cosmetic changes to this blog over the past couple of days. After a little thought, I decided that I might as well make this blog the main index page for http://www.blueskyworkshop.com. I was using the Google Ajax proxy to redisplay the posts, which is a little slow. So in there end, there was only a couple of differences between this page and that one.



You will notice a Google search bar for my site has been added to the bottom of the page. In addition, on the top right, some site wide navigation links along with topical links to my how-to's have been added.



Blogger allows you to totally tweak the CSS for your blog. Notice I have changed the Link List boxes in the right sidebar. The light blue background and the border makes them stand out a bit more. There is also now a ruler after each post to give each entry a little more separation.



In addition, I dropped the Amazon MP3 widget and Adsense skyscraper ad from the right sidebar as well. They seemed to be slowing down the page loading a bit. Instead, I have opted to insert an ad inline after every other post. I think this will provide more focused ads without affecting usability or performance.



In the end, http://blueskyworkshop.blogspot.com, http://blueskyworkshop.com, and http://blueskyworkshop.com/blog are all going to point to the same blogger page. I thought about removing the last URL in the list, but I see no harm in leaving it. If I take it out, I might break links to it, which I don't want to do.



The more I work with it, the more I like Blogger as a tool. The folks at Google have made a really useful, easy to use tool. It scales well for power users like me. Often tools like this are useless because they are crippled and can not be extended or modified. I am so glad I am using this and not upgrading Wordpress every other month. Woo hoo!



Thursday 12 June 2008

Word Wrap in Netbeans 6

Currently I use Coda for the Mac as my main content editing software for my Web sites. I would like to use NetBeans 6 for that too if I could, but it currently does not support word wrap, which makes writing large chunks of content impossible.



I was Googling around a bit to see if that feature had been added, and I found this blog post. If you dig into the comments at the bottom you will find a discussion of word wrap. Looks like the feature is targeted for NetBeans 7.



Update May 2011: The Word Wrap feature has indeed been added in NetBeans 7. Choose: Tools --> Options --> Editor --> Formatting.

Ruby on Rails 2 and Netbeans 6.1 Tutorials

My coworker Asok ran across these Rails 2.0 tutorials on the Netbeans site. Haven't gone through them yet, but I intend to:

  1. Creating a Ruby Weblog in 10 Minutes

  2. Building Relationships Between Rails Models


And here is an older tutorial on Rails 1.2 with Netbeans 6.0.
Getting Started with Ruby and Rails

Wednesday 11 June 2008

Rails Conference 2008 Review

Well I meant to write this last week, but have been busy with work since I got back.


>First let me state right off that when it comes to Rails, I'm still a noob. I have dabbled with it a bit, but I have not done a project in it yet. In my opinion, writing a tool or something is the only way to really learn about a technology. My JPA and Dojo projects have taken all my time since January, so there was no time to spend on Rails before the conference.



The attendees seemed to be mostly independent software consultants or employees of startups. Very nice people and very friendly. I definitely got a backend/database sort of vibe from folks. Let us just say no one wanted to to discuss the in and outs of Dojo. lol.



The main focus of the conference seemed to be scaling. That is understandable since Rails seems to get a lot of grief about not being scalable. The good news is, based on what I saw, that Rails does in fact scale fine with the right know how and equipment. The best example is probably yellowpages.com. The lead developer for that project gave a presentation on their setup. Sadly, that was the only scaling presentation I found all that useful or informative.

The highlights for me were:



  • Creating Successful Side Projects - This session was hosted by Geoffrey Grossenbach. A panel discussion by some people who have turned some side projects into full time jobs. It seemed like all of them were trying to solve a problem they had and it turned out other folks had the same problem. Thusly, sites and businesses were born. github.com, peepcode.com, there were others, but that is all I can remember.

  • CRUD doesn't have an S in it - By Stephen Midgley a developer of a travel site hutz.com. Talked about searching with Rails when you have a non trivial dataset. Very interesting talk.

  • JRuby - A couple of presentations on this. Enjoyed both of them.

  • Keynotes - DHH and Kent Beck are great speakers. If you ever get a chance to hear them speak, go.




That pretty much sums things up. I don't think I will attend another conference for a while. After having time to reflect, I think my time would have been better spent renting a cabin someplace, spending half a day hacking code, and half a day hiking. lol.



P. S.,

Before I wrote this post, I Googled around a bit to see if there were any other blog posts on Rails Conf. All I found was some posts about the GemStone S64 VM. I didn't attend that session, its probably a great product. The link is to the SlashDot story on the product. Check out the comments, some of them are very funny. :)

Tuesday 10 June 2008

Featured gadget: 2digg





Name: 2digg
Author: Yannick Stucki
Description: The ultimate gadget for digg.com

More information | Download gadget

Each week this blog features a recently added Google Desktop gadget that looks promising. If you'd like to see all new Desktop gadgets as they're published, subscribe to the RSS feed.

Friday 6 June 2008

Keep the Main Thing the Main Thing

I'm stealing that comment from Stephen Covey apparently, but I wanted to discuss it in regard to technical training or writing of any kind. When you are writing a book or an article or giving a presentation, try to stay focused on the concept you are trying to convey.


For example, if I wanted to teach you about addition, I might start with an example like this:

1 + 1 = 2

Simple, easy to understand, to the point.



Often with technical materials I run across something like this.

1 + 1 + (3 * 2) + ((1 * 2) / 2) = 9



"Above is a simple example of addition. Notice I can add two numbers like 1 and 1. But if I include multiplication and division, that is where you can see the real power of addition!"



Multiplication and division are really cool concepts. But if I am trying to teach addition, they are just distractions. And, if my audience does not understand multiplication or division, I have just lost them.



Feature completeness does not equal clarity. Keep the main thing the main thing. Stick to the addition.

European Football Championship Scores gadget



Keep track of all the latest Euro 2008 action from your desktop. This gadget shows the latest scores and schedules from the upcoming 2008 UEFA European Football Championship. You can also customize the gadget to match your favorite team's colors.

Please try out this beautiful gadget for the beautiful game.

Download the gadget

Thursday 5 June 2008

vi not working with OS X Terminal

I was just doing some troubleshooting on an old Solaris box from my Mac. After sshing in, I tried to use vi to edit a file and the system told me it didn't understand my terminal. By default, OS X sets the terminal to TERM=xterm-color.



To get vi working, simply set the term to an old terminal type like a vt100. That was a pretty standard type back in the day. To do this at the command line type (i'm using the bash shell):

export TERM=vt100



That seems to fix things up. I think the ansi terminal is based on a vt100. Not sure though. If anyone knows, please post a comment.



Monday 2 June 2008

Featured gadget: Ask Dr Weil





Name: Ask Dr Weil
Author: bUmp Interactive
Description: Question and Answer with Dr. Weil (for informational purposes only)

More information | Download gadget

Each week this blog features a recently added Google Desktop gadget that looks promising. If you'd like to see all new Desktop gadgets as they're published, subscribe to the RSS feed.