Search Results: "Joachim Breitner"

15 July 2007

Joachim Breitner: My own jabber server

I was considering to switch jabber servers for a while, especially because my old JabberID joachimbreitner@amessage.de was not really nice. But I was always afraid of having to add, authorize and request authorization for all my old contacts, so I kept postboning that.Today, my Jabber hoster had some problems and all rosters were empty. While they will probably fix it later, I thought this is a good time to finally set up my own jabber server. The procedure was, thanks to Debian, almost ridiculously simple (apt-get install ejabberd). I then only changed one piece of configuration (no self-registering for other users) and I was ready to go!I followed neingeist s advice and did not name my new Jabber ID jabber@joachim-breitner.de (which would fit to my e-mail-address mail@joachim-breitner.de), as some clients would then use jabber as my nickname. Instead, you can now reach me under nometa@joachim-breitner.de . If I was on your roster before, you will have to re-add me sorry for the hassle. I hope it will be the first and last time.For those who do not know what Jabber is: Jabber (or XMPP) is an instant messaging protocol, providing similar features as ICQ or MSN. The important difference is that it is not tied to one provider: While ICQ and MSN users can t chat to each others, all Jabber users can chat with each other, no matter on what server they are much like e-Mail. There are some free Jabber servers such as jabber.org or jabber.ccc.de, some commercial (but also free to use) such as Google Talk, GMX or Web.de, and lot s of privately run servers such as mine. Try it!

20 June 2007

Joachim Breitner: Finding revoked signatures on a gpg key

The Gnu Pricacy Guard seems to have the default option of setting an expiry date when the signed key has such a date. My gpg key used to have such an expiry day when I went to the first keysigning parties (LinuxTag, DebConf 3). I have removed the expiry date later, but still a lot of signatures are now no longer valid: While I have signed 310 keys, my key is currently (pre-DebConf 7) only has 170 valid signatures.Tonight I wanted to find out what keys are these exactly, and after quite some trial and error I found a way to get that data, using only real old unix tools such as awk, sort, join:
gpg  --list-options show-sig-expire --fixed-list-mode --with-colons --list-sigs nomeata > my-sigs-col
cat my-sigs-col  awk -F: '$1 == "sig" && $7 != ""   print  '   sort -k 5,5 -t : -u > expired
cat my-sigs-col  awk -F: '$1 == "sig" && $7 == ""   print  '   sort -k 5,5 -t : -u > non-expired
join -v 1 -t : -j 5  expired non-expired > only-expired
Maybe I will use that list some time after DebConf7 to mail all these people, asking them to remove or update the expiry date from their signature.

Joachim Breitner: Finding revoked signatures on a gpg key

The Gnu Pricacy Guard seems to have the default option of setting an expiry date when the signed key has such a date. My gpg key used to have such an expiry day when I went to the first keysigning parties (LinuxTag, DebConf 3). I have removed the expiry date later, but still a lot of signatures are now no longer valid: While I have signed 310 keys, my key is currently (pre-DebConf 7) only has 170 valid signatures.Tonight I wanted to find out what keys are these exactly, and after quite some trial and error I found a way to get that data, using only real old unix tools such as awk, sort, join:
gpg  --list-options show-sig-expire --fixed-list-mode --with-colons --list-sigs nomeata > my-sigs-col
cat my-sigs-col  awk -F: '$1 == "sig" && $7 != ""   print  '   sort -k 5,5 -t : -u > expired
cat my-sigs-col  awk -F: '$1 == "sig" && $7 == ""   print  '   sort -k 5,5 -t : -u > non-expired
join -v 1 -t : -j 5  expired non-expired > only-expired
Maybe I will use that list some time after DebConf7 to mail all these people, asking them to remove or update the expiry date from their signature.

17 June 2007

Joachim Breitner: Shift-Caps-2

