Friday, December 18, 2009

How much data/information our brain can store ?

I have been thinking, if the human brain could be theoretically modeled as an artifical neuron network, then how much storage space would it need on a computer.

According to conventional biology, the human brain has an average of 100 billion neurons, and 100 trillion synapse connections.

1,000,000,000,000 (1 trillion) connections:@ 128-bits = 1.28e14 bits
Okay, so lets bring it into the real world

In Terabytes (128-bit): 14901 terabytes
In Pentabytes (128-bit): 14.55 pentabytes

Amount of DVD's it would take to 'make a backup' of someone's brain:
3.2 million DVD's (4.7 gb)
Thats 555 years of DVD quality video :-)
Want to take backup of your brain ?? LOL!!

Friday, December 4, 2009

JIBX - Starting From Code

JIBX Starting from existing Java Code !


  • Download Jibx http://jibx.sourceforge.net/
  • Refer to Sample code which comes with Jibx \jibx_1_2_1\jibx\examples\starter
  • Start with the code and create the bindings and XSDs using BindGen tool
  • java -cp ..\..\lib\jibx-tools.jar;bin org.jibx.binding.generator.BindGen org.jibx.starter.Customer
  • You can also do this using eclipse Run Configurations, Just add all the jars which are shipped with Jibx in classpath.






  • Compile the existing class files with the generated bindings so that it will have JIBX binding attached to the class files. This will increase the size of the existing class files, plus you will see some JIBX related class files like JiBX_bindingCustomer_access.class, JiBX_bindingFactory.class.

  • java -cp .:lib/support.jar:/home/dennis/jibx/lib/jibx-bind.jar org.jibx.binding.Compile binding.xml


  • Now run the Test.java sample program which does the marshaling and un marshaling and you should be good to go.