Search Results: "Erich Schubert"

22 July 2006

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]

Erich Schubert: Flow oriented programming?

I've been preparing on my exam on programming and modeling languages. The usual classification of imperative, functional, oop and logic programming is kind of inconsequent, since there are e.g. functional oop languages. To me, oop is more of a software engineering thing, usually applied to imperative programming with a load of syntactic sugar. The usual OOP examples suck. They're so basic that all the OOP and modeling stuff is just a complete waste of time. So I was considering more complex examples, and ended up at common design patterns. A couple of design patterns in OOP seem like workarounds to me; a new language (well, maybe C# has addressed some of these, I don't know) could probably add some more syntactic sugar to ease their use. I hate UML diagrams. To me they just emphasize all the obvious stuff, while they quickly get too complex to be of use for "seeing" the important things. Even UML activity diagrams in my opinion don't properly depict the flow of information/data in the program, which is what I really care about. Activity diagrams basically show you a sequence of methods are being called. But often you'll have a method being called thousands of times, with the actual relevant information being in the parameters passed. And some stuff might be done asynchronously, too. For certain problems (well, not for stuff like e.g. the train door used in OOP examples), it could be much more useful to abstract away from the involved classes - which are often just wrappers for data, "records", "datagrams", tcp packets - and instead model flows of data. Think of drawing conveyor belts transporting data, filtering it, duplicating it, ... The gstreamer framework seems to employ such a model for audio and video processing. You build pipelines by placing e.g. sources and sinks there. But you can interpret dozens of code examples with this model. SAX transform a stream of charaters into a stream of XML nodes. UI mainloops are basically a stream of UI events. Network data obviously is easy to model as a data flow; the "obvious" mapping into "packet objects" however often useless. Even when doing a select on a database, the result has an obvious representation as a data flow (a flow of records in this case). You probably only need a couple of "primitives". Sources and sinks, obviously. Filters, Y and Tee modules. Queues and Caches could be interesting, too. Note that data flows can work in two ways: push and pull. Maybe sometimes the same code could be used for pull and push operations, too. When push and pull driven flows meet you often need threads to connect. For example, a SAX parser usually will pull character data from a stream and push a stream of XML nodes as output. One way to get a pull-able output stream out of this (I'm ignoring e.g. the existing XMLpull API for this example) is to use a cache (which will eventuall contain the whole document as Nodes), another is to use two threads and just block the SAX thread until the other pulling thread has requested another node. Of course you can do all this in existing languages (you know, this doesn't give you anything new beyond turing completeness) - just like you could do OOP in assembler. You can, but it would be nice if the compilers offer you an easier syntax. Also it would be nice if I wouldn't have to write different code for pull-driven and push-driven operation. Also note that push type operation is rather typical for imperative programming languages - for i in range(0,10): print i - whereas pull type operations are typical for "lazy" functional languages - take 3 (repeat 'a').

16 July 2006

Erich Schubert: On programming contests (ACM ICPC etc.)

Bart Massey and Mike Vanier talk about programming contests such as the ACM International Collegiate Programming Competition. Well, since I'm being told that I love ranting, I have to join this one. ;-) I never participated in a contest except the Bundeswettbewerb Informatik back in (pre-university) school. In my opinion that contest was quite different for a number of reasons: most of the participants didn't have any IT classes at school. And noone "trained" for that contest. Also the contest isn't a speed contest, but you have a couple of months to solve a number of problems that most of us would find rather easy - for pupils aged 15-18 with no real CS classes they aren't that easy. Even in the later rounds, time isn't the main constriction - you have several weeks - and the programs are also judged by their code quality, documentation and design. I think you were allowed to participate in teams during the first and maybe second round. A friend of mine pointed out the ACM chellege to me; but we never really managed to form a team since everybody was too busy. We never actually did a training session (though I myself solved a couple of the valladoloid online judge problems), and we didn't submit our participitation. Though we would have automatically won our local contest, since I'm not aware of any teams by our universities here (despite them being top-ranked universities). In general, Germany isn't very much involved in this contest, despite being an "international" contest. This has various reasons. On one hand, CS teaching in germany is not much about just writing code. You'll of course learn the basics, but even when they've finished their degree, most will be really slow in writing code. Instead, the focus is on modeling and the theoretical background. In my opinion, that is very good. You'll always be able to improve your "basic" code writing skills later; that is mostly experience and routine. But you won't be learning much theoretical background in your job later on. Having worked on a number of the old, archived, training problem sets, I'm not convinced that this contest makes much sense. To succeed with the problem sets you need to be able to I agree with the others that I don't think team-play is of much value in this contest; nor will you be doing much creative work. In my opinion it's all about reducing the given problem to one of the known problems (e.g. longest common subsequence, shortest path, maximum flow), then adopting an algorithm to it. I'd call that reproductive work. In my opinion, they're rather boring. Basically you're expected to solve them using a certain algorithm. You aren't judged by good or smart solutions either. Just by speed. The (high-school) programming contest mentioned earlier was more interesting. For example there was the task of navigating a robot on a factory floor without any state information, and only a limited view. The robot was not allowed to keep any information. Such as "I need to go out of this dead end" or "that is a dead end". It would easily walk into a path just to notice after a few steps (it had a limited view!) that this is a dead end, then try to walk out - just to walk in again, having forgotten that it's a dead end. You of course can't judge solutions without inspecting the code. Smart programmers found a few ways to "cheat" here - and got extra credit here. For example one robot, when noticing that it's in a dead end it might forget, would step up to the wall. And whenever it was close to a wall, it would follow it, and thus walk out of the dead end. Some heuristics making it step away from the wall again made it much more successful than others. Another "cheat" involved calculating "remaining steps allowed - distance to destination mod 2". It then could be programmed with two alternating behaviours and switch between them by just not moving for one turn. I don't think there is any room for such great ideas in the ACM contest.

15 July 2006

Erich Schubert: Extra exploit protection - SELinux

Apparently (as analyzed by Joshua Brindle), SELinux with the commonly used policies prevents the latest exploit (the one using a race condition on /proc/self/environ). Another way of preventing this would have been to mount /proc with "noexec, nosuid". I wonder why that isn't the default anyway? It would be good to have more people work on Debian SELinux. Currently, I'm not aware of anyone working actively on Debian SELinux. So although it was called a "pet release goal" earlier, this seems very utopic to me right now. The SELinux toolchain has received some important fixes/features (modular policy linking should finally be working!) but these are not yet in unstable, nor has the reference policy package been updated recently. Running SELinux on the main Debian servers probably is some work... there will be custom policy that needs to be written. It would however increase our security a lot, especially for boxes such as gluck that probably are our weakest point (because all developers need to be able to log in). Sometimes I have the impression that I'm the only one running a Debian system with SELinux and the reference policy... and I'm still busy with my exams, and I don't know yet if I'll have more time afterwards (a 6-month thesis is next after the exams, and I'm actually thinking about some business opportunities, too...)

Erich Schubert: JSP-like C++ webpages

TNTnet, just uploaded to Debian, looks interesting. Basically it offers JSP-/PHP-like embedding of C++ code into web pages (or the other way round). Well, if you want to be precise, the syntax is actually much closer to HTML::Mason, a perl-based web application framework I've used some years ago. You can bet that these pages, compiled into native code, are hard to beat speed-wise... Think of compiling your website into your webserver. It's obviously not suited for wide audiences - you can have your users upload PHP files, but you probably won't allow them to upload C++ code - but more for high-performance sites with specialized applications. I have, however, one major gripe with it: The syntax is not XML. I wish they would have picked true XML as data format, instead on basically using string processing. I hate how many people treat webpages as mere character strings with some special characters instead of structured data serialized in some way or another. I don't want to be stuck using a line-based editor for structured data forever. I'm still using vim, and I'll probably continue for a while, but for XML I'm actually just waiting for an editor with a true understanding of XML and the power and speed-of-use of vim... KID remains my favourite way of generating web pages. It's templating transparently embedded in a XHTML file using a separate XML namespace. And it's actually compiling the templates into python modules. P.S. if your ever need the Dummy 16 and Dummy17 functions, get them from microsoft (excel) now! No need to write them yourself anymore! (Dummy 1-15 are apparently discontinued.) P.P.S. I just wanted to point out, that I'm convinced that embedding much code into a layout file is a bad idea (one of the reasons why I despise PHP). Keep logics and layout separate. KID for example is quite good at that. In my DNSoupdate tool for example, all the template contains is loop constructs and simple case disinctions. This also brings me to my biggest gripe with KID: it depends on python. I don't see a way of using the same template with a different language. So maybe I'll actually go back to some TAL solution or so that is a bit more portable templating-wise (and still perfectly reuseable XML).

14 July 2006

Erich Schubert: Apropos english words in the german language...

Martin F. Krafft mentions the trend of (ab-) using english words in german product names, and even constructions like "downgeloadet" (i.e. using english words with german grammar). What I'm most annoyed by is that many people (especially techs...) think that these words are actually the proper terms. That this is actually "more correct" than "heruntergeladen". Just because that is the only way we've been using the term doesn't make it the proper word. To a native speaker, many of these words might sound rather odd, and they are just being used because there is no better match in the english language. So if there is one in the german language, we should be using them... for example "to indent". I guess for many people here this will solely apply to text formatting in editors. But I assume that for native speakers, this always will bring up "dents", too. Something negative, some slight damage. The german word, "einrücken" however doesn't have such a meaning. I still believe that to regular native speakers, terms such as "bump mapping" have a very funny sound. And that it's just us techs that probably learned the "bump mapping" term first, and "speed bumps" second, that this sounds "good".

13 July 2006

Erich Schubert: Reduced gravity in germany

At least with respect to the courners of the mouths. I hope this will extend beyond the worldcup games.

Erich Schubert: #debian-devel on freenode is no more

lilo, one of the Freenode admins and a regular on that channel flagged it as "abandoned" by renaming it to ##debian-devel. There were still around 150 users on that channel (as opposed to 315 on OFTC, the new official home); but according to his stats "about 16 lines of discussion per day, versus 103" joins - yeah, I guess you can call that mostly dead. Apparently the "##" prefix of a channel means it's somewhat inofficial or abandoned... well, that is some FreeNodeish thing I wasn't aware of. Note: apparently we can't change the topic of the new channel, and can't put up a message there about the move to OFTC... that sucks. I didn't follow the rename, but parted. I still have some other FreeNode channels left (#debian.de is still more active on Freenode), and there is #selinux; but I guess in a few month I'll actually stop using FreeNode now. (The #selinux channel isn't really interesting for me; nothing Debian-specific happening in there, mostly Fedora or Gentoo users looking for assistance.) P.S.: 'e's not dead. 'e's just restin'.

12 July 2006

Carlos Villegas: testing ubuntu's readahead (SoC2006)

The base distribution I'm using for Sid changed slightly by installing ssh. There was no boot time difference. The new base bootchart (same time 49 sec) is here.

Based on a discussion in initscripts-ng-devel between Petter Reinholdtsen and Erich Schubert, I decided to try ubuntu's readahead to see if we will get a better or worst boot time. After installing ubuntu's readahead 1.0.1-2 but noticed not time difference. No difference was obtained by changing the boot order (S39 to S19 in rcS.d) nor by adding files read at /etc/readahead/readahead. The bootchart is here

Also tried the newer readahead from ubuntu readahead 0.20050517.0220-0ubuntu3 but now with a loss of 1 second. This includes two scripts S01readahead and S39readahead-desktop in rcS.d and S99stop-readahead in rc2.d. The bootchart is here

Next I'll try to analyze the SUSE static preload.

Besides I filed an bug (377941) to initramfs-tool I had with installing Etch on my laptop with a usb harddisk. Tried adding sleep 5 to /usr/share/initramfs-tools/scripts/init-premount/udev, then dpkg-reconfigure linux-image-.... but still fails :(

9 July 2006

Erich Schubert: Beware of XGl...

This is what happens when you use fancy XGl/aiglx/whatever eye-candy too much. It will infect (remember the viral properties of opensource software) your body, and you'll start randomly flipping over, too.

8 July 2006

Erich Schubert: Reduced gravity in germany

At least with respect to the courners of the mouths. I hope this will extend beyond the worldcup games.

6 July 2006

Erich Schubert: When soccer gets disappointing...

... is when the result seems to depend a lot on the referee. In the germany vs. italy game, an intentional handball close to their own goal by italy didn't gain the germans a penalty shot (which could have given them the lead). And in the france vs. portugal game, the french goal was a debatable penalty kick. It's also disappointing when one team makes a goal in the 119th minute, when the teams were of equal strength. Thats when you feel a penalty shootout would have been more appropriate. But thats life, and it just reminds me why I don't really like watching sports. And this probably means that both the final and the "small final" will be interesting to watch. Just don't pay attention to the final results. Still I think that soccer is more fun than e.g. basketball. In the basketball games of "march madness" I watched last year, most games were actually decided in the last 2 minutes of game time (which took them more like 20 minutes), which usually was one team trying to make a quick foul, so the other team gets two free throws, then trying to make a quick 3 point throw. And fouling again when the other team has the ball. Repeat until time is actually up, or you have the lead. Or your players don't manage to get the 3 point throws right, but the other team is too successful with their free throws. It's much like the actual game before that didn't really matter. I guess basketball could benefit from an extra time handling like in soccer. What I hate most about sports is that people who have just been watching the game on TV celebrate as if they had won themselves. There is no skill in cheering a team on TV... So please, don't sing "we are the champions", but more accurately "they are the champions". On the other hand, the "worldcup party" here in germany has been outstanding. It's like the whole country is celebrating with its visitors. We've raised the bar too high for south africa in 2010, I guess.

3 July 2006

Erich Schubert: Semantic Wiki

"A semantic wiki gives you all the issues arising in the full semantic web" IkeWiki is a semantic wiki, written in Java (so it's not an extension of MediaWiki, though MediaWiki/Wikipedia users will be able to use it right away). And opensource. It tries to use "wiki technologies" and some Ajax magic to make annotating Wiki pages with semantic information easier. It's not yet perfect, of course. It's a research project, after all. But it tries really hard to make annotating Wiki pages easy. Why do we need semantic wikis? Well, wikipedia is great, but a computer can't access that information. Human language processing is by far not yet good enough for that. Even many humans sometimes fail at it, actually... So right now, a computer application can't reliably read from Wikipedia things like a duck being a bird or that it has feathers. So if you want to be able to search in Wikipedia for "all animals that have feathers", that won't work too well. Many of the things in Wikipedia are hacks and workarounds. This includes links to foreign language versions of the page, categories, or the classification boxes in biology topics. It's all just visuals and workarounds. Semantic Wikis are much more powerful. They don't just have "links", they have typed links, so that the computer actually assign some meaning to them. (The wikipedia entry on birds has links to "plants" and "mammals", so you really need this information to not assume a bird might be a plant...) Ikewiki (which supposedly translates to "knowledge fast") trys to bring together these worlds - the easy to edit world of wikis and the semantic annotation required for the data to be useful to computers, too. The key thing is an easy to use UI, and the current approach by Ikewiki is to put some small buttons next to links (and pages, maybe later paragraphs, who knows) that allow adding and removing of types. By using some Ajax magic, this is really easy to use; and the application will actually try to use the already present information to only offer reasonable choices. (e.g. offering the "belongs to the family of" relation only for biology topics) Anyway, check it out. It's an open source project. Improve it. And - to come back to the initial quote - use it to understand the semantic web better. Unless some huge breakthrough in natural language processing occurs, we'll need semantic information for the next generation of internet applications.

Next.

Previous.