Search Results: "mak"

27 March 2006

Erich Schubert: Google blogsearch drowning in spam

Google blogsearch would be nice (allowing you to sort results by date), if it weren't full of spam. It seems that spammers copy random content fragments from other webpages and put them into "blogs" to increase their pagerank. This makes you wonder if pagerank issn't something really really evil... Basically, by using pagerank, google makes spammers do ugly stuff like this linkfarming, guestbookspam and blogspam we've all come to hate the last few years. And rel="nofollow" doesn't really help much either. Spammers are too lazy to test for that attribute, they just spam. It would maybe be different if all links were "nofollow" by default, and web page authors actually needed to mark links as "good".

Simon Richter: Trading off

Today I hacked a few classes that are probably one day supposed to be used by other people. Hence, I'd like them to be mostly foolproof, however there are a few places where I had to make tradeoffs. Two things got stuck in my mind today: using the type system to ensure proper initialisation (basically I return a base class for the "closed" case, and the open method returns a pointer to the same object, but as the "open" subclass). Obviously, the single virtual method call is not that much of an overhead, but it still breaks a few compiler optimisations, and, even worse, has some nasty implications concerning ownership.

Christine Spang: The Art of Maple Syrup

DIY Canadian farm-style, or “what I did this weekend.” First, you pack about ten people into the back of a pickup truck… Ten people in a pickup truck …and walk through the fields… Walking through the fields …to empty the buckets on the trees, spiles having been drilled previously. Emptying the buckets Back home, you cook in the ancient, homemade sap cooker (which was once an oil drum, long ago). The Sap Cooker Sometimes, you need to feed the fire. Make sure to keep adding sap when the level gets low, or when the pans threaten to boil over (overzealous fire feeders!). Feeding the fire If you’re bored, you could always go exploring and fall through the ice on the half-frozen flooded field. Where we fell through the ice Late afternoon is the best time to take advantage of the fact that boiling liquid kills bacteria, by sampling straight from the pans–with the same spoon. By now the sap’s thick enough to actually taste good. Sampling the sap The day’s cooking is done when the sap’s about 60% sugar. (Damn, I don’t have a picture of the sugar-measuring gizmo.) The sap pans are unloaded… Unloading the sap …into pots, to be brought inside and finished on the stove to 66% sugar. A more controlled environment, to prevent accidental burning/overcooking/sludgification. Which would be a Bad Thing. Emptying the sap into pots A fun weekend. It’s something I do just about every year (the farm belongs to my grandparents), but this year I managed to drag a couple friends along to slave have fun.

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.

Florian Ragwitz: Wireless fun

Have you ever been bitten by a problem that resets all wifi settings like mode, essid and whatnot just some seconds after you set them? A certain mister Dreker suggest to simply shut down wpa_supplicant on that machine if it is running, as it always resets such settings to be able to receive all packets from all access points. So, after doing so I now know why my wifi access point, which is just a normal Debian box, wasn't working for the last couple of months. For some reason wpa_supplicant was installed and running.. I just can't remember to have installed it as it hardly makes sense to me. Anyway, after I could set the wifi settings again I thought it wouldn't be much of a problem to get hostapd with WPA-EAP working again. Wrong! wpa_supplicant on the client side somehow thought it was authenticated, but it actually wasn't. So I checked the debug output of hostapd which said something like that:
  ioctl[IEEE80211_IOCTL_SETMLME]: Argument list too long
and after that line it said the it deauthenticated the client because of a local request, so I thought that's the problem. It pretty much looks like a binary incompatibility to me. I updated the madwifi drivers before in an attempt to to fix the essid reset problem, so hostapd, which needs to be compiled against the madwifi headers didn't work properly anymore. So I tried to recompile it and things got even worse:
  ioctl[unknown???]: Operation not supported
I had no idea what to do about that, so I joined #madwifi on freenode. I have been told that I'll need at least hostapd 0.4.whatnot to make it run with madwifi-ng. Unstable has 0.5.0, so I downloaded that package, which contains madwifi-ng includes do build against, and compiled it on my sarge box. Almost exactly in the moment I was done I found out that I would need hostapd 0.5.2 to make it work with madwifi-ng and WPA2. Grr... So I compiled it again, installed it and everything should have run fine. For some reason it didn't. After a while starting and stopping it to take a look at the debug output it somehow started to work and it keeps working up to now. I have actually no idea what could have caused that problem. Stijn Tintel on #madwifi could think of re-keying at the wrong moment or something like that, but isn't quite sure about that. Anyway, wifi is up and working again and that makes me happy. :-)

