Search Results: "Erich Schubert"

27 March 2006

Erich Schubert: Google blogsearch drowning in spam

Google blogsearch would be nice (allowing you to sort results by date), if it weren't full of spam. It seems that spammers copy random content fragments from other webpages and put them into "blogs" to increase their pagerank. This makes you wonder if pagerank issn't something really really evil... Basically, by using pagerank, google makes spammers do ugly stuff like this linkfarming, guestbookspam and blogspam we've all come to hate the last few years. And rel="nofollow" doesn't really help much either. Spammers are too lazy to test for that attribute, they just spam. It would maybe be different if all links were "nofollow" by default, and web page authors actually needed to mark links as "good".

Erich Schubert: Google updates earth with new old data.

Google updated it's famous Google Earth software (which is a really nice toy, actually) with new data. There are now high-res shots available for most (or maybe all?) of Germany. However in regions like eastern Munich, where Google Earth already had high-quality shots, these have been replaced with older imagery. I believe that these "updated" images are one to two years older, judging by some missing construction sites. I'd date the previous shots to October 2004, the new ones to October 2003. Given that Google just added satellite imagery for germany, I guess they'll add map/street data to google maps for germany soon, too. And did you know that you can run Google Earth using Wine on Linux, too? The 3D display is working okay, just the menus don't render correctly. Oh, and some fun: type "Frankfurt, Germany" into Google earth. It won't take you to the well known financial city in germany, with the international airport, but instead to the "less important" "Frankfurt an der Oder" close to the border to poland. If you want the other Frankfurt, you have to type "Frankfurt am Main, Germany". Oh, and "Torino, Italy" is the only continental european region with street maps available on Google maps.

26 March 2006

Erich Schubert: Finding duplicate MP3s

Listening to music with CDs is a pain. Because every CD gets boring quickly. Radio stations are fun for some time, but they also play the same bad songs over and over again. So I still have a collection of MP3 songs (albeit all CDs I converted recently are now ogg vorbis, since this offers a better compression, and my portable player can play ogg, too). So if you try to maintain a collection of your favourite MP3s, you'll sooner or later end up having some duplicates. Or many of them. The cleanest approach would of course be to just delete your whole collection and start converting your CDs again (this time paying more attention to tagging and such). But this would take a lot of time again... I've written a small tool which uses the musicbrainz library to generate audio fingerprints of songs; these are then stored in a small database, and another tool can list duplicates from that database. This of course still doesn't catch all duplicates (well, some songs are slightly different among different albums, and sometimes they result in the same TRM id, sometimes they do not) but does a fairly good job. Beware of (rare) false positives, however. It should work on Windows, too. But I really have no clue on how to setup musicbrainz, pyogg and pymad on Windows. Debian users can just apt-get them. Don't ask me about how to install on windows: I don't use windows. Grab it from it's temp home for the TRM-dupefinder (grab all .py files, trmdb.py is the main lib, the others are the applications). Calculating all the audio fingerprints takes a long time; but the gen tool will only process each file once and continue where it left off. So you can do it in multiple runs. Then run the dupe tool at the end. Tunepimp is probably a smarter way to do this (and maybe verify tags in the same run), especially since it apparently can store the TRM id in the ID3 tag, to avoid recalculation even better. However, I didn't get the python-tunepimp bindings to work properly.

24 March 2006

Erich Schubert: Proprietary drivers just don't work good enough

