Vitavonni

Wed, 19 Sep 2007

DRI not working?

DRI (3D acceleration) stopped working for me. The reason is simple (as revealed by looking at the Xserver log file): it was missing the DRI library for my graphics card.

So if 3D acceleration isn't working for you anymore, try this:

aptitude install libgl1-mesa-dri

This package includes the library required for DRI on my Intel 915 graphics board. Not sure how it got lost, though. Maybe I purged it when trying to remove "unneded" packages from my system (in order to free up some space)... I tend to try to uninstall everything I don't think I need.

P.S. Looks like you can now but ATI/AMD graphics again, given that they're releasing specifications for their chips - reliable opensource drivers on the horizon!

I've fought both the Nvidia and old ATI driver hell - not having to do that was one of the main reasons why I wanted Intel graphics. Now ATI/AMD is back on my radar.

Wed, 12 Sep 2007

Gnuplot grep

For my diploma thesis (on clustering of high dimensional data, especially correlation clustering, i.e. clustering data by properties such as data correlation) I needed an easy way to filter out data from CSV files as used by gnuplot (actually, they are whitespace-separated).

I hacked together a small tool that would allow me to easily 'grep' out certain parts of the datasets. If you know of a similar tool, please send me an email to erich AT debian DOT org.

Currently, the tool allows you to do commands such as:

gpgrep "1~5$" "1<200" < out/3d-2lin-noise.variances
to select ('grep') all sets where the first column ends with a 5 (regular expression match) and where the first column is less than 199.

The tool is still in early development. Syntax may change, and I guess I'll add some more filters. But you get the idea. Focus is on a very compact syntax.

A future filter I'm considering would e.g. select 20 random rows (with a fixed seed value, so it's reproduceable!) for sampling and a modulo-match to select e.g. every 7th row.

Maybe I'll also add some output processing later, such as averaging values, calculating variances and mean deviations, stripping away columns (but you can do that in Gnuplot already). I don't want to overdo it though - it's just meant as a mini filter you can add to script output visualization. It's not meant to replace a full statistics toolkit.

So if you know of a simple tool that can do that already, please tell me.

P.S. a few people have pointed out awk. Yes, it can do most of this. One thing I also need, and I'm not sure on how to do that the easiest way in awk is to preserve 'blocking'. That is empty lines. Because the data set

1 1
2 2

1 2 2 1

are two lines with two points each in gnuplot, not one with four points. I guess you could just do a "/^$/ {print}", though... hmm... looks like I finally have to learn awk. So far I've always been refusing to learn awk, I was happy with sed, perl and python...

[category: /en | Permalink]

Oktoberfest-Gewinnspiel

Ich arbeite zur Zeit (neben meiner Diplomarbeit) auch etwas für Amiando, einem sehr praktischen Einladungs- und Ticketservice. Die Grundfunktionalität des Dienstes ist kostenlos, und sehr praktisch z.B. für Geburtstagsfeiern, oder wenn ihr bei irgend einer Party eine Gästeliste benötigt. Kosten entstehen erst, wenn ihr Tickets verkaufen wollt.

Verzeiht mir also mal diese 'schamlose' Eigenwerbung hier. :-)

Als Werbeaktion bietet Amiando gerade ein interessantes Gewinnspiel an, zu gewinnen gibt es nämlich:

  • 2 Nächte in einem Münchner 4-Sterne-Hotel für 4 Personen vom 5.-7. Oktober
  • + 500 € Taschengeld zur freien Verfügung
  • + 1 komplettes Trachtenoutfit (weiblich/männlich)
  • + 4 Karten für das ausverkaufte Derby Bayern München gegen den 1. FC Nürnberg
  • + U-Bahn Karten für 4 Personen an allen 3 Tagen
  • + 4 Gästelistenplätze im exklusiven Promi-Club P1 in München

Dafür müsst ihr nur eine entsprechende Einladung erstellen und vier Freunde einladen - und möglichst kreativ in der Einladung beschreiben, wie ihr die 500 € auf den Kopf hauen werdet! Sprich: einfach mal den (kostenlosen - keine Bankverbindung oder so was notwendig bei der Anmeldung!) Einladungsdienst ausprobieren. Die Benutzeroberfläche ist nämlich ziemlich überzeugend. :-)

Derzeit sind etwa 17 Events in der "Oktoberfest-Gewinnspiel"-Gruppe eingetragen, und mindestens einer heisst noch "Eventtitel hier eingeben", - die Chancen sind also ziemlich gut. :-)

