Sunday, August 14, 2011

No such signal ! (QT)

if in QT the slot and signals do not seem to work and you get errors like

Object::connect: No such signal QTableWidget::cellChanged

in the stderr , most likely it can be fixed by

removing the variable names from the call to connect

e.g

SIGNAL(cellChanged(int ,int ))

instead of

SIGNAL(cellChanged(int r,int c ))

Wednesday, May 05, 2010

pdfcreator not working with google chrome or srware iron

It seems pdfcreator does not work directly with google chrome or srware iron
the following work around should fix it


- Go to your printers (Start - Settings - Printers)
- Right-Click PDFCreator -> Properties -> Configure Port
- Check "Run as User" (it must be selected)
- OK
- Close

Monday, January 04, 2010

sideways scrolling in links (browser)

the [ and ] keys let you scroll left and right.

Monday, November 02, 2009

Not using Andnav2 anymore

In my previous post I was explaining how to create map tiles for andnav2. But I have since stopped andnav2. The main problem being, I was kind of lost and wanted to use it and guess what, I get a message saying my version of andnav2 has expired and I must download a new version. Indeed when I am lost that is the perfect time for me to upgrade.
I am looking for alternatives, feel free to help me find a better one.
I tried navit but as of now still unable to get it to work on my G1.

Wednesday, June 17, 2009

Offline maps for G1/ HTC Dream/ android phone

So I got the HTC dream, which is excellent except for the fact that whenever I used the maps app, it started to download the maps using my 3G connection and without any plan ( I use prepaid card) it was surely costimg me a lot.
Solutoin : AndNav http://www.andnav.org/

Install andnav2 from the site using the instructions provided therein. Basically install "apps installer" app from google market. download the latest .apk file and install.

now for the maps: for some luckly places on earth, someone has already made the map tiles and those can be downloaded and you need to unpack them in the andnav2\tiles\mapnik folder on your sdcard ..and you will have a bunch of files in hierarchy like
0/0/0.png.andnav

for rest of us unlucky ones:
you need to use trekbuddy to create your own map tiles using the instructions available here
only one caveat :

all the instructions are fine and it should work as mentioned on the site. but in case you dont get the directory hierarchy in the atlases folder like 0/0 as it should be, even if you follow the instruction to the doit.
If so just before you click on "create the tile package", make sure you click on "clear " and then "add selection" in the tile content package box.


after that simply copy all the files to your sd card and you are good to go !


======================
added later
I have made a small one minute video of the tile creation.

Thursday, June 04, 2009

Bhaat Kerela

For ages I have been wondering whats the english word for "bhaat kerela"
so here finally I have the answer

http://en.wikipedia.org/wiki/Momordica_dioica

Momordica dioica, commonly known as Teasle Gourd

Thursday, January 22, 2009

mounting iso files in linux

mount -t iso9660 -o loop foo.iso foodir



on archlinux you may get the following error

mount: could not find any device /dev/loop#


so overcome that you need to do a

modprobe loop