Search Results: "ag"

25 September 2006

Simon Richter: I'm #1, again

Recently, planet appears to bump edited posts to the front. Which is bad since I tend to blog from the train categorise (and reflow) later when I get home. Some posts (the "wacky ideas" ones for example) even got out of order. Since my perl foo does not exist at all (I suck at languages with weak type systems) I cannot even look into what happened. I'd be grateful for hints.

Simon Richter: Bad idea

Note to self: 11:30 PM is not a good time to go home if you need to pass the Oktoberfest on the way. (Obviously, the "after" image was not suitable for this medium.)

Aurelien Jarno: Cheap ARM development machine

You want a cheap ARM development machine to test your packages? You can actually have one for free (both as in beer and as in speach :) ) provided that you have a not to slow i386, AMD64 or PowerPC computer. The solution is called QEMU, a generic and open source processor emulator which can emulate i386, x86_64, ARM, MIPS, PowerPC and Sparc systems. Running an Athlon 64 3800+ the emulated system is around 20% faster than the popular NSLU2 and possibly with much more RAM (my emulated system has 256 MB of RAM). I have written a small howto explaining how to install Debian Etch on such an emulated ARM machine. Note: I have written this howto very quickly, so there are probably some mistakes. Comments are welcome.

Benjamin Mako Hill: Wizards of OS Wrap-up

My joint workshop with Lawrence Lessig at Wizards of OS went, in my opinion, extremely well. The worst hitch was an unfortunate series of events that conspired to keep Vera Franz from attending and moderating the session as planned. Paul Keller, who was supposed to participate in the panel, graciously (and capably) moderated in her place. The panel allowed Lessig and I to talk openly and publicly about about our disagreements for the first time while also highlighting the many places where we speak with one voice. The conversation managed to be both positive and productive without papering over issues. I usually like to post talk notes and slides after each speaking engagement. However, our WOS meeting was a "workshop" so I have nothing prepared to present here. I have, however, seen two write-ups in the press: If someone has a recording, tell me how I might get a copy. One small note: I am quoted in IP watch as saying that most CC works are under the most restrictive licenses and that there has been no shift toward less restrictive licenses with time. Mia Garlick has pointed out that the latest license usage statistics, based on admittedly imprecise linkback data, show a several percentage point decrease in the usage of licenses that block commercial use and derivatives -- when expressed as a fraction of the total number of works under CC licenses. The restrictive licenses are still the most popular but it was incorrect to say that there is no evidence of any progress whatsoever toward more free licenses. Tomorrow, I will post a summary and response to one of the points that Lessig and I talked most about.

Holger Levsen: AAAAAAAAA!

AAAAAAAAA (which BTW I also think about the situation in Debian atm), my blog or rather it's RSS feed is broken. Please read the last post on my webpage. Oh, how I wish to have more time. Could anyone please propose a GR for the 48h day? ;-)

Adam Rosi-Kessel: Philadelphia Orchestra

The Philadelphia Orchestra just announced the launch of an online store, where they are selling tracks directly from their own website. Following in the tentative steps of MySpace, eMusic, and Yahoo!, the Orchestra is selling unencumbered (i.e., DRM-free) MP3’s. Even better, for a slightly higher price, you can download content in the higher quality (lossless) FLAC format. Performances currently seemed to be priced at approximately $5 for the MP3 version and $6 for the FLAC version. This seems just about right to me. As an added bonus, they’re offering Beethoven’s Fifth in C minor for free. I’d love to see more of the industry move in this direction, particularly for longer-tail type cultural content like classical and world music. These recent developments are certainly a good start. It will be interesting to see if the iTunes Store eventually is forced to respond to these pressures.

Holger Levsen: rather say no without reasons than say nothing

Unfortunatly currently I don't have as much time as I want to, to share my thoughts about the dunc tank idea. So all I want to say here, is that I think that dunc tank in its current form does more harm to the release of etch than good. The same is also (and maybe even more) true for the long term effects of it, though of course this depends on how dunc tank will evolve.

Six more paragraphs deleted as I was not happy about them. (And I also have a mail sitting in my draft folder since thursday.) But as said, I'm short on time atm, RL takes it toll. Unfortunatly.

