Saturday, September 27, 2008

Minor updates to MeTA Studio

.. again only online updates ...

This version adds: support for automatic monomer detection, and some bug fixes ;-)

Friday, September 26, 2008

Engineering Windows 7

This is an interesting blog from MS engineers on the development of Windows 7. It gives some interesting insights into what goes into developing a morden customer OS.

Tuesday, September 23, 2008

MeTA Studio gets another update!

.. This was really quick...
Ok the major addition to the code is that now you can easily add external libraries to MeTA Studio which will be automatically loaded the next time you start MeTA Studio instance.

Here is what you need to do:
1) Ensure that you have the latest version [Right now the only latest version is the one that is offered via online update, so even if u download the latested binary package, you need to update it using online updater]
2) To add a new library:
     a) create lib/ext under MeTA Studio installtion directory if it already does not exist.
     b) copy the .jar file of your library to the above directory [say you want CDK (chemistry developmet kit), then you may put cdk.jar in lib/ext]
     c) Ensure that no instance of MeTA Studio is currently running. And then issue the following command from bin/ directory under MeTA Studio installtion director:
       
          java -jar MeTA.jar --addlibs cdk

         You can specify multiple such entries in one --addlibs command.
3) To use the newly added library:
    ... well just restart MeTA Studio ;-)  [UI / daemon mode]. You will be able to access all the libs from any BeanShell script that you write.

Well... we are slowly developing something interesting here, more on that later ;-)

PS: Now with the online updates, this package will be most often updated. The source will also be updated frequently, but a bit less than online updates. And finally, full binary distribution will be updated least frequently as they are a bit large for me to upload from my limited internet connection.

PPS: This version also has some standard bug fixes listed on: http://code.google.com/p/metastudio/issues/list.
If you wanna report bug, want enhancements etc. head straight to http://code.google.com/p/metastudio/issues/list

Note: To Vista users, online updates and adding external libs must be done with administrative privilages if you have installed using the windows binary installer and UAC is turned on.

Sunday, September 14, 2008

MeTA Studio update: new features and UI tweaks

A new version of MeTA Studio is now available for download from the usual place at: http://code.google.com/p/metastudio/

This version introduces a number of updates:

a) First and foremost, the binary package downloads are no longer from the UoP chem server, but are from SkyDrive. This is because I am no longer associated with UoP and hence have moved out the binary download site.

b) The source updates are now stripped of the the generated Java docs which allows me to keep the whose source tar ball small and thus make it more frequently available from: http://code.google.com/p/metastudio/downloads/list

c) Starting from the current version (MeTA Studio v2.0.14092008), an online update service is introduced. The updates are kept at: http://tovganesh.googlepages.com/ and are fetched by the updated manager. Note that this is the best and cheapest way to keep MeTA Studio updated from now, of course, once you have installed the complete binary package of the current version. However, note that this service currently doesn't work properly on Windows Vista, if you have used the windows specific installer. One workaround is to start MeTA Studio in administrative mode and then attempt an update.

image

d) Preferences tab now contains a button to show a simple federation rule editor. This is to allow changing security rules of underlying federation framework without restarting the editor.

image

e) A new command line switch (apart from --daeom, to start in daemon mode), to execute external script without starting the MeTA Studio interface:

java -jar MeTA.jar --script <script file name>

Currently the only supported script is of the type BeanShell. This feature allows you to write scripts that are entirely new applications, but runs inside the MeTA Studio virtual environment :) Boy this should be cool ;)

f) Assortment of bug fixes and routine changes [detecting monomers] ... something you always expect from an update ;)

g) and a number of more scripts in scripts/ folder so that you can write more of what you want to enhance the IDE.

So try out the stuff and give me feedback...

Wednesday, September 10, 2008

Puppy and Fluxbuntu: perfect for Indian netbooks?

A netbook for India should be a sub 10,000 INR device. In fact, should be well below 10, 000 INR to have a mass appeal. None of the products available in today's market are any where near this price range. The cheapest in the range is Eee PC 2Gsurf and HCL MiLeap X which cost around 14, 000 INR.

But the fact remains that, for a netbook (or what ever you call it), a basic computing device with Internet access, to be accessible to an average Indian, should be priced well below 10K INR. I have no idea of how this can be achieved, but am a strong believer that it is not difficult to make it a reality. Some of my ideas of how such a device could be built is what I would try to jot down in a series of posts. I call my creation "peoplebook", which as of now is nothing but a vaporware, until someone picks up the idea and builds a real usable product. Or someone generously funds me to materialize the idea ;)

