Search Results: "tim"

31 May 2007

Joey Hess: linux radio recorder

I dug up an old radio and threw this together tonight. It's been done before, but the scripts out there seemed overly complex and didn't use alsa. Here's how I did it: Of course, this assumes that the station doesn't move shows around and that the times are in sync. To do this really right, I'd need a radio programming data source, and some post-processing to identify exactly where the gaps are between programs.

Aigars Mahinovs: Debconf - fun and motivation (and pictures)

Swan
Debconf is coming. And I fully agree with Amaya regarding the much needed battery recharge that brings to people (and me in particular.
And to the contrary to the information two posts ago, thanks to getting an unexpected side income from the nice folks of FFII, I did manage to buy myself a Canon 400D instead of my old camera that was stolen from me recently. Unfortunately, I do not earn well enough to also buy a good lens, so I will have to document this Debconf with the kit lens :P. If you want something better, then I beg you to lend me some better Canon (EF or EF-S) lens for the time of the Debconf. Canon EF 17-40 f/4 L (like the one that I took the last years group photos) would really be great! :D
This year I am thinking of doing both the group photo and the mugshots. Any other ideas for the paparazzi? :)

Amaya Rodrigo: It's that time of the year again

It s that time of the year again, and I have this silly smile on my face again: Next Friday I will be landing in Edinburgh, just before Debconf officially starts.

2007 has been a bit difficult so far, but I know Debconf will recharge my batteries and I will, again, get intoxicated with the enthusiasm of my fellow DDs. I always find inspiration, motivation and nice technical challenges during Debconf and anticipation fills my heart with warmth.

 
I m really looking forward to seeing the dudes and dudettes again. Hug you in Debconf!


Ganneff Hugging

30 May 2007

Matthew Palmer: E-mail Overload

I'm not suffering from it myself at present, but over at that prince of productivity blogs, 43 Folders, Merlin Mann has a nice piece on "E-mail Bankruptcy. The idea is that if you ever get completely overloaded with unread / unresponded-to e-mail, you just "declare bankruptcy", delete all your unread e-mail, and let the world know that if it's important they should resend it. The best part of the article for me, though, was this description of e-mail overload:
Email is such a funny thing. People hand you these single little messages that are no heavier than a river pebble. But it doesn't take long until you have acquired a pile of pebbles that's taller than you and heavier than you could ever hope to move, even if you wanted to do it over a few dozen trips. But for the person who took the time to hand you their pebble, it seems outrageous that you can't handle that one tiny thing. "What 'pile'? It's just a fucking pebble!"
The next time I get bothered that someone hasn't replied to my e-mail, I'm going to try to remember that they may have a lot of other pebbles in their pile.

Steve Kemp: Don't make me laugh .. bitterly

Debconf is coming up soon in Edinburgh, so I figured I'd make a couple of posts for people who are coming. Party because I've been busy, but mostly because I'm always busy on the Mondays when meetings happen I'm not involved in organization - I figure when we get closer to the time I'll volunteer to collect people, give directions, and staff the information/reception desk at Teviot for three-four days. (I've got two weeks off work; so I'll be around for 99% of the duration.) Steve's Guide to Edinburgh: Expenses
Compared to many places, such as the USA, Edinburgh is expensive. Partly because it is expensive relative to the UK, but partly because of the exchange rate. Common costs, which will vary a little locally, but are approximately correct for the kind of places you'll be near:
  • 20 cigarettes 5.50
    • Inside a pub ~ 7.00 - but ignore them because a) They'll only have 16, and b) You can't smoke in pubs/clubs/indoors nowadays..
  • 1 pint of beer 3.00
  • 1 pint of milk 0.50
  • Bus fare 1.
    • Any single journey, regardless of duration or distance travelled will cost you a single adult ticket.
    • Make more than three journeys in a day and you could get a single-day ticket which costs 2.20
  • Taxi fare from Teviot to my house ~ 5.00
    • Alfie, Jacob Applebaum, and other random people who want to watch films, drink beer, and catch up.
That's most of the common prices I think people could care about. If you have specific products / items you'd be curious about feel free to post a comment and I'll give you a figure.

Michal Čihař: Troubles forming new API

I just came to another decision point. Curently new Gammu API is quite in good shape (even most of functions are documented), but I think whether it's time to push in also some other big changes, which I would like to see, or just wait for things to settle down before starting other major changes. For application developers (using C API, Python ones won't notice any of those changes), it would be definitely better to do all changes in one big bang. However I'm really affraid of possible impacts on stability, because extreme big changes. I'm still more and more convinced about stabilizing current code and keep those big changes for later time. When talking about this, I should also mentions change I want to introduce :-). First is switch to wchar_t instead of own UCS-2-BE encoding. This will help a lot in possible errors on allocating memory for strings and also allow us to use libc functions for string operations. The second change is even bigger - make all storages scalable to avoid problems with hardcoded limits. But for this change it should be possible to add compatibility API functions, so that users don't have to notice anything.

