Search Results: "tim"

2 March 2007

MJ Ray: OpenWRT (3)

More comments, which I think help to narrow my choice to OpenWRT or FreeWRT. Kris Marsh commented:
"I can't comment on dd-wrt, as I've never tried it. I can, however, say that OpenWRT is great. Personally, I don't see the point in X-WRT, as I use vi and /etc/ to modify configs. Assuming you're handy with Debian (;-)), then you should be just fine without X-WRT. Tip: If you want to use WPA, you need to install the "nas" package: "ipkg install nas". I believe this non-free package is what a previous commenter was referring to."
Yes, I want to use WPA (I think some of the machines here can't do IPSec and WEP just isn't good enough) so I guess I have another freedom problem. I'd be happy with ed, but I might try X-WRT just to see how it copes with my web browser (I expect badly, like many embedded web apps, but then I could file bugs or fix it up). ranf mentioned:
"There is also a OpenWRT fork named FreeWRT ."
Argh, another candidate! Seriously, thanks for the tip. I'm not sure what it offers me over OpenWRT, as FreeWRT doesn't list either my router (Belkin POS) or my office host system (gobo) as supported and I don't intend to install svn any time soon. I'll probably try its Web Image Builder. Taneli commented:
"I believe Kamikaze has open source broadcom drivers (it's using 2.6). No idea if backport exists, but I'd venture no. Using Kamikaze sounds quite dangerous, but I haven't tried."
nbd wrote:
"Hi there. A few comments on your blog post: The main reason why the free Broadcom drivers haven't been included yet is because they're simply not ready. The Broadcom SoC needs to be handled differently than the MiniPCI cards and I'm working with the bcm43xx on that. Actually the new 2.6 based port is almost complete. As to which Firmware you want: As an OpenWrt developer I very much recommend installing X-Wrt on OpenWrt :) Anyways... Have fun!"
Yes, this is definitely a "fun" choice! I guess I won't know what works until I JFDI and pick up the pieces. Glad to hear the Broadcom drivers are still being worked on: I've met a lot of Broadcom cards and some of them can only be coerced with ndiswrapper, which isn't good. I wish I knew enough about network hardware to hack sensibly, but I don't know where to start and there's so much else to do. Finally, it looks like dd-wrt isn't a good choice. Yammering (Clint Adams) linked me to this rant and Simon Farnsworth commented along similar lines:
"X-WRT is just an easier UI that installs over OpenWRT. DD-WRT is a competing project to OpenWRT, based on the OpenWRT code, but using such "free" software techniques as product activation, and per-seat licencing to stop you "misusing" your GPL rights. I'd recommend OpenWRT/X-WRT, just because they tend to be more respectful of licences, and less prone to demanding money with menances."
I've no problem with commercialism itself, but I dislike broken promises and playing fast-and-loose with copyright. If there's evidence the other way, please let me know!

Brett Parker: Welllll... in light of...

So, in light of Sven's Platform, I think I'll just not bother reading his platform when he does get off his arse and publish it (must get round to finishing off NM, must find time from somewhere). On the offchance that you're reading this after he actually publishes it, here's what it said (single line): "As protest against my unfair banning from debian mailing lists, i will not publish any platform until the weekend after the end of the ban." Isn't he clever? Isn't that a fantastic way to process - don't publish your platform (that might actually help your case, if you've got any actually reasonable ideas), just whine (again) about your "unfair" banning. *sigh*. Somedays I do just wonder about humanity.

Russell Coker: spare tires

The following letter was published in the RACV Magazine. The Royal Automobile Club of Victoria is a driver advocacy organization that provides roadside assistance and insurance. The fact that they published my letter means that the idea can't be totally wacky so I'll blog it. ;)

There have been many mentions recently in RoyalAuto about space-saver spare tires. Some manufacturers claim that they are to save weight which seems to be a benefit for the driver.

I wonder if most drivers really need a spare tire. For my own driving I only have a flat tire about every second year and I almost never drive outside the metropolitan area. Given how rarely I call for road-side assistance I think I would be better off without a spare tire and with the option of having the RACV deliver one for me if I needed it.

