Search Results: "ean"

27 March 2006

Erich Schubert: Google updates earth with new old data.

Google updated it's famous Google Earth software (which is a really nice toy, actually) with new data. There are now high-res shots available for most (or maybe all?) of Germany. However in regions like eastern Munich, where Google Earth already had high-quality shots, these have been replaced with older imagery. I believe that these "updated" images are one to two years older, judging by some missing construction sites. I'd date the previous shots to October 2004, the new ones to October 2003. Given that Google just added satellite imagery for germany, I guess they'll add map/street data to google maps for germany soon, too. And did you know that you can run Google Earth using Wine on Linux, too? The 3D display is working okay, just the menus don't render correctly. Oh, and some fun: type "Frankfurt, Germany" into Google earth. It won't take you to the well known financial city in germany, with the international airport, but instead to the "less important" "Frankfurt an der Oder" close to the border to poland. If you want the other Frankfurt, you have to type "Frankfurt am Main, Germany". Oh, and "Torino, Italy" is the only continental european region with street maps available on Google maps.

Neil McGovern: The Joys of Air Travel

Well, I've just got back from the first OpenVAS DevCon in Onsabrück in .de. More on that later.

However, this particular post is about STN airport. On the way out, I had a transfer in STN, and nothing could be easier. I got off the plane, was told to walk down corridor 'a', and I ended up right by the gate where my next flight was due. Easy, right?
However, on the way back, things didn't quite go to plan. I knew the day was going to start badly when I found myself wandering around Onsabrück at 2:30am in the rain, trying to find a random bus shelter that the airport bus stops at. I failed fairly miserably to catch the 2:56am bus, but at least it showed me where the bus shelter was, unlike the random drunk tramp that insited on trying to talk to me. The next bus was at 4:22am, so I did have quite a wait. However, this meant that I had 10 minutes before check in closed for the flight. I made it. Just.
The flight set off on time, and all was fine. When we landed at STN, there was a slight delay due to some 'confusion' over which gate we were heading into. So, I get off the plane and expect to head down a magic corridor somewhere. Well, it didn't quite happen like that. We climbed down the stairs instead of using a gangway, and then were ushered into a bus. This then took us to the other side of the airport and dumped us by passport control and arrivals, so no facility for transfer passengers.
This meant that I had to go through all of passport control and security checks again, and as the plane was late getting in, I didn't have much time. So, I finally manage to find where the departure gates are, and spot a HUGE queue to get in. I join it, and about 10 minutes later discover that there is an even longer queue inside to get through security. Never mind, I'll still make the flight if I run. So, the man who checks your boarding passes before letting you get to the security bit notices that I'm a transfer passenger, and tells me not to use this queue, but go straight to the 'Priority lane' which is used for first class passengers etc. I do this, and the man checking the tickets insisted that I don't have the right ticket, and to join the queue again. So, I do so, and 10 minutes later, I'm told to go to the 'Priority lane' again. WTF? I eventually manage to get the left hand to meet the right hand, and get through the priority lane.
Now, STN has a rather high-tech system with opening and closing corridors and routing people to the right gates. Today, however, it was very broken. So, a usual 5 minute walk to the gate turns into a 15 minute jog. I arrive at the gate, just as it says 'final call', and it's shut. They haven't even opened the gate yet. Eventually, I get on the aircraft, and look out the window. I'm on the same plane I got off, and sitting in exactly the same seat that I was two hours earlier.

26 March 2006

John Goerzen: Something other than Drupal

I've been using Drupal for this blog for most of its life. However, I'm starting to be quite annoyed by several things: So I'm planning to switch to something else. Something where blogging will be fun again, without all the hassle of tracking down spam. It looks like either Wordpress or Serendipity, and I'm leaning towards Serendipity for now.

Erich Schubert: Finding duplicate MP3s

Listening to music with CDs is a pain. Because every CD gets boring quickly. Radio stations are fun for some time, but they also play the same bad songs over and over again. So I still have a collection of MP3 songs (albeit all CDs I converted recently are now ogg vorbis, since this offers a better compression, and my portable player can play ogg, too). So if you try to maintain a collection of your favourite MP3s, you'll sooner or later end up having some duplicates. Or many of them. The cleanest approach would of course be to just delete your whole collection and start converting your CDs again (this time paying more attention to tagging and such). But this would take a lot of time again... I've written a small tool which uses the musicbrainz library to generate audio fingerprints of songs; these are then stored in a small database, and another tool can list duplicates from that database. This of course still doesn't catch all duplicates (well, some songs are slightly different among different albums, and sometimes they result in the same TRM id, sometimes they do not) but does a fairly good job. Beware of (rare) false positives, however. It should work on Windows, too. But I really have no clue on how to setup musicbrainz, pyogg and pymad on Windows. Debian users can just apt-get them. Don't ask me about how to install on windows: I don't use windows. Grab it from it's temp home for the TRM-dupefinder (grab all .py files, trmdb.py is the main lib, the others are the applications). Calculating all the audio fingerprints takes a long time; but the gen tool will only process each file once and continue where it left off. So you can do it in multiple runs. Then run the dupe tool at the end. Tunepimp is probably a smarter way to do this (and maybe verify tags in the same run), especially since it apparently can store the TRM id in the ID3 tag, to avoid recalculation even better. However, I didn't get the python-tunepimp bindings to work properly.

25 March 2006

Pierre Habouzit: debian.org and SPAM

Our @debian.org addresses are just too polluted. It's a fact, and nobody moves. It's really tiredsome. I happen to also be a co-admin on a mail server, that accepts almost 300k per MX, which is not very big, but quite big enough. I've written a little tool called whitelister. It's used in conjunction with postgrey that we use as a POLICY daemon for postfix. Basicaly, what it does is quite simple: This approach has spectacular results: greylisting in action Edit: the same statistics on our backup/secondary MX greylisting in action The green area are the mails we accept for delivery (after the AV-checks and classicale anti-UCE-checks). The red line is the amount of messages that the bayesian antispam (bogofilter) marks as spam. Since our clever greylisting is up, the results are just unbelievable: we drop a huge amount of spam, without needing bayesian spamfilter or clamav or any CPU-intensive checks, so almost for free. The statistics we run show that a very few mails are actually submitted again (less than 20 per week), and most of them are spam anyway. And an analysis of the remaining spams shows that those are spam that come from redirections services (mail lists, @debian.org, ). We almost drop 99% of the spam that is submitted into the SMTP network through one of our MX's. For the record, we only use cbl.abuseat.org, dul.dnsbl.sorbs.net and dynablock.njabl.org. why doing it that way ? greylisting is all about creating a dynamic map of the SMTP queues of the planet. What I do, is only using RBL's that already exists to make that principle converge faster. Moreover, even if you use "bad" blacklists that have too many false positives, the greylist is here to let legitimates mails through. So basicaly, it combines two bad[1] methods, to make a good one: It's a win-win use. Conclusion I'd really like to see such a system be installed on our main MX's. @debian.org emails addresses are overloaded with spam (and 90% of the spam I receive, comes from my @debian address). btw, in a MTA like exim (that some of our MX use), a tool like whitelister is not needed. It's possible to achieve the same thing within the exim configuration files (but don't ask me how, I never used exim, I just know it's possible to do it). Is there anybody out there to support such an idea ?
Notes [1] Used singly, I consider those methods really bad.

Junichi Uekawa: Having too many layers of symbolic links.

Linux kernel has a limitation on how many times it will resolve the symbolic links.Apparently, you won't be able to 'open' a file which has more than 5 indirections, if youlet the kernel resolve the symbolic link.This is a well-meaning limitation to avoid DoS.Unrealistic workaround that come up to my mind such as to hack glibc to stat the symbolic links before opening, or making applications to call canonicalize_file_name before open.Sometimes, this gets annoying.

24 March 2006

Dirk Eddelbuettel: Beancounter bug fix release 0.8.6

A nasty little bug snug into 0.8.5: price data without open/high/low/volume (as e.g. for mutual funds) failed with the new SQL chunk creation -- this is now fixed. We now also pick up $host if set in ~/.beancounterrc, and made the two helper scripts setup_beancounter and update_beancounter actual bash scripts as they were reported to fail under the smaller/simpler dash shell. The bug fix release 0.8.6 is now in Debian's incoming area, uploaded to CPAN and onto my beancounter page and an announcement has been registered for the corresponding Freshmeat record.

23 March 2006

Erich Schubert: How to use ICQ...

