Search Results: "pkern"

8 July 2008

Philipp Kern: Debconf 8: ready, set...

I think I'm ready to go to Debconf 8 now. Just got the last missing vaccination of ones recommended for visitors of Argentina (link German, sorry). Also signed up for an insurance in case I get sick. Now I just need to prepare my stuff properly and restock some of the drugs I occassionally use, just in case. I still feel a bit inert, but I guess that it will be a nice trip and experience. Thanks to those who made it possible!

24 June 2008

Philipp Kern: Hooked up on TV series

Some months ago I didn't think that I would stick to an English TV series, not in any way dubbed or subtitled. But my girlfriend got me totally hooked up with both House, M.D. (Hugh Laurie is just hilarious) and 24. I got my own pick, too: Futurama. At least watching those American series improves my listening comprehension, although I still miss quite a lot of puns and jokes due to the missing subtitles and due to my missing knowledge of English sayings. But it works out somehow, she's explaining some of them to me, and I still enjoy it and have fun.

19 June 2008

Philipp Kern: Serial Console (with Xen)

Because I found it a tad non-obvious here a little tutorial. First we enable serial access to grub. For this add the following to your /boot/grub/menu.lst (tested with Grub legacy):
serial --unit=0 --speed=19200
terminal --timeout=5 serial console
I chose such a low baud rate because it worked and I didn't want to spend more time on it and because the highest baud rate (115200) had some timing problems with that specific configuration. Then we need to adjust Xen to send the hypervisor output to the serial console as well (again in /boot/grub/menu.lst, this probably applies this way to Debian only):
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=com1=19200,8n1 console=com1,vga sync_console
Debian's update-grub uses the comments in the file to generate appropriate menu entries, even if the kernel and hypervisor versions change. Thus editing a comment works, but you must remember to call update-grub after your changes, otherwise they won't be active! The last thing to change is the kernel's console. You might specify multiple consoles on the kernel's command line but only the last one will be the primary where the boot messages from init and the boot scripts are sent to. Kernel messages will end up on both, however. The edited comment looks like this (without Xen you would change kopt instead):
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0 console=ttyS0,19200n8
The key change which enabled me to use the serial console was passing sync_console to Xen. Sadly it complains now on boot that this option should not be used on production systems because it ensures that all messages reach the serial console and wait if necessary. But in my humble opinion it should only hurt on output and there should not be that much kernel and hypervisor output anyway, except if there is something wrong with the machine. Serial output from Linux only was also messed up when Xen hadn't this option activated. To access the serial console just invoke GNU screen as a user in group dialout or as root like this to get the serial console as screen's first window:
# screen /dev/ttyS0 19200
Now the only thing that's missing is an affordable remotely controllable power line to trigger power cycles... Update: Liberie Cunha-Neto kindly pointed me to the Xen hypervisor command line, from which one could reboot the machine. It is invoked by pressing Ctrl-a three times on the serial console (it does not work on the real one I told). In screen you need Ctrl-a, a instead, as Ctrl-a is its command prefix. Then you can get help by pressing h and reboot the machine by pressing R.

17 June 2008

Philipp Kern: I'm going to DebConf 8!

http://media.debconf.org/dc8/images/debconf8-going-to.png This will be my first DebConf ever and I'm excited. I just booked my flights together with nomeata:
2008-08-03: Frankfurt (10:20) -> Buenos Aires (19:05) [LH510]
2008-08-03/04: Buenos Aires (21:30) -> Mar del Plata (3:20) [Bus]
2008-08-17: Mar del Plata (12:00) -> Buenos Aires (18:00) [Bus]
2008-08-18: Buenos Aires (20:55) -> Frankfurt (15:00) [LH511]

28 May 2008

Philipp Kern: Debconf 8? Going or not?

Yesterday I got a note from the Debconf organizers about my place in the sponsorship queue (15 of 58). The drawback, however: there is no money to be given out, yet. At least that's what I heared on IRC. The mail sounds a tad different. Considering that I applied for 2300 USD (~1300 EUR) there is no way that I pay this alone, being a job-less full-time student spending the other time with volunteer work. It would be nice to meet up all the other people driving Debian (apart from those I already met at FOSDEM), but considering that I wouldn't even see much of Argentina, well: no. Flights aren't getting cheaper, too. Back then when I searched (February I guess) Lufthansa return flights were offered for 1000 EUR flying non-stop from Frankfurt. I don't might paying a few hundred dollars on this myself, but how are other non-company-sponsored individuals dealing with this notice? (Comments are enabled, but need OpenID. Comments mailed in will be converted if allowed to do so.)

12 April 2008