I expect that the time taken to deliver a spare tire would be greater than that required for a regular road-side assistance call, and that it might count for more than a regular assistance call, but given that the cheapest roadside assistance package has 8 calls a year I expect that most years I would still use less than half my quota of calls.

Not having a spare tire would save some weight (and therefore fuel) and would provide a little extra cargo space.

Also it seems to me that small cars are unlikely to ever be driven outside the area that is serviced by the RACV and similar organizations. For a small car the lack of a spare tire in the car design would offer a significant improvement to cargo capacity. If the RACV and other organizations endorsed and supported cars without spare tires then the car manufacturers could design small vehicles with more cargo capacity and less fuel use.

Jeff Bailey: Water broke

I just had a total Mr & Mrs. Smith moment. You know the bit where they're standing in the elevator, listening to the elevator music. Waiting for the door to open.

That would be the waiting time between the water breaking, causing us to page the midwife and her phoning us back. =)

The advice: Sleep now, relax.

And so shall it be. =)

(Update: 9am)
Contractions are 6 minutes apart, but still the kind she can sleep through, so she is. Spoke to the midwife, and she advises more rest. Next update with her, assuming nothing eventful, is around 1pm.

(Update: 2pm)
Contractions have slowed to every 12 minutes, but have increased in intensity. Just spoke to the midwife, who gave some tips about moving things along. She just got into the birthing centre after 3 hours of being on the road. It's usually a 30 minute trip, and she lives near us. She thinks that it will be fine, though, given that she was mostly stuck behind snow plows. Next phone call in 2 hours.

(Update: 4:30pm)
Contractions up to 5 minutes apart, lasting about 45 seconds each. We're enjoying a relaxing afternoon watching X-files. She's convinced that she's talking fine through her contractions, but her sister did a great impression:



Well, as I was saying, I ...

(she crouches over)

Oh there's one. Yup.. I'm having a contraction..

(pause)

Yup. Well. I can still talk through them.


Mhm, yup. Sure you can. =)

The midwife called us to check in. Angie described herself as "impatient". Otherwise everything seems to be going as normal. The midwife will call us again in an hour or so to sort out plans for the evening, probably including a visit to us at home since we're close enough to where she lives.

(Update: 6pm)
We've hit the magical number of contractions: every 4 minutes for 45 seconds. Apparently we're supposed to phone after two hours of this, but we phoned after one. My bad, but this is when we had planned to talk anyway. She answered the phone when we paged the midwife, and was sufficiently unable to talk that she handed to phone over to me. The midwife will be here for an in-person visit in about an hour (subject to speed of traffic)

(Update: 7:30pm)
At 7, I went out to shovel a space for the midwife to park. It turns out she drives a cute little VW bug. so at 7:15, I dig her out of the snowbank she got wedged into because I hadn't dug enough of a spot. 7:30, we're now both inside. =) Temperature is being taken, contraction charts being reviewed, etc.

(Update: 8:15pm)
The midwife just left. Right now Angie's 2cm dilated. Apparently there are multiple membranes, and they haven't all broken. This is a good thing because it continues to protect the child and give it manuverability. Charlotte will be back in 2 hours to see how we're doing.

---

I'll update this entry with random little updates, and post a new one when we head out.

Andrew Pollock: [opinion] On whacky spare tyre ideas

Russell Coker writes about not carrying spare tyres and relying on roadside assistance companies instead. I had a similar idea a while ago when I had two of my tyres slashed. I was carrying a viable spare, but with two tyres out of action, it didn't do me a lot of good. I got a tow to the nearest tyre place probably within a kilometre, but they had to order in the tyres to match what was already on the car, so I was left without a car for the remainder of the day and some of the next one. I thought it'd be a great business idea to be able to call up for roadside tyre replacement, similar to how you can "holler for a Marshall" when you get a flat battery. Incidentally, I've clearly been living here too long. I had to battle with myself to not write "tire" all the time.

1 March 2007

Bastian Venthur: Pimp My Boot Process (III)

Short version:

$ sudo aptitude install desktop-base splashy splashy-themes
$ sudo splashy_config --set-theme debian-moreblue
$ sudo vim /boot/grub/menu.lst