Biella Coleman: The Canadian Rockies

I am at the nice Wild Flour Bakery in the very stunning Canadian Rockies taking advantage of some time and wireless to get started with a small project whose deadline is fast coming up. So you know all those pictures of Banff/Canmore area lakes donning aquamarine, coral like colors? Well, there is no lying going on. The lakes here are so frikken beautiful and as someone who has spent a lot of time underwater staring at corals and Caribbean Fishies, I think there is something quite nice about how the water in Caribbean and the water in the Rockies look the same. While the lakes in the Rockies are the color they are due to their mineral content, some of the lakes, like the one we hiked to yesterday, are on top of ancient petrified coral reefs. Mountains were once oceans, oceans become mountains… which if you give it some thought, is sort of mind blowing. So, Banff is quite beautiful but in terms of mountain towns, I prefer nearby Canmore or Jasper (which is closer to Edmonton) mostly because they are not quite as ritzy and chock full of tourists (but of course there is a reason for all these tourists). But whatever town you can make it to, I would highly recommend the Canadian Rockies. They are in a class of their own.

Martin F. Krafft: Information management 2.0

Dear Lazyweb: my information management is in dire need of an upgrade. In particular, I am looking for two features, the second of which is an extension of the first. So let's start with the first: Given a certain issue a job, a project, I write and receive emails, send and receive letters, make and receive phone calls, and author all kinds of documents. In addition, I may have other tidbits of information, such as bookmarks and contact information of the involved people, which are related to the issue at hand. I can store the documents and letters in folders on my filesystem, but what emails and bookmarks and contact information are isolated from the filesystem by the application through which I access this information, even though they may be stored in standard formats. I do not want to create redundant information by copying emails to the respective folders in the filesystem, not only because of the error potential in forgetting that one message which you later need. What I want is a high-level view ideally command-line based into my information, such that for any given project, I can easily and immediately access all related correspondence, documents, and data. I almost want something like a customer relation management system (CRM), except that I don't want to organise my data contact-centric, but rather issue-centric: an issue may involve nobody, a dozen other people, or be about one single person. I took a brief look at beaglefs and was briefly impressed that it did not depend on roughly 5 gigabytes of GNOME/Mono, but then also decided that it's not what I wanted, because it's too fileystem-centric and I also do not want a hundred mounted pseudo filesystems in my home directory. Beagle, on the other hand, does have half a million dependencies and plugins for almost every other application that has half a million dependencies, but it's basically unusable to people who use simple, non-graphical tools for their information management. I am going to check strigi-daemon and doodle, but I don't really expect any different. Does anyone know of a high-level tool that I could use to tie together all my information sources/types? Then, on to the second feature I want: tags. You know it, tags are web 2.0 and web 2.0 is sexy and since I want to be sexy, I need tags. They are also marginally useful and I could use them to place the link the email from a friend about Debconf7 to his name, Debian, the conference, as well as the client we're going to be visiting on the way back. Or I could associate the slides for my talk on method diffusion with Debian, the conference, and my Ph.D. research. Marginally useful but soooo sexy. Tags should be hierarchical, such that foo::bar::baz is a subset of foo and foo::bar (and a query for foo would automatically yield results for foo::bar::baz too). Wildcards should be supported, such that I could search for foo::+::baz and also find foo::bla::baz, and of course you should be able to perform the standard logical functions, such as AND/OR/NOT on them. Enrico calls this "faceted categorisation" and I would never question him on such topics. I do like the idea of a filesystem, backed by an index, but otherwise using metadata stored in extended filesystem attributes, which is what BeagleFS does. However, I'd like it to be ad-hoc, such that the query is not a mount option, but rather determined by the filesystem syscalls. For instance, the directory listing of /TAGS/foo::bar/ should contain all files tagged with foo::bar; /TAGS/-foo::bar/, /TAGS/foo::bar,+::baz/, and /TAGS/foo::+.bla::+/ could be the shell-friendly ways to encode NOT, OR, and AND. If you think about it for a minute, then it's actually not that hard and should be a weekend job to implement on top of FUSE, but it'll only really work when each filesystem node corresponds to exactly one entity. Contacts and bookmarks are trivial to implement that way (VCards and .lnk files), but e-mail is not: with the two popular storage backends mailbox and Maildir, an e-mail message is either a set of lines in a file, or a file in a directrory hierarchy. At first, Maildir may sound like the ticket, but when you consider that a message's new status is encoded in the path and not in the message's filename or content, while the filename is used to encode other status and index information, such as deleted or a message's size, it quickly becomes a nightmare this is why I consider mairix to be more or less unusable other than for quick, one-time searches. To be able to properly deal with email in the filesystem I am proposing, one would need to use mailboxes that only ever stored one message (which would be a waste of space and is not supported by any of dozens of e-mail processing or reading tools), or a new format that used only extended filesystem attributes for metadata, never location of a file or its name. And that does not exist yet, isn't debugged, let alone supported by any tools. Where to, Lazyweb? Comments welcome. NP: Gazpacho: When Earth Lets Go Update: as many have noted, of course I am looking for something like the semantic web, or closely related to it however, given the current state of things, that doesn't get us any further. Also, I don't want any of the Web or social and community stuff that seems to be an inseperable part of the semantic web or the OWL. I just want the semantics for a single-user environment. Thus, NEPOMUK, which three people have pointed to, is not what I am looking for. On the issue of one-mail-per-file, Remi Vanicat pointed me to Gnus' nnml storage:
If you use this back end, Gnus will split all incoming mail into files, one
file for each mail, and put the articles into the corresponding directories
under the directory specified by the  nnml-directory  variable.
As long as nnml is a Gnus-specific format, it's useless to me. I want to continue using standard tools like mutt, procmail, formail, and IMAP servers.