I just wish the dunc project would not have been announced like it was announced last monday. (But I have not yet seen a good proposol how "to turn back time".) At the moment we only lost seven days in the flames. So we only have 70 days for a timely release. Which I think is an important target, but not as important as keeping the technical and "moral" standards Debian is known for. (And harming *those* would really hurt debian.) I'm sure sure if we would release etch on february 4th 2007, most people would still be very impressed (20 month!) and say "Well, not completly on time. But this is debian, it's released when it's ready, and

Wouter Verhelst: Command frequency

nice one-liner to find out what the highest number of commands is that you use. For me, the output is:
wouter@country:~$ history awk ' print $2 ' awk 'BEGIN  FS=" "   print $1 ' sort uniq -c sort -rn head 10
     98 ls
     71 cd
     25 mutt
     24 sudo
     18 ssh
     18 killall
     17 xine
     17 apt-cache
     11 less
     10 man
Having ls be number one isn't something that surprises me, at all. I have this silly habit of typing "ls" in my terminal window when I forget what I was about to do. Obviously that doesn't help me remember, and sometimes I do it two or three times in the same terminal window without anything in between—as if anything would've changed... However, having killall in the top ten is something that does surprise me. It appears I tend to get pretty impatient when things don't do what I expect them to... Then again, the output of 'history' doesn't seem to be very complete, having only 500 entries...

Martin-Éric Racine: CUPS-PDF finally works on Ubuntu

For a long time, one of my Debian packages, cups-pdf, could not work on Ubuntu, because Ubuntu runs its CUPS daemon using a low-privilege user. I'm happy to report that this issue is finally resolved: following the release of CUPS 1.2, a simple solution was discovered by Andre Klitzing. However, I only noticed this recently, after registering myself on Launchpad to respond to Ubuntu bugs affecting my Debian packages. Sigh! Perhaps notifying me earlier, via the Debian BTS, would have been a good idea? Anyhow, after checking that the solution wouldn't break anything on the Debian side, I committed the fix to cups-pdf 2.4.1-2. Enjoy!

Evan Prodromou: 2 Vend miaire CCXV

Happy new year, everyone! I was away over the weekend, working hard on Ignition 2006, and I missed the big day here in front of the computer. Instead I was out under the stars with Montreal Burners, having Burning Man fun out in the wt:Eastern Townships. I'm not sure if it happened this year, but I think next year it would be great to have a Debian:BSP in wt:Black Rock City. OK, sure, it'd be super-nerdy, and the connectivity is pretty spotty, but there are some long, hot afternoons out there and I know that there are at least two DDs that are on the Playa pretty regularly (me and Don Armstrong). I wonder if there are more? I wonder if we had a BSP, if lots more would show up? tags:

Usability So, my current computer usability problem has to do with the rockin' secure shell program OpenSSH. Here's what happens: I'm on a box and I have a new login goin' on. And I have to ssh to another box, and I get the message:
Enter passphrase for /home/evan/.ssh/id_rsa: 
This happens because I haven't run ssh-add when I logged in, to store the passphrase for the key with the current ssh-agent. So now I have two options:
  1. enter my password and then possibly forget to run ssh-add before running ssh again
  2. kill the current ssh instance, run ssh-add, then run ssh again
