Archiv für die Kategorie ‘Allgemein’

OpenID provider/Anbieter

Dienstag, 13. Juli 2010

We’re now an OpenID-provider - want one? Just send me a message :)

What is OpenID? http://openid.net/

Wir sind jetzt ein OpenID-Provider - Wer eine will soll mir einfach eine Nachricht schreiben.

Was ist OpenID? http://openid.net/

[Gentoo] Disappearing ext2/ext3 filesystems

Mittwoch, 03. Februar 2010

Sometime in the past few days I discovered that my media partition wasn’t mounted anymore (ext3 FS). Also my root partition (ext4 FS) wasn’t listed under /dev/ anymore.

The only clue I got was from /var/log/messages:
EXT3-fs: sda2: couldn’t mount because of unsupported optional features (240).

It seems that udev >= 150 doesn’t like the deprecated sysfs stuff very much (apparently it took over it functions).
To keep it short: I had to uncheck the kernel modules SYSFS_DEPRECATED_V2 (also you should uninstall SYSFS_DEPRECATED), rebuild and install the kernel and everything worked again

flickr

Montag, 13. April 2009

uhm, yeah, it finally got me.

Together with my new DSLRs (a Nikon D40, I know an oldie but goldie), I started to use flickr to publish some of my pictures. I don’t really trust google (especially with their new face registration … ) and since Gilles always uses it, I started to use it too.

And so far it worked quite well, I used a digikam export plugin to publish them, so not much handwork involved.

My fotostream can be found under the following adress, would be nice if you could leave some comments: http://www.flickr.com/photos/mirrakor/

Modified script for the RGM 3800

Montag, 09. März 2009

Here’s a modified Version, of the rgm3800py script. It let’s you download tracks and configure your Royaltek RGM-3800. So far I’ve tested it only under Linux but it should work on Windows and Mac OS too.

  • Here’s whats changed so far:
  • Added an additional “get ” command, which stores the received NMEA records in the current directory. And automaticly names the file after the according date. In default mode* it groups the records in one file per day.
  • The date function has been “fixed”, well actually it created a valid timestamp in some way (I think something tactical), but it wasn’t really useable, so it’s now yyyy-mm-dd (HH:MM:SS), pretty, ain’t it? :)
  • For all switches (see below) you can now set default values at the beginning of the script. Also the default device is set to /dev/ttyUSB0 (set this according to your configuration), it saves you to type that -d every time :)

There’ve been some switches added:

  • -s –separate-tracks Creates a new file for every track. Naming scheme is: yyyy-mm-dd_counter.nmea
  • -z:int –zeros=int which sets the number of leading zeros (i.e. if you, for some reason have more than 100 tracks of one single day you might want to set -z:3 so you’ll get 0001 and even 0333 is sorted correctly
  • -c:int –counter-offset=int Imaging this: You just downloaded all tracks from your device (including 7 tracks you created today) and delete your device. What happens? A fellow mapper comes by and what the heck, you go out and tagg a round, but now the script would create a file yyyy-mm-dd_0.nmea, which already exists, since we’ve downloaded it earlier, counter offset to the rescue! With -c:8 you’ll get a file named yyyy-mm-dd_8.mnea and will go on with yyyy-mm-dd_9.nmea … (the next date will start with a counter of 0 again :) )

Usage examples:

./rgm -s -z 3 get 17-  (will get all tracks starting from 17 and store them in individual files with the naming scheme date_000x.nmea )

Note: You must place the switches before the actual command (get, track, etc. )!

Things still left to do:

  • A function to erease the device
  • Geoid correction
  • GPX output
  • Check if file already exists
  • Make it possible to pass a directory as option

UPDATE:

HAHA! You wouldn’t believe it, just the day I finished with the script the original author released an update (to be percicse 2 hours later), jumping from rev. 14 to rev 19 (aaaah, whyyy?! And we thought he isn’t working on it anymore …), well quick changelog: Added GPX output (trackx) and the possibility to erease the memory :)

UPDATE²:

The modifications of rev14 are now adapted to the script of rev19.