Details zum Gewinnspiel

[category: /de | Permalink]

Mon, 10 Sep 2007

Debtags going mainstream

Debtags, a tag-based approach to classifying Debian software packages, has taken another big step forwards.

Debtags was included in the relaunch of packages.debian.org, Debians package search and information web server. This means it's now visible to pretty much any Debian user.

The experimental packages.debian.net also uses Debtags to recommend 'similar' packages.

There are some AI/Datamining projects around Debtags that I'm interested in, but I don't know when I'll find time to work on them.

Mon, 03 Sep 2007

Scalix: only usable by Outlook?

I spend a few hours today trying to get Scalix to work right...

I managed to be able to loginto the admin console at the end, yay!

Still: it seems that it's pretty much unusable except by Outlook (maybe, I havn't tried that).

The reason is simple: they don't let me log into the web mail. With none of my browsers. Because they havn't understood what 'Gecko' is.

For tech people (apparently the Scalix people don't fall into this category), Gecko is the 'rendering engine' inside Firefox, Mozilla and a few others.

With 'others' including the trademark-unencumbered Iceweasel fork of Firefox, or the Gnome webbrowsers "Epiphany" and "Galeon". Which are not "supported" by Scalix (do you happen to actually know what you are supporting? Did you develop for the Gecko rendering engine or for the Firefox UI?).

Other people in the "I'm a web 2.0 company, but I don't know my stuff" hall-of-shame include the huge german email provider GMX. Their new webmail 'preview' is also only enabled if you claim to be using Firefox or Internet Exploder. They neither have understood why all Mozilla browsers include the Gecko id...

[category: /en/linux | Permalink]

Sat, 01 Sep 2007

Postfix under siege

Many people will have seen their postfix reporting new errors these days, like if is overloaded:

postfix/master[7287]: warning: service "smtp" (25) has reached its process limit "100": new clients may experience noticeable delays

This is not really because your system is overloaded. To me, it looks more like a (deliberate?) malfunction of some spammers software. When you rejected it's spam mail a few times, it starts opening up lots of connections to your system, but never sends any data. They just sit there and time out.

The solution is simple: limit the number of connections per client. Make sure the 'anvil' service is enabled (default at least on Debian) and then add

smtpd_client_connection_count_limit = 10
to your postfix configuration.

You should now begin to see messages such as

postfix/smtpd[21680]: warning: Connection concurrency limit exceeded: 11 from unknown[210.210.247.52] for service smtp

A corean cable IP. Yeah, I don't think this would have been legitimate mail traffic anyway.

Feel free to pick the limit value even lower than 10 on really busy systems (or if these 'attacks' become stronger) - most people should never need more than 2 parallel connections (note: you can send multiple emails over one connection, there isn't much to be gained by using more than one connection).

[category: /en/linux | Permalink]
Menu
[planet.debian]
[planet.xmlhack]
[planet SELinux]
[munichblogs]
[email]
[RSS 2 feed]
[English RSS 2]
Categories
< September 2007 >
SuMoTuWeThFrSa
       1
2 3 4 5 6 7 8
9101112131415
16171819202122
23242526272829
30      
Archives
2010-Mar
2010-Feb
2010-Jan
2009-Dec
2009-Nov
2009-Oct
2009-Sep
2009-Aug
2009-Jul
2009-Jun
2009-May
2009-Apr
2009-Mar
2009-Feb
2009-Jan
2008-Dec
2008-Nov
2008-Oct
2008-Sep
2008-Aug
2008-Jul
2008-May
2008-Apr
2008-Mar
2008-Feb
2008-Jan
2007-Dec
2007-Nov
2007-Oct
2007-Sep
2007-Aug
2007-Jul
2007-Jun
2007-May
2007-Apr
2007-Mar
2007-Feb
2007-Jan
2006-Dec
2006-Nov
2006-Oct
2006-Sep
2006-Aug
2006-Jul
2006-Jun
2006-May
2006-Apr
2006-Mar
2006-Feb
2006-Jan
2005-Dec
2005-Nov
2005-Oct
2005-Sep
2005-Aug
2005-Jul
2005-Jun
2005-May
2005-Apr
2005-Mar
2005-Feb
2005-Jan
2004-Dec
2004-Nov
2004-Oct
2004-Sep
2004-Aug
2004-Jul
Other links:
Swing and the City - Lindy Hop in Munich