Philipp Kern: Wrapping up Sarge into a nice package

We escorted Sarge to its last home. 3.1r8 is done, thanks to all the people who made it possible. A big thanks goes to James Troup, our ftpmaster of the day doing all the grunt work of getting a new point release out of the door. To bring in a more personal feeling of who makes this all possible, here is a list of people contributing uploads to 3.1r8 (mostly people from our fabulous Security Team): I would also like to thank dann frazier, Luk Claes, Martin Zobel-Helas and Neil McGovern for helping with the preparation of the point release.

9 April 2008

Philipp Kern: Livejournal Leaking Posts

Now, could someone please make Livejournal stop leaking posts you can't read? There is a German proverb "Was ich nicht wei , macht mich nicht hei ." (roughly translated to "what I don't know doesn't make me curious"). kthxbye

Philipp Kern: Livejournal Leaking Posts

Now, could someone please make Livejournal stop leaking posts you can't read? There is a German proverb "Was ich nicht wei , macht mich nicht hei ." (roughly translated to "what I don't know doesn't make me curious"). kthxbye

1 April 2008

Philipp Kern: Pervasive Privacy on Weblogs?

Is there any Free Software out there supporting pervasive privacy in weblogs? What does it take for decent support of privacy:
  • Not leaking that postings exist at all. This means that there should be some plausible deniability (configurable, though) that no new posts exist. No message that you are not allowed to view it.
  • Pervasive integration: next entry and previous entry links must not refer to the private entry, possibly leaking the post's title through the permalink. If the software integrates a search engine it must not search in entries the user is not allowed to look at. (Or display excerpts, FWIW.)
  • If possible integrate with the comments feature to allow both authenticated comments and post filters. OpenID integration is a big plus here. Passwords should be supported, too.
  • Allow the use of groups (filters) to limit certain posts to certain groups of friends.
  • Support tokenized RSS/Atom feeds without HTTP authentication. (I.e. generate a secret per-user token which authenticates the feed request and then display the restricted view on the posts.)
I tried the Privacy plugin for Movable Type 4, but it failed. It has some nice ideas like OpenID support, but it is not pervasive at all, leaking posts all over the place. So is there anything out there satisfying at least some of the criteria or do I need to learn Perl and to hack this into Movable Type? (The general point of "not posting private stuff you really don't want to leak" should not be reiterated, though. It is my own server and it boils down to trust anyway.)

27 March 2008

Philipp Kern: Movable Type fails silently with IPv6