UPDATE (March 15, 200):

It’s now also possible to directly download/write files in GPX format with the ‘getx’ command, the other switches also apply to this one (separate/single files, leading zeros, offset counter … ). You’ll notice that a single gpx file, that consists of several tracks, will have several tracks inside, which can be edited manually (i.e. with viking)

You can get the modified version here: http://www.michael-skiba.de/rgm.txt (You might want to rename it to rgm.py or something like that)

The original version can be found here: http://code.google.com/p/rgm3800py/

AmaroK 2 finally rocks?

Montag, 23. Februar 2009

To be honest Amarok 2.0(.0.0), was excitingly new and had some improvements over 1.4 (well, actually the only one I recall atm is the fact that you’re able to skip back and forward in a random playlist - but hey! )

But all in all it was hardly a match for the solid Amarok 1.4 (ah.. see some parallels? kde 3.5 < -> kde 4.0), there has been an some small update already, and we’re now at 2.0.1.1 (the latest included a security fix, so update it!).

One thing that bugged me was the broken multi-file-editing-dialog and the missing iPodmedia-player-support.

As an Ex-Gentoo there’s only one thing to do: Reach out for the bleeding edge and get a copy of the latest development branch. (Sidenote Amarok will soon switch from svn to git and be a test-case for the rest of the KDE project)

What can I say?
As always the future looks so bright:
- “Media-Player-Applet” works and is able to transfer tracks to my sisters iPod nano of the latest generation (4th?)
- Editing several files at once works (so far..)
- Bookmark feature (with some additions this will be very nice for audio book listeners)
- As I see it, the “Widget”-View has changed, there are not 4 displays anymore but instead only a single one with a clickable list of used widgets

Lenovo calling home?

Mittwoch, 21. Januar 2009

Wie ich vorhin durch Zufall entdeckt habe. Ist mein Lenovo N200 3000 Notebook, mit einem “embedded Computrace”-”Service” ausgestattet. Ganz kurz gesagt: Es telefoniert bei einer Verbindung ins Netz nach hause und soll so nach einem Laptop Diebstahl helfen… (natürlich nur, wer Kunde ist…)

Ist natürlich inakzeptabel und ein Ekel.. in den nächsten Tagen werde ich einen Weg suchen, dieses Krebsgeschwür zu entfernen… (Kommentare willkommen!)

Neue Gallerie / New Gallery

Mittwoch, 21. Januar 2009

Nur kurz notiert: Ich hab ein neues Galleriemodul installiert, um etwas Ordnung in die Bilder des Blogs zu bekommen…

Just a little sidenote: I installed a new gallery plugin, to get some in the pictures of the blog…

B²B: Back to Blog

Donnerstag, 18. Dezember 2008

Nachdems auf der Homepage in letzter Zeit doch eher ruhig war und mir auch nichts vernünftiges eingefallen ist, widme ich mich wieder meinem blog…

In zwischenzeit werde ich wohl auch eine neue Kategorie hinzufügen müssen: OpenStreetMap

Eine freie Weltkarte (wer hätte das gedacht?! Aber dazu gibt’s schon genug Berichte im Netz ;) )

Wichtig ist, das im Großraum Offenburg noch einige Dinge zu tun wären, wer also ebenfalls in der Region am Mappen ist, darf mir gerne ne Nachricht hinterlassen.

Und wo wir’s grade von OSM haben: Digikam (wohl das Fotoverwaltungstool schlechthin - jetzt auch für Windows) bereitet das 0.10.0 release für KDE 4 vor. Mit dabei eine Marble(Der digitale Globus :) ) integration - dieses kann u.A. OSM als Layer benutzen, dies ist zwar noch nicht integriert, aber abaecker arbeitet gerade an einem Patch, der doch recht vielversprechend aussieht.  :)

Und last but not least: Heute kommt openSUSE 11.1 raus - Herzlichen Glückwunsch.

