Thursday, April 24, 2008

MeTA Studio updates

Updated MeTA Studio after a long time... Here are some updates

1) Firstly not anything to do with this update... but moved all my development environment to Vista (which was recently updated to SP1)... long set of reasons for that a discussion on a separate post.

2) A number of bug fixes, see http://code.google.com/p/metastudio/issues/list for the complete list.

3) New set of federation APIs to help build distributed applications over MeTA Studio framework. This includes sendXXX() and receiveXXX() methods in FederationRequest class. Look back at this space for examples on using this API.

The latest bins are available from the usual place: http://code.google.com/p/metastudio/, source package is not yet updated to reflect new changes, but will do it as indicated on the site.

Thursday, April 17, 2008

WebProp usage

A few months ago, I had co-developed a web interface (and its backend) for performing ab inito one electron calculations on small to medium sized molecules. This is currently hosted at http://chem.unipune.ernet.in/~tcg/webprop/ and is also available through MeTA Studio widget found at: http://chem.unipune.ernet.in/~tcg/webprop/webpropWidget.bsh.

We have even published a report describing the functionality of this tool in J. Comput. Chem. (click for abstract).

After months of monitoring the service, I find that the usage of this tool outside our group is pretty low, which is a bit disappointing. Though a niche area (ab inito quantum chemistry, to be specific), I would like to encourage educators, researchers or all the people to try out this unique tool for their needs.

If you have any queries on how WebProp will be useful (for educating, research etc.) kindly mail us at: webprop -at- chem.unipune.ernet.in

The above address is a mailing list, and the mail is forwarded to all people of WebProp development team, who would be more than happy to address your queries on using WebProp and its interface. We also welcome, your suggestions and critiques on WebProp.

Saturday, April 12, 2008

Is Mobilis dead?

Short answer is a big YES. Long answer is, unless Encore Software (who makes Mobilis) is able to reduce the price of the device to around 5000 INR, it simply won't have any takers. This is not the only way of revival though, there are many more steps that need to be taken and I am enlisting them here.

The first thing to note is a comparison of Mobilis with other contenders of low cost laptops in the current market. I have just compared with what I have with me (HCL MiLeap L and Mobilis). I have not put up the other contender, ASUS Eee PC partly because I myself have not used it personally and partly because specs wise its comparison with Mobilis will look even worse ;) [because of accessories like integrated web cam].

Comparison Chart:

  HCL MiLeap L Mobilis (basic model)
Processor Intel Celeron M ULV @ 900 MHz Intel XScale @ 400 MHz
Architecture x86 ARM
Cooling Fan Yes No
Memory 512 MB (DDR2) 128 MB
Storage 30 GB HDD 128 MB Flash
Ethernet Yes (In built) No (USB based can be used) *
WiFi Yes (In built) No (USB based can be used) *
Bluetooth No (USB based can be used) No
Screen
(size, resolution, touch)
7", 800 x 480, no touch screen 7.5", 800 x 600, touch screen
Touchpad Yes, pretty usable No, not required
Keypad Yes, pretty usable Yes, hopeless design
Battery About 4 hrs 30 mins About 6 hrs
Weight 1.44 Kg about 600 grams
OS Linux (Ubuntu) Embedded Linux (Montavista)
Price (INR) 17,000 20,000 +

* Not every USB device can be used. The driver support on the installed OS is very bad.

 

The first thing one notices from the above comparison chart is that for less, you are basically getting more in case of MiLeap! Granted that Mobilis sports a fantastic touch screen, with a slightly larger screen and resolution. But then MiLeap has 512 MB RAM and 30 GB storage as compared to paltry 128 MB each of RAM and Flash storage!

 

