Search Results: "ag"

31 October 2008

Andrew McMillan: Graphics in OpenOffice.org: SVG, EPS and WMF

When Heather designed a logo for me for Morphoss she did it with a bitmap editor, naturally enough because that's the tool she's most familiar with using. I'd rather not use a bitmap as the source format for the logo though, because it will degrade when it gets resized, so I redrew it as a vector graphic. One of the best free, open-source tools around for vector graphics seems to be Inkscape and I've mucked around with it for many years, so I naturally used that. Once you have a logo though, you naturally want to use it in documents, and the importing of SVG graphics into OpenOffice.org documents is a long-outstanding bug (let alone embedding SVG graphics) so I needed to convert them to another format. It's actually the most requested feature in OOo, appearing twice in the top 10, and even spawning an external SVG importer project. Since both programs support encapsulated postscript I was able to save the logo from Inkscape as .eps and use it directly in OpenOffice.org. While this initially seemed satisfactory, after a few weeks of using documents with the .eps logo embedded in them I started to get annoyed with the strange pauses when my CPU was maxed out while paging up and down. I was sure that that had not happened in the past when I was using a logo in WMF format, which OOo inevitably has to support well for compatibility with other Office Suites. After some searching around for more complicated ways to convert SVG or EPS to WMF, I discovered that what I could do was simply to open the EPS in OpenOffice.org draw, and save it from there as a WMF. This seems to work well, for my purposes anyway, so now when I use my logo in my OpenOffice.org documents I don't see any annoying slowdown paging up and down within the document, and I didn't have to download the SVG importer for OpenOffice.org either. Well alright, I did download the SVG importer as well, but my logo didn't look nearly so good without it's text, and with everything displaced up and to the right at various offsets!

Antti-Juhani Kaijanaho: The NaNoWriMo site TOS is onerous

From the NaNoWriMo TOS:
The Office of Letters and Light reserves the right to change the terms and conditions hereof without prior notice at any time and any such change shall be effective immediately upon posting the changed Agreement on NaNoWriMo.org. The effective date indicated at the top of this page will be updated to indicate that changes have been made. You should, as a condition of continuing to access NaNoWriMo.org and use its features, periodically review the terms of this Agreement and such continued access and/or use shall be deemed to be conclusive evidence of your agreement to be bound by any such changed Agreement.
No, I will not write the Office of Letter and Light a blank check.

Jordi Mallach: jabberd2 2.2.4 packages for etch

Last weekend I created a set of backports of jabberd and its unfulfilled dependencies for etch, for use in my jabber server which has been suffering s2s problems for way too long. The packages are a bit quick and dirty, but good enough for my personal use (a known issue is the lack of shlibs bump in gsasl) and are available from this non-apt-get enabled repository. If I can help the XMPP team in any way to help these packages get into unstable or experimental, I'm totally willing to help.

Marc 'Zugschlus' Haber: No password no more

I apologize for inadvertently password protecting last night’s article about Nagios, Parent Hosts and traceroute on the Internet. Somehow, my Iceweasel has the firm opinion to enter my Blog’s admin password in all form fields labeled “password” on blog.zugschlus.de, and the article entry form happens to have one like that. And last night, I forgot to delete it. Sorry. Thanks to mika for making me aware of that.

Wouter Verhelst: Autotools and shell

Autotools can be nice, but they can be pretty ugly too, sometimes. Especially when you're trying to do something that the autotools weren't originally meant to do. I was trying to generate scripts using autotools, in such a way that they'd be able to use variables that I've AC_SUBST'ed. At first, that did not seem possible, unless I wouldn't mind doing what autoconf.info suggests:
edit = sed \
	-e 's,@datadir\@,$(pkgdatadir),g' \
	-e 's,@prefix\@,$(prefix),g'
autoconf: Makefile $(srcdir)/autoconf.in
	rm -f autoconf autoconf.tmp
	$(edit) $(srcdir)/autoconf.in >autoconf.tmp
	chmod +x autoconf.tmp
	mv autoconf.tmp autoconf
