James Gosling and Java

April 18th, 2010 Krishna Kishore No comments

From the time James Gosling resigned I started wondering what is he going to do next ?  What is so special about James Gosling ? Why is so special about him ?

I don’t just consider him as the father of Java, I believe he is one of the most influential person in programming world. Not every body who know software industry may know about him, but he is very popular and famous in the world of programmer’s. I have no doubt he must have fans. If I touch any part of modern internet world there is a role played by Java directly or indirectly.
Java, Javascript, browser programming, web applications, frameworks, Enterprise apps, cross platform UI, and many new programming languages were directly or indirectly influence by Java, ex:- C#. Even if Java fade with time the concepts ( for example Garbage Collection) popularized by Java will be alive for long long time. James Gosling directly or indirectly played a important role in the creation of modern world. He will be remembered and respected for longer time than Larry Elision.

I am extreme curious to know what is he going to do next ? he may go to science projects, where his involvement will be more meaningful for the society, OR he may go join another company like Google or IBM and may even drive opensource Java with a different name. If he really do that, I believe father of Java is famous enough he can attract the masses and pull the followers of Java towards his new creation.I believe by joining a tech loving companies like Google or IBM  he can influence future Java more than what Oracle can do with just the name”JAVA”.

James Gosling, Thank you and your team (each member of your team and SUN) for creating Java and changing the world. What ever the task you take up next, I wish you Good luck.

-Krishna Kishore

Categories: Java Tags:

Google Chrome and Browser market

April 12th, 2010 Krishna Kishore No comments

Yesterday I was thinking about what will be the future of Browsers ? Which browser is going to dominate the internet ?Even tho Google Chrome came late, I believe they did the right thing, for such a big company which is solely relying on internet, not having their control on browser is big drawback, I strongly believe Google Chrome is going to be dominate player in the future browser wars.  As Microsoft also fights tough,  IE will surely be in the market, so where is  Google Chrome is going to get the market share, I believe Chrome going to eat Firefox share. Even tho Google is a commercial company Google don’t have the kind of hatred as Microsoft. With all the money Google going to improve Chrome much faster. After Google entered the browser market, things getting fast and serious, many improvements, and that too quickly, I doubt Firefox can adapt so quickly to the demands of latest browser features.

And it is already proved that, the one who controls the Browser is the one who is going to control the Internet. After 3,4 years, with super fast browsers, which can run  Javascript like a Java code,  many more applications going to be web applications, there are already many applications on the Internet, but I don’t think it is already possible to have a full-fledged MS Office kind of applications inside the browser, I have used ZohoThinkFreeGoogle Docs and others. But non are soo professional and efficient, may be good for basic Doc work, not a true equivalent to native Office. When browsers get to the level where we can’t distinguish  features and performance from Native application to web application, it is all going to be different Internet world.

Categories: Uncategorized Tags:

iPad and its clones going to change the world.

April 6th, 2010 Krishna Kishore No comments

I strongly believe iPad and its clone’s going to change the world how people going to use computers. iPad is technically not a big change, we previously had touchscreens, tablet PC’s. But iPad is brining easy of use, very very comfortable way of browse Internet,read stuff, watch movies.  Common man is going to feel lot comfortable with iPad than with computer, at a very entry level s/he don’t need to learn how to use mouse, take an example of ATM machine’s, my father is very comfortable using a touchscreen ATM than a browser based Internet banking site. I believe it is this little comfort which makes people tend more to iPad than a PC. And that is the mass common man who dictate the success or failure of an product, not the geeks alone. iPad is going to remove that one big barrier of computer complexity to common man, just touch and go where ever u want to.

And iPad is going to be more success than its clones for one more reason, it is not just the comfortable, hand-holding touch screen device which makes iPad very unique, it is also the way applications designed(user interaction) on iPad, Apple knows this user experience thing like no other company. They look at the way common man looks at computer’s. This is the one principal which Steve Jobs believed from starting, and this is the one which mad Apple successful. The lack of technical knowledge is highly desirable for leading a group, because once a person becomes techi, it is highly unlikely that s/he wont get biased by technical features, the ability to see things like a layman is lost once a person is transformed into geek. its not the number of features which makes a product attractive, in long term, it is the easy of use, straight and guessable  is the one which makes you attractive and comfortable and successfull.

Categories: User Interface & Interaction Tags:

My Glossy Image Collection

February 5th, 2010 Krishna Kishore No comments

Some people collect Coins, some collect stamps, I collect cool application UI images and Icons images. I have over 3000+  UI images and glossy image icons in my system.  It is very difficult to explain what kind of pleasure I get by them, I spend hours browsing through them and coding how to make them animated, visual effects,  etc. Most of the time I get inspiration for new UI idea’s. My current hobby is trying to create these effects using JavaFX. Below are a small set of glossy icons I use as my wall paper.