[...]
timeout 3
hiddenmenu
[...]
# defoptions=quiet splash
[...]
$ sudo update-grub Long version: A few weeks ago I tried to improve the visual appearance of my boot process using usplash and a matching grub splash theme. It took me quite a while to create my first very own usplash theme and it was a rather complicated affair (Thanks to Petter Reinholdtsen for his patch which lead to my first working prototype). Since creating usplash themes is rather tricky and not really suitable for the average user I decided to switch to splashy. Splashy has many advantages above usplash like a very easy way to create themes, support of high resolution images and many themes already available in Debian. So here is my current solution for a nice bootup: First I installed desktop-base in order to get the nice moreblue KDM theme: $ sudo aptitude install desktop-base Then I installed splashy and splashy-themes in order to get a theme matching KDM’s moreblue theme:

$ sudo aptitude install splashy splashy-themes
$ sudo splashy_config --set-theme debian-moreblue

Since grub has only rudimentary support for theming, I decided to remove the boot menu completely. Most of the time I’ll boot the first kernel in the list anyway and you still have $timeout seconds to press Escape in order to bring the menu back. $ sudo vim /boot/grub/menu.lst

[...]
timeout 3
hiddenmenu
[...]
# defoptions=quiet splash
[...]
$ sudo update-grub The result looks quite cool and gives my boot process a polished an clean look. It’s still not perfect since splashy’s theme does not match exactly KDM’s theme and KDM flicks in an other wallpaper before it starts and after the login, but it’s good enough for now.

Paul van Tilburg: Space Efficient Algorithms

Last Tuesday I finished my paper about Space Efficient Algorithms and Histograms that will comprise most of the grade of my last remaining Master course, Advanced Algorithms. While I’ve been mostly enjoying writing this paper, I am glad it is finished for several reasons, one of them being able to do other things than just working on it and another is that it allows me to focus fully on my Master Project which is starting to progress nicely. (More about this later.) FOSDEM 2007 Due to the amount of time I needed to work on the paper, the need to save money (I really would like to go to Debconf7) and that the scheduled talks didn’t seem to interest me that much, I decided to break with tradition and not to go to FOSDEM this year. Just before FOSDEM, however, it seemed that lots of the people I would have liked to meet did go. While that was a pity, I hope to meet them in three months at Debconf7.

Christoph Berg: OpenPGP keys in DNS

