ranjan's techblog

February 28, 2008

Processing : Crazy Programart

Filed under: Geek Stuff — ranjan @ 11:31 am

I can keep looking at these videos for hours. What these guys have created is pure art

and I love the fact that it’s been created by programming in Processing that runs on top

of Java WOW.

Checkout these videos on Vimeo .
By Simon

Untitled from Simon on Vimeo.

By blobshift

blobshift from lennyjpg on Vimeo.

This what happens when good open source ideas come together.
As against some proprietary Flash technology in which you can never achieve these effects.

February 19, 2008

Net4India and Indiaaccess eats up my domain

Filed under: Geek Stuff — ranjan @ 9:15 am

I registered my domain name with Indiaaccess which it got registered through Net4India.

I needed to transfer my domain name and when I contacted Indiaaccess they never replied or gave me

wrong telephone support number. After many angry mails I got information that Indiaaccess registers

domains through Net4India and Net4India is not responding even after raising a priority ticket.

AND AFTER SOME TIME MY DOMAIN NAME WAS GONE.

These guys have absolutely no concept of after sales support and people with corporate

domain name could loose their domain just like that.

 I know there could be many arguments, but this is my case here.

October 10, 2006

AJAX Demo : Simple , Cross Browser

Filed under: Geek Stuff — ranjan @ 2:17 pm

Please follow this link to see Truly Cross Browser XMLHTTPR

AJAX Demo : Simple , Cross Browser & Beginner Level

  • Simple hello world code ( Tested on Firefox and IE ).

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<script type=”text/javascript” language=”javascript”>

var http_request = false;

