Monday, February 25. 2008Debugging the bash![]() It’s a really good tip to use the -x flag to debug bash scripts. I had a problem that GDM wasn’t starting anymore after the regular aptitude upgrade. I didn’t find a hint in the log files and had a look at its init-script /etc/init.d/gdm, which appeared quite complex to me: It sources various config files and calls macros that are defined in there. How the heck should I trace the problem down? The best way was to change the initial line to CODE: #!/bin/sh -x what starts the debug mode when the script is invoked. Here’s what it does: It prints every single command that is executed line by line in a fully expanded form, no matter if macros were defined or several other shell scripts are invoked from within. The lines are indented by a sequence of plus symbols to represent the invocation depth of the other scripts. By this, I saw that the last calls referred to splashy, a bootsplash package that I had installed for test purposes but never had configured. The solution was to simply remove that package. Another tip: Don’t do experiments on a system that is supposed to work! This also means to not install the complete Debian ‘testing’ version on it. If you need a selected number of some more recent software, upgrade it individually, but keep the basic packages ‘stable’. On the other hand, you wouldn’t learn much if you weren’t forced to fix things once in a while.
Posted by Stephan Paukner
in GNU/Linux
at
06:55
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: bash, programming
Saturday, February 16. 2008A history of my computer usage![]() On April 1st, 2008, it’s 10 years that I’m a netizen. I already had an e-mail address a few months before, but it was April 1998 when I seriously started to use the internet. This gives me some motivation to round it all up a bit. I took my first programming steps around 1986 on a Texas Instruments TI-99/4A. It was a home computer similar to the later following Commodore 64: It had a black/silver keyboard with a slot for cartridges. It could be connected to an ordinary TV, and own software was saved on ordinary MCs by a special tape drive—It was quite funny to listen to the noisy sounds when playing the MCs on an ordinary player. We had two game cartridges: TI Invaders (screenshots) and Hunt The Wumpus (screenshots). The computer had a TI BASIC interpreter built in. The first program my stepdad taught me was: CODE: 10 PRINT "HALLO!"<br />20 GOTO 10
Continue reading "A history of my computer usage" Sunday, February 10. 2008PDF im E-Recruiting tabu![]() Da ich derzeit auf der Suche nach einer neuen Herausforderung bin, wie’s so schön heißt, habe ich in diversen Web-Jobbörsen ein Profil hinterlegt. Komischerweise konnte ich an den entsprechenden Stellen keinen Lebenslauf als PDF hochladen. Auf meine Nachfrage bekam ich folgende überraschende Antwort: PDFs werden von uns nicht verwendet, da sie nicht dem Standard beim vollautomatischen E-Recruiting entsprechen, denn E-Recruting-Software und Knowledge-Systeme durchforschen nur HTML- oder Word- bzw. Text-Dokumente, aber im PDF finden sich viele Softwarelösungen nicht zurecht (PDF ist ja gerade dafür gemacht, dass man es nicht so einfach editieren kann), und manche Systeme könnten Ihre Bewerbung nicht finden. Aha?? Seltsam, denn laut meines Wissens verhält es sich so, dass das Word-Format ein proprietäres Format mit geheimgehaltener Spezifikation ist und nicht dafür gemacht worden ist, von anderen leicht editiert zu werden, während PDF offengelegt ist und derzeit sogar auf seine Eignung als ISO-Norm geprüft wird. Und seltsam auch, dass zahlreiche freie GNU-Tools PDF sowohl direkt erstellen (PDFLaTeX, OpenOffice) als auch konvertieren und extrahieren können (z.B. pdftotext aus den xpdf-utils). Der Grund muss also völlig offensichtlich ein anderer sein. Blöd nur, dass damit IT-Experten die Möglichkeit genommen wird, sich als solche zu präsentieren, weil die Präsentation eines DOC-Lebenslaufs einen Widerspruch dazu darstellt.
(Page 1 of 1, totaling 3 entries)
|
AboutCalendarArchivesCategoriesShow tagged entriesandroid antenna anti-spam apache astronomy austria automobile ballooning bash bluetooth bug career cloud collecting comic cooking cw debian dreams education electronics event fail fashion finance flickr fuerteventura fun gentoo geography german gnu-linux gnucash google google earth graphics guitar hardware history image processing internet kernel kids language lanzarote lhc lifestyle linkroll literature ltd machine learning making mallorca mathematics matlab microsoft migration movies music numismatics octave pdf perl philately philosophy phone photo gear photography physics podcast politics postfix private programming public transport rant religion review samsung science security shtf social web software statistics storage sustainability symbian tablet time lapse transceiver tv usenet video virtualization wordplay work www yahoo youtube
Syndicate This BlogFollow meBookmarks
Powered by |