autoheader: Makefile $(srcdir)/autoheader.in
	rm -f autoheader autoheader.tmp
	$(edit) $(srcdir)/autoconf.in >autoheader.tmp
	chmod +x autoheader.tmp
	mv autoheader.tmp autoheader
(sic, including the "autoconf.in" in the autoheader stub. Dunno whether that's a bug or whether autotools is really that ugly) This would work, but it has one downside: it can replace instances of "@datadir@" with the likes of "$ prefix /lib/$ PACKAGE ". Or, if the user is really sadistic, "$ my_stupid_variable_specified_on_configure_command_line /lib/$ PACKAGE ". Personally, I do not like that approach. So I had to find something else. With C programs, if you want to AC_SUBST something that could end up being something like the above, you'd just make sure you'd have something like -DFOO="@FOO@" in your AM_CFLAGS (or your program_CFLAGS); this would then evaluate your AC_SUBSTed variable, making it available (the proper way) to your C program. Occasionally, this is why it can sometimes be a good idea not to have a config.h... Anyway, the solution to my little problem was to be found that way. First, I have a little sed program:
#!/bin/sh
sed -e '/@config_sh@/ 
	rconfig.sh
	d
	 '
Or: 'replace all occurrences of @config_sh@ in the input with the contents of the file config.sh'. Simple. All we need now is to generate a config.sh file:
config.sh: Makefile
	env -i FOO=@FOO@ BAR=@BAR@ > config.sh
%: %.shin config.sh
	$(srcdir)/makesh < $< > $@
The first generates our config.sh file; the second uses the sed program above to turn any '.shin' file into a processed file. And now, my shell scripts only need to say '@config_sh@' somewhere appropriate to get access to all my AC_SUBSTed variables. Whee. (Side note: I could probably run the sed inside the Makefile itself, but apparently my sed- and make-fu is not string enough -- whenever I try that, sed errors out one way or another. Oh well.)

Martin F. Krafft: Visual SSH fingerprints

Recently, people have picked up on OpenSSH s new feature : visual SSH fingerprints. It hurts to see this feature in a software like OpenSSH, which is so integral to everything we do, because it s a waste. It s additional code, and thus an additional risk of bugs, and it has a net security benefit of zero, NULL, zilch, nada, nothing, nix, nadje, oomph! The theory is that you learn to recognise the general shape of the visual fingerprints of your hosts, which is easier for us to remember than strings of hexadecimal numbers. So, for instance, if you ssh to pony.debian.net, you get to see something that s not entirely unlike a pony:
Host key fingerprint is 45:2f:a5:d8:13:95:ba:03:51:c4:8d:ac:82:a8:4c:6a
+--[ RSA 2048]----+
          ==+o.    
         .++=o     
    . .  .o*..     
  .. . . o..o      
 +.     .S. .      
 oE        o       
 .          .      
                   
                   
+-----------------+

Rejoice! Because now, should pony.debian.net ever present a new SSH fingerprint, when OpenSSH screams at you:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.

then you can look at the picture and say: yeah, I knew that , because your pony has suddenly transformed into the visual representation of a giant fart. On the other hand, the new feature makes day-to-day interactions a lot easier. Imagine you need to ssh into a new host. You take a piece of paper and call up the admin to ask for the fingerprint, but instead of a series of hexadecimal digits, he says it looks like the easter bunny and a bit like southern Italy . Great feature . Thanks. I would appreciate if this sort of crap stayed out of important software. Dan Kaminsky might have some good ideas, but most of the time he s on crack. Get a grip. Stop being a fanboy. NP: Kinski: Alpine Static

30 October 2008

Jeff Bailey: Sickness, birthday, and planning for the next year.

I just managed to chat with the nurse at the doctors office. The chest x-rays confirm Pneumonia, and I'm now on antibiotics. They've also done two throat swabs. The first came back negative for Strep Throat, but I apparently clearly have a throat infection of some sort. They also did blood work to check for mono. The rest of the lab work will come back in 48-72 hours. The antibiotics will almost certainly cover everything already, though. I should apparently be non-contagious by Wednesday and back to work then.

I'd planned to mention this a little closer to New Years, but may as well post it now: We're not the only ones who've had a crappy year. Two of the couple I know who've been together longer than Angie and I have been broke up this year. Other people have had problems with their kids, or been fighting, or been fucked by the stock market.

So I'm proposing a "Global Fuck You". At 00h15 GMT (So that folks in Brittan can celebrate New Years and then participate), I'm proposing that anyone who feels like they could've done without some piece of 2008 go out and burn something. If you feel so inclined, write the list on a sheet of paper of the items, and torch it over a candle (In the parking lot! Don't start 2009 homeless!) If you choose to burn something more creative, I probably don't want to hear about it (I'm looking at you, students in France!). =) I don't know if it'll do any good, but it will certainly feel good.