The latest addition to the mutt CVS tree is PKA support via gpgme. While trying to figure out how that works in mutt (I haven't yet...) I configured my DNS server for PKA and CERT records. PKA PKA (public key association) puts a pointer where to obtain a key into a TXT record. At the same time that can be used to verify that a key belongs to a mail address. The documentation is at the g10code website (only in German so far). I put the following into the df7cb.de zone: cb._pka IN TXT "v=pka1;fpr=D224C8B07E63A6946DA32E07C5AF774A58510B5A;uri=finger:cb@df7cb.de"
$ host -t TXT cb._pka.df7cb.de
cb._pka.df7cb.de descriptive text "v=pka1\;fpr=D224C8B07E63A6946DA32E07C5AF774A58510B5A\;uri=finger:cb@df7cb.de"
Now gpg can be told to use PKA to find the key:
$ echo foo   gpg --auto-key-locate pka --recipient cb@df7cb.de --encrypt -a
gpg: no keyserver known (use option --keyserver)
gpg: requesting key 58510B5A from finger:cb@df7cb.de
gpg: key 58510B5A: public key "Christoph Berg " imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: automatically retrieved  cb@df7cb.de' via PKA
CERT CERT records work similarly. Records are generated by make-dns-cert (from the tools directory in the gnupg source). cb.gpg is a stripped-down gpg keyring (created with pgp-clean -s and converting from .asc to .gpg).
$ ./make-dns-cert -f D224C8B07E63A6946DA32E07C5AF774A58510B5A -n cb
cb      TYPE37  \# 26 0006 0000 00 14 D224C8B07E63A6946DA32E07C5AF774A58510B5A
$ ./make-dns-cert -k cb.gpg -n cb
cb      TYPE37  \# 1338 0003 0000 00 9901A20440 [...] 509C96D4BFF17B7
With a new bind and host (backports.org!) the format looks a bit nicer, that's also what I copied into the zone file:
$ host -t CERT cb.df7cb.de
;; Truncated, retrying in TCP mode.
cb.df7cb.de has CERT record PGP 0 0 mQGiBECBGdAR [...] UDlCcltS/8Xtw==
cb.df7cb.de has CERT record 6 0 0 FNIkyLB+Y6aUbaMuB8Wvd0pYUQta
Again, gpg can be told to use that:
$ echo foo   gpg --auto-key-locate cert --recipient cb@df7cb.de --encrypt -a
gpg: key 58510B5A: public key "Christoph Berg " imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: automatically retrieved  cb@df7cb.de' via DNS CERT
Thanks to weasel for some hints on using CERT. SSHFP I'm also mentioning SSHFP records here since it fits in the topic - I have been using them for some months now:
$ host -t SSHFP tesla.df7cb.de
tesla.df7cb.de has SSHFP record 1 1 EE49B803541293656C33B86ECD781BD8F1D78AB5
tesla.df7cb.de has SSHFP record 2 1 3E82FB5EE8AA0205305F0D0186F94D6FB3E0E744
$ ssh -o 'VerifyHostKeyDNS yes' tesla.df7cb.de
The authenticity of host 'tesla.df7cb.de (88.198.227.218)' can't be established.
RSA key fingerprint is 5a:c9:38:ca:c0:2b:11:c1:c8:fb:f1:ad:73:a1:9c:8b.
Matching host key fingerprint found in DNS.
Are you sure you want to continue connecting (yes/no)?
The records are generated with ssh-keygen -r.

Erich Schubert: Pyroman update

I just uploaded a minor update of Pyroman to unstable and the pyroman download page on alioth. I added support for a complete interface wildcard, and added example configuration files for a single-host setup. Pyroman is a firewall configuration tool I wrote for managing the firewall of a small network consisting of four zones and servers with a dozen different tasks. It plays very well in setups with DMZ, wireless networks, intranet etc. and all kinds of different services. Key benefits are the very simple syntax, safeguards (extensive syntax checks, rollback on failure, safety timeout option for remote administration), scriptability in python and high performance, since it does not run dozens of iptables commands, but generates a script file for iptables-restore. For more benefits, see the pyroman homepage. The next version will probably feature an XML syntax additionally; while the current Python syntax is very powerful and readable, it's pretty much impossible to write a GUI for editing the policy when written this way. That's why I'd like to add an XML syntax (that can be intermixed with Python statements, but only the XML-defined parts will be editable in the GUI) that supports the key parts of configuration (if you want the rules to be generated on the fly from some database or whatever, you'll still be able to do that in Python!): making it easier to write a GUI for it.

MJ Ray: OpenWRT (2)

OK, it's taking longer to find time to do this. The network is holding up this week and customers have work that needs doing urgently, so I've not risked bricking the router. sdf commented:
"i would try dd-wrt (dd-wrt.de) instead..."
Mark commented:
"Install OpenWRT 0.9 (not "Kamikaze", which is a ground-up rewrite in pre-alpha). Install X-WRT to get webinf^2 (better web interface for configuration). Read the OpenWRT documentation on how to backup/restore your firmware. Make a backup once after you get everything configured, again before installing any major new packages, and again just before a firmware upgrade. The IRC channel is hit-or-miss but the forums are well-attended by knowledgeable people. Hope this helps."
Thanks. That's a great help. sebastian commented:
"Just saw your blog entry, you could have a look at X-WRT, which is an enhanced web configuration frontend to OpenWRT. ( http://x-wrt.org/ ) otherwise, they just plain rock (my opinion) ;-)"
Ben Finney commented:
"One warning I'd give is to make clear that OpenWRT happily sets up a 'non-free' repository source for its 'ipkg' package manager. This is necessary to get the Linux 2.4.3x module for most Broadcom wireless chips, and for 'nas' which is apparently needed for WPA encryption. I vaguely recall someone announcing recently that free-software drivers were now available for most Broadcom chipsets, but that's likely only in Linux 2.6.x and may take quite some time to appear in OpenWRT."
I'm aware that I'm pretty screwed by the Broadcom chipset, but it's a step forwards from where I am. The reply:
"I'm not sure whether to hope for an improvement. Do you know if the Broadcom chipset on these devices is one that now has free drivers available? If so, possibly we could agitate for those drivers to be backported to the kernel used in OpenWRT."
I don't know, but I guess I'll find out soon. Thanks for all the great comments so far, but now I'm not sure whether I want OpenWRT, X-WRT or dd-wrt!

