Search Results: "ag"

27 May 2007

Michal Čihař: IMAP utils are completely clean of adware

I never knew, that someone would certify few lines of Python code, but Softpedia did so:
   Your product "IMAP utils 0.2" has been tested by the Softpedia labs and
   found to be completely clean of adware/spyware components.
   We are impressed with the quality of your product and encourage you to
   keep this high standards in the future.
   To assure our visitors that "IMAP utils 0.2" is clean, we have granted
   it with the "100% FREE" Softpedia award. Moreover, to let your users
   know about this certification, you may display this award on your
   website, on software boxes or inside your product.
I still wonder why simplest "product" I ever released is getting so much publicity…

Miriam Ruiz: Debian multiple binary packages: example 2

Some days ago I wrote a small example of creating multiple binary packages from a source where the program was built and installed with autotools. Now I’ve remade the example, starting from a system built directly using a make script, and which doesn’t provide an install target. Even more, it is supposed to get the data from a directory relative to the working directory. This is, in fact, a scheme often found when packaging games. The debian/rules script uses quilt to apply the necessary patches, so that absolute directories are used for the data file.

Bastian Venthur: Please help to localize reportbug-ng

I’ve just uploaded a new version of reportbug-ng. The biggest change in this release is the new reportbug-ng.pot file which contains some work for our brave localization teams. I’ve already translated rng into German, so rng is now available in German and English. If you want your mother language to appear in this list, please grab the .pot, translate it and file a l10n+patch bug against reportbug-ng with the translation attached. Thanks!

Jose Carlos Garcia Sogo: Postfix with SASL and TLS support

I have fixed an error and added some comments, as well as changed the title, to my Postfix/SASL/TLS HowTo for Debian Sid, Sarge and Etch document. I wrote it three years ago as a reminder to myself on how this should be configured, after not having found any good howto for Debian, and is one of the things most searched and used of my website. It is currently in 3rd position on a Google search for postfix sasl tls. If you add Debian it jumps to the first position. Believe me, I am proud of it!

Alastair McKinstry: Darkness reduces Crime?

Thanks to Apparent Brightness for this snippet:
In the northern Swedish town of vertorne , a dispute between the local council and its electricity distributor has meant that the town has had no streetlighting for many months now (TV programme in Swedish about the controversy here). Today Swedish television and other media report that since the streetlights were switched off, thefts and burglaries have halved. Maybe the thieves are afraid of the dark , says council boss Arne Honkamaa. On the other hand, maybe it s being able to see the night sky that s reducing crime.
Tags ,

Andrew Pollock: [tech] Finding out just how hot the linen cupboard is...

