Search Results: "ag"

27 June 2006

David Pashley: How Not To Implement Spam Filtering (and web forms)

A "friend" of mine has recently been sending me forwarded jokes and other assorted crap we all grew out of sending about 5 minutes after we learnt how to send emails. This I can cope with, but recently, for every email she sends, I've been receiving an automated email from a server somewhere telling me that it's blocked an attachment, once for each attachment in the original email. That's crime number one. Looking at it further it appears that its not the sender's mail servers doing it, but once of the recipient's mail servers. When it gets an email with an attachment it's blocked, it emails everyone in the To: header to tell them, irrespective of whether they are local users or not. That's crime number two. I thought I'd email postmaster@capita.co.uk to tell them of this problem, but unsurprisingly it bounced. That's crime number three. Looking on their website, I couldn't find any technical contacts, which wasn't really surprising. I did how ever find a "general enquiries" form, so I filled that in. Unfortunately, they used the following html for the message box:
<textarea name="Feedback1:fldEnquiry" rows="6" cols="1"
   id="Feedback1_fldEnquiry" class="enquiryTable"></textarea>
The result is that you get a text box 6 rows high and one column across, which is basically unuseable. Interestingly they appear to add style="width: 350px;" in IE, which makes it work. I'll make that crimes 4 and 5, cos doing different things for different browsers is a crime in itself. I await a phone call or email from them.

Jordi Mallach: GUADEC 2006

Weeks go by way too quickly lately, and GUADEC was suddenly here. So I finally got permission from work to attend, after managing to complete our milestone the required one week in advance. So far, my first GUADEC has been fantastic. While I've tried to come here with my most "just relax" mentality and it's working pretty well, I've also tried to be around the conference for most of the day, as meeting people is, I believe, the best way to enjoy this kind of conferences. I'm staying with Josep and Jes s in one of the bungalows at the GNOME Village, which is a very nice place, althought it's a bit too far from the GUADEC site. There's a public bus service, but some days it's quite unreliable; luckily Fabrice is staying with us at the bungalow and he has a car which we can use. An unplanned attendee was mako, who after being around the great CDG airport for the Ubuntu Conference in Paris, had a few spare days before returning to Boston and came down to Vilanova i la Geltr for the warmup weekend and half of the first core day. Of course, having him around has introduced the usual randomness to those days. Just after arriving in Vilanova, toniher drove us to the lighthouse area, where there were some big Sant Joan parties going in the middle of the beach. At 4AM, and after checking our flirting techniques are not too effective, we wandered off back to Vilanova Park, seeking some good sleep. In the meantime, Danilo Segan, from the Serbian team, apparently had a hard time finding a way to open his bungalow, and ended sleeping in ours as yet another guest. Saturday morning was spent sleeping, and while we had breakfast, I put on my Komando CT training t-shirt. When mako saw it, he said "hey I have one of those!", which made me discover how kiko traded my other Komando t-shirt with mako during the Montr al conference. WTF! We headed back to Vilanova to get lunch and my talk about the Catalan GNOME localisation project. At 16:00 it's hard to get food in some places, and when we finally managed, my talk was so close we had no time at all to prepare. Jordi Mas, Toni Hermoso and I spoke about our experience to a great audience of about 12 persons. Having decided what would each talk about two minutes before starting, I found myself with little to say at some points, but I guess the talk ended up being interesting, and we got a few interested people in assisting us with further translations. After the conference we met with Bastien and several Debian UK people in one of the bars in the beach area, where we, just after getting in, could see how Argentina scored a fantastic goal against Mexico in extra time. A few beers later, it was time to sleep, but we still had to go through the transportation odyssey. I think we managed to get a taxi one and a half hours later. Sunday has been the most intense day so far. Up at a reasonable time, mako, danilo and I planned going to spend the day at Sitges, one of the most famous towns in the Catalan coast which is just one train stop away. Mako was thrilled about the idea of visiting the Gay Capital of Southern Europe, and we set off for the train station. Visiting Sitges was not meant to be too funny for me, but mostly quite emotional. My initial plan was to go alone during the week, but I figured that mako and others would really enjoy being in such a beautiful town as this one. Sitges is where my Catalan grandmother was born, and where she lived for much of her life. Some will remember that wrote about how important she was for me when she died one year ago. I hadn't been in Sitges for years already, and I feared my emotions when I went back to her house in the middle of the town. We walked from the train station down to the Santiago Rusinyol street, while I tried to show them some of the details I always enjoy about Sitges, including the No embruteu les parets tiles which are all over the place. We arrived at my grandparent's place and we entered the house. Having danilo and mako with me probably helped to not get too many memories back, and also, seeing the house so dismantled, and empty of life made it hard to feel "at home".


