Sonntag, Juli 29, 2007

PDF und Palm

Habe auf meinem neuen Palm T|X den AdobeReader für Palm V3.05 installiert. Dieser nutzt nicht den ganzen Bildschirm (480x320). Es wird immer die Tastatur eingebelendet und so nur 320x320 Pixel genutzt.

Habe nach einer alternative im Netzt gesucht. Da gibt es leider nicht viele.

  • PalmPDF

  • Documents to Go


Bei PalmPDF handelt es sich um Open Source (xpdf) und stellt die orignal Datei da. Dies macht es unmöglich, diese in einer gut lesbaren Schriftgröße darzustellen, ohne nach rechts und links scrolen zu müssen.

Der PDF-Support bei Documents to Go befindet sich nur in der Premium-Edition. Ich besitze aber nur die mit dem T|X ausgelieferte Version.

undef

Bei perl funktioniert der test auf "undef" nur mit "eq". "==" ist immer true.

if ($storedData{$showname} eq undef)

Donnerstag, Juli 19, 2007

Fugawi - first impression

I'm on the search for a GPS software running on Palm. The SW should be able to use hiking cards from different provider. A friend of mine is using Fugawi. He told me, that it has is flaws but the only alternative TouratechQV is worse. At least in his opinion.

Playing with his system I encountered this negative points:
  • move imported points with elevation will only move L and B if no elevation data is available -> should be set to 0 or so but not lead to a new point with wrong elevation

  • editing an existing route or trak supports only moving a point or delete one adding a new point is not possible

  • was not able to get a recorded trak from the palm onto the PC

  • map on palm only black and white - selected color!

  • importing a map with elevation data (Kompass) or location names (top50) doesn't provide this features in fugawi

Both provide a demo version. I will write down the points I like to test and the next time I've got some days off I will do the test in the Alps.

Mittwoch, Juli 18, 2007

GPS - erste Versuche

Für meine ersten Test habe ich mir die GPS-Maus Holux GPSlim236 . Diese hat den Vorteil, dass diese mittels RS232 oder Bluetooth angeschlossen werden kann.

Die Daten werden mittels NMEA gesendet. Bisher habe ich die Datensätze GPRMC, GPGGA, GPGSA, GPGSV und GPVTG gesehen. Bei GPVTG wird vor dem '*' der Checksumme noch ein 'A' gesendet. Dieser zusätzliche Parameter des Holux ist nicht im Protokoll beschrieben.

Zum loggen werde ich mir selbst ein J2ME-Programm schreiben, dass auf meinem Mobil läuft. Dazu werde ich nur für mich wichtige Daten als binäre Zahl speichern um mit dem beschränktem Platz einige Stunden loggen zu können.











Feldmax decbitsbits chunks
time2400001817 = 24(5) 59(6) 59(6)
Breitengrad906099992727 = 90(7) 60(6) 9999(14)
Längengrad1806099992828 = 180(8) 60(6) <9999(14)/td>
Datum3112991916 = 31(5) 12(4) 99(7)

Zusätzliche Bits brauche ich für Unterscheidung N/S und O/W = 2. Ob ich auch die Höhe speichere hängt vom Platz ab. Die kann ich auch nachträglich aus der Karte bekommen.

Dienstag, Juni 12, 2007

generate my music db

Only a view weeks ago I refreshed my knowledge about lex and yacc by using it for an other project. So I used both to parse my downloaded cddb files. But some files contained additional data I added. This was mostly done for classic CD's. Parsing this free data got very quickly very complicated. Also merging this data with the XML data, I generated ripping the CD (error count from cdparanoia), was nothing I liked doing in C.

Reading the cddb file and converting it with C into XML. Then merging both XML files with perl. Why not use perl to read the cddb file directly?

Could not use CDDB::File as it ignored my additional infos without any notice. Instead of searching this notes by hand I will write my own perl parser.

This will be done in two steps:

simple entries

In the first step the cddb parser and the XML structure will be implemented as if I never had added some additional information. At any time an exception to the expected structure is found this CD will be ignored in the first step.

rest

Rules to handle the additional notes will be added. If the rule will become to complicated the additional data will be reformatted or added by hand into the database.


In the future I will add additional data only in a way the rules added at step two are able to read them.