Search Results: "eric"

30 December 2007

Erich Schubert: The 'iwlwifi' driver

I've switched back to the Debian stock kernel 2.6.23 from a self-compiled 2.6.23.9. The reason: I wanted to give the iwlwifi driver for my Intel 3945 wireless a try.I think the 'iwlwifi' driver will be included upstream in 2.6.24, I guess the Debian people have added it to the 2.6.23 package themselves. At least I didn't come across it when configuring my 2.6.23.9, and I've seen it in the 2.6.24rc changelogs.So far, the iwlwifi driver has been clearly superios, except it still lacks support for the LED. There seems to be a patch around for that though. So maybe my wireless is still disconnecting from time to time and I'm just not noticing it because I don't see the LED flashing. :-)

28 December 2007

Erich Schubert: Spamtrap followup

A few days ago, I asked about how to properly embed spamtraps in web pages.Well, noone could tell me if using display: none is appropriate. I actually do not want Google to index the contents in that div. So as long as they don't punish me for using display: none at all, it's okay. And the page I placed the spamtrap on is a doorway-like page for others anyway; it's not part of an important site.It took the first spammer around 54 hours to send the first spam. Or try to send: all 10 retries with different zombies were rejected by my spam filter. Since then, I've been receiving another round of deliver attempts - around 5-15 per spamtrap address - almost every hour.Of the > 500 spam delivery attempts I've seen since, none made it through my initial spam filters (not to speak of the content filter behind that), but they were rejected at the SMTP level, even before the mail content was sent.I've now disabled some of my spam filters to allow the trap adresses to actually receive mail. After all, I want to use them to train my filter. :-)

25 December 2007

Erich Schubert: Visualizing with XHTML and SVG

My thesis is about data mining, clustering of correlated data in high dimensional vector spaces, to be a bit more precise.In detail, I'm working on methods to improve upon existing clustering algorithms such as 4C (Computing Clusters of Correlation Connected Objects) and ERiC (On Exploring Complex Relationships of Correlation Clusters), where you need to pick some parameters (e.g. k for a k nearest neighbour based approach) appropriately.My approach is twofold. On one hand, I'm improving upon the traditional covariance based correlation (which is quite sensitive to noise), so the parameters become easier to pick, on the other hand I'm working on an approach to automatically fine-tune the parameters to further improve stability.For testing my computations I needed a visualization of this data. I was considering using gnuplot (and in fact I'm using gnuplot a lot), but for some situation I needed animation capabilities, and thats where gnuplot becomes really messy.So I decided to dive into SVG and Javascript. Here's my first SVG project:Visualizing kNN correlation in SVG with Javascript(Internet Exploder is not supported. I don't have Windows, and for all I know it doesn't really support SVG. Use a Gecko-based browser such as Firefox, Opera and Safari (at least on Windows) also seem to work. I didn't get it to work on kHTML/Konqueror/Webkit. I'm just doing this for myself, so I have no need to support other browsers.)It's a 3D dataset, consisting of 300 points. 100 points are noise, 100 points are in a 2D cluster (green) and 100 points are on a 1D cluster embedded into this plane (I'm working on algorithms that support hierarchical clusters, so I needed a dataset with this property!).There are two buttons in the UI, one toggles rotation, the other one toggles the playback of "k". It will cycle k through a range of about 3-200. When offset hits 20 (so k would be 22 or 23), the main correlation vectors - the big blue lines - already point along the 1D cluster. At an offset of around 80 they have already diverged quite a bit from the 1D cluster - at this point, the correlation is seeing the 2D plane quite well already.I could also show you the behaviour for points in the 2D plane (but outside of the 1D cluster) and noise points.We're preparing a paper for SSDBM 2008.[Update: Safari works at least on Windows]

Aigars Mahinovs: AI classification of websites

I see that Erich is also trying to do something with AI classification of web pages. It would be interesting to find out what algorithms he is using and what the validation testing results are - I just did my Masters in a similar direction. But alas, his blog has no comments :) The thing i would suggest is trying out the algorithms using some existing tool sets, such as WEKA from the University of Waikato in New Zealand. I used it in my Master’s thesis and got very nice results. I found that with non-topical categories tree based classifiers and support vector machine classifiers (in the SMO variation) produced acceptable results.

Eric Warmenhoven: Tomorrow will be: roughly the same as today.

A couple months ago, I got an iPhone, like I wanted. Today, I dropped it flat on its face onto a tile floor, and the bottom half of the touch screen no longer responded. So this afternoon, Christmas Eve, I went to the Apple store at 5pm to try to get it fixed, realizing at the time how stupid and unlikely that was. To my great surprise, the store was open, mostly empty, and I was given a brand new iPhone on the spot. I took it home and connected it to my Macbook, and iTunes asked me if I wanted to restore my old profile. A short sync later and it’s indistinguishable from my old iPhone, pre-drop. It even remembered which websites I had open! It also had the pictures I had taken with the phone but hadn’t yet copied off of the computer. So now I love my iPhone even more because I don’t care if it breaks; the new one will be identical to the old one in every way. Today ends week eight of my forty-eight week Invisalign treatment. I originally was looking at orthodontic work to correct the crowding on my lower teeth, and have been considering getting either braces or Invisalign for about four years now. I’ve talked to several dentist and orthodontists, and the ones who offer both braces and Invisalign have tried to persuade me to get braces instead. The main reasons they’ve pushed braces are that they’re cheaper, they’ll probably take less time, and they’ll be able to correct more things, such as my overbite. I decided to go with Invisalign instead for several reasons: vanity, comfort, convenience, and protection. Invisalign so far has been much more comfortable than braces were, especially since they don’t cut at my lips and gums like braces did. I can eat whatever I want, unlike with braces, since the retainers come off while I eat. And I grind my teeth at night, so the Invisalign gets worn down instead of my teeth. The biggest inconvenience so far with Invisalign is that I’ve stopped snacking, since there’s such a huge time cost involved with brushing my teeth before putting them back on, and I’m not supposed to have them off for more than two hours per day.

24 December 2007

Erich Schubert: Spamassassin precompiled rules

Spamassassin supposedly can precompile rules to allow faster operation. It compiles an optimized matching automaton that will process all the regular expressions in parallel.Anyway, in order to use it, you need to manuall install some dependencies. They probably can't be introduced as real dependencies to not enforce them upon people who don't want to use this feature. So far, I've identified
aptitude install re2c gcc libc6-dev make
I'm aware that many people will have the libc6-dev and gcc stuff already installed, and the re2c dependency is well-documented. But I actually had removed the C compiler from my mail server.

Erich Schubert: Training my AI