Don't dirty the walls. Cleanness is a great signal of civilisation When we went down to the Platja de Sant Sebasti and I spoke to my cousin Bego on the phone I was unable to stop the tears when my grandma appeared in the conversation, though. That beach was her favourite, and I remember how she would take us to spend the day there when we were little more than babies. I took danilo and mako around the town's center and enchanting corners, and after having lunch, we headed to the beach going through the gay streets . At the beach, we had our share of sunbathing and swimming, and around 18:00 I told them we should probably head back to Vilanova, as I had to be ready to play football at 19:00. We were lucky and the train arrived as soon as we got to the station, and also when Fabrice gave us a lift to the stadium with his car. The GNOME World Cup had already started, and someone had taken the last red shirt to substitute me, so I quickly neglected my ex-team and joined the Blue Team. We found ourselves in the final after a dramatic penalty kickout, to play against the mighty Black Team led by Bastien Nocera, who had *destroyed* the White Team with 16 goals or something equally insane. It was a very even final, though, and after 40 minutes of non-stop running, our team scored the decisive goal just three minutes before the end.


Champions! The day would not end up there, as I had to meet my cousin Laia and her boyfriend Marc in Barcelona, to have dinner with them. So off I went, with a hurt calf and dressed like a tramp, to fetch yet another train. I had dinner at a nice place near the Pla a de Catalunya, and after that we were all so sleepy that we went straight to bed at my cousin's place, at 2AM or so. Then, there was the fight against the mosquitos at 4AM, and an early wake up to go back to Vilanova, in time for the grand opening of the Core GUADEC.

Amaya Rodrigo: DIY - Digital Camera Bag

I bought a Canon Digital Ixus 55 on my way back to Mexico, in my favourite airport (Schipol, aka mind your step ). I shouldn t have, it was a bargain I could not afford, but I was tired and had a consumerist attack. Buy! Consume! Spend! Like there s no tomorrow!



Being so tight on money, I couldn t afford the official leather bag (and I am absolutely not very fond of leather at all, as it involves animal cruelty), so I did what a crafty hacker would do: I made my own. I used furry material and a lot of imagination.

More pics here. And here.

Marc 'Zugschlus' Haber: Goodbye, Chris Kurz

Christian Kurz, an ex-colleague of mine and one of my mentors who brought me to the Debian project, has recently retired from the project. Actually, he is probably the DD who has spent the most time in educating me about the project - it was easy for me since I only needed to speak up in the office to reach him. He has been sponsoring my first uploads back in 2001. Chris, thanks, for doing so much for Debian, and for me. You were a great help, and I’m looking forward to getting bug reports from you. It is a great honor to know you.

Michael Janssen: The Continuing Saga of the ML-2010

I upgraded my CUPS to 1.2 today, and had a bit of trouble with getting the ML-2010 to work with it. Given my other issues with this printer, I thought I would expound on how I fixed yet another problem with this semi-supported printer.
The Samsung printing uses the linuxprint system, which uses a configuration file in an XML format which isn't specified. In the default install for the Samsung linux tool, it is installed in /usr/local/linuxprinter/linuxprint.cfg with a link from /etc/linuxprint.cfg to it. My file, after being setup, looks like this:

<?xml version="1.0"?>
<linux root="/usr/local/linuxprinter" system="cups">
  <option name="ghostscript" value="/usr/bin/gs-esp"/>
  <option name="address" value="localhost"/>
  <option name="port" value="631"/>
  <option name="lpr" value="/usr/bin/lp"/>
  <option name="llpr-default-printer" value="lp"/>
  <printer ppd="ppd/C/ML-2010spl2.ppd" queue="lp">
    <option name="Resolution" value="600"/>
    <option name="PageSize" value="Letter"/>
    <option name="InputSlot" value="AUTO"/>
    <option name="MediaType" value="PRINTER"/>
    <option name="JCLJamrecovery" value="RWJOff"/>
    <option name="JCLEconomode" value="PRINTERDEFAULT"/>
  </printer>
</linux>
 
I discovered the hard way that if this file isn't there, the filter which is installed (ppmtospl2) doesn't work that well. In this case, the printer queue is lp. If this file is setup correctly, you can setup CUPS yourself, using the ppd file which is referenced in the linuxprint.cfg file. If you have lost your linuxprint.cfg, I suspect you can just modify the above with the correct ppd - the Samsung package has many of them for different printers. If you don't want to go that way, you can rerun the /usr/local/linuxprinter/bin/linux-config as before, but you will have to open your CUPS 1.2 server wide open while you are configuring it so that it can add the printer. Also, I had to have a printer existing in the CUPS 1.2 server in order to have the linux-config program work at all. I solved this by just adding a virtual pdf printer (using the package cups-pdf). Even when you get linux-config to add the printer, it will not add it correctly for CUPS 1.2 - the device is incorrect - so you will have to reconfigure it via the web interface and give it the ppd which is in the directory anyway.
At least I have my printer back again.

Jordi Mallach: The price of naked swimming in the Mediterranean

So to make a long story short, last night at GUADEC featured a great Fluendo party at one of Vilanova's great beaches. At some point, people had drunk enough to finally consider getting a good swim in the warm waters of the Mediterranean. David Reveman, from the Novell crowd, was one of them. I learned from Anna that in the US it is illegal to show your nipples (ie, go top-less) or any reproductive organs in public. WTF!? The GNOME Hispano crowd did have no problems at all, and went in completely naked, reminding me of the great nights at Helsinki during Debconf 5. I thought it was a good opportunity to POP THE TRUNK, if only a little bit, so I swam to the buoy and came back, in complete darkness, and acs watching out for me from the distance. When we were back, most people were getting dressed already, and I managed to lose my micro suimming suit, which is a PITA as I need it to train.


The phone had more sand than silicon, I guess. Anyway, I wasn't the only one leaving stuff behind. David, if you mind your valuable wallet and mobile phone, find me around the conference. :) Other GUADEC stories will need to wait for another entry...

Axel Beckert: Reflections about T-Shirt Slogans

During the last days, I saw two people with interesting sayings or slogans on their t-shirts: At FrOSCon, Petra from Kernel Concepts sold also some t-shirts from the Geekladen collection and so there were people running around with the slogan Copyright is superstition™ (German: Copyright ist Aberglaube™ , Picture), on their t-shirt. First I thought “cool t-shirt” and “yeah, it’s superstitious to believe that copyright is the real solution to everything” and bought one, too. Then I noticed that the slogan “copyright is superstition” could be interpreted in many other ways, e.g. that the existence of “copyright is superstitious”, which is not really what I think about that subject. So what were the t-shirt makers’ intention? To make people think about the subject? To provocate? Or did they just not think long enough about that slogan? Then yesterday, I saw a girl on the ETH campus wearing a shirt with I’m smart. That’s why I’m single written on it. So what do people want to say with this t-shirt? “Don’t date me, I’m smart enough to know that it won’t work”? Or “There are no other smart people out there, I can date”? Or should I read it “Help me, I’m smart, I can’t date”? (And no, I didn’t ask her. ;-)

Ross Burton: GUADEC