Categories: Cool Pics, Java, JavaFX Tags:

Growing Plant Animation in JavaFX

February 3rd, 2010 Krishna Kishore 1 comment

This is how I implemented plant visual effect:

Unfortunately current JavaFX(1.2) version doesn’t support converting a node to Buffered Image. Without this feature, not only it is difficult to make complex visual effects, it is difficult to develop an application like paint brush and photo editing software in JavaFX.

I took the following approach to show the plant grow effect,

1)      Create a CubicCurve object.

2)      Get all X,Y points on the cubic curve (CurvePath class http://forums.sun.com/thread.jspa?threadID=5363171 ).

3)      Start a Timeline, and link it to a function, so that everytime timeline changes this function (ex:-  addAPoint() ) is called.

4)      On each call of this addAPoint() method insert an extra LineTo object into the scene.content.

This will not give a smooth curve effect, as each time it is adding a line between two points, we can’t get an ant-aliasing smooth curve, to make it look smooth, I inserted all lines into group and applied the Gassien Blur effect on the group. This will blur the edges and give the smoothness.

If you need to increase growth speed, insert more lines on each function call.

You can download my complete netbeans source here (Note: There is lot of unnecessary logic in the source).

Categories: Java, JavaFX Tags:

My Experiments with JavaFX

January 31st, 2010 Krishna Kishore 11 comments

I am working on Java Swing and Java2d since 2000. When I first heard of JavaFX (that time it was called F3) I was excited,  as writing special effects and UI Animation’s is very difficult with pure Java. Once I tried F3 language I got confused, syntax was strange, language was very different from Java.I wished SUN must have taken Groovy and added the Animation and Scenegraph functionality to Groovy.

Now after JavaFX1.2 release, I tried again installing and writing few example apps,  writing complex special effects or writing Animation code in JavaFX is very simple. In a very short time I am able to produce complex visual effects which previously took days to create in Java 2D.

I am using Netbeans 6.8 and Inkscape 4.7 for creating Vector images.

Check out the following Animation, My primary interest in creating this Animation is to learn JavaFX Script, I have not optimized it for performance or start up time.

As I am experimenting, there is a lot of unnecessary logic in the source, in my next two blogs,  I will write about the plant growing effect and wave effect.

You can click on it and create more plants.

Java Web Start (save this Java webstart JNLP file and run it)

Java Applet

Categories: Cool Pics, Java, JavaFX Tags:

The Blind Watchmaker – by Richard Dawkin’s

July 20th, 2009 Krishna Kishore No comments

I am currently reading “The Blind Watchmaker” by  Richard Dawkins. I consider this is one of the best book I read in my life. I understood Darwin’s theory of Evolution from long back, but the specialty of this book is the style of Richard Dawkin’s explanation of Evolution with proper question’s and clear example’s. The example given by Dawkin’s for the Evolution of ‘Eye’ and the role of Time in the Evolution, and place of Randomness in Evolution are very good.

I still wonder the way great mind’s like Newton, Einstein, Darwin predicted about nature.  Science is a great thrill, I thank my friend Pramod (Prof at Michigan) for introducing and explaining me such great wonder’s of the nature.

If you are reading this book, you may like to see the following Java Applet demonstration of Insect evolution.

http://www.phy.syr.edu/courses/mirror/biomorph/

Categories: Science & Philosophy Tags:

KWT Widgets

July 13th, 2009 Krishna Kishore No comments

Long back (I guess in 2006) I implemented basic UI Widgets using Java AWT. That time I felt SWING was too heavy and something like Thinlet is needed. So I implemented complete widgets in Java using AWT 2D Graphics. That time I also had plan to use these widgets for JNode OS.  As Yahoo Geocites are closing I thought to move my code to my own site. Here is a screenshot for my widgets.

KWT Widgets

KWT Widget's

Click this link to see KWT Widgets in action ( You need Java 1.2 or above). I know that its buggy, I stopped working on it. I don’t feel any need for it.

Categories: Java Tags:

Android SVG’s

November 19th, 2007 Krishna Kishore 1 comment

Today I was playing with Inkscape trying to create Glossy looking Android Icon’s.

Here is one Android Logo ( SVG  format)

Some Glossy Android’s  (Use as you want, no license, no condition’s, I will be happy if you let me know where are you using these)


SVG file for these Androids.


Categories: Cool Pics, Uncategorized Tags:

Some Cool Tux Icons

November 19th, 2007 Krishna Kishore No comments

Tux

Categories: Cool Pics Tags: