Search Results: "eof"

16 April 2007

Alastair McKinstry: Looking for Planets, by Alan Boss

Looking for Earths: The Race to Find New Solar Systems is an excellent introduction book, as a scientific story of exploration and summary of the science of planetary discovery. Alan Boss is a planetary scientist and adviser to NASA on the search for extrasolar planets. He has had a front-row seat in the revolution over the last two decades that has led to the discovery planets outside our Solar system for the first time, leading to 215 known planets at last counting. The book is written in an first-person style that reflects the race to discover the first exoplanets in the 1990s. He describes historical searches for planets in the early 20th Century: the hunt for evidence of planets around Barnards Stara and the meticulous work over decades of Peter Van de Kamp, a good summary of the challenges in proving the case for planets in Astronomy, and explains the techniques used to determine other planets. The heartbreaking difficulties of proving the discovery are well expressed, as well as documenting the leaders of the field at the time. Along the way, he describes the discovery of the first Brown Dwarfs, the border cases between Stars and Planets, and the bureaucratic and other challenges involved in setting up large observatories such as the Keck interferometers capable of doing this work. This is ironic, as the first discoveries were actually made by ground-based observatories. Boss describes the race between the main teams, Geoffrey Marcy and Paul Butler of Lick observatory. The race was finally won by Michel Mayor and Didier Queloz of Geneva Observatory, who discovered the first extrasolar planet around a sun-like star, 51 Pegasi, by looking at radial velocity measurements of nearby stars. This turned out to be a close race, as the planet they had found had a short period of 4.23 days, implying the planet was what we now call a "hot Jupiter", orbiting very close into the Sun. Most teams had been looking for copies of our Solar system, looking for large planets such as Jupiter with orbits of around a decade, and had hence not started to analyse the data they had in hand, expecting to need years of measurements: examining the data showed that, had they analysed data in hand, they could have won. Looking for Earths does a good job of explaining the field of exoplanet research as it was evolving over Boss's careeer and particularly 1995-2005, with theoretical and computer models evolving as data arrived with new puzzles. In some places, the need to give a clear explanation of a topic such as the formation of planets from solar disks slows the pace of the biography, but the book does an excellent job of describing both the science and the life lived by those doing the work. Few books I've read have offered such a good summary of the field to date, along with a good bibliography and I would heartily recommend it both as an introduction to the field and as a model for science writing.

5 April 2007

Michael Prokop: crm114: Controllable Regex Mutilator and Spam Filter

Do you already know crm114? Taking quotes of the crm114 book:
What is this? Some kind of grep bitten by a radioactive spider?
— apocryphal CRM114 isn’t ugly like PERL. It’s a whole different kind of ugly.
— John Bowker
Want to get a calculator using crm114? No problem:
% cat > calc << EOF
 
  eval (:_dw:) /:@: :*:_dw: :/
  output /:*:_dw: \n/
 
EOF
% crm calc
(42*23)+(11/3.14) # press return and EOF (ctrl-d) at this stage and get the result:
 969.50318
There’s a crm114 book (PDF, 283 pages!) available for free download. Just apt-get crm114, the installed-size is less than 1MB. Thanks Maddi for pointing me to it again, it was on my todolist for ages. ;)

1 April 2007

Matthew Garrett

I've written a draft process for dealing with alleged violations of the Ubuntu Code of Conduct. With luck this will be discussed at the meeting on Tuesday, so if anyone has any feedback before then it'd be helpful.

14 March 2007

Michael Prokop: Maintain /etc with mercurial on Debian

Based on Bart Trojanowski’s blog article “etc snapshots with git” I removed one further item from my todo list: maintain /etc with mercurial on my Debian systems. First step is creating the repository and securing access to the repository. As mercurial stores all its files within one single directory named .hg you won’t have any further directories within /etc besides /etc/.hg, rocking - right? ;-)
cd /etc
hg init
chmod og-rwx .hg
Ignore a few files:
cat > .hgignore << EOF
syntax: regexp
(^)*.dpkg-new
(^)*.dpkg-old
(^)blkid.tab( .old)
(^)mtab
# add other files if necessary, depends on your setup...
EOF
Now commit the current state:
hg add
hg ci -m "initial checkin"
We want to commit the changes automatically when using apt-get/aptitude so let’s write and include a wrapper for it:
cat > /etc/apt/hg-snapshot-script << EOF
#!/bin/sh
set -e
caller=$(ps axww   mawk '/aptitude apt-get/  for (i=5; i<=NF ; i++) printf ("%s ",$i); printf ("n")  '   head -1)
hg add 1>/dev/null
STATUS="$(hg st)"
if [ -n "$STATUS" ] ; then
   echo "hg-snapshot-script: found changed files:"
   hg st
   hg ci -m "snapshot from $LOGNAME after: $caller"
else
   echo "hg-snapshot-script: nothing to be done"
fi
EOF
chmod +x /etc/apt/hg-snapshot-script
cat >> /etc/apt/apt.conf << EOF
DPkg  
  Post-Invoke  "cd /etc ; ./apt/hg-snapshot-script"; ;
 
EOF
Finally track the two files too:
hg add
hg commit -m "apt will track /etc automagically using hg"
That’s it. :-) Oh BTW: users of subversion might want to point their browser to /etc under svk (by Enrico Zini).

26 February 2007

Michael Prokop: argument list too long

A problem everyone stumbles across (at least) once:
% tar zcf stats_2005.tar.gz stats_2005*
zsh: argument list too long: tar
The reason? Too many files for the ARG_MAX limit. ARG_MAX defines the maximum length of arguments to the exec function (more precise: bytes of args plus environment for exec), defined in /usr/include/linux/limits.h on your Linux system:
% ls -la   grep -c stats_2005
9037
% getconf ARG_MAX
131072
% cpp << EOF   tail -1
#include <limits.h>
ARG_MAX
EOF
131072
%
Ok. But how to work around the issue? Possible solution for GNU:
% find . -name 'stats_2005*' > filelist
% tar zcf stats_2005.tar.gz --files-from filelist
Without the temporary file (filelist in our example):
% find . -name 'stats_2005*' -print   tar zcf stats_2005.tar.gz --files-from -
zsh provides zargs (but AFAIK it doesn’t work with gzip in the same command line due to the way zargs works, so create the archive in one step and compress it in another step later):
% autoload zargs
% zargs -- stats_2005* -- tar --ignore-failed-read -rpf stats_2005.tar
The approach works with other tools than tar as well of course, usage example for afio:
find . -name 'stats_2005*' -print   afio -o -Z stats_2005.afio
Depending on the type of problem (rm, cp, mv,…) you can choose differented approaches as well, some further examples:
% for file in stats_2005* ; do rm -f -- "$file" ; done
% perl -e 'unlink <stats_2005*>'
% zsh -c 'zmodload zsh/files && rm -f -- stats_2005*'
% zsh -c 'autoload -U zargs; zargs -r ./stats_2005* -- rm -f'
% ksh93 -c 'command -x rm -f -- stats_2005*'
% find . -maxdepth 1 -name 'stats_2005*' -print0   xargs -r0 rm -f
% find . -name 'stats_2005*' -print0   xargs -0 mv -i --target-dir=/destination
% zmodload zsh/files ; mv -- stats_2005* /destination

15 January 2007

Lucas Nussbaum: ruby & native threading

Stefano Zacchiroli said:
To balance this, according to my first read of Ruby’s threading capability, it’s my impression that not only at most one thread can execute Ruby code at a time (limitation shared by OCaml, due to the non-distributed nature of mark and sweep garbage collectors), but also a thread blocked on a syscall will block all other threads to run. Dumb Ruby threads (but I still hope I’m wrong …)
This is not totally true:

9 January 2007

Michael Janssen: Learned Bad Ideas

There are some things that I have learned over the years as bad practice. There are some that I have learned through reading and contemplation, and a little experimentation. One of the categories of bad things that I have learned is visual aids for statistics. There is basically one cardinal rule for data presented in a graphical form:
Let the user see the actual data.
It seems kindof obvious, doesn't it? I'm presenting data, you should be able to see it. If you want to show me that there are 450 widgets, and 230 whazits, and only 210 whositz, then you should show those. The simplest way of doing this is by just listing them out in a table:
TypeAmount
Widgets450
Whazits230
Whositz210
That's simple, isn't it? However, it doesn't help the viewer any. They're pretty good if you want to know exactly how many of something there is, but not great at other things that you want to do with data. How do you find the minimum (or maximum) of all of the values? You scan, remembering the highest one you saw so far, and then go back to that one and find out. If the goal is to somehow compare, the viewer will be helped out by using a graphical display of some sort. One thing that humans are good at estimating is length. Quick, tell me what we have the least of: Bar graph.  If you're reading this with a text-only browser, this post won't be as interesting. Sorry, lesser-sighted folks.
That was easy, wasn't it. Bar charts are good - they can still be abused by people in evil ways, but most of the time they're pretty useful.

All of this is working up to pie charts. What's smaller, Whazits or Whositz here:
Pie graph.  Text-only people can breathe easy, they can't see the evil.
Is Widgets half or more than half of the pie? Pie charts are the bad seed of the graph world. They aren't very useful, hang out a lot, and don't help you much. The worst thing about pie charts is that they aren't even good at the thing they're supposed to be the best at: comparing relative sizes. Consider thanksgiving, or christmas, or whatever large gathering you prefer where there is pie. Lots of pie slices are laid out on the table. Which one is the biggest? It's hard to tell. It's even hard to cut even slices from a normal pie. Sure, you can cut in 4ths, 6ths, or 8ths, but I challenge you to cut a pie in 5 pieces equally - it's really hard! It's because humans aren't great at judging the differences between angles. They're only really good for seeing one thing: the largest piece in the pie. Even then, it's sometimes questionable - if you looked at a evenly sliced pie, could you tell the difference between a 23% piece from a 20% piece? The bad thing about this is that they are ingrained into our culture. There wasn't a finance report in the last 10 years without a pie chart.

All of this ranting was basically brought to you by a recent post on BoingBoing. This post features the most horrible monstrosity I have seen in a long time: the hierarchial pie chart. Feast your eyes on this monstrosity. I challenge any reader to tell me: what is the smallest third-level category? What is the largest?

6 January 2007

Clint Adams: The NSA wants to protect you from bad guys