The Caps lock key is quite useless, most people agree with me here. So I configured my system to make the Caps-Key a general control key: Caps-E starts a terminal, Caps-t lists my tomboy notes, Caps-Down selects the next workspace, Caps-2 selects the second workspace. For the workspace switching commands, there are also variants with Shift that move the current window, so that Shift-Caps-Down moves the window to the next workspace, Shift-Caps-3 moves the window to the third workspace and Shift-Caps-2 does nothing.At first I thought it was a misconfiguration, but upon closer inspection I found out: As soon as Shift and Caps are pressed, all keys in the line F1-2-W-S-X, as well as the key are not registered, not even by the kernel, it seems. Is this some old legacy problem with PC keyboards, when the bits of a key code were hardwired in the keyboard? And is there a way around it?

14 June 2007

Joachim Breitner: screen-message uploaded to Debian

By popular request (if you consider Lunar to be a pupil) I have packaged my old hack vlshow as screen-message to Debian. The small program (called sm on when installed) starts and displays a given text as large as possible, in big bulky black letters on white background. You can change the text while the program is running. This might be useful to quickly send a message across the room, say something to people who think they are reading your screen unnoticed, for make-shift signs, to marvel at nice unicode characters and all kinds of other funny purposes.
I used this as a chance to try out darcs-buildpackage, which is very nice, especially as it makes the separation of upstream sources and Debian changes possible in a non-troublesome way. I attended Enrico s tutorial on autotools and autotoolized the package during that talk, which meant that I could use cdbs for building the package nice experience as well. Darcs s dist feature is very nice when using autotools, although it makes darcs-buildpackage slightly inconvenient. (While dpkg-buildpackage uses darcs dist on the upstream sources to build the orig.tar.gz, it does not check the predist command in _darcs/pref/pref when building the debian package, which fails then. It works fine if I run that command, in my case predist autoreconf -i && rm -rf autom4te.cache/, before running dpkg-buildpackage.)The package is currently in the NEW-queue, until it was accepted, you can find packages on people.debian.org. Thanks to Lunar for some patches. I m keen to hear interesting stories about how and where you used the program.

13 June 2007

Joachim Breitner: DebCamp HalfTime

The DebCamp week (which is before the week of real DebConf) is half way through, time to give some report.I m staying at the Budget Backpacker s Hostel, which is very nice: A newly built hostel, clean, sufficient breakfast support and funny guys at the reception. It s only a few minutes walk from where DebCamp is happening, I just have to pass a whichcraft shop and an old church.I ve seen some parts of the Edinburgh old town by now, from walking around in the evening looking for pubs and from a walk up to Arthur s Seat. It looks all very old and massive, like one large medival move scene. Since we get food at the university cafeteria (which is, I think, lower cafeteria standard), I could not yet try out the food places in Edinburgh.I have started to work on the metainit idea: Creating init scripts for various init systems from small description files, where possible, but the code is not very far yet. Thankfully Urs, who I ve met in Salem, met again at the GPN5 and who know studies here in Edinburgh, has helped me a bit. I was also forced by Enrico to give an unprepared, sponanious 1.5h talk about Haskell, which went well enough. The first gpg keys have been signed; if you take part in the keysiging party, you might want to check out my slightly patched version of gpgsig.In the evenings we either went to the pubs (which sometimes do have bitter lemon, and sometimes not even Fanta), or played great rounds of Mao, or both. From today on, though, there is a room nearby where we can sit and hack all night, it seems, so this habit might change.

Joachim Breitner: DebCamp HalfTime

The DebCamp week (which is before the week of real DebConf) is half way through, time to give some report.I m staying at the Budget Backpacker s Hostel, which is very nice: A newly built hostel, clean, sufficient breakfast support and funny guys at the reception. It s only a few minutes walk from where DebCamp is happening, I just have to pass a whichcraft shop and an old church.I ve seen some parts of the Edinburgh old town by now, from walking around in the evening looking for pubs and from a walk up to Arthur s Seat. It looks all very old and massive, like one large medival move scene. Since we get food at the university cafeteria (which is, I think, lower cafeteria standard), I could not yet try out the food places in Edinburgh.I have started to work on the metainit idea: Creating init scripts for various init systems from small description files, where possible, but the code is not very far yet. Thankfully Urs, who I ve met in Salem, met again at the GPN5 and who know studies here in Edinburgh, has helped me a bit. I was also forced by Enrico to give an unprepared, sponanious 1.5h talk about Haskell, which went well enough. The first gpg keys have been signed; if you take part in the keysiging party, you might want to check out my slightly patched version of gpgsig.In the evenings we either went to the pubs (which sometimes do have bitter lemon, and sometimes not even Fanta), or played great rounds of Mao, or both. From today on, though, there is a room nearby where we can sit and hack all night, it seems, so this habit might change.

