Antifeatureanekdote

Mein Bürokollege, hat mir heute erzählt, er würde pdflatex nicht benutzen weil die Features des Anzeigeprograms von pdflatex so viel schlechter seien. Nach kurzer Konfusion hab ich rausgefunden, dass sein DVI-Viewer eine veränderte Datei (z.B. nach dem Aufruf von latex) neu lädt, sein PDF-Viewer (kommerzielles Adobe Programm) dieses Feature jedoch nicht unterstützt. In seiner Welt hatte er sich die Erklärung bereit gelegt, dass so etwas mit PDF irgendwie nicht gehen könne. Ich erinnere mich noch, dass irgendwann während meines Physikpraktikums im Grundstudium (2002?) diese Funktion aus dem Acrobat Reader entfernt worden war und sich damals alle aufgeregt haben. Benutzt wirklich noch irgendwer Adobe Reader?

Pick your battles

Zu den Grundprinzipien von “Getting things done” gehört: Jede Sache die man anders haben will in der Welt ist ein Projekt. Jedes Projekt braucht ein Ziel, und einen klar definierten Schritt wie man diesem Ziel näher kommt. Problem: Es gibt unglaublich viele Sachen die einem durch den Kopf gehen a la “ja das wäre super, das müsste man mal machen” und ich denke es ist gut sie zu sammeln. Noch wichtiger: Das Sortieren, und zwar ehrlich. Wie viele von diesen Sachen will ich wirklich. Wie viele sind mir die investierte Zeit wirklich wert? Die Suche nach ehrlichen Antworten hat mich zu interessanten Einsichten gebracht. Banalem Beispiel: In meinem .org file gibt es einen Bereich “tools” in dem ich Ideen zu meinen Tools (jeglicher Art) sammle. Dieser Bereich hatte einfach zu viele “ja, das wäre toll” Ideen. Beispiel: OpenVPN auf meinem Server einrichten. Klar wäre das toll, einmal im Jahr das Fussballspiel im deutschen Livestream vom Ausland aus zu sehen, aber ist ein Fussballspiel den Aufwand der Einrichtung und Pflege eines OpenVPN Servers mit den dazugehörigen Sicherheitsüberlegungen und Sorgen wert? Für mich ein klares Nein. Eigentlich war dieses “Nein” lange klar, und daher verschimmelte dieser Punkt in meiner “tools”-Liste. Meine neue Erkenntnis ist jetzt einfach: Wenn ich nicht sofort Interesse habe das Item umzusetzen, mit klar definierten Ergebnissen die mich vorwärts bringen, dann kann ich es auch einfach löschen. Der entscheidende psychologische Trick: Das nächste Mal wenn ich das Fussballspiel nicht gucken kann bin ich ehrlich zu mir selbst und stehe zu der Entscheidung warum ich OpenVPN nicht eingerichtet habe. Ich habe Zeit und gute Laune gegen dieses Fussballspiel getauscht und weiss noch warum. Viel besser als jedes Mal wieder in die “ach ja, das müsste man mal machen” Schleife zu geraten. Das hingegen ist schon wieder eine Weisheit aus “Getting things done”. Bewusst entscheiden Dinge nicht zu tun und dadurch fokussierter an den wichtigen Sachen arbeiten. The marital art of stress-free productivity.

How to copy files to a GalaxyTab 10.1 (on Gentoo)

Short recap: GalaxyTab 10.1, the fake iPad, illegal in Europe, no USB-mass storage, must use kies (not known to work on any platform), libmtp not working. So while Apple and Samsung go patent nuclear, I solved my “easy” problem of transfering a file to that tablet (using Gentoo, or just anything which has a command line). My earlier solution was undone by a software upgrade that Samsung pushed over the air.  The new solution that I found now is so simple that I cannot believe not finding it earlier.  Just use the adb debugging tool. Isn’t it completely obvious that this is the way to go? Well, you need to get the adb tool which is not included in the android-sdk anymore, but easy to find on the web. If you unlocked your phone to install cyanogenmod, then you may still have it around. The command is adb push with a quite obvious syntax. Remember that you need to put your device into USB-debugging mode via the settings, otherwise adb won’t connect. If you copy files to a non-system folder, like /sdcard/Downloads then no rooting is needed. Transfer speed is decent at about 1300kb/s on USB 2.0.

Happy Gentooing!

Marktforschung

Gerade habe ich an einer Telefonumfrage der GFK teilgenommen. Statistik fand ich schon immer spannend, also habe ich mal mitgemacht und 15 Minuten geopfert. Interessant an der Befragung war, dass die Dame nicht mit mir interagieren durfte ausser die Fragen vorzulesen. Wenn ich eine Rückfrage gestellt habe, hat sie einfach die Frage nochmal vorgelesen. Habe ich nicht in den richtigen Kategorien geantwortet, hat sie nachgefragt. Z.B: “Sind sie mit einer der folgenden Fluggesellschaften geflogen …”  Antwort: “Ja, Lufthansa”. Darauf sie: “Darf ich ja oder nein eintragen?” Fragen mit Skalenbewertungen von 1-6 sind besonders nervig, da denkt man wirklich, dass man das per Webformular machen sollte. Es würde mich mal interessieren ob es Untersuchungen gibt, die etwas über die Datenqualität von Telefoninterview vs. Internetumfrage zeigen. Ansonsten war es eigentlich nur langweilig und Feedback bekommt man auch nicht wirklich. …’been there, done that.

