Ubuntu 10.04 and getting Sun JRE instead of OpenJDK

  1 min read   HOW-TO, LINUX, TIPS
If you’ve downloaded the latest Ubuntu 10.04 Lucid Lynx you’d realise that they ship with the OpenJDK instead of the Sun (Oracle) JRE. The Ubuntu team has decided to move the Sun Java bits to the partner repository which means we need to do a couple of things prior to getting it through apt-get. ...

The move to Android from WinMo and Android 2.2 (aka Froyo) coming soon!

  6 min read   ANDROID, MOBILE, WINDOWS PHONE
I switched from using Windows Mobile Phone devices to the Android platform a couple of months back with the Google Nexus One. With Microsoft following the lead of Apple in closing everything they’ve kept open for so long, there wasn’t much to look forward to with Windows Phone 7 (I was almost going to work on that team had I moved to the US a couple of years ago). ...

Google shows the power of HTML 5, ports Quake II to run in browser!

  1 min read   NEWS
The title says it all. Using the Jake2 port of Quake II (to Java) the bright sparks at Google have used GWT to bring Quake II to HTML 5. We started with the existing Jake2 Java port of the Quake II engine, then used the Google Web Toolkit (along with WebGL, WebSockets, and a lot of refactoring) to cross-compile it into Javascript. ...

Upgrading non-Global OpenSolaris Zone to latest BE

  2 min read   OPENSOLARIS, OPERATING SYSTEMS
I’ve been tracking the latest dev version of OpenSolaris (as of writing I just upgraded to Nevada SNV 130 ) because of some issues surrounding CIFS in the 2009.06 image of OpenSolaris. To update to the latest BE, simply update your packages and image-update (after configuring the dev repository!). pkg refresh --full pkg image-update reboot If you’ve created zones in your OpenSolaris system after upgrading to the latest BE you will need to upgrade your zones as well. ...

In the Zone, Creating OpenSolaris Zones.

  5 min read   HOW-TO, OPENSOLARIS, OPERATING SYSTEMS
I’m really enjoying using OpenSolaris as our server / NAS at home, its a different ball game to Linux but an interesting one never the less. One of the cool features of Solaris are the Solaris Zones (or Solaris Containers). Zones are an implementation of operating system-level virtualisation where the kernel isolates multiple instances of the user-space available. ...

Part III: Zeus rebuilt and configured!

  2 min read   FILE SYSTEMS, NAS, ZEUS
I’ve spent the last month working with the newly built zeus server which is now powered by OpenSolaris (2009.06). Here’s my final hardware specifications: CPU: AMD Athlon X2 5050e – 2.6Ghz (45W TDP, AMD-V) Motherboard: Gigabyte GA-MA790X-UD4P (AMD 790X Chipset) RAM: 2x ****Corsair TWIN2X4096-6400C5 (4Gb kit x 2 = 8Gb) Graphics: ASUS 9400GT PCI-Express Hard Disks: rpool – 2x WD740ADFD – 74Gb 10K RPM, 16Mb Cache (mirror’d) tank – 6x WD1002FBYS – 1TB, 7200RPM, 32Mb Cache (raidz) base – 2x WD7500AAKS – 750Gb, 7200RPM, 16Mb (mirror’d) Addon cards: SATA – Silicon Image, Inc. ...

Some changes in .NET BCL 4.0

  2 min read   DEVELOPER, NEWS
I’ve been porting a few products to .NET 4.0 and came across some cool new additions in .NET 4.0 which will be quite useful for developers. Strings String.IsNullOrWhiteSpace Like the String.IsNullOrEmpty method, this new helper method will check whether the string is null, empty or contains only whitespace characters (from Char. ...

ZFS gets deduplication

  1 min read   FILE SYSTEMS, OPENSOLARIS, ZFS
ZFS now has deduplication support which is as easy as just setting a property on the file system. zfs set dedup=on tank/src Read Jeff Bonwick’s (the supremo source for ZFS) article as it covers everything you’d ever want to know about what deduplication is and the various strategies behind it. ...

Quick Fix: jQuery $.getJSON() fails in IE6 & IE7

  1 min read   DEVELOPER, TIPS
Had a nasty issue with jQuery + Json + IEx just now – still at work because of it! This bit of code works perfectly fine on Firefox and Chrome: function onUnitsModified() { $.getJSON("<%=Url.Action("GetTotalUnitCount", "ProjectReaper")%>", null, function(result) { if(result > 0) // Do stuffs here } }); return true; } But in IE we’ve come to realise that the first hit is successful, future Json requests ones are not hitting the ASP. ...