Sandundhammika's Blog











I really hate to write political suff in my tech blog, This is the one and only blog that I was maintaining for my pure tech interests.

 

But today he owned it because what he have done.If I didn’t write this on my blog then it’s not fair thing. Because I felt this is too important and this is a big step [1000 steps] forward to a advanced civilization.

http://lankacnews.com/sinhala/news/25221/?replytocom=75094#respond

whatever he done today is going thousand steps forward to the direction where civilization getting advanced. So we should respect him and if we didn’t show respect then that means we not belongs to that advanced socieaty.

1. Thousands of Animal lives were saved.

2. The ppl who doing sin and who enjoying that inicident were saved from doing that sin.

3. The next generation and the whole chain of generations after that who will come there and do the same sin , are saved as well.

4. The new ppl who will follow this and become vicitims to this have been saved.

This is a big forward step to the direction that civilization going advanced. Good Luck and long live Mervin Silva sir, today you proved you owned that ‘sir’. I alologize I’m a person who never refer you with the word ‘sir’.Sir , now you are not a member of Avanced civilization , you are a leader for us and the civilization too.

Advertisements


when we store data in computer memory, there are basically two ways of storing them. Simply one way is store the big byte first or storing the small byte first.

The term “big-ending” or “little-ending” is comming from the Gulliver’s Travel Advanture movie,where the “liliputians” are divided into two camps , who start to ate the egg from little and and who start to ate the egg from the big end.

The same meaning is there on the computing world. In little ending, you first store the lowerst byte , and in the big ending you store the most significiant byte first. Computing world also politically discriminated into these two categories, discrimination is everywhere in the world where computing is not just exception to it.

To make this clear , let’t take a look at a example. Suppose you need to store 12345678H (hexadecimal) value in compuer memory. In C programming language you can simply write.

int i = 0x12345678;

If you took a logic probe and hack your computer memory and see , and if your computer is little ending you can find it like this. Please suppose that &i=0x0100h or address of i is situated at the memory location 0x0100h.

Image

 

value 0x12345678h was stored in a little ending machine’s memory.

On the other hand if your machine is a big ending machine then you will see your memory like follows.

Image

value 0x12345678h was stored in a big ending machine’s memory

And if you’r not touching assembly language/system programming or file types and I/O and you programming in a high level language like C/C++/Java probablly you don’t need to familar with the difference between little-big ends.

If you’r writing the network protocols or writing a device driver code for a networking interface then you should probablly know that all the networking communication is goes in big-ending representation. When you doing programming with sockets or higher level API you’ll met very rare cases you need to deal with this fact.

However if you want to deal with the file formats ,again this counts.For a example BMP,GIF and RTF are file formats that are examples for the “little ending” format. and JPEG is a example for “big ending”. Some file formats like AVI, WAV,TIFF supports both endings.



et cetera