Tuesday, 30 September 2008
Slideshow for Facebook
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.
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.
Wednesday, 24 September 2008
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.
Posted by Kathy Walrath, Technical Writer
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
- Setup a profile for each browser session you want to run. The session manager can be found under Tools --> Switch Profile.
- 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
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.
Posted by James Su and Kathy Walrath, Google Desktop Team
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
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!
Posted by Ryan Tabone, Product Manager
Saturday, 13 September 2008
Acer Aspire One: painless skype install
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:
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
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
thusly
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'
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
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.
Posted by Kathy Walrath, Technical Writer
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 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."
- 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!
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.
Posted by Kathy Walrath, Technical Writer