Sunday Aug 30, 2009
Sunday Aug 30, 2009
The calendar says it is almost September, the days are getting shorter, the nights are getting cooler. It must be football season! And with football season comes me spending my weekends trying to get my computer ratings going again.
This year, rather than muddling up this blog with the occasional entry on my computer's ratings, I've created a computer ratings blog that I'll do my best to diligently keep updated each week. I've already posted last years season ending college ratings and the NFL will be there soon.
Go take a look and let me know what you think!
Saturday Aug 29, 2009
My Snow Leopard DVD arrived yesterday but I didn't have a chance to install it until this evening.
I actually did an upgrade, upgrading a MacBook Pro from 10.5, and the upgrade itself took about 45 minutes. One strange thing was during the middle of the upgrade the screen went 90% dim and I could hardly read how much longer it would take. But alas everything completed without a hitch and the machine rebooted.
Since one of the perks of the new OS is improved performance, I had done a few very unscientific tests on the machine prior to upgrading and then did the same tests post upgrade. The tests I performed and timed were:
After these tests I also looked at memory usage to see where things stood.
I did perform the tests on Snow Leopard twice since I was a bit surprised by a few the first time. Note that in each case the tests were performed in order so everything started from a fresh reboot.
| Action | Leopard | Snow Leopard (1) | Snow Leopard (2) |
| Boot to login screen | 40 | 33 | 35 |
| Start NeoOffice | 23 | 17 | 20 |
| Open .ods in NeoOffice | 10 | 12 | 9 |
| Start Safari (apple.com) | 8 | 5 | 4 |
| Start Firefox (google.com) | 8 | 8 | 6 |
| Open Eclipse | 17 | 36 | 19 |
| Re-open Eclipse | 7 | 7 | 7 |
| Transcode WMV to OGV (wall clock) |
4:52 | 5:14 | 4:51 |
| Transcode (user time) | 4:48 | 4:55 | 4:46 |
| Free (GB) |
2.43 | 2.03 | 2.14 |
| Wired (MB) |
153.5 | 304.4 | 162.8 |
| Active (MB) |
376.68 | 524.7 | 403.3 |
| Inactive (MB) |
45.21 | 157.3 | 310.7 |
| Used (MB) |
575.39 | 986.4 | 876.8 |
| VM size (GB) |
30.2 | 104.04 | 107.73 |
| Page ins (MB) |
243.07 | 916 | 224.6 |
Friday Aug 28, 2009
Wednesday Aug 26, 2009
I mentioned HTML5 in my links entry from yesterday and reading about what is coming is great, but seeing some of it in action is even better. So I've created a few examples of a couple new features that I describe below.
The first is the ability to have video in web-pages without requiring any plug-ins. This is done with the new <video> element, an example of which can be viewed below or here which happens to show Galen Rupp going sub-4:00 earlier this year. But take a look at the source of that page and see how simple it is:
<video src="RuppMile.ogv" controls/>
Isn't that easier than relying on plugins and or much more complicated HTML that has to download and use Flash?
Now, a few caveats are that (to my knowledge) this only works in Firefox 3.5 and Safari 4 and the video has to be in Ogg Theora, Ogg Vorbis, or WAV format. The Ogg media formats are not patent encumbered like other formats are so look for their growth and adoption to increase. Learn more about it here.
The second is the use of some geolocation APIs that are not part of HTML5. This can open a whole host of possibilities for applications to take advantage of location and deliver innovative applications for consumers. I've created a simple example that uses the information provided to create a Google map centered on your location. Try it here.
The source for this is a little more complicated due to the Javascript and use of Google's APIs but it boils down to the following:
navigator.geolocation.getCurrentPosition(showPosition);
function showPosition(position) {
var latLong = position.coords.latitude + ',' + position.coords.longitude;
document.getElementById('latLong').value = latLong;
loadPage();
}
The first line of code registers a method to be called when the location is known and when that method is called it can retrieve the coordinates and do with it what it wants. In my case I load the map.
Again, this requires Firefox 3.5 where it uses a service to get your location from your IP address which is somewhat accurate, or you can use Safari on your iPhone which tends to be much more accurate with its cell tower triangulation and GPS capabilities.
Grab Firefox 3.5 and start giving HTML5 a try!
Tuesday Aug 25, 2009
Monday Aug 24, 2009
I mentioned Amazon.com lowering pricing for EC2 in my links entry today, but having great pricing is only useful if you have something to deploy on EC2. And a great way to deploy applications is in GlassFish.
Now, anyone can install everything from scratch on their EC2 instance, but Amazon Machine Images (AMIs) are a great way to get a head start with a pre-installed/configured operating system and other software. As you might expect, for someone wanting to use GlassFish there are several AMIs available.
My quick perusal came across the following GlassFish and related AMIs:
Wednesday Aug 19, 2009
Friday Aug 14, 2009
Thursday Aug 13, 2009
Wednesday Aug 12, 2009
Monday Aug 10, 2009