11 June 2007

Joachim Breitner: Visualizer for Anagrams

For my uncles wedding my brothers and I did a show where we took his name and use its letters to create a bunch of new words that are part of a speech about him. This was visualized on a projector by a program by me that let s the letter swirl around, forming each built word, as well as some special effects (such as rotating one letter around to show another).The program is written in Haskell, using gtk2hs and Cairo. You can find the sources in my darcs repository (Browse via DarcsWeb). To build it on a debian machine, this should work:
apt-get install darcs gtk2hs libghc6-cairo-dev libghc6-gtk-dev libghc6-mtl-dev happy
darcs get http://darcs.nomeata.de/anapres
make
./anapres examples/RolandHochzeit.anapres
I can also provide pre-compiled binaries, if you want.There is a very simple text file format that describes the sequence of words and special effects, but so far it is only tested with the one example file (the one from the wedding).If you want to try this and have any kind of trouble, do not hesitate to contact me. I m also interested in bug reports and patches, of course.

10 June 2007

Joachim Breitner: Arrived at DebConf7

After about 18 hours of public transport, I arrived tired but savely in Edinburgh. Chairs in DB night trains are not the same as chairs in CityNightLine trains, but if you have only two people in a compartment, you can atleast spread out on three seats. I still didn t get too much good sleep. The Eurostar train from Paris to London behaves as if it were a plane: Long queues before check in, security and passport checks. The benefit of taking a train (hassle-freeness) gets somewhat lost there, and it feels as if it was the marketing department s descision. The train itself is comfortable and has power plugs nice.In London I had to take the underground from Waterloo International Station to Kings Cross. If I had bought a simple one way ticket paid in cash, they would have charged me 4, but with the so-called Oyster-Card, it s only 1.50. But please, if you put ads and leavlets for that card all over the place, mention somewhere that the card itself is basically free! Well, I had to ask to find that out and got myself the cheap ticket.The train to Edinburgh was not different to German trains, besides the fact that it offered on-board wireless network. Pricy, but still reasonable, and not entirely secured.In Edinburgh I tried to go to the hostel first, but walked too far and ended up in Teviot, where the DebCamp is happening, just in time for Dinner. My first brief impression of Edinburgh is: Massive, Dark, Old. Not bad! Also the room I m sitting in right now, the Hack Center, looks lik an old curch, with coloured glass and a balcony around it.

9 June 2007

Joachim Breitner: Going to DebConf 7

In just about 50 minutes, I will get on the bus next to my university dormitory and after a 4 changes and 17 hours later, I ll arrrive in Edinburgh to attend the 7th annual Debian Camp and Conference for two weeks. Yay!I m rather unprepared this year, due to other distractions. I hope I can help with the meta-init-idea floating around, and maybe other things as well.I ll keep those of you who will not be there updated, and I m looking forward to meet those of you who will be there!

3 June 2007

Joachim Breitner: Spontanious DHCP-Server: Done.

Sitting around at the GPN6 conference in Karlsruhe at the moment, I thought it s time to write the instant DHCP server I blogged about. So I took the code from udhcpd and, instead of parsing an config file, figure out the settings myself. So I can run simpledhcpd eth0 now, and will get a DHCP server that waits for DHCP request and answers them with an IP from eth0 s subnet, the correct netmask, my own IP as the gateway and the first entry of /etc/resolv.conf as the nameserver that s all it needs to quickly connect any other computer to mine and, if routing is enabled, provide it with internet connectivity.I have uploaded the simpledhcpd binary as well as debian binary (.deb) and source packages. It is all very hackish, bad code and comments are welcome.

