Planet (Former) Advogato

This is a complement to Advogato, it is an aggregation of blogs of those who used to post on Advogato, but for one reason or another moved their blog from Advogato. It is provided as a service to those who would like to read the "greater Advogato" community.

This site works only as a Planet, it aggregates the post only, to comment on a blog entry, click on the title or time to go to the blog entry on the original site, hopefully it will have a comment facility.

May 11, 2008

Rachel Chalmers [rachel]

the godfathers... of soul

It never takes longer than a few minutes, whenever they get together, for everyone to revert to the state of nature, like a party marooned by a shipwreck. That's what a family is. Also the storm at sea, the ship, and the unknown shore. And the hats and the whiskey stills that you make out of bamboo and coconuts. And the fire that you light at night to keep away the beasts.

With its Philip K. Dickian mirror-world and paranoia, The Yiddish Policemen's Union has been the perfect choice of book for this weird and dislocated first week in Cambridge. Jewish Sitka, that frozen metropolis, has made me appreciate for the first time how many of the places I am homesick for never really existed. It's also the perfect book to be reading on Mother's Day when one's useless cellphone will not connect one with one's mother, except via text message.

The great blessing of this trip has been spending hours and hours with the godfathers, Grant and Chris. I've been a bit too wrecked to talk to them very coherently, but the girls have taken possession, showed off their best kung-fu moves and pieces of stick and leaf and are now perfectly comfortable swarming all over them. I do not know whether the godfathers are equally comfortable being swarmed over, but this is what they signed up for.

Cambridge is so very pretty, the colleges all jumbled up like Examples of European Architectural Styles, green space everywhere with spreading trees and daisies, people being hilariously drunk in punts. Such beautiful weather that I have a suntan. I'm finding it all very suspicious.

May 11, 2008 09:47 PM

Michael Still [mikal]

I, Robot

The 1950s must have been a great time to be a science fiction author. WW2 was finally over, and seemingly massively stupid ideas like mutually assured destruction, nuclear rifles so powerful that they were as much a danger to those firing them as those who were on the receiving end, and Brylcreem were all the rage. Into this atmosphere of run away idiocy comes Asimov's I, Robot, the book which defined the three laws of robotics, and some how managed to not suggest that humanity should nuke each other all into submission. This book is still an excellent read almost 60 years later, and I think still shows us some of the future. Its a little depressing to think how little we've achieved towards Asimov's proposed future world, given the time line laid out in this book.

One of the interesting aspects of this book is Asimov's failure to predict things which seem so mundane now, but must have not been obvious to an observer in 1950. For example:

  • The commonness of computers now. One of the short stories revolves around a secret batch of robots, and the need to debug them. The protagonists can't use a computer though, because that would draw too much attention. Why not use a laptop? Because Asimov failed to predict them.
  • The use of wire recorders to record sound. No optical media (or whatever we'll have in the future) here.
  • The assumption that robots contain vacuum tubes.
  • The failure to account for inflation. This one should have been obvious! A batch of 63 robots for instance is valued at $2 million dollars in one of the stories, a sum so great that no one can conceive of deliberately destroying the batch.


A good book.

Tags for this post: book(S) Isaac_Asimov(S)

Comment on this post

May 11, 2008 09:45 PM

The Stainless Steel Rat Series

I am increasingly becoming obsessed with science fiction from 1950s and 1960s. Again stolen from Wikipedia, here is a list of all the Stainless Steel Rat books:

YearTitleNotes
1985A Stainless Steel Rat Is BornI got this one from powell's
1987The Stainless Steel Rat Gets Drafted
1994The Stainless Steel Rat Sings the Blues
1961The Stainless Steel Rat
1970The Stainless Steel Rat's Revenge
1972The Stainless Steel Rat Saves the World
1978The Stainless Steel Rat Wants YouI got this one from bookbuyers
1982The Stainless Steel Rat for PresidentI got this one from bookbuyers
1996The Stainless Steel Rat Goes to HellI got this one from bookbuyers
1999The Stainless Steel Rat Joins the Circus
1993The Golden Years of the Stainless Steel Rat


Tags for this post: book(S) Harry_Harrison(S)

Comment on this post

May 11, 2008 09:45 PM

Isaac Asimov's Foundation Series

I'm getting really into reading second hand science fiction from the 1950s onwards. I read a few (but nowhere near all) of the Foundation series as a child, and I remember liking them a lot. Stolen from Wikipedia, here is a list of the books in The Foundation series in Asimov's suggested reading order:

CYearTitleNotes
1950I, RobotRobot short stories. First collection, which were all included in The Complete Robot, though it also contains binding text (Mind and Iron), no longer in The Complete Robot. Bookbuyer's
11982The Complete RobotRobot short stories. Collection of Asimov stories written between 1940 and 1976.
1986Robot DreamsRobot short stories. Anthologised in a book with the same title.
1990Robot VisionsRobot short stories. Anthologised in a book with the same title.
1992The Positronic ManRobot novel based on Asimov's short story The Bicentennial Man, co-written by Robert Silverberg
21954The Caves of SteelRobot novel. Leigh's Favorite Books
31957The Naked SunRobot novel.
41983The Robots of DawnRobot novel. Leigh's Favorite Books
51985Robots and EmpireRobot novel. Bookbuyer's
1993Isaac Asimov's CalibanCaliban trilogy by Roger MacBride Allen.
1994Isaac Asimov's InfernoCaliban trilogy by Roger MacBride Allen.
1996Isaac Asimov's UtopiaCaliban trilogy by Roger MacBride Allen.
61951The Stars, Like DustGalactic Empire series.
71952The Currents of SpaceGalactic Empire series.
81950Pebble in the SkyGalactic Empire series.
91988Prelude to FoundationFoundation novel.
101993Forward the FoundationFoundation novel.
111951FoundationFoundation trilogy.
121952Foundation and EmpireFoundation trilogy.
131953Second FoundationFoundation trilogy.
1997Foundation's FearSecond Foundation trilogy by Gregory Benford.
1998Foundation and ChaosSecond Foundation trilogy by Greg Bear.
1999Foundation's TriumphSecond Foundation trilogy by David Brin.
141982Foundation's EdgeFinal chronological Foundation books.
151986Foundation and EarthFinal chronological Foundation books.


Next step, read them.

Tags for this post: book(S) Isaac_Asimov(S)

Comment on this post

May 11, 2008 09:45 PM

Gergo Erdi [cactus]

A hétvége rendeltetésszerű használata

A hétvége nem arra való, hogy tanuljunk meg dolgozzunk. Hétvégén élményeket kell gyűjteni -- és azt hiszem, ez a mission most különösen jól sikerült.

Pénteken Irie Maffia-koncertet ajánlott Tibuci, úgyhogy Anitával elnéztünk este a ZP-be. Mondjuk pont Tiborral nem sikerült összefutni, mert lemerült közben a telefonom. A koncert amúgy szerintem nem volt túl nagy eresztés (featuring Sena ide vagy oda), anno az egyéves koncertjük az A38-ban összehasonlíthatatlanul jobb volt.

Aztán szombaton reggel lett egy kis csúszás, Edina kitalálta ugyanis, hogy Simont, Milánék újszülöttjét látogassuk meg délelőtt. Szóval rohanás, ráadasául a virágboltban is sor volt, apropó virág, milyen komoly lehet már a virágkötés-domain, ha arra hogy

Valami vidám, tavaszias csokrot szeretnék egy újdonsült kismamának

az a visszakérdezés, hogy

Kisfiú vagy kislány született?

és enélkül nem tudja elkezdeni a komponensek összeválogatását...

Simon egyébként majdnem ötödfél kiló, de egyáltalán nem úgy, hogy kövér, hanem hogy nagy. Úgy tűnt, egyelőre nem biztos még benne, hogy érdekli őt ez a kinti izé, főleg hunyorog, és nagynéha néz csak körül.

Aztán ma, vasárnap jött a hétvége desszertje: Nitával azt találtuk ki, hogy ebéd gyanánt együtt piknikezünk a Városligetben. Rendeltem szusit, meg hasonlóan furcsa desszerteket is (nem is hinné az ember előre, hogy milyen finom lehet a karamellás-csillis banán), kivittünk egy nagy pokrócot, vittünk innivalót meg poharakat (nem ám hogy műanyag izékkel égessük magunkat), és élveztük a jóidőt.

(ZaPénak meg megnyugtatásul közlöm, hogy közben azért gőzerővel olvasom a könyvet is, szóval remélhetőleg hamarosan vissza tudom vinni)

May 11, 2008 06:32 PM

Shlomi Fish [shlomif]

Israeli Independence Day Special: Enough with the Obsession With National Security! (English Transla

Note: this is an English translation of a previous entry which was written in Hebrew especially for the Israeli Independence Day.

Happy Independence Day Everybody! I decided to write this entry for the Israeli Independence Day, but it is probable some of you will be pleased by it. The entry is written in Hebrew, due to patriotic feelings, but I'll probably translate it into English later and post it as a separate entry.

The story went like this: I talked with Peteris Krumins on Freenode, and he told me that he is about to graduate with his Bachelor Degree in Physics. (Good Luck and Mazal Tov!) In any case, we discussed graduation ceremonies in Israel and Latvia (which is Peteris's home-land), and he referred me to a few photos of a graduation ceremony in Latvia.

The first picture that caught my eye was this picture of several girls who were apparently about to receive their diploma. As one can see they are incredibly cute, but I found their costumes very funny in comparison to what I am familiar with. Peteris told me that these are standard formal costumes of girls there, and he asked me if I could find him photos of Israeli females in formal dresses.

So I went to Flickr and searched for "israeli girls", and what do I find? Uniforms upon uniforms. My eyes became black from all the Khaki. High-quality photos of good-looking female soldiers, but that's it - only soldiers. Peteris told me that these photos were a hit on Digg, Reddit and the rest of the social bookmarking sites, which may be the reason why Flickr ranks them so highly.

OK, a female solider in uniform (or a male soldier in uniform) is not such an uncommon sight in Israel, given that most girls serve in the military for two years starting from the age 18, and some of them also choose to become officers or serve permanently. But most of the women we see in Israel are not wearing uniforms. So this search in Flickr gives a false and political impression.

The search "israeli woman" does not display only soldiers, but it too has a very political orientation.

Now here's the substance of my complaint: I think Israel is perceived as a hyper-political and hyper-security-obsessed country, both by the citizens of the world and by its own. I'll give a few examples:

  1. When I studied civics in the 11th grade, the Civics teacher (whom I remember quite fondly) asked the class to which committee of the Knesseth, the prime minister was obliged to be summoned, and the students said "The Committee of External Affairs and National Security". But, the correct committee was "The Committee for the Critique of the State", and the teacher noted that it was an indication that we perceive the national security as too important (and she noted that beforehand as well).

  2. In this essay Paul Graham proved "scientifically" that it would be a pointless mission to establish a "Silicon Valley" (i.e: a hub of startups) in Israel. He probably didn't hear of companies such as Mirabilis, Check Point, Zend and many other examples of numerous, high-quality former Israeli startups. Most of the companies I have worked for as a programmer in Israel have been startups. There isn't a shortage of them, and there were many like that even during the recession.

  3. When I wrote the entry "A Brief History of Linux in Israel" on the Hackers-IL wiki, I originally wrote that Israel had many problems including "heavy taxation, irrational and abundant regulations, quite a lot of terrorist activity, etc.". Someone (who I think was an Israeli) deleted what I wrote and left only the "large amount of terrorist activity".

    With all due respect, the terrorist activity is not the worst problem that hurts Israel. More Israelis have died from road accidents and from smoking than from terrorist activity. And, as I noted, the high tax liability harms Israel much worse than the terrorist activity, and Israel won't lose anything (and will even greatly benefit) the more it will lower it.

    Thus, the editing was misleading.

  4. Too many foreign people I have talked with from outside Israel in Internet chats have asked me if Israel was safe. Apparently, their impression is that there is shooting in the streets, missiles falling everywhere and that Israel is not safe. But the reality is that most Israeli residents feel perfectly safe.

Naturally, I, too, am not a Tallith that's entirely azure. My first serious story was based on the political situation on the Israeli-Lebanese border, although in my defense I must say that it has a much more universal message. I have also written some essays about politics as well as many political posts on my blog, albeit not all of them are about the political-defensive state of Israel.

But I think that as a people, we Israelis are too obsessed with the military and the national security of Israel. If you ask me, the main reason our security status is so terrible is the fact that Israel has constitutional discrimination. Until we completely eliminate it, it will beget institutionalized and private discrimination and racism, as well as non-supportive treatment from even amongst the most liberal of the Arabs and the rest of the world's citizenry. And I'm saying this as a Jewish Israeli. If I may contort what Yoda said: "Do or do not. But don't do for a Jew and don't do for a Gentile, or vice versa."

As Israelis in Independence Day, we should remember that the IDF and the National Security are a means, not an end. The end is that the citizens of Israel would be able to live good, peaceful, happy and prosperous lives. Happy Independence Day to all Israeli Residents!

May 11, 2008 04:03 PM

Johan Thelin [e8johan]

Kubuntu issues - follow-up

I'm just following up on my last post - thanks to everyone commenting!

Regarding points #1 and #3, this was compiz running and wm. I'm back to kwin after having removed the file $HOME/.kde/share/config/compizasWM.

For point #2, I'll deal with it as well, but is seems to be an issue in the proprietary ATI driver's package. When changing to the free ATI driver I cannot get the resolution I want (I admit - I did not hunt for mode lines for very long).

May 11, 2008 11:15 AM

Thomas Thurman [marnanel]

OMG IT IS A NEW MEME

When Obama wins...

When Obama wins...

May 11, 2008 01:36 AM

May 10, 2008

Ian Macdonald [ianmacd]

Sleepy Head

The great thing about having a camera phone capable of a decent resolution is that you're always able to record an unexpected but precious moment for posterity.

Today, I took Eloïse out on the bakfiets for a raspberry ice-cream at Pisa IJs. She had got up at 06:00, so she was tired and quickly fell asleep. When we arrived at Pisa, her head was still lolling around, so I parked the bike and captured the moment on video.

Full text

May 10, 2008 11:31 PM

Steve Kemp [Stevey/skx]

Yea, just look at all the passion on that wall.

There should be a website to coordinate cinema-dates.

I don't like going to the cinema alone and have, in the past, frequently missed viewing films rather than go alone.

This is a habit I'm growing out of, but I still think it is better to go with a friend or two.

In the near future I'm going to view the last Indianna Jones movie, and the Sex & The City film. I have partners for both of those.

But after that? There are a few films which I can't immediately think of who I'm going to lure away with me. I could either :

  • Go alone, regardless.
  • Randomly ask people to come

If there were a site that had list of upcoming films, and allowed you to express interest in going to see them that would be a fantastic idea. (Obviously location based).

I'd not even assume "dating", because I think in my life I've had a first-date at a cinema once. When I was about 14. Because it just doesn't work - you can't talk during, (and back then we couldn't go to the pub afterward to discuss the film. I think we did anyway ;)

For bonus points you could allow people to rate the films, or even each other. Hmm.

Somebody write it for me? I've got too much on my plate ..probably

ObQuote: Se7en

May 10, 2008 08:00 PM

Shlomi Fish [shlomif]

"High-Quality in Software" and "Star Trek: We, the Living Dead"

The first revision of a new essay, "What Makes Software High-Quality?" (with a focus on open-source software) was added to the essays section:

The Program is Available for Downloading or Buying

That may seem like a silly thing to say, but you'll be surprised how many times people get it wrong. How many times have you seen web-sites of software that claim that the new version of the software (or even the first) is currently under work, will change the world, but is not available yet? How many times have you heard of web-sites that are not live yet, and refuse to tell people exactly what they are about?

More text has been added to the screenplay "Star Trek, We the Living Dead":

Katie: Professor Shlomo Abramovich? You're King Solomo... Errr... I'm not talking with you again. [Goes to sit on the Swing, frustrated.]

Shlomo: Mosheh, remember I told you about Katie?

Mosheh: oh yeah! She looks cute when she's angry.

Katie: Moses, right?

Mosheh: that's right.

Katie: well, in case you've had any interest in me, I should note that I have a policy against getting involved with people who are 4 times my senior or more.

Mosheh: relax! I have married girls who were 15 times my junior or more and my own descendants, and retrospectively I can tell that many of them were more mature and rational than I was in most respects.

a new question and answer has been added to the FAQ about why I don't obscure my email address.

Added a note about the site's hosting provider, and a link to this page from the front page.

Added a "Slashdot this" badge to the bottom of the text of all the pages, next to the "Bookmark This" button.

I'd like to thank Alan Haggai (alanhaggai@gmail.com) for finding a problem in the site, which allowed me to correct it.

May 10, 2008 06:47 PM

James Ogley [riggwelter]

Changes to my site

Apologies to maintainers of Planet type sites that aggregate my blog (including to myself for Planet SUSE) as those sites will be picking up some of the non-blog bits of my site at the moment. As part of sorting out the site, I've moved those pages into the blog tree rather than having to maintain two versions of the look of the site (one for the blog script the other for the PHP pages) and, having also edited some, they now have a datestamp of today.

I've also changed the look of my site slightly, tweaking the style I launched at the start of the year. There's less dead-space now and larger fonts make it easier to read. It also defaults to the Free DejaVu fonts when they're available.

May 10, 2008 04:41 PM

About Me

Given that you're here, and apparently reading this tripe, I assume you want to know something about me. Well, I'm in my early 30s and I currently live near Southampton on the south coast of England. I've been married to Amanda since March 1998 and we have a son, Callum, who was born in January 2007.

I used to be a UNIX Systems Administrator for an insurance company. Before that I was Network Manager at SUSE Linux UK. I am probably best known for my work on the openSUSE GNOME repositories and for running Planet SUSE, where you can read the latest blogs from the openSUSE community.

I've been a curate at an Anglican church here since July 2007 and before that I was training at St John's College, Nottingham. Before starting my training, we lived in Watford, which is in Hertfordshire, just north-west of London.

May 10, 2008 03:57 PM

Michael Still [mikal]

Bill The Galactic Hero

This book is an interesting read, but for unusual reasons. Its as if Harrison sets out to write a terrible book, and learns new techniques to achieve this terrible along the way. An example of his mastery of the art:

A hundred bucks a month was good money, though, and Bill saved every bit of it. Easy, lazy months rolled by, and he regularly went to meetings and reported regularly to the G.B.I., and on the first of every month he would find his money baked into the egg roll he invariably had for lunch. He kept the greasy bills in a toy rubber cat he found on the rubbish heap, and bit by bit the kitty grew.


It seems to me that this book is so terrible it has to be deliberate, and its good to see that Wikipedia agrees:

Bill, the Galactic Hero is a satirical science fiction novel by Harry Harrison, first published in 1965.

It is a response to Heinlein's controversially militaristic Starship Troopers. The overall plot is similar, the details rather less so; and Harrison makes the most of an opportunity to spoof the work of other authors including Isaac Asimov, "Doc" Smith, and Joseph Heller. Harrison reports having been approached by a Vietnam veteran who described Bill as "the only book that's true about the military".


This book is a study in bad writing, and that's what makes it great. This book is entertaining, stupid, and funny. You wont to be a better person at the end, but you wont be bored while reading it either. To be clear -- I loved this book and its paranoia-like universe.

Tags for this post: book(S) Harry_Harrison(S)

Comment on this post

May 10, 2008 02:19 PM

Shlomi Fish [shlomif]

Why People Are Passionate About Perl

Well, Per brian d foy's blog post, I'd like to answer the question "Why I'm Passionate About Perl". First of all, I should note my "The Joy of Perl" essay, which I wrote back in 2004. It gave a lot of good reasons why I like Perl so much and am still passionate about it. But now to answer brian's questions:

The person who introduced me to Perl showed me that... - I still remember him (Ran) telling me that one can write a TCP/IP client in 4 lines, and a TCP/IP server in 10 lines. (Or something like that). I ended up not understanding what regular expressions were all about and he explained that they matched patterns in texts. Back then, I had to learn perl 5 from perl*.pod (what are now the perldocs).

I first started using Perl to... - had to learn Perl (and Unix) because I wanted the job working for Ran's company. I liked both Perl and Unix so much that I understood why I had not been content with all the technologies I encountered previously. (DOS and Windows 3.11).

I kept using Perl because... that was what I knew and I was comfortable writing it, and found that most various techniques were readily available in some form or another. For example, after reading SICP I was able to easily implement the closure-based techniques shown there in Perl. Then after I learned Object-Oriented Programming in Perl, I found out how nice it was, and how much better it was than C++. (Which if you ask me now supports Object-Oriented Programming roughly as much as COBOL supports Functional Programming.)

I later on learned how to effectively use the CPAN, use accessors, and many other tricks and techniques. I got involved in the Local and International Perl community, which was also a lot of fun.

I'm not a Perl fanatic and see myself sometimes using, learning or experimenting with other technologies. But I still like Perl 5 the most.

I can't stop thinking about Perl... - actually I often can. The amount of time I spend coding is small, and Perl is even less than that.

I get other people to use Perl by quietly telling them how Perl is important and how it is enlightening and useful, and also telling them about the things I'm doing with Perl.

I also program in Bash, C/C++, PHP and a little Python (and small experimental stuff in many other languages) but I like Perl better since: 1. It's a real, and safe programming language unlike Bash. 2. It's much more easier to write than C, C++ or Bash. 3. It's more comfortable to me than Python due to the TMTOWTDY, use strict and other factors. (Though I can understand why Python has its appeal to some people.) 4. It's much less hacky than Bash and PHP. 5. The Perl community is great, and has a very healthy attitude.

Note that I'm still using bash for the command line and for some really minimal scripts, and am happy with it, and prefer it over Perl.

Comments are welcome. (I leave the comments open, as I almost always do).

May 10, 2008 09:45 AM

May 09, 2008

Titus Brown [titus]

pygr gets some summer love

(pygr is a neat bioinformatics framework in Python.)

After some commenters on my last post seemed happy to hear that pygr was the focus of some summer work, I realized I had only discussed the pygr summer work in a post to the biology-in-python list.

Whoops.

So, here's the scoop: not only is pygr the focus of Rachel McCreary's Google Summer of Code project, but Jenny Qian will be using pygr to build an ENSEMBL interface, also as part of the Google Summer of Code.

That's not all!

In addition to Rachel and Jenny (under the sterling mentorship of Chris Lee, Robert Kirkpatrick, Namshin Kim, and myself) I have two MSU students working with me over the summer, Alex Nolley and Marie Buckner. They'll both be working with pygr-related things, although like Jenny their efforts may end up being more on ways to use pygr than on pygr's code itself.

I also have a grad student or two that may drop in on pygr, if only to use it for something research-y.

So all in all, pygr will get a lot of love this summer. Hopefully we can polish the code and documentation and tutorials to the point where the learning curve is as minimal as it can get, and this fabulous package will become readily available to many others...

Why am I personally putting so much effort into pygr? Well, I've been using it more and more over the last few months, and (somewhat like scipy) it's transformed my work by turning annoyingly difficult data organization problems into trivial Python transformations. I can literally throw together a custom genome browser in a matter of hours -- I've implemented two or three already, for different projects -- and it has enabled several new research program. pygr seems to be one of those rare packages (kind of like Python itself) that is not only functional and effective but presents a unified and coherent intellectual interface. pygr is the only good middleware layer I've seen for sequence intertwingling in bioinformatics. It's not that mature yet, but it has serious promise, and I'm hoping to get in on the ground floor, so to speak :).

cheers,

--titus

May 09, 2008 06:03 PM

Johan Thelin [e8johan]

Kubuntu upgrade issues

I just used the Kubuntu upgrade tool to get the latest goodies from Hardy (wobbly windows here I come). However, this resulted in a strange looking system. I've found three symptoms:

#1 Klipper and friends start in windows in the top left corner before finding their way down to the kicker dock.

#2 Selecting "logout" or pressing ctrl-alt-backspace results in a blank screen, a hard reset is required to get back to business.

#3 Window decorations are messed up. For instance, Firefox gets some old-style KDE 2-ish look and RMB clicking on the title bar results in what looks like an unthemed menu. However, the desktop menu looks alright.

Desktop menu

Window menu


If anyone knows of a good way to resolve these issues, do let me know.

May 09, 2008 05:15 PM

Thomas Thurman [marnanel]

The Wombats

Who are The Wombats and why does Facebook think that I should get targetted ads about them since I list the Cure on my favourites list?

(Yes, I know what I can get out of Wikipedia.)

May 09, 2008 04:15 PM

rings



l-r: [info]firinel, [info]plexq, [info]marnanel

May 09, 2008 12:50 PM

Mark Wielaard [mjw]

The GPL is like a green envelope

German court tells Skype to obey the GPL:

“If a publisher wants to publish a book of an author that wants his book only to be published in a green envelope, then that might seem odd to you, but still you will have to do it as long as you want to publish the book and have no other agreement in place.”

May 09, 2008 10:24 AM

Philip Van Hoof [pvanhoof]

Switching to multiple threads, with a non-thread-safe resource

Your application used to be single threaded and is consuming a resource that is not thread-safe. You’re splitting your application up into two or more threads. Both threads want to consume the non-thread-safe resource.

In this GNOME-Live item I explain how to use GThreadPool for this.

It’s a wiki so if you find any discrepancies in the sample and or text, just correct them. I’m subscribed so I’ll review it that way.

The GNOME-Live item is done in a similar way to the item about using asynchronous DBus bindings and the AsyncWorker item.

May 09, 2008 10:17 AM

Ian Macdonald [ianmacd]

New Bakfiets

I picked up our new bakfiets last Friday, a customised bakfiets.nl CargoBike Long from WorkCycles, which I wrote back in February.

After a week of biking on the new machine, I'm pretty impressed with it. According to Eloïse, it's "helemaal mooi", so she seems to approve.

Its first real test came a couple of days ago, when I brought back the largest load of groceries from the Albert Heijn that I've ever fetched without a car. It was a huge load and the bike definitely steered more heavily as a result, but it was as solid as a rock and got the job done.

There are a couple of photos of Eloïse showing off the new bike, if you're interested.

Expect to see us as a regular summer fixture in front of Pisa IJs on the Scheldeplein.

Full text

May 09, 2008 09:21 AM

James Ogley [riggwelter]

Google Summer of Code on Planet SUSE

Participants in the Google Summer of Code will now be recognised on Planet SUSE by having GSoC in front of their names at the top of their posts.

If you're a student on the GSoC and you don't see this with your posts, please drop me a line and let me know.

May 09, 2008 09:12 AM

Shlomi Fish [shlomif]

Looking for a Good Personal Blog Engine

Dear Lazyweb,

I'm looking for a recommendation for a good personal blog engine that I'd install on my site. It should be Free Software (preferably GPL-compatible); it should be Perl, Python or PHP (Perl is preferable), possibly also Ruby; it should be able to use PostgreSQL as a backend; and it should be good: easy to install, mostly works out of the box, easy to extend, with an active developer community, readable (not necessarily too modular) code, good security practices, etc.

Here's what I tried so far:

  1. MovableType - has a weirdo HTML caching system, and ended up putting a lot of world-writable files on my hard disk. Also doesn't work out of the box with recent PostgreSQL's (which is easy to fix).

  2. WordPress - from using it elsewhere I had at least three occassions where it ate my comments and refused to allow me to repost them. Also, it has many bad defaults like non-threaded comments, A single "Submit" button with no preview, no pure-HTML input, and these weird ?id=$INDEX URLs which I hate. All of them can be fixed using Plugins, but it's still an extra hassle.

    It also had a very poor security record, and pkrumins said he isn't content with it for his blog, and working on something from scratch.

There are many other blog engines out there, but I'm looking for a personal recommendation from experience. Comment below or drop me a line. I'll probably blog here about what my final verdict is.

May 09, 2008 03:45 AM

May 08, 2008

Bastien Nocera [hadess]

Crack, and uncrocked

I was amazed by FunPidgin. Whilst some of the features aren't actually crack, making things like these options is:

An option to use stock GTK+ close buttons on tabs.
An option?!

Anyway, Totem's playlist parser is now ported to GIO. I'll make a release soon, but I'd like to ask people to please test the hell out of it. If opening or saving a particular playlist produces warnings, errors, or crashes, please file a bug.

You can test easily by recompiling and using as normal: Rhythmbox (Podcast and playlist parsing, playlist saving), and Totem and its web browser plugin.

May 08, 2008 11:59 PM

Rachel Chalmers [rachel]

punting on the cam

So we are in Cambridge! It didn't help that we got here at the end of the week that started, for me, in Vegas; so what with the implausible Northern twilight and the pretty pretty greens and colleges so forth I have begun to think of this as just another themed casino. The Cantabrigian. With live shows called Tripos and Viva Voce! We punted on the Cam, which I insisted on spoonerizing, to my own hilarity and the resigned amusement of my entourage.

Anent which entourage Julia has jetlag which means that no one within earshot may rest. As a result Jeremy and I went for about six days with no more than four hours of sleep at a time. Jeremy coped with this better than I did; I was up at 5am yesterday, trying to help Claire in the bathroom, when I fainted. The flat has a wooden floor so I am sporting handsome bruises on my head and hip. It was extremely unpleasant but has had no alarming sequelae. I shall avoid recreating the circumstances.

Not suprisingly, my academic anxiety has been flickering on and off like a flaky Wifi signal. I had another good hard look at the MPhil in History and Philosophy of Science, a course I've thought about doing before. Grace Hopper, maybe, or Unix as literature? But I couldn't help thinking I already have a perfectly nice MPhil that I am extremely fond of, and that the books I dream of having written aren't academic texts at all but novels. And you don't need any degrees from anywhere to write novels.

This cheering thought had me working on the novella on the train to and from London today. It's far from perfect but there's some decent writing in there. That said, I think I'm going to have to smash it to bits and patch the bits together if I want to get it to the next stage. I think it's publishable as is but that's not really enough for me any more; I think I can do better. Guh! What's happening to me? IS IT SOMETHING IN THE CAMBRIDGE WATER SUPPLY???

May 08, 2008 11:34 PM

Deb Richardson [dria]

Pantry Chili

Whipped this up in under an hour (mostly simmering time) using nothing but pantry items. Alternate name would be “Simple Weeknight Chili”.

Ingredients

  • 1 lb ground beef
  • 1 14oz can kidney beans
  • 1 28oz can diced tomatoes
  • 1 tbsp butter
  • Medium white or yellow onion, diced
  • 2 cloves garlic, minced
  • 1 tbsp chili powder (the Penzeys stuff is really good)
  • Pinch dried oregano
  • Salt + pepper to taste

Method

  1. Brown ground beef over medium heat in a medium stockpot, drain and rinse. Drain and rinse beans. Put empty pot back on the heat, add butter, onions, and garlic. Saute for 5-6 mins. Toss in chili powder, oregano, salt + pepper and continue frying for a couple of minutes. Stuff will stick to the bottom a bit, but that’s ok — it will come off later.
  2. Add browned meat, beans, and tomatoes (including juices). Stir and heat until simmering. Turn down the heat to low and simmer for 25-35 minutes (or longer if you want — the longer you simmer, the more the tomatoes will break down). Done.

Serve with crusty bread and a beer.

May 08, 2008 10:44 PM

Ranjit Mathew [rmathew]

Dr Dobb's Journal

I have had a subscription of the print edition of Dr Dobb's Journal (DDJ) for a little over six months now. This renewed relationship with my favourite professional magazine has been a mixed experience so far.


I first came across DDJ in the IIT Kanpur Library about 15 years ago. For someone interested in computer programming, it was a fantastic magazine. Along with BYTE (published only on-line after 1998), which was a fantastic magazine for people interested in microcomputers, it became regular reading for me at the library. I used to read new issues as soon as they became available in the library and would try to read as many of the old issues as I could lay my hands on (the library used to have bound volumes of old issues of these magazines dating back several years). The early issues provide a fascinating insight into the evolution of the personal computer.


When I started my career as a software engineer, I tried to subscribe to DDJ myself. At about Rs 3,000, the annual cost of the subscription at the time was a bit too much for me. This situation did not improve for several years after that. I had to console myself by ordering "Dr Dobb's CD Release 6", a CD that contained electronic versions of all the DDJ issues from January 1988 to June 1998.


When I noticed recently that the print issues of DDJ were available internationally at just $30 (about Rs 1,200) a year, I jumped at the opportunity to order a subscription for myself. Even though an electronic edition of an issue is immediately made available to subscribers, I always prefer to read the "dead-tree" (print) edition when possible. I eagerly waited for my copy of the print edition to arrive in my mailbox. I was setting myself up for frustration.


My copy of the November 2007 issue of DDJ arrived two and a half months after it was announced! To top that, the December 2007 issue did not arrive at all. To add insult to injury, my email to them inquiring about this problem was rejected by their "Barracuda Spam Firewall" with a terse message stating that "Message content rejected". As if to then really irritate me, they sent a letter in January 2008 asking me to renew my subscription ten months before it was set to expire!


Fortunately for me, the situation improved considerably from January 2008 and the issues started arriving regularly and well in time (as was the case many years ago, an issue of DDJ arrives about a fortnight before the corresponding month - for example, the issue for May 2008 was delivered in mid-April).


The first thing I noticed about these issues was that they were really thin - they seem to be about one-third the thickness of the old issues of DDJ from what I remember. Could that be the reason for the drop in prices? The second thing I noticed in the initial issues was that many of the articles were about web development and other such things in which I do not have that much interest. Was it going to be like this for the rest of the year?


Once again, fortunately for me, the more recent issues have featured some really nice articles. Articles like "Fast String Search on Multicore Processors" and "Detecting Bugs in Safety-Critical Code", for example, provide insights into areas beyond the realm of run-of-the-mill software development. Herb Sutter's "Effective Concurrency" is a really nice column. The issues for April 2008 (Algorithms) and for May 2008 (Programming Languages) in particular were quintessential DDJ.


Most elements of DDJ have not changed much over the years. The articles still have the same feel to them and most of the advertisements for software products are still embarrassingly corny. The PC-lint Bug of the Month series of advertisements are still there, though they are about C++ instead of C as a reflection of the changing times.


So would I still recommend this magazine to a programmer in India? Yes, definitely. Even with the cost of international shipping included, this magazine costs the same or less than comparable Indian magazines (such as they are) and the quality and the depth of the articles is usually much better.

May 08, 2008 11:28 PM

Ian Macdonald [ianmacd]

Keeping Our Cool

Air-conditioning, ah... Something of a rarity in private residences in this country, but with the current minor heatwave we've been experiencing, more of a practical necessity than luxurious decadence.

They say the current hot spell will continue until after the weekend. You don't hear me complaining.

Full text

May 08, 2008 09:23 PM

Lightning Strikes Twice

It's taken me a while to write this entry, as it's about something quite different to the usual trivia that I either extol or grizzle about.

Can lightning strike in the same place twice? It appears so.

The story begins with my uncle Paul. My uncle Paul died of cancer a couple of months ago. Nothing unusual about that, you might say; thousands around the world die of cancer every day. We weren't close, but it was quite a blow for my mother. My uncle lived in Winnipeg, Canada and I hadn't seen him since my wedding. Before that, I hadn't seen him in some 25 years. That's how the Macdonalds are.

Fast-forward to 30th March just gone. Lucas is born. In the evening of the day of his birth, I call my mother in Florida to inform her that she now has a grandson. After hearing my news and congratulating me, she tells me that she also has some news for me.

It turns out that the funeral parlour that handled my uncle Paul's death recently received a letter from afar. The letter was accompanied by a request, that an enclosed letter be forwarded to my uncle Paul's widow, my aunt Charleen. This request was duly honoured and the letter sent on.

When Charleen received the forwarded letter, she was surprised by its content. Amongst other things, it politely requested that a further letter be forwarded to my mother, wherever she may happen to be.

Upon reading the letter, Charleen called my mother to inform her of its existence and let her know that she would be sending it on.

The letter had not yet arrived in Florida when I called my mother to tell her about Lucas' arrival. Nevertheless, because she had had it read to her over the phone by Charleen, she was familiar with its content and could at least give me the gist of it. I was rather surprised to learn of the author's identity and the nature of the letter.

I asked my mother to scan the letter and send it to me via e-mail as soon as she received the physical copy. A few days later, it arrived in my in-box.

The letter was handwritten and metrically arranged, i.e. written in rhyming couplets. This made an already unusual missive even more improbable.

The words told a melancholic tale of one man's quest to locate two people who had inadvertently disappeared from his life almost 41 years ago. They painted a tragic picture. I was left with a strong impression of a man tormented by his past, such that his past had become an inseparable part of his present and the subject of an ongoing quest into the future.

At the foot of the letter, the man had signed his name and given his contact details. His address, his e-mail address, telephone number and even his mobile number were there.

If you haven't already guessed, I am one of the two people he had spent 41 years searching for.

I was suddenly struck by the power I now wielded over this man's life and emotional well-being. By the simple act of picking up the phone and dialling the number at the foot of the page, I could end this man's fruitless, four decade search with a single, swift mercy-blow. Alternatively, I could shrug off the opportunity, do nothing and leave the man to suffer. If I chose the latter course, the man would likely spend the rest of his life not knowing what had become of the two people whose destiny had somehow slipped through his fingers.

The man in question is my biological father.

All I've ever known about my natural father is that he was very young when I was born. I also knew his name, but I've been apt to forget it for months on end over the years.

From that last statement, you might correctly surmise that the identity of my natural father has never been a topic of great interest to me. I've certainly never felt the need to go in search of him. I was adopted at a very young age by my grandparents, so as far as I was concerned, I had a mother and a father.

Unlike most people in a similar situation, it just never mattered to me that I did not know anything about the man who had helped to bring me into the world. The fact that I shared some DNA with him did nothing to distinguish him in my eyes from the billions of other strangers roaming our planet. In my case, blood most definitely did have the same viscosity as water.

Possibly, that (lack of) reaction stems from the fact that I've never been close to anyone in my family. It's my observation that the Macdonalds are a pretty distant bunch of people (and not just geographically). Without our blood ties, it's unlikely any of us would ever have chosen to have anything to do with any of the others. We're not the only such family, but most people don't care to admit their kin are this dysfunctional.

My grandmother, who raised me, would complain at regular intervals that her children, having left the parental home, would barely even bother to pick up the phone once a year at Christmas. Visits from them were, by and large, an even more infrequent occurrence. By the time I reached puberty, I felt a strong desire to fly the nest, too, so I had some understanding of this behaviour.

My grandmother loved me and, at some level, I must have loved her. Her love, however, was somewhat pathological in nature. She needed me to fill an otherwise unbearable vacuum in her life, a chasm of festering, unfulfilled desire that frequently bubbled to the surface to be vented in the form of rancorous bile towards what seemed like the rest of mankind. Me, my grandfather, the neighbours, British people, protestants... anyone would do if she needed to vent some anger.

My grandmother was one of those people who talked incessantly to her television set, as if the people on it could hear her. She rarely had a good word to say about anyone and I think slagging off other people might actually have been her greatest pleasure in life, albeit a not terribly fulfilling one. She had few other pleasures to speak of, save for a gin and tonic, so it's not that far-fetched a claim.

My grandmother's embitterment probably contributed to her children staying away from her. It certainly can't have done much to endear her to them. And so I turned out to be no different. Once I managed to get out from under her roof, I rarely called or visited. I had some warm feelings for her, but our relationship was so antagonistic that if we had only spent five minutes per year in the same room for the rest of our lives, neither of us would have been able to use the time for anything more constructive than berating the other.

My grandfather was a decent bloke, but by the time I was adopted, he wanted little more out of life than to retreat behind his newspaper, coming out only once my grandmother had gone to bed, to watch the snooker. He was a mild-mannered fellow, but I was never really able to respect him, because of the shameless way he allowed himself to be derided and emasculated by his wife. Consequently, we didn't have much of a relationship, either.

I therefore left home with little concept of family. The only family I had known had appeared not to particularly like one another. Birthdays were not celebrated and, to this day, I still don't know my grandparents' dates of birth. We were a group of highly disparate and incompatible people, who -- for no good reason I could fathom -- had chosen to live together in the same house.

So, it's fair to say that I had little interest in family when I left home. I certainly wasn't about to go in search of more of it. Whoever my father was, he had his life and I had mine.

Perhaps surprisingly, I've kept that attitude most of my life. I long ago realised that if I were going to have any close family relationships, I was going to have to engineer them from scratch and create some new human-beings with whom to surround myself.

Sarah has spent the last eight years attempting to grind me down and mollify my stance on this matter, She was, from the very beginning, wildly curious about my natural father. She forced me to ask my biological mother questions about him that made me feel uncomfortable, because I didn't care about the answers and didn't want to create the impression I did.

When Eloïse was born, however, the issue of who my father was ceased to be a matter for just me. My father was, after all, Eloïse's grandfather. At the very least, perhaps there was important medical information to be had. Perhaps my father's side of the family had some hereditary illness, knowledge about which might prove vital to the health of my children in the future.

So, I very slowly started to soften towards Sarah's insistence that I should make an effort to trace my biological father. By the time Lucas was born, I had only very recently reached the stage that I was prepared to write a letter to the popular Dutch TV programme, Spoorloos, to see whether they could and would assist in trying to locate my father.

How could I have known that, within a matter of a few weeks, my father would surface under his own steam?

I decided almost immediately after reading his letter that I would contact him. On humanitarian grounds alone, it deserved a call. The man had already served a life sentence.

The weekend following the receipt of his letter, I made contact with my father via the telephone. You can imagine what a shock it was for him when I told him who I was. I was waiting for the dull thud of him passing out and failing to the floor at the other end, but it never came.

Just like that, one evening in early April, 41 years of searching came to an end.

He still lives in Ireland, near Dublin, which is where he met and got to know my mother. He told me that he has often stopped in front of the house where the Macdonald family lived in the mid-sixties, imagining my mother, a teenage girl at the time, at the window. I wonder how many times he's stopped in front of that window in the course of the last 41 years.

I can't imagine what it must have been like, to be haunted for 41 years by the few precious memories of your newborn son, to be regularly confronted by the sight of the places you used to walk, hand-in-hand, with your long-lost first love. Imagine not knowing what happened to either... One day, they're just gone; without a trace.

I find it poetic and poignant that my mother had to lose a brother in order for her son to be found by his father. It's the stuff of a naff soap-opera, but however far-fetched this plot line happens to sound, it's perfectly true.

My father's name is Tony and it turns out that I also have three half-brothers. None of those has any children yet, however, so Tony not only made the acquaintance of his first-born son during that first conversation, but also discovered the existence of his first two grandchildren (and little Lucas was still only a week old at the time): rather a lot to take on board in one evening.

Apparently, my uncle Paul's death was announced in an obituary in a local Winnipeg paper. Jason, Tony's youngest son, found the obituary using Google and showed it to his dad, who must have muttered something along the lines of, 'My God, it's them!'

Tony only recently told his other children about me. They were enthusiastic and wanted to help him with his search. If Tony had told them a few weeks earlier, my uncle Paul would have still been alive and they wouldn't have found his obituary. If they had been told a few weeks later, the obituary would have already been removed. Thus, there was a relatively short window of time in which their search would have yielded the desired results.

I don't believe in fate, but fate is making a pretty good case for itself in these circumstances.

And so it comes to pass that the company known as Google exerts its mighty, life-altering influence on me for the second time. Lightning strikes twice, indeed.

I'm still reeling from the realisation of just how profoundly Google and, by extension, the Internet, are able to influence and affect our lives. There must be thousands of people out there with stories like mine. Even back in 2001/2002, we were already receiving e-mails from people who had found lost family members or diagnosed their own illness and managed to save their own life. Amazing.

Since our initial telephone conversation, Tony and I have exchanged a few e-mails. Whilst he has my blog and our photo gallery to tell him what kind of person I turned out to be, Tony is still something of a mystery to me. The first photos from his side arrived in my in-box only a couple of days ago, so I've only just discovered what he and my half-brothers look like.

There's definitely a strong resemblance between Tony and me. There's an expression on his face in those photos that I've seen spread across my face in photos of me.

The initial telephone conversation was quite relaxed, all things considered. Any initial nerves soon subsided. However, I think if we were to continue the communication by telephone, things might soon become rather stilted. After all, we don't know each other at all, so it would be a bit forced to call each other up and attempt to chat as if we had the slightest clue about the daily grind of the other's life.

It's therefore important that we meet up soon and consolidate the contact we've already had. The plan is for Tony and his wife, Bernie, to come here on 12th June and stay with us for a week.

Assuming that contact goes well -- and I can't imagine that it wouldn't -- we will then head off to Ireland during the summer holiday to meet the extended family.

The idea of an initial meeting in a smaller circle is appealing. There's a lot of catching up to do, and many questions to be asked and answered; on both sides. Much of that will be better suited to a small group, as it would be difficult to focus on a lot of this personal history with a wider audience, most of whom weren't born when the events being discussed were unfolding. I suspect it may also be easier to speak frankly in a smaller circle.

30th March was a memorable day. Not only did I gain a beautiful son, but I also learnt that my biological father was looking for me. I had expected to gain a child that day, but it came as a rather large surprise to also gain a parent.

Life is bizarre; it really is. I thought the turbulence of my youth had finally been left behind when I turned my back on Silicon Valley and headed home to sleepy Amsterdam to raise a family. Little did I know that precisely that very concept -- family -- was soon to send such huge ripples radiating across the placid waters of my life.

Even when your life is as peaceful and seemingly uneventful as mine, the next surprise is always lurking just around the corner, right when you least expect it.

Amazing.

Full text

May 08, 2008 09:14 PM

James Ogley [riggwelter]

A haiku for a sunny summer day

In the summer time
When the pollen count is high
I wish plants would die.

May 08, 2008 03:48 PM

Making my life easier

For those who either have to use Windows occasionally or (poor, poor people) all the time, there are kick-ass OpenOffice.org 2.4.0 builds now available at Go-OO.org.

Why does this make my life easier? The presentation PC at church runs Windows and this means I can now upgrade the OOo install on it.

May 08, 2008 08:26 AM

Michael Still [mikal]

Estimating the progress of queries on MySQL

I've been doing a lot of batch updates on one of my databases at home recently. show processlist says something like this:

mysql> show processlist;
+-------+------+---------------+--------------+---------+-------+----------+------------------------------------------+
| Id    | User | Host          | db           | Command | Time  | State    | Info                                     |
+-------+------+---------------+--------------+---------+-------+----------+------------------------------------------|
| 18354 | root | maui:37403    | smtp_servers | Query   | 57234 | Updating | update ips_218 set reverse_lookup = null |
| 22286 | root | maui:37348    | smtp_servers | Query   | 38103 | Updating | update ips_80 set reverse_lookup = null, |
| 22851 | root | maui:54982    | smtp_servers | Query   | 34091 | Updating | update ips_19 set reverse_lookup = null, | 
| 23351 | root | molokai:58232 | smtp_servers | Sleep   |    57 |          | NULL                                     |
| 23496 | root | maui:40923    | smtp_servers | Query   | 29973 | Updating | update ips_62 set reverse_lookup = null, |
| 23906 | root | maui:38068    | smtp_servers | Query   | 26794 | Updating | update ips_83 set reverse_lookup = null, |
| 25675 | root | maui:56438    | smtp_servers | Query   | 12505 | Updating | update ips_82 set reverse_lookup = null, |
| 25846 | root | maui:41334    | smtp_servers | Query   | 10948 | Updating | update ips_90 set reverse_lookup = null, |
| 26437 | root | maui:41139    | smtp_servers | Query   |  6211 | Updating | update ips_66 set reverse_lookup = null, |
| 26773 | root | maui:32885    | smtp_servers | Query   |  3526 | Updating | update ips_76 set reverse_lookup = null, |
| 27073 | root | maui:42607    | smtp_servers | Query   |  1148 | Updating | update ips_11 set reverse_lookup = null, |
| 27202 | root | molokai:50688 | smtp_servers | Query   |     0 | NULL     | show processlist                         |
| 27203 | root | molokai:50689 | smtp_servers | Sleep   |     2 |          | NULL                                     |
+-------+------+---------------+--------------+---------+-------+----------+------------------------------------------+
14 rows in set (0.20 sec)


Now, wouldn't it be nice if MySQL provided some extra information about the progress of those queries? Like for example the number of rows which have been updated so far, or an estimate of how long the query has left to run? I'm ok with such queries not being very accurate, but I assume the storage engine has to have some idea of how many rows are in the table and how many it has touched already.

Perhaps something like this already exists and I haven't noticed? I'm using innodb if that matters.

Update: it seems like innodb can answer this question for me:

mysql> show engine innodb status \G;
...
---TRANSACTION 0 40056, ACTIVE 39794 sec, process no 22984, OS thread id 3020733328 waiting in InnoDB queue
mysql tables in use 1, locked 1
6672 lock struct(s), heap size 748864, undo log entries 909825
MySQL thread id 22851, query id 351217 maui 192.168.1.93 root Updating
update ips_19 set reverse_lookup = null, reverse = null, reverse_extracted
...


That doesn't give you an estimate of percentage complete though. I assume there is a 1:1 correlation between undo row entries and rows altered by the query?

Update: my imperical observation is that the undo rows are not 100% correlated to the number of rows your query changed. Its correlated to the number of rows that were changed kinda near your query. For example, if you're doing an update, then the number is good enough to trust. However, if you're doing a select, then the number seems to be the number of rows someone else changed while your select was running (i.e. how many old versions needed to be kept around because of your select transaction).

Also, Jeremy Cole to the rescue!

Tags for this post: mysql(S)

Comment on this post

May 08, 2008 04:19 AM

Martin Pool [mbp]

Bazaar gedit integration

Javier Derderian is working on ">">"integrating Bazaar into gedit, the GNOME standard text editor, so that you can very easily record changes, push them to a server, and so on. Bazaar's model that a branch is just a directory with extra metadata fits pretty well here. He just made another exciting release (or should that be "excited"? :-)

May 08, 2008 03:45 AM

Michael Still [mikal]

Blathering for Wednesday, 07 May 2008

09:16: $10 theft cost a $250,000 spill cleanup
09:16: " The 3,500-gallon spill of a toxic chemical into San Pablo Bay over the weekend cost an estimated $250,000 to clean up - and it was all for a lousy $10 worth of brass. The thieves who caused the spill of the chemical toluene at Reaction Products in Richmond were after the valves on holding tanks - the latest example of a crime wave involving barely precious metals that yield a few dollars at the recycling yard but can cost taxpayers big bucks."
09:57: Professor sues own students
09:58: "Priya Venkatesan taught English at Dartmouth College. She maintains that some of her students were so unreceptive of "French narrative theory" that it amounted to a hostile working environment. She is also readying lawsuits against her superiors, who she says papered over the harassment, as well as a confessional expose, which she promises will "name names.""
09:58: ... I guess that's one way of retaining control in the classroom


Tags for this post: blather(S)

Comment on this post

May 08, 2008 02:58 AM

Martin Pool [mbp]

Economist article titles, or indy playlist?

  • Suicide in Japan
  • Too soon to relax
  • A lot to be angry about
  • Fearful asymmetry
  • Death be not proud
  • Unsteady as she goes
  • Speedy decline
  • The Montana Meth Project
  • Prove who you are
  • Cristina in the land of make-believe
  • Unfraternal
  • Right back
  • Hopes of healing
  • Oceans apart
  • Rank injustice
  • Look behind you

Now I want to hear what A lot to be angry about sounds like.

May 08, 2008 02:40 AM

Avoiding "not permitted to upload" errors from PPAs

Morten asked today on irc about an error I have hit before myself: you go to upload your new package to a PPA, and get an odd message of Not permitted to upload to the RELEASE pocket in a series in the 'CURRENT' state.

What this means is that your upload was trying to go into the Ubuntu distribution, rather than into a PPA, and you're not authorized to put it there. The underlying reason is that the command line for dput, the tool for uploading source packages, is

dput [options] [host] package.changes ...

It's easy to forget the optional host parameter and if it's omitted it uploads into the Ubuntu archive.

There is a pretty easy (if crude) way to disable this behaviour, by adding these lines to your ~/.dput.cf:

[DEFAULT]
default_host_main = notspecified

[notspecified]
fqdn = SPECIFY.A.PPA.NAME

May 08, 2008 02:39 AM

May 07, 2008

Peter Colijn [pcolijn]

May 07, 2008

Note to self

If Firefox is super slow and freezing up all the time and using all your CPU and generally sucking (more than usual), the time-honoured tradition of

mv ~/.mozilla ~/.mozilla_bak

And restarting Firefox will cure what ails you (er, Firefox). I don't know what causes FF to start sucking like this, and it seems to happen quite suddenly too, not gradually as you might expect as your ~/.mozilla accumulates cruft.

May 07, 2008 10:37 PM

Titus Brown [titus]

Dear Lazyweb: JavaScript "imagemaps" and/or image subselection?

Dear Lazyweb, help!

I'm embarking on a number of summer projects in my new lab at MSU, and several of them focus on using pygr to do cool genomic stuff. In particular, I'm planning to build a personal genome annotation system that will let people run their own full genome Web sites and annotate the genomes with private information such as Solexa data, cDNA/EST projects, ChIP-seq, cis-regulatory reporter constructs, ncRNA predictions, etc. etc. (If you're interested in this sort of thing, get in touch -- it will, of course, be open source and open development, albeit in Python :)

As I've been thinking more about how to do the display side of things, I've been running headfirst into a serious lack of knowledge. I would like to make an interface that looks somewhat like your standard genome browser/GMOD/UCSC interface, such as this UCSC view of the chicken genome. I already have the basics of that view working; for example, see this simple example and a group-feature example. But I'd like to add more - a LOT more -- interactivity.

Ideally I'd like to be able to draw simple objects (squares, rectangles, lines) on some sort of canvas and then use JavaScript and AJAX to pop up windows and display bits of information. But I don't really know this space of functionality very well.

So I'm turning to the lazyweb.

Are JavaScript+image maps the right way to go (for example, this, this, and this)? Do they work well with multiple browsers? Or are there good JS libraries for drawing images on the fly in the browser? Is SVG a good thing to look at? Were you stuck with this task, what would you use?

The most important things for this project are, in order of importance:

  • basic functionality (JS image maps seem fine for this)
  • cross-browser functionality
  • selection (e.g. GMOD RubberBandSelection)
  • flexibility: reordering and redrawing of images.

Your thoughts are much appreciated! Please drop me a line or comment, whichever is most convenient. I'll summarize the options.

thanks,

--titus

p.s. I'm perfectly fine with "Google this, dumby!" I just don't have much in the way of google keyword knowledge in this area...

May 07, 2008 10:03 PM

Shlomi Fish [shlomif]

רשומה לכבוד יום העצמאות: מספיק עם ההתעסקות בבטחון!

יום עצמאות שמח לכולם! החלטתי לכתוב רשומה זאת לכבוד יום העצמאות, אבל קרוב לודאי שחלקכם לא תהיו מרוצים ממנה. הרשומה כתובה בעברית, מתוך רגשות פטריוטיות, אבל קרוב לודאי שאתרגם אותה אחר-כך לאנגלית ואדביק אותה כרשומה נפרדת.

מעשה שהיה כך היה: דיברתי עם פטריס קרומינס בפרינוד, והוא סיפר לי שהוא עתיד בקרוב לסיים את התואר הראשון שלו בפיזיקה. (בהצלחה ומזל טוב!) בכל מקרה, דיברנו על טקסי סיום בישראל ובלטביה (שהיא ארץ מושבו של פטריס) והוא הראה לי מספר תמונות של טקס סיום מלטביה.

התמונה הראשונה שלכדה את עיניי הייתה תמונה זאת של מספר בנות שככל הנראה עמדו לקבל את התעודה. כפי שניתן לראות הן חמודות לאללה, אבל אני מצאתי את התלבושות שלהן מצחיקות למדי ביחס למה שאני מכיר. פטריס סיפר לי שאלה תלבושות פורמליות רגילות של בחורות שם, והוא שאל אותי אם אוכל למצוא לו תמונות של בחורות ישראליות בתלבושות פורמליות.

טוב, ניגשתי לפליקר וחיפשתי "israeli girls" ומה אני רואה? מדים על גבי מדים. מרוב חאקי נהיה לי שחור בעיניים. תמונות באיכות טובה של חיילות נאות, אבל זהו - אך ורק חיילות. פטריס סיפר לי שאותן תמונות היו פופולריות ב-digg, ב-reddit ובכל שאר אתרי הקישורים החברתיים, ואולי זאת הסיבה מדוע פליקר מייחס להן חשיבות רבה כל כך.

טוב, חיילת במדים (או חייל זכר במדים) אינו מראה כל-כך נדיר בארץ בהתחשב בעובדה שמרבית הבנות משרתות בצבא שנתיים החל מגיל 18, וכן חלקן בוחרות לעשות גם קצונה או שירות קבע. אבל מרבית הנשים שרואים בארץ אינן לבושות במדים. כך שהחיפוש הזה בפליקר נותן רושם מטעה ופוליטי.

החיפוש "israeli woman" אינו מציג רק חיילות אבל הדף הראשון גם הוא פוליטי משהו.

עכשיו מגיע תוכן ההתלוננות שלי: לדעתי ישראל נתפסת כמדינה היפר-פוליטית והיפר-בטחונית הן בעיני תושבי העולם והן בעיני אזרחיה עצמה. אני אתן מספר דוגמאות:

  1. כאשר למדתי אזרחות בכיתה י‎"א המורה לאזרחות (שאני זוכר די לטובה) שאלה את הכיתה לאיזו ועדה של הכנסת, ראש הממשלה מחויב להתייצב, והתלמידים ענו "ועדת החוץ והבטחון". אולם, הועדה הנכונה הייתה "הועדה לביקורת המדינה" והמורה העירה שזאת הייתה אינדיקציה שאנו תופסים את הבטחון כחשוב יתר על המידה (והיא העירה על כך גם לפני כן.)

  2. במאמר הזה פול גרהם הוכיח "מדעית", שזאת תהיה משימה חסרת-טעם להקים "עמק סיליקון" בישראל - כלומר מרכז של סטארט-אפים. הוא כנראה לא שמע על חברות כמו מירביליס, צ'ק פוינט, זנד ועוד סטארט-אפים ישראליים רבים וטובים לשעבר. מרבית החברות שעבדתי בהן בתור מתכנת היו סטארט-אפים, ולא חסרות כאלן, וגם היו רבות כאלו גם בזמן המיתון.

  3. כאשר כתבתי את הרשומה הסטוריה מקוצרת של לינוקס בישראל בויקי של Hackers-IL, כתבתי במקור שלישראל היו בעיות רבות וביניהן "מיסוי מרובה, רגולציה מרובה ולא רציונלית, כמות רבה של פעילות טרוריסטית וכו". מישהו (שאני חושב שהיה ישראלי) מחק את מה שכתבתי והשאיר רק את "הכמות הרבה של פעילות טרוריסטית".

    עם כל הכבוד, הפעילות הטרוריסטית הרבה היא לא הבעייה החמורה ביותר שפוגעת בישראל. ישראלים רבים יותר מתו מתאונות דרכים ומעישון מאשר מפעילות טרור. וכאמור, לדעתי, כמות המיסוי האדירה פוגעת בישראל באופן ניכר הרבה מפעילות הטרור, וישראל לא תפסיד דבר (ואף תרוויח) ככל שהיא תצמצם אותה.

    כך שהעריכה הייתה מטעה.

  4. מספר רב מדי של אנשים זרים שדיברתי איתם מחו"ל בצ'אטים באינטרנט שאלו אותי אם ישראל בטוחה מספיק. ככל הנראה הרושם שלהם הוא שיש ירי ברחובות, וטילים בכל מקום, וישראל איננה בטוחה. אולם המציאות היא שמרבית תושבי ישראל מרגישים בטוחים מאוד.

כמובן, גם אני אינני טלית שכולה תכלת בנושא הזה. הסיפור הרציני הראשון שכתבתי היה מבוסס על המצב הפוליטי בגבול בין ישראל ולבנון, אם כי יאמר להגנתי שיש לו מסר הרבה יותר אוניברסלי. כמו-כן כתבתי מאמרים על פוליטיקה וכן רשומות פוליטיות רבות בבלוג שלי, אם כי לא כולן על המצב הפוליטי-בטחוני בישראל.

אבל אני חושב שיש לנו כעם אובססיה רבה מדי עם הצבא, והבטחון של ישראל. אם אתם שואלים לדעתי, הגורם העיקרי שמצבנו הבטחוני מעורער כל-כך היא העובדה שקיימת בישראל אפליה חוקתית. עד שלא נמגר אותה לחלוטין, היא תביא לאפליה ולגזענות רגילה, וכן ליחסים לא אוהדים גם בקרב הערבים ושאר תושבי-העולם הכי ליברליים. ואני אומר זאת כישראלי יהודי. אם לעוות את מה שיודה אמר: "עשה או אל תעשה. אבל אל תעשה ליהודי ולא תעשה לגוי, או להפך."

בכל מקרה, בתור ישראלים ביום העצמאות, אנחנו צריכים לזכור שהצבא והבטחון הם כלי ולא מטרה. המטרה היא שאזרחיה יוכלו לחיות חיים בשלום, שלוה, אושר ושגשוג. יום עצמאות שמח לכל תושבי ישראל!

May 07, 2008 07:36 PM

Pierre Phaneuf [pphaneuf]

It was extremely brief, and you had to pay very close attention, but the sugar season's passed now, and thankfully, [info]azrhey and I managed to catch some sugar shack action, thanks to my dad inviting us over to his annual thing (which went better than the last time, as I wasn't dying this time!). It was what, [info]azrhey's third time in a sugar shack in her life? How do they manage over there? ;-)

I went for a lightning trip to New York City, where I thought it'd be a good idea to get a room at the Hotel Chelsea, since, you know, the office is in Chelsea, that'd be convenient, no? I did listen to punk music, but I don't remember stabbing anyone. I didn't write a novel either, but I did write a small piece of code, related to my most recent ranting, where my hack gets similar latency on event handling as busy waiting on the event queue, while using less CPU (and much lower latency, by multiple frames!) than SDL's built-in SDL_WaitEvent.

This last item results in myself restraining myself very hard from going off and making a high-performance game library. Add it to the list of things I could do very well, but that I shouldn't be doing because it's useless. Argh.

[info]azrhey and I went to see Iron Man, which was pretty damned good, I think. I think that it was a good introduction, although the battle at the end was a bit contrived and short on time. I think Justin Hammer might have been a better choice, with multiple supporting bad guys, but Iron Monger does make for big badaboom. I liked the hints at War Machine, and the small (in that movie, at least) involvement of S.H.I.E.L.D..

I'm now about to register for the Bike Fest, which inconveniently overlaps with MUTEK. The day ride doesn't pose a problem, but I really like the night ride, and that will obviously mean that I'll be missing out on something else... We'll see.

May 07, 2008 04:21 PM

Philip Van Hoof [pvanhoof]

On the act of subverting the British nation

A few days ago I made a completely correct analysis of how the Schuko standard for power sockets and plugs, used on the continent of Europe, is superior to the British BS1363 standard.

Today I noticed the fruits of our hard work of trying to convert the British people to the fine uses and traditions of the people who live on the European continent. I saw a carton “Gezeefde Tomaten / Purée de Tomates” at a supermarket in Durham UK.

Just like how politics in Belgium work we have started applying the principle of divide and conqueror: instead of using their native language English, we are now sending them products with dual language branding and descriptions. Just like in our own country. This introduces doubt about their English identity. To divide you first need to generate fear and doubt (Am I really English? I’m not Welsh either? Maybe I’m Dutch? Maybe French!! Wouh!). Then you conqueror them by telling them, with a soft voice:

No no, you are Europe.

Works great! Just make them believe those Belgian “Purée de Tomates or Gezeefde Tomaten” are good. Once they grasped that, tell them: “but the tomatoes and the brand itself (Valfrutta) actually comes from Italy”. That’ll completely confuse them! Then relax them by softly putting your hand on their forehead and say: you are European, don’t be afraid child.

ps. Dear people who don’t live in Europe: this post is sarcasm, irony, a joke.

May 07, 2008 01:18 PM

Steve Kemp [Stevey/skx]

You're not too technical, just ugly, gross ugly

Well a brief post about what I've been up to over the past few days.

An alioth project was created for the maintainance of the bash-completion package. I spent about 40 minutes yesterday committing fixes to some of the low-lying fruit.

I suspect I'll do a little more of that, and then back off. I only started looking at the package because there was a request-for-help bug filed against it. It works well enough for me with some small local additions

The big decision for the bash-completion project is how to go forwards from the current situation where the project is basically a large monolithic script. Ideally the openssh-client package should contain the completion for ssh, scp, etc..

Making that transition will be hard. But interesting.

In other news I submitted a couple of "make-work" patches to the QPSMTPD SMTP proxy - just tidying up a minor cosmetic issues. I'm starting to get to the point where I understand the internals pretty well now, which is a good thing!

I love working on QPSMTPD. It rocks. It is basically the core of my antispam service and a real delight to code for. I cannot overemphasise that enough - some projects are just so obviously coded properly. Hard to replicate, easy to recognise...

I've been working on my own pre-connection system which is a little more specialied; making use of the Class::Pluggable library - packaged for Debian by Sarah.

(The world -> Pre-Connection/Load-Balancing Proxy -> QPSMTPD -> Exim4. No fragility there then ;)

Finally I made a tweak to the Debian Planet configuration. If you have Javascript disabled you'll no longer see the "Show Author"/"Hide Author" links. This is great for people who use Lynx, Links, or other minimal browsers.

TODO:

I'm still waiting for the creation of the javascript project to be setup so that I can work on importing my jQuery package.

I still need to sit down and work through the Apache2 bugs I identified as being simple to fix. I've got it building from SVN now though; so progress is being made!

Finally this weekend I need to sit down and find the time to answer Steve's "Team Questionnaire". Leave it any longer and it'll never get answered. Sigh.

ObQuote: Shooting Fish

May 07, 2008 01:02 PM

Michael Still [mikal]

The Complete Hammer's Slammers Volume 1 and 2

It occurred to me over the weekend that it was odd that I was updating books I had recently read on a book site like goodreads, given that all I'm doing by entering data on their site is blogging someplace that not even I remember to read. I'm therefore going to move all of that stuff over to here, and then try to remember to blog about books I've read recently in the future. Don't worry though, I don't get much time to read in between work, study and kids, so it wont be too many posts.

Dad got me these books for my birthday last year, and they were awesome. The books are about a future tank squadron which takes on mercenary jobs, none of which ever seem to be clean or simple. Along the way you end up learning that they're all just misfits who haven't managed to find any other job which is a better fit for them. Worse than that, I'm left with the impression that in the back of their minds they all realize that they're running on borrowed time. David Drake has a unique position to comment on what its like to fight in a war, given he is a Vietnam veteran. These stories are fantastic science fiction, and often leave you with a realization that war often isn't simple, or fair. I first encountered David's writing when I was a kid reading a remaindered anthology called "Battlefields Beyond Tomorrow", which was a collection of short war science fiction stories. Luckily for me 15 or so years after I first encountered them I still think they are great stories. These books are highly recommended. [isbn: 1892389738]

Tags for this post: book(S) David_Drake(S)

Comment on this post

May 07, 2008 12:21 PM

A Stainless Steel Rat is Born

This was another book I read as a kid and had fond memories of. When I found it at Powell's books for under $4 I just had to pick it up. Harrison seems to focus on "pulp science fiction" -- all of the stuff I have seen from him has been short and easy reading, as is the case with this book. What do you do if you're stuck on a farming planet, smart, and bored out of your brain? Apparently the answer is to turn to a life of crime for entertainment. That's what James DeGriz does, and he is a great anti-hero while he's at it. Great book.

Tags for this post: book(S) Harry_Harrison(S)

Comment on this post

May 07, 2008 12:19 PM

James Ogley [riggwelter]

Green, scaley and oh so cute!

It's great to see openSUSE Lizards launched. People blogging on Lizards will soon start to appear on Planet SUSE (basically as soon as they start posting). Where they have an existing blog and both will continue to be active, their entries from Lizards will be prefixed with Lizards:

May 07, 2008 11:10 AM

Michael Still [mikal]

Blathering for Tuesday, 06 May 2008

12:57: I am RICH and I want to spend it on YOU tonight
12:57: "I am so rich. Goodness, gracious. My, my, my. I am so, very, very wealthy. How many dollars do I have? That's a question only my team of ten fat accountants can answer, because they have golden calculators which I bought for them with my money. And what is on those golden calculators? Numbers. And those numbers equal the dollars in my bank accounts, which are huge... In my vehicles I have stored many bottles of rare, delicious wines. These wines are hundreds of years old and covered in dust and cobwebs, which means that they are the most delicious kind, and that they were grown from grapes which were so succulent and juicy that the poor grape-pickers of France wanted to eat them right then and there. But they were whipped, by my shift-leader vintner, who makes sure that the best grapes in my vineyard go only into the wine. That's right, my great grandfather, who was also rich, owned the vineyard where this wine was made. And it's really strong too, it can get you wasted quickly."
12:57: (And so much more)
14:37: Why is it that all ecommerce sites in Australia are terrible? Take for example Canberra Sand and Gravel. I want a quote on some sleepers, so off to http://users.tpg.com.au/csgfysh/products.html. There they have a list of the products they sell, but not the prices. So now I know what a sleeper looks like (in case I've never been in the outside world before I suppose), but still have no idea what they cost. Thanks guys.
15:50: An automated rick roll detector. It adds a right click context menu item labelled "report as rickroll"!


Tags for this post: blather(S)

Comment on this post

May 07, 2008 08:50 AM

Shlomi Fish [shlomif]

Perl Must Decentralize, Diversify and Colonize

Andy Lester has written a great article about some of the social and philosophical problems with the Perl world. He says that while Perl 5 is a great technology, has a very comprensive collection of reusable, open-source code called "CPAN", and has a lot to show for, it has suffered from concentration of effort and other such problems.

This, in turn, contributed to the fact that many programmers concluded it was "dead", "dying", "not good enough", or other such negative hype and negative myths. While Lester's article suffers from some problems, it still makes a good read even if you're not an avid Perler.

May 07, 2008 05:50 AM

May 06, 2008

Shlomi Fish [shlomif]

New Essay: "What Makes Software High-Quality"

I wrote a new Essay about what makes software applications high-quality, as well as which parameters and methods, while desirable and quality-enhancing, are not exactly quality. It was inspired by a post on a public mailing list I set up, and Perl and perl 5 are mentioned there a few times, as are many other open-source projects.

It is available in several formats: HTML to read online (on Page), DocBook/XML source (which can in turn render other formats), PDF (please don't print it even though you are legally allowed to). The licence is CC-by-2.5. Comments are welcome.

May 06, 2008 09:45 PM

Thomas Thurman [marnanel]

Why

Does anyone know where I can get my hands on anything by the nineties CCM folk-rock band Why? ("Rachel Says Boo", "Giggle", "Pinnenstripensuitenwearenfoddergeburnenclipencloppen", etc; Nick Parker, Ant Parker, others). I had a bunch of their albums back in the day and I miss them, and there's nowhere you can get them any more.

May 06, 2008 08:20 PM

Steve Kemp [Stevey/skx]

Only after disaster can we be resurrected

I leave my main desktop logged in for months a time; as demonstrated by my previous bug with the keyboard transition for xorg.

The screen is setup to lock after 5 minutes of idle, so there's no real security issue, and it is extremely convenient.

Every few weeks though my desktop gets into a funny state where no new windows may be opened.. Existing applications continue running without any problems, but no new windows/shells/whatever may be opened.

Tonight it happened again.

And the lightbulb went on in my head: My flat uses CFEngine to manage itself. (Two physical servers here, with 5-10 Xen guests, and a number of remote servers.)

One of the things that CFengine is configued to do is to tidy directories of files which are older than 30 days. Including /tmp.

So that explains that.

Every month the magic cookie in $TMP would be nuked, and X would disallow new connections.

I guess the next time this happens I should look at using Xauth to fix the issue, but generally I just logout, make coffee, smoke a cigarette, and login again.

In conclusion: I'm a stupid-head.

ObQuote: Fight Club

May 06, 2008 07:25 PM

Thomas Thurman [marnanel]

OMG I AM GETTING SUCKED INTO READING BABY NAME SITES

I love the name Kai and was delighted to find out it is a welsh name, as our Surname is Griffith.
Our new baby boy adopted from Vietnam will be named Kai.


(Found while reading up on this.)

May 06, 2008 04:04 PM

Deb Richardson [dria]

Firefox 3: Site Identification button

[I use a Mac, so all the images in this post are of the Mac user interface. The UI for other platforms will differ slightly. Click on pictures to view other sizes.]

Ensuring that users are safe, secure, and protected while they browse the Web is one of the greatest challenges facing browser makers. Browser security involves a delicate balance between protecting the user from the dangers that exist on the Web and overly restricting the user’s freedom to go where she wants and see what she wants while surfing.

One of my favorite new Firefox 3 security features is the Site Identification button. This button replaces and builds upon the ubiquitous “padlock” icon that has for so long been the primary security indicator used in browsers. Firefox 2, for example, indicates that the connection to a site is encrypted by changing the background color of the location bar and displaying a padlock icon.