I just tried Movable Type as another weblog backend to finally reenable comments, but it failed. Really. I have IPv6 activated on my web server, of course. (It still is not natively available with Hetzner, so I use a tunnel to SixXS for it.) My lighttpd thus passes the IPv4 IPs a bit differently to CGI scripts: 0.0.0.0 gets substituted by ::ffff:0.0.0.0 and IPv6 addresses pop up, too, especially when I access the site. Now MT saves IPs as character varying(16) in the database, even though PostgreSQL would support IP addresses natively as a data type. One would expect the script to bail out on inserting the comment into the database or to truncate the IP. Instead it tells the commenting person that the comment was accepted, but in fact it is not saved at all. I cannot find it in the database. And MT is not even a PHP application. Now it is possible that MT indeed complains on stderr, but well, lighttpd suppresses that fd now instead of piping it into the error log, after failing to close it properly before (#446324).

8 March 2008

Philipp Kern: Linux 2.6.25-rc4 on Debian unstable with cryptoroot

If you want to use the current git tree of 2.6.25 with Debian unstable and if you use cryptoroot: remember to add chainiv to /etc/initramfs-tools/modules and to regenerate the initrd with update-initramfs -u -k 2.6.25-rcX if necessary (i.e. if the kernel package is already installed). Otherwise cryptsetup will bail out after the passphrase is provided:
device-mapper: table: 254:0: crypt: Error allocating crypto tfm
device-mapper: ioctl: error adding target to table
device-mapper: ioctl: device doesn't appear to be in the dev hash table.
Command failed: No key available with this passphrase.
Thanks go to the corresponding thread on the pkg-cryptsetup-devel mailinglist. Now I cannot use this new kernel anyway because fglrx fails to compile just again (maybe because I used SLUB this time, don't know).

5 March 2008

Philipp Kern: Just seen: Toy Story and Toy Story 2 / epsxe rant

In short both Toy Story and Toy Story 2 are worth seeing. Especially as a Debian fanboy. Isabel and I had some great fun watching it in English. To infinity and beyond...! I expected the second part to fail, but it kept the fun up, although I still don't know what crack the Pixar people smoked when creating the screenplay. Some memorable quotes:
Woody to Buzz: That wasn't flying! That was... falling with style! Woody: Buzz, could you give me a hand here? [Buzz throws his broken arm at Woody] Sid (the boy who destroys toys): I want to ride the pony. Alien #1: A stranger. Alien #2: From the outside. All: Oooooooooooooooh.
Now of course that's all of Part One and out of context, but well, here you are. In other "news" I like how portable some applications are. I was able to get Final Fantasy VII running on Isabel's Windows Tablet PC just like on my Linux notebook, with the same emulator (epsxe), the same memory cards and even the quick saves were working as expected. Wow. A pity that its authors won't release the source code albeit the source of the plugins needed anyway actually is public. It's using some kind of Gtk 1.x linked in statically, so it's horrible usability wise. With source code that could have been improved.

23 February 2008

Philipp Kern: Trouble with head and legs

Normally I don't have that much pain. Some headaches from time to time, and a busy nose, but that doesn't cause pain, just lots of used tissues. But now I'm at FOSDEM and on the way there yesterday I had some severe headaches and today my right leg and foot hurt quite much. What's up. I guess the latter is related to my slipping on the stairs of the Delirium, where the beer event took place. It got me covered in beer, which wasn't a problem (luckily only two, but well, both were half empty afterwards) but it seems that the bump had some consequences. (No, I wasn't drunk, but too many already spilled too much beer on those stairs.) Now I don't actually see much when looking at the leg, but it feels a bit burning. There's some light, though: I just enjoyed an extensive shower at the hotel and it provided me with some relief. In other news I just tried DesktopBSD and it failed. Apart from the screen being a bit blurry (like with radeonhd without the blitting fix applied) the main blocker was the missing WiFi support, but hey it's an Intel 3945, so it can't be that hard. Maybe I get around into implementing UPnP into Gobby soon, looking at UPnP's test code it does not seem too hard. Funny enough the router providing free WiFi at the hotel broadcasts UPnP stuff so the port mapping actions probably work (as UPnP does not offer any means of authentication). No pictures, yet. Heh.

16 February 2008

Philipp Kern: Python IDE wanted

Dear Lazyweb, is there a nice free and open Python IDE available? I was impressed by Eclipse's Java support when I had to code a project for my studies but I hate the language thoroughly. I also had a quick glance at NetBeans IDE which provides a Ruby IDE. It looked really nice with working code completion and refactoring support. Now I was a Ruby fanboy some time ago and switched to Python partly for (a bit) more performance and also because of better bindings to various libraries. Until now I coded Python in vim, but well, an IDE would be nice and I wonder why a language with as much drive as Python has lacks a nice free IDE. I also had to work with Visual Studio 2008 recently to port Gobby to Windows with proper C++ exceptions. The IntelliSense feature (their marketing speak for code completion) worked quite well with the given C++ code, but that IDE just got into my way. (Apart from the compiler having a different opinion about what real C++ is like, in contrast to gcc's opinion.) As my pyblosxom (heh) still lacks a comment plugin please mail me suggestions (if you have some) to my debian.org address. Uh, and a nice sticker: http://www.fosdem.org/2008/promo/going-to

2 January 2008

Philipp Kern: age += 1

So I am 21 now. This does not give me any significant additional privileges in Germany and somehow I'm feeling a bit old, having overcome my teen years now. The day is also the worst day of year to have birthday on. At least there are actually some people available this year to celebrate with me, in contrast to recent years. (Re additional privileges: I am now allowed to drive the car with slightly more than 0.0 blood alcohol. Given that in the US my age would finally allow me to buy alcohol at all, it's a bit... uhm... funny.)

28 December 2007

Philipp Kern: Digicam wanted... any suggestions?

My wish to buy a digicam or to receive it as a birthday or Christmas gift is quite old actually. Exactly a year ago I already looked out for suitable models at Amazon and had trouble finding something satisfyable. Just like now. I really don't want to dig into the whole market of cams to get an overview of what's available. My parents own an older 5 MP Canon PowerShot, which is just fine. It uses standard rechargeable batteries and has a turnable display. Now the latter is not really available anymore and the reviews of Canon cams on Amazon are not too promising, neither, i.e. they claim that the quality got worse in the last two years since we buyed that old cam. Does anyone have some recommendations of cameras in the 100 < x < 200 Euro range which get along with standard batteries? Preferably it would use SD cards as my laptop happens to provide a reader for it. A finder is not really required, as I use the display for almost all pictures anyway, but the display should have a sensible resolution (something people also critisised when looking at Canon cams). The lens should provide a bit of wide-angle and should obviously be good. As my blog does not provide any comments facility (yet), I appreciate emails at pkern (at) debian.org with suggestions, especially if you made some personal experiences. (Although I know that people here prefer digital mirror reflex cams, but those are just too expensive for me.) Thanks in advance, dear Lazyweb!