I'll post again in mid-December about this. In the meantime, tell your friends! Start a Facebook group. Or something. Next year's gotta be better.

Hugs and love, friends. Thanks for the b-day wishes. Congrats to those doing the Ubuntu release! =)

Update: On the other hand, I'm *really* glad we're not moving tomorrow anymore! =)

Tks,
Jeff Bailey

Gunnar Wolf: SSH visual host keys

Via Kees Cook (and sorry for the reiteration for people following along Planet Debian, thanks to Caspar Clemens: Recent (>= 5.1) versions of OpenSSH (found at least in Debian Lenny and Ubuntu Intrepid), have the VisualHostKey option. What does it do?
$ ssh -o VisualHostKey=yes 172.16.10.1
Host key fingerprint is db:7a:d8:a8:2e:41:a2:e5:51:e1:7f:d0:73:bd:85:bf
+--[ RSA 2048]----+
     ..            
    ..  .   . .    
    .. . o . o .   
   + .. . o   +    
  + +  . S   . .   
 . . .  . o     .  
      .  .+.   E   
     .   o.o       
      oo...        
+-----------------+
Linux respaldos.local.iiec 2.6.26-1-vserver-amd64 #1 SMP Wed Oct 1 13:08:10 UTC 2008 x86_64
What does this mean? This ASCII-art graph represents your host's public key, which uniquely identifies (or at least, it better damn should uniquely identify!) it. This representation was added mainly because it is way easier to be able to visually record the shape of your most frequently used hosts' IDs than their fingerprint. If you connect from a foreign or untrusted machine (i.e. one that does not yet know your host's identity), make sure to run with this switch - it will protect you from somebody supplanting your server's identity.
Besides, it adds to the general kewlness factor, doesn't it? ;-)
To enable this behaviour by default, add the following to your /etc/ssh/ssh_config (or to your personal .ssh/config):
Host * 
  VisualHostKey yes
Now... What about publishing the list of the 32767 known-bad SSH keys? That'd make for a nice ASCII-art exhibit :-

David Welton: Slicehost Migration

Phew... that was a lot of work. I have a bunch of small sites that I migrated to slicehost, and at the same time upgraded to Rails 2.1. Here are my notes:
  • x86_64 sucks up memory in a bad way. On a 32-bit x86 system davidw 20089 0.0 0.1 3320 1428 pts/1 S+ 11:41 0:00 ruby and on x86-64: davidw 24197 0.0 0.1 16756 1968 pts/0 S+ 18:33 0:00 ruby Ouch! That means that you'll need more memory, and thus to spend more money, to run code that might have fit decently in a similar amount of memory on an x86 machine. For instance, my old server had a gig, and was running low on memory, so on slicehost, I set up one 512 meg slice to handle PostgreSQL, and a gig slice to handle Apache and Rails. The database slice is performing ok, but the 'web' one is kind of iffy in terms of memory. Part of the problem here, I will admit, is that Rails is a memory hog, but still, I had hoped to come out ahead by moving from a machine with 1 gig to two machines with 1.5 gigs between them, and instead I'm more or less where I was before.
  • I got caught up in a bit of a mess with Rails and the Ubuntu Intrepid update. I prefer to manage the Ruby stuff with gems, rather than traditional .deb package management, as I've had better luck with that in the past. I do use some of the system packages though, such as libpgsql-ruby1.8. However, the maintainers did something kind of ugly with the package: they swapped out the actual code from one code base to another - "Switched upstream source from ruby-postgres to ruby-pg". Which changes the way you load it, and perhaps a few other things as well. I think I would have been happier seeing the package renamed or something, as all of a sudden, programs stopped working.
  • I really like the ability to resize slices. I started both my slices at the 256 size, and then made them bigger when I was ready to put them into production. The process is not instantaneous, but it's pretty handy if you need more capacity in a hurry. Adding new slices is also fast.
So, all in all, I'm happy with the move, although the memory issue is irritating.

David Welton: Slicehost Migration

Phew... that was a lot of work. I have a bunch of small sites that I migrated to slicehost, and at the same time upgraded to Rails 2.1. Here are my notes: So, all in all, I'm happy with the move, although the memory issue is irritating.

Kees Cook: how to drain your entropy and have fun with ssh fingerprint ASCII-art

SSH’s new “VisualHostKey” option (in Ubuntu Intrepid and Debian Lenny) is great fun. Normally it is disabled, but it seems that “ssh-keygen” turns it on when generating new keys. In celebration of the Ubuntu release, here is a script to entertain yourself with RSA ASCII-art, care of SSH and your system’s entropy pool:

#!/bin/sh
set -e
DIR=$(mktemp -t -d rsa-art-XXXXXX)
trap "rm -f $DIR/key*; rmdir $DIR" EXIT HUP INT QUIT TERM
while :
do
    ART=$(ssh-keygen -t rsa -f $DIR/key -N ""   tail -n 11)
    rm -f $DIR/key
    /bin/echo -e "\x1Bc"
    echo "$ART"
done
Makes me feel like I’m watching Life. (Use control-C to stop it.)

Miriam Ruiz: Homophobic words of the Queen of Spain?

“I can understand, accept and respect that there are people with different sexual trends, but that they feel proud to be gay? That they go out on parades and demonstrations?” , Said the Queen of Spain to Pilar Urbano, the author of a biography about her (”La Reina muy de cerca“). “If these people want to live together, dress up for a wedding and to marry, they might have right to do so or not, according to their country’s laws: but they shouldn’t call that marriage, because it’s not. There are many possible names: social contract, union contract.“, she added. “Puedo comprender, aceptar y respetar que haya personas con otra tendencia sexual, pero que se sientan orgullosos por ser gays? Que se suban a una carroza y salgan en manifestaciones?“, dijo la Reina de Espa a a Pilar Urbano, autora de una biograf a sobre ella (”La Reina muy de cerca“). “Si esas personas quieren vivir juntas, vestirse de novios y casarse, pueden estar en su derecho, o no, seg n las leyes de su pa s: pero que a eso no le llamen matrimonio, porque no lo es. Hay muchos nombres posibles: contrato social, contrato de uni n.“, a adi . She has also spoken against abortion and euthanasia and in favor of forcing all the children to learn religion (catholic) at school. The Royal Family is supposed not to have a public political opinion, as they should theoretically represent every Spanish person. Fortunately many of us don’t believe in blue blood, kings, queens and all that stuff, so she definitely doesn’t represent us :) God shave the Queen!

Michael Banck: 30 Oct 2008

Systems Expo 2008 As the last years, Debian was offered a booth at last week's Systems expo here in Munich again. However, this year the Free Projects area was not organized by Rosa Riebl from C&L publishing, but by Wolfgang Drotschmann from LinuxTag e.V.. This made some things a bit more difficult, e.g. we did not know our exact booth number until a couple of days before the expo and the small conference programme was made up in an ad-hoc fashion after the expo started, but in the end most things worked out fine in some way or the other. While the booth (a demo-point, really) was as big (or rather small) as last year, there was much more space around the booth this year (something which seemed to apply to all of Systems), so things did not get too crowded even when a handful of visitors approached the booth at once. Also, the visibility was much improved as our demo point was visible by strolling visitors this year (last year, our demo point was just facing the wall). As nobody else stepped up, I had to organize the booth again. Fewer people than last year were around; only Robert Grimm, Arne Wichmann, Franziska Lichtblau, Johannes Wiedersich, Andreas Barth and I were able to commit to staffing the booth; other people were busy over the week or moved away from Munich since last year, like Robert Lemmen or Wolfgang Lonien. Luckily, we still had the computer the GNOME project donated to us last year, and I took a TFT, keyboard and mouse from the university along. This year, I decided to not show up for the booth build-up the day before Systems starts. On the one hand, I had made the experience that there is not much one can do then anyway, and would have to put the computer/TFT into the central locker room overnight anyway. On the other hand, there was as always a very low attendence in the first few hours of the expo so building up the booth in the morning turned out to be no problem. The Credativ people again provided us with merchandise (due to some miscommunication on my part the package had to arrive directly at the expo, but in the end I was glad about this as I had enough trouble carrying the computer and TFT to the expo). This year, thanks to Credativ, we were able to provide some t-shirts for the first time, something quite some visitors had requested over the years. Besides t-shirts, we had some swirl stickers and the popular Debian keychains provided by Joerg Jaspert through Credativ. In the end the booth mostly consisted of the computer (demonstrating Lenny most of the time) and some A4 sized Swirls I had printed out the day before. From Wednesday on we were able to provide Lenny Beta2 CDs as well thanks to Johannes Wiedersich who organized them. Initially, I asked ADR whether they would produce some CDs for us again as they did last year, but they did not bring the appropriate hardware this time. But thanks to Johannes we were still able to provide interested visitors with CDs through LSK. In the end, we ran out of most t-shirts at some point on Thursday and managed to sell the two remaining Lady shirts on Friday. All the other merchandise was gone by the end of the show as well so the way back was not that difficult, even more so as Andreas Barth helped me carry the computer to the subway and my car. The days I was at Systems (first and last day) the attendance was rather low, so not that many interesting discussions happened. Almost everybody who stepped by knew Debian already and the majority was using it themselves as well, at least on their servers. Those people were also really quite happy, we rarely heard much critizism, even after asking people for some. The most frequently asked question was undoubtly "when will Lenny release?", followed by "do you have that cool t-shirt in L or XL as well?". Overall it was a pretty good experience, albeit slightly stressful organizing it. In any case, this was probably the last time I had to do this as the Systems organizers announced they will rethink their concept and there will be no Systems 2009.

Marc 'Zugschlus' Haber: Nagios, Parent Hosts, and traceroute on the Internet

Nagios has the - very useful - feature of “parent hosts”. If it deems a host A being down, it first checks its parent host, B, and reports A only as down if B is up. This goes back recursively until a host with state “up” is found and only the first “down” host is actually reported. This keeps on-call people from being bombed with alerts in case of major network outages and makes sure that the alerts that are actually sent out do reasonably accurately describe the actual outage. As an individual who has some “external” servers in various data centers on the Internet, I would like to not be alerted multiple times that my servers at ISP C, D, and E are down if there is an outage at the ISP F hosting my Nagios installation or at one of the various exchange points temporarily rendering the servers unreachable (without me being able to do anything). The solution sounds easy but is surprisingly hard. How one could solve the issue For each host in the manual nagios configuration, do a traceroute and generate host stanzas for each of the hosts found:
$ sudo traceroute -I icmp -n -A 213.239.240.200
traceroute to 213.239.240.200 (213.239.240.200), 64 hops max, 28 byte packets
 1  <snip>
 2  217.243.221.150 [AS3320]  1 ms  0 ms  0 ms
 3  62.154.10.106 [AS3320]  1 ms  2 ms  2 ms
 4  217.239.40.226 [AS3320]  51 ms 217.239.40.234 [AS3320]  3 ms 217.239.40.226 [AS3320]  60 ms
 5  193.159.226.2 [AS3320]  3 ms  3 ms  3 ms
 6  213.239.240.200 [AS24940]  6 ms  7 ms (TOS=238!)  8 ms
$
This sounds easy and surely can be accomplished in a few hundred lines of perl. However, this makes it necessary to parse Nagios configuration if one wants to obtain the list of configured hosts directly from there. Unfortunately, the syntax of Nagios configuration is “historically grown” which makes it quite illogical and awfully hard to parse - this would easily double the size of the traceroute-based configuration generator. Additionally, the (real) traceroute given above shows three other issues that might arise from such a setup. Dynamic Routing Network paths are not as static as a traceroute suggests. On the Internet, the ISPs use BGP to connect their networks together and to ensure connectivity. In case of network reconfiguration (which may be caused by desired technical or policy changes or actual failures), the traceroute to a given network host may change. Considerable experience is needed to judge whether a change in the traceroute is only short-term while one looks at it, or long term meant to stay. Of course, only long term changes should be reflected to Nagios configuration. The possibility of changes makes it necessary to distinguish between “manually” and “automatically” generated Nagios host entries and to have a mechanism to quickly re-generate the “automatic” entries according to the current situation found on the network. Alternative Network Paths If you look at hop 4 of the traceroute given above, you see two IP addresses. This is a common “one packet left, one packet right” setup where two identical lines are sharing the load and this one sees different interfaces of the next hop router. Which IP address should one put into the parent host declaration then? Later Nagios versions supposedly are able to handle multiple parents to a host, but the docs of course don’t cover this complex configuration and I didn’t yet find the time to find out how this mechanism works and whether it can be used to represent a network layout like that in Nagios. Unpingable Routers For some network operators, ICMP echo request packets (ping) pose a significant load on their network equipment. To remedy that load, they have disabled ICMP echo reply transmission on these machines to keep the load down. This makes the router still show up in a traceroute (as this is done by sending packets with short TTL values and making them expire in transit, resulting in an ICMP TTL exceeded message being sent back), but it cannot be pinged. Hop Number 5 on the traceroute above is such a box: It shows up fine in the traceroute, but pinging it will always return “DOWN”. Currently, I simply omit such hosts from the Nagios configuration, but this may result in extra and inaccurate alerts once the unpingable host itself fails. A different possibility would be to check the host’s availabilty by sending an appropriately TTLed packet either to the host itself or to a host that is “behind” that host. The latter introduces even more complexity since one needs to find out a host “behind” the unpingable box, but this may be necessary since in the case of Hop Number 5 above, the IP address of the hop does not even seem to be in AS3320’s internal routing and tracing to the hop itself stops well before the expected place of the host regardless of from where one traces. Conclusion This is a surprisingly hard issue if one wants to do network monitoring while generating accurate alerts. Surely, it’s a topic that needs to be addressed in network monitoring, so I am quite interested in how other people tackle this. Please comment! Thanks in advance.

Decklin Foster: A long-overdue explanation

Regarding that last post. I received the list via email from Alan Sondheim earlier in the week, and felt like putting up a link to it. No particular reason; it seemed appropriate for one of those sui-generis enigmatic tumblelog things. I was disappointed to find that none of the mailing lists where I might have been able to find it had public archives. (One way of dealing with people who complain about spammers harvesting their address, I suppose...) So, I said to myself, I've got 8+ years of this guy's email work, I'd like to share it with the world, and I have Mnemosyne, which I had always thought, in the back of my mind, would be a neat way to archive email written as email rather than written as a "blog". So, a little hacking later... The Alan Sondheim Mail Archive (Warning: some parts are NSFW). It has already given me some ideas for improving the example templates; I'll release 0.12 soon with the changes I had to make to get this running. (Final tally: 4500 messages, 75 seconds from a clean htdocs, 12 to no-op. On whatever the cheapest Linode [1] [2] is. Eh. I can do better.)
[1]Incidentally: Linode has been great. Highly recommended.
[2]Also: yeah, I know my footnotes are broken. Working on it.

MJ Ray: Dot-coop Domain Renewal Hell

Without emailing us in advance, UK.domains.coop just expired our software.coop domain on 29 October instead of 5 November. When I looked at the renewal option in the control panel, the fees have increased by about 30% since last year. I don’t remember being told that and it’s more than what was authorised at the last TTLLP members’ meeting. If I remember correctly, the old price for the dot-coop domain was already five times the price of our dot-UK - now it’s more like six or seven times. I’m sick of the service from UK.domains.coop. The services are owned and run by cooperatives, but it’s not one we can join, as far as I know. Their control panel is rented uncooperative software which doesn’t meet current accessibility standards - I have to reconfigure my browser each time I use it. The support has been a little slow and it’s apparently easy to configure a domain into a non-working setup that one can’t recover without help from the support staff. When I complained, it was suggested that we should work with them, but when I asked how, I never saw a reply. So, I’m transferring our cooperative domain to a non-cooperative registrar. The DotCooperation LLC is a wholly-owned subsidiary of the US coop federation and not a cooperative itself, so does it really matter? After working through a long list of registrars that claim to offer dot-coop domains and eliminating all those which only offer paper registrations (because I don’t want to wait for air-mail) or don’t appear to accept domain transfers, I was left with two and neither were cooperatives. I’ve picked one and only after ordering, I’m told it will take a week to transfer. Grrr. At least the support staff response was pretty quick. That means that these news pages are at a temporary URL for a while. Email to software.coop addresses and the main information pages are offline. If the registrar we’re using turns out to be any good and responsive to feedback, I’ll see if we can resell their services next year.

Clint Adams: Eight days of Mraz makes a harmed man fumble

  • Day One
The South American maid confesses that she doesn't clean much, because the Spaniards don't notice.
  • Day Two
People keep playing the same Jason Mraz song over and over again. It is awful. Does Jason Mraz have more than one song? If so, does he have any good songs? This makes Coldplay seem like good music.
  • Day Three
While dumpster-diving in Fulda, a large man wearing an archer's cap and peculiar shoes appeared, carrying one of the largest baskets I have ever seen. He showed me that it was full of bread, and attempted to sell me some. When I showed no interest in his wares, he recited the following gibberish:
 Ich glaab ich bin aus Staa
 unn hab' mehr Bauch wie Baa-
 unn doch bin ich en arme Tropp-
 denn ach, ich hab'e Loch im Kopp!
  • Day Four
More Jason Mraz. Ugh. Jos complains about people who will walk together without talking constantly. He repeats himself about fifty times without accidentally saying anything interesting. I am afraid that he will injure his voice and then his brain will have to start working. Luckily this does not occur.
  • Day Five
In Neu-Isenburg for a standoff with the Sky Chefs. Every time I enter Neu-Isenburg I get paranoid and start looking for UutiSaruman. It's creepy.
  • Day Six
A Hessian woman tells me I lead a sad life. I can tell that she's Hessian because she looks like a slender Austrian with teeth. I don't tell her this.
  • Day Seven
Razula asks if I remember what le k means in Slavic. I don't know why he thinks I knew in the first place. His friend starts spouting off a lecture on why Hungarians are superior to Germans because Hungarians lie, cheat, and steal, and Germans obey laws. I wonder if le k can help this situation. Probably not.
  • Day Eight
Now the South American maid is complaining that Spanish men are gay and don't realize it. Then she goes on at great length about the Great Flying Circus of North Korea. I think about asking her where it's from. I decide against it.

Wouter Verhelst: Reading the "Metro" on my Hanlin V3

It was recently brought to my attention that the free newspaper "Metro" has an online version, where you can download the entire newspaper in PDF form; or use it in an online version, which consists of a series of images of each page, where if you click on an article, the usemap of that image is a link to the relevant article in HTML form. Of course my hanlin doesn't have a webbrowser (it has a somewhat limited HTML parser, but that does not understand even hyperlinks, let alone usemaps), so the PDF version is what I need. Unfortunately, the only option which "Metro" provides is a set of one-page PDF files. They are somewhat readable on my hanlin (someone with worse eyes than my own would probably have trouble reading the small letters, but for me it's not a problem); however, the fact that rather than just using the 'page turn' buttons on my hanlin I have to close the current file, open the next, and reconfigure the zoom all over, means that this multi-PDF thing isn't exactly great, and that I'd prefer just getting one PDF file instead. So I got to work, and tried out a few things. There doesn't appear to be anything to merge multiple PDF files into one. There is 'psmerge', but that only does PostScript files, not PDF ones. But that's not a problem, because PDF files can easily be converted to postscript and back, right? Well, no. The first pdf-to-postscript converter that I tried was 'pdf2ps', a wrapper script around ghostscript. Unfortunately, using that results in some ugliness: original PDF
source, as rendered by Xpdf output of
pdf2ps, as rendered by gv As you can see in the second image, using ps2pdf results in some quality loss. Ghostscript apparently doesn't understand the letter 'A' very well, and (more importantly) loses the anti-aliasing that is part of the pdf file. Converting this file back to PDF and storing it on the hanlin results in an unreadable text. But it gets worse. Once I had converted all those PDF files to postscript using pdf2ps and merged them with psmerge, the output was gibberish. Or Klingon, take your pick: psmerge
output, as rendered by gv In case you were wondering, yes, that is the exact same fragment (counting lines sucks) at the exact same zoom level. Clearly this was a dead end. I found that there was a second pdf-to-ps converter, called 'pdftops', which uses the xpdf code base to do its thing. This converter produced clearly better PDF output; I could not see any difference between the Xpdf rendering of the original file, and the gv rendering of the pdftops output. Also, the psmerge output does not garble things as badly: better psmerge
output, as rendered by gv Sadly, it still loses anti-aliasing, and thereby the readability of the document on my ebookreader device. Moreover, the pdftops output seems to confuse psmerge, to the extent that it hangs on some pages. Another approach I tried was to import the pdftops output into scribus, and create a multi-page PDF file with that program. Unfortunately, however, scribus does not seem to like the pdftops output. Xpdf also has a 'pdftoppm' converter. With that, I was able to create a multi-page .pdf file that was not garbled, and did still contain anti-aliasing. Unfortunately, since the PPM format is a raster image format, the PDF file that is created in this way does not scale very well, resulting in artifacts and, again, an unreadable PDF file on the hanlin device. So it appears that for now I'll be stuck with storing multiple files on my device. Sigh. I wish that wouldn't be necessary... Update: So I needed pdftk.