At GUADEC, in the courtyard just outside the main entrance. I'm just out of my talk which went surprisingly well: I was pretty nervous but I don't think I stuttered or ummed enough to be annoying. The projector was a pain in the arse though, Emmanuele's projector in the warm up weeked worked at 1400x1050, yet this one only only supported 640x480: Who needs more than 640x480 when you have 12560Hz! The presentation being scaled down so much meant a little last minute hacking to reduce the font sizes, and some images didn't fit at all so they had to be viewed in Inkscape. Ah well. For the curious/bored the slides are available online: Taming The Beast: Porting Evolution Data Server To DBus. They are are sequence of PNGs produced by the most excellent Opt, so sadly you don't get to see the gorgeous fades.

Andrew Pollock: [life] So much fun I can't believe it's legal

I haven't written about it yet, but we adopted a cat recently. We've (temporarily) fostered a few animals in our time in the US so far, but this time Sarah fell in love, and we had to keep it. Genevieve (aka "Stumpy") came to us as a cat that had been in a car accident, had a broken pelvis, and an amputated tail, and needed a quiet home to recuperate in before going up for adoption. When she first arrived, she'd walk funny, with her back legs splayed out all over the place, and she'd lie on one side rather than sit on her haunches. Aside from this, she was very affectionate, and tried to follow us around everywhere, and purred incessantly. She's improved a lot in the month or so that we've had her (fostering time included). She walks a lot better, her tail stump has healed pretty well, and she's been desexed. It turns out that she was probably pregnant at the time of the car accident, but had miscarried. Anyway, onto the reason for this post. Sarah bought a $10 laser pointer today, and it has been such good value for money. Stumpy's been chasing it all over the place, racing around in circles, climbing the walls, tearing up and down the stairs. It's good exercise for her, and hopefully it's helping her get good use of her back legs (and not aggravating her busted pelvis).

Matt Brown: Same old tricks from Telecom?

A press release from Telecom just landed in my inbox: TELECOM TO SEPARATE WHOLESALE AND RETAIL OPERATIONS. From what I can make out, Telecom is announcing that they’re going to ‘voluntarily’ do what the Government’s proposed legislation would force them to do anyway. That is, separate the accounting and business processes of their wholesale and retail departments. It’s not a full structural separation (which would involve different shareholders and upper management teams). It’s still a good thing, but the way the press release is worded makes me think Telecom is trying to confuse the public into thinking that a full structural separation has occured.

Andree Leidenfrost: Sometimes Things Just Work

I'm in Melbourne for the week, so I thought I take a laptop with Ubuntu Dapper from work with me to see how Mondo Rescue works on it.
I had prepared myself well by making sure that all build dependencies where installed - or so I thought. It turned out that I couldn't install the freshly built packages because some binary dependencies where not installed - very clever. Not.
I didn't have Internet access in the hotel, the winmodem in the laptop doesn't work with free software and there were no (free) WLAN access points. I did, however, have my Treo 650 with an SD memory card. Also, I noticed for the first time that the laptop actually has an SD card slot. I tried the card from the Treo in the laptop and amazingly enough it just worked. (There you go, another glorious Ubuntu success story...) So, I downloaded the necessary packages using the Treo's Blazer webbrowser (which didn't go all that smoothly, downloading stalled all the time basically, but removing and reinserting the SD card helped here), and then installed from the SD card onto the laptop.
Looks like Mondo Rescue is running quite well on Ubuntu Dapper at least in the standard install, i.e. no RAID and no LVM. Cool. Writing to DVDs directly literally takes hours, though. No idea why that is, so I haven't run out of things to keep me entertained yet. ;-)

Evan Prodromou: 8 Messidor CCXIV

So, I've spent the last couple of hours diddling around with Wikitravel's layout, trying to move the table of contents for pages out to a new right-hand column of the page. Turns out that HTML and CSS are really hard. Who knew? I've never really gotten into the whole CSS thing and I mostly use it by rote (or by copy and edit, more often). I find the various three column layouts totally inscrutable, and the whole thing smacks of magic to me. Most of what I want to do could be executed with HTML tables but I'm sophisticated enough to know that in the Web design world that's the equivalent to painting the walls of your hospital room with your own feces.

Pierre Habouzit: pbuilder custom configurations

