Search Results: "erich"

28 August 2006

Erich Schubert: Ajax is devolution

Ajax isn't progress, it's actually a step back. Most people have been happy to actually use some sane advanced language for doing web sites. There is Java, JSP, PHP, Ruby, Python, Perl, ... And then there is Ajax. One of the main components is JavaScript. That language most of us would have loved to forget. Forever. Ajax brings you back into the dark ages of internet development, with browser incompatibilities, it features memory leaks, and many Ajax apps (such as live.com) will run unbearably slow on older computers. Such as my 1.8 GHz P4M laptop. If they work at all - live.com just shows "Loading..." for me right now. Have you ever looked at some of the actual Ajax code? This isn't the future, this is the dark ages coming back! [MJ Ray replies that I didn't mention accessibility issues with Ajax. That's true; I'm aware of them, but this post focuses on Ajax doing away with all the advances in programming languages and software engineering... The in-accessibility of Ajax stuff is worth an own blog post sometime]

25 August 2006

Erich Schubert: Fun with google.

Talking about logic, and where people fail at understanding it... Fun with stupid Google queries - Is there any page about Google and not Google? Wonder how big the Google index is? Google OR -Google. (I'm aware that the count is imprecise, it's just funny that this query is actually processed.) Now let's look at MSN. google 64741016
-google 4669973284
okay. that should make "4734714300"... google OR -google 5156927770 - oops, magic new hits.
-google OR google 68735504
So where are the 5 billion pages that have "google or -google" but not "-google or google"? And how about MSN OR -MSN - there can be only one. askdjfhsakdf OR -askdjfhsakdf - top result for this garbage word: Google! askdjfhsakdf OR -askdjfhsakdf Google results are consistent. I wonder what their sorting is in this case... random? hash function? age? Remember Googlestossen? Like Googlewhack, but with scoring. There must be only one hit with both words; score = # of hits with word 1 * # of hits with word 2

Erich Schubert: Optimizing page loading

A typical web page will consist of dozens of files - images, javascript, CSS. Web browsers usually load 2 files in parallel (recommended by the HTTP/1.1 spec to use max 2 keep-alive connections). If you are including many javascript files in your <head /> element, these will probably be loaded first, the images second. This is the effect of images appearing "late" over slow connections. However, if your page can be displayed without the javascript (which is very recommendable because of accessibility issues), you might want the browser to load the images first. If your page totally relies on JavaScript - bad luck for you. In order to improve your load times, you can use some simple techniques. For example by putting images on a separate server (e.g. images-amazon.com, yahoos yimg.com, static.flickr.com, photos1.blogger.com). This is a common practise for large sites, for several reasons: The last point is the inspiration for this posting - while your web server is still busy building some dynamic web page or serving some Ajax requests, your image server could already be sending out the images. This might give the user the impression that your web site is much faster. Most users are broadband - but they still have some latency. In fact, latency has increased for many users with broadband due to interleaving on DSL lines, for example; ping is higher with regular DSL lines in germany than it was with modems or ISDN. Some relevant pages: HTTP/1.1 Pipelining [w3.org], Mozilla pipelining FAQ [mozilla.org]

24 August 2006

Ben Armstrong: Keeping free software projects fun as they grow

On the whole I agree with Erich. Subprojects are key to preserving positive energy as a free software project scales. But I wouldn’t say the ill effects suffered by projects as they age is just “a matter of size”. And I wouldn’t de-emphasize the importance of guidelines like the CoC in countering those effects, though I’d agree it does not provide immunity by itself. Ubuntu benefits from the Debian social experiment having started first. So the people involved have the opportunity to learn from and improve on earlier efforts while their project is still young. The CoC is no panacea, but it is a clue that lessons are being learned; deliberate effort needs to be made to keep work fun, especially as a project grows and people begin to lose touch with each other. Putting these lessons into practice isn’t always easy, but I think it would help if as individual developers we’d reflect more on how we interact within our projects and work on making improvements. I appreciate the personal guidelines Erich shared and will adapt them to make them my own.

Erich Schubert: Scaling opensource development