Lars Wirzenius: Debian: Automatic testing wishlist

Joey Hess writes about automated system testing in his anti-platform. That's one of the things that I'd like to work on, some day, when I have some free time again. There's two things I would like to do next in this area. First are improvements to piuparts so divide the tests it does into smaller bits, and to add a plugin framework so that it becomes easy to write new tests. The current piuparts code isn't really well suited for this, but the whole program is only a few hundred lines of code, so even if it had to be rewritten completely from scratch, it shouldn't take more than a couple of weeks of full time work (piuparts development is often slow because you need to run tests on large parts of the archive). The other thing would be to test upgrades not of individual packages, which piuparts does now, but of entire systems, preferably in emulated machines instead of chroots. This would probably need a new tool. The third of these two things would be to start adding automatic tests to packages so that we can test whether they work when they're installed. Ian Jackson did some work on a tool for this, but we need to use the tool. Ideally, we would have a setup where packages get tested automatically, continuously (daily, if possible) and results are reported instantly. At the moment, piuparts results need to be filtered manually, and that's a pain. Adding a "package health indicator" the PTS based on these automatic tests would be cool. We could even have a "Debian big board" web page, with a small square for each package, colored green if it's bug free and passes automatic tests; colored cyan if there's only bugs of severity normal or below, or a problem with some of the automatic tests; colored pink if there's a bug of severity important, or all automatic tests fail; and colored red if there's bugs of severity higher than important. This would give an overview to the health of Debian with a glance.

Benjamin Mako Hill: The Revolution Will Be Colorful

