Skip to main content


Showing posts from June, 2007

Project Semplice - VB for the Java Platform?

I came across a new project by sun people called "Semplice", which they claim as VB for the Java platform.

If it is true then the advantage of the Semplice Basic is,code from semplice will be compiled into Java classes, you get the benefit of "compile once, run everywhere".

Good Competition for .NET Framework by microsoft.

Check these for more info

Saving power while googling

Recently i came across a website called Blackle, which claims to reduce the power usage by using black background for its website, which is powered by google custom search engine.

It claims that google's white background consumes more power so in order to reduce the power usage they have hosted a google custom search engine with black back ground......

Nice steps towards saving power while googling........

Happy Blackling...............

Matrix Reloaded?

I love gadget, technology, protocols, anything and everything.I keep thinking things for no reason. When I saw matrix I wasn't exactly watching a movie, my brain was relating all the things I have ever done and learnt till now -- programming, coding, AI, database,Philosophy watever! My brain was combining the things together to come to a conclusion that yeah Matrix is real. Thanks for MATRIX movie that is surely ignites many philosophical questions.

We all have experienced a pulse which asks us whether we are a part of world or not... i mean you blink eye and you think "Why am i doing it? Its all going to end one day? etc " that feeling that makes you experience the NULL(the Emptyness), what is it? Well that thing makes you believe rather YOUR BRAIN believe that yeah, I am nothing... VIRTUAL REALITY rite? or you want to say REAL VIRTUAL REALITY! We all have seen virtual games, spcl effects etc... if our mind can actually think it is real why cant WORLD BE UNREAL?

Observe …

Crashing Windows XP Manually

Method 1
You can crash windows xp system by simply holding the right CTRL key and pressing the "Scroll Lock" key twice." So you can have fun playing pranks on people by enabling this feature, I figure its for developers to test how things work when the system crashes, now you can crash it on the fly by enabling the feature described in the link.

1. Start regedit(to edit registry).
2. Navigate to:
3. Create a new DWORD value and name it CrashOnCtrlScroll
4. Right-click on this newly created value and click on Modify
5. Enter 1 in the Value data field and click on OK.
6. Close regedit and reboot your system.
7. Now you can blue screen (crash) your system by holding the right CTRL key and pressing "Scroll Lock" twice.


Your system may reboot or show a blue screen whenever this crash is initiated. If your system reboots after initiating the crash, and you want to see the blue screen, follow these s…

Cannot create Windows folder con?Here is the reason

