arbtt feedback

Gwern Branwen gwern0 at gmail.com
Sat Sep 15 01:19:43 CEST 2012


So it occurred to me I should give some feedback. I currently have 2
major issues with arbtt:

1) the performance is terrible. Parsing my 81M of logs takes gigabytes
of memory; it's so bad that it kills running programs like Firefox.  I
have to run with +RTS options just to get a result. And it doesn't
help to specify '$sampleage < 24:00', that's just as bad - even though
one would expect it to since it should be able to only parse a few kb
at the end of the file! What's laziness for if you're going to analyze
the entire database...
2) the config language is highly repetitious. When I look at my config
(which cribs heavily from the example config in the docs), I see tons
of verbosity. Consider these basic rules:

     current window $program == "Navigator" || current window $program
== "chromium" || current window $program == "epiphany-browser" ||
current window $title =~ /elinks.*/ ==> tag WWW,
     current window $program == "evince" || current window $program ==
"FBReader" || current window $program == "calibre" || current window
$program == "gscan2pdf" || current window $title =~ /.*pager.*/ ||
current window $title =~ m!/doc.*! ==> tag PDF,
     current window $title =~ /.*mplayer.*/ || current window $program
== "Audacity" || current window $program == "clementine" || current
window $program == "puddletag" || current window $title =~
/.*YouTube.*/ || current window $title =~ /.*Vocaloid.*/ || current
window $title =~ m!.*/r/vocaloid/.*! ==> tag Music,

-- 
gwern
http://www.gwern.net






More information about the arbtt mailing list