function makeRequest(url) {

http_request = false;

if (window.XMLHttpRequest) { // Mozilla, Safari,… code

// checks Universal Browser Read for Netscape family browser
// furthur info
//http://www.captain.at/howto-ajax-permission-denied-xmlhttprequest.php

try {
netscape.security.PrivilegeManager.enablePrivilege(“UniversalBrowserRead”);
} catch (e) {
alert(“Permission UniversalBrowserRead denied.”);
}

// creates XMLHttpRequest for Netscape family browser

http_request = new XMLHttpRequest();
if (http_request.overrideMimeType) {
http_request.overrideMimeType(‘text/xml’);
}

// creates XMLHttpRequest for IE

} else if (window.ActiveXObject) {
try {
http_request = new ActiveXObject(“Msxml2.XMLHTTP”);
} catch (e) {
try {
http_request = new ActiveXObject(“Microsoft.XMLHTTP”);
} catch (e) {}
}
}

if (!http_request) {
alert(‘Giving up :( Cannot create an XMLHTTP instance’);
return false;
}
else{
window.alert(“welcome http_request object created”)
}
http_request.onreadystatechange = alertContents;
http_request.open(‘GET’, url, true);
http_request.send(null);

}
//———— if there’s is a problem
function alertContents() {

if (http_request.readyState == 4) {
if (http_request.status == 200) {
alert(http_request.responseText);
} else {
alert(‘There was a problem with the request.’);
}
}

}

//————————-

</script>
</head>
<body>

<input type=”button” name=”button” value=”create XMLHttpRequest Object”
onclick=”makeRequest()”>
</body>
</html>

August 9, 2006

Kubuntu on IBM Laptop R51 .

Filed under: Linux — ranjan @ 5:35 am

I installed Kubuntu ( ubuntu with kde ) on my laptop IBM R51.

and i was totally SURPRISED .

  • The ease of installation .
    • pop in the cd .
    • boot from cd/dvd drive .
    • it installs a live demo version .
    • after you login it installs full version from desktop ( with an icon click ! ).
    • 20 min for me .
  • Wonderfull desktop with preloaded apps.
    • Standard office OpenOffice .
    • Mozilla fireFox browser .
    • everything else ( photo editing , media players ) .
  • What i totally liked about it .
    • Wi-Fi works .
    • Hibernation and special keys on laptop works .
    • Flash drive , windows drives Automatic mount-unmount .
    • flat 20 min install . ( yes ) .
    • single CD install .
    • great package manager.
    • OUT – OF – BOX kind of OS .
  • What sucked .
    • No support for MP3 files ( not really ubuntu’s fault get it from apt ).
    • No support for RPM packages ( this one should be there ) .

August 2, 2006

Java IDE’s : My Impression .

Filed under: Java — ranjan @ 1:56 pm

First and foremost .

There’s no point in learning an IDE ( or anything ) that’s not opensource ! .

( Java is soon going to be open sourced ).
why ?

As IDE’s aren’t just IDE’s but also have RCP. Wherein you could use

lot of IDE’s features ( File->open; etc ) in your own apps and sell it too,

and make money.

I’m working in Fujitsu Consultancy.

I in the course of 1 year tried three IDE’s and their numerous avatars.

1. Eclipse.

2. Netbeans.

3. Intellij.

4.JBuilder. ( haven’t used much ).

4.JDeveloper.

My Impression :

1. Eclipse :

1.1 . strong industry support. ( SAP , Oracle etc )
1.2 . callisto project looks promising.

1.3. Great RCP support.

1.4. Numerous plugin’s and extension. ( EXADEL ) for frameworks.

1.5. Good for platform specific app scenario.

2: NetBeans

2.1. Extreme productivity. ( Desktop app, mobile app, web app ).

2.2. Top technology features( SOA, UML, BPEL ).

2.3. Robust RCP , Pure java advantage.

2.4. Things run out of box .

2.5 Extremely good flash tutorials and demo.

2.6. Great Mobility pack and enterprise pack .

2.7 Good support for frameworks.

3 Intellij

3.1. Brilliant piece of work but closed source.

3.2. Great general purpose editing features and code assistance

but no big thing ( no struts support ( only in 6.0 ).

3.3. No new technology integration like BPEL, SOA etc.

I think NetBeans is best.

But Eclipse is catching up in terms of Integration productivity( linking a web , desktop ,

mobile app to SOA kind of thing with click of a mouse– netbeans has it ).

November 30, 2005

Dim dumbUser As Microsoft

Filed under: Uncategorized — ranjan @ 7:45 pm

Perhaps you ‘ve read too many blogs of how Linux outshines Windows in so many areas that even at this time of eclipse we are able to see the diamond ring of Linux.

But I don’t agree to this fact, i say that it’s not upto the OS or Application but it’s upto Consumer. If the Consumer is dumb as far as computer’s is concerned don’t ever in your wildest of dream suggest Linux OS or Solaris to him. He would come back to you saying what the f* with this all root,boot and swap, and your impression would be, like mine ‘ve been what got me to suggest this to him.

I was a window user ( when i didn’t knew how to shut down and instead of shutting down i used to power down directly ), but i was also a dumb user. Today I can do so much on Linux without fear, with so much performance from my Compaq Presario P3 that I am happy.

But OpenSource/Linux is not just about an OS or Application for the first time in the history of mankind and computers a group of people created something so Unique that it’s providing cheap computers in Africa, India, China, Thailand and Job Oppurtinities in traditional Linux/Unix markets and IS taking on Microsoft.

For the first time, You who has the time to read this blog ( doesn’t mean anything derogatory ) can create a business out of it, and create Local Wealth from it for your community and Country,

as there no PATENTS issue involved in OpenSource, all the money goes to you and not some company

.

Every dumb user ( including me ) starts with Windows OS and slowly he stops being dumb and outgrows the OS and then he finds his/her match in Linux/Unix domains and leaves wearing diapers.

There is a Buddhist story that i would like to narrate here…

———————————————————————————————-

Once there were two thieves, and they heard that in the next village due a great flood, the people ‘ve abandoned their houses and belongings and had fled to higher lands for safety.

So it was unto these thieves to collect all that was left over in that village, so they went to that village.

They both came across some haystack and they both collected it and mounted it on their head and went ahead. Later on they both came across some nice clothes so the first thief brought down his haystack and replaced it with clothes, the other said hey i’m pretty comfortable by now carrying this burden and so i will skip this and go on with haystack.

Next they came over some silver, the first thief again replaced the clothes that he was carrying with the silver and the other thief again said about comfort and stuff.

Next they came across some gold and same thing happened.

At the end of day they went back to their village only to find that the thief who always replaced the stuff on his head with something better was liked by his family and himself( which is good ) and other was despised by his family and himself ( which is normal and bad ).

Moral : Always replace something that you’re using by something that’s better out there. Don’t stick to

it just because you ‘ve become comfortable with it ( in this case Windows, replace it with Linux—- Greatest feature for me –Not Having to reinstall OS in the last 4 months while connected to Internet and not a single VIRUS ) .

P.S

I wrote this on StarOffice8( FREE) on Fedora Core 3 Operating System (FREE ), as I am scared of Formatting features of the Microsoft Word on top of that frequent crashes on Microsoft Windows XP.

November 27, 2005

Damn Computer Science

Filed under: Uncategorized — ranjan @ 5:45 pm

First let me tell you who i am.

I am a graduate from Pune University, India and majored In Computer Science.

When i choosed computer science ( CS ) four years ago i choosed it for the love of it and also for the fact

that i will get a better job opportunity in India. Alas it wasn’t meant to be. Today I felt this, I am doing a course at PICT-SITM ( for placement purpose off course ) and i was being taught EJB, for those who don’t know what that is please stop reading this blog and go somewhere else.

I was surrounded by non engineers and specially people of non IT background, and i was being taught by an B.E Electronics graduate.

You might say this is good but i don’t agree. The amalgamation of the fields of Engineering fostered by the Great Indian IT Industry whose sole purpose is not to create and promote technology but to sell whatever the US or UK clients demands at prices that would be pitied in those country.

I mean you don’t go to pathologist when you need orthopedic, but in this case you certainly do.

I’ll explain you the whole scenario.

In India there was a huge demand for Computer Science graduate as the new core Computer technology wave came into this country, i am talking before the great bubble. But after bubble equation s of the game changed and so called OUTSOURCING phenomenon came into picture. It merely means that US and Europe sub contract their software projects to India because it’s cheap labour and plenty of English speaking army of graduate as compared to China.

After OUTSOURCING came into prominent focus with companies becoming billion dollar industry.

Leading in the forefront is Infosys, Tata Consultancy, Persistent, Cybage etc etc.

These companies are software solution provider and they started to recruit Engineers from other streams such as like Electronics, Mechanical, Polymer you just name it and THEY GOT IT.

Except they recruit Computer Science Engineers the least. I hear people who have done who’ve studied Agriculture are now earning Rs 60,000 that’s $1200 per month ( that’s good amount of money here in India ) just after doing a course of Visual Basic, or doing something based on Microsoft Technology.

Damn Microsoft for making this field trivial and full of shit. If anyone of you are listening please download and install linux operating system from Red Hat Fedora ( Google it for links ) and try it out You can have it along with windows OS. For the sake of future and our children support Open Source.

None the less majoring in Computer Science bacame non fruitfull ( oh ! those night’s and night’s of UNIX, C, C++ and JAVA Programming ).

I along with my batchmates some of them of good potential ‘re still looking for promising jobs ( not in BPO. ) but as the trends are that seems unlikely possible.

If you ‘ve somebody who is interested in majoring in Computer Science stream warn him of these treacherous time that will follow and tell him to major in other streams or take law for instance.

There’s no glory in Computer Science stream, there’s nothing poetic about it.

P.S

I wrote this on StarOffice8( FREE) on Fedora Core 3 Operating System (FREE ), as I am scared of Formatting features of the Microsoft Word on top of that frequent crashes on Microsoft Windows XP.

November 22, 2005

Homage to THE BUDDHA

Filed under: Spirituality, Uncategorized — ranjan @ 7:08 pm

Buddha

This is my first blog ever and pay my respect to the Buddha, so we all live mindfully and wakefully in life.

« Newer Posts

Blog at WordPress.com.