13 December 2007

Philipp Kern: Up-to-date Debian Keyring

First of all cheers to James for a new keyring upload. If I knew that I would have updated my subkey expiry once again before, heh. And the changes mail is not yet available anyway, maybe it was too large? Neither the PTS, nor d-d-changes lists it (yet?). It's shown in "Latest version" in the PTS, though. Michal, I've got a simple script in /usr/local/sbin/update-debian-keyring which I run once in a while, as the keyring in the archive is outdated more often than not:
#!/bin/sh
rsync -az --progress keyring.debian.org::keyrings/keyrings/debian-keyring.gpg /usr/share/keyrings/debian-keyring.gpg
Now this won't solve the who-uploads "problem" completely as the Debian Maintainer keyring is still missing. As far as I know it is not rsync-able (as it's not managed by the keyring powers but on ftp-master) and probably not even directly wget-able. At least the imported GPG blob is not put into the pool, just the source package is. It's available as a file for DDs in merkel.debian.org:/srv/ftp.debian.org/keyrings/debian-maintainers.gpg, though. Update: buxy told me that the keyring upload was done by noodles, not troup. Sorry about that, but I was unable to check that.

6 December 2007

Philipp Kern: Travelling in 2008

So I just booked train tickets to Z rich to attend the Debian Bug Squashing Party on January 12-13, 2008. This will be my first BSP and yay, I will meet fellow DDs (and NMs). The only occasion where that happened by now was LinuxTag 2005, when I attended the Debian Day as a freshly accepted Developer (and got an exemption from school for it). I also attended CeBIT back then but felt strange when visiting the booth, although my AM was present, so I quickly left again. I hope to change this the coming year: so I will go to FOSDEM in Bruxelles on February 23-24, thanks to Sven Krohlas, an Amarok fellow, for organising the trip. Maybe I could also attend DebConf 8 if there are some travel funds available for me. We will see, I really look forward to it. Perfect occasions to get more involved, to boost my English and to meet some people I only know from IRC and mail.

31 August 2007

Eddy Petri&#537;or: handy stuff for reformatting text

<eddyp> anyone knows of a quick way to reformat a text to a certain with in vim?
<eddyp> width, even
<liw> !fmt -w 42
<pkern> Something along the lines of gq I think.
<pkern> Visual gq says :help gq
<eddyp> liw: ":%!fmt -w 42" should be correct
<eddyp> thanks
* eddyp notes the fmt command for future reference
<liw> fmt is a pretty handy command at times
<ricky> Wow, that is handy.
* seanius is a fan of the J and fmt combo
<pkern> (gq has the advantage that textwidth is obeyed. And fmt could be specified with formatprg.)
<eddyp> pkern: that gq is handy, too
<eddyp> "gggqG" and bam, everything is refromatted
<eddyp> does anyone mind if I post this on my blog?
<eddyp> pkern, liw, seanius, ricky ?
<liw> eddyp, nah
<pkern> eddyp: Please enlighten me why you could possibly need our approval (apart from copying the log verbatim perhaps).
<eddyp> pkern: exactly :-)
<eddyp> verbatim copy; irc is the best source of documentation :-)
<ricky> eddyp: Go ahead :)
<pkern> eddyp: Then please correct the obvious mistake of mine: ":help gq says Visual gq", hah. And I disagree on the usefulness of IRC logs as documentation. :-P
<ricky> As a side note, the -u option seems cut words at spaces properly, which I'd been looking for :)
<seanius> eddyp: if you find my armchair opinions valuable for some reason, then by all means :)

16 August 2006

Philipp Kern: Drag'n'drop for Ruby-GTK2

Uh, yeah. So I "lost" a whole day due to two "signals" missing in the ruby-gtk2 wrapper. Both GtkTreeDragSource's "row-draggable" and GtkTreeDragDest's "row-drop-possible" are implemented as virtual functions, instead of plain signals. This means that a new gobject class needs to be created to properly use those callbacks. Well, Armin Burgmeier and I had a nice long Gobby session (completely over IPv6 by the way, welcome to the bleeding-edge of technology, where no port forwards are required) about this problem. Him being the main developer of Gobby, he knows much about Gtk, so finally we came up with this patch, which adds both functions as signals to the Ruby-Gtk API. It's sad that my program will require a patch to the GUI wrappers in order to run correctly, but this is, as far as I see, the only way to get proper drag'n'drop in Ruby.

Next.

Previous.