Search Results: "erich"

18 July 2006

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.

1 July 2006

Jeff Licquia: Autopackage Goes Insane

A while back, I wrote about a system called Autopackage, which attempted to solve some of the problems with software installation on Linux. I had some praise and a few criticisms of the project, and some of the autopackage people came by and discussed some of them. I still get new comments on that post every so often, mostly of the “if you don’t like autopackage, don’t use it” variety. Autopackage has attracted a lot more criticism over time, and it seems that criticism has driven at least one autopackage person completely batty. Apparently, nearly everything violates their idea of how the world should work: package managers, Python, C++, the standard C library, the ELF executable file format, and the dynamic linker, at least. Others have observed their poor attitude, and have pointed out inaccuracies. The whole incident is frustrating. Autopackage does some things well. Their efforts to solve binary compatibility problems, for example, have resulted in some seriously cool utilities. But they seem to have an inflated opinion of themselves, and it closes their minds to working with others. With me, it was the idea that distributor support could possibly be desireable for users. This seemed to be a totally alien concept to them I do want to emphasize Klik, though (from Erich’s link). It appears to solve many of the same problems, but without insisting that the entire software infrastructure behind Linux adapt to it.

30 June 2006

Erich Schubert: Certified Technology Manager

... sounds like a joke, but the "certificate in technology management" I got yesterday for completing a two year extracurricular program is supported by eight professors from two of germanys best universities. It's an additional degree to my regular studies, and included courses like "Business Planning", taught by top managers from major communication companies here. I've definitely learned some thing there that will help me later when founding my own company or taking up a job with some management responsibilities.

28 June 2006

Erich Schubert: New skype beta for linux

... if only people would use SIP instead. But the new skype beta at least doesn't crash on startup anymore. The previous version needed a wrapper to work with my GNOME:
#!/bin/sh
unset SESSION_MANAGER
exec /usr/bin/skype
The current Linux version number is 1.3.0.30, so way behind the current windows version, though I have no idea which features are missing. I havn't actually made a call with it for a year. From time to time I use it for file transfers, since many Windows users don't have more comfortable applications ready... If you want to try internet telephony, I'd suggest getting a SIP software instead, for example Ekiga. (Windows users might want to try Gizmo). In fact, most DSL modems sold in germany include SIP internet telephony, and you can just hook up your regular analog or ISDN telephone to your DSL modem and use internet telephony. You could call me for free over the internet, and it will ring my regular phone. You can get a german phone number (01212/01213) for free at freephone.web.de among others, or 100 minutes for free to german landlines at iphone.freenet.de. Other providers (e.g. GMX, 1&1) offer telephony flatrates etc.

Anthony Towns: On being DPL