Jurij Smakov: Pine users anonymous

My name is Jurij and I’m a Pine user. I’ve been using it forever and got remarkably used to it. If previously there was no good reason to switch to anything else, lately two things where bugging me a bit: lack of PGP/MIME support, and lack of Mail-Followup-To handling. If the latter problem is not such a big deal, the former was seriously annoying me sometimes, because even if you save the PGP/MIME message in a file, checking the signature is sowewhat non-trivial. So, on Saturday I’ve decided that time has come to switch to mutt. Again. And failed. Again. It’s just so different that using it is painful, in spite of all the flexibility and configurability. So instead I’ve spent the better part of Sunday writing a PGP/MIME signature checker, which can be used from within Pine. The resulting script pgpmime.py just reads a PGP/MIME message from standard input and checks the signature (more features are planned in the future). From Pine one can just pipe the raw PGP/MIME signed message to it using the (pipe) command.

26 March 2006

Andrew Pollock: [tech] Giving up on ICQ

I'm joining the crowd who is giving up on ICQ. I'm receiving too much spam and too many strange authorization requests. I will continue to be available via Google Talk, MSN and Yahoo (thanks to GAIM for making it easy).

Jos Parrella: FLISOL Caracas: Ending

The Latin American Infest finally ended yesterday. In Caracas, it was a week of hard work with people of the Science and Technology Department and the IT Office (government offices) but the event in Caracas ended succesfully. It was a world-class event featuring renowned keynote speakers who spoke about Web Development using Frameworks (featuring TurboGears, Rails and Catalyst) and software development paradigms migration from privative platforms to GNU/Linux (Gambas and Mono). Other talks included basic security in Debian GNU/Linux and a speak about electronic signature security by an officer of the Venezuelan Government CA. We had a speak about Clusters, hosted by a female member of the Venezuelan Free Software Community and Debian User, and a speak about Free Software in the Venezuelan Education, by a 16-year-old Venezuelan GNU/Linux user and a willing Debian Maintainer. Of course, the Installation Festival took place in the Knowledge Square, in the Auditorium Building Lobby, with the extraordinary support of the Venezuelan Free Software Users Community. Debian GNU/Linux Sarge netinst and CD1 was distributed (several hundreds) as well as Knoppix and Ubuntu Hoary. Ernesto Hern ndez-Novich (maintainer) and me wore Debian T-Shirts on Saturday, and he made a great speech about the Project, named “Debian is inexorable“. We had demonstrations of Linux on a Mac Mini, using XGl and presenting several applications, as well as Debian running Enlightenment on an old Presario 1246 laptop. I would like to thank all the speakers and the attendees for making of FLISOL Caracas a great event. More information about FLISOL Caracas is in my blog and the homepage (spanish). Pics are here.

Bernhard R. Link: compiler arguments

Please do not hide the arguments given to the compiler from me.

It's hard to realize something is going wrong if you do not see what is happening. If the argument list is too long, do something against that instead of hiding it.

Make sure you follow policy when packaging software

Debian packages should be compiled with -Wall -g, but more and more do not. Please check you do, but check at the correct place. Do not look into the debian/rules file, but in the build log. If the Makefile sets a default with a single equal sign ("="), running 'CFLAGS="-Wall -g -O2" make' will not suffice. Try 'make CFLAGS="-Wall -g -O2"' instead. (Actually, there is no good reason to put them before the command. Always try to put things as arguments first, both with make or with ./configure)

It really makes everyone's live easier if those options are set.

Keep the argument list tidy.

