Posts

Curiosity Mars Rover,monster truck for mars

Image
CAPE CANAVERAL, 27 NOV: Nasa's Curiosity rover, the biggest, most sophisticated robotic explorer ever built, blasted off on a journey to Mars, where it will hunt for signs that life once existed there.  Curiosity, which is the size of a large car and weighs in at one ton, has a laser beam for zapping interesting rocks and a tool kit for analysing their contents. It carries a robotic arm, a drill, and a set of 10 science instruments including two color video cameras. Sensors will enable it to report back on the Martian weather and the levels of radiation in the atmosphere ~ important data for Nasa as it devises future human exploration missions. Known formally as the Mars Science Laboratory (MSL), the spacecraft launched at 10.02 a.m. (1502 GMT) atop an Atlas V rocket to begin its nearly nine-month trip to the Red Planet. It has power house made from plutonium decaying. Specification and features: SIZE : 10 ft (3.0 m) in length, and weighs 1,...

Difference between Declaration and Defination

In general definition is where the variable or function is whereas code tell the compiler to allocate some memo ry and initial values goes to it,whereas declaration is the place where we define its name,type, return type to compiler etc. For Functions: //declaration   int foo(char a,int ); //definition  int foo(int a , int b)  { ..... } For automatic and register  variable definition & declaration are same bcoz they allocate memory  whenever defined. For external  storage class variables they are different. Global variables are defined in another file.Symols are resolved in time of  object linking. Externals can be declared and defined outside a function without any storage class(?).They can be declared using the"extern" keyword [e.g. extern int a;] e.g f1.c int var_name ;  //declaration only for global and static (Only initialized in BSS but no memory storage) int var2_name ; //de int var3_name = 22 ; //declaration ...

Intel Platform Codenames

After frustrated by the lots of codename while working with intel processor based SBC I made the list of recent processors and platforms.

Poetry - When I see my baby What do I see - by Johnny Tillostson

Poetry in motion walking by my side Her lovely locomotion Keeps my eyes open wide Poetry in motion see her gentle swaying A wave out on the ocean Could never move that way I love every movement There's nothing I would change She doesn't need improvement She's much too nice to rearrange Poetry in motion dancing close to me A flower of devotion a-swaying gracefully Woh-woh-woh-woh-woh-woh Woh-woh-woh-woh-woh..... Poetry in motion see her gentle swaying A wave out on the ocean Could never move that way I love every movement There's nothing I would change She doesn't need improvement She's much too nice to rearrange Poetry in motion all that I adore her No number nine love potion Could make me love her more Woh-woh-woh-woh-woh-woh Woh-woh-woh-woh-woh.....

Bengali to english tools

বেঙ্গলি ভাষা tools http://bengali.changathi.com/ http://dsal.uchicago.edu/dictionaries/biswas-bengali/ অভিধানhttp://dictionary.evergreenbangla.com/ is bengali avidhan Somewhat good http://translate.google.com/?hl=en

Differencce of address pointer manipulation in vxworksDiab and GNU GCC

I was wondering what was happening for vxWorks Diab compiler and GNU gcc compiler. GNU gcc needs void *  for printing%p where diab dont generate such warning. for %x also gnu expect unsigned int * as argument where diab also don't generate any warning.

Copy_to_user or copy_from_user instead of memcpy

Quite the contrary, it does handle the case for swapped out memory. Lets take a look at it, shall we? copy_to/from_user boils down to __copy_user in arch/i386/lib/usercopy.c: #define __copy_user(to,from,size) \ do { \ int __d0, __d1, __d2; \ __asm__ __volatile__( \ " cmp $7,%0\n" \ " jbe 1f\n" \ " movl %1,%0\n" \ " negl %0\n" \ " andl $7,%0\n" \ " subl %0,%3\n" \ "4: rep; movsb\n" \ " movl %3,%0\n" ...