10/01/05 10:47PM - Me too. Drunk, partying, and telling EVERYONE about you. all my love. 10/02/05 12:24AM - I'm back. Long day, but if you want to talk, I'm here. Love you. -Sparky 10/03/05 01:27PM - My soul's joy, I am jealous of that breeze, though in caressing you it warms my whole world. I will give you monsoons. -Sparky 10/03/05 07:58PM - I never get tired of hearing it, and I love telling you...I love you. -Sparky 10/04/05 04:11PM - Been a wonderful day-despite having puns about melons and the phrase "honeydew me" stuck in my brain. My other ubiquitous thought has been "I love her so much" 10/04/05 06:33PM - Saw you were feeling moody, so I hope this tips the balance to something positive: *kiss*...I love you, XXXXX. -Sparky 10/05/05 09:02AM - I was so tired this morning I wore my ugliest shirt to class (purple stripes-I look like an asphyxiated candy cane); but waking to thoughts of you-worth it. 10/05/05 10:41AM - And just for good measure-and because I can't stop myself-I love you, XXXXX my darling. -Sparky 10/06/05 01:07PM - Know what? I love you. *kiss* 10/07/05 12:36PM - X. - It's raining here, so I'm thinking of my sunshine. *kiss* -Sparky 10/09/05 02:09PM - Sleep, rest, recover from your ephermeral MS, party girl. And be warm in my love. *big kiss* All my love to you, my darling. - Sparky 10/10/05 12:58PM - Tired today, but each time I close my eyes, however briefly, I think of you- turning fatigue into elan. Love you, hon. -Sparky 10/12/05 03:49PM - Everything about me misses you, longs for you, and loves you. I love you a ridiculous amount, my sweet everything. - Sparky 10/14/05 03:59PM - The incompetence is especially charming, my dear. Of course I love you that much more now. 10/14/05 07:52PM - Everything okay? If you need some armchair navigation or some comp'ny, give a holler. *kiss* 10/19/05 03:39PM - Getting coffee filters. Long line. 10/21/05 09:55AM - One weirdo showed up. *sigh* Drive safely. I love you. 10/21/05 11:52AM - Zero...surprise. *smooch* 10/25/05 08:36PM - Novacaine, bad reception, long drive, and snow. Long weekend. I'll talk to you tomorrow, dear. 10/26/05 11:28PM - Sorry, really tired today (weather) so just sitting on the couch. Read your LJ, figured you'd be tired. 11/01/05 03:47PM - Been terribly over-worked; it's semester crunch time. Sorry for being unavailable but it can't be helped. I'll try to call b/n classes tomorrow. :-) 11/01/05 08:24PM - Thanks dear. I've dealt with worse though.

5 January 2007

Benjamin Mako Hill: Who Owns <em>Free Culture</em>?

The previous year saw far too much fighting over who gets to define and control the term free culture. The biggest problem, in my opinion, is that these fights conflate a very important discussion about the goals of a set of nascent social movements -- or the lack thereof -- with much less important issues of semantics, definitions, and control over terms. The term is being used in a way that describes a whole lot of projects I support and participate in fully -- and a few I don't. And I think that's OK. When Erik M ller and I launched the Free Cultural Works Definition (at the time, the Free Content and Expression Definition), we struggled to find a good term for the works that we wanted to liberate. We thought about using the terms content, expression, knowledge, information, art, data and communication but each word seemed to exclude an important body of works or producers. Few musicians we knew thought of their productions as "content" while few encyclopedia writers did not. The term we liked most was culture: it defines a very broad set of practice and has very positive connotations. Of course, others had already been using the term free culture so we spent some reading up on the term and talking to the people most closely associated with it. Originally, the term seems to have its roots in the book Free Culture by Lawrence Lessig. I reread the book to get an idea for exactly what Lessig meant when he used the term but, upon reaching the end, I found myself without a good answer. The book's index included a promising entry for "Free culture, defined" which pointed to a short section in the preface:
A free culture is not a culture without property; it is not a culture in which artists don't get paid. A culture without property, or in which creators can't get paid is anarchy, not freedom. Anarchy is not what I advance here. Instead, the free culture that I defend in this book is a balance between anarchy and control. (emphasis mine)
Framed by a negative definition of what free culture is not, Lessig's definition describes the broad space between two unattainable extremes. This resulting ambiguity is fully intended: Lessig has not only spoken out against my particular suggestion but against any definition and the process of offering ex cathedra definitions or goals altogether [1]. In personal conversations about our definition, Lessig was initially very supportive. In fact, it was Lessig who introduced Erik and I to each other and suggested that we work together. What Lessig did disagree with us on however, was calling the definition the Free Culture Definition. I think that Lessig felt some sense of ownership of the term and felt that he and others had defined it and been using it in a way that was broader and incompatible with the definition we were proposing and with any definition of the type of we were suggesting. Early on, Lessig blessed a group of students to create a Free Culture student movement. Most active now in Harvard Free Culture and Free Culture NYU and but in a handful of other places as well, these groups have been involved in everything from the promotion of transgressive approaches to IP, to speech bubbles, to anti-DRM work, to protecting the right of cereal restaurants to operate. When Erik and I suggested to this group that they might benefit from adopting the Free Cultural Works Definition as a set of explicit ideals or goals for their movement, the larger part of the coalition soundly rejected the idea. Like Lessig, they wanted free culture to refer to wide variety of projects and did not feel good about describing any work by sympathetic parties as "non-ideal." Erik and I were faced with two choices: we could call our definition the Free Culture Definition and in effect engage in a power struggle with Lessig and with some portion of the free culture student movement or we could pick another term. While we don't like the alternatives as much as free culture, we didn't have a lot of trouble deciding that going with a term like free cultural work or free content and expression was the better choice. This is why I am a little worried about the recently announced UK-based Free Culture Foundation. I have nothing but respect for the founders (Matt Lee, Tom Chance, and Rob Myers) and trust them to create the type of free culture organization that I would like to see. I am very much looking forward to working closely with them on this project in the future. They seem likely to choose a set of goals and adopt a set of strategies in line with the ones I've argued for. But in that my goals and strategies have run into opposition among many of the most visible people using the term free culture in the past, that's also why I'm a little worried. SJ Klein and I were recently saying that its time to start naming organizations and projects in this area using only words in dead languages. That way, we can side-step the (unimportant) semantic arguments over who gets to control existing terms and focus on the real goal of building stronger social movements, setting goals that sound as unthreatening to each other as they actually are, and building better tools. Without semantic arguments in our way, we'll be able stronger to build coalitions and work together in all the ways we should be.
[1]