rm -rf lipsync

In my search for a fully open-source powered and self-hosted Dropbox replacement I have tried lipsync. I’m usually not much of a ranter, but lipsync is a fail. It’s mechanism is a weird combination of daemon and cronjob, running a another daemon (lsyncd), calling rsync in weird ways making it fall. I could not get it to run, but the really worst thing: It is not portable at all. Here portable means from Ubuntu to any other Distros. It comes with a script install.sh to be run as root (C’mon, that’s so like Windows). There are no installation instructions except “run the script”. So I was reading the script and it has all sorts of Ubuntu special features hard-coded. Appearently, every users sits in its own group, so you find things like chown -R ${USER}:${USER}. It also has the path of lsyncd hardcoded as /usr/local/bin/lsyncd, ain’t that great? Kaaareyzeee, I need sleep. Tomorrow night I will try sparkleshare which is already in betagarden. Hooray.

Bildschirmfoto

Seit mein GalaxyTab auf die TouchWiz Oberfläche upgedated wurde habe ich eine Screenshot-Taste die immer präsent ist. Ja, richtig, Samsung hat Android so gepatched, dass neben Zurück, Home, und Menü auch eine ständige Taste Screenshot existiert. Wozu soll das denn gut sein? Ich hab noch nie einen Screenshot machen wollen, ein öffentliches Bugzilla wo man die Darstellungsfehler dokumentieren könnte gibts ja eh nicht. Ich frag mich ob sie in ihre neuen Telefone eine Hardware-Screenshottaste einbauen?

https everywhere

ist eine Firefox extension die, wenn eine Seite das unterstützt, automatisch auf die sicher getunnelte https Variante wechselt. Sehr praktisch da Internetfilter nicht mehr greifen. Suchanfragenhijacking wird auch praktisch unmöglich. Eine runde Sache, neben Ad- und FlashBlock eine der Extensions die wirklich jeder installieren sollte.

You own cloud

From time to time one reads how the move to the cloud threatens open source. Well, the big players google, facebook, apple, … all offer their proprietary cloud services for free and they work really well. The pace that google sets is tremendous, but there is a price to pay. The value of large scale databases is often underestimated. So, what to do if you want all the sweet cloud stuff, but still give google as little as possible? Run your own open source cloud services! (Or let your nerd friend run them for you…) Let’s look at some really cool ones:

  • Openstreetmap – Everybody knows this one. Once the navigation capabilities are built on top of it you don’t need to give your location to goolge to navigate… and of course you can download ALL the data, not just a 10 mile radius.
  • TT-RSS – Tiny Tiny RSS, the google reader killer. I discovered this through Patrick’s post and it just rocks. No need to tell google what you’re reading and it also comes with an Android-App for subway reading. Hooray.
  • Piwik – Google Analytics replacement. This one is in great shape too. Offers all the features, great documentation, live stats, wordpress plugins are available and so on…
  • WordPress – A classic blogging software also running my blog. You don’t need to host it yourself, just get an account on wordpress.com.
  • RoundCube & Atmail – Tired of Google Mail’s bots running over your mail? Self-hosted e-mail can come with nice webmail interfaces too.
  • Diaspora – The decentralized facebook replacement (?) Nice goals, but it got some bad press for being unprofessional. Time has to show if they get their stuff together. It looks like this one would need a lot more developers (just consider how many people are working on Google+ and facebook).
  • Gnu Social – Well, I don’t know… at least you can buy Gnu Social buttons.
  • ownCloud – Your personal cloud storage. I’m still somewhat addicted to dropbox, but eventually I’ll have to switch. ownCloud seems get some momentum.

So, what’s the upshot? Some of these may be difficult to set up, or your don’t want to run a server, but that’s not the point. The point is decentralization: Don’t let google run ALL your stuff. Competition between different providers can not really hurt here and there is certainly potential for small businesses offering hosting these for you.

Let me know about open source cloud software that I don’t know. Finally, if you don’t like google’s power, then don’t forget to install an AdBlocker!

Happy Gentooing!

Connecting an mtp device

For the GalaxyTab 10.1 Samsung had a special surprise: No USB-mass storage support. I don’t know if that saves space, energy, money, or if they were just bribed by Microsoft to omit this feature. I find it annoying and this proprietary “syncing” of media was always something I found ridiculous about iDevices. So when you connect the Tab to your computer, not only it will not charge (needs 2A), but it will also not mount. Instead you are asked to install a software called “Kies” which (as people report) hardly works under Windows and is not available for Linux. Behind the scenes the GalaxyTab is an mtp device, and there is media-libs/libmtp which implements this protocol (don’t forget to install mtp udev rules for your device). After a few unsuccessful tries to mount with the fuse mtp filesystem implementation I did something weird. I tried a GUI tool before getting things working on the command line. The tool is gMTP and it just worked. It’s homepage is down, but I got the source code from the Debian mirrors and everything worked smoothly. I just added media-sound/gmtp to the tree (which also happens to be my first use of gnome2-utils.eclass.) Now we can sync those movies to our tablets. Give it a try and let me know if you hit problems.

Happy Gentooing.

Facebook-Minus

Ich glaube die interessanteste Neuerung an google+ ist, dass “Freundschaften” nicht mehr symmetrisch sind. Jetzt kann jeder Terry Tao in seinen Circle tun, aber der braucht nicht lesen was seine bereits 924 Follower so machen. Ausserdem kann ich meine Daten als zip-archiv runterladen.