Tuesday, 30 September 2008

Slideshow for Facebook

This week, we're excited to release the Slideshow for Facebook gadget.

Designed for Facebook users, this gadget connects to your Facebook account and finds a wide variety of photos from your friends' collections. These photos then appear, one-at-a-time, in the gadget's frame. It's an automated slideshow � an easy, great way to stay in touch with old friends!

Sunday, 28 September 2008

Dojo Examples and Learning Info at dojocampus.og


The Dojo folks have a site setup for examples and a little learning. For example, you can see examples of all the dijit widgets at: http://dojocampus.org/explorer/#Dijit. The main site is of course at: http://dojocampus.org.


I haven't looked at the tutorials yet to see how good those are. The dijit examples are very helpful. Will post more if I get a chance to take a better look at this.

The new look of Emulator of Android SDK 1

Google I/O 2008 - An Introduction to Android


An Introduction to Android
Jason Chen

Android is the Open Handset Alliance's mobile software platform. In this session, we introduce Android and discuss our vision for more open, powerful, and useful mobile devices.

Monday, 22 September 2008

Dojo DOM Lookups: dojo.byId vs diji.byId


Just wanted to provide this link to a page that describes the difference between dojo.byId and dijit.byId. The page describes the difference in a very concise manner.

Featured gadget: Periodic Table



Name: Periodic Table for Google Desktop
Author: Paul Alan Freshney
Description: Detailed information on every element

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, 19 September 2008

Double Click to Open a New Tab in Safari or Webkit

Did you know if you double click the tab bar on Safari or Webkit, the browser opens a new tab for you? Well it does. lol. I wish I had figured that out about 2 years ago. :-p I think God is teaching me about humility this week. :)

Google Docs - Fixed Width Page View

I just found the "Fixed Width Page View" view for Google Docs. This is great cause I hate it when I have a wide browser view and each sentence is 12 inches wide. That stinks. Its nice to have it limited to what looks like a page. Just like a word processor. Why I haven't found this sooner? I'm an idiot. lol.


I need to see if I can get my parents to use this. They have trouble with any word processor that is not a simple typewriter metaphor. Will need to do some testing they next time I'm at their house.

Thursday, 18 September 2008

3 SeaMonkeys


Well I setup a new GMail account today with a more normal name for the address. Thusly, I needed to a way to run an extra browser session, without messing up my current setup. So after a little research, I decided upon SeaMonkey. Why?



  • Supports multiple profiles.

  • Uses the same engine as Firefox.

  • Has a small memory footprint.


To make this happen, you need to do a couple of things



  1. Setup a profile for each browser session you want to run. The session manager can be found under Tools --> Switch Profile.

  2. Setup a shell script for each session.


The shell script for each browser session looks something like this on OS X.



#!/bin/bash
/Applications/SeaMonkey.app/Contents/MacOS/seamonkey-bin -P profileName &

That's it. Enjoy your monkeys!

Linux updates

If you use Google Gadgets for Linux, be sure to get the 0.10.2 version, which was released Saturday. It fixes over 20 bugs, enabling support for many more gadgets.

Don't feel like compiling the code? No problem! It's now easy to find binary packages created by the community, thanks to a new page that points to Google Gadgets binaries for the major Linux distributions.

Wednesday, 17 September 2008

Adding Rotating and Scaling to CSS


Ajaxian has this good post on some browser specific CSS features that have been added to Mozilla and Webkit. Basically, the new properties allow you to rotate and scale parts of the DOM using CSS properties. Looks like cool stuff. In my opinion, no point in playing around with this much until its standardized. But, it looks like this is something that will be added.

Monday, 15 September 2008

When you speak, we listen

Here in Google Desktop land, we value two things: 1) feedback from people who use Google Desktop and 2) chocolate malt balls (good to eat, good to throw). While we love hearing how much you enjoy Google Desktop, we also want to know what we can do better.

As our Tech Lead pointed out on the official Google blog, one thing you really stressed to us was performance. So what did we work on? A really cool comic. (Just kidding.) No, we doubled down and cranked out our latest release of Google Desktop 5.8, which focuses primarily on � you guessed it � performance.

Although performance was our main focus, we also wanted to release some features and fixes in response to your other requests. Many of you still rely on Outlook, so we made our search cover more Outlook folders, with better speed and stability. We also made a number of additions to the Desktop APIs, including support for Flash in gadgets!

So if you use Google Desktop, please download the latest version. If you've never tried Google Desktop (or are a "former GD user"), why not give it a try? And remember, we love to hear feedback!

Saturday, 13 September 2008

Acer Aspire One: painless skype install

I installed Skype on my Acer Aspire One. The Aspire One is a perfect skype platform (having a built in web camera). Here's how I installed Skype for fedora 7 linux:


UPDATE: 2009-01-02 - Please read the notes on my Google site to track the comments and changes since this original post.  The instructions below are now out of date when Acer released a Skype installer.








Download the skype rpm (fedora 7)

Go here to download the fedora 7 version of skype. I downloaded and installed skype-2.0.0.72-fc5.i586.rpm














Run the Installer:

Once downloaded double click the skype rpm to run the installer. Note: you will be prompted to supply an 'authentication code' which is the 'root' password to run the Linpus package installer. The root password was assigned (hopefully by you) when the AA1 was first turned on.













Install additional rpms

Additional rpms are required by skype so those have to be downloaded and installed as well.












Chose Install anyway when presented with a warning from the installer.













Configure the desktop to display the Skype icon

Edit the file /home/user/.config/xfce4/desktop/group-app.xml using the mousepad (default) editor.  Type the following in the xterm window.

$ mousepad /home/user/.config/xfce4/desktop/group-app.xml

And add the line:

/usr/share/applications/skype.desktop


to the appropriate section as per the image below.












Once added and the Acer Aspire One is rebooted the Skype icon is available:















Updates

I started a notes page on Google sites to track the comments and changes since this original post.

Friday, 12 September 2008

A Little More Info about Adsense

Found this post on ProBlogger today about updates to Google Analystics. Looks like we are gonna get some detailed reports on what page are getting all the clicks and making the most money.


Very Good news. The current Adsense reports are pretty vague and not very helpful.

Thursday, 11 September 2008

Acer Aspire One: increased security using GDM

I use my minty fresh Acer Aspire One for work. I work in the financial markets, ergo, it has to be rock solid secure. So to increase the security of my netboook I disabled the auto-magic login functionality and run the Gnome Display Manager (GDM) on startup to force a login. There are other benefits to doing this as well (like being able to switch window managers from Xfce to blackbox (which I'll explain in another post).

How to disable auto-logon:

WARNING: take extreme caution doing this or you will have a non-functioning netbook when rebooted. Be sure to read all instructions completely before making any changes and double check your work . You will need to remember the password you used when first turning on the Aspire One- good luck!

Edit the file /etc/rc.d/rc.S

Find and comment out the line

/usr/bin/xinit -- -br>/dev/null 2>&1 &

thusly

#/usr/bin/xinit -- -br>/dev/null 2>&1 &

and right below this line add the invocation to the Gnome Display Manager (gdm):
/usr/sbin/gdm

as shown in the screen shot below:











If all is done correctly, when rebooted the GDM will present you with a welcome menu for user. I do hope you remember the password you used when you first turned on your Acer Aspire One.

How To Use DOCTYPEs

A follow up to my last post. A List Apart has this post on using DOCTYPE processing instruction in your HTML files. A listing of all the various types you should use is included. Very helpful.



10 Tips From CSS Masters


I found this link on Ajaxian today listing 10 tips from CSS masters. Most of the tips seem pretty good. I haven't been putting my CSS rules on 1 line. I kind of like that. Also the trick for clearing the float looks quite cool.

Wednesday, 10 September 2008

Acer Aspire One: enable the xfce4 'right click menu'

To enable the right click menu so common and loved by we users of Xfce (the window manager that ships with the Acer Aspire One) perform the following:


Select the 'My Files' icon in the Files menu box:










Select 'File'













In the pull down menu select Terminal and in the terminal window type xfce-setting-show to bring up the settings window













Select Desktop in the Xfce Setting Manager













Select the Behavior tab and check the box labeled Show desktop menu on right click













And there you have it! No need to reboot, just enjoy the Xfce menu when right clicking on the desk top.

Deleting NetBeans Java DB Configuration Files



I'm working on updating one of our EJB courses and I needed to add a Java DB database to my machine so I could deploy an Enterprise Application. Of course, in my first attempt to create the database, I completely hosed it. Consequently, I needed to delete it and start over. Now this isn't very easy cause a bunch of configuration files get created when you create a Java DB database with NetBeans. So here is what I learned from my little escapade.



DB Settings for an EJB Container


This is where I should have gone first but didn't. All the information about databases for an EJB project can be found in: project-ejb\setup\sun-resources.xml. This file shows the database name, user name, password, port number, etc... Go here first if you need to figure out this information when it isn't provided to you.



Location of Derby Directory


Java DB is based off of the Apache Derby open source database project. So the database files are stored in a Derby directory. But where? On Windows you can find the directory here: C:\Documents and Settings\UserName\.netbeans-derby. You will find a directory for each Java DB database you have created. To delete the database, just delete the directory.



Delete old Database Connections from NetBeans


When you create a Java DB database, NetBeans automatically creates a connection for that DB. Now you should be able to delete the connection from the UI by right clicking it and selecting delete. For whatever reason, that was not working for me. So I had to find where this list was stored. I found it here on Windows: C:\Documents and Settings\UserName\.netbeans\6.1\config\Databases\Connections. Each connection is stored in an XML file. Delete the file and the connection is removed. You may need to restart NetBeans to see the connection removed from the UI.



This sums up my little adventure. After installing the database with the correct user name and password, deployment was a breeze. Woo hoo!

Tuesday, 9 September 2008

Blogger Tips and Tricks - enlarging the text area

Disappointed with the standard blog templates? Text area too small? Well with just a few changes to your blog template you can make your blog much more laptop friendly (wider) by hand tweaking any template. Here's how:

Select 'Layout' -> 'Edit HTML'

Then modify the following lines in your template.

#header-wrapper {
width:1024px; margin:0 auto 10px;
border:1px solid $bordercolor;
}

#outer-wrapper {
width: 1024px; margin:0 auto;
padding:10px;
text-align:$startSide;
font: $bodyfont;
}

#main-wrapper {
width: 800px; float: $startSide;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}

#sidebar-wrapper {
width: 200px;
float: $endSide;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}

Monday, 8 September 2008

JavaScript Pacman

Kris over at digitalinsane.com has written an all JavaScript Pacman using the YUI toolkit. Its not perfect, everything moves too fast on my MacPro with Firefox 3. But it is impressive nonetheless.

Featured gadget: Pipes



Name: Pipes
Author: Paul Unger
Description: A join-the-pipes time waster

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.

Wednesday, 3 September 2008

PHP Changes on the Web Site


Over the weekend I had a brainstorm and made quite a few changes to this web site. I have been using a Ruby script and regular expressions to generate all my non blog pages. Basically, the script reads an XHTML source file, wraps it with headers, footers, and a nav bar, and writes out a fully formatted HTML file. Now this script has evolved from earlier simple CMS systems. On my old web site, I did the same sort of thing using XSLT. I even wrote my own Atom and RSS feeds for that system.


But of late, I have been on a simplicity kick. For example, this blog is created and hosted on Blogger. Now I used Wordpress for a couple of years. It is a great piece of software and works great. But I really got tired of the software patches and updates I kept having to make. Backing up the data. Migrating the data to a new version. Yuck! I'd rather be doing something else.


So I realized there was no point to maintaining the script. Sure the pages will load slightly faster if its static HTML. But, if I convert the pages to PHP, I get the same output without a build step. Plus the actual source pages are cleaner and easier to maintain. So I've converted the whole site to PHP. If you have any links to content pages, you will need to change the .html to a .php.


I have been holding off on any migration of pages from my old site to this one until I was sure I had things like I want them. I think I have reached that point. So hopefully in the next few months I will be post links to new content as well as some migrated content.

JQuery Examples


When I start learning a new language or api or whatever, I like to write short little test programs. I've started to do that with JQuery and my first examples page can be found here.


I'm exploring Form interactions. It is surprising how few simple examples there seems to be on the subject. But, once you learn about the JQuery val() function it is pretty easy. More to come on that page.

400 years of QA - not much has changed

In a recent ACM Communications article George V. Neville-Neil describes the QA process involved when the Swedish Navy tested the (now infamous) Vasa battle ship:

In 1628 the ship was finally ready for quality assurance (QA) testing. Seventeenth-century QA of ships was a bit different from what might happen today. Thirty sailors were picked and asked to run back and forth, port to starboard, across the deck of the ship. If the ship didn't tip over and sink, then the ship passed the test. You did not want to be on the QA team in 1628. After only three runs across the deck the Vasa began to tilt wildly and the test was canceled. The test may have been canceled, but not the project. On August 10, 1628, in a light breeze, the Vasa set sail. She was less than a mile from dock when a stiff breeze knocked her sideways. She took on water, and sank ... killing 30 to 50 sailors. In response to the catastrophe, the King wrote a letter insisting that incompetence had been the reason for the disaster (even though the King was the project manager and chief architect). Of course, the King could not be held at fault, so the final verdict was an "act of God."
Some personal footnotes:
  • QA still using antiquated methods for testing
  • Projects continue along blindly believing nothing is wrong even after QA flags serious errors
  • 'acts of God' still being invoked by managers to explain defects

Tuesday, 2 September 2008

Google Chrome Rocks!

Today, Google released their new Chrome web browser! Immediately I downloaded it and am now creating this entry using it. First impressions are:

Cleaner interface when compared to Firefox and certainly IE: which could also be taken to mean fewer bells and whistles.

Consumes less vertical real estate: no status bar and no toolbars which is a big plus when using a smaller netbook with a 12 inch monitor.

Only available for Windows XP/Vista OS: certainly since Chrome is the child of Apple's Webkit and Mozilla's Firefox the Linux and Mac OS versions will be release soon.

Auto-magically imports Firefox bookmarks and passwords and allows for viewing and editing of passwords.

Dynamic tabbing allows one to pull the tab into its own window and back onto the tab bar.



A right-click in the Tabs Section allows one to start a mini-Windows Task manager. A great feature to see, on a tab by tab basis, how certain tabs are behaving or misbehaving; allows for termination of a tab if so desired.


Incognito mode: The pages viewed in the incognito window won't appear in browser or search and no cookies!

When maximized it prevents with the Windows toolbar from auto-hiding/showing. Oh well - something to fix in version 2.

Monday, 1 September 2008

Featured gadget: Desktop Calendar



Name: Desktop Calendar
Author: rivus.jp
Description: Simple desktop calendar

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.