Some time ago I've been working on an AI to classify web pages. I've spidered (and classified!) about half a million web pages I'm using for training.This totals to about 40.000 categories and 100.000 useful tokens. I need 8 bytes of storage - two float values - for each combination, which is a matrix of about 27 Gigabytes. I'm using mmap to map my data files into memory for convenient access. On a 64 bit system, I can keep them mmapped all the time.This results in the following funny top output:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
12443 erich     26  10 27.7g 309m  21m R  8.5 32.8  86:01.98 train
So according to top, the process is using 27 GB of virtual memory. That is the data files, actually. The 300 MB resident memory is the training data it's processing. At this point, all my data has been converted to 32-bit integers, so this is already condensed down a bit.It's also obvious that ext3 supports sparse files - running "du" on my database directory currently gives 1.5 GB (it just has started filling the matrix), adding the "apparent size" switch gives 29G.I hope that when the training run has finally completed (ETA is a couple of days), the AI will actually be able to classify webpages somewhat reliably. :-) You can think of it like a huge bayesian spam filter. Except that I've added some boosting that should improve results, some computational improvements for speed and scaled it up to 40.000 categories instead of just "spam".Other uses I'm planning for the AI is automatic email filtering into multiple folders (best to be employed on Google GMail, where an email can have multiple labels, not just one folder), automatic document classification for document and knowledge management systems, etc. pp.[Update: I havn't yet decided if or when I'll release the code as GPL. Right now, the code could require some cleanups. And I'm considering to start a business around this datamining and classification stuff, so I might want to keep it closed for some time at least. The business will most likely be around integrating the code though, so a public release might well be possible.]

23 December 2007

Erich Schubert: Proper way of embedding spamtraps?

I'm considering to embed some spamtraps (i.e. email adresses that will feed all their incoming email to the spam filter) into some web pages.However, I want to prevent people from accidentially using these links or even just seeing them. So using "display: none" seems appropriate. But Google is known to punish websites 'hiding' content from users but not from robots.Some sites say, Google will just ignore the parts that are within "display: hidden", others say it will punish the site altogether.Maybe the adsense control comments will help
<!-- google_ad_section_start(weight=ignore) -->
but it wouldn't really make sense. It's meant for adsense only.Or the page could become a bit more hackish and use javascript to kill the unwanted content. Any experiences with the proper way of hiding spamtrap email links like this:
<a href="mailto:aaaaaaa-never-email-this-address@domain.tld"
>Unwanted Emails only<:/a>

22 December 2007

Michael Prokop: Make console work comfortable

You like grml’s Zsh, GNU screen and Vim configuration? No problem to get that on non-grml/non-Debian/non-Linux/… systems as well. Just copy/paste the following lines which are stolen from one of my personal cheatsheets for working on foreign systems (being Linux as well as Solaris, BSD, Windows,…):
# IMPORTANT: please notice that you might override existing
# configuration files in the current working directory! =>
wget -O .zshrc        http://hg.grml.org/grml-etc-core/raw-file/tip/etc/skel/.zshrc
wget -O .zshrc.global http://hg.grml.org/grml-etc-core/raw-file/tip/etc/zsh/zshrc
wget -O .screenrc     http://hg.grml.org/grml-etc-core/raw-file/tip/etc/grml/screenrc_generic
wget -O .vimrc        http://hg.grml.org/grml-etc-core/raw-file/tip/etc/skel/.vimrc
If you do not want to copy/paste just use the grml-config.sh script instead. Notice: the ‘tip’ inside the URL always points to the most recent version of the file(s), so it’s easy to stay up2date as well as checking out a very specific version of the configuration files. Just look at http://hg.grml.org/grml-etc-core. Disclaimer: If you notice any problems with the configuration files on your system/platform please let me know, it’s considered as a bug then. Any other feedback is welcome as well of course. :)

21 December 2007

Erich Schubert: Thoughts on Google Calendar embedding

I've recently considered using a Google calendar for a project, and tried to embed it in a web site.However, there are a few issues I'm having with it: Also the "multiple calendars" feature is a bit hackish. I'd like to be able to differentiate events by flags such as "city", "outskirts", "training", "dance event", "music event". Obviously, entries might have more than one, so I'd need 6 calendars for this already. Usually, you can combine five...Guess I'd need to do this all in Ajax by myself. It would be cool if Google Calendar hat an API for embedding like it has for maps. The Calendar API I've seen so far is basically polling the raw data via JSON or XML. Which is already great, but I do like some of the calendar layouting the do, and I'd like to avoid having to replicate that myself.

17 December 2007

Erich Schubert: Linux adoption progress

Linux has already been the main OS here at the computer sciences for some time. The computer pool was just switched to Ubuntu, after having been on SuSE and OpenSuSE for the last 6 years or more. With the latest hardware upgrades, our computer lab is nicer than ever: dual-core AMD64 systems with 2.6 GHz, a couple of them with two LCD screens connected (which is great for developing, having the editor on one screen and documentation on the other). I wonder if the machines spend more than 1% of their time at full CPU speed - I havn't seen any running at more than the minimum 1 GHz.But one thing I've noticed, which has changed: even those people I can see in the lab having their own laptop with them have Linux running.A few years ago, most people bringing their laptops were doing so to have Windows around. Now with the nice dual-screen setups here, bringing along a laptop to have Linux is less attractive than ever. Still more people bringing their laptops run Linux anyway.I figure this means that they've noticed that the DEs a Linux system offers is very useful (granted, and more to what they have at the university when they don't have their laptop around. However the main part - Java and Eclipse - actually wouldn't differ). They still dual-boot (I overheard something about 'on Windows, this and that and foo) - and even accept the effort of dual-booting to get the Linux benefits.In a few years, will there still be Windows developers you can hire, when everybody studying computer science is being taught Linux? (Granted, not all universities have made the full switch to Linux for their computer sciences)P.S. I'm not involved with the computer admin group; for detailed inquiries you should talk to them directly. Especially for e.g. software distribution questions and such. Oh, and I heard that the servers were running Debian for some time already, while the clients were OpenSuSE. So maybe they still are Debian.