I decided to move the old 1-RU Pentium III server (the thing providing all the storage for my MythTV box via ATAoE) from under the bed in the spare room to the linen cupboard. It had a brief stop in the wardrobe in the spare room, but it didn't really help with the noise. Sarah was a concerned about the heat in the linen cupboard, as this is where the patch panel is, so caesar is already in here, along with an Ethernet switch, an ADSL modem, a wireless access point, and the Vonage ATA. There's a lot of DC plug packs generating heat, so it was a reasonable concern. I figured in this day and age, someone must make some sort of USB temperature sensor, and after some searching around, I discovered the DLP-TEMP-G, which seemed to be about the right price, doing what I wanted. I'm going to say the web page was a bit ambiguous, but it was probably just late at night, because I read the bottom as having the option to buy it from Mouser, or via PayPal directly with DLP Design. So I went down the latter path, because I generally prefer to deal directly with the manufacturer. Turns out what I was actually ordering was just a "Test Application", so that email I'd received the day after I placed my order for two units was all I was going to get. I figured this out after a week or so of wondering when it was going to arrive. They were really good about it, and refunded me my $40, even though I'd received said software, and I placed a new order with Mouser for what I really wanted. Now this time, I just didn't read things thoroughly enough, although I'll still say that things were a little ambiguously worded. The page I've linked to above does say "DLP-TEMP-G and 1 DS18B20 sensor $25.00", but when reading datasheet, it goes on about three sensors, and coming with one that isn't soldered on so that you can optionally run a cable between it and the board. I somehow interpreted this as meaning there were two sensors on the board, and one loose. Not the case. The board supports having up to three DS18B20 sensors attached to it, however you please. It comes with one unattached. In hindsight, why would you want two temperature sensors directly on the board? So the moral of this story is I just can't read. Anyway, I got home from Santa Monica last night, and the goods had finally turned up, so I had a play. The DS18B20 just looks like a transistor. I initially ignored it, and just shoved the USB board in caesar, and it happily recognised it
usb 1-1: new full speed USB device using uhci_hcd and address 8
usb 1-1: configuration #1 chosen from 1 choice
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
drivers/usb/serial/ftdi_sio.c: Detected FT232BM
usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
I then fooled around with minicom, and discovered that the little transistor thing I'd been ignoring was indeed the temperature sensor, as I got a reading of zero back (when using this program I found on the 'net). So I went to bed, and this morning did a bit of messing around with the sensor, and with a bit of creative bending, I've got it sitting in the S1 holes without requiring any soldering. It tells me the linen cupboard is about 44 degrees Celsius. Warm, but I don't think it's in any immediate danger of bursting into flames. Wouldn't surprise me if some of the gear in there isn't too keen about the temperature though. At least we won't have to worry about mold. Next step is to convince cacti to graph it, and nagios to monitor it, and we're in business. Here's a little Python program I knocked up to grab the temperature. pyserial is nice. Read on, Macduff!

26 May 2007

Benjamin Mako Hill: State of Head

When Mika gave me a haircut a couple days ago, I was a little concerned she might give me a bad haircut. I realized I was worried because bad haircuts have become cool and I was afraid of looking hip.

Alastair McKinstry: Irish Elections 2007: Now What?

Well, the people have spoken, now the airwaves are full of puzzled politicans and pundits trying to decide what they said. The outcome was a suprise, especially in Galway West (where I live), for which I'm annoyed; as I said before, a poll would have been useful. Niall O'Brolch in, said in the last poll in March to be likely to take a seat, came fairly off the mark, unfortunately. Quick summary: The Irish Parliament (the D il) has 166 seats, so the majority is 83 (I seat goes to the Chair or Ceann Comhairle). In recent years, majorities of one or two seats are normal, so we all wait for the final seats to be decided before really knowing the outcome: The Bookmakers paid out for Bertie Ahern being the next Taoiseach by 9.30 AM yesterday, though technically the numbers could still add up for the alternative, Enda Kenny. We might not know until next week.

read more »

Tags , ,

Chris Lamb: Pro Prolog is pro.

A lot of computer problems (and some puzzles) simply involve backtracking over the solution space and checking constraints, yet these can be fairly clunky to describe in imperative languages. Compounding this, the high cost of method calls in most VM and dynamic languages make any reasonably sane-looking implementation (read: recursive) rather slow. A much better idea is to use a language that makes this really easy, like Prolog: I have a Compiler Design exam in less than a weeks time, and a common question involves being given a number of definitions of compilers in terms of their source and target languages, along with the language the compiler itself is implemented in. The task is simply to work out whether it is possible to translate from a specified language to another. This is just two stanzas in Prolog:
can_translate(Src, Tgt, [L])   :- t_diagram(Src, Tgt, _, L).
can_translate(Src, Tgt, [H T]) :- t_diagram(Src, Via, _, H),
   can_translate(Via, Tgt, T).
Compilers can be then just be defined with
t_diagram(source, target, implemented in, name).
and querying the translation pipeline is done with
?- can_translate(source, target, Result)
(Modifying it so that it works with cycles isn’t very tricky, either.)

Christian Perrier: Moon and Saturn

Just enjoy: And if you do not already have, I really suggest you to add Jamie Zawinski's RSS feed of "Astronomy Picture Of the Day" to your feed reader (again: (http://www.jwz.org/cheesegrater/RSS/apod.rss).