It’s almost the end of financial year in Australia, so what better time to take stock? I’m actually a bit surprised at just how much I need to do that – I knew being DPL would involve some new challenges, but it’s barely two months in and I’m already just about in shock. Guess it serves me right for putting “increasing Debian’s tempo” in my platform…
The two other roles I’ve been in that I would have expected to prepare me more have been Debian release manager, and secretary of Linux Australia. They’re both similar in a way – the release manager does a lot of cat herding within Debian, and has to make some calls that will leave people aggrieved; and Linux Australia has some contact with the press, and some reasonably serious projects going on. So a few issues were completely expected: a random initial slashdotting, a press report, an interview or two, some requests for quotes in articles and press releases, or ongoing opposition and arguments from dedicated Debianites who don’t happen to agree with me on some decision. There were other things that were new and interesting though not really surprising. The leader@ mail address turned out to have just as much spam as I expected, though also some unexpected interesting stuff too, including my first ever personally addressed open letter – in this case by Keith Curtis who also wrote the 10,000 bugs away from World Domination article that got slashdotted a while back. A tidbit:
Everyone agrees that Ubuntu couldn’t exist without Debian, but I also believe that Debian is better setup to take Ubuntu where it needs to go. There are hints that the Ubuntu team feels like they brought a pork chop suit to a lions den. Ubuntu’s user base and development team is growing exponentially, but I believe they could get there much faster with more of Debian’s help.
Keith also forwarded an open letter he’d written to Mark Shuttleworth, and had some interesting comments on the whole Java thing. As well, I suddenly started receiving SPI board mail, as Debian’s advisory representative to the SPI board, and started getting a couple of requests for authorising expenditures (Debian UK reimbursing Matthew Garrett for travel costs to the Gnome Advisory Board meeting in 2005) or providing a Debian representative for a meeting or joining the Google Summer of Code. And then there were the cool things I knew absolutely nothing about, like the excellent news Christian Perrier passed on about the launch of Dzongkha Linux, featured in news reports from Bhutan, India, and Australia. Of course, I completely expected that all this would overload me a bit, and I’d end up getting distracted from what I wanted to do, and not being able to keep up with stuff other people wanted me to do. To help with this a little, I delegated Steve McIntyre as, essentially, a co-DPL, and he’s been working on a few things, including the now successful switch of irc.debian.org over to OFTC, and another fun little endeavour that I won’t spoil just yet. Things started getting a bit weird as I was preparing to travel off to debconf in Mexico – with some frustrated comments from damog and Marga and Gunnar, which was odd coming from the conference organisers themselves; and independently the reinflamation of some old tension on the debian-installer team. That got compounded at debconf itself, with the controversy over the inclusion of Sun Java in non-free extending not just to the lists, but an article in LWN (with a followup) as well as numerous other places around the net. That issue came to something of a climax when John Goerzen (with whom I’ve had some entertaining disagreements in the past) questioned whether SPI had been sufficiently involved in the decision (“I am becoming increasingly concerned at the unilateral method in which you and/or the archive maintainers have taken this decision.”), to which I responded fairly curtly to defend the way Debian makes decisions (“If SPI wish to withdraw from their relationship with Debian, then that’s entirely possible to arrange. I don’t think it’s at all proper that you try to obtain veto power of Debian’s activities as conducted by the duly authorised members of that organisation.”). Nothing’s really news there – flamewar on Debian lists between influential project members? Next thing you know the sun will rise in the East every morning, and then where will we be? What’s not so normal is those flamewars getting front page coverage on slashdot, or noted in an article on distrowatch. As far as Debian’s concerned, we had a couple more rounds, both in public and on the developer only -private list, then moved onto actually getting the legal advice John wanted. That’s actually still pending, and the debate has pretty much abated while that’s going on. And meanwhile, Wouter Verhelst, Manoj Srivastava, and others have started a much more productive look at Debian’s relationship with SPI and similar organisations, which has continued on to a draft of a constitutional amendment. But there was more stress and chaos at debconf than just the Java stuff, but what’s really impressive is the way people ended up dealing with it. Take damog for example:
Just as Tore said: This is the best DebConf ever. Isn’t it great? I started really enjoying this DebConf once I stopped worrying about bullshit, once I stopped worrying about senseless things and started to really give a shit about almost anything. Why do I need Gunnar to tell my girlfriend Ana, “you picked up the irresponsible one”? Why do I have to worry about the DPL giving a shit or not on the Latinamerican Debian community, even after being invited to meet the guys or to attend our BOF? […] I enjoy people here, thanks to all the organization cabal, thanks for your effort and your time on this. […] But after leaving all of this behind, I think Ana and me are having a great time sharing time with friends around us (the friends, los cuates, we are here for).
After seeing that post, and figuring out who damog actually was when he gave a lightning talk towards the end of the conference, we had a chance to briefly chat about what was going on – somehow I hadn’t taken in the invitation to attend the BOF, and had been told it was all in Spanish anyway, so hadn’t gone; meanwhile they’ve been thinking about holding a Debian miniconf in Latin America somewhere and wanting to know what sort of support they can get from the rest of the project – particularly moral support rather than financial, at that. Hopefully we’ll see news on that score in the coming months. But really, damog was right in the first place anyway: why care if the DPL supports you or not? Debian’s about everyone doing what they think is good and worthwhile, and that combining to produce something great – it’s not about what some guy who got six votes more than the next guy happens to think is important. But support is important, whether it comes in the form of a DPL saying “good idea!”, or something else. Gunnar’s response to the latter, eg:
Debian is love. After my scream for help a couple of days ago, and after a mountain of hard work, things are just running. No, we are not -by far- free of incidents, and it would be foolish to expect it to be so, but we are working nicely. And by the way, thank you, I have been receiving the largest amount of hugs ever, and believe me, each of them has been important. […] Thank you all, folks. I am in Cristoph Berg’s talk about reworking NM - And this comes very good to wrap up my post. Debian is much, much more than technical work. It is a social club. I love this social club. Just sitting here makes long months of work really worth it. A great hug back to you all!
And in the end we got quite a bit out of debconf6, for example more movement on the forthcoming release, improvements on i18n stuff, a new publicity project, movement on updating python, amongst other things. Who knows if the next debconf will manage to be anywhere near as much of an experience, but at least we’ll find out fairly soon where it’s going to be (though that process isn’t without hiccups of its own). Post debconf, there’s also been a notable influx of trolling going on too; with the most obvious and odious example being the insane, anonymously-posted prayers for a female developer’s death. Fortunately those have mostly been ignored as the mindless spam they are, though one might argue that Marcela Tiznado’s acceptance as a DD on her birthday, and the inclusion of women.debian.org in the official debian.org namespace are a more appropriate response to that sort of harassment than any sort of direct reply anyway. Not all our problems have conveniently been resolved right now, of course, the difficulties related to the installer team I alluded to above are ongoing, and at the moment a really good solution is still eluding us, though development continues anyway. And then, of course, there’s more to come – half the point of posting this is so I can stop worrying about all the stuff that’s been and gone, and get on with interesting things like the next point release, and the various other projects that I’ve let languish for the past few weeks.