Many argument lists are longer than necessary. If there is some -I/ in the argument list on a Debian system, there is something fishy. (It's not the universial collection of different stuff all going whereever it wants, after all). Common cases are:

- buggy scripts to add -I/usr/include

Better fix those scripts. Also make sure they do not cause other problems, like linking your program against libraries your program does not use directly. (Possibly causing funny segfaults when those libs link against other versions of those libraries)

- -I/usr/X11R6/include

For upstream packages this might perhaps be useful to support older operating systems and people unable to give it to CFLAGS themselves. But for FHS systems, this is not needed at all, as it mandates this handy /usr/include/X11 -> /usr/X11R6/include/X11 symlink. And newer X directly puts the headers in the correct place.

- packages working around upstreams breaking compatibility

Life would be too easy if upstream would not break APIs. But if they make a new incompatible version, and even change the library name for that, would it have been that difficult to also change what programs written/ported for that new incompatible API have to place in their #include line?

- plainly broken upstreams

putting stuff in $ PREFIX /include/subdir/ and #include'ing other files from that subdirectory without the subdir deserves application of some large LART.

- oversight

often it is just not necessary, and everything gets much more readable and easier if left away.

Other things makeing things unreadable are large armounts of -Ds generated by ./configure. AM_CONFIG_HEADER can help here a lot with non-path stuff. Stuff containing paths is suprisingly often not used at all.

John Goerzen: Tuttle, OK city manager offered choice about being an idiot

I just read a story on The Register entitled Oklahoma city threatens to call FBI over "renegade" Linux maker. Quite hilarious. Apparently Jerry Taylor, city manager for Tuttle, Oklahoma, noticed that the city's webpage wasn't working right. He got the default "test page" for the Apache webserver on CentOS. Instead of calling the hosting company, he sent a series of vicious emails to CentOS, even threatening to call the FBI. The CentOS folks really went out of their way to help this guy -- he was not even their customer. And he repaid them by saying they should have helped him sooner. Of course, there was the obligatory comment about being computer literate: "I am computer literate! I have 22 years in computer systems engineering and operation. Now, can you tell me how to remove 'your software' that you acknowledge you provided free of charge? I consider this 'hacking.'" The Register story is hilarious, and the original discussion even more so because it includes a full transcript of the event. Favorite quote (to the city manager):
If you will not let me help you, or at least talk to someone who knows what Linux is, then you will look like an idiot. Your choice.
Should anyone wish to write to the city manager of Tuttle, OK, to complain about his outrageous behavior, his e-mail address is citymgr@cityoftuttle.org. Assuming they have figured out how to properly configure e-mail. He's probably not worth his $63k salary and with a personality like this almost certainly isn't giving his employees the "feeling that we're 'working together'" (see that link). Sigh. Why do people hire a guy like this in the first place?

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.

Eric Dorland: More Secrets of Debian Revealed: -dbg packages

Living with [info]mricon I get exposed to the way the other half lives. One thing I've noticed is that the RPM tools automatically build extra -debuginfo packages that contain the debugging symbols for the binaries in the package, which gdb can use. I thought too myself "That's cool, why doesn't Debian do that?" Of course, after some research it's actually very easy to accomplish the same thing in a DEB. First step is just to add a dbg package to your debian/control file like so:
Package: giblib1-dbg
Architecture: any
Section: libdevel
Priority: extra
Depends: giblib1 (= $ Source-Version )
Description: debugging symbols for giblib1
 giblib is a library of handy stuff. Contains an imlib2 wrapper to avoid the
 context stuff, doubly-linked lists and font styles.
 .
 This package contains the debugging symbols for giblib1.
Then change your call to dh_strip in your debian/rules files so it looks like this:
dh_strip --dbg-package=giblib1-dbg
If you use cdbs then just add the line:
DEB_DH_STRIP_ARGS := --dbg-package=giblib1-dbg
These cause dh_strip to place the debugging symbols under /usr/lib/debug in the named package. Make sure you have debhelper compatibility level set to 5, as the semantics for the --dbg-package switch in 4 and earlier were different and weird. So add a -dbg package to your library or binary today!

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

Anand Kumria: Some random odds and sods as well as some ACID

Horms, why not use gworldclock? Martin, I think you are after tra. Andrew, you do realise that you could do that with yum – which has been in Debian for a while now. You'd have probably heard about it earlier if Mako could be bothered to get Atom 1.0 support working on Planet Debian. Rodney, Nokia phones generally use Netfront as their default. If you want to use Opera you have to specify it. I'd be highly skepticle of KHTML being used anywhere memory footprint mattered. It looks like it might be WebCore (dervied from KHTML) instead. But that is only on very recent phones (first half of 2006). Oh, and that is likely to be Yahoo merchant crawler. Yahoo probably thinks you are a corporate whore or something ;-). Finally is it just me or does it strike anyone else as odd that the Mozilla Corporation, with all of its' money, is not able to get a crack group of hackers together so that Firefox 2.0 can render ACID2? At least two of the competitors can already so, what's the go, Joe? (or in this case Mitchell).

Martin Michlmayr: Oz, Cambridge, Vienna, Madrid