29 October 2008

Joost Yervante Damad: RC-Bugs / Debian Bug Sprint

The Debian Lenny release has still quite a big list of Release Critical bugs, and as Debian developer I feel that I should do my share, and at least look at the list of bugs and see if there's any I could do something for.

Almost always though, I find that I won't touch the remaining bugs in the list.because of one or more of these reasons:

  1. a package I really don't care about
  2. hugely complex package or might also use something obscure like cddb
  3. it seems like people are already looking into it
  4. it requires a political solution, not a technical one

As part of the effort to get Lenny released, Joss Mouette started the Debian Bug Sprint.
This is really a cool concept, and it is a shame not more people participated.

The reason for me it is cool is that it forced me to break the rules I mentioned above, because I got a bug which fitted 1 and 4 of my list above!

Turned out this bug is really a border case in interpretation of Debian policy.

The package is perfectly usable without any extern dependencies, hence it is currently in the main section of Debian. However it doesn't end there. The package also has a download script that can fetch firmware images for certain printers. It appears for people with these printers the package is NOT usable without external files.

Aparantly though, the current, as one person involved in the bug calls it, "spirit" of Debian is to tolerate this, as it is good enough that it is usable without external dependencies for SOME persons.

However the bug submitter doesn't agree, and thinks this is a case that needs addressing withing the Debian project.

I suggested splitting up the package and moving the download script to contrib, but this was mostly dismissed as idea.

The end result is that the maintainer decided to escalate the problem to the Debian CTTE.
This means it probable won't be solved by today, soo I will have to bake cookies for someone :)

Jeff Bailey: Whinging

Meh. I really try not to whinge on my LJ. But I'm going to FAIL at this moment.

I've been running intermittent fevers since Sunday. Currently up to 39.4 (~103F for the Americans and Grand Parents). I called the clinic to ask them for advice at 38.8. Phoned them back when 10 minutes later I felt worse and was up to 39.4. So, fine. I feel like crap, poor me. What pisses me off, though, is me asking the receptionist for what the standard number at which I should head to emergency is rather than wait for a call back and getting the answer "We can't give out medical advice".

ARRRGH I WANT TO GO HOME.

Me asking for the best course of action to not wind up in a body bag where the answer is certainly in a first year nursing textbook is NOT medical advice. I know they'll give this info at home because that's how I found out the number in the first place. But the memory isn't doing so well right at the moment.

So I'm waiting for a call back from the doctor. *sigh*

2h45 until my birthday. Happy birthday to me. =(

</whinge>

Next.

Previous.