Monday, January 3, 2011

Fork bomb




will if you are crazy enough like me you can open your favorites Linux shell
and write : :(){ :|: & };:

so what that mean ???

:()   # define ':' -- whenever we say ':', do this:
 {    # beginning of what to do when we say ':'
 :    # load another copy of the ':' function into
  memory...
 |    # ...and pipe its output to...
 :    # ...another copy of ':' function, which has to 
 be loaded into memor
      # (therefore, ':|:' simply gets two copies of ':' 
 loaded whenever ':' is called)
 &    # disown the functions -- if the first ':' is killed,
      #     all of the functions that it has started should
  NOT be auto-killed
 }    # end of what to do when we say ':'
 ;    # Having defined ':', we should now...
 :    # ...call ':', initiating a chain-reaction: each ':' 
 will start two more.

have fun ;)

Sunday, January 2, 2011

In the Operating System class




so today we learn about Hard-Disks and how they work so cross my mind an idea about a deferent way to read the data from the hard disk !!


so that is how thinks work today :

1. the movement :

The sectors structure :


OK and then my idaea :

the speed of the reader and the plate is the same :