Posted on July 27, 2006 by awmanoj
main(){char*p=”main(){char*p=%c%s%c;
(void)printf(p,34,p,34,10);}%c”
(void)printf(p,34,p,34,10);}
First and second line contains a ‘\’ at the end for continuing the line. There is some problem. It does not get displayed properly.
Filed under: technical | Leave a Comment »
Posted on July 26, 2006 by awmanoj
Downloading the Linux kernel 0.0.1 was a wonderful learning for me as I could see the basic code structure of ‘now’ a highly advanced and huge code base. A very basic scheduler, very small code for init routine and infact for every module and yes (very) basic code for panic – see [...]
Filed under: technical | Leave a Comment »
Posted on July 17, 2006 by awmanoj
Visited kernel newbies this morning and as advised there, few minutes back, I downloaded linux kernel 0.0.1 to see a basic linux kernel. Its around 10K LOC of C and Assembler code.
[root@localhost kernels]# tar -xvzf linux-0.01.tar.gz
linux/ linux/Makefile
linux/boot/
linux/boot/boot.s
…
…
[root@localhost kernels]# cd linux
While I am going to have my date with this historic version of linux, [...]
Filed under: technical | Leave a Comment »
Posted on July 13, 2006 by awmanoj
what happens when we try to allocate 0 bytes memory using malloc() ? My assumption was that memory will not be allocated but see what happened ! I tried it on two operating system environments – Linux and AIX (whose behaviour I heard is different from ‘default’) following is the linux [...]
Filed under: technical | 2 Comments »
Posted on July 13, 2006 by awmanoj
In the need of creation of a database and a way to add an interface for interaction with that, today I learned how to work on MySQL.
Also got to work at Perl DBI for interaction with MySQL. Database access steps are similar to those in other languages:
for using MySQl, go here.
once your [...]
Filed under: technical | 1 Comment »
Posted on July 11, 2006 by awmanoj
completed the book on Perl that I started yesterday (Picking up Perl – ebook). Learnt about Arrays (lists), hashes, regular expressions (seem powerful) and some functions. Also learnt the way to write subroutines in Perl (Never used subroutines although I have done a ‘lot’ of programming on Perl including an open source project coocle v1.0 [...]
Filed under: technical | Leave a Comment »
Posted on July 10, 2006 by awmanoj
I today switched from http://awmanoj.blogspot.com (not exactly ..) because I found wordpress better in several aspects -
categorization support
use of validated HTML
simple and elegant looks
anti-incumbancy factor
I should start right away the topic I started the blog for. I learnt few things today:
started with Perl. I have done programming in this language but did not get systematically into [...]
Filed under: general, social | Leave a Comment »
Posted on July 10, 2006 by awmanoj
Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
Filed under: Uncategorized | 1 Comment »