Sunday·31·January·2010
abe@debian.org //at 23:58 //by abe
On Wednesday I got DAM approval and since Saturday late evening I’m officially a Debian Developer. Yay! :-)
My thanks go to
- Christoph Berg (Myon) whom I know for more than a decade since we studied together, and who’s career in Debian was way faster than mine, but who on the other hand probably knows me better than nobody else in Debian — which made him the perfect advocate;
- Bernd Zeimetz (bzed) whom I know from my times at DaLUG and who was the friendliest Application Manager I could imagine — he’s probably also one of the fastest (8 days from application to AM report :-);
- Luca Capello (gismo), who was the most demanding but also most inspiring sponsor I ever had and who became a very good friend after we found each other over my package conkeror.
- Arne Wichmann (Y_Plentyn) for being my first drop-in center for Debian questions (like “can I directly dist-upgrade from 2.0 to 3.0?” :-);
- Martin Zobel-Helas (zobel) who was always encouraging me to continue exploring new sides of Debian;
- Gerfried Fuchs (Rhonda) just for being there (and for being a package maintainer with good relations to upstream ;-);
- my coworkers at the IT Services Group of the Department of Physics at ETH Zurich, who always found new challenges in Debian for me to solve;
- … and all those others who offered to also advocate me (e.g. Otavio Salvador) or sponsored my packages so far (or at least offered to do so), e.g. Alexander Wirt (formorer), Martin F. Krafft (madduck), Robert Jördens (jordens), …
As Bernd cited in his AM report, my earliest activity within the Debian community I can remember was organising the Debian booth at LinuxDay.lu 2003, where I installed Debian 3.0 Woody on my Hamilton Hamstation “hy” (a Sun SparcStation 4 clone).
I wrote my first bugreport in November 2004 (#283365), probably during the Sarge BSP in Frankfurt. And my first Debian package was wikipedia2text, starting to package it August 2005 (ITP #325417).
My only earlier documented interest in the Debian community is subscribing to the lists debian-apache@l.d.o and debian-emacsen@l.d.o in June 2002.
I though remember that I started playing around with Debian 2.0 Hamm, skipping 2.1 (for whatever reasons, I can’t remember), using 2.2 quite regularily and started to dive into with Woody which also ran on my first ThinkPad “bijou”. I installed it over WLAN with just a boot floppy at the Chemnitzer Linux-Tage. :-)
Anyway, this has led to what it had to lead — to a new Debian Developer. :-)
The first package I uploaded with my newly granted rights was a new conkeror snapshot. This version should work out of the box on Ubuntu again, so that conkeror in Ubuntu should not lag that much behind Debian Sid anymore.
In other News
Since Wednesday I own a Nokia N900 and use it as my primary mobile phone now. Although it’s not as free as the OpenMoko (see two other recent posts by Lucas Nussbaum and by Tollef Fog Heen on Planet Debian) it’s definitely what I hoped the OpenMoko will once become. And even if I can’t run Debian natively on the N900 (yet), it at least has a Debian chroot on it. :-)
A few weeks ago, I took over the organisation of this year’s Debian booth at FOSDEM from Wouter Verhelst who’s busy enough with FOSDEM
organisation itself.
Last Monday the organiser of the BSD DevRoom at FOSDEM asked on #mirbsd for talk suggestions and they somehow talked me into giving a talk about Debian GNU/kFreeBSD. The slides should show up during the next days on my Debian GNU/kFreeBSD talks page. I hope, I’ll survive that talk despite giving more or less a talk saying “Jehova!”. ;-)
What a week.
Tagged as: advocate, AM, bijou, BSD, BSP, bzed, CLT, Conkeror, daduke, Debian, Debian GNU/kFreeBSD, esh, event, formorer, FOSDEM, gismo, Hamm, hy, IRC, isg, Jehova, kFreeBSD, madduck, mirabilos, MirBSD, Myon, N900, NM, Nokia, OpenMoko, Planet Debian, Potato, Rhonda, rjo, Sarge, Slink, talk, tarzeau, Ubuntu, Woody, Y_Plentyn
2 comments // show without comments // write a comment //
Related stories
Saturday·12·December·2009
Offener Brief an die SBB: Tarifregelung Faltvelos //at 20:56 //by abe
Auf Anregung von @RailService ein offener Brief an die SBB zum Thema Velotransport als Handgepäck (abgesendet via SBB Kontaktformular):
Für normale, zerlegte Velos kann ich ja verstehen, dass eine Verpackung erwünscht ist, da es sich dann ja um Einzelteile (meist zwei Räder und der Rest) handelt.
Dass aber Faltvelos nur dann kostenlos sind, wenn sie verpackt sind, ist eine Zumutung, da sie dann meistens noch grösser, unhandlicher und – aufgrunddessen, dass die meisten Verpackungen inklusive der SBB TranZBag schwarz sind – auch noch leichter zu übersehen sind. Und auch ansonsten macht es weder für das SBB-Personal noch Reisende einen Unterschied, ob das Faltvelo verpackt ist oder nicht. Es ist ein Gepäckstück wie jedes andere, sowohl in der Grösse als auch im Gewicht.
Die SBB (und der ZVV am besten gleich auch noch) möge sich ein Vorbild an den Verkehrsunternehmen nehmen, die für Faltvelos eine nachvollziehbare, eindeutige, und wesentlich sinnvollere Tarifregelung haben, nämlich anhand der Reifengrösse: Faltvelos (gefaltet, aber ohne unsinnigen Verpackungszwang) bis 20” Reifengrösse werden als Handgepäck betrachtet, darüber hinaus als Velo.
Der ZVV hat momentan sogar noch wesentlich ungenauere Formulierungen in ihren Beförderungsbedingungen für Velos (Hervorhebung durch mich):
Kleinkindervelos und Kindertrottinetts werden gratis befördert. Übrige leicht tragbare Fahrgeräte, auch demontierte und verpackte Fahrräder, werden gratis befördert, wenn sie über oder unter dem Sitz der Benützerin oder des Benützers untergebracht werden können.
Früher waren – wenn ich mich recht entsinne – in dem
hervorhobenen Teil Faltvelos sogar noch explizit erwähnt. Jetzt
ist es Auslegungssache, was ein “leicht tragbares Fahrgerät” ist.
Ich finde jedenfalls, das Brompton ist sehr leicht tragbar, ein
Fahrgerät ist es allemal. Ein ZVV-Kontrolleur wollte das neulich
jedoch nicht wissen (hat sich aber auch nicht auf eine Diskussion
eingelassen und ist ausgestiegen).
Tagged as: @RailService, Brompton, Faltrad, Faltvelo, Offener Brief, Rant, SBB, Schweiz, TranZBag, Twitter, ZVV, ÖPNV, ÖV
2 comments // show without comments // write a comment //
Related stories
Wednesday·18·November·2009
Spam in SMTP not via SMTP //at 18:50 //by abe
While examining the mail queue after a big mail server migration, I found the following reason for a bounce (hostnames replaced according to RFC2606):
550-5.1.1 - 550-5.1.1 - 550-5.1.1 TO LEARN WHY YOUR EMAIL WAS REJECTED PLEASE GO HERE: 550-5.1.1 - 550-5.1.1 http://www.example.com/answers/dWtsb3R0b3NAdWtsb3R0ZXJ5LmNvLnVrPgA=AAA=/ 550-5.1.1 - 550-5.1.1 Cheap, Reliable Webhosting 550-5.1.1 http://www.example.com/a/hostgator/ 550-5.1.1 - 550-5.1.1 Round-Trip Flights under $200 from Priceline! 550-5.1.1 http://www.example.com/a/pricelinertf/ 550-5.1.1 - 550-5.1.1 Free Skype-to-Skype calls on your mobile 550-5.1.1 http://www.example.com/a/skype/ 550-5.1.1 - 550 5.1.1 -
What’s next? Advertisements in HTTP headers? Oh, I forgot, they already
exist and are called “referrer spam”.
Tagged as: SMTP, SOTD, Spam
0 comments // show without comments // write a comment //
Related stories
Monday·02·November·2009
192.168.noone.org //at 21:41 //by abe
About a year ago, Eric Poscher invented the IP address blog and installed his one at http://192.168.epe.at/. Every hour his netbook notes down the IP address of the interface which currenntly the default route goes through and if it has an internet connection, it uploads the list of IP adresses it had. Additionally, he filters the list to IP addresses in 192.168.0.0/16.
June this year he published the source code behind his IP blog under GPL and Creative Commons. I modified his script slighty to just write down the new IP address if it’s different to the previous one, but without any filter. This makes the list much more colorful (and my online times less traceable :-) as you can see at http://192.168.noone.org/.
But the biggest disadvantage of Eric’s code design is not the fact that it’s a (quite nice to read :-) shell script but that it doesn’t save the list of IPs separately and is not able to regenerate everything if you want to change the design, but always just adds a line to the HTML page.
So I rewrote the whole thing in Perl last Saturday while sitting the dog of my parents. If you change the templates and call the script again, it regenerates the whole list with the new templates. The code is also under GPL, the HTML parts are under Creative Commons, too.
And hey, this is one of the very few (if not only) applications which
are much more fun with IPv4 than with IPv6. ;-)
Tagged as: 192.168.epe.at, 192.168.noone.org, art, Blogging, Creative Commons, epe, git-repo, GPL, IPv4, Network, Perl
2 comments // show without comments // write a comment //
Related stories
Still happy with the ASUS EeePC 701 //at 18:32 //by abe
Recently Eric asked on the LUG Vorarlberg mailing list about netbook experience. I wrote a lengthy reply summarizing my experiences with the ASUS EeePC 701. And I thought this is something I probably should share with more people than only one LUG:
I ordered an ASUS EeePC 701 (4G) with US keyboard layout at digitec in Spring 2008, got it approximately one month later and posted a first resumé after one month in my blog.
I’m still very happy with the EeePC 701, despite two commonly mentioned drawbacks (the small screen resolution and the small SSD – which I both don’t see as real problems) and some other minor issues.
What matters
- Very robust and compact case. And thanks to a small fan being the only moving part inside, the EeePC 701 is also very robust against mobile use.
- Very pleasing always-in-my-daypack size (despite the 7" screen it’s the typical 9" netbook size) and easily held with one hand.
- Black. No glossy display. Neither clear varnish nor piano laquer. Short: No bath room tile. Textured surface, small scratches don’t stick out and don’t matter.
- Debian (previously Lenny, now Sid) runs fine on it, even the webcam works out-of-the-box.
- Despite all those neat features, it was fscking cheap at that time. And it was available without Windows.
Nice to have
- There’s power on the USB sockets even if the EeePC is turned off but the power supply is plugged in.
- The speakers are impressingly good and loud for their size. (But my demands with regards to audio are probably not too high, so audiophiles shouldn’t run to ebay because of this. ;-)
- It has three external USB sockets.
What doesn’t matter
- The small 7" 800×480 screen: I like small fonts and do most things inside a terminal anyway. And even with 800×480, those terminals are still much bigger than 80×25 characters. Only some applications and webpages have no heart for small screens.
- The small disk size: Quite a lot of programs fit on 4 GB of disk space. Additionally I use tmpfs a lot. And music and video files are either on a external 500 GB Western Digital 2.5" “My Passport” disk (which I need quite seldomly) or much more come via sshfs and IPv6 from my home server anyway. :-)
- The small keyboard: I just don’t have any problems with the size or layout (right shift right of the cursor up key, etc.) of the keyboard. Well, maybe except that any standard sized keyboard feels extremely large after having used the EeePC exclusively for some weeks. ;-)
- The to 630 MHz underclocked 900 MHz Intel Celeron: It’s enough for most of the things I do with the EeePC. Also the original 512 MB RAM are somehow ok, but for using tmpfs, but no swap space at all, 1 GB or 2 GB are surely the better choice.
- A battery runtime of 2.5h to 3h is fine for me.
What’s not so nice
- The “n” key needs to be pressed slighty stronger than other keys, otherwise no “n” appears. So if one of my texts in average misses more “n” than other letters, I typed it on the EeePC. ;-)
- Home, End, Page-Up, and Page-Down need the Fn key. This means that these keys can only be used with two hands (or oe very big hand and I have quite small hands). This is usually no problem and you get used to it. It’s just annoying if you hold the EeePC with one hand and try to type with the other.
- What looks like a single mouse button is a seesaw and therefore
two mouse buttons below one button. This makes it quite hard to press
both at the same time, e.g. for emulating a middle mouse button press.
It usually works in about half of all cases I tried it. My solution
was to bind some key combination to emulate a middle mouse button in
my window manager, ratpoison:
bind y ratclick 2
And that mouse button bar already fell off two times. - The battery reports only in 10% steps, and reporting in percentage instead of mAh is an ACPI standard violation because reporting in percentage is only allowed for non-rechargable batteries. It also doesn’t report any charging and discharging rates. But in the meanwhile nearly all battery meter can cope with these hardware bugs. This was quite a problem in the early days.
- Now, after approximately 1.5 years, the battery slowly fritzes: When charging there are often only seconds between 10% and 40%. Rigorously using up all power of the battery helped a little bit. Looks like some kind of memory effect althought the battery is labeled Li-Ion and not Ni-MH and Li-Ion batteries are said to have no memory effect.
- The SD card reader only works fine if you once completed the setup of the original firmware or set the corresponding BIOS switch appropriately. No idea why.
Similar models
Technically, most of this also counts for the EeePC 900SD (not 901) which only differs in screen, resolution and disk size as well as CPU, but not on the the case. So same size, same robustness, same battery, same mainboard, bigger screen, resolution, disk and faster CPU. (The 901 has a different CPU, a different battery, and a different, glossy and partially chromed case.) See Wikipedia for the technical specifications of all EeePC models.
ASUS’ only big FAILure
Stopping to sell most EeePCs with Linux and cowardly teaming up with Microsoft after having shown big courage to come out with a Linux only netbook. Well, you probably already know, but it’s better without Windows…
So basically you no more get these really neat netbooks from ASUS anymore and you get nearly no netbooks with Linux from ASUS in the stores anymore. It’s a shame.
Would I buy it again?
Sure.
Well, maybe I would also buy the 900SD or 702 (8G) instead of the 701, but basically they’re very similar. See Wikipedia for the differences between these EeePC models. And of course I still prefer the versions without Windows.
But despite the low price, the EeePC 701 is surprisingly robust and
still works as on the first day (ok, except battery, the mouse button
bar and the “n” key ;-), so I recently bought a second power supply
(only white ones were available *grrrr*)
and ordered a bigger third party battery plus an adapter to load the
battery directly from the (second) power supply without EeePC
inbetween.
What desktop do I use on the EeePC?
None.
I use ratpoison as window manager, uxterm, urxvt, and yeahconsole as terminal emulators (running zsh with grml based .zshrc even as root’s login shell :-), wicd-curses as network manager and xmobar (previously dzen2) with i3status as text-only panel. Installed editors are GNU Emacs 23, GNU Zile and nvi. (No vim. :-)
And of course a netbook wouldn’t be a netbook if it wouldn’t have a
lot of network applications installed. For me the most important ones
are: ssh, scp, autossh, sshfs, miredo, conkeror, git,
hg, and rsync.
Tagged as: ASUS, autossh, Badezimmerkachel, black, Conkeror, curses, Debian, EeePC, Emacs, FAIL, git, grml, Hardware, hg, i3status, IPv6, Lenny, Linux, miredo, nemo, Netbook, nvi, ratpoison, review, rsync, Sid, ssh, sshfs, teredo, tmpfs, urxvt, uxterm, wicd, Windows, xmobar, yeahconsole, zile, zsh
1 comment // show without comments // write a comment //
Related stories
Sunday·01·November·2009
/var/cache/apt/ on tmpfs //at 16:44 //by abe
My ASUS EeePC 701 (4G) “nemo” running Debian Sid has a 4 GB SSD as main disk, which is on the one hand quite full (mostly with software I use, but also local working copies of software I work on) and on the other hand an SSD, so I always try to reduce the amount of write to disk without losing convenience. Similar issues have systems which run off a CF or SD card or maybe even an USB stick.
Since I ordered a 2 GB RAM bar together with the EeePC, I not bound to the 512 MB which it had originally. But on the other hand I seldom needed more than 1 GB of RAM. Usually I needed between 400 MB and 1 GB of RAM. So it’s quite obvious to use tmpfs on as many places as possible.
Making /tmp, /var/run and /var/lock tmpfs
were the most obvious directories to mount as tmpfs. Especially /var/run on tmpfs brought up a few bugs a
while ago (mostly init.d scripts relying on /var/run/$PACKAGENAME/’s existence), but it’s no hassles to
use nowadays. Even in Debian Stable such bugs got fixed.
Next target to explore for was /var/cache. According to the FHS, /var/cache is intended for cached data from applications. […] The application
must be able to regenerate or restore the data.
So it
should be safe to put anything under /var/cache on tmpfs.
One directory in there which gets written quite often and with a lot
of data on Debian Unstable is /var/cache/apt and its subdirectories, especially /var/cache/apt/archives. If you update your
Sid installation daily, all new or updated .debs will be downloaded to /var/cache/apt first.
So I put /var/cache/apt on tmpfs by
putting the following line into /etc/fstab:
tmpfs /var/cache/apt tmpfs defaults,noexec,nosuid,nodev,mode=0755 0 0
But despite FHS stating that anything under /var/cache must be reproducible by the application, apt is
puking and refusing to work:
!447 Z31 ?0 L1 root@nemo:pts/0 (-zsh) 16:13:10 [~] # apt-get update E: Archive directory /var/cache/apt/archives/partial is missing. !448 Z32 ?100 L1 root@nemo:pts/0 (-zsh) 16:13:17 [~] #
If you create /var/cache/apt/archives/partial, it will also argue about
/var/cache/apt/partial.
Of course the workaround is simple: Just put mkdir -p /var/cache/apt/partial
/var/cache/apt/archives/partial in /etc/rc.local.
But nevertheless, this is a bug in apt – which already has been reported by madduck earlier this year (#523920). Unfortunately the APT maintainers have not yet even commented on this FHS violation and therefore also a Debian Policy (Section 9.1.1) violation.
One more thought about /var/cache/apt
vs only /var/cache/apt/archives: apt-file also caches its data under /var/cache/apt. So if you want to use
apt-file after a reboot and have /var/cache/apt mounted as tmpfs, you have to run apt-file update first and it will download all
Contents files (can be dozens of
megabytes) and not only the differences to previously downloaded Contents files.
So if you use apt-file a lot, you
probably go better with making only /var/cache/apt/archives tmpfs and not whole /var/cache/apt.
Tagged as: apt, apt-file, caching, Debian, EeePC, nemo, Sid, tmpfs, var
2 comments // show without comments // write a comment //
Related stories
Thursday·23·April·2009
Screen and Emacsclient: Automatically switching to the Emacs window //at 18:41 //by abe
For a very long time, I use mutt with emacsclient as configured editor
and a single GNU Emacs instance started from either .screenrc or .Xsession, depending on the system. And I’m very used to
switching the virtual desktop or the screen window after starting a
mail in mutt.
Since Debian 5.0 Lenny and Emacs 22, Emacs automatically grabs the
focus and switches to the right virtual desktop. So after telling mutt
recipient and subject of a new e-mail, it invokes emacsclient and
immediately the focus has moved to the running Emacs instance. Because
I was used to switch one virtual desktop to the right at that point, I
often found my self two desktops to the right until I got used to it.
:-)
I usually hate applications which grab the focus without being asked. But in this case I basically asked for it. And there’s no delay like with starting up an application which has to read in some database first – think of Liferea or Rhythmbox which take many seconds to minutes to start up, even on my 2.2 GHz dual core ThinkPad.
In the meanwhile I got so used to that automatic desktop switch that I forget to switch the screen window in the second scenario where I use this combination: My screen doesn’t automatically switch to the Emacs window (window 1) after I told mutt recepient and subject in window 2.
Knowing that screen is quite scriptable, I found out that only a very
small change is needed to my mutt configuration to get that desktop
feature to my everyday screen session. I simply replaced the editor
setting in my .muttrc with the following
line:
set editor="screen -X select 1;emacsclient"
Now mutt tells screen to switch to window 1 (where Emacs is running) and then tells Emacs to open the appropriate file to edit my new mail.
Update Friday, 2009-04-24, 18:22
Even though Zack surely is right with his comment about the multi-terminal feature of the upcoming GNU Emacs 23, I still have Etch (and therefore GNU Emacs 21) on the server where I have my screen session.
So the next step was to switch back to the mutt window (window 2)
after I’m finished with editing the mail. Since mutt gives the the
file to edit as argument to the contents of $editor,
simply adding ;screen -X select 2 at the end of
$editor doesn’t suffice.
So I wrote a small shell script (named ~/.mutt/editor.sh) as wrapper which calls all the
commands and passes the parameters to the right command:
#!/bin/sh screen -X select 1 emacsclient -a ~/.mutt/alteditor.sh "$@" screen -X select 2
Of course, $editor is now set to that script:
set editor="/home/abe/.mutt/editor.sh"
Emacsclient of GNU Emacs 21 already supports the -a option to call
another editor in case of not being able to connect to a running Emacs
instance. Since I don’t want to switch to another screen window in
that case, I wrote a second shell script (named ~/.mutt/alteditor.sh) which switches back to the mutt window
and then calls GNU Zile, my preferred low-end emacs clone:
#!/bin/sh screen -X select 2 zile "$@" screen -X select 1
I love it!
Tagged as: $EDITOR, Debian, E-Mail, Emacs, Emacs21, Emacs22, Emacs23, emacsclient, Etch, GNU Screen, Lenny, mutt, screen, scripting, zile
1 comment // show without comments // write a comment //