David Welton: Airlines and rand()

Ilenia and I are looking for tickets to go "home" (Eugene, Oregon) this summer. We've had pretty good luck with Lufthansa in the past (as opposed to Air France, which lost a huge bag of my stuff), so we turned to them first to look for flights. I like the page they have for prices/dates, which gives you a nice way to look around for a better price without stabbing randomly at dates: Big long Lufthansa URL However, the maddening thing is that the prices change frequently. Not every day, but often after even 5 minutes! They bounce around up to 100 euro at a time. I understand the theory behind price descrimination, but this is the classic case where the customer ends up feeling like they're being made fun of and goes elsewhere. United, in our case, which offers a cheaper price for the same plane (they're Lufthansa's partner and thus share flights).

Alexander Schmehl: Doing stuff I should have done quite some time ago...

Yesterday I did something, I should have done a long time ago. I donated blood. I donated blood several times already, especially when I was in army service and a nearby University hospital called for help, when they where running low. I must confess it wasn't only the feel good factor that motivated me back then; you could donate blood during your duty hours, got some money, something to eat a way better than the normal food we got and additionally you where freed from heavy duty for two days. Even after I got out of military service, I went a couple of times to donate blood. But for some reason -- I don't know why -- I stopped for a couple of years. Well; the funny thing is, that the German red Cross has often these collect blood sessions in a nearby school, which is on my way back to university, but even that didn't worked. I always had something else in mind or planed for that evening. However, the other day we found a flier of one of those collect blood sessions yesterday evening. And so we went there... and where surprised how many people wanted to donate blood! I can't remember that I ever had to wait to donate blood, but this time they said they had many first time donors, which need special care. Rest of the story is easy: After some interesting conversation (You know how that works? -- Yes, I look away, and you do the rest and tell me nothing!), Meike and myself had half a liter less, and enjoyed a very nice meal. As I already said: I don't understand, why I didn't did it for such a long time; nice atmosphere, nice things to eat, nice people taking care of you... I'm going to donate more often. Perhaps you want to try it, too?

Yves-Alexis Perez: xfmedia drop in question

We (the pkg-xfce team) are considering to drop xfmedia from Debian.

It has nasty bugs, isn't really well maintained upstream and I guess none of us use it. Some people use it, so maybe it's not a good idea to drop it, but in case you're using it and are greatly against the drop, please talk (to pkg-xfce mailing list and post comments), and offer your help.

Thanks!

Roger So: Suspend-to-RAM on a Debian system the ultra-lazy way

Note: tested to work at least on Thinkpad X60, Debian unstable, recent 2.6 kernel.
# apt-get install hibernate
# hibernate-ram
Done. I thought a lot of people knew this already… PS. You might need to set IbmAcpi yes in /etc/hibernate/common.conf. Edit: thanks to Evgeni Golov for the even shorter command.

Cord Beermann: I'm a criminal

The German parliament changed the law on 25th may 2007.

It's now forbidden to build, program, give, distribute or get software, which can be used to attack computers. that's something i do on a daily basis. (think nmap)

so it is only a question of time that i get caught.

German pressrelease of the CCC

Evan Prodromou: 5 Prairial CCXV

Incredible day here in Montreal. The temperature got over 31C today -- about 88 F -- which made for a steamy, jungly day. Remember how I said we had predictions of snow flurries two weeks ago? Things change quickly. Of course, hot weather and high humidity are a recipe for smog. Add on top of that the fact that Montreal is in the middle of a public transit strike, and you've got a serious air quality problem. Fortunately we should have some rain this weekend to shake that out. tags:

EC2 I spent a big part of my day twiddling around getting a nice Ubuntu server running on Amazon Web Services. Amazon's EC2 is an innovative server-provisioning API; beta testers for EC2 can build or tear down servers for any purpose in a few minutes using EC2 and Amazon S3. I wrote a few years ago, in a widely-reproduced email, a reply making fun of Jeff Bezos and Amazon's supposed innovations. But let me be frank: Amazon Web Services are a shithouse crazy idea. I think that Jeff Bezos must have been a complete nutjob to bet the company on these zany technologies; I also think it's brilliant, and it's going to change the way we think about using computers. I included EC2 in Ten Web 2.0 APIs you can really use. I think that decision was really justified. My EC2 instances now run Ubuntu Feisty Fawn; lighty, MySQL and PHP. It seems to be a winning combination; I'm looking forward to using EC2 for a production Web or database server. tags:

rel-edit I mentioned already the great work that AboutUs.org is doing to organize a Universal Wiki Edit Button. I decided to kick in on the machine-readable side and proposed a rel-edit microformat. So far the microformats-discuss mailing list has been pretty positive on the idea, but I'm going to wait a few days before posting a draft on the microformats wiki. tags:

Salt I just finished reading Salt: A World History, a nice non-fiction book by researcher extraordinaire Mark Kurlansky. The book covers this important mineral, its importance to human life, and the many ways to extract it to make it available for us. The book covers mummification in ancient Egypt, salt taxes in China, fish sauce in Vietnam, and Mahatma Gandhi's great salt march in India. It's so comprehensive that it can really make your head spin; but it's also exciting to see world history refracted through these whitish crystals. I think it's a great book, and I'm looking forward to reading Cod: A Biography of the Fish That Changed the World, by the same author. But we just got Everything is Miscellaneous from Amazon this week, so I think I'll be digging through that before I get to Cod. tags:

reCAPTCHA I heard about recaptcha via Hugh's article about same. Brilliant idea; why didn't someone think of this before? (Update: it was about 5 minutes after I posted this that I realized, "Hey! That can't work!" So I went back and re-read the docs on reCAPTCHA again. Now I'm even more impressed.) tags:

I want to ride my I've been thinking of picking up a bicycle for a few weeks now, as the weather has cleared here in town. So today I went up to Garantie Bicycle on rue Marie-Anne and bought the cheapest damn bike they had that wasn't made specifically for pre-pubescent children. Woohoo! The last time I had I bike, I lived in San Francisco. It was a beautiful cherry-red Cannondale hybrid -- with that great fat Cannondale tube, but light enough that I could lift it with one finger. I rode it around SF a lot, and took it out for trail biking on weekends in Marin County and the Peninsula and even the Sierra Nevada. It was a tough bike to ride, but once you got used to it it was a dream to take up hills. But that bike was stolen at Burning Man 2001, during the actual Burn. It's a classic mistake: professional bike thieves go to Burning Man each year to snag bikes left unlocked by tired and idealistic Burners, especially at times when camps are left empty, like during the Burn. To be honest, it was kind of a relief: I'd already moved out of my apartment and was planning a trip around North America, and I didn't have room in my Citro n DS for a bike. Nor in my storage locker at the weird and wonderful Sunshine Storage in Oakland. But it was too nice a bike to throw away or give to one of my no-good friends, who were mostly too short for it anyways. So bicycle theft was the best solution. Sam Phillips had his bike stolen at the same time. The bike thieves left a lot of cheapo bikes around our camp. They liked mine and Sam's, though. Anyways, my new bike was quite inexpensive, and it weighs a metric ton. It's built like you're supposed to drive trains over it. I could never, ever carry it up a steep and muddy hill, and I wouldn't bother. Fortunately for me Montreal is really, really flat, so I don't really need to worry about riding this thing up hills. It will look pretty good with a baby seat on the back, though. tags:

Sam Hocevar: Bits from the DPL: FSF, expenses, DSA

chat with the FSF I had a nice talk with Peter Brown, FSF Executive Director and Brett Smith, Licensing Compliance Engineer. We mostly talked about the GPLv3, the GFDL and the Nexenta project. The official GPLv3 launch is approaching very fast, and the FSF was wondering how Debian could play an active part in it. As I also said on debian-devel I am not eager to promote the use of this new licence until we know how much of our libraries are GPLv2-only. Any ideas about what Debian could do are of course welcome. We didn t talk much about the GFDL. The FSF s absolute priority right now is the GPLv3, the GFDL will be addressed later. After last year s GR Debian decided that works under that licence were free if they didn t use unmodifiable sections. We are still waiting for a fix for the badly worded DRM clause, which the FSF told me they re going to address. The Wikipedia project also has concerns with the GFDL so we should expect the licence to change a lot. I opened a licensing questions ticket on May 16th to ask the FSF to clarify their position about the Nexenta and other OpenSolaris projects (full text available here). There are good chances that the answer will be in favour of allowing the redistribution, but it will take the FSF lawyers a few weeks to carefully write it down. I am personally enthusiastic about having this new port in Debian if possible. disbursement of Debian funds Around $4,300 USD (3,200 EUR) of Debian funds were spent or pledged to be spent this month, mainly on travel reimbursement for developers attending Debian meetings or representing Debian at various places. I will send any details to debian-private until I m confident this is the kind of information I can really make public. DSA team Three weeks ago I posted about how not many people were proposing to help with the various core teams, and immediately got a lot more candidacies. Two weeks ago I sent a list and short description of 6 of these people to the current members of the DSA team for comment. Depending on what they are going to answer I ll decide on what to do next. I haven t done anything similar about the other teams yet, apart from collecting proposals and ideas.

Sam Hocevar: Bitten by Michael J. Hardy

If you have never heard the name Michael J. Hardy, you should read The Mike Hardy Saga. He seems to be a famous developer who has released all sorts of software to the Internet: games, web browsers, and the like . Without writing any of them. Monsterz The one he took from me is Monsterz, a small python game, not terribly well written but quite addictive. And the page he did for his own version of that game (in fact he just added all the Created By Michael J. Hardy notices he could) is absolutely fantastic. This guy has balls. I especially love the This Video Game is Dedicated to My Daughter... notice.

Remi Vanicat: git and etc

I’ve recently seen an interesting google video of Linus speaking about git, an one of its advantage : it is a powerful merger, that remember of the merge already done. I’m using git as an archiver/version tracker for the /etc/ of my debian box. As I’m using sid, I often upgrade it, and then one need to merge the modified config files with the new ones of the package. So I wonder How to use git for it. My idea would be to have two branch: one containing the unmodified config files from the Debian packages, the other containing my version of it. Then when I upgrade, first the unmodified branch would be update, and then one could try to merge with the modified one. A simple way to do it would be :
  1. checkout the unmodified branch
  2. update
  3. checkout the modified branch
  4. merge
This method as for me several problem: May be there is a better, like answering no to all question about replacing a config file, then using the .dpkg-new/.dpkg-dist file to update the uncheckout branch, and then merge. But for this I have to go well outside the different porcelain I know and use, and enter the use of some internal git tools. I could try to think about it, or hope someone already did it, or find my idea interesting, and try to do it. Is someone still reading this ?

Remi Vanicat: git and etc

I’ve recently seen an interesting google video of Linus speaking about git, an one of its advantage : it is a powerful merger, that remember of the merge already done. I’m using git as an archiver/version tracker for the /etc/ of my debian box. As I’m using sid, I often upgrade it, and then one need to merge the modified config files with the new ones of the package. So I wonder How to use git for it. My idea would be to have two branch: one containing the unmodified config files from the Debian packages, the other containing my version of it. Then when I upgrade, first the unmodified branch would be update, and then one could try to merge with the modified one. A simple way to do it would be :
  1. checkout the unmodified branch
  2. update
  3. checkout the modified branch
  4. merge
This method as for me several problem: May be there is a better, like answering no to all question about replacing a config file, then using the .dpkg-new/.dpkg-dist file to update the uncheckout branch, and then merge. But for this I have to go well outside the different porcelain I know and use, and enter the use of some internal git tools. I could try to think about it, or hope someone already did it, or find my idea interesting, and try to do it. Is someone still reading this ?

Next.

Previous.