Search Results: "erich"

28 July 2006

Alex de Landgraaf: Debtag AI improvements, Thesis finally moving forward

To hell with all this warm weather. Begin this week my thesis supervisor got back from the States, so I've been getting a much-needed kick under the backside. My thesis is improving with leaps and bounds, and although I've got a lot of work left I've also got a renewed sense of direction. I should find a few minutes somewhere to document, package and upload my python GA-toolkit code, it's becoming pretty neat and allows easy linking of GA's together. Optimizing algorithms sounds boring, and it is, but 'parameter calibration using meta-evolutionary algorithms' has a nice ring to it. In other news, Erich too has given me a much-needed kick regarding the Debtags AI SoC project. I've modified the old ai-tagger to also include the directories each debian package contains: The results are interesting to say the least. Take for example kde-i18n-zhtw in the tagdb changes webinterface. It clearly should get the culture::chinese tag, as it's the KDE Chinese i18n package for crying out loud. Yet, the old tagger gives it a mere 0.0003. Not good. The new tagger? 0.99004. Remarkable what a little bit of extra meta-data can do...

27 July 2006

Erich Schubert: Gentle introduction to SELinux

I've been working on some introductory slides on SELinux. They're still far from finished. All I've written so far is some basic terminology, identities, roles, types. I also tried to show how this increases security, though that part is probably still hard to understand unless you know about common attack vectors. I havn't yet written about the actual policy, policy modules, all the fancy UI stuff available, reachability analysis etc. I probably will not do so: The goal of the slides is not to give an exact overview over how SELinux works, how to write good policy etc. I also don't claim to have all facts right - instead I want to provide an easy to understand overview over how SELinux works and why it is a good thing. I guess I won't even be flaming AppArmor. ;-) Thats why I picked the name "gentle introduction to SELinux". Remember, it's just a work in progress, "the best is yet to come". I really need your feedback (and encouragement -- there is still so much to be written). Get the slides as PDF here. Feedback is best via email -- erich AT debian DOT org. I intentionally do not have comments in my blog.

26 July 2006

Erich Schubert: Double your X5 battery lifetime