Both options suck. What would be nice is if I could enter my passphrase, and have that count as if I had run ssh-add. Like, after I enter it, the ssh client could say:
Add this key to your current ssh-agent session [Y/n]?
...and then ssh would add the key, like ssh-add does, and continue with the login. Wouldn't that be great? I think this is the biggest usability problem I run up against in my daily work life. Which, y'know, is pretty good. [You might want to look into libpam-ssh] [See also http://advogato.org/person/mbrubeck/diary.html?start=90 ] tags:

Wikimania 2007 in Taipei I have to say that I'm a little wistful that wt:Alexandria wasn't chosen for Wikimania 2007. We had a really good bid to hold the event in Alexandria at the Bibliotheca Alexandrina, the "new" Library of Alexandria. I was getting pretty excited about going to the Mediterranean next year. But I think that Taipei is going to be a fantastic place to hold Wikimania, too. Holding the event in wt:East Asia will make it much easier for people there , in wt:Southeast Asia, and in wt:Australia or wt:New Zealand to come to the event. A Wikimania in East Asia will focus attention on the non-English-language and non-European efforts of the Wikimedia Foundation. Taiwan also has a really strong local Wikimedian group, with Wikimedia Taiwan soon on its way. Finally, a Wikimania in wt:Taiwan will re-emphasize the wp:Blocking of Wikipedia in mainland China. Jimmy Wales has said on the record that Wikimedia will not censor its Chinese-language projects to comply with the PRC's firewall (the so-called wp:Great Firewall of China), and I'm sure an official event in the ROC will further highlight that point. Personally, I'm looking forward to a trip to Taipei, which will be a good excuse for some more exploration of Taiwan. And I want to congratulate the Taipei bid team. I was impressed by the amount of work that went into the Alexandria bid, and I'm sure they did a lot of work for Taipei, too. I know the Alexandria crew is optimistic for next year: starting the steps for making a Wikimedia local chapter in Egypt, and continuing to develop relationships with the local technology companies as sponsors. Should be interesting... it might be worth a trip after all! tags:

Philipp Kern: Trac spam

Are you fighting Trac spam? We are, and receive massive amounts of it. We made most of the Wiki pages read-only and denied ticket state changes to anonymous users. But obviously this wasn't enough. It seems that Trac only deactivates the corresponding form on the ticket page. Of course we also deployed a little word list, but it needed to be hacked directly into the source code, so it's not something to provide as a patch. I wrote a little tool in Ruby which deals with ticket spam. It's the result of only two hours of work, thus there is some potential for extensions. It is supposed to work directly on the sqlite3 database, so it needs to run on the web server. So to despam our site we use this little wrapper (of course, that would need some adaption for others):
#!/bin/sh
ssh -t obby@darcs.0x539.de "\$HOME/despam.rb" $*
Currently it provides the following functions:
comment-spam -- Removes comment spam on a ticket.
Parameter: ticket id
state-change -- Removes spammed ticket state changes.
Parameter: ticket id
ticket-delete -- Removes a ticket with all correspondinginformation.
Parameter: ticket id
The interface is a bit darcs-alike, but sometimes you might get back to the beginning of the dialogue on invalid keystrokes and when you request help (i.e. a list of options). It works for me, and maybe it's helpful for others.

Erich Schubert: SELinux support in Debian

... actually isn't that bad. Apparently we are the only distribution shipping a modular policy and doing some smart policy module autoconfiguration and having an upgrade helper tool. Fedora, having undoubtedly the best SELinux support, only started with Core 5 to actually ship a modular built of the reference policy. Target comes with around 5 policy modules, the other stuff is either in the base module, or more likely, running unconfined. Strict however comes with the extensive set of policy modules in the reference policy. Upon installation of the policy package, all available modules will automatically be installed; judging from the package I downloaded changes in the module selection are not preserved. Gentoo is still shipping the last officially released toolchain, which can't to modular builds and can't compile the current reference policy. So they are also shipping the old policy (as in the selinux-policy-default package, we might actually remove soon). Ubuntu is probably waiting for us to do most of the work. ;-) I havn't heard of any SELinux progress with Ubuntu for half a year. So all in all, SELinux support in Debian is rather good. We just need more people to use it and fine tune it. There are a couple of differences among distributions especially in the init scripts, that require policy changes.

24 September 2006

Brett Parker: In other news...

It's been an odd week at work, and I've started doing rather more Sudoku puzzles than most sane people - I've found that currently the guardian Sudoku puzzle takes me the longest to get through, though I'm slowly getting better at it... I might actually start being able to see the patterns more quickly soon! Anyways - in other news JD resigned on Tuesday, so we've only got him at work for another few weeks before he disappears in to the ether (well, not so much in to the ether, but I won't be working with him anymore, eeeeep - this means more work for me!), which also prompted a pay rise (hooray!). Now just to keep up with the good work! Oh, and on Monday we won the Hop Poles pub quiz! Yay! Where in this case "we" is me, a guy that I'd met in the pub a couple of Mondays before and some of his friends. Was much fun! Tomorrow being Monday again I'll be back in the pub for the quiz and see who turns up this time :)

