Friday, April 16, 2010

Using JavaFX objects in Java code

Using JavaFX objects in Java code

The link above points to an amazing article regarding conversion of JavaFx objects for use in Java codes: a problem often faced by newbies...

Sunday, April 11, 2010

Importing H2 database in RapidMiner 5

Hi! Here's the configuration to import your H2 database in Rapidminer:



  1. Add the H2 driver to RapidMiner: Go to 'Manage Database Drivres' and configure it is follows: (The Jar file lies in the /bin folder of your H2 installation; give its path). Save these settings










  2. Now go to your process window in RapidMiner and drag the 'ReadDatabase' operator:

3. Click on it and add attribute values as shown in the image:
(database url is the complete url of your embedded database file). The default username in H2 is 'sa' without password. But, this won't work for RapidMiner since its mandatory to give some password. So, Create a new user with some password using the 'CREATE USER' sql command. In my case, I created a new database user called 'user1'.

4. Once this is done, restart RapidMiner for changes to take place. Do not forget to save your process when RapidMiner prompts you to.

5. Now, Click on Build SQL Query. You'll see something like what is shown on left. Select the table you want to read (just click on the name of the table and the select * query will be generated) and click OK

Tuesday, March 16, 2010

Google Says There Are Now 30,000 Apps In Android Market

Google Says There Are Now 30,000 Apps In Android Market: "

At the most recent Mobile World Congress, Google CEO Eric Schmidt revealed that the company's partners are now selling over 60,000 Android handsets on a daily basis. With that kind of growth rate, it's no wonder that the size of the Android Market is increasing in its slipstream.

While Google doesn't publicly show how many apps there are in Android Market, a Google rep this morning informed me that the store now serves approx. 30,000 apps in total.





"

Restoring Ubuntu 9.10 in GRUB menu after a windows install

It becomes a bit tricky in Ubuntu 9.10 to rewrite MBR because of the newer version of GRUB: GRUB 2. You can follow the steps here, its pretty straight forward.:
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

Following this procedure,  you'll recover your Ubuntu system. Incase there are any discrepancies in your Windows system, updating grub from your native ubuntu (the one on your hard disk) might help

sudo update-grub

Sunday, January 24, 2010

Interesting way of presenting

I found this interesting presentation on Python cross-platform apps, and I found more interesting is the 'way' it is hosted: Simple, Keyboard controlled navigation and FAST !