1 June 2007

Joachim Breitner: Unicode against Smileys

You probably all know how some IM clients convert text smileys like :-) to some more or less funny graphics. The problem with these is that every client has it s own graphics, and there are themes, so what looks like a secretly smiling face here might be laughing naughtily laughing grimace there. That s why I prefer text smilieys But my girlfriend uses one of those bad clients, so I tried to hack around it, using funny unicode characters. My first try was to add a zero-width space character like (U+200B) inside the smiley, so that it would be : -) instead of :-) . Indeed, her client was not replacing the text with an image, but it did not know the special character, so my girlfriend saw something like : -) (It was a square, in case your font looks different). The next best try was to replace the nose with a different character. Interestingly, while using the EN-DASH (U+2013) instead of the normal hyphen - (U+002D), the minus character (U+2212) worked, so now my girlfriend sees text smileys with a slightly longer nose but that s ok, after all they are from me : ). And thanks to a pidgin plugin, I can just type :-) and : ) will be sent.

21 May 2007

Joachim Breitner: Spontanious DHCP-Server

Sometime someone connects his computer to mine using a network cable, to transfer some files or similar. In a perfect world, both computers would run something like zeroconf or avahi-autoip, and IP adresses were taken care of. But in the real world, this is not often the case. Then, this would be easiest:
$ ifconfig eth0 192.168.42.1
$ simpledhcpd eth0
Where simpledhcpd would, without any configuration, start listening for DHCP requests on eth0 and serve IPs from the just configured subnet. No configuration file, no leases, not even a deamon mode. Just Real Simple IPs for your ad-hoc-network. Does that already exists?

15 May 2007

Joachim Breitner: gaim-thinklight pidgin-blinklight

I once wrote a plugin gaim called gaim-thinklight, which simply blinks your ThinkPad s ThinkLight when you get a new messge. Very recently, gaim was renamed to pidgin, so gaim-thinklight is now called pidgin-blinklight. I changed the second part not because of trademark issues (as gaim did, IIUC), but because it also supports ASUS laptops since the last version. At least I hope so, I implemented that, as I do not have an ASUS laptop please tell me if it does or does not work.If you run Debian unstable, you ll soon be able to apt-get install pidgin-blinklight. Others can find the sources on the debian package page. I m still too lazy to host that code somewhere else as well...

14 May 2007

MJ Ray: Planet Debian Editorial Policy (Reader Comments)

Kevin Mark commented:
"Hear hear! I was waiting to read about the Eurovision results! But I'm sure AJ and Martin want a let's take the fun out of Debian planet debian tech and I'm sure someone can make them a custom feed for the cost of a reasonable bounty!
Nice to know I'm not alone. (Why mention AJ?) Joachim Breitner wrote:
"I once tried to start a German planet Debian because the official only allows English postings. Maybe it would be nice to have some kind of tagging standard that works across aggregators. This way, we could allow any kind of posts on p.d.o, and allow various sets to chose from, based on tags. I, for example, would choose (german OR english), others might chose (english AND tech), or ((french OR english) AND debian). Some (NOT politics). And some just (jokes) :-)"
Why didn't German planet debian work? I think there's a sort-of standard in dc:subject and xml:lang, but we'd need to agree a tag dictionary. And I think planetplanet generates files, so we'd need some cached or database solution. Update: Joachim Breitner replied:
"To be correct, I tried setting up an international planet debian on gluck with no language restrictions, but interest was rather low and planet (the software) is not really maintenance-free, so I stopped after a while. A German planet was tried by someone around Christmas, I think, but AFAIR he lost interest while trying to make it look pretty. I guess I should follow up on that. :-) (PS: Can you make the comment form store the information in a cookie? Would save some typing.)"
Sorry, these pages are static html at the moment. You could try using Saved Forms in Iceweasel/Firefox, which may be configured at Edit: Preferences: Privacy: Saved Forms or similar.

9 May 2007

MJ Ray: Travelling to Debconf7

In reply to my tips for anyone making the trip over land from England, Joachim Breitner wrote:
"Damn it! Now I was waiting for the night train tickets back from Edinburgh, just to notice now that they don't operate on Saturdays! I wonder if there is some car going from Edinburgh to London on Saturday, 23rd... (/me is worrying about his trip)"
and 10 minutes later:
"Never mind, there are still overnight busses available - and damn cheap :-)"
I hope that crew of that overnight bus are kinder than the one I did London-Paris on a while ago: calling out over the public address at 0230 stops that no-one had tickets for, then arriving over an hour early in Paris. No-one wanted to be in Paris at 0430. Anyway, I think I'll spend a few hours in Manchester and Derby - anyone got tips on where to eat or what to see?

4 May 2007

Joachim Breitner: New parody song Frequent Flyer

Another song to add to my list of parody songs (Scroll down to the section Lieder ): Frequent Flyer instead of Bruce Springsteen s I m on Fire . I think I ve done better before, but if someone likes it: Enjoy!

1 May 2007

Joachim Breitner: A shelf for darcs

I recently did my first experiments with darcs: A friend of mine and I hacked on the same code, and by giving each other access to one s darcs repository, we could easily exchange our new code.One problem I had was that my friend recorded a patch that I did not want applied in my repository. Nothing else depended on it, so I could just say no everytime I use darcs pull , but it s still a hassle. Also, imagine that I m somewhere else and I suddently decide that I do want the patch?A similar problem would be if I created some patches that I temporarily don t want applied. I could branch, and then unpull them, but this is a bit too much work.In both cases a patch shelve would be handy. A seperate storage for patches in my repository that are available, but not applied. I d imagine that the darcs pull command would then allow me to pull and put on the shelf , and not offer me this patch again. There would also be put on shelf and get from shelf commands. So if anyone feels like hacking on darcs, this feature would be appreciated.Also filed as a withlist bug.

17 April 2007

Gunnar Wolf: Init-related ideas BoF submitted for Debcamp

Ok, so it just seems like a hot topic - I just submitted a BoF for Debcamp to talk about the init-related ideas we've been discussing. As Debconf's Pentabarf conference management system does not like disclosing talk details before the talks are accepted, I'll reproduce here my short blurb:
This BoF comes out from several ideas posted in Planet Debian by Erich Schubert, Sven M ller, Joachim Breitner, Mike Homey and myself (so far). It's not to be "chaired" by any of us particularly, but I expect an interesting brainstorming session.
There are several different init systems present in Debian - However, we are only supporting currently one of them, good ol' sysv-rc - We have close to a thousand packages providing init scripts suitable for it, and close to none for all of the other systems.
In current systems, full of hot-pluggable devices, changing network configurations and so on, however, I think this situation is quite prone to change - sysv-rc and its runlevels are better suited for stable server-like systems, and is hard to adapt for future needs.
We will talk about the potential difficulties Debian will face in order to better support more init schemes, and discuss some ideas to solve them.
This should be a brainstorming session, not much material will be prepared (maybe some sketches by each of us, but nothing formal). If you plan on attending, take a look at the messages linked to in the 'links' section.
Note that, following Nomeata's suggestion, I'm presenting this for Debcamp - If you are not attending Debcamp and are interested, we will try to set this up via some sort of videoconferencing (or at least the usual video feed + IRC feedback), and I do hope we can have something showable (at least a broken concept) after Debconf.
In not-so-closely-related topics, I just learnt there is a shadow of doubt regarding my presence in Edinburgh - I will do my best to dispell the threat. I just don't want to miss a Debconf!

13 April 2007

Joachim Breitner: Big Brother for your Window

I just read about this really cool hack: He installed the well known Unix-Tool xeyes in his window no, not Windows, window. The thing to look out of your room if the shades are not down. (Video available)The effect is that the innocent bywalkers on the street will feel, well, watched. Not like otherwise where they probably are watched and don t know about it. Might be a very cool gimmic for privacy related PR actions, or just to generally protest against state surveilliance...

Next.

Previous.