Monday, June 09, 2008

File converter

Before you start frowning and saying what gr8 stuff is this, my explanation: arre bhai free of cost hai aur kafi accha hai cool [ I wish i get paid for such publicity razz ]

So herez this one file convertor that works for linux and converts any file format to any....any matlab ..any . yakeen nahi hota ..toh yeah dekho

File Converter is free of cost web based utility. Quite good and i have really felt its importance when my boss suddenly asked me to give a document in a "abc" format when i had taken so much pains (yes ..for a change) and did the document in "xyz" format.

Do have a look :).

Friday, June 06, 2008

Googlization of google

Every Software Engineer believes in GOD ... yeah got it right ..Google Oriented Development biggrin.

We all know the success story of google, two college students starting it as a project which today rules the internet. However not many would know how google's web page used to appear previously .

The first thing to catch anyone's eye is the fact that google boosted of indexing ~25 million pages. Last heard, this number had risen to some billion pages razz.

Another insight, when google was still a Stanford research project, it was nicknamed BackRub. It was called so because google implied a technology that checked backlinks to determine a site's importance and hence the name wink .

The site also has a special note saying ""Google is research in progress and there are only a few of us so expect some downtimes and malfunctions." Imagine today google going down !!

Lastly, i really think google's webpage still resembles its first layout. If you remove the text part from its predecessor, it will almost come down to what google's webpage looks today (If you excuse the logos i.e. ). Simplicity .. isn't it ?

Wednesday, June 04, 2008

scratchbox in hardy

One sunny morning, i decided to upgrade to hardy on my desktop.I upgraded , and it started to rain (literally ..its raining now in pune :) ).

Starting scratchbox gives the following error in hardy:


Welcome to Scratchbox, the cross-compilation toolkit!


Use 'sb-menu' to change your compilation target.

See /scratchbox/doc/ for documentation.


Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void
*) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!

Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void
*) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!

Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void
*) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!




The work around for this that worked for me is as follows :

Execute the following commands:

# sudo sh -c 'echo 0 > /proc/sys/vm/vdso_enabled'
# sudo sh -c 'echo 4096 > /proc/sys/vm/mmap_min_addr'


The explanation i gathered is that the first echo enables video support. The virtual memory "mmapped" page size is set to 64K.Therfore compiling inside scratchbox won't work. Hence the second echo.



If any1 has more insight about the same (other method / reason ) , feel free to enlighten me about the same :).