Links Clean up


I have just cleaned up my links. Many of the links were what I used to read every day and now most of them are either inactive or block. The world is changing so fast. I used to remember the times where blogging is part and parcel of many people’s life. Now things have changed. It is mostly Instagram. I still prefer to read and people’s thought and life than just pictures but well, just have to get on with life.

Advertisements

Dreams


I just remembered that I have this blog which I have been blogging since 2006? Wow, this is like a cool 13 years ago. I am not sure how many more years will this still be around. I don’t think that I will be writing here often, but I do come back regularly to read through what I wrote over the years. It feels good to have some flashback of what I went through during those times.

And one thing that I did regularly was to have a dream list. Most of the things that I write down, I actually got them, or it does not matter anymore to me. So I thought it will be interesting to list down the things that I want. I have actually grown a lot over the years, and material things do not actually matter to me as much as before. But still, it will be fun to have a wish list. Who knows, I will have them.

 

Talyor guitar

Image result for taylor guitar

 

BARATZA 270

Baratza Sette 270.jpg

Alienware laptop

Image result for alienware laptop

Ipad Mini

Image result for ipad mini

 

How does a compiler turns your source code into executable?


Suppose we write a C program as two files p1.c and p2.c. 

We can then compile this code on an IA32 machine using a Unix command line:
unix> gcc -O1 -o p p1.c p2.c

Your compiler actually invokes a sequence of programs to turn your source code into your executable.

1. C preprocess expands the source code to include any files specified with the #include command and to expand any macros specific with #define declarations. 

2. The compiler generates assembly- code versions of the two source files having names p1.s and p2.s

3.  The assembler converts the assembly code into binary object-code files p1.o and p2.o. Object code is one form of machine code—it contains binary representations of all of the instructions, but the addresses of global values are not yet filled in. 

4. Finally, the linker merges these two object – code files along with code implementing library functions(e.g., printf) and generates the final executable codefile p.

Happy New Year


Happy New year everyone! I know I am late for my greetings. 10 days to be exact. 2014 will be exciting. My final two semesters in school. I have some plans on what I want to do but no plans have been cast in stone yet. I will try to update more often. Have a great year! 

Band


Did I mention that I used to be in the school band during secondary school? I used to hate it but a decade later it’s one of the most memorable period of my life.

Euler’s Formula for Complex Numbers


I was going through my image processing notes, and I encounter the topic of Euler’s formula for complex numbers. Despite taking quite a bit of mathematics modules the past few years, I have not studied before Euler’s formula so this appears a little foreign to me. A little search on the internet and I encounter this page. A good read for those that want to know more about Euler’s Formula. http://betterexplained.com/articles/intuitive-understanding-of-eulers-formula/