16 December 2007

Erich Schubert: Keeping the website up in rankings

My personal web site - which actually is not particularly interesting, IMHO - used to get in a lot of traffic via Google. It was highly ranked on several quite interesting search terms. For example, it's still number 1 on the search term "Halbleiterlaser" (semiconductor laser), which is the topic of my secondary school thesis. So I still win against Wikipedia on this one. For "flowers" I sometimes and up at #1 in Google image search (causing lots of people to hot-link certain images from my site... might be with some geo targeting though?) But I've lost other battles to Wikipedia by now, such as the search term "Liebeskummer" ("lovesickness"; I have some old old poetry online that people dig a lot; this still makes up the biggest share of my visitors)My rankings have dropped quite a lot the last year, down about 50% within a year. I don't know if this is because I'm blogging a lot less, because I'm not updating it often enough or because Google doesn't like the redesign as much as it did like the old one. (The redesign was 2 years ago, followed by a drop in visitor numbers but a recovery to like 70% within a month)Algorithmic changes of Googles ranking are just another possible reason; I always felt as if my placement was highly overrated anyway.I added at a Google sitemap some months ago and other things that people expect to help with their site being well included, but it didn't stop the numbers from going further down. For obvious reasons I didn't buy any links or anything; I'm not making my living with that page or anything, it's just a pet project thingy. (So obviously, don't make me any SEO offers for my page!)Still it's a pity: I used to have a couple of really major placements on Google - so much that I've had some inquires if I'd like to sell my personal homepage (nah, I don't want to have to get a new email address!), offers by reputable and huge dating sites to put up ads on my page and surprisingly high offers for including my web page in link farms - but I'd have issues with that (I'd like to keep control of what my page contains; including content that might get Google to ban my page is scary), and it would have required me to run my page on PHP (ugh).I wish there was an easy way to just keep the rankings I mysteriously had acquired the last years. :-) For some time it looked like I had some magic SEO capabilities, and friends suggested I should consider actually going into the SEO business. My page is still overrated by Google, but it seems like it has lost much of it's magic.P.S. A fun story followup: I've just noticed that someone in a french cooking forum hotlinks to a photo of mine, claiming that he had cooked the food I did. Isn't that hilarious? Should I substitute that image with a g*atsee?

15 December 2007

David Welton: Free Software Beer Network

I've actually had this idea floating around in my head for a while. Recently, I mentioned it on a Debian list, where it was well received. Since I don't think I'll be able to implement it any time soon, let me just throw it out there: One of the cool things about belonging to a group like Debian or the Apache Software Foundation, or other similar groups is that there are people all over the world that are often willing to meet if you're in their area. Wouldn't it be cool to have a centralized resource where you could post something like "hey, I'm going to be in Paris/Perth/Padova/Philadelphia/Porto Alegre/Pretoria, anyone want to get together for a beer or whatever people drink there?". You'd have to balance it some - make it too generic and it loses some of the appeal - part of the appeal about meeting someone from a group you belong to is that you instantly have something to talk about. Extend that too far and it would just be like meeting random people on Facebook. I don't have the time or inclination to pursue the creation of such a site, but it would be quite simple, I believe. And of course, if anyone is headed to Innsbruck, I'm always happy to go out for a beer!

Lars Wirzenius: Python optparse: what options got set?

While writing some code for EoC 2 to parse the command line, I needed a generic way to find which command line options were set by the user. That is, after I've parsed a command line, and have the return value of the optparse.OptionParser.parse_args method, how do I find which options were set? The return value is an instance of optparse.Values, which does not have a convenient method for that. So what I do is this:
classattrs = dir(optparse.Values)
for name in [_ for _ in dir(options) if _ not in classattrs]:
    print name, getattr(options, name)
Slightly tricky, and it may stop working in a future version if they change things in the in (undocumented, therefore private) interface, but it's nice to be able to work around library design warts like this when the language itself is nicely powerful.

Michal &#268;iha&#345;: Gammu stable version 1.16.0

Last Gammu release in this year is out. There are no major changes compared to 1.15.91, but it brings lot of bug fixes to stable series. Full list of changes since 1.15.0: You can download from usual place: http://cihar.com/gammu/

14 December 2007

Martin F. Krafft: Finally on the right track

It's now three weeks since I am officially a Ph.D. student at the University of Limerick, but I've been too busy to do anything about it. Today, I finally updated my research webpage and sat down to tell you the tale of how I successfully defended my research, but failed to leave the country the next day. As is customary in the British system, I initially enrolled at UL as a Master student. In October, I then applied for a transfer to the Ph.D. track, submitted a transfer report and prepared for a live defence, according to the UL code of practice. On 23 November, I presented my research to my examiners, Dr. P r gerfalk and Patrick Healy, who found my work to be at Ph.D. level and approved of my transfer. I was moderately nervous going into the presentation, not really knowing what was expected of me. In the end, however, the presentation went well and the ensuing discussion provided valuable feedback. Thank you, P r and Paddy, as well as Norah (who chaired), and Brian (my supervisor) for all your time, help, and support. After the defence, Mel waited outside with a beer in hand, and it being Friday and all, I happily popped the cap and drank. Plans to head to The Stables gave way to chilling on the couch in 110 (my home away from home), before we headed to town for the Kila gig. We arrived early, had some beers, enjoyed the show, had some more beers, went home, and had some more beers to Guitar Hero, and when I crawled into bed, I was shocked to find out that I had lost all track of time and it was in fact already 5:30 on Saturday morning, instead of the perceived 2 o'clock. See, the source of this shock was a plane that left Dublin the next day around noon, and a rental car that was to get me there, leaving the house at 8. But when my alarm shattered my drunk dreams at 7:30, it quickly became clear (or well, everything was blurred, actually), that I would have a hard time getting into the car, and I would certainly never manage to navigate it to Dublin, a three hour drive. So I called up the airline and the rental company and rescheduled for the next day (only one flight from Dublin to Zurich a day), and went back to dreamland. I am entirely unsure whether my Ph.D. transfer defence was enough of a reason to get smashed. I still had a good time, though as always in Ireland, especially with this crowd NP: The Flower Kings: The Rainmaker

Adam Rosi-Kessel: Proof of Winter 2007

P1050055
We were hit pretty hard in Boston. My office was shut down and deserted by mid-afternoon, but I decided to stay until late afternoon — big mistake. You might think the trains wouldn’t be as affected by the snow. And they weren’t — it only took me twice as long to get home, while it took my brother over six hours to drive from Somerville to Roslindale. Still, it was a pretty extraordinary scene at South Station around 4:30pm. It was packed inside and out. A few trains arrived, and no one got on or off. I was wondering if they were ghost trains until finally things started moving. The odd color balance in this photo set is because these were all taken in the dark with very long exposure times. But the apocalyptic cast may actually be appropriate. Earlier: Proof of Fall 2007, Blizzard 2007, Blizzard 2005, First Snow 2004, Winter Sunset 2005. Technorati Tags: , , ,

12 December 2007

MJ Ray: First week with the k608i

I got a Sony Ericsson k608i. It's fairly old and I don't like Sony (rootkit distributors that they are), but it was very cheap... if I didn't have the opportunity to use that, I'd've probably got one of 3's 50-quid Skypephones and ignored the Skype bit. I don't really know enough yet to buy smart and I'm not a 3G Power Phoner, so I suspect the bog standard would be good enough for me. A week on, it works pretty well. 3mail seems to be free to receive and read, so I can set my mail sieve to redirect copies from my heavily-filtered inbox to it and then choose between 10p/mail replies or 50p/day unlimited internet and use mujMail and MIDPssh. Typing on the phone isn't much fun, but it's not too bad. The speakerphone is good enough that I don't need to carry a headset around with me and some of the free video like animated weather maps are quite fun, but I'm not sure how much I'll use them. I usually have access to a TV, after all. Even larger train stations often have TVs around. 2.50 for unlimited access to BBC One, Three, News24 and itv1 may be useful if there's something I really want to watch, but I'd expect it to eat battery. Also, the video seemed to flake out far too easily when moving on local trains. The camera seems OK, although I haven't figured out how to make it flash and I've not yet copied pictures off to a bigger screen or a printer. I've got bluetooth working, but I think I also need to install obex. I need more time. Has anyone got either headsetd or alsa pcm type bluetooth working well? My headset seems to have a very quiet microphone, is slow to start and has been unstable so far. (2007-12-12: 1 comment)

11 December 2007

MJ Ray: Movements: back again (just)

I'm back (again) but I'm not feeling 100% well (again). I'll write about the various events I attended and share the pictures as soon as I get bluetooth file transfer working (is that obex?) but here are some sites I commented on recently:
When is it going to be the norm for JavaScript?
Never, I hope.
Down with the Press Release!!
I wonder if I didn't like this because open letters aren't very common here.
Print before you think! - Atomo64's Blog - by Raphael
Reposting the old psnup -2 trick... works in Mozilla-based browsers, at least
How Old Are ProBlogger Readers? Poll Results
I whinge about ProBlogger's misuse of bar charts again...
How Much Money Do Bloggers Earn Blogging?
and again... guess I should stop doing that. But histograms ROCK. Excuse me - I'm still ill...
blog.aksw.org Blog Archive Open-source innovation platform Cofundos.org
I've seen a couple of these cooperative free software funding ideas recently. Here's one...
Information Unlimited A proposal for user-driven commercial free software development.
and here's another...
gmane.org.fsf.europe.discussion
and here's a little background on the first.
Sustaining Alternative Media - Bristol Indymedia to Bristol Social Forum
It's just too damn awkward to contribute to BIMC.
Miriam Ruiz: Journalists avoiding writing about Free Software?
Since when have journalists avoided writing about stuff because of criticism? Sounds like an excuse to me.
Issues Forums in the UK, Meet Tim Erickson in November at London E-Democracy 07 Conference E-Democracy.Org - Project Blog
I did meet Tim. Which was nice.
Labour: Queen's Speech - full statement
I saw this site advertised on TV after the speech, visited it, asked a question. No answer. 'nuff said. I asked a question on another page and it was deleted unanswered. Control freakery at its best.
ConservativeHome's ToryDiary: Cameron takes Tory message of social justice to Labour heartlands
My question about the surprising Conservative Cooperative Movement announcement. No answer. Are all the political parties similar? Do any of them have any answers?
BBC Internet Blog - Linux Figures
Part one of the reaction of the BBC director who thought they only have 600 Linux users.
BBC Internet Blog - Open Standards
Part two of the reaction "The BBC is committed to open standards [...] wherever possible" - yeah, tell that to their satellite system and the Ceefax-killers! (Warning: may contain Andrew Suffield...)
BBC Internet Blog - Operating System Figures
Part three - explains just how their analysis system got the numbers so horrendously wrong. "All of the BBC's regular reporting mechanisms use the User Agent string" - D'oh!

Michal &#268;iha&#345;: Photo uploader 0.5

Good news everyone, new version of Photo uploader has been just released. If you don't know this tool yet, it is helper to upload photos (or images) over net. It was created when I became too lazy to upload hundreds of photos to digilab, but generally it can support any service which allows you uploading of whatever using HTML forms. News in this release:

Next.

Previous.