godoy's Journal http://use.perl.org/~godoy/journal/ godoy'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:23:45+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 godoy's Journal http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~godoy/journal/ Rumours of a new strike... http://use.perl.org/~godoy/journal/11299?from=rss <p>We had a big one in the end of 2001... We would only put the calendar back on its way on 2004... By the end of the year, IIRC.</p><p>Now, there are rumours that there will be a new strike this year. Either by the end of April --- when we're starting 2003 --- or in October --- in the beginning of the second semester.</p><p>It sux.</p> godoy 2003-03-29T00:59:19+00:00 journal Postfix + bogofilter problem http://use.perl.org/~godoy/journal/11222?from=rss <p>I've had one problem related to database size again. I always forget about those Postfix limits...<nobr> <wbr></nobr>:-)</p><p>Here it is the entire bug report and the solution at SF.net.</p><p><a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=708863&amp;group_id=62265&amp;atid=499997">Problem with big databases</a></p> godoy 2003-03-25T13:35:03+00:00 journal Software community http://use.perl.org/~godoy/journal/11221?from=rss <p>It's very interesting seeing the way software communities behave. The BR FreeBSD community is "a little" too aggressive. The international community is more receptive.</p><p>It may be and in fact I believe it is related to their maturity and acceptation in the market.</p><p>Here both Linux and FreeBSD users are always fighting for more visibility. There are lots of lazy users/admins that always want recipes for their jobs but that find it an abuse of my part if I send them the correct man pages to solve <b>their</b> problem.</p><p>In the international community I suppose these people are a little more ashamed they know what they are doing is laziness, but they don't want other people to say how lazy they are and avoid asking such questions.</p><p>Of course it happens from time to time, but I really see it in a more restrict way.</p><p>It also happens in programming language groups. More frequently when comparing two languages such as Perl and PHP or Python.<nobr> <wbr></nobr>:-)</p><p>In another post (I'm sorry, I don't remember which one, I read it last night and I was really tired) someone said (darobin?) the we should share ideas with such communities, specially the Python one. I agree. But we should preserve our identity.</p><p>A programming language is almost a personal taste these days. They solve the same problem with different idioms. Anyway, this is subject for a different post.</p> godoy 2003-03-25T12:55:52+00:00 journal GPL validity in Brazil http://use.perl.org/~godoy/journal/11220?from=rss <p>I'm discussing with some lawyers on a mailing list and they are saying that the way it is now, GPL is not legal here. It goes against our consumer protection code, in the very least.</p><p>One of these lawyers was seeking for example of GPL programs that are sold out there. Do you know any? I don't know an example of a program where the author has released it under a free license (not only GPL and free as defined at the <a href="http://www.opensource.org/docs/definition.php">Open Source Initiative</a>) and sells the program (even though other might distribute it for free).</p><p>One of the problems with GPL is that if you sell GPLed software here, you won't be exempt of liabilities in case of problems or damages. Another problem is that if another people sells your software without collecting the legal tributes, you might be legally obligated to pay them...</p><p>It won't affect foreign developers, of course, but it affects brazilian developers.</p><p>There are IP (intelectual property) problems too, but we haven't got into all those details...</p><p>One thing that interest me is: where is the GPL license valid and where it is legally invalid? Have you ever stopped and asked yourself if you are really protected with your software license?</p><p>Weird, isn't it?</p><p>I have a meeting with our company's future lawyer on Friday and this is something I need finding out specially for some new software I'm writing I want it to be free.</p> godoy 2003-03-25T12:40:01+00:00 journal Image generator for subscription verification http://use.perl.org/~godoy/journal/11205?from=rss <p>Does anybody know where can I find a good system to generate those images used to verify if it is a real person that is filling out a subscription form?</p><p>One example is the one used at Yahoo!</p> godoy 2003-03-24T21:09:19+00:00 journal Lack of motivation. http://use.perl.org/~godoy/journal/11067?from=rss <p>I feel so disappointed with myself... I need doing something but I don't want to do anything at all. Just sit and rest a little.</p><p>The time passes and I haven't done anything I should have done. And I'm still tired. Lots of non-interesting things need to be done; and lots of interesting things too, but I get distracted by anything else and don't do what I need to.</p><p>Maybe it's some kind of depression. Gotta se some doctor &#8212; psycologist? &#8212; and find out what it is. In the beginning I thought &#8212; and I still think &#8212; it was due to my diet...</p><p>Anyway, I have a test and a project for today and I've been sitting here for the last 2h30. I haven't been sleeping well too. Too many tests and obligations... Tomorrow I'll have three other tests.</p><p>Oh, my... Thanks that the semester is ending on Friday and after tomorrow, my only test is on Friday for a subject I am knowing a lot. Today is what scares me... I need an 8.0 to pass without final exams.</p> godoy 2003-03-17T13:29:28+00:00 journal New common slang on tech newsgroups here. http://use.perl.org/~godoy/journal/11042?from=rss <p>People have adopted a new slang to refer to Google: the Google Oracle. When someone ask something that should be easily found there the answer is: ask the oracle of Google or just ask the oracle.</p> godoy 2003-03-15T11:54:23+00:00 journal Use of &amp;em; and &amp;en; for emdashes and endashes. http://use.perl.org/~godoy/journal/11041?from=rss <p>When I was looking after some DocBook stuff, almost two years ago, I've found out that several browsers won't show &amp;em; properly (Mozilla won't show it up correctly). I'd really like something that can be correctly seen on a big amount of browsers that I can use as an emdash.</p><p>What are you using? I'm sticking with the (horrible) '---' string.</p> godoy 2003-03-15T11:42:34+00:00 journal Business bank account. http://use.perl.org/~godoy/journal/11040?from=rss <p>I'm looking for a good set of services for a new business bank account. Anyone with more experience --- I'm a business owner for just 6 months now --- can list a good set of services that I should be looking for?</p><p>I'm looking for basic stuff and I'm also worried with receiving payments through Internet. Low taxes are also one of my concerns: companies pay almost every tax a bank has, here in<nobr> <wbr></nobr>.br, while people have lots of discounts.</p> godoy 2003-03-15T11:39:21+00:00 journal Deception. http://use.perl.org/~godoy/journal/11039?from=rss <p>I won't be able to graduate in one year, as I was willing to do. The time table for the subjects I have to do won't allow me.<nobr> <wbr></nobr>:-(</p><p>The only thing that still makes me happy is that I will still graduate 6 months earlier.</p><p>C'&#233;st la vie.</p> godoy 2003-03-15T11:35:55+00:00 journal Lesson for (l)users... http://use.perl.org/~godoy/journal/11021?from=rss <p><a href="http://www.saunalahti.fi/sakarit/kerro-lisaa/bart.gif">http://www.saunalahti.fi/sakarit/kerro-lisaa/bart.gif</a></p> godoy 2003-03-13T16:26:16+00:00 journal The worst thing on the web... http://use.perl.org/~godoy/journal/10964?from=rss <p>... is, IMHO, images that are handled through some javascript stuff. You can't click on several of them to open in new tabs.<nobr> <wbr></nobr>:-P</p><p>And no, I'm not talking about pr0n... <a href="http://homepage.mac.com/wwv/PhotoAlbum12.html">http://homepage.mac.com/wwv/PhotoAlbum12.html</a> does that.</p> godoy 2003-03-09T18:22:09+00:00 journal Good news on graduation http://use.perl.org/~godoy/journal/10702?from=rss <p>Due to a curriculae change on my engineering course I'll be able to graduate one year earlier -- best case; the worst case is 6 months earlier -- than I would without this change.</p><p>Cool! I can graduate by the end of the year!<nobr> <wbr></nobr>:-)</p><p>Guess what? I'll be doing everything to accomplish that. And I think it will work... There are just a few subjects missing so that I can graduate.</p><p>Wish me luck.<nobr> <wbr></nobr>:-)</p> godoy 2003-02-20T18:59:49+00:00 journal Funny spam http://use.perl.org/~godoy/journal/10701?from=rss <p>Just got a funny copy of the famous Nigerian Scam.</p><p>The sender has presented herself as "Seq So". It immediately reminded me of the portuguese word 'sexo' (same pronounce) that means 'sex'.</p><p>I just got an email from Mrs. Sex.<nobr> <wbr></nobr>:-)</p> godoy 2003-02-20T18:57:09+00:00 journal Interview with Bill Gates. http://use.perl.org/~godoy/journal/10700?from=rss <p>I am still laughing after reading this.<nobr> <wbr></nobr>:-)</p><p><a href="http://www.cantrip.org/nobugs.html">FOCUS Magazine Interview with Bill Gates: Microsoft Code Has No Bugs (that Microsoft cares about)</a></p> godoy 2003-02-20T18:51:36+00:00 journal Clever spammer http://use.perl.org/~godoy/journal/10387?from=rss <p>I got an interesting spam: it was PGP signed.</p><p>Yep, spammers are finding out that software such as spamassassin give negative points (no spam) to such messages.</p><p>Of course, the checking of the PGP signature gave me an invalid result, but SpamAssassin don't know that.</p><p>The spam was caught by bogofilter, a bayesian filter.</p><p>And here we go! Several levels of anti-spam. There's been a <b>tiny</b> amount of false positives with bogofilter. I pratically miss one or two spams a day, in a universe of almost 200 spams.</p><p>This is a better ratio than when I used spamassassin alone. (SpamAssassin is deactivated now, so that I can see how effective bogofilter is by itself...)</p><p>BTW, I haven't tried the bayesian feature of spamassassin... It should give a similar result to bogofilter.</p><p>I'm really thinking on how to implement such tools at clients of mine in a way that they won't poison themselves and start missing messages.</p> godoy 2003-02-04T14:21:35+00:00 journal I'm back. http://use.perl.org/~godoy/journal/10185?from=rss <p>I'm back... Lots of things happening. Too little time.<nobr> <wbr></nobr>:-(</p><p>BTW, my machine is now running FreeBSD. I had too many of Matts' "Linux Sucks" days. I still use it on some servers but I'm planning on keeping FreeBSD at my desktop.</p> godoy 2003-01-25T17:51:08+00:00 journal Head hunted. http://use.perl.org/~godoy/journal/9375?from=rss <p>I had an interview with a head hunter today. (You should see how nice I'm looking with this suit<nobr> <wbr></nobr>:-))</p><p>It's interesting but expensive. I think I'll pay to see what are the companies that had selected my resume. They work only with big companies and the salaries are interesting.</p> godoy 2002-12-11T13:50:30+00:00 journal It's over! http://use.perl.org/~godoy/journal/9374?from=rss <p>Finally some vacations from University.</p><p>Now, I can do my job more fast. It means I'll finish it before I had estimated.<nobr> <wbr></nobr>:-)</p> godoy 2002-12-11T13:48:30+00:00 journal It's high tide! http://use.perl.org/~godoy/journal/9361?from=rss <p>Sorry for this long post. I got it as a forwarded message from a friend.</p><p>-----------------------------------------------------------------------<br>From: Taz -=TT=- [mailto:chris@cfmaster.co.uk]<br>Sent: 10 December 2002 14:05<br>To: chat@lists.cfdeveloper.co.uk<br>Subject: Re: [ cf-chat ] one for the sysadmins</p><p>Try this one... see if you can figure it out before getting to the end.</p><p>The location was a server room, somewhere up on the 4th or 5th floor of an<br>office in Portsmouth (I think it was) by the docks.</p><p>One day the main Unix db server falls over. It was rebooted but it happily<br>fell over again and again, so they called out the support company.</p><p>The support gadgie... Mark I think his name was, not that it matters... I<br>doubt you've ever met him and its not important anyway. Its not, honest.<br>Look, we'll just stick with Mark for arguments sake, okay? Fine.</p><p>So mark gets there a few of hours later (Leeds to Portsmouth you see...<br>its a long way), switches on the server and everything works without<br>error. Typical bloody support really, client gets upset over naff all. He<br>goes through the log files and finds pretty much nothing that would make<br>the box cock up. Mark then gets back on the train (or whatever mode of<br>transport he used to get there, it could have been a lame cow for all I<br>know... look, its not important, okay?) and heads off back up to Leeds<br>after a pointless waste of a day.</p><p>Later that evening, the server falls over. Exactly the same story... it<br>won't come back up. Mark goes through all the usual remote support stuff<br>but the client can't get the server to run.</p><p>Back on the train, bus, lemon meringue pie, or whatever the fuck it was,<br>and back down to Portsmouth. Lo, the server boots without a problem! Its a<br>miracle. Mark spends a few hours making sure that there's nothing wrong<br>with the O/S or software, and finally heads off back to Leeds.</p><p>Sometime around mid day, the server goes down (easy tiger!). This time it<br>seems prudent to get the hardware support people in to replace the server.<br>But no, it falls over again around 10 hours later.</p><p>The pattern continues for a few days. Server working, then after about ten<br>hours it falls over and won't run for another 2 hours. The checked the<br>cooling, they checked for memory leaks, they checked everything but came<br>up with nowt. Then it all stopped.</p><p>A week without problems... everybody was happy. Happy, that is, until it<br>started again. The same pattern. 10 hours on... 2-3 hours off...</p><p>And then somebody (I seem to remember he said that the person had<br>nothing to do with IT) said:</p><p>"Its high tide!"</p><p>Which was met with blank looks and probably a wavering hand over the<br>intercom to Security.</p><p>"It stops working at high tide"</p><p>This, it would seem, is a fairly alien concept to IT support staff, who<br>are not likely to be found studying the Tide Alamanac during the coffee<br>breaks.</p><p>So they explained that it couldn't be anything to do with the tide,<br>because it was working for a week.</p><p>"Last week was neaps, this week its springs."</p><p>Here's a bit of jargon busting for those of you who don't have any RYA<br>qualifications. The tides run on a lunar cycle, so every 12.5 hours as the<br>Earth turns, the gravitational pull of the sun and the moon pull the tide<br>&gt;From one side to the other. In a 12.5 hour cycle, you'll start with a high<br>tide, then get a low tide in the middle, and end with a high tide. But as<br>the moon's orbit changes so does the difference in high and low tide. When<br>the moon is between us and the sun or on the opposite side of the planet<br>(full moon and bugger all moon), we get a Springs. These are the highest<br>highs, and the lowest lows. When there's a half moon, we get neaps. The<br>difference between high and low is greatly reduced. The lunar cycle is 28<br>days, so Springs - Neaps - Springs - Neaps.</p><p>Back to the story.</p><p>After explaining the gist of tidal movements to a bunch of techies, the<br>techies immediately considered the posibilty of ringing the police. Which<br>seems fair. But it turns out that the gadgie was right. 2 weeks<br>previously, a Navy destroyer or something had moored up nearby. Every<br>time the tide got to a certain height, the crow's nest was in direct line<br>with the floor that the servers were sitting on. It seems that the radar<br>(or radar jamming, or whatever the military have on their toy dinghies)<br>was playing havoc with the computers.</p><p>Anyway... I need to get some work done, so bye!</p><p>Taz</p> godoy 2002-12-10T16:10:15+00:00 journal Crazy weather. http://use.perl.org/~godoy/journal/9344?from=rss <p>Could somebody please tell the "guy" responsible for regulating the weather that it's almost summer here? We're using coats and sleeping with blankets. It's cold these days...</p> godoy 2002-12-09T17:32:01+00:00 journal T minus 2 days http://use.perl.org/~godoy/journal/9343?from=rss <p>In two days and three tests I'll have vacations from university. Our calendar is late due to the strike last year...</p><p>I'm in a marathon: 7 tests in five days.</p><p>One on Thursday, two on Friday, one on Monday (today), two on Tuesday, one on Wednesday. And, finally, vacations.</p><p>We're starting our fourth bimester on January 20th. Normally, I'd be on vacation now (our classes usually end by the end of November) and calsses would start only in the end of February (summer vacations).</p><p>I <b>really</b> need some rest.</p> godoy 2002-12-09T17:29:33+00:00 journal Call me stupid. Thanks. http://use.perl.org/~godoy/journal/9113?from=rss <p>Summary of the last 2 hours debugging why some messages weren't printed on a CGI: missing the 'print' function.</p><p>Yep. That's it. No error message, nothing missing, with or without prototypes to that specific function.</p><p>I make a break for a glass of water and when I come back: where's that 'print'?</p><p>Tada! Added it and everything was perfect...</p><p>I really must get some sleep.</p><p>And a massage... my back is hurting a lot this week.</p> godoy 2002-11-23T20:24:29+00:00 journal Electromagnetism test. http://use.perl.org/~godoy/journal/8434?from=rss <p>The picture:</p><ul><li><br> &nbsp; &nbsp;</li> <li>4 questions</li><li><p> &nbsp; &nbsp; </p></li><li>3 hours for the test</li></ul><p>The results:</p><ul><li><br> &nbsp; &nbsp;</li> <li>3 hours used.</li><li><p> &nbsp; &nbsp; </p></li><li>3 questions done.</li><li><p> &nbsp; &nbsp; </p></li><li>1 question correct.</li></ul><p>We had 3 hours to answer 4 questions. I used 5 minutes to answer one (I had it solved on a book) and the rest 2h 55min in other two.</p><p>The last question was very hard.</p><p>I was joking with a friend after the test: "We know that there are red roses. Based on that, determine the volumetric charge distribution in a cillindrical surface that goes to infinity and is in an heterogeneous medium.".<nobr> <wbr></nobr>:-P</p> godoy 2002-10-17T21:54:07+00:00 journal Rio de Janeiro and plans for the weekend. http://use.perl.org/~godoy/journal/8433?from=rss <p>Last week I was teaching CVS for some government employees.</p><p>The course was in Rio de Janeiro, and it was incredibly hot! More than 40 celsius degrees every day.</p><p>I had to sleep with the air conditioning system on.</p><p>When I left Curitiba, it was somewhat cold here. I was using a jacket.</p><p>When I came back, it was also hot here in Curitiba. Now, it's starting to get cold again. And the weather was horrible all day.</p><p>I just hope it doesn't rain on Saturday. I'm going to Oktoberfest with Kika<nobr> <wbr></nobr>:-)</p> godoy 2002-10-17T21:49:01+00:00 journal Do you have your spam free of virii? http://use.perl.org/~godoy/journal/8431?from=rss <p>Today the funniest thing happened here: I received a spam (tagged as spam by SpamAssassin) and a message warning me that the attachment of such spam had been removed because it had a virus.</p><p>The server the spammer used to send his messages checked them for virus and found one, removing some<nobr> <wbr></nobr>.EXE file that was attached (theoretically, I had to install such file to have access to the most beautiful nude girls).<nobr> <wbr></nobr>:-)</p><p>It made me think: how many spams are infected with virus?</p> godoy 2002-10-17T21:38:26+00:00 journal Rent laptop http://use.perl.org/~godoy/journal/8193?from=rss <p>The laptop I rent has just arrived.</p><p>It is a Toshiba Satellite 2100 CDS (the one I borrowed from Conectiva while I worked there was a 2100CDT) with 196 MiB of RAM and 4.0 GiB of disk. It's an AMD of 400 MHz.</p><p>It will suit my needs this week. I'll only be using PowerPoint and WinCVS for the trainning I'll give to DATAPREV.</p><p>It cost me R$250,00 (+/- US$70,00) for a week.</p><p>Now, I just have to record those CDs and install the programs on it.<nobr> <wbr></nobr>:-)</p> godoy 2002-10-05T22:19:44+00:00 journal WWW::UsePerl::Journal install problems. http://use.perl.org/~godoy/journal/8191?from=rss <p>Has anyone seen this before? I'm running Perl 5.6.1 here. And Time::Piece installed successfully.</p><p><code><br>[root@wintermute WWW-UsePerl-Journal-0.08]# make test<br>PERL_DL_NONLAZY=1<nobr> <wbr></nobr>/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&amp;runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t<br>t/01test............ok 6/9Error parsing time at<nobr> <wbr></nobr>/usr/lib/perl5/site_perl/5.6.1/i386-linux/Time/Piece.pm line 404.<br># Looks like you planned 9 tests but only ran 6.<br># Looks like your test died just after 6.<br>t/01test............dubious<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Test returned status 255 (wstat 65280, 0xff00)<br>DIED. FAILED tests 7-9<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Failed 3/9 tests, 66.67% okay<br>t/02search..........ok<br>t/03date............ok<br>Failed Test Status Wstat Total Fail Failed List of Failed<br>-------------------------------------------------------------------------------<nobr>-<wbr></nobr> <br>t/01test.t 255 65280 9 3 33.33% 7-9<br>Failed 1/3 test scripts, 66.67% okay. 3/17 subtests failed, 82.35% okay.<br>make: *** [test_dynamic] Error 29<br>[root@wintermute WWW-UsePerl-Journal-0.08]#<br></code></p> godoy 2002-10-05T12:29:59+00:00 journal Still suffering from the change to Apache 2... http://use.perl.org/~godoy/journal/8190?from=rss <p>I'm still finding out things that were changed with Apache 2.</p><p>I noticed that my webalizer information wasn't being updated and then I found out that the logs file have changed... In fact, I've noticed that before, 'cause I have some aliases to access_log and error_log to help me debugging web stuff, but I had completely forgotten about that later.</p><p>If there was some way to have applications to setup some environment variable and have programs reading it... It would make commands such as "set" completely useless due to the huge amount of variables, but would definitely make migration from one thing to another easier.</p> godoy 2002-10-05T11:28:27+00:00 journal Project management on Linux http://use.perl.org/~godoy/journal/8188?from=rss <p><a href="http://mrproject.codefactory.se/">mrproject</a> is much better in its 0.6 release.</p><p>It still lacks features available on M$ Project, but it's getting there.</p><p>I'm using it to manage G&#178;C's projects.</p><p>You need a lot of Gnome 2.0 stuff, but it is worth.</p> godoy 2002-10-05T11:05:05+00:00 journal