I've noticed many times that people don't really use pbuilder with all the power and flexibility it allows. A lot of people don't want to mess up with the configuration files or write their own hooks, whereas it's quite simple, and powerful. Here are the dotfiles I use with my pbuilder install: The features those files provides are: There is nothing very new here, but it's a complete setup that some recent/lazy pbuilder users may find useful (it should not need any big modification to be used on anyone's computer). Also note that the linked files are the one I really use, and that it's meant to evolve with time.

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...

Biella Coleman: The Distractions of Today

While it may not be half-naked chicks and dinosaurs, the general point is so on the money. Thankfully a good portion of my research is on and about the Internet. Apparently the link gets redirected so here here is the link to the blog entry with image

Martin F. Krafft: The most expensive cities

I just stumbled over this report on the 50 most expensive cities (via Boing Boing). Zurich is down to position 9 (it was in number 5 the last time I read such a report), but that's not the only surprise -- I have not perceived London, Tokyo, and Geneva to be more expensive than Zurich, nor would I consider Zurich to have become cheaper. When I spot Hanoi and Saigon (Ho Chi Minh City) in the thirties, before Amsterdam and Munich (which doesn't even appear in the top 50), I am beginning to doubt the veracity of the list. Or well, at least I'd like to know more about how they've arrived at the ranking. Or it's been too long since my last visit to Vietnam. Yeah, that must be it. Update: Mike Hommey says:
I think what you missed is that the ranking is about comparing how cities are expensive for locals, not how inherently expensive they are. Sure Hanoi might be cheap for the European, but might not be that cheap for Vietnamese, when you take into account housing prices, etc. compared to the average salary.
I am aware of this; it's only one of the reasons why I am missing information in the study.

Steve Kemp: I want to wrap it up and swim in it until I drown

Over the weekend I mostly been played pinball and reading the review copy of Nagios: System and Network Monitoring which I recently received. This week I shall be mostly doing more code audits, and converting more systems to using LVM. I’ve got almost a complete article on LVM reading to be posted, but it still needs more work. Although I did draw a pretty picture!

MJ Ray: Hi-Tech = Highly Toxic

The Greenpeace campaign against toxic e-waste is in the news today, following a survey that shows buyers are willing to pay a small extra [...] many mobile phone makers, hp and Dell have committed to phase-out. [...] Acer, Apple, IBM and Toshiba are in the hall of shame. Something to [... cont with links...]

Roland Mas: Gforge in Debian, June 2006

…or, “Bits from a Gforge maintainer", if you’d like. After being neglected for way too long, the Gforge packages have finally started moving again. Packages for the most recent upstream release (4.5.14) are available in experimental, with quite a few improvements over the version currently in unstable: From a Debian maintainer’s point of view, my Gforge-related TODO list now mainly sports three items. I suppose I could also try and migrate to the webapps-common framework, but I’ll keep that for later. Of course, any help is welcome. Remember: the sooner I get the Gforge packages into a reasonable shape, the sooner they’ll go to unstable, then testing, and the sooner I’ll be backporting them to sarge, which means Alioth can be upgraded. But since I’ve heard a few complaints about Alioth being too damn slow or broken or whatever, I expect I’ll get lots of patches (in bug reports, please) from disgruntled users eager to help.

Wouter Verhelst: Comment spams

The nice thing about an NIH comment post thing is that you can change it if people start to abuse it. I was starting to get more and more comment spams. Some spammer obviously must have taken a look at my comment submission form, and written some code to post his junk there. Even though they made a little mistake that would make it very easy to identify their posts (URL-encoded the data in some field where it was not necessary, and indeed would mean that the post would not be visible had I approved it), I didn't feel like adding much code to special-case one particular spammer. So instead, I changed my comment form to rename a particular field, and would return a 403-style rather empty page with a remark of Sod off, spammer if the field is filled in. When I start to receive spam again, changing the code to do the same thing once more is pretty easy. It's been a few weeks now. And I didn't have to change anything about my comment submission policy, like some other people had to do. Isn't that nice? :-)

Next.

Previous.