... or more precisely: how to be left alone on ICQ. I've been receiving lots of messages by people I don't know at all on ICQ. This has become really annoying the last weeks, I had almost stopped using ICQ because of that. I think I now know why random girls have been IMing me recently: they search for people in my age from Germany that talk German or English. So the workaround (to gaim's privacy setting "only allow messages by people on my buddy list" not working correctly) is to just remove any information from that stupid ICQ profile. Hopefully I will now no longer turn up in that stupid ICQ search function, and be left alone by people I don't know. ICQ is not a friggin dating site! I mean, I spend much of my time talking to my friends, and of course I enjoy chatting with strangers. But ICQ disrupts me while working, so I really can't stand it being abused this way.

22 March 2006

Clint Adams: amd64 is not being handled transparently enough

I used to be into quotations. There was a guy. He was very Jewish. He had bad skin. He was morally bankrupt. He was ugly. He smelled bad. As you might imagine, there was an entire gaggle of girls trying to get into his pants. They were a bunch of Christian fundamentalists, affectionately called the God Squad by some, malevolently called the God Squad by some. They wrote him the scariest love letters and poetry I have ever seen. Finally, he had to choose one, and I was relieved that he did not choose the one who had adapted Culture Club lyrics to express whatever foul sentiment she was trying to express. Instead, he chose a sweet girl who lived with a crazy, flat-chested, exhibitionist midget hooker who claimed to be allergic to marijuana and aspired to be an architect. Now the evil boy and the sweet girl with a tenuous grip on reality performed the proper rites of the barnyard dance and became officially socially-ensnared. She drafted a timetable by which they would traverse numerous stages of physical intimacy. She showed him this timetable. He deluded himself into thinking that this timetable was much more volatile than it was. Much later on, he dumped her for a girl that was much less Christian. In the meantime, though, their dry-humping was interminable. He very quickly earned himself the nickname "Sticky Shorts", which, come to think of it, was far better than most of his other nicknames. Then once, for a moment when her legs weren't spread, she mentioned to me that she had heard that I was into quotations. I acknowledged this and she became very excited. She was into quotations too. She felt the need to prove this to me. It was rather close to that time when I concluded that quoting was lame and that I would stop living vicariously through the words of others and idolizing ink and all that other stuff from that GNR song.

Steve Kemp: Caesar had an eye for clothes

Is it possible to uniquely identify an audio CD-ROM? I’ve “stolen” the disc ID code from the various CDDB clients I’ve seen, but I wonder how unique those values are. I’m looking at setting up a simple CDDB/FreeDB-esque server to store audio information which can be queried in a sane manner. The results will be XML data. Using XML data I can have individual details for each track. Ideal for soundtrack albums. Plus I can require clients to ignore attributes they don’t understand to allow for future growth. I could use the ID + sha1 hashes of the song lengths I guess …. or even a SHA1 hash of the track-data (but I’m worried that read-errors could cause problems with data summing, plus reading each track will be slowish). I see comments like this a lot:
Conceptually very similar to the ISBN number used for books, the ISRC (acronym for International Standard Recording Code) is a 12-character code defined to uniquely identify a music track song). Unfortunately, over the years very few authors have adopted this standard and currently less than one percent audio CDs use the ISRC. The UPC (Universal Product Code) is a 13-digit number that uses the UPC/EAN bar coding standard to uniquely identify the whole CD. The same ISRC considerations apply to the UPC code: very few audio CDs currently use the UPC.
In related news two tickets for Radiohead + Beck are mine :)

21 March 2006

Joey Hess: replacing stuff with busybox

Martin- ric Racine: You asked about embedding Debian with busybox.
Would anybody happen to have more details about exactly which packages Busybox can replace while still providing just enough functionality to boot a Debian-based system up to an X display manager?
This is in general an impossible question to answer since any given Debian package may or may not work with any given utility from busybox. What we do at work to shoehorn a X-capable embedded Debian-based arm system into 32 mb or so of flash, is to install our set of packages, then tweak things until busybox diverts nearly every utility it supports. Then we snapshot the files used for a shutdown, boot, and the specific use of the system we want to support, and copy just those files over to our image, which ranges from 4 to 32 mb. For the busybox related parts of this, we use a program I wrote called busybox-links to set busybox up to divert everything cleanly and (semi-)reversably using dpkg-divert (and in some cases update-alternatives). busybox-links also tweaks a number of init scripts to work with busybox, stuff like editing /etc/init.d/hwclockfirst.sh to run hwclock without the --noadjfile parameter, which busybox lacks, and a dozen or so other such changes. Happily busybox readlink now supports -f, so the main set of things that had to be patches doen't anymore. This set of tweaks likely won't be sufficient for your system, but you can add more in a like vein. busybox-links is contained in our ads-additions package. As for reducing the tweaked Debian system down to just the files needed to run, we use the adsrootbuilder, which is still quite specific to our systems, but which I hope to eventually make less so. Both these packages can be downloaded from our apt repository:
deb-src http://www.applieddata.net/developers/linux/debian ads main contrib non-free
Of course, that's just one of many ways to do it. Part of the problem of embedding Debian right now is that there are as many ways to do it as there are people doing it, and no agreement on the right way, and so little progress in some areas. In the future, I for one would like to see a broad agreement in Debian that making init scripts and the like compatable with busybox is worth doing if it doesn't make them significantly slower or uglier. Then I could send all these tweaks in as patches, which would be a better use of my time than maintaining them going forward, and would make Debian an overall more flexible and more useful system for embedding. (PS, RE what debootstrap installs; it's based on whatever is > standard priority. If you have improvements, might I suggest talking to its maintainer, not blogging?)

Axel Beckert: RIP CitroNews

CitroNews has closed its doors since there were no news for over two years. I liked the idea but it seemed to have neither that much readers nor many submitters. And since I’m not really that active in the Citro n or 2CV scene anymore, I seldom had something to send in. Update, 20:37h: And no, this does not mean that I’ve sold or will sell any of my 2CVs. I just was on no 2CV meeting for IIRC nearly a year now. Too many Open Source events out there… ;-)

Gunnar Wolf: The other side of the world

Martin: Strange... Here setting up a company is so much of a hassle that most people only register as Persona f sica con actividad empresarial instead - Physical person with enterprise activity. That means, you can print your invoices with "Madduck Consulting Inc." if you so wish, as long as under that, in tiny letters, you print your real name and fiscal data.

20 March 2006

Jonathan McDowell: Nominet EGM

I was in Oxford on Thursday for the Nominet EGM. There were a variety of changes that they wanted to make and while in general the principle behind them seemed good the detail was a bit worrying, and I believe had been badly communicated. However I was still surprised to find that the vote was defeated; I'd expected a narrow victory. There are some more details on The Register, who were the only people to send someone I believe. What's scary is the percentage of members who didn't vote. Nominet has just under 3000 members. I wouldn't have said more than 60 people turned up to the EGM, and some of them were Nominet staff or multiple people from the same member organisation. Only 10% of members actually bothered to vote. That's quite a pathetic number. Even if you don't take on the view point that Nominet are a member run organisation (and I do and I think they work very well in general and try to do the right thing and promote good practises), this was a vote that would have given the board the right to modify pricing as they wished. Surely that's something you're interested in even if all you do is treat Nominet as a normal supplier? There's more to the changes than that obviously, but I would have thought price changes were something that might at least make beancounters sit up and take notice. Do you work for an organisation who's a Nominet member? Were you aware there was an EGM taking place? Did your organisation vote? Are you aware there's a PAB election starting from this Friday? Are you planning to vote? Have you ever been to an AGM? If not, why not? What about the members lunches? It's somewhat disappointing to see such a low level of member involvement. Nominet do seem to try to talk to people and get their opinions, but you have to actually turn up for that to happen...

Jacobo Tarrío Barreiro: The curse of Galician-Portuguese words

Many Linux distributions suffer the curse of the Galician-Portuguese words. This means that many of such distributions have names which look or sound like (or are) Galician and/or Portuguese words. For example, “Ubuntu” sounds, in Portuguese, like “O Ponto”, which means “The Point”. “Debian” means, in Galician, “They Should” or “They Owed”. “Centos” means “Hundreds” (and reminds Galician speakers of “Centolos”, “Spider Crabs”). “Fedora” looks like “Fedor”, which means “Stench”. “Nexenta” looks like the Galician word “Noxenta”, which means “Disgusting”. AFAIK, “Red Hat”, “Slackware”, “Caldera OpenLinux”, “SuSE”, “Mandrake” (sorry, “Mandriva”) and “Yggdrasil” mean nothing in Galician or Portuguese, but I’m sure that, given enough beer, somebody will be able to think of something. (As a speaker of Galician, I can offer my services as a naming consultant. My fees may look expensive, but think of the advantages of not having millions of Brazilians laugh at your distribution’s name!)