So I watched this Australian movie (Somersault) the other day and the cute accent reminded me again how much I miss the country. It has almost been 2.5 years since I left and I'd really like to visit again. Maybe I should try to make it to LCA next year. In a related note, I'm looking for Rob Weir who has mysteriously disappeared from the Internet. Does anyone know what's up with him? As much as I like Cambridge, staying at the same place for 2.5 years obviously doesn't work. ;) Next week I'll therefor go to Vienna for some "holidays" the first thing I did was to sign myself up for a talk... if anyone wants to hear me babbling about quality in free software on Monday, check out the Debienna site. Right after my return from Vienna I'll go to Spain where I'll spend three months working in the Libre Software Engineering research group around Jesus Barahona (a Debian developer) and Gregorio Robles. I'll actually work on my PhD for a change during that time and do cool quantitative work to support the qualitative studies I've done so far. Obviously, instead of packing, I spent the last few days and weeks hacking on Debian stuff, in particular making sure it works on the MIPS and ARM devices I support and which I cannot take with me to Madrid. So we finally have 2.6 kernels for MIPS in the archive now and debian-installer will move to it tomorrow. I've also compiled the whole archive on MIPS with GCC 4.1 but a more detailed report on that is forthcoming. P.S. In terms of Spanish movies, I can highly recommend The Lovers of the Arctic Circle and Talk to Her.

Kai Hendry: Mass deployment

Ok, I glanced over the earlier DP LTSP post and I thought I should let out this brain fart. LTSP sucks, because: The good thing about LTSP is that it is very easy to get a number of machines booting up Debian, which is impressive. So really mass deployment in my mind needs to be with the debian installer’s preseed technology and apt-get updating itself. Are there any guides how to make a Debian machine auto-update? Like RH’s up2date? Ubuntu’s gnome updating thing is painful. Any other better ideas?

23 March 2006

Sergio Talens-Oliag: Life goes on

The last couple of days have been good days at my new workplace; I've been busy and that makes me feel good, I like to be active and was not doing much before. Why did that happened now and not before? Mainly because I started in a bad moment in time, as the people I had to talk to was really busy and some of them were almost all of the time out of the office, so I was left alone without real tasks to work on. After a couple of weeks I've had a few meetings and now I have a better idea of my responsibilities and what I'm supposed to do; initially I'll be helping with project proposals (writing them myself or reviewing/updating the ones prepared by others), I will coordinate the Institute System Administration Area and will also act as the team leader on some internal and external projects (in fact today I've been assigned a small one). Besides I've joined the FLOSS (Free/Libre Open Source Software) research group, where I'm helping on the writing and reviewing of research project proposals (currently we preparing proposals for the PROFIT Program). If things go well and we get financial support for some of the projects I'll be in charge of some of them. I'm sure I did the right thing leaving the LliureX project, I feel a whole lot better now and it seems that I'll be able to have some real work done. Good.

Antti-Juhani Kaijanaho: Pigeon

As I was waiting for a bus to take me to work after today’s stint at the court house, a pigeon was making its merry way among all the people. In the heat of the moment, I took this picture (okay, well, the picture this image is derived from).

Matthew Palmer: The Little Engine That Might Be Able To Later

By now, you would think that I would have learned that Breakfast + Freshmeat = mess. Today, we have an unimaginatively named program called "font manager". Some day, in the future, we may have a font manager -- but we don't yet. Here's the description, direct from the horse's mouth:
font manager is a font manager for GNOME. It cannot do any font management tasks yet, but is already useful for picking fonts.
It's quite adamant that font manager is a font manager. Yet it can't manage fonts. Interesting. I suppose this is an example of the curious issue of true identity -- are you who you are because of what you are called, or because of what you are? The author(s) of "font manager" obviously believe that your true identity stems from your name, regardless of what you may actually do. I disagree somewhat -- in a lot of ways, I identify more closely with the term "computer geek" than with my name -- I think it's essentially social conditioning and a need to be uniquely identified from all the other computer geeks out there that makes me remember to respond to a call of "oi, Matt!". An interesting book on this subject is Jennifer Government, by Max Barry (ISBN 0349117624), in which people's surnames are determined by who they work for (so take a guess as to who Jennifer works for). There's something very wrong with me when a quick scoff at a freshmeat article turns into pseudophilosophy and a book review...

Anthony Towns: DPL Campaign Redux

Like last year I thought I might blog some random thoughts on the DPL campaign from the last few weeks. Since there’s already the platforms to read, not to mention the debate, and the various mails to the debian-vote mailing list, I’ll add a fold to make it easy to skip. Read the rest ...

Next.

Previous.