Sunday, November 15, 2009

Windows 7 on Acer TravelMate C110

I got Acer travel mate Tablet PC. This is a great little workhorse - it has 900MHz CPU that is on par with most of the Atom's out there, so I find little reason to even consider getting a netbook.

My Acer was running Windows XP Table PC edition. I wasn't even thinking of upgrading it to Windows Vista (as it did not have enough resources), but with all the hype that Windows 7 is optimized operating systems - I was thinking - let's give it a try!

First, let's go with the setup of Acer - it has 1.25GB of memory, thereby passing a requirement for more than 1GB of RAM. It has 900MHz CPU, barely below 1GHz minimum, and I upgraded it with 80GB/5400 PATA drive that works just fine.

As you can see from "Windows Experience Index" the slowest part of the setup is graphics, but given that I don't plan to play first person shooters on it - it's just fine!

Acer does not have DVD drive, so I used USB key to boot Windows installation.
I installed clean install of Windows 7 on the machine (I upgraded HDD before installing Windows 7, so there was no point of transfering XP over first).
Machine booted in safe graphics mode, and it was missing some of the drivers.

First I installed network drivers - it turns out one can install Intel 2100b drivers for XP on Windows 7. It turns out you can 'force' windows to use XP's driver. So I downloaded latest driver from Intel's site and forced Windows 7 to accept Intel drivers although it complained a lot!

This was not enough to get Windows 7 to start using networking adapter, and after some agony I remembered that friend of mine mentioned that Acer has stupidest software button that turns of wireless adapter. Linux has a app that can be used to flip the software switch, as button in itself is dead and wireless if off (remember that wireless is on only when red LED is turned on).

After trying to install most of the original Acer utilities I figured that I may need to return back to XP as Notebook Manager throws exceptions almost on any click. After a bit of frustration I noticed that 'Launch manager' althrough it does not help with the button has an option 'Wireless Device Boot Status' and it can be turned on.

This saved the day! Now networking works.

sleep & graphics
Acer is not functional, so let's see what is next issue on the list. Mysteriously Acer does not want to sleep. It just wants to hibernate or shut down. This is a bit of annoying as using XP I could just close the lid and it would sleep fine.

Another set of frustrating explorations led to the command that will list sleep states, and what prevents system from falling a sleep. Results of this command suggested that the issue is in graphics adapter that was generic VESA and as such it didn't know anything about sleeping.

It turns out that Intel didn't provide support for 855 chipset - can you blaim them? Chipset is about quite old and they would like us to buy new ones. Installing 915 drivers didn't work, but using XDDM mode of 855 drivers (produced for Vista) worked just well enough to get my machine to accept driver, and to be able to happily fall asleep.

Now finally sleep worked fine! Awesome!

not much sleep for the wary
While sleep would be really cool and I would enjoy it - it had one drawback. Remember network? And that stupid button? Well, if you sleep machine, on wake up network does not wake up.
So I just hibernate my Acer when I'm done using it.

Windows 7 works well on Acer C110. It is an awesome little machine. Sleep does not work well, but most of the other functions are just fine. I also like how Windows 7 improved tablet functionality - hand writing recognition is way better than before.

Friday, November 13, 2009

Setting Putty with Kerberos on Windows (including Windows 7)

If you don't know what is Kerberos and SSH - you probably don't need it. So read some of the other posts that may be more relevant for you.

If you do know that you want Kerberos and SSH on your machine - welcome to the post that will explain how to set it up on Windows. Unlike MacOSX that comes with Kerberos and kerberos aware SSH and Ubuntu, Red Hat and other major Linux distributions that have Kerberos and Kerberos aware SSH easily accessible, finding good Kerberized SSH client for Windows was a challenge.
Although I like challenges, I like to solve them once, and reuse them often - so this post is on how to setup yourself with Kerberized SSH and SCP for Windows.