19 March 2006

Raphaël Hertzog: Revisiting the DPL team concept

I have not been very much involved in this year DPL campaigning, but I’m part of two DPL teams, thus I feel the need to give my point of view on the subject. I’m not really satisfied by how the current DPL team worked out, and being on the DPL candidate team of both Jeroen and Andreas gave me the opportunity to gather information on what really happened. Also I’ve met Bdale yesterday and he gave me his opinion as well (and I really enjoyed that dinner. Thanks bdale!). Just for the record, I’ll try to sum up what really happened: Branden had agreed to be a participant of the DPL team concept, but wasn’t a major proponent of the idea. This, combined with his personal problems, explains why he didn’t make use of the full potential of a DPL team. Does it invalidate the DPL team concept? No, I don’t think so because the concept will evolve this year. Let’s see how it can change. Both DPL teams would this year receive all the mails sent to leader@debian.org. This means that the members are involved from the beginning and not only on request of the leader, which means that they can pro-actively take over if they see that the DPL doesn’t manage to follow up up to its expectations (which hopefully won’t be needed this year). Furthermore I expect that the team would be informed of what the DPL does, so that the team can give its opinion on everything done, and prevent big errors (nobody is perfect, errors do happen). But the most important thing is that the team should not stand behind the DPL, but next to him taking initiatives, and I expect the DPL to work with the team members for the best of Debian. As such I expect the DPL to accept most of the proposals of his team if there’s a consensus on it, even if he doesn’t personnaly think that’s it’s a priority for his DPL mandate. If I am part of an elected DPL team, I will work on that basis. I do have many ideas to try, and will make proposals. I ran once for the DPL election, and if you check my platform, you can see that I always had ideas for Debian and you can see that I worked on several of them which are nowadays very common (such as the PTS, alioth, collaborative maintenance). I won’t miss an opportunity to get the project moving forward.

Wouter Verhelst: Kerberos

I had nothing important to do this weekend, so I played a bit with kerberos. Pretty fun, that, and the Debian packages make it all so easy. First, when setting up Kerberos, you should note that there are two competing implementations: one is heimdal, the other is the MIT reference implementation. The former has some additional features (like storing principals in LDAP rather than plain files), but I found that krb5 was useful enough to me, so I didn't investigate further. Also, storing principals in LDAP isn't as useful as it sounds—kerberos is designed to make password replication unnecessary, so you want to store it on a machine with little or (preferably) no other jobs to do. You certainly do not want to store it in a server which will put it out to the world for all to see. Anyway. It's pretty well documented in info krb5-install (in the krb5-doc package); and the Debian packages let you do most of the setup through maintainer scripts and debconf questions, except for creating a new realm, which you do through a provided script. ... and this means that setting up kerberos on Debian is peanuts. Really. You need (at least) one KDC, which you do by installing the krb5-kdc package. For exactly one KDC (which will be your master KDC) you also need the admin daemon; you can get that one by installing krb5-admin-server. Then on the hosts in your network, you want to install krb5-utils, and libpam-krb5.so for authentication. After configuring them (as explained in the krb5-install document), you have a live kerberos system. It takes you about five minutes to do the initial setup (once you understand how the system works), and about 10 seconds to add a host to the system. Of course, doing kerberos setup is useless if all you want is to be able to log on to one system. But if you have more systems, you might want to use, e.g., the Kerberos support that is in OpenSSH, which you can do by adding the following two lines to both /etc/ssh/sshd_config and /etc/ssh/ssh_config (though obviously not on the same hosts:
KerberosAuthentication yes
GSSAPIAuthentication yes
... and with that, you'll have a kerberized setup. Fun.

Christian Perrier: i18n in Ubuntu and Debian

