Search Results: "Erich Schubert"

5 June 2006

Erich Schubert: Upgrading unstable notes

From the "using unstable on my desktop" department: Just two things to point out: liferea-mozilla has been superseded by liferea-xulrunner; so if liferea is held back at your upgrade, do an apt-get install liferea-xulrunner. The old file manager of XFCE has been replaced with "thunar". Just do an apt-get install xfce4 to get the latest xfce4 suite. You might want to install the recommends, too. And remember, don't just blindly run dist-upgrade. This is meant for upgrading e.g. from woody to sarge. For daily use, upgrade is much better, since it's less aggressive at uninstalling applications you might miss afterwards. Aptitude may also offer you alternatives in conflict situations.

Erich Schubert: Google Sitemaps offers insight to your webpage rankings

Google Sitemaps isn't just about giving google an easier way to index your whole website. (There are two reasons you might want to give Google a sitemap: One is that this will result in extra links in the search results, since Google apparently uses the sitemap to give the user some extra navigation links with the search result; the other is that this way Google can avoid any flash or javascript magic you might be using - though it's a bad idea - in your webpage.) One nice feature they added is that they give you an excerpt of the web searches turning up your web page, and the average placement for this term. This is a very nice tool to find out how Google "sees" your webpage. Google also gives you a list of common terms used to refer to your webpage. Results for my personal webpage have been very interesting. There are a couple of highly ranked search terms that I would never have expected, that will turn up my page with a high placement. The funniest result is my #1 ranking for Sportfreunde Stiller Torrent, obviously a file sharers search term (Sportfreunde Stiller are a great German indie rock band; check out their new You have to win Zweikampf soccer album. Consider buying it.). I'm not a filesharer. I like web radios (especially when they play lots of indie music and have high quality Ogg Vorbis streams like M94.5) and I use last.fm quite frequently. I have however blogged on Bittorrent technology aspects (as a legal file transfer protocol. Did you know that Debian GNU/Linux considers to use torrent technology for distributing software updates?), and also blogged on young German bands that have made the top of the charts the last few years.

4 June 2006

Erich Schubert: How to avoid locking yourself out via iptables...

Martin F. Krafft blogged about how to rollback firewall changes in the case you managed to lock yourself out from the box It's even easier if you use my Pyroman firewall config tool. (apt-get install pyroman). If you run pyroman safe it will execute the new firewall rules - and if you don't type OK within 30 seconds, it will undo all changes. Note that it can also restore to a configuration set by a different firewall app. (It just restores the old iptables state and feeds it back to iptables - it will support anything your iptables version does.) Oh, and it's much faster than the other firewall scripts I've tested so far, since it doesn't spawn hundreds of iptables processes, but only one iptables-restore for setting the new rules in one transaction. Check the web page for other benefits; should just work on any Linux distribution with iptables and python (read: every). [Update: Martin, I was referring to the instructions you gave, to adding an at job and then running atrm to accept the changes. Yeah, what you script does is basically the same what mine does for rollback.]

Erich Schubert: Optimize your ext2/ext3 filesystem

You might have read that ext2/ext3 has support for so called "directory indexes", which supposedly speed up operations on directories with many files. For example your /usr/share/doc directory, your packages database, or your home directory (use ls -la wc -l to count the number of files). However, this feature is not enabled on most machines, since up to now you needed to pass a flag when creating the filesystem. The 1.39 upload of e2fsprogs (in Debian unstable as of May 29) made this default. So you probably didn't enable this when creating your filesystem. To check, first find out what your filesystem device is (use mount). Mine is /dev/hda5, so my example will use this device. In traditional terms, this is the first extended partition on the IDE primary master drive. Now use tune2fs -l /dev/hda5 grep features to get a list of your filesystem features. If you have "dir_index" in there then you're all set. Ignore any "needs_recovery" - that is good for mounted filesystems (it just means "not cleanly unmounted") To add dir_index, do the following.

3 June 2006

Erich Schubert: SELinux support is a release goal for etch