What else is wrong?

  • The price needs to be competitive (it should be priced around 5000 INR, any thing above is expensive for this device) with other ultraportables that have come up in market. What I think Encore should be doing is build a reference design and then sell the design to OEM manufactures and charge them some percent for each unit that is sold. This way the OEMs do not have to pay a hefty amount at the beginning (as in the case of simputer), and Encore will also be benefited in long run.
  • On board flash memory needs to be redesigned so that it is expandable easily.
  • OS used is another major issue. Montavista is actually a commercial vendor and you pay up a lot for their licensing fees which adds up to the total cost of the device. The development toolchain for OS is also not free, it costs another 5000 INR! And I have no idea why the old 2.4.x kernel is still being used on the device. Driver support from Motavista is absolutely useless, as compared to any modern Linux distribution. I guess Encore should look at some community supported OS like Ubuntu mobile and port it on their platform instead of using Montavista, which just adds up to the total cost of the device, and also provides a very crippled environment.
  • The worst design in the whole Mobilis tablet is the keypad. It is simply not usable. It has to be redesigned, and should look attractive and easy for a user to use it.
  • WiFi and Ethernet port should be inbuilt, and should not cost another 5000 INR to get them fitted!

 

I guess, I have made my point. Good luck Mobilis.

 

PS: If anyone at Encore Software does read this, I at least hope that they take this post seriously as I still use my Mobilis!

Saturday, April 05, 2008

All the fuss about Windows Vista

Ever since the release of the much delayed OS from Microsoft, it never seems to be on the correct side of the news reported world around. I beg to differ and through this post I would like to tell my experience of using Windows Vista for more than 8 months now.

 

Setup that I use daily

I do most of my work on GNU/ Linux. At work, all my machines (development, clusters and word processing) use either Fedora 8 or Ubuntu 7.10. For  home and personal use I have two old desktop machines, one new DELL machine (preloaded with Windows Vista Ultimate edition) and two ultra mobiles: Mobilis (reviewed here) and HCL MiLeap -L (reviewed here). Of the two desktop machines one is fairly new and has Fedora 6 loaded on it. The other is about 8 years old and came preloaded with Windows 98 (HP Pavilion 6615).

Of all the machines at home, I have been using the Fedora 6 machine for all my day-today activities till I got the DELL machine. Now I use the Fedora 6 machine mostly for programming and rarely for watching DVDs. When I am on move or bored sitting in front of my desktops I use my ultra mobiles.

Well to be very complete I also own a Nokia 6600, but use it rarely ever since I got the two ultra portables.

In terms of expenses I did for my personal set up, the Windows machines were about 8 times as expensive! That's because my Linux machine was a second hand buy (but of COMPAQ evo brand).

Finally no hurting the feelings of Mac people but I never owned a Mac and probably will never because I always have a feeling that they are too closed source people even if their base kernel and development tools are all GNU based.

 

Vista: An OS that serves me and my parents well