I would really wish that I could travel around the world and do evangelization about i18n just like Jordi, Daffyd and Michael have been able to do. Of course, this is a known difference between a development model where people are paid to work on development and a completely volunteer development model. However, I really hope that all the good things that will be done to better support Asian languages in Ubuntu will end up in Debian really soon. After all, much of the initial work has been done in Debian itself by the wonderful Japanese/Chinese/Korean developers, or by the "debian-in" project lead by Jaldhar H. Vyas for Indic languages support. Don't take me wrong: I don't have any griefs towards Ubuntu when it comes at i18n. This is an area where the collaboration is already quite good and I hope it will become better if we manage to converge towards common tools (just free up the bloody Rosetta, Mark!). This is one of the goals I personnally set for the i18n session in Extremadura. Our goals here are common: we want more and more pleaces in the world to be able to use the Best Operating System ever and we will paint it red. (another way to say this: "we want the world and we want it NOW") For this, we just have to cooperate.

Daniel Burrows: Memcheck good; Fry's not so good

So, after finding a CD that had memcheck on it, I ran a memory test on the new system I had assembled but couldn't get working. Unsurprisingly, it produced a bunch of errors, especially in test 8. I tested the memory modules one at a time, and confirmed that one of them reliably failed test 8 with, while the other survived multiple passes of memcheck's whole arsenal of tests without skipping a beat.

OK, no biggie; I got a bad RAM chip, I'll return it. So we take it back to Fry's, I explain that I ran a memory checker on one of the chips and it came up bad (I even helpfully gave them a note indicating which of the two seemed to be the problem), and asked to exchange it for a new chip. The customer service guy vanishes, then comes back a while later with a different chip in a box. As we're preparing to leave, Kate notices that the "new" box is opened. "Why's that?" she asks. "Oh, testing," the customer service guy says.

Testing. That's good, right? So we shop a little, take the chips back, and I plug them in. I figure, hey, never hurts to be too careful, and boot up memcheck. BAM! Within half a second the screen turns red with errors. In comparison, with the first set of chips I had to run the tester for up to fifteen minutes before I got a test failure. Trying the chips individually, I discover that 300MB on one is just (as far as I could tell) gone. It fails every single test. The other one survives the first few checks, but fails test 8 just like the other bad chip I had. [UPDATE: it's actually not that bad; it does seem to have problems, but it doesn't fail on every single run of test 8, and it was able to run the Kororaa live CD]

Now, as I see it, we have the following possibilities:

(a) My luck sucks and I just got three bad chips in a row.

Possible, but I've bought at least a half dozen memory chips in the past (not counting ones that came in preassembled systems) and I'm pretty sure this is the first, maybe second time I've seen a bad one. Three in a row? That's ridiculous.

(b) I screwed up and blew out the chips while installing them.

Unlikely for the same reason as (a). I may be shaky on some hardware stuff, but I know how to install DIMM chips. Killing one might be in the realm of possibility; killing three out of four? Don't think so.

(c) The chips aren't compatible with my motherboard.

The chips are listed as being DDR400, which ought to be perfectly compatible with the motherboard. They are installed in the proper configuration (according to the motherboard's manual); besides, one memory chip worked just fine.


Assume that (b) and (c) are indeed false: the chips are really bad and I didn't destroy them. This, combined with the fact that Fry's "testing" didn't catch the blatantly obvious problems with one of the new chips, make me wonder if

(d) Fry's decided to save costs by handing me a pair (maybe even two pairs) of chips that another customer had returned, on the theory that returns are on average spurious.

The main problem with this theory is that I don't see why they wouldn't have resealed the package; maybe they just suck at testing memory or didn't bother to. On the other hand, I have seen a number of complaints online about Fry's and other big retailers engaging in this practice. (e.g., Google for "Fry's restock")

Either way, whether it's deceptive practices or just plain incompetence, I'm afraid this hasn't left a particularly good taste in my mouth about Fry's, and I'll probably just try to get a refund and buy the memory elsewhere. The only downside is that "elsewhere" more or less means "online", which means no instant gratification. However, since "instant gratification" in this case has been more like "instant non-gratification", I'm willing to live with that.

Christine Spang: A clarification:

From random IRC stuff: “Class of 2010″ means that one would normally graduate in 2010. I.e., since it’s at least assumed that a normal university bachelor’s will take 4 year to complete, the Class of 2010 would be the class entering in fall 2006. It seems some people were confused.

Next.

Previous.