Erich Schubert: Dell and Linux - no match?

I just tried to see if I could order a laptop with Dell without Windows. So I went to the Dell Linux page. Which totally sucked. I'm using flashblock (since flash usually sucks), and the Dell Linux page has huge flash movies on them - the regular Dell site doesn't. Why for heavens sake does Dell use Flash on their Linux page? It's not as if Linux users care about their fancy animations. On contrary, some will probably not have Flash installed, or filtered (like me). And some will be annoyed by not being able to copy and paste the product description from that pointless flash. Even more so: all one flash does is display a table. You know, that has been possible in HTML for like ever, absolutely no reason to use flash here. Oh, and their "large text" button doesn't work either. Nor will screenreaders. Nor does google see the text in the flash. Dell Linux page with flashblock The reason you choose Linux is the reason you not choose Dell. To me this is Dell displaying that they have no clue about Linux admins. I still haven't found, what I'm looking for - a lightweight notebook, with a high resolution display, and good battery life (i.e. no nvidia or ATI graphics, preferrably no built-in CD to save weight and size) - best candidates so far: Fujitsu Siemens P7120 and Samsung X11-T2300 Culesa. Sony Vaio VGN-TX2HP/B is interesting, but I still have some reservations against Sony (they try too hard to do tech lockin, e.g. memory stick; and a friend had bad service experiences, their Rootkit, GPL violations with InstantOn...) and it's a bit too tiny for me. [Update: Thinkpad X series is not an option for me, too low screen resolution and according to the specs low battery life; Apple MacBook isn't an option because of their heat and battery issues, and I don't like the hype around it and any other Apple product]

27 June 2006

Erich Schubert: First two exams passed

I passed my second diploma exam today, again with 1.7. Mostly theoretical computer science: logics, computer assisted proving and proof verification systems, automata theory (buechi, muller, ... so mostly on trees and infinite words, not just undergrad DFAs) and coding theory. The professor told me I could easily have done better if I had had learned the formal definitions and that better (just as the professor did in the previous exam on databases, index structures, dataminig and knowledge discovery in databases). I had expected doing much worse in this exam, since I had big trouble concentrating the last months (the heat wave in germany and the worldcup certainly did not help either). I ended up learning just one or two hours a day on average, which is really really little. Way to little. So I'm quite happy with these results (especially since I don't care about the grades too much anyway), given the amount of work I spent. What I'm really unhappy with is my lack of concentration these days. I used to be able to focus very well. I never was good at learning stuff literally, but I used to be able to sit down and tackle problems for hours at a time until I was really into the topic. I havn't been recently, which made me really wonder if I would be able to continue my studies as is... well, todays result, too, showed that even when not focussing I'm doing quite well. Two more exams coming up - one on Algebra (starting with galois theory, so the contents of this course are apparently usually taught as "abstract algebra" or "advanced algebra" in the U.S.; no matrices, linear transformations or vector spaces involved), the other on programming, modelling and data languages, so UML/OCL, XML/CSS/XSLT/other markup, logic programming techniques etc. Then all that remains to do to finish my degree is a six-month thesis, which will hopefully be on generating UIs (this may include a text UI) from schema languages such as XSD.

26 June 2006

Alex de Landgraaf: Debian tag-suggestor online

Overnight I've ran 10+ million tag-evaluations for all the Debian packages, and stored them all in a MySQL database. Finally I can simply execute queries on the data from the AI tagger instead of doing one-by-one HTTP requests, it speeds up things enourmously (processing the data took about 12 hours on my dual-MP server and 1 GB of DB-storagespace). Erich warned me against making a rough prototype of the interface public, as the quality of the suggestions isn't very high yet, but here goes: the Debtags tag-suggestor. Don't expect it to work very well, and it might be offline as I hack around with it (I have some ideas that should hopefully weed out the bad suggestions), but please let me know if it crashes your browser or burns your cat. Btw, I used AjaxAC for the package selection bit, as they had a Google-Suggest example that was easily adapted for the package list. I'll play around with the interface some more this week, after that I'm hoping to put some effort in actually improving the AI results...

23 June 2006

Erich Schubert: SELinux policy module linking fixes posted

Fixes for the SELinux toolchain were posted to the mailing list today by Joshua Brindle, that should enable proper module linking finally. If they work as expected, we could finally build the polic into modules and just link those modules needed. Right now, a complete policy is several megabytes big. But only few users will have both postfix, exim and sendmail installed etc. Thank you.

Next.

Previous.