darobin's Journal http://use.perl.org/~darobin/journal/ darobin's use Perl Journal en-us use Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners. 2012-01-25T02:02:31+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 darobin's Journal http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~darobin/journal/ Switch http://use.perl.org/~darobin/journal/20487?from=rss <p> The same guy that did Apple's famous &#171;Switch&#187; ads featuring users switching from moronic PCs to Macs is doing the same thing, featuring Republicans switching from a murderous moron to Kerry. <a href="https://www.moveonpac.org/donate/switchad_winners.html">Check it out</a>. </p> darobin 2004-08-20T12:11:01+00:00 journal EOCPAN http://use.perl.org/~darobin/journal/20473?from=rss <p> After an email to dahut.pm, one to perl-xml, and a final one to axkit-users, I am now ridded of all my CPAN modules. To put it in PAUSE's exquisite wording, <em>"Sorry, there are no modules registered belonging to RBERJON."</em> </p><p> It's been a fun bunch of years being a CPANian, and I can safely say that a lot that I learnt about, heck, more than just computerish stuff has been learnt in the process of putting stuff up there and maintaining it. </p><p> But things change and people's interests with them. Perl was my first love and I won't forget it. Nothing I do for work involves Perl even remotely (in fact, very little involves actual coding). What little development I do in my spare time is all oriented around UI-level technologies (SVG, XForms, etc). While there are excellent packages out there in Perl for that sort of stuff (Wx, CamelBones,<nobr> <wbr></nobr>...) it's not Perl's forte, and at this point in time I'm using Objective-C most of the time. I'll admit that ObjC's Smalltalkish features also help there -- had Perl 6 been around I would probably be using that instead. </p><p> I would like to send a big heartfelt and thankful hug to all that have directly or indirectly contributed to CPAN and the stuff I enjoyed putting up there, whether it be with patches, suggestions, beer, rants and bitching, bug reports, or kamikaze shots at 3am in a hotel patio. Be sure to keep it up! </p> darobin 2004-08-19T13:40:50+00:00 journal The cheese-eatin' surrender monkeys were right http://use.perl.org/~darobin/journal/15749?from=rss <p> Interesting <a href="http://nationaljournal.com/about/njweekly/stories/2003/1107nj1.htm">article</a><nobr> <wbr></nobr>:) </p> darobin 2003-11-13T13:04:10+00:00 journal Beer in (Ancient) Greek http://use.perl.org/~darobin/journal/15608?from=rss <p> I have a serious problem: I need to find out how to say beer in Ancient Greek. One source I looked at said "see wine", which was partly what I feared though I remain unconvinced. Another source said "&#8050;&#954; &#954;&#961;&#953;&#836;&#952;&#969;&#836;&#957; &#956;&#941;&#952;&#8021;". Does anyone know? This, as you will easily guess, if of vital importance! </p> darobin 2003-11-06T09:49:57+00:00 journal Unnecessary evil? http://use.perl.org/~darobin/journal/15198?from=rss <p> An interesting <a href="http://www.iht.com/articles/113524.html">IHT article</a>: </p><blockquote><div><p>"<i>What's interesting isn't that there are fewer people in church</i>," said the Reverend Jean Fran&#231;ois Bordarier, a priest in Lille, in northern France, "<i>but that there are any at all.</i>"</p></div> </blockquote> darobin 2003-10-14T09:22:07+00:00 journal Firebird Search Plugin for CPAN http://use.perl.org/~darobin/journal/15119?from=rss <p> I have no idea if this has been done before, I haven't had time to catch up on use.perl for over a month<nobr> <wbr></nobr>:( However, in case it isn't, I'll throw it here. </p><p> Firebird has a neat little search box at the top right of its UI. The content of what appears there is controlled by what's in $FIREBIRD_DIR/searchplugins. You can add as many as you want, using a really weird (but usable) syntax. It comes with Google and DMOZ (clicking on the icon in the box allows you to choose the one you want). </p><p> I added a CPAN search one. You can grab it from <a href="http://expway.com/robin/mozilla/CPAN.src">http://expway.com/robin/mozilla/CPAN.src</a> along with its icon <a href="http://expway.com/robin/mozilla/CPAN.gif">http://expway.com/robin/mozilla/CPAN.gif</a>. Drop those in the aforementionned folder, restart Firebird and voil&#224;! you can search CPAN. The icon is the book that does the A in the CPAN logo, credit goes to whoever did that. </p> darobin 2003-10-08T18:05:17+00:00 journal Politics, Blame, use.perl, etc. http://use.perl.org/~darobin/journal/14339?from=rss <p> Those of you that follow my journal with even vague regularity will have noticed that many of the recent entries are short, mostly political, entries, and that there is little room for Perl, or even -- alas -- for proper answers to what comments are to be found there. I realize that this may not be considered appropriate by some, wish no quarrel with them, and will no doubt move my journal to some other place when time allows me to. However, there are varied assortments of reasons for this, and some of those follow. </p><p> First and least interesting is time. I post about what I notice most, have unfortunately very little time to address objections whether valid, invalid, interesting, or boring, and focus on pointing to other resources way much more than expressing my self. That being said, on to more interesting bits. </p><p> It is hard, even for people interested in politics as I am, to find right wing (some of you may prefer to say conservative) people to exchange views, even if briefly, with. Finding right wing people is easy. Finding ones that can articulate non-monosyllabic, in these parts, is hard. Beyond "welfare is evil", "all arabs are terrorists", or "you will burn in hell because you don't believe in &lt;insert favourite fictitious entity&gt;" there is little to be found in terms of "proper" right wing thought around Paris. Even though the current French government is from the right, I could easily pick any right wing economist and roast their actions to silliness. So having two or three right wing people that can finish a sentence without drooling close by is very interesting -- and tempting even when it may be considered off-topic. As a side-note, I realize that some of you may take offense at the equating of religion and right-wingedness that I express above. Simply please keep in mind that that is what I am given to see here. And at the very least, that those that are religious and remotely sane here would refuse in any way -- and probably fight in every way, possibly more than atheists -- any political leader engaging in something he calls a "crusade". And all things considered, unless you want Islam eradicated, for good reason. </p><p> So I find value in the opposition. Even when given, as recently, some arguments that I will in all understanding of the weight of words decidedly call delirious -- namely the idea that global warming may not happen, or if it does it is not proven that it is due to CO2 -- the difference is of interest. That particular argument is of course a special case since it is about as valid as the non-incidence of smoking on lung cancer defended by some cigarette companies (hey, it's been shown that over 40% of people that die from lung cancer have cats...), the centrality of the Earth in the Universe, or Elvis' abduction by aliens. It is of value because it is telling when even smart, educated, often science-loving people put forth such claims. And I am sure that they could find such "telling" things in my discourse, because precisely they are smart and educated and all, and we all have our blind spots. </p><p> So the take-away thing is, not taking into account the vanilla (is that the right expression?) stuff about understanding other cultures, that the opportunity to talk to people that disagree and can articulate it is interesting because any political belief requires blind spots, and theirs aren't the same ones. </p><p> Different cultures? Yes. I'm sure many that were (foolish|courageous) enough to read this far has pretty much pictured "those others" as Americans. Judging from the comments, they indeed seem to be, even if that is not my specific target at all. But do Americans count as a totally different culture from, say, the French? Even from, say, a french guy that writes better English overall than French, is half-Australian, and sometimes shows off his EU passport? Yes. I've lived in the US, and the single worst mistake to make if you're European is to think that it's the same culture, or even one as closely related as european cultures are to one another. It's not that there's that huge a gap, it's just that there are cultural faux-amis. The movies you've seen, the familiar languag, the politics you've at least heard about, and of course the clich&#233;s bandied about in many places trick you into behaving as if understanding the american culture was almost a given when <em>really</em> it is not. The false familiarity works as a wall whereas when confronted with a culture perceived as perhaps more "alien" one will make conscious efforts to understand. </p><p> Monstrous? Hmmm, tsssst. Yes, I've been accused of calling the Americans "monstrous" (hi jordan!). Was it deserved? I don't think so, at least I hope not. In my experience, it certainly is not true, far from it. What I <em>will</em> gladly admit to is calling the Bush administration monstrous, or rather I wouldn't since that's not a word I use I and think they're worse than that, but yes I'd use much worse words for them. The comparison of Bushists and Bathists is one that has come up before, and I am not foolish enough to put them in the same bag. The Bathist are worse. But by a matter of degree more than one of essence, both being on the same wrong side of the line [having voted for Bush, or being a "Republican", doesn't make one, in this argument, a Bushist. Thinking that Iraqi WMDs could kill more people than the pollution of industrial countries, and rejecting the Kyoto Treaty and at least part of the war in Iraq -- today -- does]. I do confess to not understanding the lack of social unrest in the US when several young Americans are killed almost daily for government lies (ok pudge, very very unproven statements). If democracy is the reason, which it wasn't until late, why is Afghanistan such a terrible mess today, with talibans still owning much of the place? (you'll note<nobr> <wbr></nobr>.af was a NATO intervention for large parts, and that I'm not talking about countries that weren't on the radar for that fairly short period of time). There were reasons to go to Iraq, why not change Chapter 7 for that sort of situation as has been discussed repeatedly over the past decade? Oh, and don't tell me terrorism has anything to do with it, please. </p><p> Ah well, I've diatribed for a while if I may say so. And not on Perl. If you don't like it say so. If you like it but not here say so. Either way Perl bloody rocks, as it exemplified itself to me today when I could write a program that deduced an XML Schema from a large bunch of XML documents in under thirty minutes<nobr> <wbr></nobr>:) If you do answer, think twice about your bias and mine. And please be patient, as I don't often find the conjunction of sleeplessness, a my girlfriend's computer, time, and the wish to write a little thing down... </p> darobin 2003-08-26T23:45:17+00:00 journal Insult upon Injury http://use.perl.org/~darobin/journal/14297?from=rss <p> My relationship with the rent agency that I pay my rent to was never really good. Now, they are sueing me based on presposterous claims, for some rather preposterous amounts of money, claiming that I haven't paid my rent for ages when in fact a cursory search for my paper has produced proof that I've paid my rent for all of this year except one month (and that one month could well be just because I haven't dug deep enough in my papers to find the proof). </p><p> That, in itself, is already rather bothering. Such lawsuits are rare, and I have no idea what the outcome can be, and if it's the sort that can be settled out of court. Thankfully, I am very close to a lovely young lady that happens to be a very good young lawyer at Paris' largest agency. I'm sure she'll be able to provide a wealth of detail. </p><p> But that's not my point herewith. The assignation to court that I received from the Tribunal d'Instance of the 11th, instead of being written in what I believed to be the usual ugly but somewhat geek-friendly constant-width font, is typed out in -- get this -- <em>Comic Sans MS</em>. </p><p> Oh, the horror! Oh, the insult! Regaining my lost honour will require bloodshed! </p> darobin 2003-08-25T11:51:45+00:00 journal Déjà Vu http://use.perl.org/~darobin/journal/14245?from=rss <blockquote><div><p>"Of course the people don't want war. But after all, it's the leaders of the country who determine the policy, and it's always a simple matter to drag the people along whether it's a democracy, a fascist dictatorship, or a parliament, or a communist dictatorship. Voice or no voice, the people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked, and denounce the pacifists for lack of patriotism, and exposing the country to greater danger."<br> <a href="http://www.snopes.com/quotes/goering.htm">-- Herman Goering at the Nuremberg trials</a> (through ubu)</p></div> </blockquote> darobin 2003-08-21T10:30:57+00:00 journal ascii_rules.doc http://use.perl.org/~darobin/journal/14228?from=rss <p> As a member of the Program Committee for the upcoming <a href="http://www.w3.org/2003/07/binary-xml-cfp.html">W3C Workshop on Binary Infosets</a> I have been reading through the fortyish currently submitted papers (the deadline is passed, but papers can in fact still be sent). </p><p> Two papers in the set are rather strongly opposed to binary infosets (the ability to encode XML information in a binary format). That's fine, negative opinions are more than welcome. </p><p> Two papers in the set were also sent as Word documents. </p><p> Yes. Those are the same two that promote the superiority of textual formats. It could make a good case, problem is, I don't think it was done on purpose. Ah well, the little ironies of computing... </p> darobin 2003-08-20T16:38:21+00:00 journal OS X Address Book freeze? http://use.perl.org/~darobin/journal/14097?from=rss <p> Has anyone had issues with the OS X Address Book? All of a sudden, mine has gotten into the habit of freezing for five minutes before I can start using it (after that it's fine). I only have four people in it... Deleting its Library files and relaunching it doesn't change anything. This causes Mail to do the same (it waits for five minutes when "Loading Address Book" before becoming usable). </p><p> This is quite a bummer, I'd just decided that I'd start using more native apps (as opposed to mostly unixish stuff) to see if it worked. Hmmm, it's not working<nobr> <wbr></nobr>:( </p> darobin 2003-08-13T18:46:33+00:00 apple Dream http://use.perl.org/~darobin/journal/14062?from=rss <p> <a href="http://www.guardian.co.uk/comment/story/0,3604,1016597,00.html">Global warming?</a> </p> darobin 2003-08-12T13:17:11+00:00 journal Twenty Lies http://use.perl.org/~darobin/journal/13477?from=rss <p> <a href="http://news.independent.co.uk/uk/politics/story.jsp?story=424008">http://news.independent.co.uk/uk/politics/story.jsp?story=424008</a> </p><p> I still fail to get how lying about a blow job can be a major scandal but lying about killing and stealing from people can be ok. </p> darobin 2003-07-16T07:16:42+00:00 journal Temperature in France http://use.perl.org/~darobin/journal/13155?from=rss <p> I was reading through OS X Hacks and fell upon a cool hack: five lines of Perl to call a remote SOAP service, and a little applescript for it to respond to voice commands and answer by telling you the temperature outside. </p><p> Unfortunately, it's US centric and only takes US zipcodes<nobr> <wbr></nobr>:( Anyone know of a similar SOAP service for other countries? </p> darobin 2003-06-30T16:13:11+00:00 journal FOAF, RDF, and CPAN http://use.perl.org/~darobin/journal/13007?from=rss <p> From danbri: <a href="http://rdfweb.org/mt/foaflog/archives/000029.html">http://rdfweb.org/mt/foaflog/archives/000029.html</a> </p> darobin 2003-06-23T13:44:22+00:00 journal Text editors for OS X http://use.perl.org/~darobin/journal/12946?from=rss <p> Are there any decent ones? I mean <em>really</em> decent ones, like TextPad or Kate. None of that emacs, or vi, or bbedit sillyness. Thanks for any pointers! </p> darobin 2003-06-19T13:28:30+00:00 journal WMDs Found! http://use.perl.org/~darobin/journal/12476?from=rss <a href="http://www.guardian.co.uk/usa/story/0,12271,965319,00.html">http://www.guardian.co.uk/usa/story/0,12271,965319,00.html</a> darobin 2003-05-28T09:59:49+00:00 journal Vote! http://use.perl.org/~darobin/journal/12369?from=rss <p> If you have a minute, please go to <a href="http://www.mozillazine.org/weblogs/hyatt/archives/2003_05.html#003340">http://www.mozillazine.org/weblogs/hyatt/archives/2003_05.html#003340</a> and vote for SVG! Help save the world! Thanks<nobr> <wbr></nobr>:) </p> darobin 2003-05-22T09:37:13+00:00 journal Urgh http://use.perl.org/~darobin/journal/11770?from=rss <blockquote><div><p> <em> <a href="http://www.starspangledicecream.com/">Like millions of your fellow Americans, you enjoy ice cream but do NOT enjoy seeing your money funneled to wacko left-wing causes. We are not ashamed of America. We think it's the best country ever</a> </em></p></div> </blockquote> darobin 2003-04-22T08:40:02+00:00 journal YAPP.xsl http://use.perl.org/~darobin/journal/11695?from=rss <p> <a href="http://www.o-xml.org/yapp/">Quite scary</a> </p> darobin 2003-04-17T10:34:16+00:00 journal looking for the good guys http://use.perl.org/~darobin/journal/11574?from=rss <p> In case you hadn't seen this in a number of other blogs. </p><blockquote><div><p> <em>"Many of the survivors were loaded back in the containers with the corpses, then driven to a place in the desert called Dasht-i-Leili. In the presence of up to 40 US special forces, the living and the dead were dumped into ditches. Anyone who moved was shot. The German newspaper Die Zeit investigated the claims and concluded that: "No one doubted that the Americans had taken part. Even at higher levels there are no doubts on this issue. (...) The five soldiers dragged in front of the cameras [a little while ago] should thank their lucky stars that they are prisoners not of the American forces fighting for civilisation, but of the "barbaric and inhuman" Iraqis."</em> <br> --<a href="http://www.guardian.co.uk/comment/story/0,3604,921192,00.html">One rule for them</a></p></div> </blockquote> darobin 2003-04-10T12:27:45+00:00 journal Keyboards and language design http://use.perl.org/~darobin/journal/11546?from=rss <p> Given a French keyboard where <code>~#{}[]|`@</code> are all accessible only through Alt-Gr would you have designed Perl the same way or would you have gone more in the direction of Python or Ruby? All those sigils do tend to be extremely ASCII-keyboard centric. </p> darobin 2003-04-09T14:03:14+00:00 journal HyperSound http://use.perl.org/~darobin/journal/11425?from=rss <p> A while back merlyn posted a link to a fascinating <a href="http://www.nytimes.com/2003/03/23/magazine/23SOUND.html?pagewanted=print&amp;position=bottom">article on HyperSound</a> (unfortunately now it's for pay), a way to project sound in a beam a bit the way a laser is projected compared to natural light. </p><p> The article mentions it being at Radio Shack. I want to buy an HSS emitter, preferably the component. I couldn't find anything from Radio Shack's website. The parent company only sells largish ugly things (that I could find). Does anyone have any leads on this? I'd really like to have one. </p> darobin 2003-04-03T12:46:32+00:00 journal G8 http://use.perl.org/~darobin/journal/11422?from=rss <p> The next G8 meeting is in Evian, Haute-Savoie, France, on June 01-03. I'm thinking about going, probably with a bunch of friends. Is anyone here planning on maybe attending as well? </p> darobin 2003-04-03T10:29:07+00:00 journal Mail charset autoconversion http://use.perl.org/~darobin/journal/11419?from=rss <p> It seems to me that mail.pm.org has a strange behaviour. You feed it: </p><blockquote><div><p> <tt>&nbsp; Content-Type: text/plain; charset=UTF-8; format=flowed</tt></p></div> </blockquote><p> and you get back: </p><blockquote><div><p> <tt>&nbsp; Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>&nbsp; Content-Transfer-Encoding: quoted-printable<br>&nbsp; X-MIME-Autoconverted: from 8bit to quoted-printable by mail.pm.org id h339XIO14283</tt></p></div> </blockquote><p> Is there any reason for doing that? I'm not criticising the fine folks that make this run as it may be a good option, but it is mildly annoying at times so I'd like to know<nobr> <wbr></nobr>:) </p> darobin 2003-04-03T10:05:25+00:00 journal One of the worst http://use.perl.org/~darobin/journal/11336?from=rss <p> <a href="http://www.xml.com/pub/a/2003/03/26/patterns.html">This article</a> is probably one of the worst and most boring articles on XML ever. It lists non-patterns (in one case, an anti-pattern) that are completely useless and either fail to address the problem they set out to or address a problem that doesn't really exist. Don't waste your time reading it. Oh, and it also has fun disparaging Perl perfectly gratuitously <em>en passant</em>. </p><p> Is it just me or is xml.com increasingly becoming a waste of otherwise perfectly good bytes? </p> darobin 2003-03-31T14:56:51+00:00 journal Keyboard navigation http://use.perl.org/~darobin/journal/11264?from=rss <p> I've only started seriously using Mozilla's keyboard-based navigation features recently, but just as it was for tabs I am now completely lost when it doesn't work and when it's not there. I always looked funny at people that over-used their mice (eg going to "File" then "Quit" instead of the keyboard shortcut to kill/close or at least the corresponding window decoration), now I look weird at people that use them to surf the Web. I can't help thinking they must have some kind of problem. </p><p> The principle is simple: you hit some keys and it matches them within any link. Hitting enter will activate the link (Ctrl+Enter for a new tab if that option is set). Starting with "/" will make it search throughout the entire text, which is less innovatively useful but more natural than Ctrl+F. You will quickly realise that two letters is what is needed at most for the better part of your browsing. Otherwise, F3 is your friend. </p><p> I wish they had something similar for forms, I still have to use my mouse to get to those when they're too many tabs away... </p> darobin 2003-03-27T16:18:10+00:00 journal Friends with the Python People http://use.perl.org/~darobin/journal/11218?from=rss <p> Seeing that Perl and Python are the two most advanced languages when it comes to XML support, there is some thinking about how we could get the two communities to exchange ideas. Both sides have really good ideas here and there that could be ported both ways, or could have been specified jointly. </p><p> We could kick some jAss (Java Application Server System). </p><p> So what do you think would be the best way of going about this? I've been talking with Uche Ogbuji and we're looking for ideas. Any suggestion, even silly, is welcome<nobr> <wbr></nobr>:) </p> darobin 2003-03-25T11:12:58+00:00 journal Universal Competence http://use.perl.org/~darobin/journal/11154?from=rss <p> When the war started, I expected someone to call on to Belgium's courts' declared universal competence for war crimes, crimes against mankind, etc. and try to sue Bush the way it happened to Sharon and to a variety of people involved in the Rwanda genocide. </p><p> I wondered how it was going to happen. Well, instead of waiting for something to go wrong in this war, people quite simply picked stuff from Oil War One, and are consequently <a href="http://www.lemonde.fr/article/0,5987,3462--313588-,00.html">sueing Bush Sr., Powell, Cheney, and Schwartzkopf</a>[<em>Le Monde</em>, fr(eedom)] for the bombing of a shelter that killed 403 civilians. </p><p> I guess there will be political pressure for it not to be instructed, but I was surprised it happened this quick. Belgium is, after all, where NATO resides<nobr> <wbr></nobr>:) </p> darobin 2003-03-21T14:57:11+00:00 journal patriotic nugget http://use.perl.org/~darobin/journal/11128?from=rss <p> Americans discussing the war situation, first week of March: <em>"The French are so unpatriotic"</em>. </p><p> I wonder if bombing major US cities with dictionaries would be considered terrorism. </p> darobin 2003-03-20T16:43:42+00:00 journal