Russell Coker: Another Heartbeat 2.0 STONITH example configuration

In a Heartbeat cluster installation it may not be possible to have one STONITH device be used to reboot all nodes. To support this it is possible to have multiple STONITH devices configured that will each be used to reboot different nodes in the cluster. In the following code section there is an example of how to configure STONITH for two separate ssh instances. Of course this is not useful apart from as an example of how to configure STONITH. It would be quite easy to change one of those ssh configuration entries to use IPMI or some more effective method of managing machines. My previous post on this topic has an example of a simpler ssh STONITH configuration. It is convenient that the ssh method for rebooting nodes is available both as a shared object (which is used by the following example XML) and as a shell script (type external/ssh). The shell script can be used to give the same functionality as the shared object (with reduced performance) but the benefit is as an example of how to write external plugins. For a client I have just written an IPMI module that works with machines that have two Ethernet ports. When a server has two Ethernet ports you want to send an IPMI reset command to both of them in case the failure which requires a STONITH was triggered by a broken Ethernet cable. Unfortunately I can’t release the IPMI code at this time (more…)

Martin Zobel-Helas: Some impressions from German LinuxTag 2007

It is not high crowded here, but we have about 2-3 visitors at any time at the booth. No Tags

David Welton: Simple item-based collaborative filtering with Rails

I suspect there is room for improvements with this, since it is really simplistic, and I certainly am not an expert in the subject. But it works ok for small numbers of items:
def Pair.from_items(items)
  Pair.transaction do
    res = []
    all = items.reject    i  i.name == ""  .collect    i 
            i.name.downcase  .sort
    all.collect    i  ([i]*all.length).zip(all)  .each    i  
            i.each  j  res << j   
    res = res.each    i  i.sort!  .uniq.reject    p  
            p[0] == p[1]  
    res.each do  pair 
      p = Pair.find(:first, :conditions => 
                            ['val1 = ? and val2 = ?', 
                             pair[0], pair[1]])
      p  = Pair.new(:val1 => pair[0], :val2 => pair[1],
                     :num => 0)
      p.num += 1
      p.save!
    end
  end
end
Basically what happens is that for a list of items [A, B, C, D], it calculates and inserts into the database that A and B have been purchased/rated/viewed/whatevered together once. Same for A and C, A and D, B and C, and so on. After accumulating enough of these pairs, you can query the datbase for an item - B for instance - and see what it's been purchased with the most times, and recommend that to people who have shown an interest in B. When someone purchases a group of items togehter, you call Pair.from_items(the_items) and it takes care of inserting the various combinations.

Matthew Palmer: The Programmer's Rant

Normally I'd sigquote this sort of thing, but (a) it requires a wider audience than the occasional appearance at the bottom of a drivel e-mail, and (b) it's way too long for that. So I'm going to blog it instead. In response to a comment that programming requires the skill of clairvoyancy, a response was:
Required? It just makes you suffer more. You know up front that they'll accuse you of ducking the question when they ask for a schedule and you give one contingent on specific preconditions. You know ahead of time that they'll change the specifications at the last minute. You no ahead of time that if you object to changes without revised budget and schedule that they'll say you're no a team player. You know ahead of time that they'll blame you even though they signed off on the schedule being contingent on no changes. You know ahead of time that there will be nothing that you can do about any of these. So what does your precognition buy you other than an ulcer or perhaps a coronary?