SELinux is an official release goal for etch. However, we're currently far from that. So far, very few developers are actually using SELinux (if any), or even testing it. I won't be doing anything on SELinux for the next 6 weeks at least, more likely 6 months. So currently I don't see how we can manage this goal, unless more DDs (and of course users; you don't need to be allowed to upload packages) help getting SELinux properly integrated. (You can run SELinux on etch without having to recompile any software I think, but you'll have to do quite a bit of customizing yourself right now.) For a coordinated effort to get SELinux into shape for etch, there are Debian SELinux mailing lists, but so far they're basically unused. [Update: yes, one option is to remove SELinux from the etch release goals. I was in fact rather surprised to see SELinux listed there.] [Update #2: It was pointed out, that the first occurence of "release goals" in that mail is prefixed by "pet". Don't ask me what the difference between a release goal and a pet release goal is, though. I guess something like being in an official wishlist...]

Erich Schubert: MySpace bullshit: everybody is in your extended network

... in case you wondered, even when you've never even visited myspace, or are using lynx via some anonymization service, reject all cookies and so on: every profile page on myspace has a big banner saying "nickname is in your extended network". Well, if you consider the Internet your extended network that is true. Still that is bullshitting. What a marketing crap.

30 May 2006

Erich Schubert: IEEE1394 drives... damned prolific...

Since the prolific-based 3.5" firewire+usb external HDD box I have is total crap (it often stops and restarts the disk, going readonly and losing data), I've been looking for a different drive. Unfortunately, I havn't been successful so far. The cheap computer stores around here all seem to only have drives with (probabliy newer revisions of) this chipset... and I'd really like to avoid buying another prolific crap. I updated yesterday to the latest firmware for the PL3507, and I also checked that the drive I put in the box doesn't have any errors. Didn't help. The drive still is very unreliable, in both firewire and USB mode. Unfortunately, my laptop only has USB 1, otherwise I'd buy an USB-only box which supposedly uses a different chipset.

Erich Schubert: Balancing Point

Watch this flash movie on youtube. Cool. I wish I had a camera useable for such things... Balancing point homepage with some still images and link to ifilm (but I can't play the movie there... ifilm seems to be crap...) Or you can just use a search engine to find a download link such as on Filefront.

28 May 2006

Erich Schubert: Undo localepurge

The latest upgrade for localepurge actually killed all locales on my system. Here's a one-liner I used to restore them: apt-get --reinstall install dpkg -S /usr/share/locale/de sed -e 's/:.*$//;s/,//g' Note that this isn't necessarily a complete list. But it should cover most.

27 May 2006

Erich Schubert: Next generation of office suites

I have the impression that OpenOffice is still busy with cleaning up the code inherited (and e.g. porting to GTK2 and such things). Given the screenshots posted in the much respected Office UI blog by Jensen Harris, I think OpenOffice will run into trouble when Microsoft actually releases their new Office. Microsoft seems to have a really neat and productive UI there - there is only one thing really wrong with it: it's completely different than anything else people are used to (and people have learned to use). While there will obviously be migration issues, companies will probably delay switching to the new office to save licensing costs and such things, marketing people will be all crazy about the new features in there. You might remember the research with the aggressive title "PowerPoint makes you stupid"... actually this will become even more true with the new Office, I fear. It comes with default styles for common diagrams used in presentations, like a flow sequence or a circle sequence. While these aren't particularly smart things, they'll be presented even more prominently (because the gfx is so great), and the actual contents will probably be pushed back even further... Anyway, these new styles look really hip, so people will be eager to use them. And use them. And use them again. And use them really big (eventually forgetting about the contents behind them)... and OpenOffice can't keep up with that so far. Maybe OpenOffice needs a huge scale UI contest. Maybe with some abstraction scheme to be able to run different UIs on the same engine. OpenOffice in particular should try to become a technology leader, and not just try to copy Microsoft as much as possible... the UI changes in Impress are said to be pretty similar to what people expected when they think PowerPoint. There are good reasons to stick with the established UI standards (even when that might mean 'cloning' the UI) since that keeps migration costs low. But I think it's a pity OpenOffice can't show many large technological improvements to put more pressure on Microsoft. Ah, and yes, I guess many people at OOo are well aware of that, and like so many projects (commercial ones probably even more than FLOSS) they're just short on development resources...

Erich Schubert: Smack your laptop to switch desktops

This page uses the motion sensors present in some new harddrives in an interesting way. Check out the flash/youtube video. It's too funny. My laptops harddrive doesn't have motion sensors - but it has two very nice keys I use for desktop switching, right next to the cursor keys. Of all key combinations I've used so far for desktop switching this is the one I love most... Unfortunately, this is a very unusual keyboard layout, and I think even IBM/Lenovo doesn't have these keys on newer models any more. A shame.

26 May 2006

Erich Schubert: Time to pptcast?

Since many "office" people love to send "funny" powerpoints around via email (which is stupid, because email is ~40% slower than others) we need to provide them with an application to do this much easier. Time to create the first pptcast. Or is ist pptfeed? pptlog? Fortunately I'm not interested in reading them.

Erich Schubert: Count your sheep

Count your sheep is a cute webcomic. You've got to check it out. One. Dzzzz...

Erich Schubert: GNOME settings chaos

GNOME is all about usability. And it used to take this to a point making many people angry. Still I loved this direction, because it prevented me from wasting too much time on toying around with settings that don't really affect my productivity... Today I've counted 37 entries in the settings menu. That is more than twice as many as should be there, IMHO... It makes me remember the settings chaos in kcontrol, where I often happen to know that the settings is somewhere and I just can't find where... Granted, many of them aren't part of the GNOME core, for example two entries are Sun Java crap. Some policy tool I have no idea what it does, and a visually completely different dialog for the plugin. Or the art manager, a ruby application (why does it hide in settings?) to download themes from art.gnome.org. There are tons of settings I've never even looked at, like the CD database server (probably defaults to freedb.org, and why would I want to change that?) Yeah, I know... I should probably get some fresh Ubuntu install and look at the menu there, I bet it's only half as big as mine here...

24 May 2006

Erich Schubert: Debtags AI tagger accepted for summer of code

Congratulations to Alex de Landgraaf. His proposal "Debtags, using AI classifiers for automating the tagging of Debian packages" made it into the list of projects that have been accepted into the Google Summer of Code. There were others with a similar proposal, but Alex' was most convincing. The SELinux projects didn't make it into our slots - a pity. But I hope that we'll get SELinux into etch somehow anyway. We would have liked to take twice as many projects; but that would mean some other organization gets a slot less. I think we got a good set of projects.

22 May 2006

Erich Schubert: $age++ - that day of the year again...

So I'm 26 now. Time flies... I'll be having my final exams starting in three weeks, and my diploma thesis should be done by the end of the year. Then I'm heading out looking for projects to earn money on. ;-) Well, sounds like I'm looking forward to it - but I don't know. The last few years, I've been very uncertain about what I really want... almost like puberty... ;-) and on overall I've been rather unhappy the last years. I hope this year will become much better. I'll be having a joined birthday party with a friend who happens to have the same birthday. We'll just go to a bar and have some drinks, though. I've noticed that I've mostly been inviting girls... well, I just happen to have much more close friends that are girls than boys... I never had a hang for beer-drinking and soccer watching I guess, but I like to meeting a sweet girl in a nice cafe... and many of my friends just aren't in munich, so they won't be able to come. Like the technies I work with over the internet.

19 May 2006

Erich Schubert: Java still weird licensed

So I've actually started looking at the new java license now. A couple of people already pointed out that while Java just entered Debian non-free, the license contains a couple of restrictions Debian can't conform to, so it will probably have to go again. Unless of course Sun finally picks a sane license for Java sometime...

Erich Schubert: No fun for me - I'm not at debconf

But I'd like to be... I'd love to bring that lame old line:
My sock's got your name on it
(Well, if you failed to successfully assassinate someone, it can still be fun to remind him for the next few hours of that fact that he's going to die.) Not to be confused with:
My socket has got your name on it
Becaue we're not talking about coding, and some players have characters in their names (e.g. whitespace) that your programming language will probably not allow for variable names. ;-) Oh, if you want to play that game some time - instead of smacking people with clean socks, you can also just use something like saying "You're dead". Works just as well for virtually killing people. But is probably less fun. I've never been running around for days trying to smack someone with a sock. Do you know what the most evil thing is about this variant of the game? You don't have a chance to stop him from trying to assassinate you again and again... in other game variants, you at least have a chance of defeating him instead. Oh, and maybe Ted Walther misread the game instructions, and the reason he's been smacking people with his toy is that he's trying to assassinate them? Can someone hit him with a cluebat please and explain the rules of the game again?

Erich Schubert: Automatic Audio and USB access for local users

To enable single-sign-on with an existing windows network, I've been using winbind and kerberos to login users. Unfortunately, winbind doesn't have functionality to automatically add users to certain groups, e.g. audio, video, plugdev. But I want to allow local users to access audio and USB drives on these machines. I just found an easy way to do that:
  1. Add auth optional pam_group.so to your /etc/pam.d/gdm file
  2. Add *; :0 ;*;Al0000-2400;audio, video, plugdev to your /etc/security/group.conf file
  3. This will give the first user logged in via the GDM login screen access to both USB sticks and audio playback. Using :* this should apply to all local users; a similar line with tty* should work for local ttys. Note that this applies to any local user, not only to winbind users. Other groups you might want to add: cdrom, scanner, dip, netdev

Erich Schubert: Worldcup songs (aka: the four letter f-word: F*FA)

FIFA sucks. It's so much about commerce... Don't buy their stuff. Buy your soccer balls at e.g. Transfair. These were bought at fair prices and not made by exploiting people in third world regions. Check out the 'Wilde Fu ballkerle' design. Very sweet. Much better than this annoying worldcup logo just about everywhere. But back to my original topic. These annoying 'official' worldcup songs. Dear FIFA, how about letting people decide which songs they like? I hate your choice... It makes me think of Titanic! And actually I hope that this happens to FIFA, that they go down like titanic because of some corruption scandal or so. If you want to compare them, check out Voices from the Fifa World Cup at Amazon (with realplayer samples). My current favourite is 1. FC Sommer, played by the Bananafishbones (last.fm), an indie band. They're cool. They do a festival and support new indie bands. If you want to listen to an excerpt, point your browser to the 1. FC Sommer page, there is a realplayer stream available again, klick that audio button. That song has some great wordplays in there, too bad that you can't translate them in all details into english. The refrain is "Der Sommer geh rt dem, der den Weltmeister schafft" which translates to "The summer belongs to who wins the worldcup"; the world play is "Weltmeister schafft" (becomes the world champion) and "Weltmeisterschaft" (Worldcup). And there is also a nice song by Sportfreunde Stiller, who did a whole CD full of soccer songs. So just ignore FIFA and don't buy their branded stuff.

Next.

Previous.