Let us first see the things in the perspective of my parents. They always need a way to communicate using the Internet and easily access many stuffs like photos, videos, watch movies and many a times catchup with the TV shows. Being a media centre computer with Windows Media centre installed, they find the machine relatively easy to use. They also find using IE7 easy (I don't have FireFox installed currently). GTalk and Skype are other applications they use and are relatively mature on Windows than other OS. As far as advanced features of Vista are concerned I do not believe that they are directly useful for them. But features like "sleep" are better implemented in Vista than in XP, in the later case I had constantly observed freezes of my machine. On Vista however this problem seems to have disappeared all together. Another feature my parents had to frequently deal with earlier version of Windows was the "blue screen of death", I have not encountered a single instance of this on my Vista machine to date, despite a number of hardware changes that I did over the original setup.

The Instant Search and the inbuilt voice recognition tools are also frequently used and most loved tools (especially by me). For me the Instant Search is in many ways better than other similar tools provided on other OSes. The voice recognition on the other hand seems to be an unique feature in Vista.

Going into more technicality, my basic needs from an OS are: Good development tools, rich media and Internet experience, devices should just work, be secure to a large extent, and an intuitive user experience. Before using Vista I have used all previous versions of Windows form Windows 3.1. I have also regularly used Linux distributions from Red Hat 6 to Caldera to SusE, PC Quest and Ubuntu (from 6.10). It has always been hard to figure out how to get a particular device work under Linux; which has never been the case with Windows. People would argue that this problem is mainly for devices or peripherals who do not open up their proprietary hardware to Linux developers. This may be partially true, but when I look from a users perspective it comes to choosing between one of the "better" OS, the one on which devices just work. Further, installation of a driver under Linux can simply be not done by an average computer user. You should have fair amount of idea of what a kernel is and what a compiler is, which my parents simply can't cope with! well all that for support of Windows:) But what makes Vista stand out from previous version of Windows is a feature in the Windows update that automatically comes back to you incase no appropriate drivers are found (which I myself experienced with Logitech Quickcam webcam).

Vista also comes with a assortment of development tools, many of which can be downloaded for free from Microsoft's site. Many of the tools can be used to build applications for older version of Windows too. The tools provided with Visual Studio Express edition are just enough for my work. Though I have also installed the Windows SDK as some of the programs I compile require core Win32 libraries.

I regularly use Virtual PC 2007 and VirtualBox for virtualization environment and find both of these to work without any hitch on my Vista machine. I frequently need Linux environment to test a lot of stuff so I have installed Ubuntu with all required compilers in VirtualBox and find its performance under Vista (even when running media center and recording the current TV show) very smooth.

UAC of Vista had been a big topic of debate, but I find it to be pretty usable and worth the hassle. Moreover, it is how it works out in the Linux world (sudo!).

 

Some things are a problem though

I have been wanting to program with the CUDA system from NVidia since a long time, but its drivers for Vista have simply not been available to date :(

 

Finally

In short, after more 8 months of using Vista, I find it to be a fantastic and rock solid product, which makes it worth to invest in a bit of new hardware too.

NB: This full review was written with Windows Live Writer using the iBall pen tablet ( reviewed here).

This review is not endorsed by Microsoft and are my personal views.

Tuesday, March 18, 2008

Review of HCL MiLeap-L

Recently HCL India released a series of ultraportables branded as MiLeap series. The cheapest one of these is a flash based (2GB), Intel class mate PC style, MiLeap X series. I purchased a slightly higher version of these machines called MiLeap L series that instead comes with a 30GB HDD. This review is on MiLeap L series, though I also intend to buy the flash based version of this device for my uncle for reasons given below ;)

Hardware Specs
This is an ultraportable with following main specs:
- Intel Celeron M ULV (ultra low voltage) processor @ 900 MHz
- 512 MB DDR2 RAM
- WiFi, 10/100 ethernet
- 2 USB ports
- 1 SD Card reader
- Inbuilt Mic and Speakers
- Audio out and in jacks
- Touchpad
- 7 inch TFT screen with 800x480 as max res
- Battery Backup: ~4Hrs
- Total weight (including battery): 1.44 Kg

General feel, usability...
I just love this piece :) HCL has done a nice thing in packaging this little laptop not only on the hardware front but on the preinstalled Ubuntu distribution. The preinstalled Ubuntu takes up about 3GB of disk (so i am not sure what the flash version is bundled with). As against a standard install this comes with all the required apps (OpenOffice, Gimp, a series of media players and best of all with all required codes) out of box. The only thing that I didn't like was a 8GB partition on which FreeDOS was installed (presumably for those who want to switch over to windows), which i immediately reformatted as ext3 :)

Ubuntu is quite usable on this little laptop. Word processing and all other apps open without much fuz and seems quite fast for me. The boot time is a bit slow, but thats mostly as a result of using a bit slower processor. Network configuration, WiFi to be specific is just a breeze and worked great for me.

All other usability features of Ubuntu works great, and I feel that this pretty good for people looking for office related tasks and also for surfing.

The most wonderful aspect of the whole thing is the preinstalled gcc compiler set, which just worked out of box. I feel with the price tag (17000 INR) this is a pretty good buy for students learning programming. Though vi is preinstalled, you need to download vim and emacs if you really intend to do serious programming. I also installed the latest JRE and was pleased to see that MeTA Studio ran effortlessly of it ;)

