Sunday, April 17, 2011

MeTA Studio binary release

Another, major bug fix release of MeTA Studio (2.0.17042011) is available for download. The list of issues addressed, and not yet fixed can be seen here.

New additions and fixes in this release:

- apps folder: simple examples of writing new applications on MeTA Studio platform
- MO plot (a new widget is supplied for the same)
- Support for NetCDF and HDF libraries
- problems with i/o redirection for scripts running with in MeTA Studio GUI environment

Still in works:

- Rotation of individual molecules in the editor (partially working)
- Interpolated normals for on-screen iso-surfaces

Monday, April 04, 2011

Configure WiFi usb adapter as a WiFi hotspot (Windows 7)

Had allocated this long weekend for fixing Issue 46 in MeTA Studio, but ended with lot other bugs that had to be fixed. Eventually, I am only half way through fixing the real issue. With all this I got painfully bored :( So decided to do some changes in my setup.

I have a mobile data plan currently on my mobile for which pay about 100 INR per-month for 2GB, which are hardly used up. In fact, I find that I really do not require that. Also, after seeing the new 3G data plan rates (http://airtel.in/Airtel-3G/tariffs.html), I though it was high time I just dump the subscription. So now my phone is quite simply put, un-plugged, with only voice and sms, and pay as you use data.

Now when I am at home, on most of the weekdays, my parents watch TV. And my main desktop as well as the TV is same unit. So, if I need to work (with internet connection), I simply used to setup an ad-hoc connection using a WiFi usb adapter connected to my desktop. The sad part was that my Android 2.1 phone never saw this ad-hoc network. I could simply purchase a Wifi router, but just can't convince myself to get a new device.

After a bit of googling, I came across this very useful article: http://www.blogsdna.com/5506/how-to-setup-virtual-wifi-in-windows-7-without-any-extra-software.htm

Essentially, the whole thing boils down to two commands:

netsh wlan set hostednetwork mode=allow ssid=mywifi key=mypassword
netsh wlan start hostednetwork


and also enabling Internet connection sharing in Windows 7.

Next up, I wanted this to startup automatically when my main desktop booted. I did this by writing the above commands in a batch file and using NSSM - the Non-Sucking Service Manager (http://iain.cx/src/nssm/) to create a Windows auto start service.

Cool afternoon, now back to fixing Issue #46 ;)

Thursday, March 31, 2011

Ban! Pretty much an un-Gandhian way




It seems here in India, there is a fad, to BAN.

Recently, many state governments banned a book on Gandhi, proclaiming that it has insulting statements on the father of our nation. The Law ministry is even considering changing the law to make such statements a crime! The bureaucrats and politicians who even think of doing this of course don't seem to have an iota of idea what Gandhiji represented.

When I started writing this post, I thought how can anyone even think of such absurd idea a 'ban'. Let's be quite clear: we are a democratic and intellectual society where the word 'ban' and an associated 'authoritarian' behavior of the people in power has absolutely no place. You can never enforce respect towards a person or a nation or a place, it has to come from within. That is but human mind.

I was quite relived to see that I was not alone to have similar feelings, descendants of Gandhi seem to have much more sense towards what to say, than our learned bureaucrats and government.

My only thoughts at the end of this post: I wish, if the respected law ministry were as sensitive to more real issues like that of Dr. Binayak Sen (http://www.binayaksen.net/) than going down the un-Gandhian way of protecting Gandhiji himself, Bharat would be a far better place to live in!

Note: Any view expressed here are solely my personal views, and have nothing to do with my employer or organizations I am associated with.

Tuesday, March 29, 2011

HCL Launches ME Tablets

Now, I am not a tablet fan as such, though I do own and heavily use a tablet PC.

But as a mass consumer product, I think, this has a large potential if the price points are right, especially in a market like India, where PC penetration is not that great.

So, I was quite excited almost an year ago when Notion Ink announced their plans to come up with a tablet. And actually delivered couple of months back (http://notionink.wordpress.com/). However, I still don't have a first hand look and feel of it (missed the first pre-order and then the second preorder invite :( ..)

While Notion Ink is quite innovative in what it has designed and continue to do so with their quite open development process, there are other Indian companies that might just get the critical mass in selling tablets, without innovating a lot. Or to say it in other words, provide what a user needs, not necessarily always the "wow" factor.

This is where the news of HCL ME Tablets comes in. And it is not just news, but you can buy the real product online (http://www.hclstore.in/ME_tablet). Of course, this one is not as good in "specs" department as the Notion Ink. But do users really care about specs of a tablet? Steve Jobs wants all of us to believe this, rt? Quite frankly, I think that is true. I don't really care about specs of these devices, if I get a smooth experience and get my job done.

HCL has a history of disrupting the Indian market with low price with pretty high quality products. In fact, my first laptop (or netbook) was from HCL. It was simply the best piece of portable hardware that I could afford back then. And this time around HCL has again come up with a similar strategy. The only difference this time is that in coming months there will be many other players in this space, particularly big Indian mobile manufactures like Micromax.

With all this, I am a bit concerned that NotionInk would actually become a small player, unless they do something radical. Just hope that Rohan is thinking along these lines, or at least reading this post of mine ;-)

Thursday, March 24, 2011

speech, html5 and chrome

Now this is cool (http://chrome.blogspot.com/2011/03/talking-to-your-computer-with-html5.html). Putting speech in browser has just reduced dependence on the PC OSes a bit more. What would be more cool is if it could support more than just English.

So now, the ChromeOS is looking more and more complete. Now when is handwriting recognition coming into picture ;)

Saturday, February 19, 2011

New MeTA Studio binary release

This is essentially a stop gap release that fixes a number of bugs, but also adds a major new feature: MeTA Studio Archive format (.mar). The .mar format allows you to package an application that uses the MeTA Studio platform. This version also includes inbuilt support for Jython, though this is not yet integrated into the UI.

Head to http://code.google.com/p/metastudio/ to get the latest binary package. The current version number is 2.0.19022011 and is also the first binary release in 2011.

Saturday, February 05, 2011

Android finally has official blogger client

So Google has finally released a blogger client for Android. I have been waiting for this for quite some time and was pleasantly surprised to see that in market.

The other pleasant stuff was that Google Goggles is now available for my phone which is pretty cool. Now the only stuff missing is proper offline Google docs support.

Now hopefully I get some time to develop on Android :-)

Wednesday, February 02, 2011

Is Bing really recycling Google?

Well thats what Google wants you to believe and Microsoft doesn't. I am not a search engine expert, but I just don't believe what others have to say. So I randomly generated a "synthetic search" query: "abduljkastifu" and put it in Google and Bing with the following results.





Which obviously are different. After this, I pretty much stopped reading (http://googleblog.blogspot.com/2011/02/microsofts-bing-uses-google-search.html). The said "recycling" only happens if you seem to be using some settings of IE8 / Bing toolbar (does someone actually use a toolbar?).

But the media putting it simply as Bing copying Google results is what I can classify as being bad Journalism.

Saturday, January 22, 2011

Forgotten art: Microsoft Origami for Tablet PCs

Lately have been using my Asus T91 MT a bit too frequently, primary to write documents and occasionally to browse the web. Though I  constantly use the tablet, I hardly thought of two things: faster way to login my machine and better touch friendly window title bar and scroll bars. The rest of the elements in Windows 7 appear to be quite touch friendly to me, but not the above mentioned ones.

During the previous iteration of Windows, Microsoft had released a set of tools called Origami. These tools were specifically meant for touch based UMPC tablet PCs. Two of the tools offered by Microsoft Origami: picture password and touch settings have made a pleasant difference to how I use my tablet PC. You can download Microsoft Origami from here. But note that you may not be able to use other Origami tools on Windows 7 except the ones that I have mentioned. With Asus releasing the "most powerful TabletPC on earth" , probably its time to revive origami for Windows7.

t91 origamit91 origami2

t91 origami3

Sunday, January 09, 2011

New MeTA Studio icon

Its been long time since there was a public update for MeTA Studio, partly because there is been lot of behind the scene re-architecting going on. And partly because I have been caught up with other stuff.

Even as a number of features were added for MeTA Studio, its icon had never clanged to reflect the new changes. The current icon is a simple rendering of a macro molecule, with the original intent of MeTA Studio being ease of handling large molecules:

icon_old

Starting with today, the SVN has a new icon originally designed by APR.

iconBig

The main site also hosts a logo as shown above. The above icon is basically designed with the four core foundations of MeTA Studio in mind: Organize (molecules) , Visualize, Code and Collaborate.

image

Look back at this space as we prepare to release updates to MeTA Studio in coming weeks.

Friday, January 07, 2011

Motorola Atrix: super phone with a promise

In a recent post, I had argued for a super phone Software interface that:
"Ideally I would like my smartphone OS to automatically scale its user interface form small portable screen to a large desktop scale screen, handle touch, pen and pointing as well as keyboard, seamlessly. That will make computing on the go painless and computing on desk seamless. You will always need only one device: your personal super phone."

With the release of Atrix, Motorola seems to be heading in exactly this direction. Probably a way to acheive this on a phone is via virtualization. That, I guess is how   Motorola is implementing it. With the ever improving ARM SoC capabilities and recent announcement of Windows for ARM, we are soon approaching:

"Three screens, One brain and the Cloud"

mantra. One who gets this right will define the next revolution in computing technologies.

Thursday, January 06, 2011

Notion Ink: Good startings

Almost an year ago I started following Notion Ink (http://tovganesh.blogspot.com/2010/01/notion-ink-another-attempt-at-making.html). One thing I was pretty critical about the device then was the software stack, just what sets them apart from other android tablet efforts?

Now with pretty positive reviews from Engadget (Joanna Stern), Liliputing (Brad Linder) at CES'11, I must say that Rohan Shravan and team have pulled up quite well. Good beginnings Rohan et al., though there is still lots to be done ;)

Wednesday, January 05, 2011

Mypaint: An open source painting application



For some time now I have been searching for a good, responsive, free and professional digital painting tool for my Asus T91 and the bamboo tablet (pc). Today I discovered Mypaint (http://mypaint.intilinux.com/) which is an excellent tool for professional digital painting. Best of all it is open source and simply works. The program can also be configured for pressure sensitivity (provided the hardware supports this) and thus provides most natural painting experience. Highly recommended even if painting is just a hobby for you (like me ;-))

Friday, December 10, 2010

When can I have my Personal SuperPhone (PS) ?

There is no doubt that Personal Computers (PCs), and the mobile phones have revolutionized our lives in multiple meaningful ways. Now smartphones are redefining the way mobile computing is done. But a smartphone today, be it from any vendor, can hardly be called personal the way PCs are.

A PC allowed you to customize from top to bottom. Every thing in a PC can be upgraded or swapped out in case a particular part malfunctions. I have a host of choices of what software stack I want to run on it. Right from the operating system to the applications are customizable. And it has been so form day one.

Not in case of a smartphone. True, yon can install some apps on them. True you can increase some storage space on some of them. May be change wallpaper to make it appear "personal". But that is it. It is what I call "pseudo-personal". You have no standard way of choosing a different operating system. You can buy different hardware for different mobile operating systems. But yon can't use the same hardware for different OSes even though they might be capable of doing so.

image

There is no way to fully customize software stack. Hardware wise it is even more restrictive. There is simply no way to expand or add capabilities. Though one might argue that you can put something like a USB host port. But none of the major phone makers have that feature. Currently I am using an Android phone (previously a Nokia Symbian). None of them have an easy way to install or upgrade the OS. My Android device is still 2.1, new 3.0 is round  the corner. There is no way to upgrade the RAM or phone memory. You upgrade external storage, but that is too limiting and only useful as a way to store data. Thinking back, my first PC was an HP machine with AMD processor. It only came with 64 MB RAM which I later upgraded to 343 MB, upgraded from Windows 98 to XP, dual booted with numerous flavours of Linux, installed BeOS!, installed graphics card and what not. That freedom is missing completely in a smartphone available today.

 

Capable closed hardware, crappy software

Today's smartphone hardware is no doubt very capable. But is closed. Closed to the extent that even if you manage to open up your device you will have difficulty in identifying the essential components that make up the phone. The only parts that you could mange to remove would be the battery pack and the display panel. Possibly a key pad if your smartphone does come with one. Don't ever think of interchanging these parts with another phone: it would almost never work. Simply because there are no prevailing "Standard" as in the case of PC.

On the other side, software on these devices  is not really productive. The PC software has matured over years, to the extent that people have started calling it legacy. Note that I consider all cloud based applications (aka. web appps) to be actually tailored for PC usage, not for ultra portable device.  Eventually the productivity offered by these smart devices is but quite limited. You almost always fall back to your PC to do the actual work (why do yon think Google is releasing ChromeOS?). The phones do not truly and transparently sync with your workflow. To some extent this has improved especially with mobile e-mail clients. But not in general. Ideally I would like my smartphone OS to automatically scale its user interface form small portable screen to a large desktop scale screen, handle touch, pen and pointing as well as keyboard, seamlessly. That will make computing on the go painless and computing on desk seamless. You will always need only one device: your personal super phone.

 

More eco-friendly

Another important factor of these smartphones is battery. My E51 used to last for at least 3 days on a single charge. My current Android phone only lasts a day. Difference being that I am using a lot more data services than I did with E51. I would actually love if the phone operated on solar power when on move and on battery when on desk.

 

From Asia not America

A noted company has to take initiative and came up with a reference design for a personal Super phone: Like the IBM PC. That, this would rather happen in some part of Asia and not America is my hunch.

A reference design like Open Moko is a good starting point.



Update: Motorola just released an interesting superphone: http://www.engadget.com/2011/01/06/motorola-atrix-4g-hd-multimedia-dock-and-laptop-dock-hands-on/

Wednesday, December 01, 2010

some fun with C++

Was playing around with C++, and found that you can actually use a base class member function pointer to call functions defined in derived class. Round about way, but useful for implementing stuff like: http://en.wikipedia.org/wiki/Future_%28programming%29

Here is an example snippet:

#include ...
class Base {
public:
typedef void (Base::*WhoPtr)();
};
class D1: public Base {
public:
void WhoAmI() const;
};
class D2: public Base {
public:
void WhoAmI() const;
};
void D1::WhoAmI() const {
std::cout << "I am D1" << std::endl;
}
void D2::WhoAmI() const {
std::cout << "I am D2" << std::endl;
}
void run(Base::WhoPtr fptr) {
Base base;
(base.*fptr)();
}
int main(int argc, char **argv ) {
Base::WhoPtr func;
func = (void (Base::*)()) &D1::WhoAmI;
run(func);
func = (void (Base::*)()) &D2::WhoAmI;
run(func);
return 0;
}