Sunday, June 29, 2008

PicLens: something fantastic and worth trying

piclens

 

PicLens is a browser add-in for IE, firefox and Safari provides an immersive 3D experience for searching though various video, tv and photo sites. Highly recommended for Vista and Mac users. You can download it from here: http://www.piclens.com .

Saturday, June 28, 2008

Internet connection sharing from Vista

I have a broadband connection on my main desktop that runs Vista, which has an ethernet port and a usb WiFi dongle. And I have HCL MiLeap-L that comes with WiFi on board. I always wanted to have internet connection sharing setup on my Vista machine so that I can access Internet anywhere from my house using MiLeap-L. Until recently, I could not figure out why the ad-hoc network created from Vista was not getting configured from the default NetworkManager applet of Ubuntu (MiLeap-L runs 8.04).

It turned out that this the problem with the default Ubuntu driver for the WiFi chipset on MiLeap-L. The default driver (supposedly a newer version) called rt73usb has buggy support for ad-hoc mode operation. So after googling around a bit I found that you need to use the legacy drivers rt73 and blacklist the newer ones to get it working. Moreover the older version is not compatible with the NetworkManager applet and you have to use its own GUI called rtutilt. So here is what I did to get stuff working:

1) I already have latest kernel update with the requisite build tools and kernel headers. If you don't you will have to get that using apt-get install kernel* build-essential.

2) Get the latest rt73 source from http://rt2x00.serialmonkey.com/rt73-cvs-daily.tar.gz

Do the following using root (sudo -s) credentials:
3) unpack, change to Module directory. Then make and make install.

4) Remove previous module: rmmod rt73usb

5) add:
blacklist rt73usb
blacklist rt2500usb

at the end of /etc/modprobe.d/blacklist

6) modprob rt73
depsmod -a

7) Install rtutilt using synaptic manager (u may have to enable extra repos)

8) disable NeworkManager applet from Main Menu->System->Preferences->Sessions

9) reboot and use Main Menu -> Internet -> RutilT WAN Manager to discover and connect to access point or ad-hoc network.

Note: If at any point of time you need to upgrade the kernel, you will have to most likely recompile rt73 drivers.

On Vista:
Its straight forward here.

1) First enable Internet Connection Sharing (ICS) on interface to which broadband is connected, in my case this is the LAN. This automatically assigns 192.168.0.1 then to the WiFi interface. The required gateway and other settings are also automatically made.

2) Then setup a ad-hoc connection using the Connection wizard in which can be initiated by clicking the Network icon on the task bar... or better still use the Instant search!

3) Thats it!

Hope this is useful to other HCL MiLeap users who want to try similar setup.

PS: when you need to use WiFi from any other source, you need to use the RutilT GUI now instead of the NetworkManager applet in Ubuntu.

PPS: This whole stuff was written on my MiLeap-L and posted using the connection that I set up as described above :)

Tried Opera too!

Tried the latest Opera 9.5 on Vista, though it looked great, I eventually uninstalled it as I faced similar Tablet PC integration problems. Is it the problem of the browser code, or MS didn't expose these APIs propertly?

Btw I installed Opera 9.5 on my HCL MiLeap (which runs on Ubuntu 8.04) and have instantly replaced Firefox 3 as my default browser. I find Opera 9.5 to be far superior and loads a lot faster than Firefox 3.

Friday, June 27, 2008

Flipflop: Firefox3 and now back to IE7

thats on vista. But had no other choice after I discovered that my favorite browsing tool, the Tablet PC components don't work great with Firefox. Apart from the address bar completion not working properly, it had one major issues with password fields. That the password would show up in the screen, plaintext!!

Now waiting for IE8 beta2. May try Opera meanwhile.

Monday, June 23, 2008

MeTA Studio update: do more with Find, changed Federation protocol

A new version of MeTA Studio with updated source is available from the usual place at: http://code.google.com/p/metastudio/.

This version includes an assortment of changes:
a) The federation discovery protocol has changed, and is incompatible with the previous version. No further changes with this protocol will be made in future that will break existing clients. However you will have to update to the current version if you are using an older release.
b) Numerous Find tools have been added in the MoleculeViewer, see docs for details. Will post more details, along with long promised examples of using Federation APIs.
c) Java3d/2d renderer has been improved for performance.
d) number of bug fixes and additional sample plugins and widgets are also added.

You are invited to check the features. If you have any issues, suggestions or would like to contribute to the project kindly post it at: http://code.google.com/p/metastudio/issues/list

Have fun!

Sunday, April 27, 2008

Microsoft and HCL: Worlds cheapest windows laptop!

Was hoping that this was a april fool's prank...
But if this is true, its not really gud for adoption of Ubuntu (Linux) based laptops (such as HCLs own MiLeap L). All this means that there has been a great demand for Windows based low cost laptops (even ASUS is releasing Eee with WinXP preloaded), and these people will eventually move to Vista (MS is smart in seeing this). So all the bashing and FUD for Vista will have no effect after all. People who use unrealistic reasons for adopting OSS are any way going to fail because customers do genuinely see the benefits in Windows... and Vista is definitely a superior OS.

But in other ways its good that its creating a new market and new opportunities.

Only it would now be tougher for me to convince my uncle to use Ubuntu on MiLeap L that i got for him :(

Upgadre experience: Vista SP1 and Ubuntu 8.04

Have recently upgraded my Dell Dekstop to Vista SP1. Well as with all other windows upgrade this turned out to be a breeze, after the initial hitch over my audio driver got resolved thanks to the wonderful free help from Microsoft tech support :) Had to download 69MB of updates, which turned out to be pretty fast on my broadband. After the updates surely SP1 is far more snappier than its predecessor. Also all the promised performance improvements in Vista seem to be working well.

Next I upgraded my MiLeap L from Ubuntu 7.10 to recently released 8.04 LTS. Obvious reason for upgrade was that its an LTS and more over its got some cool new features. This update turned out to be a big 701MB! So far the new Ubuntu experience looks great :)

While Vista upgrade to SP1 was over in under 40 minutes, Ubuntu upgrade took more than 5 hours! Well to be fair this cant be really compared as hardware base was totally different: Vista running on modern Core 2 Duo (1.86 GHz) while Ubuntu on a Celeron M ULV (900 MHz) processor.

Though technically speaking the Ubuntu upgrade was actually a new OS, while for Vista it was just a service pack, but there is a huge difference in upgrade sizes. And this is the reason for my worry. Vista uses what it calls a Background Intelligent Transfer Service (BITS) to just transfer the set of bits that have changed form what is installed on the current machine, for all the windows based updates/ upgrades. Ubuntu on the other hand downloads complete set of packages (.deb files) even when it is simply updating and not upgrading. Is there no technology simiar to BITS in Linux? If no it would be interesting to develop such a stuff for Linux update/upgrade services.

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 ;)