I forgot to mention the coolest thing about the last Ubucon in my summary. I heard that my friend Sean Moss-Pultz (the person who started the OpenMoko project) would be in New York the week of Ubucon so I managed to contact him and get him to drop by on his way to the airport so we could have lunch. To my surprise, he had one of the early versions of the free-phone for me (I wasn't expecting one for several weeks). I had brought my OLPC XO so, for the first time ever (as far as we know) we managed to get the two coolest, and most important, technology platform projects in the world together. While the XO and OpenMoko share a commitment to freedom, the similarities between the projects are, in fact, also skin deep. If we all work hard, we can look forward to a future that is free. Apparently, it's also white with bright trim.
/copyrighteous/images/xo_plus_openmoko-03-boot.jpg
/copyrighteous/images/xo_plus_openmoko-01.jpg
Apologies for the pictures taken from my current inferior, both ethically and technically, mobile phone.

Benjamin Mako Hill: Ubucon NYC

I had a great time at Ubucon a couple of weeks ago. I ended up running two sessions. After an initial opening, I opened the conference with a talk on how folks can participate in Ubuntu. The talk was roughly based on Andreas Lloyd's absolutely wonderful Contribute To Ubuntu page in the Ubuntu wiki. His page was, in turn, based on my own Participate In Ubuntu page. The talk tried to provide a solution to the common question of, "I love Ubuntu and want to give back! How can I?" -- when I was answering info@ubuntu.com (for my sins), I would get this question several times each day. The talk was a relatively straight forward walk through the different teams and group working in Ubuntu along with examples of their projects and fun anecdotes from my experience in the community along the way. I worked in a bit of talking about different community governance structures and issues and the membership process. Trying to cram an overview of the community and its different subsections into an hour is a pretty sobering experience. There's a lot going on and I barely had a chance to give a poor description of the most visible things going on. In the afternoon, I reminded folks (and myself) that I know a little of this tech stuff too by walking folks through a quick introduction to building and modifying Debian or Ubuntu packages. It was a quick variant on the "Debian Packaging for Sysadmins" talks that I've given in the past. Of course, the best part was getting to hang out with some folks I know from the community and to meet a bunch of new people. It was a blast and I'm definitely looking forward to the next one.

28 February 2007

Joey Hess: my anti-platform

Why you won't be voting for me for DPL this year. Or, my plans for Debian stuff over the next year (or three). Most of these plans embody larger themes and directions that I feel Debian should take. I am a strong beliver that working code and getting stuff done is the best way to work toward larger goals, so I won't bother to try to explain the larger goals.
constantly usable testing This is so important that it has its own page. This is my first public posting of that proposal, and it should not be considered finished. I plan to finish it, and get to work on it. website www.debian.org is deprecated, but this is not obvious to either users or developers. That's because it's not formally deprecated, we just treat it like it is: We don't use it for anything new. Instead we have wikis, planet, times.debian.net, etc, etc, etc, etc. Unfortunatly that has created a bit of a mess for users, who are still often stuck trying to use www.debian.org, or who can't find new stuff that is on other sites. A solution could be creating an alternate starting point for users, to help them learn about Debian, install it, and point them to docs and all the other useful sites once they're more involved and using Debian. I hope to find time to work on and promote such a thing. I plan to continue moving stuff that needs to be maintained actively and grow off of www.debian.org to the wiki (as I've done with some of d-i stuff, for example), and encourage others to do so as well. Anything under /devel/ on www.debian.org is an especially good candidate for the wiki. double the archive sync frequency again Now that we've switched to updating the archive twice a day, and dealt with the (minor) issues caused by it, it should be easier to increase it to a frequency that is more likely to cause noticible turnaround time improvements and thus speed up some development. As it is, many people sleep through one or the other archive update. So I support doubling it to four times a day, or more (six seems better). automated whole system testing Automated whole system testing is important because Debian needs to keep working in so many obscure and annoying to test situations. Does d-i work on m68k? Does the desktop task install properly and work? Does debootstrap install a usable system on every architecture? If we rely on user reports, things can fall through the cracks entirely or not be noticed for too long. I've been running a d-i lab for a few years, which tries to automatically test installs on 6 architectures. However, between the current kernel not supporting several of my test machines due to hardware and software bugs, and the general time sync of keeping a rack of aging and obscure test boxes working, this has not been very useful lately. I feel that the solution is emulation: It should be possible to run Debian under emulation for most architectures. I hope to get an absurdly powerful server donated, and switch my test lab over to running in emulation on it. developer (virtual) machines The other benefit of emulation is that everything needed for testing stuff under emulation can be easily distributed to others. Getting developer accessible machines for certian architectures has been a problem in Debian. Emulated systems can sidestep this problem. All that's needed is a collection of documents and/or bootable images that developers can use to set up virtual machines for as many architectures as possible. We have steps in this direction. Hercules contains documentation for how to install in it using d-i. There is a kernel flavor and d-i boot images for mips on qemu. Having to ssh out to a DSA adminned box to deal with a buld failure on $ARCH, and having to wait for build deps to be installed should begin to feel antequated and quaint. It is. find the next nslu2 Debian's support for the nslu2 is an excellent development. It opens up using Debian for a whole new set of tasks, that need low-powered, semi-embedded, commodity hardware, that before were the province of special-purpose embedded distros. It also blew the popcon numbers for arm through the roof. We need to find the next nslu2-like target and get to work on it. I'm hoping that it will be a wireless router, because that's the only thing I'm not running Debian on now. :-) But it could also be a cell phone, or PDA..

Jordi Mallach: Tasques, per en catal

So Ross was offering fame and glory to whoever would add i18n support to his nice little Tasks program. Tasks seems like something I've been looking for (there's gToDo, but Tasks is simple and clean), and I haven't done much for GNOME in a looong time, and I was bored, and hey, I can use some fame and glory, so...


Tasks, in a language Jose Mar a Aznar can read I need to note that it took quite a lot more time to create this screenshot than writing the patch. Go my GIMP skillz! And by the way, Ross, what does Paris Hilton say about applications with their main function in a file named test.c?

David Welton: Ruby's Mysql interface

