Hauptseite
Aus NOBAQ
| Willkommen auf der Homepage von Niki Hammler |
| Mein neues Weblog |
LockExtensions for KeePass20:24, 26. Jul. 2010 KeePass is a powerful OpenSource password-safe. It has become one of my "must-have" programs. There are ports for various platforms (including mobile, like Windows Mobile).I wrote a small plugin LockExtensions which adds three more ways of locking the workspace (currently open password file):
Download (including source) can be found at: http://keepass.info/plugins.html#lockext Reproducing Polynomials with B-Splines13:03, 19. Jul. 2010 A B-Spline of order N is known to be able to reproduce any polynomial up to order N:
In words, a proper linear combination of shifted versions of a B-Spline can reproduce any polynomial up to order N. This is needed for different applications, for example, for the Sampling at Finite Rate of Innovation (FRI) framework. In this case any kernel An important question is how to obtain the coefficients cm,n for the reproduction-formula. In this small article, I describe one way. AirFix: Fixing Sierra Wireless Watcher09:51, 3. Mai 2010 The Sierra Wireless Watcher Software is used for Sierra Wireless UMTS Modems to connect to the internet. Unfortunately this software has a bug with some cards (e.g. with my AirCard 850). Sierra did not want to fix the bug although I reported the bug in a detailed way. Another example of a bad company you should think twice before buying a product. Without using the airplane mode the Watcher software works (more or less). But when the airplane mode is enabled and the Watcher software is started there is a strange behaviour: The software connects successfully but it does not escape the state of "connecting". This means that the "Disconnect"-Button keeps grayed out and there is no way to terminate the connection except killing Watcher. In this case also no records to the phone log and the transmitted data is written. Read on here for my fix 日本にいて東大で研究します!12:03, 18. Nov. 2009 Currently I am studying at the famous University of Tokyo (東京大学 or short 東大). My lab is the Hirose Lab. My research is an improvement for phase unwrapping. Phase unwrapping is used for example with SAR (Synthetic Aperture Radar) to generate digital elevation maps or in medicine. I greatly enjoy my stay in Tokyo. It is exciting to experience a completely different culture and it is a great challenge. Tokyo itself is just beyond comprehension. The city is so huge and heterogeneous and everyday you experience something new. I have set up a site including an image gallery. The password is available on request. Courier IMAP: inbox empty after upgrade to lenny18:36, 20. Aug. 2009 After upgrading my mail server (mail.nobaq.net) from Debian etch to Debian lenny, all IMAP inboxes were empty (IMAP server: courier/SSL). Even the list for subscribed folders in Thunderbird was empty. After a long time I found the solution: The new version of courier seems to require the Maildir directory to be owned by the specific user. Furthermore, the group must be set to the primary group of the user (in my case "users"). All other permissions seem to be ignored. Pageant wildcard workaround22:49, 26. Jul. 2009 Using a key agent for SSH simplifies work. With PuTTY, you use pageant.exe. But there is a problem: You need to load all keyfiles manually. And if all keys are secured with a password you have to type the passwords a few times. However, pageant has one feature: You can pass keyfiles as parameters. If all keys are secured with the same passphrase you have to enter it only once. If you have multiple keyfiles you would like to use: pageant.exe *.ppk But unfortunately this does not work. This issue is already included in the wishlist (http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/pageant-wildcard.html) but seems to be not yet implementet. In this article I show a small workaround Speedtouch versendet keine ICMP Redirects11:13, 21. Jul. 2009 Betreibt man sein SpeedTouch (in meinem Fall ST546i) in einer komplexeren Routingkonfiguration kann man mitunter einen Nachmittag brauchen um den Fehler zu finden wieso bestimmte Pakete einfach nicht geroutet werden. Nach stundenlangem Debugging mit Packetsniffern findet man dann: Das Speedtouch versendet (manchmal) gar keine ICMP Redirects! 電気01.nobaq.net. - Testbericht einer IP Steckdosenleiste14:50, 4. Jun. 2009 Seit längerer Zeit habe ich nach einer Lösung gesucht um Geräte ferngesteuert ein- und auszuschalten. Das Prinzip hört sich relativ simpel an: Man nehme eine Hand voll Relais, einen Treiberbaustein, dazu einen billigen Mikrocontroller mit passendem C-Programm - fertig. Ganz so einfach ist es aber leider nicht, wenn das ganze dann auch noch per IP ansprechbar sein soll und einigermaßen professionell aufgebaut sein soll. Also habe ich mich auf die Suche nach fertigen Produkten gemacht - die leider alle sehr teuer sind. Prinzipiell soll die Leiste folgende Dinge erledigen:
Migration auf Software RAID1 mit SATA15:30, 1. Mai 2009 Nachdem der Festplattenspeicherplatz auf meinem Server langsam aber doch zu Neige ging habe ich mich entschlossen gleich auf SATA umzurüsten und ein RAID1 aufzusetzen. Das ist bei den heutigen Festplattenpreisen kein Problem mehr. Ich erhoffe mir dadurch einerseits erhöhte Performance (durch SATA und den neuen Platten) und andererseits erhöhte Ausfallsicherheit. Hier beschreibe ich nun, wie ich mein altes System (PATA) auf das neue SATA-Software RAID System migriert habe. Bemerkenswert: Fast die gesamte Migration konnte ich von unterwegs mit ssh in einer screen-Session durchführen. Lediglich zum Einbau des SATA Controllers und der Platten musste ich den Server besuchen. ZendFramework Pager18:38, 15. Jul. 2008 Ein oft wiederkehrendes Problem bei Webseiten ist ein sogenanntes "Paging": Von einer Tabelle mit 1000 Zeilen sollen nur 10 auf einer Seite dargestellt werden und der Rest durch "Blättern" mit "vor" und "zurück" zugänglich sein. Die normale Herangehensweise in PHP ist es zusätzlich zur normalen Abfrage (durch LIMIT begrenz), ein SQL Statement mit "SELECT COUNT(*) ... GROUP BY" zu erstellen. Der Nachteil dabei ist aber, dass zwei Abfragen benötigt werden, und die eigentliche Datenabfrage umgeändert werden muss. Ist die ursprüngliche Abfrage sehr komplex (z.B. Nested Sets, Verknüpfungen mit temporären Tabellen) ist diese Methode sehr komplex. Meine Lösung für ZendFramework beschreibe ich hier.
|
Special Thanks to
reproducing polynomials (that is, satisfying the Strang-Fix conditions) can be used. However, among all possible kernels, the B-Splines have the smallest possible support.



