First business: Bad Experience

Here I want to share the first and the only business I got into ever. I lost money. Lot of it (for me!). It was a sunny sunday morning when I read about making money sitting from home and I instantly ordered the education kit for the same. Among the many money making ideas were [...]

Template PressRow by Chris Pearson

I changed my template today. I am loving this new look of my blog. WordPress Rocks !

Artificial Intelligence

An basic and introductory discussion on Artificial Intelligence . A nice read.
Discussion includes :
> A brief history of AI advancements
> What is Intelligence and Artificial Intelligence ?
> Is Strong AI  not ‘possible’ ?
> Achievements/Possibilities in Machine Learning.

WCHAN in ‘ps -l’

on Linux/x86, ps -l command gives a long listing. Field WCHAN in the listing caught my interest.
-bash-2.05b# ps -l
F S   UID   PID  PPID  C PRI  NI ADDR    SZ WCHAN  TTY          TIME CMD
4 S     0    21597 21595  0  76   0    -           1096 wait4  pts/2    00:00:00 bash
4 R     0   21677 21597  0  80   0    -            794    -      [...]

Rails: getting multiple selected values from selection box

I got stuck for last half an hour at ‘getting the values of multiple selected items in a muliple selection box’ using Ruby/Rails. Got it after hard ‘googling’ and got the solution here.
When trying to get multiple selected values from a <SELECT> tag into @params, call your parameter something with [] on the end. [...]

killer sign extension

Yesterday, I got to know clearly why you should not ignore compiler warnings without very strong reasons. Our price was a panic. what can be worse ?
Problem – missing prototype of a function.
Have you gone crazy ? How can that cause a panic ?
My function had actual signature like this
char * func(char *, [...]