I just like open source too much to not be constantly bumping into things that I would love to improve or fix... I have way too much fun getting my hands dirty with something new. Today's adventure regards my need to stream large quantities of data from a ruby on rails installation, covered previously here: http://journal.dedasys.com/articles/2006/06/08/streaming-programmatically-generated-content-from-rails The current block is that ActiveRecord doesn't deal with a "stream" of results, but rather, fetches everything into one big, fat array and then deals with that. Luckily, I'm not the only person to have found this suboptimal: http://dev.rubyonrails.org/ticket/6921 However, as I comment there, to truly make things work, some low level coding is required. For mysql, since it doesn't seem to support cursors to the degree that something more standards-compliant like Postgresql does, the answer lies in the C library and language interfaces built on top of it: http://dev.mysql.com/doc/refman/5.0/en/mysql-use-result.html Unfortunately, Ruby's C API, or at least the versions that I downloaded, don't properly support fetching things one record at a time. It didn't take more than a few minutes to whip this up: http://dedasys.com/freesoftware/patches/mysql-ruby.patch (although there's a good possibility it could be improved...) However, according to this posting, the upstream maintainer may not be terribly responsive, and the project isn't really run as much of an open source project, with a public mailing list, bug tracker, version control, and so forth. Perhaps it's time to create that infrastructure?

Evan Prodromou: 9 Vent se CCXV

Lots of short, sharp items today that I want to get down.

LinuxQuestions.org supports OpenID First, I'm psyched to see that LinuxQuestions Wiki now supports OpenID. Jeremy gave the scoop in The LQ Wiki Now Supports OpenID. I was glad to see that LQ's on the OpenID path. It's a really strong community site, and I think it'll benefit greatly from opening up the authentication process. tags:

Wikia and OpenID Angela Beesley had some comments on my Journal/7 Vent se CCXV posting about wikiHow's support of OpenID. In that posting, I said that I thought companies with lots of wikis, like Wikia or wiki farms, might have a disincentive to participate in the OpenID network. Angela put me straight on the issue in a post on WikiAngela about OpenID. I'm glad to hear that Wikia is considering supporting the protocol. Then again, it's hard to believe that an Open Content, Open Source company is really going to go out of its way to avoid open standards and open login. tags:

DemoCampMontreal1 I had a good time last night at DemoCampMontreal1. I gave the first demo -- on, of course, the MediaWiki OpenID extension -- and I had some technical difficulties that didn't let me show off all the functionality. Which was kind of a bummer, but there were lots of questions about it from the audience, so that kind of made up my time. The room was packed, by the way -- pretty much anyone who's anyone in Montreal tech was there. I'm looking forward to DemoCampMontreal2 on 29 March! tags:

certifi.ca One of the best ways to establish credentials on the Web is to use a signed SSL certificate in your browser. It's fast, incredibly secure, and once you get it set up you can just forget it. They're also practically immune to phishing. Unfortunately, most people don't even know what browser certificates are, how they work, or what to do with them. Consequently, most Web sites don't support browser certificate authentication. Vicious cycle. But, one of the cool things about OpenID is that you can disconnect the authentication method from the Web site you're using. Most OpenID identity providers still use username/password combos for authentication, which is why critics have said that the standard is vulnerable to phishing attacks. I wanted to see if it were possible to set up an OpenID identity provider that used browser certificates as the only authentication system. So, in my copious free time, I've hacked up certifi.ca. It's based on the cool PHP OpenID Server that JanRain made, but I've ripped out all the password stuff, and now it runs on luscious certificatey goodness. I'm going to be enhancing the service in the near future, but I wanted to get feedback from folks interested in OpenID as soon as possible. I'm using it for my primary OpenID delegate, and it seems to be working great. Please give it a try and let me know what you think (admin@certifi.ca). tags:

DemoCampMontreal1 on Montreal Poutine There's an article on DemoCampMontreal1 on Midnight Poutine. That's me up on the stage, in the photo! tags:

Nepean Hotspurs Selects win On Saturday, a Muslim girl named "Azzy" Mansour, from Ontario playing in a soccer tournament in Laval was ejected from the tournament (by a Muslim referee, notably) for wearing a hijab -- reportedly because it was a safety hazard. (Montreal Gazette story, registration required.) Admirably, her entire team forfeited the tournament in protest. I'm not excited about Quebec's reactionary activity around Muslim, Sikh, and other religious community's different clothing rules. However, I understand that Quebecois -- and French people -- have a different idea of personal freedom than Americans. I try to be understanding and put myself in the Quebec headspace for this kind of stuff. Mostly, though: I admire the soccer team, the Nepean Hotspurs Selects, for standing up for their teammate and their friend. A lot of teams might have gone ahead and played without her, and it took some courage to drop out of a tournament they'd had high hopes for. They're sixth-grade girls, but they've learned something about integrity that most adults never learn. Kudos to them. tags:

Alexander Schmehl: The emanzipation of men - or: How to get your boyfriend to go shopping with you

Dear Ladies, if you'd like your husband / boyfriend to go shopping with you, get your shop to be at least a bit friendly to him. There is nothing wrong, if you need two hours to buy a new blouse. (Actually, I heard some men need some time for shopping, too, so that doesn't even count as "typical feemale".) There is nothing wrong, when your man has nothing to do... beside trying to find your clothes in an other size... or trying to figure out, if that color is apricot or peach, and if it would look good to something of the color pumpkin. What makes such trips horrible is that boutiques are often overheated (Well, that might be a must; they must not be too cold for a women to take her clothes of), narrow (How many clothes stands can you squeeze into a 10m2 shop?) and loud. If you want us to go shopping with you, go to a boutique, where a men can at least have a seat. Possibly with a water cooler nearby. That would make it a lot easier for us. A positive example is Eierund. They have some kind of "men and children area". Children will find comics and can watch movies, and men can read car and computer magazines (or steal the comics from the children). They even have sweet apples and a really comfortable couch. That's how you make your man enjoy going shopping with you! PS: Having a nice girlfriend, who doesn't take that long shopping helps a lot, too.

Ian Murdock: How about a Gmail Contacts API?

Since I’m on a Google kick these last few days, let me ask a question I’ve been kicking around in my head for a long time: When are we going to get an API for our Gmail contacts? Like scads of other people, I use Gmail as my primary mail “client” these days, and that means I want things like email autocomplete to work, which means Gmail has to know about my contacts (or at least their email addresses). Gmail actually has a really slick interface to contact management that I’d happily use as my main address book. Trouble is, it’s not synchronized with anything, most importantly my cell phone, where I also want that address book to be available. So, for now, I have to maintain two address books—one in Gmail (with just the email addresses), and one in my phone (with everything else). Invariably, it takes effort to keep them “synchronized”, and I’m not always successful at doing so. I was hopeful that the new “APIs to integrate with existing infrastructure” introduced in Google Apps Premier would finally address this shortcoming—after all, integration with corporate directories would seem to be a feature high on the “must have” list for any enterprise looking at Google. Alas, the APIs appear to only deal with single sign on and account provisioning, and do not appear to do any sort of deeper directory integration. With an API, Plaxo could presumably synchronize contacts between Gmail and phones (and Outlook etc.), or even better, someone could do over the air synchronization. There have certainly been a wave of interesting products doing similar things using the Google Calendar API. I’ve thought about doing a synchronizer with libgmail, by I’m not sure what would happen (e.g., would I somehow trip the “lockdown in sector 4” alarm, which given my reliance on Gmail, would be pretty darned disruptive). Thoughts? Anyone else in a similar situation?

Adam Rosi-Kessel: More Espresso Art

Via Jamie, an interview with an amazing espresso artist. As I’ve wondered before, it would be interesting to know if anyone has ever attempted to protect their copyright in espresso art. On further reflection, I think espresso art should meet the “fixed in a tangible medium” requirement, at least as much as ice sculptures which also tend to lose their form over time. I assume ice sculptures can be protected, although could not find an example in a quick search. I suspect the copyright office would accept a photograph as “identifying material” for the purposes of a registration deposit on a cup of espresso, as in the case of sculptural works. Be sure to check out the embedded video — it eliminates any concern that the espresso art photographs might have been digitally enhanced.

Next.

Previous.