Pointer Arithmetic (Basic stuff)

I was going through some old stuff these days and came across Pointer Arithmetic. I knew how it works ( or may be I should say I understand it but I was not exactly sure how it works). I decided to read it and started typing some examples. Really enjoyed it…

Scheme Set Implementation

So I made some progress through little schemer. I was reading through relationship chapter. It goes through Set implementation. I knew how Set works but have never actually written one. So this was a good opportunity to write one. I needed some helper methods from previous chapters as well. Again…

Learning Scheme.

So I started learning Scheme today. Amazing language. I am reading little schemer book. The best part is more than a language I learnt a lot about lambda calculus. I have always loved functional programming language but using scheme has convinced me to think about it in a different and…

Learning Path

I have purchased a lot of books recently. Most of them are technical books. But I never got chance to read most of them. I have decided to finish all of them within 2 years of time. I have also decided to share what I am learning. For now I…

Design Patterns

There are many thing in this. I will put it in some points. Again this is my opinion and what I have seen from my experience: First of all the most important thing is no matter what you decide in terms of using patterns, code style. It has to be…

Stay Up to date with Web :)

I had similar questions about 2 years ago. I would like to write what I have done to improve my skills not only JavaScript but as a programmer. I have read couple of books. I personally believe that reading a book is completely different experience and it helps you to…

Agile and TDD: It may not be what you think.

I am an Agile developer. I have had many many discussions with people who are not working on Agile and TDD or are new in Agile and TDD. Also People who hate Agile and TDD. The most important thing that has occurred to me is that people (including me sometimes…

Why I will never buy a PC(Windows) again?

I remember the day Apple or I should say Steve Jobs launched Ipod touch within Iphone. He said you can touch your music with your hands.  I loved it and I am sure most of the people actually felt it. Having lived in the PC world for about 10 years…

Meanings of Success.

Success has a number of meanings in this world. For some people its just money, others think it in the form of fame and their are very few of them who feel that success is being happy and satisfied. I have been in professional life from more than 5 years…

Copying CODE or BUGS?

Hi All, I have been working on various technologies and frameworks from past 5 years. I have seen copy and paste practice in most of projects specially when a developer is new to the technology or framework or project itself. Last month I started working on project using Grails. There…

Recursive function for finding factorial in Assembly Language

.type factorial [function](http://function.tiddlyspace.com/ "External link to http://function.tiddlyspace.com") .globl factorial factorial: pushl %ebp # Push base pointer address on top of stack for return purpose movl %esp, %ebp # Now we will be using %ebp as a for all operations on stack 1. subl $4,%ebp…

set/reset a bit using Assembly language!

section .data byte_data: .byte 0b01111111 # This is 127 in decimal... we are gonna make it 255 by setting the least significant bit. .section .text .globl _start _start: movl $0, %edi # set the index movb byte_data(,%edi,1), %al or $0b10000000, %eax # Result of OR operation will go the…

Making all bits false using Assembly Language

.section .data data_items: .byte 0b11111111 .section .text .globl _start _start: movl $0, %edi movb data_items(,%edi,1), %eax start_loop: shrl $1, %eax cmpl $0b00000000,%eax je exit_loop jmp start_loop exit_loop: movb %eax, %ebx movl $1, %eax int $0x80 …

Back to basics

I was reading a wonderful book Programming from Ground up by Jonathan. It reminds me old good days about assembly language on Dyna Microprocessor kits.  I thought about writing some points from that. Let us start reading about the Computer Architecture: Have you every thought when you type something on…

You and Your dreams(A note to myself!)

It is hard to understand and hard to analyze what YOU want from YOUR life and what YOU wanna be in life. Every one has a goal and every one is working for that goal in their respective life. May be YOU are working hard. There is no doubt about…

Introduction to Android

Couple of days ago one of my Friend told me that he is working on Android. I know its nothing new but why everyone is using android these days??  If you look at your GMail friend list you will see that there are some icons of Android as status of…

Coding guide lines for variable names

Here are some coding guidelines about using meaningful names in the program. Most of them are taken from from Clean code book Choosing good names takes time but saves more than it takes. Use Intention-Revealing Names The name of a variable, function, or class, should answer all the big questions…

A Note on Sencha(Extjs)

It is almost 4 AM in India and after reading about one of the best or I must say one of the most powerful JavaScript libraries. I couldn’t stop myself from writing a note about the features of that library. EXTJS as name says extended JS is a complete…

BIRT: Making internationalized reports

BIRT is widely used as a reporting tool in business intelligence projects. These days every client has a very first requirement that application must be multilingual. They want their customers to see application in their local languages.  Java provides great features to make an application multilingual. We have used BIRT…

Object A....present sir!!(Proxy object ;))

  I was really busy in last few days working on frameworks like spring and hibernate. While working on that I realized that like Java is a heart of Web development these days. Proxy pattern is also heart of these frameworks that creates objects at run time and map DB…

Motivating self at de-motivating place!

Infrastructure, People around you and off course the kind of work you are doing   has a big impact on your enthusiasm and self motivation. Generally this happens during a job change or a project change in companies. It is possible or I must say it happens most of the time…

Crash course of Java RMI

Here is a simple crash course of RMI api provided by Java. RMI is basically implementation of Remote Procedural Call It differs from CORBA which is used for communication between two different languages. These days we have a new implementation of RMI which is RMI/IIOP (RMI over Internet Inter-ORB…

FaceMash algorithm from Social network movie.

Hi All, I saw social network movie and next day when I was discussing this movie with few of my colleagues we were thinking about the algorithm which Mark had taken from one of his friend who use it for Chess game. If you have seen that movie you will…

My Poetry/Songs

[youtube=http://www.youtube.com/watch?v=cbbDjSlAiyY]…

Building simple WYSIWYG editor(Coming Soon!!)

Coming Soon!!…

Java Exceptions...expecting the unexpected(Coming soon!)

Coming Soon!!…

Have a Bite of Bytecode!!

This topic is very different from other Java topics.  I am sure a lot of developer think that why should I learn about byte code at all. Well I can give only two reasons of that (1)    Either you are a Byte code engineer for example using a library like…