The keypad and the touchpad are also nicely designed and are pretty much usable. There was one small problem though, that I found when using vi, that there is only one SHIFT key, but with a small form factor like that it would be difficult to fit in any extra key.

Overall the battery backup is pretty good and goes well beyond 4 hrs if you use the screen with reduced brightness. With standard brightness too, the battery pack gives at least 4hrs backup.

On heating issue, this heats up as much as my Mobilis, so I think that there is not much of a problem with it. I have continuously used the machine for about 4 hours and find it okay. Some times the base gets heated up a bit, and so its advised not to keep it on your lap for along time ;)

Final thoughts
I think HCL and Intel have finally begun to introduce to Indian market of what I had said earlier in my blogs. I have used Mobilis from Encore and after nearly an year after I tried using it I find it a highly restrictive device that is overpriced (the only thing on which it scores over MiLeap is a battery backup of about 6hrs). I would highly recommend this (and other MiLeap series too) if you are on a lookout for an affordable ultraportable, or even a second computing device.

NB: The whole review was written and published from my MiLeap L :)

Update: About the sound, its pretty good for the form factor.
About the heating issue, I think the use of flash drive will drastically reduce the heat generation. Also the flash drive is more rugged with no moving parts and hence the reason I will be buying it (MiLeap X) for my uncle ;)

Update 2: Aniruddha had written in to ask if VGA connecter is available from MiLeap L, short answer is NO. Check comments for more info.

Monday, January 28, 2008

updates to MeTA Studio

New MeTA Studio builds are available and includes a number of new features and UI:
1) more streamlined UI when viewing molecule object.
2) integrated talk interface
3) few additional scripts to show off scripting powers in MeTA Studio







Of the few scripts included the most notable one is a script (freq.bsh) that computes frequencies from a energy Hessian matrix of a molecular system. I will shortly blog in more detail about these and more scripts.

the code is available from the usual place: http://code.google.com/p/metastudio/

Monday, November 12, 2007

Who "learns" APIs anyway?

This is a sort of after thought and comment on my previous post where I "complained" about learning a new API.