Opensource has some scalability limits. A recent blog post shows that e.g. Gentoo is suffering from similar effects as Debian. I believe this is a matter of size, so I doubt that Ubuntu will be immune to this just by it's Code of Conduct and similar things. There is this well-known idiom: "too many cooks spoil the broth" - I think this applies to Opensource work, too. Given that we all want "democratic" work, without having a cabal do the important decisions, I see only one way to resolve this. Subprojects. Just like a distribution doesn't inherit all the software package communities problems, we should try to avoid "aggregating" all the issues at a distribution level. And if you take for example Gnome, many developers are involved only in a few applications, and the communities in each application are probably not of the "critical mass". Examples of such subprojects in Debian include: Maybe we can find a way to make more use of these effects, that smaller groups usually work together much better. I'm not sure yet how to add extra "sub-communities". Some like team maintainance oranize themselves, which is probably best. Some parts can move to freedesktop, becoming "upstream", and joining efforts with other distributions. Some were created on "alioth". So I think Debian is already on the right track here. Anyway, I'm not a "key player" in Debian, and I'm probably not going to change this. But I'll personally try to follow some simple guidelines to make life nicer for everyone.

23 August 2006

Erich Schubert: Stepping beyond tag clouds

Tag clouds [en.wikipedia.org] are a current must-have for web 2.0 applications. Examples can be found for bookmarks, blog entries, photos, music or books. Tag clouds are hip, because they're a dynamic feature and show the "Zeitgeist" [wikipedia]. They given an overview on the users ("California" in flickr) or on current hot topics ("Israel", "Lebanon" in technorati). However, tag clouds also have severe limitations. First of all, they're arbitrarily ordered. Usually alphabetic, so there is no content relationship among the entires. Secondly, they only show an excerpt, since there are usually much more tags than fit on the screen. Thirdly, they're atomic information, whereas relations as used e.g. in RDF [wikipedia] can convey much more complex information. I'm trying to push tag clouds to a next level. They're a gimmick right now, but maybe we can make them to a powerful navigation tool? Together with Enrico Zini I've just created my first tag cloud (I've skipped making a tag cloud for my blog...). Well, it quickly evolved beyond a tag cloud. You could maybe call it a tag sky. Or tag forest. I'm not using my blog or something like this for the tag cloud. That would be quite boring, I'm not doing real tagging on it. Instead I'm using software tags. The Debtags project, led by Enrico and I, has been working on software tags for some years now during our spare time. We have about 600 tags in a dozen of facets, and 15000 software packages (I don't have the number ready how many of that are somewhat tagged already). Well, the tagging efforts are still far from complete, thats why we're currently working on an AI to assist tagging efforts, too. We generated two different renderings of the tag clouds for you: one separated cloud per facet, and all folded into one big cloud. Oh, and actually click on one of the tags, it will take you to a more complex tag-based navigation tool and a tagger. So what makes these different from the usual tag clouds you see everywhere (apart from the sheer size, sorry about that. Maybe we'll add buttons next to hide/show tags with low occurrence numbers)? Well, the tags next to each other aren't completely unrelated any more, since they are (in both renderings) grouped by their facet. This makes it easier to locate something - go through the red facets first, then look at the tags in the group. I'm thinking about a second step, which would involve dynamic expanding details in the tag cloud, or hiding them, finally transforming the tag cloud into a true navigation utility beyond a "single click filter". In my final diploma thesis, one of the topics to work on suggested by my professor is doing "tag clouds" (i.e. weighted lists) for relations. The prototype will likely be integrated with the IkeWiki semantic wiki. I don't have a clear vision of how the "relation cloud" will work or look like, but I havn't started with my tesis yet anyway. I currently imagine up to three clouds (corresponding to the empty places in the relation) that will dynamically adopt to the choices already made by the user. Some zooming will probably be needed, too. Another use of tag clouds would be a visualization of the AI - the weights could be chosen by how sure the AI is about this tag; the cloud would then describe the AIs rating of a software package description. If you have some ideas, good links, relevant papers or other feedback, just send me an email to erich@debian.org. Thank you.

Erich Schubert: Archiving maildir

I've been using the maildir format for my mail boxes for some years now. I'm really happy with this solution - no locking issues, and decent support in all applications I use. (Well, evolution has been crashing with Maildir recently, but switching to using a local IMAP server resolved this just fine.) But the biggest benefit of maildir is that it's dead easy to write your own tools for it. I've written a small perl script that moves read mails that are not flagged into my archive after 30 days. Over the last few years, this archive (not containing large mailinglists such as debian-devel which are publicly archived) has grown a lot. Now the benefits of maildir, a separate file for each mail, turn into drawbacks. For my archive, I don't need to care about locking or random access. Actually I rarely access it ever. But since a file always occupies whole blocks, my mailarchive occupies 1.6 GB on my disk, with just 1.2 GB of data. An experience value is a compression ration of around -60% for bz2. So by switching from Maildir to mbox.gz I can probably free up 800 MB on my disk. (And I'll move the older years onto my encrypted backup HD anyway) Now I'm looking into scripting the conversion from Maildir to mbox.gz. I'm still a bit undecided on which tools to use... [Update: python2.5 has support for mbox and maildir... Here's maildir2mbox in 5 lines of python:
import sys, mailbox
md = mailbox.Maildir(sys.argv[1], None)
mb = mailbox.mbox(sys.argv[2])
for mail in md:
        mb.add(mailbox.mboxMessage(mail))
nice, uh? ;-) ]

22 August 2006

Enrico Zini: debtags-tagcloud

Debtags tag clouds Erich Schubert has been popping up my gaim today with the idea of making a Debtags tag cloud. Indeed, it was missing, so we made it. Firstly, I added a new feature to tagcoll and generated the tag statistics. Then, Erich created a python script to generate the tagcloud, on which we then hacked a bit together. Finally, we came up with two tag maps: one nicely organised by facets, and one folded in a big cloud. Look at the cloud: this is what Debian is made of. Cool ideas come out, like making subclouds given a tag selection. It's just a simple matter of programming, so they say. Would they fit in the back of the Etch CD/DVD case?

20 August 2006

Erich Schubert: Next generation of searching

So where will search engines evolve to? With Google not doing many improvements to their search results page, I can see a certain group of users actually preferring other search engines. Live.com - Microsofts new generation - is so slow here, it's unuseable. And it actually doesn't have any benefits over Google. In fact, it looks like an mere ajaxified copy of Google. More interesting are the contenders Snap.com, Exalead and Clusty. Snap.com definitely has the prettiest Ajax interface of the three. It has keyword completion like Google Suggest, and will display a screenshot of the currently selected result. However it only displays one screenshot at a time; and since screenshots are most useful for finding again a page you didn't bookmark thats only of limited use. Clusty offers you the benefit of grouping the results automatically by topics. If you aren't very experienced at searching, this can offer huge benefits for you. Searching e.g. for "sports" with Google is rather pointless. Clusty actually gives you useful ways of refining your search. Exalead sits inbetween. It has an ajaxish interface (but isn't overdoing it like live.com), it has screenshots (but not as big as snap; you can get an overview with 12 screenshots per page which is IMHO much more useful; however there are still some slight bugs) and it has some clusterin (though not as good as Clusty, but you can select multiple clusters) Anyway, I'm looking forward to what these search engines become, and what Google will do to draw even with them. (Yes, I'm aware that some people like Google because of its minimality. But not everyone does. Some users will actually need search assistance such as offered by Clusty and to a lesser extend by Exalead.)

19 August 2006

Erich Schubert: Giving up on SELinux for sarge, maybe even Debian altogether.

I'm giving up on backporting SELinux to sarge. Too many changes are needed in too many apps to make them really compatible with SELinux. Nothing serious, but just lots and lots of small things. For example, the amavisd-new package will need a cronjob modification. This has already been resolved (somewhat) for unstable, but it means I would need to provide a modified amavisd-new package or a backport. I hope that when etch gets released end of the year (and I actually believe this will happen), many issues will already be resolved. But it depends of course on many people using SELinux in different settings. My most-annoying-issue with SELinux on Debian: cron bug #333837, open for some 300 days now. The debian cron package will backup e.g. /etc/shadow, which actually sounds like a quite inappropriate place for this task. And of course it's all in one file named /etc/cron.d/standard, instead of e.g. /etc/cron.d/backup-key-system-files or so, which I could then label backup_exec_t or something else to assign the special privilege of reading shadow files... It's bugs like these, unhandled for 300 days, together with having the impression of being the only one trying to get SELinux running and receiving basically no support by the SELinux upstream "community" (which is almost exclusively "enterprise", it seems). It's pretty much like everybody wants you to not use SELinux. Or in my case, not enable people to use SELinux on Debian, since I'm not just "joe average user", but actually trying to add SELinux support to the Debian distribution (which would help Ubuntu to get SELinux, too. The Ubuntu people seem to have given up on SELinux already).

Erich Schubert: Frustrating reuse of applications

Debian has a small app named "savelog" which can rotate logfiles, compressing the old versions and rotating filenames. It's used in a couple of startup scripts and cron jobs. The script is labeled logrotate_exec_t in SELinux, giving it the appropriate permissions to modify logfiles. However, it's also used to rotate backup files of e.g. /var/lib/dpkg/status; which is not a log file; the backups are kept in /var/backups, which is somewhat appropriate. However, the files in the backup dir are labeled backup_store_t, and I'm not sure if I want all logrotate apps to be able to write there... It would be nice if we wouldn't have

16 August 2006

Erich Schubert: Liquid bombs unrealistic

This is a very interesting read on using liquids to bomb an airplane. It seems to be very well informed about the chemistry you'd need. It boils down to: yes, you could make explosive liquids, but it would take too long, too much cooling and too much space. Oh and every average airport staffer can tell it apart from shampoo, because shampoo just doesn't smell of nail polish or highly concentrated sulfuric acid. So they're just doing security theatre (Wikipedia). I believe that they arrested people who planned to do some attacks. I can't tell if they had workable plans. But the new "security measures" are bullshit. If you need weapons on an airplane, just buy some duty-free whiskey, smash the glass and there you go. And while you think about that, stop the paranoia, please.

Erich Schubert: When will the RIAA target youtube?

Tons of videos on YouTube use background music. Usually its some well-known song, in full length. So the authors are violating the song artists copyright, aren't they? I wonder when RIAA will target youtube users because of the background music used in their videos. For example the Israel attacks, Lebanon burns pathetic "video". Isn't that U2 in the background and thus most likely a copyright violation (apart from all the photos which most likely are just copied off some web site). And there a tons of examples. I bet you'll find people dancing to all kind of copyrighted music on YouTube...

Erich Schubert: Happy birthday, Debian!

Debian GNU/Linux is now thirteen years old. My favourite Linux distribution. Congrats, everyone who contributed! I'll be going to the Munich Debian birthday party tonight. (Aka: Stammtisch)

15 August 2006

Erich Schubert: Debian artwork

Yeah, I know that many people think it's a feature that we don't have everything Debian-branded - some people might like to. Recent blog posting with Fedora Core 6 artwork. They also have a larger section in their Wiki dedicated to artwork. The AMD64 system I installed these days welcomed me with an unobtrusive Debian wallpaper and Gnome splash. Thats not bad, but not really different from other distributions. Actually blue is kind of Fedora-ish, IMHO. Ubuntu has this yellowish-coffe-chocolate-look some like and some hate. SuSE has this green of the chameleon. But what does Debian look like? A long time ago I modified the color schemes of some of the GTK engines. I just noticed that these color schemes (e.g. CleanIce-Debian) still exist, however the "light" color still strikes me as odd. I still like the dark highlight color, although readability isn't too good with dark fonts. DebianRed also still exists, and doesn't use these rose "background" highlights, but white or grey. That is a bit better IMHO. Anyway, maybe someone could pick one of the nicer GTK themes and update or fine-tune the color palettes. Or maybe come up with something completely new. "I miss the chicken" ;-)

14 August 2006

Erich Schubert: Google doesn't want you to "google".

As mentioned here (referenced by SlashDot), Google doesn't want you to use the term "to google". You're supposed to "search using Google" instead, apparently. Actually I think Google owes much of it's current brand value to it being - in contrast to e.g. MSN search - (ab-)usable as a verb.

Erich Schubert: SELinux for sarge updated

My experimental SELinux for Debian sarge backports have been updated. The core libraries and utilities are updated to the versions just uploaded to unstable. Therefore, they may of course contain the same bugs as the unstable versions and since I redid the packaging of libselinux and libsemanage - I didn't understand Manojs packaging system, and these packages needed larger modifications for sarge python support - they may also contain extra bugs. But even users of unstable might be interested in grabbing the "refpolicy" packages from this repository. These packages are now a modular policy. This is possible since the just uploaded toolchain finally has working policy module linking and results in a significantly smaller policy, since you don't have to add rules for software not installed. To support this, I've written a tool to resolve inter-module dependencies and to automatically install modules matching the software packages you have installed. Expect to see this in the unstable refpolicy packages sometime, too. Maybe someone else will contribute a ncurses frontend to select policy modules. Please note that bug reports should be directed to the Debian SELinux Mailing Lists. Please use the mailing lists, instead of just contacting me directly. On a side note, I don't know if I'll be continuing these efforts.

12 August 2006

Alex de Landgraaf: Procrastination!

A quick update is in order:
On Debtags/AI, Erich and I have rewritten the naive bayesian tagger in python (well, Erich did most of the fun stuff :) Performance seems comparable with the old tagger, however the new one is a lot quicker and more flexible, I've rolled it into a library and will make more improvements over the next few weeks. I have been dragging my feet quite a bit though, and have agreed to work on the project until it's finished in spite of the impending deadline. On my master-thesis, lots of talk, a bit of hacking but not enough writing. I hope to have some peace and quiet the next few weeks so I can get some more inspiration, as I really do want to finish my thesis within a reasonable amount of time... Wow, almost two weeks since my last blogpost. I really have been slacking. In 7 hours I should be on my way to the camping where my girl is working this summer. These last few weeks have been long and I'll be glad to hold her once again :) (and to all the other people who want me to get stuff done: I'm taking my laptop with me and see it more as a country-side office with a swimmingpool :)

Daniel Burrows: Giving away secrets

Erich Schubert writes that


Oh, and I actually doubt that ATI would give away much secrets if it would allow distributing the existing opensource X drivers. It's not as if the specs of their CPU would be a huge surprise to Nvidia. Some actually say nvidia builds the better graphics cards. And Intel does even give away source code. We're not talking about chip design here, or driver optimizations. Just the plain registers and ports.


-- note: what follows is just my opinion and I'm wrong on a regular basis, so take it with a grain of salt --

The problem here is you aren't thinking like a corporation. As far as I can figure, the corporate view here is that you have two options:

(a) Keep the secrets you have. This is the status quo, you know how to make money here, and no-one else can benefit from your secrets even if you yourself can't.

(b) Give away your secrets. This always carries a risk that someone else will find a more clever (=profitable) way to use your secrets than you; thus, companies try to avoid this unless they absolutely have to.


I personally agree that the risk to ATI appears small. However, just to throw out a hypothetical, giving away their register specs would allow other companies to build cards that are register-compatible with ATI's. (Remember the ne2000?) Obviously this would be good for you and me -- but it's almost certain to drive down ATI's profits at least a little by providing more direct competition in the market for graphics cards; thus it's not good for ATI. This may be a far-fetched or overblown concern, but ATI will need a reason to "go uphill" against it when their current strategy seems to be doing just fine.

Intel, on the other hand, is in a different situation; as far as I know, they generally are playing catchup in the graphics area to NVIDIA and ATI, and as a result, they have more to gain and less to lose by opening their specs. [UPDATE] And as I mentioned in my previous post on this topic, the types of cards Intel sells are probably more interesting to free software users than the cards ATI sells. (I'm sorry you don't have any Intel cards -- they seem to have come automatically with most of the new computers I've seen lately, so I assumed it was a trend!)

Erich Schubert: On onboard graphics,

Daniel Burrows writes "and the built-in graphics card (usually Intel) on the motherboard is just fine for that." I would agree with you, if I had an built-in graphics card with Intel. That is in fact what I'm aiming for for my next laptop. But actually none of the PCs I have in my house has Intel graphics, unfortunately. Intel graphics is pretty much restricted to Core CPUs and Laptops. Which sucks. I wish there would be more "budget" systems with Intel graphics. As you mentioned I don't need high end graphics anyway. I actually don't need high end CPU anyway (power consumption is more interesting, and the value/price ratio). I wish I could have bought a system with Intel graphics, but that would have been twice the price. I wish we had some standard like VESA, just a bit more modern. Like having sane refresh rates for non-TFT screens and maybe some extra acceleration. Oh, and I actually doubt that ATI would give away much secrets if it would allow distributing the existing opensource X drivers. It's not as if the specs of their CPU would be a huge surprise to Nvidia. Some actually say nvidia builds the better graphics cards. And Intel does even give away source code. We're not talking about chip design here, or driver optimizations. Just the plain registers and ports. heck, ATI, Nvidia and Intel could probably even agree on a standard here, except it would mean they'd need to change their drivers and hardware for the next generation with really no visible benefit to them (only to us, we could maybe run the basics with the same driver).

Next.

Previous.