Joey Hess: atari

The Atari 130XE was my first computer. Not the first computer I used, but close. I got it around 1986, when I was in 4th grade. My dad and I bought it at some store, probably Sears. I paid part of the money for it, and he paid part. I think he planned to use it for word processing, since he also got the one piece of commercial software I ever had for it, AtariWriter Plus. We also picked up one game for it, some kind of space battle thing on a cartridge, with a special controller, and a huge, clunky trackball. That game never worked (maybe it was for some other model of Atari?), so I was stuck with playing with programming in BASIC. The Atari had a nice manual that made this very fun to learn. At some point in here, I think in the first year I had it, disaster struck. I had a cup of OJ at the computer and it fell onto the keyboard. I didn't know that you could just toss a computer in a sink and take it out and blow-dry it and it'd be fine, so I did nothing. Until keys began to not work, and others to repeat over and over. Not sure if the OJ etched the circuit board, or just gummed up the connections, but the Atari was out of operation. A bit later, I'm not sure how long, "I" wrote to someone at Atari's offices in Sunnyvale, CA, asking if I could get it fixed, and "I" sent it out there and miracuously they sent back a completely new Atari. I knew it was new, because it was much cleaner than the one I sent out. I'm not sure why I remember doing this, since it seems likely it was really my parents writing the letters and doing the shipping. I am still grateful to that unnamed person at Atari, who may have known at the time he was at the last days of the company's heyday, and sent that replacement to an already out of date and out of warantee machine. The several years after I got it back were probably my most productive on the Atari. I wrote a lot of games and other programs. Often I'd see some program on another computer, like the original Tetris, or Lode Runner on a C64, and write up my own clone on the Atari. I did a lot of semi-original stuff too. I was a pretty horrible programmer, by the way. I remember whaling at code over and over, pretty much at random, until I randomly found something that sort of worked. Well, hey, it was just BASIC.. At one point I found a book at the library about Atari game programming. It had one thing that blew me away; some weird ATASCII characters that if entered just right, in the middle of a BASIC program, would let you redefine the Atari's character set, so you could use characters for sprite based graphics. That was some precompiled assembly code, and while I used it, I had no idea how to change it, or write anything like it. By the time I learned what assembly was and started looking for an Atari Assembler, it was too late to buy one. Anyway, the key thing was that, if I didn't write the software, I didn't have any software. Especially a few years later there was no chance of even buying any, and without a modem, I wasn't tied into any BBS scene. The Atari was its own little island, with its own little colony of unique programs growing up without fear of competition. That, and the lack of an assembler to get really low-level (though I did plenty of PEEKs and POKEs), defined my early programming time, and have probably defined where I went and what I did since. I remember when this ended. My dad got a second computer, a 286 laptop, and I started getting ahold of programs from friends at school and putting them on it. At one point I got ahold of Battle Chess, and I realized that here was a game that I couldn't hope to replicate myself on the Atari. For the first time I compared my attempts on the Atari to the wider world, and found them wanting. The last program I wrote for the Atari was in 1992, when I lent it to Mary Calhoun to use as a display in the waiting room of her office and wrote a program to handle that. This is also the only program that has my name on it, and even a copyright notice. By then I had moved on and was clearly trying to do programs that were more like the stuff I was seeing on the PC.

29 May 2007

Joey Hess: atari fun

I set up my Atari 130XE today, for the first time in eight years. Eight years ago I got it working long enough to make several backups of all the program disks, which are all going on 20 years old. Unfortunatly all the disks with the tetris clone I wrote fail to boot. All the other programs are still surviving. Playing with the Atari is still fun! I need to get a SIO cable and a SIO2PC and transfer these programs off and put them in subversion.
Update: Tetris is on those disks, they're just not bootable, but it can be loaded by hand. Then it fails at line 10380 since the high score files are missing. (This is not the well-polished tetris disk I remember..) Fixable:
10380 RETURN
Then it works. Yay!

Dirk Eddelbuettel: JPM Chase Corporate Challenge 2007