This is an important distinction because it is also possible to disagree with the first fully articulated definition but also feel that offering another set of goals -- for example, a set that allowed for commercial use or anything under current CC licenses -- was productive.

After all, I have been arguing for much longer in favor of any set of goals much longer and more strenuously than I have argued for any particular set of goals and I still feel that a set goals is much more important than any paritcular one.

27 December 2006

Jaldhar Vyas: What's Crazy About Standing Toe To Toe And Saying 'I Am'?

One of Don Marti's predictions for 2007 is "Increased Support Offerings for pure Debian" It's a nice thought but I don't see it happening. While Debian is technically excellent how many organizations are going to want to hold their business hostage to a thousand prima donnas moaning about their motivation or lack thereof? No my prediction is that 2007 will continue the present trend of derivatives using Debian as a solid foundation while bypassing the dysfunctional aspects of our culture and adding what Debian can't or won't provide.

11 December 2006

Amaya Rodrigo: The joy of toys

Almost one year ago I got a great present from a great man, a Linksys Wireless router with a serial port that he had soldered on it himself, running OpenWrt (White Russian). Sexy!

This toy has made me happy ever since, even though this great man insisted on me using WPA, which basically means most of my friends can t use wireless at my place (blame crappy firmware), and I still, from time to time, have some wire mess around my living room, but that is also fun, specially for the cats, so no complaints here :)

I recently upgraded to White Russian RC6, and this great man pointed me to a wonderful web interface to manage the system with: X-Wrt.
This web interface is very helpful for me, even though I can ssh into the router, I am used to my aliases, longer history, my way of working on the command line, which makes my ssh sessions there a bit frustrating, as I am getting old and a bit reluctant to changes. The web interface also has nice graphs and stats, a beautiful CSS layout, and it makes my life 100% easy. This stuff just works^Wrocks!

The installation system was so easy I was amazed. Just fill in a form with your Linksys IP address, click on install and you are done!

I miss https for the config interface, and I would love to find a Linksys model that supports OpenWrt and does DSL at the same time, so I could get rid of the crappy 3com doing the ATM part in bridge mode. Less devices, less power wasted, less points of failure, happier me.

The amount of packages available for OpenWrt is just amazing, and it has a package manager that slightly reminds me of apt-get. It can even do asterisk!

So if you own any of the supported devices, I encourage you to get rid of the crappy firmware they usually ship with, and have some White Russian fun with it, which also happens to be one of my favourite drinks :)

Enjoy!

30 November 2006

Evan Prodromou: 8 Frimaire CCXV

I'm a small, petty person. I know I am. I should probably be really happy that the newest Eye of Gnome has such great image cataloging and review functionality. It's a nice step forward in usability from the mishmash of image-viewing-and-cataloging-and-such tools in earlier versions of Gnome. But, I'm not. I'm left-handed, and when I take portrait-style snapshots I turn my little camera 90 in the opposite direction from 85-95% of the human population. Which normally is neither here nor there, but... when I'm going through my camera images on my computer, and turning the portrait-mode ones so they're aligned correctly, there's a hotkey in EoG to turn a picture clockwise, but not one to turn it counterclockwise. Why? I smell anti-left-hander conspiracy. In conclusion, I hope I've proven that no matter how great a tool becomes, someone will always find something to whine about it. tags:

My wife is a winner Maj just won NaNoWriMo. Go Maj! tags:

17 November 2006

Evan Prodromou: 26 Brumaire CCXV

I've been pretty interested in making Web sites WebSoftwareFriendly for a while, so I'm pretty psyched to see that Yahoo and Microsoft have embraced the Google Sitemaps format. They've started a site for the format, http://www.sitemaps.org/ , which lists out the protocol, which seems to be unmodified from the original Google version. Sitemaps have been a necessary part of Web sites for years. Netscape -- back when it was a browser -- had an RDF-based sitemap format that had a brief flare of popularity just before Netscape went into its weird late-90s spiral. Then RDF people got really abstract and academic, and decided that sitemaps weren't what RDF was all about, and RDF sitemaps were forgotten. So sitemaps went off the air, and we've had to wait for a standard on the idea until today. Yahoo lets you submit sitemaps today, as does Google; Microsoft Live supposedly will support it sometime in 2007. One thing that's interesting is a new "ping" protocol, for when the site is updated. I'm not sure how well it works or if it's even implemented, but it's interesting to see it working. I think the weak part of this whole thing is that site owners have to submit sitemaps to each search engine; it would be nice if there were some sort of discovery, like an HTML <link> element, so that other types of Web software besides the big search engines would benefit. tags:

Knowing when to hold 'em From O'Reilly's wrapup of the Web 2.0 Summit, I got a good link to some other Evan's Knowing When to Hold Em. It's a little discourse on the growth of Web 2.0 sites after they've been acquired. Evan Williams, the author and the guy who sold Blogger to Google, knows whereof he speaks. He has some graphs that show traffic for various Web 2.0 sites sloping precipitously upwards after their sale to some big company. The implication being, I guess, that the sites would have been more valuable to sell later. He also points out that few of the sites have benefited visibly from being acquired. I'm not sure the argument makes sense. Traffic is a cost centre as well as a potential source of revenue for companies. Keeping servers up, running, and cogent is hard work. Most small Web sites have been throwing labor and cash into their sites for a while, and the ability to keep such a site going into the Alexa top 100 is beyond most small companies. Paying for a lot of servers, developers, designers, sysadmins and bandwidth for another couple of years may make the site bigger and more desirable for acquisition, but it's a big risk to take. My favourite part of the discussion is that my friend Kevin Fox shows up at the end with some good points about when and how to invest. tags:

Free Software Java I've been programming in Java off and on since the first beta versions of the VM and JDK in 1995. The language has always had a certain cachet with the Open Source set -- the free-as-in-beer tools, good documentation, and cross-platform compatibility made it an Open Enough system, roughly equivalent to proprietary C compilers shipped with every Unix variant. Its release was roughly synchronous with the growth of the Web, and Java applet support in Netscape made the first round of rich client applications conceivable, if not exactly elegant. And then Java grew onto the Web server; and into other parts of the network; and then all of a sudden everything had to be Java. The system grew from this nifty little tool to The Enterprise Solution For Your Enterprise. Serious people worked on Java. I worked on Java when I needed to be serious. Java stopped being fun. Early efforts at getting Open Source Java VMs and development kits working were pretty successful, but they just couldn't catch up with the rapid pace of development on Sun's core product. But inclusion of the language in the Gnu Compiler Collection, the great JBoss J2EE system, the growth of Apache's Jakarta project, and the growing Java Community Process made Java less and less a regular product, built in a silo behind a corporate firewall, and more of an Open-Source-y project. So I guess it was inevitable that Sun would either Open Source its codebase, or end up irrelevant. They probably squeezed just about all they could out of it without going Free, so that's pretty impressive. I think Free Software advocates are supposed to be grateful about this; my main reaction is: why did you put everyone through all this crap for so long? You've wasted 12 years that could have gone into making Java really incredible. We'll see what happens. My main interface with the JVM for the last year or so has been through scripting languages like Rhino JavaScript engine (very fun) and Pnuts. Who's got time for Java programming any more? tags:

10 November 2006

Daniel Stone: ripping on ubuntu is the new black

One of the annoying features of reading several planets, is that you end up reading entries from people you otherwise respect, who seem to have various complexes about nonsensical issues. We all saw the month in which half of Debian decided it was cool to rip on Ubuntu, and now apparently it's the new cool thing to do if you work on Fedora.

According to a particularly obnoxious entry, the quality or otherwise of Ubuntu's kernel[0] does 'damage to the free software community'. Now, they've focussed on binary drivers. Which is fair enough: I am personally quite uncomfortable with binary drivers, and extremely unimpressed with Ubuntu's recent move towards binary drivers by default. While I respect the fact that they still encourage users to install free drivers, providing them by default is not a winning move, in my opinion. But I'm not going to discuss this further right now, because if I do, the terrorists win.

The reason the terrorists win, is because some people like to furiously handwave and make strawmen. Apparently now, everyone who's ever touched Ubuntu is rabidly for binary drivers, but the problem here is the handwave from criticism of Fedora's alleged community into yet another ramble about the kernel tree and binary drivers.

I certainly hope the Fedora community is more mature than this, both in general, and in their ability to have a constructive debate about the level of its community involvement. Right now, it is not even disputed that there is effectively none. At first glance, they may appear similar, but if you look further, the similarities vanish. Anyone can come in and get involved in the decision making in Ubuntu, but more important than that, the process is at least completely transparent, so you can see what's going on, on public lists, at every step. Fedora does not have this: decisions magically appear On High from RHEL types. This is not necessarily a bad thing, and does not necessarily result in a lower-quality distribution, but if everyone could just accept this as being true and move on, rather than bitterly baiting a successful community distribution about it, I think everyone would be a lot happier.

The biggest difference is -- yes, basically all the Ubuntu core developers are employed by Canonical. These people were handpicked from the Debian community originally, and now a great deal of them start as Ubuntu community members, and are employed by Canonical because having them work full-time on this stuff would be awesome. The process is still entirely transparent: being employed is a mark of recognition (sorry), and a request to continue working on this even more, rather than a pre-requisite to being able to do anything. Witness Fedora Core vs. Fedora Extras, for example: there are quite a few packages that non-Red Hat employees are prevented from meaningfully contributing to.

So, the summary in a nutshell: binary drivers bad (and Ubuntu moves towards promoting same even worse), Fedora 'community' not at all, handwaves bad, refusal to get involved with a meaningful debate about community governance and structure without engaging in petty mudslinging and pointless handwaves inexcusable.

(Disclaimer: I am not involved with any distributions, nor do I have any professional affiliation with them either. I'm just an irritated observer.)

[0]: I don't claim to have any insider knowledge here; the only point at which its quality or otherwise has become an issue for me lately, is a random hang in gettimeofday() in a corner case recently, which I've been too lazy to isolate and report as a proper bug; I worked around it in the X server anyway.

29 October 2006

Evan Prodromou: 7 Brumaire CCXV

It's a beautiful day here in wt:Los Altos Hills, wt:California, where my parents live. It's been unseasonably warm this week, ever since we hit the ground on Thursday, and we've been enjoying the warm weather to the fullest. Amita June is storing up vitamin D (a precious commodity in the Canadian north) for use during the rest of the autumn and winter. We had an early flight into wt:San Francisco from Montreal on Thursday. There's only one direct flight from Trudeau airport to SFO on Air Canada per day, and it takes off at 8:30AM. Maj is pretty convinced that we need to take direct flights with no stops while we have the baby; I'm mixed on the issue. I think a break every 2-3 hours makes it easier on all of us -- everybody gets some exercise and a little change of scenery. But Maj wisely points out that the takeoff and landing is the hardest part of flying with a little one, so direct flights minimize those. I dunno. Anyways, the 6 hour flight was uneventful, except for people coming up to us to comment on how good our baby is. The movie was "Click", which as I've mentioned before is the worst movie of 2006 bar none. It was pretty disappointing to see it come on -- I like watching movies on the plane. It was bright and sunny at SFO when we landed, and my mom met us at the baggage claim. We had a bit of a struggle getting out to the short-term parking -- for some reason the elevator queue at SFO is out of control; probably all the people loading and unloading luggage from the elevator. In any event, they now have elevator attendants and structured lines to make sure things go in an orderly, if slow, fashion. Back at the house, we had a late lunch of tuna salad and then Maj, Amita June and I did a big group nap. My mom had set up a toddler bed for AJ, and she's been sleeping in it since we got her. I think she's just turning the corner where having a little more space in the bed for herself is more important than nursing all night. Which I think is better for all three of us. Thursday night my dad came home from work in wt:Morgan Hill and we had take-out burritos with my parents, my sister-in-law Pam and Amita's two cousins Elena (3) and Tessa (10 months). The three girls got along like gang-busters; Elena seems to like being the older sister showing the younger girls what to do. tags:

Jagi's Birthday Party Friday night we went up to the City for my brother Nate's annual Halloween party. Nate lives on a precipitous incline in North Beach, the Italian-Beatnik section in the northeast of San Francisco with steep hills, great caf s and a significant dearth of parking. We managed to get Amita June down to bed for the night, gave her grandparents far more instructions than were actually needed, and then sped off into the night. We were running late, but we stopped on the way to pick up Maj's brother Brian, who lives in Noe Valley. It was the first time we'd seen his new apartment and we probably took longer than necessary there, but we finally got off towards North Beach around 7:30PM. And... we drove and drove. Every street I drove down was packed, and I kept doing U-turns and trying alternate routes to get where we were going. Finally, on Van Ness Avenue at California Street, we got stuck in a gridlock that wouldn't move at all. Friday nights are pretty bad for traffic in San Francisco, but at this point we sat through 5 red-and-green light cycles without any motion whatsoever. Unable to turn, unable to go forward, unable to go back. When traffic finally started moving again, we saw what the problem was: the last dregs of the Critical Mass rally were just passing through. Critical Mass is a bike rally that happens on the last Friday of each month in San Francisco and elsewhere; hundreds of bike riders take over streets and block traffic. It's really fun if you're riding; it's infuriating if you're driving. We drove down further on Van Ness to go through the Broadway Tunnel into North Beach, but it was blocked by... Critical Mass! They'd turned about and come to block our way again. This time, I was able to do a U-turn and get over to Nate's house through side streets. We had a good time at the party itself. Nate and his roommates have been having a Halloween party for years, but increased size and complaints from landlord and neighbors have made them move the party to a nearby bar, Woody Zip's. With two stories, two bars and a dance floor, it was just about the right size for their event. Nate was dressed up as Buzz Lightyear from "Toy Story"; Brian had a huge fat suit and a sumo-wrestler outfit. Maj and I were millionaires, with tiaras and top-hats. We all looked pretty good. Woody Zip's even let the guys bring their own Jagermeister machine, affectionately known as "Jagi". They got the machine for one of their Halloween parties a few years ago, and they've made special costumes for it each year (this year: Spongebob Squarepants). We had a shot of Jager and toasted the machine's maturity, then moved on to karaoke and dancing. But only for a while; by 10PM we had to start heading home. We worried quite a bit about Amita June, but when we got back she was asleep in the arms of her Pappou in the TV room. The "parent curfew" is a little hard to deal with, but on the bright side it makes sure you can find babysitters so you can go out in the future. tags:

Baby Circus Last night we went to visit our friends Zach and Wendy in wt:El Cerrito, in the East Bay. Zach and Wendy have been our friends for... oh, more than 10 years now, I guess. They had a handsome little cowboy son two years ago, on the same weekend as my bachelor party in wt:Las Vegas (making it easy to remember his birthday... better than I remember that weekend, is for sure). They have a nice house just near the BART station, with lots of room... although about 2/3 of it is taken up with Wyatt's toys. Wendy is a Web developer for Nolo Press, the do-it-yourself law book publisher. Zach is a hard-working computer genius, one of my favorite people to work with, but he's hung up his spurs to be a full-time stay-at-home dad and go back to school. We had dinner at the Kensington Circus Pub, just up the hill from Wendy and Zach's house. It was a great place; an English-style pub with Fuller's ESB on tap, and a kids' play area underneath the dartboard. Amita June and Wyatt ran around playing while we had fish-and-chips and burgers. It's a great recipe for getting young parents to come to your restaurant; I wish more places would use it. We spent the rest of the night talking about wikis and web sites and all the opportunities there are available to share information in creative ways. We dragged home after Wyatt's bedtime, and Amita fell asleep in the car on the way back home. Greatest thing in the world! tags:

I learn fire I had drinks with Hugh McGuire, founder of Librivox, at La ka on St. Laurent last Wednesday. It was a real good time -- Hugh has had similar experiences "leading" that public domain audiobook project that Maj and I have had with Wikitravel. Another project he's working on Collectik.net, an interesting tool for sorting and organizing podcast streams. I have to admit that I've been skipping the podcast wave -- much like I skipped blogging before it -- and I don't listen to a lot of podcasts. But Hugh got me interested, and now I'm looking around at it. I find there are a lot of interesting tools for podcast catching for Linux; even Rhythmbox, the Gnome music player, can handle podcasts. I'm finding it interesting to listen to them; DestinyLand and Chris DiBona's FLOSS TV are both interesting, as well as the CBC podcasts. I haven't figured out how to listen to Vu d'ici, though -- m-c doesn't seem to have an RSS feed with just the podcasts in it. Or am I missing something? tags:

David Welton: Idle Ajax callback for Rails

I'm working on an application that needs an idle callback (do something after the user has been idle for N seconds). It was pretty easy to hack up once I found some example javascript code (hopefully it works in IE too...):
def on_idle(timeout, options)
  timeout *= 1000
  remote = remote_function(options)
  javascript_tag("
var alarm =  
  remind: function()  
    # remote 
    delete this.timeoutID;
    this.setup(this.ms);
   ,
  setup: function(ms)  
    this.cancel();
    var self = this;
    self.ms = ms;
    this.timeoutID = window.setTimeout(function(msg)  self.remind(); , ms);
   ,
  cancel: function()  
    if(typeof this.timeoutID == \"number\")  
      window.clearTimeout(this.timeoutID);
      delete this.timeoutID;
     
   
 ;
alarm.setup(# timeout );
window.onblur = function()   alarm.setup(# timeout )  ;
window.onfocus = function()   alarm.setup(# timeout )  ;
window.onmousemove = function()   alarm.setup(# timeout )  ;
")
end
I use it like so, after putting it into my application_helper.rb file.
<%= on_idle 600, :url =>   :action => 'on_idle'   %>
It could probably improved by making it take some options to determine which events cause un-idleness and perhaps call a no-longer-idle hook. I'll update this page with those changes should I get around to them. I wonder if there's a good, centralized place to submit these kinds of little hacks to? The Rails trac system seems to be full of spam, indicating that people aren't triaging bugs at all.

23 October 2006

Thijs Kinkhorst: Wie Kies Jij.nl

With the elections for the parliament upcoming I've been considering who to vote for this time. For a longer time now I'm considering voting for the PvdA (Labour Party) lead by Wouter Bos. Bos has really refreshed the party and got rid of many of the old (and stale) socialist ideals, replacing them with more modern, still social views of society. He's also from a business background which is a welcome alternative to all the career politicians. My choice had been made. Until today. I discovered wiekiesjij.nl, "whogetsyourvote.nl", a great website aiming to better inform voters about the people on the (long) lists of candidate. Over 80% of votes on a party go to the party leader, while most lists can have over 50 candidates. The website allows you to search on personal aspects of the candidates. After some fiddling I tried the combination vegetarian, < 30 y.o., atheist and reached exactly one candidate: Kirsten Verdel, number 58 for the PvdA. From her blog she seems very sensible, and an extra qualification is that she's worked at my (everyone's?) favourite ISP XS4ALL. So my vote will go to Kirsten. It will end up at the PvdA, and Wouter will get in anyway, but I also support someone whose interests are quite similar to mine. An excellent combination. Thank you, wiekiesjij.nl for providing this insight.

Martin F. Krafft: Testing mdadm

The problem with being the mdadm maintainer is that it doesn't make any friends but potentially quite a lot of enemies. Even though it's actually very unlikely that a new mdadm version causes data loss (mdadm is only the remote control into the kernel), people seem to exhibit unexpected reactions when their 500Gb RAID5 array containing everything doesn't want to start anymore (Hi Lars!). In such a case, don't panic, don't do anything without understanding the implications, and consider asking for help. That said, I would appreciate if you guys helped me test the latest mdadm releases a bit more thoroughly before the package is frozen for good. I do extensive tests myself, but as Murphy would be able to predict, the problem only ever occur on other people's machines, and I'd much rather fix them before etch than after. The easiest way to help is by adding my package repository (i386/amd64) to your sources.list file, and configuring the APT pins appropriately:
# cat <<_eof >> /etc/apt/sources.list
deb http://debian.madduck.net/repo sid main
_eof
# cat <<_eof >> /etc/apt/preferences
Package: *
Pin: release a=sid, release o=madduck
Pin-Priority: 50
Package: mdadm
Pin: release a=sid, release o=madduck
Pin-Priority: 600
_eof
# apt-get update; apt-get upgrade
Alternatively, you can just download the package for i386 or amd64. If you're running sarge and are willing to test, that would be great! I've prepared backports, which you can use like so (note how you need backported debconf and lsb-base packages too, the latter of which is already on backports.org):
# cat <<_eof >> /etc/apt/sources.list
deb http://debian.madduck.net/repo sarge-backports main
## unless you have backports already enabled:
deb http://www.backports.org/debian sarge-backports main
_eof
# cat <<_eof >> /etc/apt/preferences
Package: *
Pin: release a=sarge-backports, release o=madduck
Pin-Priority: 50
Package: mdadm
Pin: release a=sarge-backports, release o=madduck
Pin-Priority: 600
Package: debconf
Pin: release a=sarge-backports, release o=madduck
Pin-Priority: 600
Package: lsb-base
Pin: release a=sarge-backports
Pin-Priority: 600
_eof
# apt-get update; apt-get upgrade
The mdadm backport can also be directly downloaded for i386 or amd64, the corresponding debconf package is here, and lsb-base is resides in the backports.org archive. Much appreciated! NP: Barclay James Harvest / Gone to Earth

18 October 2006

Brett Parker: I want one of...

These! Shiny, compact, nice. Now, who's going to buy me one? :)

10 October 2006

Evan Prodromou: 18 Vend miaire CCXV

I've been a fan of the Open Directory Project for a long time. I finally volunteered to become an editor about a month ago, and I just started editing my first category, wiki farms , today. I hope to get the category up to good shape in the next few days. I've now got an ODP profile, too. tags:

Hudson Maj, Amita June and I went down to wt:Hudson (New York) over the weekend for the wedding reception of our friends Morgan and Kate. The trip down was fantastic -- the colors in the wt:Adirondacks were really amazing, just hitting their peak. Amita June had a good drive, too: she got to look around a lot, listened to some music, and had a nap of about an hour and a half. Hudson was a cute town, but not cutesy like other parts of the wt:Hudson Valley can be. The town is small -- 4-5 streets wide -- with big brick buildings lining the main street down to a promenade overlooking the Hudson River. There are a few gourmet restaurants and a disproportionate number of art galleries and antique stores, but it doesn't feel like the locals have been pushed out of their town... yet. We stayed at the St. Charles Hotel, as arranged by Kate's stepmom for most of the guests. It was functional and clean but otherwise unexceptional. There was a bar and a restaurant downstairs, and the hotel itself is just opposite a nice little park. Sunday morning we had breakfast at the Earth Kitchen organic market; I had a bowl of granola and fruit, Maj had a huge plate of huevos rancheros, and AJ ate whatever she could get off our plates. We walked around town and down to the waterfront, where we got a panoramic view for miles up and down the Hudson Valley. With the leaves nearing their height of color, it was an awe-inspiring view. We took a late lunch at Mexican Radio, a branch of a restaurant by the same name in Manhattan. It had good quality California-style Mexican food, with a few fusion dishes (like "Mexican spring rolls") that were probably overdoing it a bit. The margaritas were top-notch, and they have a tequila sampler option with three excellent tequilas for... $125! You won't normally lose that much money on three shots of tequila unless you pass out in the gutter in wt:Nuevo Laredo. The reception itself was at the Ca' Mea restaurant, right next to the historic Hudson Opera House. Kate and Morgan were in good form, playing goth-y music from their early days, and family and friends had a good time too. We all probably ate too much, and Maj and I both had hangovers the next morning. Amita June, however, had an excellent time running around the party and dancing with the bride. She was made for weddings. The drive home the next day was less than optimal. We did brunch in the St. Charles's restaurant, Bridges, and then stopped by the house of Kate's dad and stepmom for an afternoon get-together. They have a really nice Victorian house on a hill above town that overlooks the valley. We had to leave after only a few minutes, though, since we'd been lucky enough to get guest-listed for the Massive Attack show in Montreal that night. Trouble hit us as we were coming up the 87, though. First, the baby refused to sleep, getting more and more hysterical the longer she went awake. By 4:30PM, we'd had to stop so many times to soothe her that we were starting to get worried about the time. Then, we hit a detour on the interstate -- a huge accident had happened going through the mountains. We got into a sluggish line of cars wending its way along highway 9, and by the time we were back on the interstate we knew we were going to be late. We decided that luck was against our going to see MA, so we called and canceled our baby-sitter and sent email to our friend DJ Ghostbeard who'd asked us to come to the show (although we didn't get a call through... his voicemail box was full). We stopped at Geoffrey's Pub in wt:Plattsburgh for a late dinner of blackened salmon, broiled seafood and mashed potatoes, and then got back on the road. ...and straight into a 2-1/2-hour line at the Canadian border. This weekend was Canadian Thanksgiving, and apparently a lot of people took the opportunity to dip down into the states for a last bit of outdoorsmanship before the winter frosts settled in. Amita June, already a little frantic from not sleeping, went completely ballistic, and although we managed to keep her mellow most of the time, 2 hours in a line of cars with a crying baby is a little bit much for anyone. We didn't get back to Montreal until nearly midnight. It was great to get home, finally, and as usual travel's made me appreciate staying in one place. The Gazette this morning says the Massive Attack show was excellent, but I'm glad we didn't try to make it -- coming in 4 hours late is just too much. We're off to wt:Halifax next weekend for our wedding anniversary, and hopefully we'll be back into travel mode by then. tags:

Destinyland Dave Cassel has an excellent list of the 100 Greatest Internet Moments. A great compendium of Stuff What Happened over the last 10 years in cyberland. I think Dave's one of the best Internet culture observers out there. I'm glad to see he's got a new podcast, Destinyland, in which he tears apart the weird media culture we live in. Example: the crazy spiral of Dana Plato. Example: Schoolhouse Rock: Behind the music. Example: Dark side of the Hampster Dance. Good stuff. tags:

Next.

Previous.