Best SSH client I have found for Windows is Putty, but default installation does not came with Kerberos enabled, so if you need Kerberized Putty, you can download it from Mattew Loar's web page.
In addition to Kerberized Putty you will need to install MIT's Kerberos for Windows.
As kerberos needs to be in the path, Putty may not work until you add it to the path (by for example restarting CMD or slickrun)
Install these two packages and you should have whole install.

why kerberos?
Cool thing about Kerberos is that separates your credentials (authentication) from your privilegies (authorization). By default you should be able to login to your account SSH enabled Unix server, but Kerberos makes it easy to allow someone else to login as you without giving them password - for example I can login as both root and myself on our server with same Kerberos ticket, and so guy next to me; but unlike non-Kerberized SSH revoking and adding people is matter of editing .k5login file.

how to do it with Putty?
1. Get a ticket.
2. Open Putty and select 'connection -> data' and setup user account you are authorized to access - for example root.
3. login to server by setting server name in session tab.

UPDATE: Putty now supports Kerberos out of the box - see comment below

Putty with Kerberos authentication:

MIT Kerberos Package:

Dual Boot USB stick with Windows 7 and Ubuntu 9.10 (Karmic Koala)


I setup on doing a dual boot (or hopefully dual boot + dual install) of Windows and Ubuntu on USB stick. This proved to be more challenging than I would expect, so I'll try to outline what my conclusions are and how to make dual boot stick.

Let's start with the basics, unlike Vista, Windows 7 optimizes driver installation when it boots, preventing it from booting from USB stick on different machine (or different type of the machine) than it was installed on. This yields a simple result that one probably does not want to install Windows 7 on USB drive, but only to have bootable install partition.

Ubuntu's option to make bootalbe USB drive asks for amount of persistent space that you can use to keep your data on USB drive, thereby really making USB drive a full install without a need to additional partition with "full install".

This leads us to needing only bootable Ubuntu and bootable Windows 7 install. While it may be possible to boot Ubuntu from windows bcd bootloader, I opted for opposite direction thus booting into Ubuntu boot screen that has an option to start Windows 7 installer.

My first few attempts to get syslinux (Ubuntu installer to boot Windows from same partitino were unsuccessful). My next few attempts to get windows to boot from second USB partition were as well unsuccessful and at the end I found this prescription that works.

the prescription
1. Boot into Ubuntu Live CD
2. Start GParted and create two primary partitions (first at least 2.5Gb, and second at least 1.1Gb)
3. Format both partitions as FAT32
4. Boot into Windows
5. Note drive letter of your USB drive's first partiton (example Q:)
6. Go to Windows 7 installer DVD (or folder where you extracted ISO using 7-zip)
7. Go to boot folder and from command line (with Administrative privilegies) run:
bootsect /nt60 Q: /mbr
8. Extract Windows 7 DVD files to your USB drive (example Q: drive)
9. Boot back into Ubuntu
10. Make bootable usb drive (option from Administration menu)
11. Get chain.c32 from syslinux and copy to /isolinux folder
12. Get ldlinux.sys from syslinux and copy to / folder [this may be optional step]
13. Edit text.cfg and add at the end:
MENU LABEL Windows 7
COM32 /syslinux/chain.c32
APPEND hd0 1 ntldr=/BOOTMGR
14. Dual boot your Windows 7 Installation

Happy dual booting...

Friday, October 23, 2009

Analyics @ Bugaco allows embedding analytics data in web pages

Analytics @ Bugaco is updated with a new feature - stored reports.
Currently only google maps report can be stored. When report is stored, user is given URL that can be embedded or shared with friends.

Analytis @ Bugaco is collection of freely available reports that utilize Google Analytics data to produce additional report. The tool was originally announced in this blog post.

Here is an example of stored report.

Wednesday, October 7, 2009

Seagate Date Calculator for iPhone

In previous blog post I talked about seagate date code calculator. It seems to be useful tool for the people out there, and I decided to revamp it. It has better user interface, and I now created off-spin that works well on touch devices like iPhone.

Wednesday, September 23, 2009

Reports that were missing from Google Analytics are being developed at