... at least when running rockbox. ;-) [Update: 15 hours, my > 1 year old regular X5, starting at a measured level of 91%, but which increased to 94% first ;-) So the battery lifetime gain is pretty much the factor 2.5] [Update: the X5 is sold as having 14 hours of runtime; which usually is a too high value, and measured with 128 kbit mp3 - I'm using lots of oggs, and mp3 up to 320 kbit; so I think the rockbox firmware actually uses less power than the official one!] So far, the biggest drawback of using the opensource Rockbox firmware on the iAudio X5 was battery life. I got only about 6 hours out of my X5. However, current CVS versions include a patch to solve this - apparently it powers down the USB OnTheGo chip and maybe the radio chip, too. Saving huge amounts of power. The unit also doesn't get warm anymore. My battery benchmark is still running (somewhere around 12 hours now I think); and in the forums, users have reported battery lifetime of 30 hours for the X5L version. So if you are already using rockbox you might want to upgrade; if you have been kept back by the bad battery performance - it's time to switch to rockbox now, and get all the goodies you've been missing for so long! That is: gapless playback, crossfading, album art, next song information, bookmarks, quicker startup, playback resumes where you powered off etc. I think I read about some audioscrobbler/last.fm plugin, too. Apparetly most iPod models are also supported, and rockbox has Ogg Vorbis support... one of the reasons I bought the X5 was vorbis, back then.

Erich Schubert: Fun with spam

Sometimes, spam can be entertaining:
latest .linux kernel involves
HALVES HIV/AIDS
location
Literally. From my "spammy" folder, with mails that score between 2 and 4 in my Spamassassin. Thats where most of my spam goes to. Another spam that would most likely have been blocked by greylisting - but it was forwarded via another mail box not being protected by greylisting. :-( Btw, I think greylisting could help reducing the load on master.debian.org, since it's really cheap on the CPU and disk. On my server it cut down email numbers to be handled by a huge amount. I don't have numbers on how well it works for larger mail servers though. I guess a pure sender-IP greylisting won't be too helpful, but a senderIP+destination greylisting (maybe just first 8 chars of destination, that should handle any +extensions etc.) should still work well.

25 July 2006

Erich Schubert: Will Linux profit from the AMD ATI merger?

As asked on the debian-curiosa list, what effect will the AMD ATI merger have for the Linux community? Will AMD realize that Intel has a lead in the Linux field because of them making e.g. specifications for their graphics products available? Will AMD counter this by having ATI release some specifications to the community? (Or at least allowing the distribution of the already-written r500 2D graphics driver held back by a NDA? Apparently they havn't yet made up their mind after 4 months now...) As for me, I'm currently planning to buy my next Laptop with Intel graphics (and thus Intel CPU, I guess) because of the better driver support. (My current laptops ATI Mobility card is not supported by ATI...)

24 July 2006

Erich Schubert: 3D desktop prototype

This 3D Desktop prototype sure looks cool, the animations are very fluent, and the interaction possibilities are numerous. But: Would you actually use it? To me, this would only make sense if you'd abolish folders. It seems to be much slower than traditional sorting into folders. And when I have the files in folders I can work much better with them. It's not as if I'm moving icons around on my desktop all day! Actually, I've disabled icons on my desktop, because I'm keeping windows full-screen all the time anyway. Just about everyone I've seen so far had a huge mess on his desktop, so that was an easy choice - why engage in something so pointless? Usually I keep files in a well defined context; so I never would have to "push" them around, shuffle them, whatever. They're just where they belong. And in folders I can apply my shell magic to them, and mass process them. In the shell, I can access my "pdf" files much easier than with any UI. With all that fancy bells and whistles (XGL etc.) - where is the productivity gain? To me, it's just a waste of CPU power, decreasing battery performance and slowing me in getting the actual work done.

David Pashley: Strict feed parsers are useless

Erich, I'm not entirely sure what you did to break Planet, but using a strict feed parser will just result in you missing a significant number of entries. People sadly don't produce valid feeds and will blame your software rather than their feeds. It doesn't help that a number of validators aren't entirely strict and that RSS doesn't have a very comprehensive spec. RSS is a lot worse than Atom, in part thanks to the Atom validator and very well thought out spec. It's for this reason that I ended up writing Eddie rather than using ROME as it was a DOM parser and just failed to get any information out of a non-wellformed feed. Eddie on the other hand is a SAX-based parser. In a recent comparison, an Eddie based aggregator managed to correctly parse several more entries than a ROME based aggregator one particular day. You also have major aggregators being liberal. Sam Ruby discussed this recently with Bloglines becoming the defacto validator; if bloglines parses it, then it's valid. We had the same problem with HTML with people making sure their pages worked in a browser rather than met the spec. I suspect the problem you had with Planet is that you failed to close a tag, causing the rest of the page to be in bold or be a link etc. This is fairly easily solvable and in fact has been with FeedParser, which is the feed parsing library Planet uses. It has support for using HTMLTidy and similar libraries for fixing unbalanced elements. Eddie uses TagSoup to do a similar thing. As a result I've not noticed any particular entry leaking markup and breaking the page. Parhaps Planet Debian just needs to install one of the markup cleaning libraries. I agree that people should use XML tools where possible. Unfortunately, most blogging tools use text based templating systems, which makes producing non-wellformed XML too easy. To deal with this I pass all my output through an XSLT filter, which means that everything is either well formed or doesn't output at all. Unfortunately I don't think everyone would be capable or willing to use XSLT.

Erich Schubert: Sorry for breaking planet...

... thats what you get for not using proper XML. I've been planning for a long time to switch to a blogging tool which has proper XML handling. That will at least make sure it's not my fault when planet breaks again. ;-) - a few times I've broken planet before, however, it was actually a bug in the planet software. If I'd do a planet rewrite, I wouldn't bother to make a tolerant feed parser, but I'd just skip any blog posts that aren't valid. Then people will hopefully switch to software that actually uses XML writers and not print()... (Yes, this post was also written to make planet realize I've fixed my feed ;-)

23 July 2006

Mark Brown: Widescreen is all in the mind

The reason I can get more on a 16:9 screen is that I tend to size windows with their heights proportional to screen height with and widths proportional to the vertical size of the window (I very rarely run anything full screen). This means that for me extra width gives more windows simultaneously - while I can get more on a bigger 4:3 screen it usually ends up with a lot of the extra real estate going on larger versions of the same things as I would have had before. Obviously, that’s just what I find comfortable and won’t apply to everyone - it depends on the user. IIRC the tablet PCs I’ve seen have been widescreen and supported 9:16 mode but I never paid that much attention to them due to a lack of free software support.

Erich Schubert: No, 16:9 screens are not larger.

Dear Mark, why do you think you can get a bit more on with a 16:9 screen? Doesn't that depend on the actual number of pixels and the panel size, instead of the ratio? Mathematically speaking, a 16:9 screen is not larger than a 4:3 screen. And I'm not aware of any manufacturing reasons that allow you to make larger 16:9 screens (or larger 15" 16:9 screens ;-)) than you can do with 4:3. That doesn't mean there aren't - e.g. backlight might be easier with wide screens. As for "organizing your apps on your screen more efficiently", I don't see any reason why this should be easier with 16:9. Sure, you can now probably put your favourite IM window besides your word processor at the same time; but is that actually better? I prefer keeping stuff on different virtual screens anyway; and actually on my 4:3 screen I could already do that pretty well (it has 135 dpi; I can just read a typical A4 paper at this resolution, and I could have my IM window next to that of course. Having a wide screen just makes web pages look bad. ;-) Oh, and my glasses are pretty close to 4:3 ;-) but with round corners.

Mark Brown: Widescreen

Erich blogged that most TV these days is still shot in 4:3 rather than 16:9. At least in the English speaking world this is normally the case, especially for things intended for export. 4:3 would be a deliberate choice rather than the path of least resistance. TV stations can choose to buy and screen 4:3 versions (and will usually do this where they can’t broadcast 16:9) but that doesn’t mean that the production wasn’t done in 16:9. Of course, if there’s no sign that your national broadcasters are going to go to 16:9 this makes very little difference to you. As far as computers go I’ve been using a 16:9 screen for years - I find it useful in much the same way that people find multi-headed displays useful. You can get a bit more on screen at once than you would otherwise which makes it easier to keep an eye on some extra terminals, an IM client or web browser windows. Besides, my glasses mean that the world tends to have a definite widescreen frame to it for me.

22 July 2006

Erich Schubert: Why has everything to be 16:9 nowadays?

Our TV set was broken, and when my dad went to have it repaired, he was first suggested to buy a new one instead. The sales clerk basically told him that it's outdated anyway, not being 16:9. Fortunately, my dad doesn't let people talk him into buying stuff that easily. We got out (100 Hz, 4:3) TV set repaired at a different place, and cheaper. Actually most TV productions are still at 4:3, so IMHO it doesn't make much sense to buy a 16:9 screen, unless you are a cineast and watching DVDs every day. I don't. Where 16:9 strikes me as even worse is with computers. Why would you want a 16:9 screen unless you are watching DVDs on it all the time? For most people, the relevant sizes are 4:3 (photos) and their paper size (e.g. A4). So if you are using word processors a lot, a 16:9 screen is just stupid. You'd probably be better off with a 9:16 screen, which could contain a full page and the edit toolbars. However, such a screen on a laptop would look odd, and probably be not too stable. But 4:3 works, and is better than 16:9.

Erich Schubert: Students' Triathlon

Summary: Think, Bike, Dance. Best grade in final exam for my previous six years of life. Biked 20 km in 50 minutes in city after-work traffic. Partied 9:30 hours, dancing most of that. Biked 20 km back, in 55 minutes.

20 July 2006

Erich Schubert: Etch artwork

Dear etch-a-sketch-lovers. Or basically, anyone who cares about etch hopefully being released in december. If you aren't busy with fixing RC bugs, probably because you don't trust your own skills enough (or don't have upload privileges, or are taking a break of your favourite BSP) - how about working on Debian artwork? Ubuntu is working on their artwork for Edgy. I'd love Debian to have (optionally) some cool Debian look. I mean, we'll probably be never as polished as Ubuntu artwork-wise, but we sure could do a lot better than now. That is, do at least something... You don't need to be a DD to work on this. You can just use the existing linux theming web pages such as art.gnome.org, Gnome-look.org and KDE-look.org to share your artwork, and maybe use the Debian Wiki to coordinate your efforts. If enough people are interested, you probably can organize a mailing list, too. P.S. Although the release will be codenamed "etch", there is no need to make the default desktop look like an etch-a-sketch. Just make it something smooth... ;-) [Update: The EtchGNOME status page lists "update desktop-base" as work in progress. This is where the artwork will be "deployed". However, KDE and XFCE integration is still a bit lacking apparently.]

19 July 2006

Erich Schubert: Stupid Israelis, stupid Hisbollah

Neither of them can win this war. It will only cause more hatred. Killing civilians has always and will always be a bad idea. So please stop this stupid war. The only way of winning by military means would be genocide. Or more likely, geocide, since you'd need to get rid of all relatives and friends of your opponents around the world... Not really an option, is it? The thing which bothers me is that the Israelis should know better. They've been trying this for years and it didn't help. Now why are they doing such a large military operation again? I mean, what is the true reason? Read a statement by UNICEF and the WHO.
The psychological impact is serious, as people, including children have witnessed the death or injury of loved ones and destruction of their homes and communities.
Guess what, these will probably devote their life now to attacking Israel. So no peace for Israel and the middle east for the next 20 years either... Apparently both the U.S. and Israel like to use the excuse of fighting "terrorists, and not countries" to not follow international humanitarian laws. Which doesn't make any sense; if you want to fight terrorism, you must go way beyond what humanitarian laws enforce.

Erich Schubert: Google and the semantic web

Worth reading: article on Googles Peter Norvig and Tim Berners-Lee over the Semantic Web. While Google is obviously right about "millions of web masters" who will have trouble adopting to these new standards - thats why we're writing software. The days when you were hand-writing HTML code will be over some day. Already now - as Google acknowledged - many people fail to write proper HTML. But HTML isn't becoming easier to write. In fact, it gets much more complex with different character encodings, new CSS versions, raised bars for layouting, more dynamic web pages, Ajax, ... More and more people won't write HTML themselves anymore, but use some software. People used to write bad HTML; now people use tools such as Wordpress which are at least expected to produce valid markup. They start using visual editors, which will eventually stop using tags such as <i /> and use the "more semantic" <em /> instead. Without actually being aware of that. And their blog software also does generate RSS for them. How many people have ever written RSS by hand? So it's mostly a matter of the tools we offer them; with better tools we can push the use of better ("semantic") formats which then make data reuseable for others as well. For example, tons of people hope that friendster, openbc, linkedin and all these will help them in one way or another to keep contact with some people, sell some products, find new jobs. What these web pages basically collect is FOAF data. (And, btw, if any of these web sites were true Web 2.0, they would actually export FOAF files via some API!) They have a UI people understand; now all they would need to do is share their data, and we'd have a large body of "semantic web ready" FOAF data. Similar things apply to other "semantic" formats. Think calendards. Ical is pretty much the standard and widely used. Almost noone uses web pages which are only readable by humans. The semantic web isn't dead or anything. It just takes some time to be widely adopted, but that was to be expected. And having tools to generate semantic data that are maybe even easier to use than non-semantic tools - after all, the computer should be able to assist you more with semantic data - is the key thing to success. I'm also looking forward to Semantic wikis such as IkeWiki, that try hard to make entering semantic data as easy as editing a non-semantic wiki page. In large wikis such as Wikipedia, making useful links is not as easy as typing [MagicWord], because you first have to look up the magic word. A semantic wiki can assist you by suggesting appropriate links based on the information you've already entered. (e.g. if you mark a page as biology, it won't suggest you it might be a computer part).

Erich Schubert: Do you remember Google Pages?

Back in february, Google launched it's page creator. Still the best Ajax web page editor I've seen so far. Still barely anyone knows it. After the initial hype (during which it was temporarily unavailable), noone talked about it any more. Actually it's a shame; this is probably the easiest way to setup a web page. It will be interesting to see what Google's strategy is with respect to products such as this. Let it die? Make some marketing campaign? Do some cross marketing (e.g. adding it to the "Mail / Calendar / More" bar you have at the top of mail and calendar pages)? Actually, there are tons of Google apps very few people know; only a few have been a big success (search, mail, maps, earth, news). They certainly could use some marketing. But maybe they have a reason to wait. Imagine Google starting a marketing campaign with all their cool products ("out of beta now") just a few weeks before Vista is released...

Erich Schubert: live.com is slooooow

live.com, Microsoft's latest branding experiment (read: their new Passport+MSN+whatever) features a new version of their search engine. Some time ago they promised they'll be the leading search engine this year... It's unuseable. They've packed it with so much AJAX that it's so slow I can't really use it on my computer (which has 1.8 GHz). I'll remain a Google user. Without even looking at your results, just because I can't really use your fancy schmansy scrolling CPU-eating thingy. Some fun from March, Reuters (original article no longer available):
"What we're saying is that in six months' time we'll be more relevant in the U.S. market place than Google," said Neil Holloway, Microsoft president for Europe, Middle East and Africa.
More relevant with Vista users that is, probably. ;-) If you want to see an AJAX-using search engine which is useable and useful, try Exalead. They have thumbnails, clustering, and still a pretty nice interface.

Erich Schubert: nofollow followup.

Micah Dubinko blogs on rel="nofollow" being a failure. I have to agree that this doesn't really stop comment spammers currently. I still believe that it will help on the long run, since most blog software will now use it by default. And people have to upgrade from time to time due to the lastest PHP security issue... However, I would like Google or other search engines to offer some "spam submission". It would be best if they had a common submission server. Then we could use the moderation tools of our blogs to submit these bad URLs to Google, who in turn could take measures to strip them off their index (e.g. by moderating indexing for these URLs, reducing their pagerank, freezing their ranking for some weeks etc.) I'm of course aware of abuse possibilities (e.g. spam with your competitors URL); but most comment spam I've seen so far uses new sites anyway. I think you can detect these by charcteristical URLs, site contents, incoming links etc. As for myself, I've never enabled comments on my blog for the very reason that I'm not willing to moderate all that spam. In my guestbook (which is mostly to reduce the number of emails I get because of certain popular contents of my german web page; people will happily post in my guestbook instead of sending me an email now), I've recently enabled a very simple filter. It will just reject any entry which contains http:// anywhere. My users don't need that, and it has reduced spam to 0 again. And I don't care for the entries there anyway. ;-)

18 July 2006

Erich Schubert: Use CSS folds

/me too hates folded blogs. It's like "I'd like to know that I've blogged, but I don't want you to actually read it"... *rant* Now for some constructive things: Add "max-height: 30em; overflow: auto" to the CSS file, and overly long entries (such as Enricos recent posts) will not take over planet as much. (Pick an appropriate 30em). Untested for vertical limits; I've however been using this for clipping overly wide <pre/> sections before. With next to no drawbacks to the readers that is. Folds suck. But if you are actually using a web browser to read planet, you'll be able to use the scroll bars I guess. Otherwise contribute a Javascript to un-limit the blog postings size. Should be a one-liner. [Updated: overflow auto is better, since otherwise you'd always have scroll bars. Also increased to 30em. Thanks Daniel Silverstone for testing. See his blog entry on how to do this client-side with mozilla based browsers]

Next.

Previous.