Most of my experience with Java has been not in developing application but rather designing APIs and programming platform (for instance MeTA Studio http://code.google.com/p/metastudio/). Where as, whenever I had used other languages (C, C++, Fortran, Python...) it was mostly for application development. Developing good and usable APIs do require fair amount of thinking and design tactics to be put in. Developing pure application on the other hand is, many a times more faster and easier job. A good API need not be "learned", rather it is apparent form it as to what you can do with it. You do not "learn" a good API, rather you cleverly "use" them to build applications.

In that sense probably Android APIs are "pretty good".

Android is out: But am a bit disappointed.

This is a follow up on my earlier article "speculating on Android". Google has finally released the SDK for Android platform and with a first look at the APIs I am not too happy. Not because my main assumption of inclusion of a scripting interface went entirely for a toss, but because Android has a whole new set of Java libraries (APIs) rather than adopting a standard set of Java APIs. Another claim was that development on Android platform would be easy and fast. But with my experience of using Java from mobile to desktop to server has it that a very strong design and object orientation skills have to go in to develop flexible and robust applications. When you have a "good enough" and many times an evolving design it is not really RAD. RAD is what is been offered by initiatives like, pys60 (python on Nokia S60 phones).

After a bit of pondering over the APIs it does some how feel that many of those are needed but are in no way available in Standard Java libraries. One of such aspects is the touch APIs (http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/graphics/TouchPaint.html).

But here again I fail to understand as to why the standard Java graphics libraries are not used and instead Android's own libraries are used. This to me feels like introducing more confusion than "helping " the people who develop on Java platform. In essence, I simply do not understand the necessity of learning completely new set of APIs for programming on Android and that too in a "write once and run every where" language.

Saturday, November 10, 2007

Mobilis Crashed!

After months of almost daily use of Mobilis, it has crashed and simply refuses to power on :( Have contacted the Encore staff, but will have to wait till trow for their reply.

Tried to open it up and check for any burned stuff .. but have found nothing that "looks bad". Hope that I am able to get it back working soon...

Friday, November 09, 2007

Speculating on Android Platform

Google and a group of 34 other companies announced the Open Handheld alliance this week (http://www.openembedded.org/). They also announced that a SDK for the "open" platform named Android would be made public on Nov 12,2007. I am just trying to speculate what all this platform might constitute:

1. An embedded Linux kernel, probably built and hardened by Google engineers.

2. A scripting language like Python as an interface for programming. other scripting language that would be included is JavaScript. To Some extent this would be like PyS60 (Nokia's Python implementation for S60 phones - http://wiki.opensource.nokia.com/projects/PyS60), however I feel that this will be the primary mechanism of programming on Android platform. I am not sure it they would provide any native programming support; primarily because of two reasons : cross compiling is difficult and time consuming secondly native code is always a security risk.

3. Large set of APIs for supporting Web 2.0 applications. It will probably support all Google data APIs, however I feel that the platform will it self support integration of other Web 2.0 (or 3.0...) apps. This is what I mean by "open'', and not closed to only Google services.

4. Would have some seamless mechanism to access Internet from all kind of networks supported by the device. This is mostly a hardware feature, but felt like mentioning it.

So these are my speculations! Let us see, what Google and its alliance have out of their hats next week. Turn back to this space to see how poorly I faired ;)



(update: Just forgot to mention in point 2 that Java and JavaFX are also strong contenders here, but with Sun Microsystems currently not officially part of the consortium I wonder whether this is really the central part of the platform).

Sunday, October 28, 2007

OS X Leopard and IPhone Touch

I had a firsthand feel of the new OS from Apple and IPhone touch interface during a visit to apple exclusive showroom. The store called Imagine and is located in Ad Labs mall in Kalayani nagar in Pune. The IPhone  on demo had access to a working Wi-Fi connection that made it possible to check the Safari web browser and the you tube video feature. I was also pleasantly surprised to seethe latest Mac OS which the sure guys had just installed on a big screen Mac. Could also check out other products from Apple, and overall it was a fun experience. This was the first time I ever visited an apple exclusive showroom and frankly I was impressed with the way the store guys allowed to experiment with everything there on display. Only my friend had to pay a price to get in there - Rs. 10 for parking! ...and i am still to get over the hangover of using the Touch interface ;)

Friday, October 26, 2007

Trying to capture moon

IM000515

IM000517

IM000521

After a long time had some stint with photography. These shots were taken during 25/26 th night. I attached my small telescope's (30x magnification) eyepiece to camera lens (with another 3x magnification) to get these photos. Are not really good ones as there is lot of chromatic aberration in these images - Must learn how to correct these. In the last photo there is a strange black spot, that kept on moving in my subsequent shots... looks like some moon satellite ;)

spider!

IM000505

IM000500

One more kind of spider found in Pune University campus.

Friday, October 12, 2007

MeTA Studio update

Update to MeTA Studio is now available with the usual assortment of bug fixes and a few new feature additions. Most notable of the addition is ability to do function interrogation by mouse click when u visualize a scalar field.

I am also formally starting the Issue tracking list at http://code.google.com/p/metastudio/issues/list where you can post Bugs, Issues and Suggestions about MeTA Studio interface and its APIs.

The new version can be downloaded from the usual place at: http://code.google.com/p/metastudio/

Saturday, September 22, 2007

Apple iPhone and HTC Touch

This is being written on the background of using my pen for quite some time now. I have neither used iPhone or HTC touch. So my thoughts may be bit biased. At first thoughts, I had thought iPhone to be a wonderful product with on screen QWERTY keypad. But it now appears to me that typing long text is really problematic and if there would be a stylus with equivalent handwriting recognizing software on HTC it would be really wonderful and easy. If Microsoft can include their handwriting recognizer in Windows Mobile OS, they simply have a killer product. As you can do a lot more with HTC mobile than the Apple's phone. More over HTC is available here in India today at a somewhat affordable price of 14k. And it Microsoft can quickly add some localization support they would land up with something very useful to be used by general public rather than a jazzed up mp3 player.

Quick Review of iBall Pen Tablet with Vista



Lately I have been bored of using a keypad for entering text so finally got an Ball Pen Tablet. One of the first advantages being the product worked on my machine ( Windows Vista UE) without the need to install any additional software. With a bit of configuration I was up and running and writing this review with the pen. One great advantage of using the pen being that, I need not use mouse or keypad fordoing most of the tasks like clicking and entering prose text. Further, the tablet Input panel provided by Vista is really fantastic in handwriting recognition. It also sports a automated spellchecker. I also used the system with GTalk and had no problem text chatting with it. So far have only one complaint about the writing recognition Software, which is not really able to distinguish my I and J properly. In any case its a big boon for papa who are not really comfortable using a keypad. However if you use a Keypad and are good at typing then you may find any the Pen a bit cumbersome at first, but will definitely enjoy using it. Deleting text is as simple as striking off the word. And using it to Paint Some Stuff is another pleasant job. In all I find this product really useful for people with slow typing speed.  And I must also mention that the Vista's inbuilt handwriting recognition is d really fascinating and enjoying tool to use. Which to some extent is not good as even if you have a bad handwriting (like mine) , the Vista tool recognizes the stuff and you hardly try to improve! 

Sunday, September 16, 2007

Digital Library of India

Every one has heard about Google Book and many use it frequently.
The Gov. of India in collaboration with many Institutions is building up a digital library in India http://www.new.dli.ernet.in/ primarily to preserver old manuscripts and make available a number of books (whose copyrights have expired) to the general public.

Only complain i have about the site is that the books are mostly in TIFF format and is not very easy to read. Google Book interface is in contrast searchable and more accessible. For example a search on Astadhyayi on Google books returns many interesting results, but the DLI doesn't return any, though there are atleast two books on DLI on Astadhyayi.

Saturday, September 08, 2007

Apple iPod touch

Though I am not a major fan of apple, largely because of its price factor, I almost always am awe with the kind of products it releases.

When iPhone was released, it was really a WOW product, execpt for the fact that it was tied to a particular operator and a particular country (US...). And the only thing that I didnot like about it was that it would not be available in India for a long, undecided time.

But, now Apple is introducing iPod touch (http://www.apple.com/ipodtouch/) with all the technologies borrowed from iPhone, except you can't do a phone call. The WiFi access is a cool option, but remains to be seen if i can access gtalk or skype on it. I guess with this Apple has really beaten MS's Zune, though the later was never quite near the competetion.

And I see no reason why iPod touch should be available in India as soon as its released in US :)

Widgets in MeTA Studio

Using the MeTA Studio and Java APIs, RK came up with some cool simple widgets (http://chem.unipune.ernet.in/~tcg/members/ritwik.html)

For those of you who had gone through the widgets/ directory in MeTA Studio, you will already have an idea of how to create your own widgets. I give a small description using RKs, Flakes Widget (http://chem.unipune.ernet.in/~tcg/codes/flakes.bsh)

1. Each Widget should have a unique file and function name in a given MeTA Studio installation. In this case it is flakes.bsh and the function name is flakes().

2. The first thing done by the widgets function is to get a shared instance of widgets panel:
panel = getWidgetsPanel();

3. Next a widget is created with a unique string identifier for the widget:
flakes = widget("flakesWidget");

4. Now "flakes" is a panel (just like javax.swing.JPanel) to with components can be added.

5. At the end give a call to :
panel.addWidget(flakes);

is made to finally add the widget to the panel.

6. Finally at the end of this file you give a call to the flakes function:
flakes();


and well here are some cool screen shots taken directly RK's page:

Flakes:


and Plane angles:



Note: There will not be any updates to MeTA Studio in coming 2 weeks ...