Did you ever feel like Google Analytics is somewhat constrained in reports it has?

If the answer to this question is NO - that stop here and go do something else.

If on the other hand you wanted to do more with google analytics, but it was almost impossible to get a report you wanted, you may be interested in a new effort at Analytics @ Bugaco.
It starts as a modest effort that created two custom reports that use Google Analyics API to provide different reports than ones provided by Google Analytics itself.
It is in early stages of development, and any comments that would make it better are welcomed by development team. All comments you do send will be seriously evaluated and prioritized.

So, what is Analytics@Bugaco at this early stage of development?

At this time Analytics@Bugaco has two reports - one is oriented toward developers - it allows you to determine what kind of screens your users have, and thus it will help you design better software/website layouts that will fit your real users.

Another report available is mapping visitors on google map. This is cool for a few reasons, and where we intend to go with it is to allow you to include generated map into your website. For an example of how this would work visit Software Tools for Academics and Researchers site. They have a map that displays visitors from last 30 days - it's an cool and impresive map, and what's really cool, you can zoom in and see your city!
At this stage, through map is not embeddable, but with sufficient interest (read comments) it will be put ahead of other priorities.

Thanks, and enjoy Analytics@Bugaco site

Monday, September 14, 2009

Sequence conversion tool

There is new sequence conversion tool at Bioinf @ It allows conversion between 16 most popular sequence formats.
Here is direct link to sequence conversion utility

What is really cool is that it supports:

  • ace
  • embl
  • fasta
  • fastq
  • fastq-solexa
  • fastq-illumina
  • genbank
  • ig
  • nexus
  • phd
  • phylip
  • pir
  • stockholm
  • swiss
  • tab
  • qual

Tuesday, September 1, 2009

StarCluster - Open source StarCluster shines on Amazon cloud Dynamic computing allocation possible

A new open source project dubbed StarCluster has been released aiming to simplify the management of virtual clusters hosted on Amazon's Elastic Compute Cloud (EC2) service. According to developer Justin Riley, StarCluster minimises the administrative overhead associated with obtaining, configuring, and managing a traditional computing cluster used in research labs or for general distributed computing applications. The StarCluster project started at MIT's Software Tools for Academics and Researchers (STAR) Program.

Source ComputerWorld AU

Monday, August 31, 2009

See your linux box on your wireless network

I got new wireless router, and I wanted to make sure I can use machine names to ping other computers on the network. In my setup, I have windows, linux and macosx machines, and I was never able to really ping them by name on local wireless network. That is really an annoying thing, so... I decided to resolve it.

My new setup:
1. DD-WRT enabled router.

2. I setup DNS server to serve local network, and to expand local names by specifying additonal options:

This almost worked... i.e. I was able to ping Windows machine from all three, I was able to ping MacOSX from all three machines, but Windows was unable to ping Linux.
After trying to figure out what is wrong I learned that you have to install samba, as nmbd is actually responsible with registering Linux with Windows.

I hope you will find this helpful.

Tuesday, July 21, 2009

Java Native Font Viewer


I just published a Java Applet that allows you to see how text looks when displayed using native fonts in various sizes.

The reason behind developing this applet is to experiment with ability to customize Swing application with better looking fonts that fonts used by default L&F.

Wednesday, April 1, 2009

How to create incremental project builder in Eclipse?

I wanted to build incremental project builder in Eclipse today.
There is nothing on the top level of the "New Project" wizard to indicate how to build it. Quick search on the web didn't yield any usable result so, I guess posting a short post about it may be useful.

One builds incremental project builder by selecting "Plug-in development" and after 2-3 steps one is able to select among:
- Hello World
- Hello World Command
- Plug-in with a multi-page editor
- Plug-in with a popup menu
- Plug-in with a property page
- Plug-in with a view
- Plug-in with an editor
- Plug-in with an incremental project builder
- Plug-in with sample help content.

Selecting incremental project builder adds sample project builder, project nature, problem marker and popup menu action - so all the things I need.