Or more precisely: not at all. I wanted to find out what the performance difference between the opensource radeon drivers and the proprietary fglrx drivers from ATI is. But it seems that the drivers from ATI do not support my former top-notch ATI mobile chipset I have...
ATI Technologies Inc Radeon RV200 LX [Mobility FireGL 7800 M7]
is the output of lspci, this is a IBM Thinkpad A31p (so a long-time top model of the Thinkpad series, with a great 1600x1200 display and 64 MB video ram) The opensource driver works fine, with 3D acceleration. The proprietary driver returns the error message "[fglrx:firegl_init] *ERROR* Device not found!", from deep within the binary blob provided by ATI. No way for me to get that working. The docs at ATI suggest that they don't intend to support that video card. I want opensource drivers (because they just work a lot better), so please stay away from me with that non-working proprietary stuff, and open up your software interfaces, please. Thank you. And please stop requesting interfaces to load your binary stuff into the kernel... I doubt that there is any real trade secrets involved in the software interface... but maybe, as suggested before, "competing hardware manufacturers are violating each others patents so much that they cannot publish specifications of their hardware without showing which patents they are violating"?

23 March 2006

Erich Schubert: How to use ICQ...

... or more precisely: how to be left alone on ICQ. I've been receiving lots of messages by people I don't know at all on ICQ. This has become really annoying the last weeks, I had almost stopped using ICQ because of that. I think I now know why random girls have been IMing me recently: they search for people in my age from Germany that talk German or English. So the workaround (to gaim's privacy setting "only allow messages by people on my buddy list" not working correctly) is to just remove any information from that stupid ICQ profile. Hopefully I will now no longer turn up in that stupid ICQ search function, and be left alone by people I don't know. ICQ is not a friggin dating site! I mean, I spend much of my time talking to my friends, and of course I enjoy chatting with strangers. But ICQ disrupts me while working, so I really can't stand it being abused this way.

22 March 2006

Gustavo Franco: For those who care about gnome^w glib apps.

I'm almost sure you missed my post to -devel writing about the issue involving glib related applications, don't you? That's basically the new glib memory allocator (a.k.a gslice) triggering bugs in software linked against it. Those are usually due to 'double free()' calls or the lack of a g_object_unref() instead g_free(), yes really bugs in the applications that were ignored until now. I'm keeping track of the related bugs, using our bts' usertags.

Well, if you're too lazy to read that thread in -devel, you will notice this bug with the latest glib (in sid) if you try to start up evolution or galculator. The workaround is: $ G_SLICE=always-malloc program . I'll test my irssi workaround and will take a look into classpath, some others are being worked as we speak.

Erich Schubert blogged about the subject yesterday, but now i'm providing some update on the bug tracking status. If you hit a new one, send me a message!

21 March 2006

Erich Schubert: Evolution in unstable

My personal hero of the day is Gustavo Franco, for this email to debian-devel. He writes how to get your Gnome/Pango/Glib applications that don't work since yesterday's upgrade like evolution (#358071) working again:
$ G_SLICE=always-malloc evolution
And you should be able to read your email again.

19 March 2006

Erich Schubert: Explaining Debian

Josh, Martin F. Krafft and Wouter talked about how to explain Debian with a few sentences. You mustn't feel awkward about explaining that, instead you should be prepared. If it helps you, think you are selling a product, not showing how "nerdy" you are. You are doing great stuff, you can earn your living with it quite well and you like it. That is perfect, so be proud about it. You need to have what is called an "elevator pitch". That is a short preso you could give while going up a few floors with an elevator on your way to a meeting, back, at a conference, at a party... That format seems most appropriate to me, and there are good guides on how to do elevator speeches. Rehearsing makes sense, too. You'll however likely want some variants, depending on the audience. My first stab at writing such a speech:
Debian is a Linux-based operating system [software for computers] made by volunteers, of which I am one. It is in fact one of the most widely used operating systems worldwide, and usually picked because of its reliability and security, while being entirely customizable to fit your needs. And it's development community really makes the difference, there are so many bright people there, doing amazing new software.
(notice: I extend the development community to floss, beyond just the official DDs, because thats the way it is. There is nothing wroing with bragging about e.g. what the Gnome people do, because you can use it with Debian, too.) and optionally, depending on the audience:
There are also variants suiteable for novice users, such as schools. You can run it on laptops and desktop computer as well as on mainframes or embedded devices. You can do everything with it.
or:
The city of munich is just switching to it for their computers. This saves the city a lot of money, while becoming independant from Microsoft.
or:
Our computer science department has almost only Linux on its computers. And many other universities do the same. Can you think how cool it is to have millions around the world use your software?
and of course:
That is so cool, I can do stuff I really like to do, meet really cool and bright people and earn my living doing so. That's heaven on earth.
[Update: someone might consider the use of "guys" to be sexistic. Well, of course there are very cool grrrls there, too. I've replaced it with "people" now, so I don't neet to explain grrrls next. ;-)]

Erich Schubert: DPL elections

This year was the first time I think I watched the debate live, and didn't just read the logs. We had some fun in the discussion channel, and one question of mine was actually posted to the candidates. Unfortunately, I didn't manage to get my point across (the "size barrier" question, it wasn't about Debian not growing any more, but about wether we could need some structural changes - e.g. bugmasters, first-level supporters with some privileges, but not the full DD requirements - to use our resources (that is mostly the time of our developers, i.e. us) more effectively. E.g. by preventing flamewars somehow. I hadn't really made up my mind yet. But some trends are there:

17 March 2006

Erich Schubert: The Ion author has lost it...

This is probably one of the worst flames I've seen in a long time. The funny part is that he complains about "AA zealots", while he clearly is a "non-AA-zealot" just as bad as any "AA zealot" can possibly be. I know a few (definitely a minority) of people who dislike AA fonts. But as far as I can tell, it's really easy to disable them. And from all I the average user will like them better, so it makes for a sane default to enable them. So, yes, you zealot, I want my fonts blurry, because I find them easier to read. Sorry for having a different personal taste. Oh, and then there is an explanation why AA fonts can actually be easier to read then black-and-white fonts. Because they grey levels are more consistent (which btw, is one of the tings LaTeX does very well, keeping the grey level) than if you have to make each pixel either black or white. Let's say we want to make a line 2 pixels to the right and 1 pixel down. In fonts these things happen... Here are your options: (Sorry, I forgot one: the hole in the middle...) stairs example the right one is obviously using AA and is "blurred". The left one is "too dark in the middle" and the other two are deformed. Now let's blur them a bit, like the average non-eagle would see them: stairs blurred. The last one clearly is the best representation of the intended shape (a diagonal line of even thinkness). This is of course different if the intended shape was that it becomes slightly "fatter" here, or deformed. The only sane default for vector fonts is to assume that lines should well, not become deformed or thicker. I agree that a excellently made black-and-white pixel font might be done in a way that these deformations don't hurt. It doesn't apply to your favourite Helvetica font IMHO, because that font was designed for printing quality. Now go, and play configuring your "window manager", while I get some work done with openbox as my WM of choice. Because it just sits there in the background and allows me to have all my windows maximized on their own desktops except for my terminals which tile nicely without any zealot WM.

16 March 2006

Erich Schubert: DPL debate upcoming

<don_armstrong> 30 minutes until the debate starts
Join us in #debian-dpl-debate on irc.freenode.net for the Debian presidential election^W^Wproject leader debates.

Erich Schubert: SELinux tools coming

In the aftermath of the SELinux Symposium, tons of stuff has been released. (It's only a pity it wasn't released earlier. ;-)) For example MITRE has released polgen 1.3. The web page doesn't tell much yet (as usual documentation is what SELinux is missing most...), but the Slides from the symposium explain what it's about. I think polgen can probably do at least as much as AppArmors genprof (which I havn't seen a screenshot of in action yet). There are more SELinux power tools coming up, easier policy languages and so on. Do also visit the Symposium website and check out the other slides and presentations to see what's going on. The polgen tool might also (like much of the other ways to write a secure policy, instead of learning the policy 100% automatically) be a good way to check applications for intended behaviour. Such things can turn up lots of weird stuff, for example the sshd trying to write to /etc/krb5.conf on a system with kerberos uninstalled, but this config file present.

Erich Schubert: ICQ broken

The ICQ number 264908634 (I have no idea who this is, she claims she is a "lisa", uses tons of annoying and not working smileys and thinks she loves me, but I'm confident she doesn't know me either. She was very eager to give me a probably false email, though.) is causing trouble with ICQ. The ICQ "whitepages" print an error, and when you add this ICQ number to your block list in gaim, it will crash on login to your ICQ account. Oh, and if you think of chatting up to me on ICQ/whatever, please respect a "I don't know you, please leave me alone", or I might not bother asking you before publishing your broken ICQ# in my blog either. ;-) I think the fault of gaim is just not having proper error handling when not being able to block ICQ numbers. The ICQ homepage displaying this error (for a week now, that is when I first received and ignored a "Hey" from this ICQ number) however suggests ICQ (read: AOL) sucks seriously at fixing bugs. ;-)

Erich Schubert: Icons with flexible palettes

I really like the Tango Desktop project. I have in fact installed a "preliminary" release from art.gnome.org, which is easy when using the Gnome Art package. One thing that makes Tango stick out, is its styleguide. I also really appreciate it's color palette. However, this palette is rather tied to a particular look - e.g. a white background. I was wondering whether one can (with reasonable effort) design icons with a flexible palette. And then have a tool to "instanciate" the icons for a particular, probably different palette. So people in a dark mood could easily generate a "dark tango" version out of them. You can't really do that by just doing a palette replacement. However, if colors were specified as "50% orange, 50% background" it would work out. Or even "50% primary highlight color, 50% background", then people could pick their favourite highlight color. If an icon is meant to depict e.g. earth, you probably will want to use "green" and "blue", and not highlight colors however; these should not be mapped then, either. Such icons might need a "halo" to look good with certain color schemes however. I am not an icon designer, this is just my $.02, and I really appreciate the tango project. But maybe we could think of an icon designer application which makes such things easier to do. I havn't designed icons since my Atari ST time, but I can imagine there is a lot of special tools you might want for icon designing, such as "resolution grid snapping" points and lines, line widths which snap to pixels and such. Think of "hinting" in fonts, but applied to icons. (Or maybe not - if you want to scale icons very small, you likely need to simplify them anyway - i.e. make a separate icon for small sizes) Oh, and of course this might be utopic and overkill. My top (tango) icon wishlist: LyX (because the icon is ugly) and Enigma (because I maintain the Debian package, and the current icon is somewhat boring, just a black ball... looks okay, though, on white background)

12 March 2006

Erich Schubert: Meld to the rescue

I officially hate CVS now. And I really really love meld. I had been working on a project for a company. The sourcecode we got from a different company (for a wireless access point) was in a rather bad shape, so I just started hacking on it to get it working for us. The long-term plan was always to "dismantle" the source into proper upstream tarballs and diffs with the changes, to allow for easier upgrades. But it never got that far. Sometime after I left the project (for my research stay at Berkeley), the source was checked in into CVS without the -kb flag. So when I now recently wanted to do a diff to the CVS checkout I got, in order to see what was changed in the meantime I got tons of changes, all as boring as changed $Id$ and $Header$ statements. Aaargh. Fortunately, meld has an option to hide these changes. I love it.

11 March 2006

Erich Schubert: GFDL vote - non-free.

I voted "1243" in the current Debian GFDL vote. If you are a Debian developer who hasn't voted yet, please do so ASAP. Democracy lives from participation, so make up your mind. Debian should reject the GFDL for the pointed out issues. From what I've heard from others, this option will likely win. Accepting documents with no invariant sections (except the copyright part) is a compromise I could live with, changing the social contract is not, so I rated it second. I am aware of the other issues with the GFDL, but I hope that these could be sorted out somehow with the FSF. They aren't unreasonable people, after all. And there is a certain amount of interpretation in any legal document. Probably only the copyright holders can sue, and why should they as long as e.g. the DRM used doesn't really prevent access to the original documents, or the transparent copy restriction is fulfilled since the original documents are still online? But I'm really close to voting "1342" instead. But since I'm really expecting people to rank 1 first, I don't think it matters much.

Erich Schubert: Why I'm proud of Debian

This is another example why I'm proud of Debian. I sometimes have the impression, that some distributions try to package stuff with as little effort as possible. Debian however has to support tons of different architectures, build daemons and pbuilder that mostly ensure you've got the build dependencies complete, tons of users of unstable and testing that will send you bug reports when you don't have the runtime dependencies right and so on. We have a really good quality assurance. On the very first day my selinux-basics package entered unstable, I already received feedback about the udev integration. So you might ask me, why I think this is really different from other distributions. There are of course distributions which have similar properties, but I think Debian has the biggest crowd. And Ubuntu is so closely tied to Debian that these things aren't that separable. Most Ubuntu packages are largely unmodified Debian packages. And changes done by Ubuntu - which for example tracks Gnome closer than Debian - will often be fed back into Debian again. For example fakeroot, or pbuilder are further examples on Debians best practises to do quality ensurance. Sane software shouldn't require real root privileges for building. The current Debian Vote on the GFDL is another example. I'm confident it will boil down to "Debian refuses the GFDL, because it contains too many restrictions for our users". Debian cares much for it's users. And the users of our users. And the users of our users of our users. ;-) As a whole, not just the majority which will probably never even consider changing a GFDL-licensed document. Of course, people are frequently annoyed by e.g. Debian not having the latest X.org betas in unstable, so they could try out Xgl, Aiglx and this other eye candy. Sorry about that, but I do think that the X task force knows how to set its priorities right, and you could probably just get these beta version from Ubuntu and run them on your Debian. Or build your own packages and offer them to others who want to try it, too. Or wait, like I do quite often (for example for ekiga, which is stuck in the NEW queue currently). It doesn't really hurt much to not have the newest, fancies toys. In fact, you are likely to be more productive when you don't care for these things.

Erich Schubert: Autopackage knows it better, not.

There is a, well, very arrogant page in the autopackage wiki, which basically boils down to "everything around Linux is crap, so if you write an app for Linux, do it our way". They totally have lost the grip of reality, apart from just writing a lot of things on Debian and other Linux distributions which is outright wrong. But it looks like Debian no longer is on it's own with outright refusing to support autopackage crap. Looks like Python, C++, GTK, GlibC and the GNU toolchain. Oh, and pretty much everybody else. So, dear autopackage, if everybody except you is stupid, why don't you just leave us alone, and write your own OS according to your rules? I bet you'll find out after some time why they were setup this way... and what breaks with $your_way. And developers: Ignore autopackage, at least until they've adopted a sane attitude towards cooperating and dropped their arrogance. And they offer a solution which actually solves problems, instead of introducing tons of new ones (especially bringing back fragmentation, and all the dependency hell and incompatibilities a good package mangement tries so hard to avoid) If you really think you need "average" users to be able to try your latest version without wating for an "experienced" user to build packages for them, maybe have a look at Klik. While I have a low opinion of this approach in total, Klik seems to have a much better design, and especially a much better attitude.

9 March 2006

Erich Schubert: SELinux basics package in Debian

My selinux-basics package just entered unstable. The package will pull in some of the essential SELinux software to easy installation, contains some tweaks for Debian (e.g. disable legacy ttys via udev, despite them still being enabled in Debian stock kernels) and most importantly contain a tool that tests for some configuration changes required for smooth SELinux operation on Debian (e.g. use pam_selinux in ssh and login, disable /dev/xconsole) It's still a work in progress; especially this testing/fixing should be made into a modular app, and offer optional auto-fixing of these things when possible. The source currently is in the SELinux backport projects subversion repository. I'd appreciate your feedback, and of course patches.

Erich Schubert: Pyroman now in Debian

Pyroman, my firewall tool for multi-network firewalls, is now in Debian unstable. Or will be, on the next mirror push. Thank you, ftp-masters. I thought you were, like, inactive. ;-)

Next.

Previous.