It was discovered that nobody can create a folder named as "con"(also com1,lpt1, in windows.
This is something pretty cool...
we cant create a folder named CON, NUL, COM1, COM2, COM3, LPT1, LPT2, LPT3,COM1 to COM9 and LPT1 to any of the windows operating system because folder named con and others are system variables.

HINT for search: recall the old MS Dos "Copy con" command, and COM1 etc are port names...

Mysql service Error 2: the system cannot find the file specified

Yesterday i tried to work on Mysql, but found that the mysql service was not started so i tried to figure it out the problem, i started the service from services mmc in windows xp i encountered an error: "Error 2: the system cannot find the file specified".

I googled and didn't find solution to that problem so i decided to find it out by myself.i checked my.ini file and also checked all the files in side bin directory then i found out the solution.
the file name of mysqld-nt.exe was renamed to mysqld-nt.exe~ i renamed it back to its original name and solved the problem. Hope this information is useful to others searching for this problem.

IsNumeric Javascript Validation for Numerals

Inside u r Head Tag in HTML Page u insert the following code

function IsNumeric(strString)
// check for valid numeric strings
var strValidChars = "0123456789.-";
var strChar;
var blnResult = true;

if (strString.length == 0) return false;

// test strString consists of valid characters listed above
for (i = 0; i < strString.length && blnResult == true; i++)
strChar = strString.charAt(i);
if (strValidChars.indexOf(strChar) == -1)
blnResult = false;
return blnResult;

And to check whether the input box has numerals or not use follwing code

alert("Enter Mobile Number.")
else if(IsNumeric(document.frmReg.MNumber.value)==false)
alert("Enter Only 10 Digit Mobile Number.")

Adding Google Maps to your site

With Google Map API its easier to add maps to web sites. Recently i was working on it and found it very simple and easy to add. Following steps will help you to add maps.

Step 1. : Register with Google( to Get a Key.
Step 2. : Add the following script in Head tag of the HTML Page

src="" type="text/javascript">

Step 3.: Add a div tag as shown below inside body tag

<div id="map" style="width: 400px; height: 500px;"></div>
(this div will display the map)
Step4.: Add the following code to your body tag

<script type="text/javascript">
var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.setCenter(new GLatLng(12.9484,77.5688), 16,null);
var marker = new GMarker(new GLatLng(12.9484,77.5688);

Form validation in non IE browsers

Learnt a new thing today:- Ever tried using Form Validators on a form which would be opened in a Non MS IE browser?
You will be surprised to see that the client side validation doesn't work even though you have set cleintvalidation to True.
Only the server side validation work for Non MS IE Browsers.The reason for this is because of the way the validators are built up.To start with,by default ASP.NET is configured to send HTML 4.0-compliant HTML to only Internet Explorer, and sends HTML 3.2-compliant HTML to all non-Microsoft browsers, even though modern, non-Microsoft browsers such as Netscape 6.0+, Mozilla, Opera etc. can handle HTML 4.0.
This can be taken care of by changing the configuration in the Browser Caps section of the config file.But one thing that still creates a problem for client side validation is the way the client side script is renedered on to the page.
Using the Browser Caps settings the HTML 4.0 compliant HTML will be rendered onto the page but inspite of this th…

Einstein Brain

Source :

Photographs of Albert Einstein's brain, taken in 1955. The original caption indicated that: "A, superior; B, left lateral; C, right lateral; D, inferior; E, midsagittal view of the left hemisphere. The arrow in each hemisphere indicates the posterior ascending branch of the Sylvian fissure as it runs into (is confluent with) the postcentral sulcus. Consequently, there is no parietal operculum in either hemisphere. Scale bar, 1 cm."LicensingSource: Witelson, Sandra F; Kigar, Debra L; Harvey, Thomas, "The exceptional brain of Albert Einstein", Lancet (19 June 1999) 353(9170): 2149-2153, figure 1.This image is copyrighted. The exact copyright holder is not indicated in the above article, but it is likely held by one of the above researchers, their research institutions, or the journal. It is believed that its use on Wikipedia to illustrate the article Albert Einstein's brain falls under the fair …

Google Image search and Face Recognition

Now you can make use of Face recognition Technology while searching images in google. Google has purchased a company called Neven Vision, their technology helps google to automatically extract information from a photos and helps in detecting whether or not a photo contains a person, recognizes people, places, and objects.

I did a search with key word "Einstein"( link is :
You will get some images with einstein letters and black board. But if you add "&imgtype=face" at the end of the above link and search you will get only Einstein faces.

Enjoy Searching with another nice feature of google.

Enabling InnoDB Support in Mysql installed with XAMPP

Recently i installed XAMPP in my system to work on a project. I was creating a table with a foreign key in it,then i came to know that InnoDB Engine is not enabled and i tried to find how to enable it but i didn't get a clear info at one place so i thought i can share it with the rest of the world.

Here are the steps to enable it.

1. go to xampp directory installed in program files and then open mysql\bin folder.

2. Open the file with the name my(my.cnf) in notepad, actually its config file which has an icon of a computer with a globe at the back side.

3. Comment the line


4. Uncomment the following lines

# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = C:/Program Files/xampp/mysql/data/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = C:/Program Files/xampp/mysql/data/
#innodb_log_arch_dir = C:/Program Files/xampp/mysql/data/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too…

Interesting Article found by Matt Gullett.

Source :

The Standalone Programmer: Innovative Software Development
By Matt Gullett.

IntroductionHave you ever noticed that sometimes a single programmer (or very small team) can accomplish more than a large team? Sometimes it seems that large teams are totally unable to meet deadlines or when they do, they deliver mediocre code. Why is this? I believe that the reason for this is that software development is very different from most other jobs within most companies and most companies do not recognize this. Companies have become very good at mass producing everything from textiles to jet aircraft. The obvious thing to do is to create an assembly line and place people (workers) at various strategically chosen places on that line. Each worker is responsible for a specific task and quickly masters whatever that task is. This mentality has proven problematic in fields where innovation and talent are key. Consider innovative w…