Brett Parker: Django Packaging

Well, I've been added to the python-modules project on alioth and am looking at getting the django development in there over the next week, just need to get my head round how this works first and checkout Raphael Hertzog's repackaging of the 0.95 debs that I did in to the new python policy style. Will also need to work out what to do about different python versions, django-admin.py would need to call the right python depending on some setting - not sure how to do that yet - with the previous format there where just 2 different python-django packages for the 2 different versions of python, and then an alternative to point to the "right" django-admin.py within site-packages of the correct python directory - with the central install this is going to be more interesting. Any thoughts on this gratefully recieved to my email address (linked from the bottom of my website.

Brett Parker: Eclim...

I've been looking at getting eclim working on my laptop... haven't yet worked it out, can't get the eclimd to run as expected - it's looking very much like I might need to actually do a central install which means creating a package (stuff does not get installed on this machine in central locations unless it's packaged, hopefully for obvious reasons) so I may take some time out to package it over the next week or so. As far as Java IDEs go, eclipse is where it's at, but I don't like the UI and so, being able to use the useful bits of eclim from a text editor that I use for everything seems to me like a fantastic idea... especially now that I'm editing more Java than previously - my current dev environment it purely vim with a reasonable vimrc that sets expandtab, sw=4, ts=4 to fit with the company policy on java development - would occasionaly be useful to use eclipse to manage various things for me though - so that's why I'm looking at it (thanks for pointing me at it Joe!).

Benjamin Mako Hill: PyBlosxom and Comment Spam

Over the past few months, I've dealt with something of a blog spam nightmare on Copyrighteous: my blog running the PyBlosxom weblog software. Wiser and less stubborn individuals might given up on either PyBlosxom or the ability to receive public comments. However, I find PyBlosxom unique in its flexibility and great ReStructured Text support and am always frustrated with others' blogs that don't accept comments. At the end of the day, I couldn't bring myself to part with either. Historically, my blogspam protection has been to use a simple weak CAPTCHA and to have my blog software email me each time a comment is successfully submitted so that I can (with a built-in macro in mutt) delete each spam comment that slips in. This has worked well for the last couple years. This summer, Mika pointed out that my blog was full of Chinese link spam that I had not noticed or been notified about. Around the same time, I realized that my website had been dealt a massive spam penalty by Google and was basically not showing up in any search results. I have spent a significant amount of time over the last month repairing the damage and working to prevent it from reoccuring. I'm documenting this process here in the hopes that it might save other time and energy. Upon reflection, the situation could have been prevented the in three relatively easy ways -- all of which I have now implemented.
  • Had the PyBlosxom comment.py plugin's mail function been working properly, I would have known that I was being spammed.
  • Had PyBlosxom been configured to only make blog entries (and not comments) indexable by search engines, Google and others never would have seen the link spam.
  • Had I installed a stronger CAPTCHA, I might have blocked the spam from being submitted in the first place (although at the expense of the participation in comments by visually impaired users).
A month or so, hours of work, and a Google reinclusion request later, my website is beginning to show up in search entries again. Hopefully this message will help save others from a similar fate. Fixing PyBlosxom's Comment Notification The most critical problem was a bug in PyBlosxom's contributed comment.py plugin and its comment notification system. In short, the email based comment notification system failed silently if the body of the email -- which included the full text of the comment -- included any non-ASCII UTF-8 encoded text. I've filed a bug against PyBlosxom and included a patch that fixes this issue. However, since this is a rather critical problem and because PyBlosxom releases tend to be few and far between, it might be worth patching your system now. My patch is against version 1.3 but can easily be modified and applied to version 1.2. Hiding Comments from Search Engines The major reason that the successful spam became a problem was that it triggered Google's abuse detector, resulted in a spam penalty, and made all of the (non-spam) material on my website more difficult for others to find. A simple way to prevent this is to hide all comments from the search engines. I've done this by creating a new PyBlosxom flavor that shows comments (and allows them to be input) which is not indexed by search Engines and to remove comments altogether from the default indexable flavors. To do this, I removed all of the comment-* templates from html flavor and created a new flavor called comment.flav that included the comment templates. I also had to make the comment submit action point to the new flavor and to change the "Comments: N" link to point instead to .comment flavor rather than the .html. The rest of the template is simply symbolic links to the the HTML template. The next step is to ensure that the comment flavor is not indexed by search engines. I found two ways of doing this and did both. The first was to add a "no index" meta tag to the header of each .comment page. It looked like this:
<meta name="robots" content="noindex, nofollow">
This is necessary because the robots.txt standard, the normal way to tell search engines not to index a page, does not support wildcards. Luckily, Google (and others I imagine) do support an extension to Robots.txt that allows you to use wildcards. To take advantage of this, I created a robots.txt for mako.cc that blocks indexing all of the comment flavor. The following robot.txt did the trick for me:
User-agent: Googlebot
Disallow: /copyrighteous/*.comment$
An Improved CAPTCHA Ultimately, the best solution would be to keep the spam from showing up on the blog at all. The only decent PyBlosxom CAPTCHA is the "nospam" plugin by Steven Armstrong. It is a simple image-based CAPTCHA and I was running it when I was spammed. It uses PIL but generates purely number-based strings and does some minimum obfuscation. Basically, spambots were able to break the CAPTCHA and toward the end, I was receiving thousands of pieces of a blog spam a day. I've incorporated the PIL image generation code from Mediawiki's ConfirmEdit/FancyCaptcha extension into nospam.py with this patch which I have also sent to Steven Armstrong -- nospam.py's original author. It's much stronger. Apologies, of course, go to all of my vision impaired users. Image-based CAPTCHAs really are evil. In this situation though with many thousands of attempts of a day, the alternative is that I will turn off comments altogether -- the standard (and poor) lesser of two evils argument. Ultimately, I will write a python implementation of a new strong text-based CAPTCHA I've invented that uses commonsense knowledge and pulls off some cool data acquisition in the process. I presented this project at the Wikimania Hacking Days and at a Media Lab open house for AAAI 2006 where I got universally positive and useful feedback. CAPTCHA inventor and recent genius-grantee Luis von Ahn seemed to like the idea too. I'll write more about this on another day though.

Andree Leidenfrost: Pre-Release mindi and mondo Packages Available

I have some hopes that mindi 1.20 and mondo 2.20 will be released sufficiently early for the freeze (i.e. soon ;-) ). To help ensuring that things are indeed in good shape at release time, I thought, I make some pre-release packages available.

Please test and send feedback - good or bad!

I've done some testing myself on amd64/DVD and i386/NFS with good results apart from the missing fixes for #320152 and #379966 - they will be in upstream or the final package versions though.

Martin-&#201;ric Racine: meme: top ten UNIX shell commands

My results for this meme: history awk ' print $2 ' awk 'BEGIN FS=" " print $1 ' sort uniq -c sort -nr head -10
     73 sudo
     67 update-web
     53 ssh
     51 nano
     44 ls
     25 dir
     21 upgrade-daily.sh
     17 cd
     13 requestsync
     13 more
Among the more unusual sightings, update-web is a Bourne shell script to update my APT repository and synchronize my homepage, and upgrade-daily.sh is another one to upgrade my whole cluster in a semi-automated way. Meanwhile, requestsync is a really neat Python script by Martin Pitt to request the synchronisation of Debian packages into Ubuntu, automatically fetching Debian changelogs and other relevant information to justify the request.

Andree Leidenfrost: Yeah - OpenOffice packages for amd64!

Just noticed the new native 2.04~rc2 OpenOffice packages for amd64 in unstable. My first impression is: Wow, I've never seen writer starting up so fast! (Way under a second.)

Congratulations to the Debian OpenOffice.org Team!

Junichi Uekawa: Updated linux-uvc.

I've synced with upstream svn repos, and applied new patch incorporating iMac support.I fixed a problem which it didn't correctly detect iSight, and now it's working again.I'm waiting for success/failure reports from iMac users.

Next.

Previous.