Last Thursday was the 2007 edition of the JP Morgan Chase Corp. Challenge. Record crowd of almost 23000 in Chicago's Grant Park. Just like last year, I didn't try hard enough to be closer to the starting line. Which means that one ends up running more or less zig-zag for some time. Oh well, my hand-stopped 22:17 is still pretty close to the PR from two years ago. Overall once again a really nice event, and we managed to have more folks from work show up, both to run, and to have a cold one or two afterwards.

Jos Parrella: Axesstel, Inc.: FOAD

Yesterday I wrote in Planet Debian requesting information on how to copy binary files to a Linux-based Axesstel modem. Meanwhile, I wrote Axesstel Customer Service with a friendly thank you for making a great product and kindly asking them for pointers. I’ve had some degree of satisfaction when writing to the Customer Services of several enterprises, and I really hoped this would be another one. 48 hours later, they replied with this message: Dear Customer,
First, thank you very much for purchasing Axesstel product and your kind feedback.
Unfortunately, we cannot released requested information because it is against security policy. We hope for your understanding.
Also, we recommend that you refrain yourself from accessing internal commands of the unit because it may violated service agreement enforced by your local service provider.
Once again, thank you for your understanding.
Axesstel Support So, if you have an Axesstel modem or if you are interested on having a free OS in your Axesstel, you may join the Laxative project in BerliOS or just make some noise in your blog, webpages or mailing lists with your Axesstel-related projects. If you happen to work at a place where you export your Security Policy to any aspect of your relationship with your customesr and where you tell them to refrain themselves of trying to improve your products for free, please read on about Open Source Hardware and its business models. It might be the time to start sharing information and sleeping without guilt :)

Miriam Ruiz: Yay! DebConf!

Ryanair flight 755, Frankfurt-Hahn (HHN) - London Stansted (STN) easyJet flight 237, London Stansted (STN) - Edinburgh (EDI) easyJet flight 232, Edinburgh (EDI) - London Stansted (STN) Ryanair flight 756, London Stansted (STN) - Frankfurt-Hahn (HHN)

DebConf team: Healthcare during DebConf (Posted by Moray Allan)

If you are coming to DebConf from an EU member country, Iceland, Norway, Liechtenstein, or Switzerland, you are entitled to free healthcare in the UK (not including elective treatment or non-urgent pre-existing conditions). To prove that you are entitled to this, you need a free European Health Insurance Card. The arrangements for getting one will depend on your country, but if you don’t yet have one you should apply as soon as possible, to get one in time for DebConf. Residents and citizens of many other countries are entitled to a more limited level of free healthcare, as listed on the DebConf7 website.

Nico Golde: libacpi general purpose acpi library

During the last time I developed a general purpose library for ACPI on linux.
Initially I just wanted to rewrite yacpi but since there is no shared lib for acpi information I decided to
put the important stuff in a seperate library.

Before releasing it I want some people to test it because my notebook doesn't support all of the information it can gather.

If you want to help me a bit, download a snapshot from:
http://nion.modprobe.de/libacpi-unreleased.tar.gz.

Install cmake, unpack the tarball and do:
$ cmake .
$ make
$ ./test-libacpi

and send me the output of test-libacpi together with tmpfile which should be generated like:

for i in find /proc/acpi -type f ; do
    echo -e "FILE: $i ================\n" >> tmpfile
    cat $i >> tmpfile
done

via mail to:


Thanks!

UPDATE: yes I totally fucked up the install instructions and the generation of the tmpfile :-) Sorry.
And in case I didn't reply to every mail I got until now, thanks very much for you help all!

Ingo Juergensmann: Please stop it

I think everyone knows about the issues between Sven Luther and the d-i team. This is going on for about a year now and although I'm usually a supporter of Svenl here, I have to admit that I can't hear/read it anymore.
So, please stop it now. Everyone!

Svenl, you did a great job for the PPC port in Debian, but there's so much in life beside Debian! Enjoy it! You're wasting your time and life if you insist in being right. Maybe you're right, but I don't that this does matter. Take a time off from the project and have a nice time with our stuff! Been there, done that and found it worthwhile! :-)

All others: I think it would be better to not respond to every mail by Svenl, especially when you're opposing him. This will make it even worse for him and for everybody else, too, because the impression of being insulted will grow with every mail that tells him to shut up.

Every party involved in this dilemma does have valid points. For example I would like to see some sort of Code of Conduct or a Social Commitee or anything else that will prevent such incidents over and over again.
I think it's highly unprofessional how Sven was pushed out of the d-i team. Sure, everyone can disagree with anyone else, but I expect DDs to be professional enough to work together despite their personal dislikenings. OTOH, Svenl didn't earn glory insisting every now and then of being mistreated and being right.

So, can we now stop that neverending story, please?

Next.

Previous.