The first and the foremost requirement of building a device like this should be that applications and in fact the operating system itself be built using the same hardware. This immediately disqualifies many devices that can provide cheap hardware, including ARM based devices which are heavily used on mobile phone and other low power devices.  The biggest drawback of ARM based devices like Simputer, Mobilis, Nokia Internet Tablet or Smartphone (based on Symbian or Windows) is that they require a host computer (the dependable PC) to build the software stack. Moreover it is overlay complex to change operating system on these kind of architectures. So the best bet is to use a x86 compatible low power processor which can support a standard Linux/ Windows OS. As Windows has a licensing cost, which eventually adds up to the total cost of the device, I can safely rule out using Windows here. So the natural choice lies in choosing GNU/Linux for the purpose. Building a customized Linux distribution is not exactly an easy task. Though projects like Linux from scratch (LFS for short) do give you hands on for building exactly that, maintaining and upgrading constantly evolving Linux stack is again a problem. So the best bet is to use standard Linux distributions that are available, build by those who are good at it and supported by community. While distros that fall in this category are easy to trace: Ubuntu, Fedora and OpenSuse, all of them have pretty hefty hardware requirements and may not be able to support low power hardware that I am talking of.

While Intel has introduced a new range of low power processors called Atom, along with its previously available Celeron-M ULV and A110 processors, they will still be requiring fans for cooling. This a major hurdle in bringing down the cost of the whole system, as having no fan will eventually translate to thinner and more portable devices that are probably far efficient in power consumption. So, for the time being, I would rule out using a Intel branded x86 processor. The most qualified processor for such a device appears to be Via's Eden processor with the Nano-ITX board. This processor and board seems to be an extremely interesting architecture for building such a general purpose computing device. I am not sure though as to why other people have never tried this, or have they?

Though Via's Eden processor is quite a capable x86 processor that can support Linux and Windows, its definitely not suitable for heavy weight distributions like Ubuntu or Fedora. So in the search of a lighter but complete distributions, I found two interesting ones: Puppy and Fluxbuntu. While Fluxbuntu is based on Ubuntu, but is tailored for low power devices, with 64 MB RAM and about 2GB of hard drive, Puppy is exactly meant for similar hardware (but about 256 MB ram is required) but has been around for quite a long time and has a wider community support.

Since, I didn't have actual hardware to test out these distros, I first checked Fluxbuntu under the Virtual Box environment, with 64 MB RAM and 2GB HDD, but with Intel Core 2 Duo processor @ 1.86GHz. This gave a reasonable and usable desktop with software for word processing and browsing. But its no fun testing on a virtual environment, so I installed Puppy on a 2GB USB drive and then booted my MiLeap with it. MiLeap uses Celeron M ULV @ 900 MHz and has 512MB RAM and 30GB HDD and currently runs Windows Vista Home Basic. For our purpose we have only 2GB HDD as Puppy is now installed on the USB drive.  This installation turned out to be snap for booting from the MiLeap.

Now some real applications stuff: Puppy comes with standard tools for editing docs (Abiword), browsing Internet (Skymonkey, with embedded flash player for playing youtube) and music player (xine, with requisite codes for playing most of the media files). On development front, you can install the latest gcc and other libraries to use Puppy as a platform for developing new applications, or even building new customized Puppy distributions. The same is true for fluxbuntu, however the support for this distro seems to be lesser.

I feel that if someone could piece these things together, with cheap and low power x86 hardware, one can build a really usable machine for the general Indian public and satisfy their computing needs.

[Lots of blah blah? You will have to bear with me till I see these kind of devices ;) ]

Tuesday, September 02, 2008

Google Chrome: Simply terrific :)


And finally they have it here! Google just released a beta version of their browser called Chrome for Vista and XP. And I am already loving this so much that I have stopped using the IE8 Beta 2, with immediate effect and am using this as my default browser now.

This is the best ever design of the Tabbed UI I have ever seen... On the tablet integration stuff for which Firefox and Opera failed, Chrome also fails, but its simply too tempting to dump this fresh and lightweight browser. I will be installing this on my MiLeap too :)

Update: Most of my frequently visited sites work great with Chrome. However one thing I miss is the superb RSS reader like the one available with IE... so for the mean time IE8 beta 2 not dumped :)

Update2: (See the screen shot), its got some serious tools for Web App developoers and Task Manager and a Memory meter, note IE8 beta 2 and Chrome beta memory usage ;)