Auf Seiten der deutschen Übersetzung gibt es einige “Aktualisierungen” (:P), die nicht zuletzt auch auf Jannik zurück zu führen sind, der bereits aktiver KDE-Übersetzer ist und ein waches Auge auf unsere Übersetzungen hat. Trotzdem sind wir noch immer viel zu wenig (4 Stk.) und haben mit wachsweichen Stringfreezes zu kämpfen, aber es wird weitergehen. (Auch wenn es Leute gibt, die fest der Gegenteiligen überzeugung gibt.)

Btw. Flashlight in den deutschen Boxen?! :)

UTF-8 - ein mächtiges Werkzeug für die Zukunft!

Samstag, 03. März 2007

The only languages that can comfortably be written with the repertoire of
US-ASCII happen to be Latin, Swahili, Hawaiian and American English without
most typographic frills. It is rumoured that there are more languages in the

world. — Roman Czyborra

 

Was ist UTF-8 eigentlich?

“Grundsätzlich arbeiten Computer nur mit Zahlen. Buchstaben und andere Zeichen werden daher Zahlen zugeordnet um sie zu speichern. Vor der Erfindung von Unicode gab es hunderte unterschiedlicher Kodierungssysteme. Keines dieser Kodierungssysteme umfasste je genug Zeichen: So braucht die Europäische Union allein mehrere Kodierungssysteme um damit den Bedarf für die Sprachen aller Mitgliedsländer abzudecken.

Diese Kodierungssysteme sind untereinander unverträglich, denn unterschiedliche Kodierungen können dieselbe Zahl für verschiedene Zeichen benutzen oder verschiedene Zahlen für dasselbe Zeichen.” (unicode.org 03/07)

UTF-8 ist also eine Kodierung für Unicode Zeichen. Es enthält nicht nur eine Handvoll Länderspezifischer Zeichen (wie z.B. ISO-8859), sondern enthält aufgrund seiner zu Grunde liegenden Technik fast alle verbreiteten Alphabete und Schriftzeichensysteme, nicht nur die Lateinischen Buchstaben und arabischen(Indischen) Ziffern, sondern unter anderem auch die arabische, chinesische, griechische, kyrillische, koreanische und die thailändische Schriftsysteme.

 

Was heißt das nun konkret?

Das heißt konkret ich könnte z.B. in einem internationalem Chat sowohl mit Japanern, Franzosen, Russen und Deutschen gleichzeitig chatten und kann alle feinheiten der Sprache ausnutzen(z.b. die deutschen Umlaute) und nicht nur das, ich kann genau diese auch sehen, wenn andere sie schreiben.

 

“Hilfe, wenn ich UTF-8 kodierte Nachrichten oder Emails erhalte sehe ich nur Müll!!”

Tja.. dies ist ein Phänomen das immer wieder bei Microsoft Windows Nutzern anzutreffen ist, der Grund dafür liegt darin, das die implementierung und unterstützung von UTF-8 in der Unix/Linux Welt schon sehr viel weiter ist als bei Windows.

 

Eines der größten Probleme liegt darin, das die einige der Marktführenden Programme wie z.B. Microsoft Outlook und Microsoft Outlook Express noch nicht fähig sind UTF-8 kodierte Nachrichten auf anhieb korrekt darzustellen(zumindest wird mir das immer wieder berichtet..). So ähnlich verhält es sich mit dem IRC-client mIRC, der bis zur Version 6.16 noch garkein UTF-8 unterstütze und selbst heute noch sehr bockig bei der konfiguration ist.

 

Was brauch ich denn nun für UTF-8?

 

  • Erstmal eine Schriftart die UTF-8 kodierung unterstützt (z.B. Monospace)
  • Anschließend muss das Programm, mit dem UTF-8 kodierte Nachrichten geschrieben werden sollen so umgestellt werden, das auch wirklich UTF-8 verwendet wird.I.d.R. muss/kann man das für jedes Programm einzelnd machen (Wie das konkret geht, ist am besten des Handbuchs des Programms zu entnehmen ;) )

 

 

[Aus Zeitmangel vorläufiges Ende des Artikels]

Intressante Links zum Thema: