gbarr's Journal http://use.perl.org/~gbarr/journal/ gbarr'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:04:35+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 gbarr's Journal http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~gbarr/journal/ Dallas here we come http://use.perl.org/~gbarr/journal/21741?from=rss <p>It seems like it has taken ages to arrange, but the time is finally here. I have the movers coming on Monday. They say it will take three days to pack up my house into a 40ft container. Then its bye-bye to everything for at least six weeks.</p><p>I have tickets booked to fly to Dallas on Friday, then its a week of house hunting before I start back at work.</p><p>Hopefully it will not be too long before I find a house to buy in Dallas and get broadband access again. Until then I am in temporary housing, so I will probably have to use dialup from home. Of course I will have internet access from work, but with TI's firewall policy it will be resticted to http access only.</p><p>So if anyone is trying to contact me over the next few weeks, don't be surprised if the response is slow.</p> gbarr 2004-11-06T22:03:11+00:00 journal Strange feedback http://use.perl.org/~gbarr/journal/21104?from=rss In the past I have had some junk sent via feedback on search.cpan.org. Recently there has been a lot that should have been directed to C-SPAN. But today I got a strange one <p> <cite> What are Three two-letter words which mean small? </cite></p> gbarr 2004-09-29T09:04:54+00:00 journal Helping people http://use.perl.org/~gbarr/journal/20615?from=rss Why is it that some people think they have a birth right to be helped, however hard they make it for you to help them. Most people are happy for whatever help you can give them. But occasionally you get someone who sends the briefest description then takes offense when your response does not fix their problem. Take a read of this email<blockquote><div><p> <tt>On 10 Jul 2004, at 15:15, Andrew Murray wrote:<br>&gt;<br>&gt; Graham,<br>&gt;<br>&gt; That's a pretty rude response from a geek who's module isn't<br>&gt; authenticating properly.<br>&gt;<br>&gt; I got it fixed by using localhost as my mailer but I'm at a loss why<br>&gt; the<br>&gt; auth command isn't sending at all.<br> <br> Neither am I because the details you give me are nothing. You give<br> nothing then there is nothing I can return.<br> <br> Graham.<br> <br>&gt; On Sat, 10 Jul 2004 08:24:50 +0100, "Graham Barr"<br>&gt; said:<br>&gt;&gt; On 10 Jul 2004, at 02:59, Andrew Murray wrote:<br>&gt;&gt;&gt; i'm sending the command<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&nbsp; &nbsp; $SMTP-&gt;auth($smtpuser, $smtppass);<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; but it's not sending to the server, always PLAIN login.<br>&gt;&gt;<br>&gt;&gt; I am sorry but if you are not clear about all aspects of your problem<br>&gt;&gt; then I cannot really help. I suggest you start by reading something<br>&gt;&gt; like http://www.catb.org/~esr/faqs/smart-questions.html then ask<br>&gt;&gt; again.<br>&gt;&gt;<br>&gt;&gt; Graham.<br>&gt;&gt;<br>&gt; --<br>&gt;&nbsp; &nbsp;Andrew Murray</tt></p></div> </blockquote><p> OK, maybe I was a bit blunt in my first reply, but he then followed this with a long essay, which I just ignored. </p><p> Then today, over a month later, I get </p><blockquote><div><p> <tt>"Neither am I"? Are you sure you didn't mean "So am I"?<br> <br>Do i&nbsp; need to write you another fucking 50 page guide on how to<br>communicate online for those who never learnt to communicate offline?</tt></p></div> </blockquote><p> Which is nothing more than an attack on me and only served to get him added to a blacklist. </p><p> Why do people shoot themselves in the foot by directly attacking the same person they are trying to ask for help?</p> gbarr 2004-08-28T07:29:32+00:00 journal New job http://use.perl.org/~gbarr/journal/20096?from=rss It has been a bit crazy here recently. In June I left ValueClick and I am now back working for TI. Which is one reason why I am not at OSCON this year<nobr> <wbr></nobr>:-( <p> This time at TI I should get to do much more perl stuff too. </p><p> I have also just heard that that TI will be applying for an expedited VISA, so I could be back in Dallas before October. Wheee!!! </p><p> I have worked from home for many years now and to be honest I am quite looking forward to returning to working in an office. Working from home really narrows that line between work and non-work and whenever you are at the computer you feel you should be doing work.</p> gbarr 2004-07-28T06:40:28+00:00 journal UK bans SPAM http://use.perl.org/~gbarr/journal/14771?from=rss At last they have seen <a href="http://news.bbc.co.uk/1/hi/technology/3120628.stm">sense</a>. We just need a few more governments to follow gbarr 2003-09-18T18:49:58+00:00 journal Mac OS X hates CD-RW http://use.perl.org/~gbarr/journal/14753?from=rss <p>I have had some problems recently with buffer under run while buring CDs on my iBook. So I decided to try to burn to a CD-RW, after all if the burn fails I could just erase the disk and retry.</p><p>Well thats what I thought. The problem is that when you insert a disk OS X tries to mount it. But instead of warning it cannot mount it, it keeps on trying, *forever*. The only way I have found to stop it is to eject the disk, although it can take sometime to respond to the eject key being pressed. So there is no chance to erase it.</p><p>Oh well I suppose my wifes windows box has to be useful for something</p> gbarr 2003-09-17T18:50:25+00:00 journal Pod::Simple::HTML vs Pod::Parser + Pod::HTML_Elements http://use.perl.org/~gbarr/journal/14464?from=rss Several people in the past have asked me what code was used to render POD on <a href="http://search.cpan.org/">search.cpan.org</a>. My response has always been <cite>"A hacked version of Pod::HTML_Elements"</cite> <p> Then <a href="/~TorgoX">Sean</a> wrote the <a href="http://search.cpan.org/perldoc?Pod::Simple">Pod::Simple</a> modules and my response became <cite>"A hacked version of Pod::HTML_Elements, but use Pod::Simple"</cite>. </p><p> Today I finally changed search over to using Pod::Simple::HTML, with a few modifications, which has resulted in a speedup of more than <b>5x</b> in rendering POD pages. The changes I made have been sent to Sean and will hopefully be in the next release. </p> gbarr 2003-09-03T15:41:26+00:00 journal Stealth spam http://use.perl.org/~gbarr/journal/12673?from=rss This <a href="http://www.theregister.co.uk/content/55/31084.html">article</a> certainly raises an interesting piont of view on the recent rise in mailer-daemon spam I have been getting gbarr 2003-06-07T08:00:19+00:00 journal What's the odds? http://use.perl.org/~gbarr/journal/12580?from=rss Today I got a bounce mail caused by spam. Now there is nothing odd about that. But what are the odds that the mail was trying to be sent to an old email address of mine that has not been active for 6 years. <p> <code> <small> ---- The following addresses had permanent fatal errors ---<br> &lt;Graham.Barr@tiuk.ti.com&gt; <br> (reason: 550 &lt;Graham.Barr@tiuk.ti.com&gt;... User unknown)<br> <br> Return-Path: &lt;gbarr@pobox.com&gt; <br> </small> </code></p> gbarr 2003-06-03T10:43:14+00:00 journal MS win again http://use.perl.org/~gbarr/journal/12519?from=rss <a href="http://www.theregister.co.uk/content/7/30942.html">http://www.theregister.co.uk/content/7/30942.html</a> <p> But then did you ever doubt they would buy thier way out</p> gbarr 2003-05-30T15:22:54+00:00 journal Regrets http://use.perl.org/~gbarr/journal/12162?from=rss I try not to regret too many things in life, other than things I didn't do. But there are times when you look back and have to regret doing something. This is a situation I find myself in now. <p> I have never written a book before, so I did not really know what to expect. But I was convinced by a previous author, offering guidance and direction, to sign up as a co-author with them for my idea of a book on Net::LDAP. As they had previously published a book with AW we signed up with AW. Our contact at AW was very understanding of me being a new author, was very helpful and offered some good advice. </p><p> That was last year. Since then our AW contact has changed and our new contact does not seem to be quite so helpful. To add to that I rarely hear from my co-author, in fact the only thing I have heard in the last few months is <cite>"How are you doing, how much time have you had?"</cite> </p><p> So I will place this in the box of one of life lessons, but I do regret it as I now feel the book will never happen.</p> gbarr 2003-05-13T09:51:08+00:00 journal Shorter URLs http://use.perl.org/~gbarr/journal/9799?from=rss Why I did not do this in the first place I don't know, but now search.cpan.org URLs can use ~ instead of<nobr> <wbr></nobr>/author/ <p> <a href="http://search.cpan.org/~gbarr/">http://search.cpan.org/~gbarr/</a></p> gbarr 2003-01-06T20:15:33+00:00 journal Moving day http://use.perl.org/~gbarr/journal/9531?from=rss <p>Well the day has finally come. Today the movers came and took most things, they will be back in the morning to get the rest.</p><p>My DSL at my new house is supposed to be active from Friday, but who knows. And if it does not go smoothly it is bound to be a challenge to get things sorted at this time of year.</p> gbarr 2002-12-18T16:15:56+00:00 journal On the move http://use.perl.org/~gbarr/journal/9199?from=rss Well it seems to have finally happened. Today we exchanged contracts on our house, so we move in three weeks (Dec 19). Let the mayhem begin...... gbarr 2002-11-28T17:04:59+00:00 journal Cryptic Languages http://use.perl.org/~gbarr/journal/8971?from=rss The next person who tells me that perl is a cryptic and obscure lanaguage will be quickly pointed to the K language by <a href="http://kx.com/">Kx</a> <p> Some examples can be found <a href="http://www.kx.com/a/k/examples/">here</a></p> gbarr 2002-11-15T23:06:30+00:00 journal Cracking... http://use.perl.org/~gbarr/journal/8380?from=rss <a href="http://news.bbc.co.uk/1/hi/entertainment/film/2314339.stm">Wallace and Gromit</a> are back. The new films are only short, one minute films. But the article says they are working on a script for a full length film, I cannot wait. gbarr 2002-10-15T07:13:07+00:00 journal Fries with that ? http://use.perl.org/~gbarr/journal/8351?from=rss Some people will try <a href="http://news.bbc.co.uk/1/hi/wales/2312521.stm">anything</a> to avoid paying taxes gbarr 2002-10-13T10:52:31+00:00 journal On the move.... http://use.perl.org/~gbarr/journal/8342?from=rss <p>Finally we have found a buyer for our house and the chain of buyers is complete. Not only is it complete, it is quite short too with only 4 parties.</p><p>So now to see if we can get things completed and moved by Christmas.</p> gbarr 2002-10-12T15:09:53+00:00 journal Facelift... http://use.perl.org/~gbarr/journal/8308?from=rss Well after all the useful feedback I have been getting about <a href="http://search.cpan.org/">search.cpan.org</a>, it has just received its first makeover. <p> There is still lots todo, including a European mirror, so keep watching</p> gbarr 2002-10-10T21:20:28+00:00 journal Time flys when your having fun http://use.perl.org/~gbarr/journal/8301?from=rss It would seem <a href="http://www.theregister.co.uk/content/4/27544.html">this</a> man was having too much fun gbarr 2002-10-10T17:21:56+00:00 journal Switching back ? http://use.perl.org/~gbarr/journal/8209?from=rss Well unfortunately some of us don't have a choice. For the past couple of months I have had an iBook on loan from Apple, for which I am very grateful. It has been a great experience, but it will not be long before I must learn to live without it. <p> For many years I have used either KDE or Gnome as my desktop environment, but when I have had to use a windows box, it has not bothered me much. By that I mean that the change in UI has not bothered me much, having to use Windows has always bothered me<nobr> <wbr></nobr>:) </p><p> My work habits cause me to work from a laptop for several hours of the day, so recently I have been using the iBook instead of my win2k laptop. </p><p> The other day I had to power up my win2k laptop for the first time since I got the iBook. My first response was "Argh, this is painful!!". I just found the UI difficult. </p><p> In fact now that I think of it, since I have had the iBook I have been getting a little frustrated with KDE and Gnome at times, but they have been only minor frustrations and often overcome by the fact that I can configure them to do things how I want. Windows is not so forgiving. </p><p> Anyway, I guess my point is that although I did not take to the Apple desktop at first, it has grown on me very quickly in a very short time. There are many things about the iBook I just thought I would never get used to, like only one mouse button, but I did. I still have some frustrations with it, but as the iBook I have is a loaner, it is running Mac OS X 10.1 and I have been told many issues I have with it are resolved in 10.2. </p><p> So soon I have to send the iBook back, and yes I will miss it. Right now I am in the middle of moving house, so I don't have any spare finances. But you can be sure once I have moved and sorted my finances, I will be buying a Mac</p> gbarr 2002-10-07T07:56:42+00:00 journal IRS http://use.perl.org/~gbarr/journal/7758?from=rss <p>I left the US in 1999 thinking, yay no more dealings with the IRS</p><p>How wrong could I have been. I just got a notice that my 2000 return is overdue. But I left in 1999 and did not work in the US in 2000. So I called the IRS.</p><p>Apparently as I still hold some stock and earned $27 in 2000, I still have to file, even though I have to declare that earning to the UK taxman.</p><p>But when I sell the stocks I will not pay US taxes anyway due to US/UK agreements I will pay the taxes in the UK. So the IRS are just wasting thier own money.</p><p>As I cannot be bothered to remember to file my US tax return, and the IRS know eveything anyway. I will just wait for the overdure notice each year and file a return with the figures they tell me they know about.</p><p>So to all those tax paying US citizens, this is how your tax dollars are spent</p> gbarr 2002-09-16T16:52:04+00:00 journal If only I knew what I was doing .... http://use.perl.org/~gbarr/journal/7431?from=rss <p>In the state I am in I probably should not be writing code, who knows what I will write.</p><p>I am already high from the fumes of several days painting and there is a lot more todo. At least it should all be done by Monday when we have someone coming to value the house.</p> gbarr 2002-08-30T22:16:13+00:00 journal BT Loses battle http://use.perl.org/~gbarr/journal/7265?from=rss Sometimes the courts do get some things <a href="http://www.theregister.co.uk/content/6/26802.html">right</a> <p>Whatever made them think they could win, I have no idea.</p> gbarr 2002-08-23T17:35:46+00:00 journal Bad timing http://use.perl.org/~gbarr/journal/7217?from=rss <p>Today my wife noticed we had a water mark on our ceiling. Upon inspection I discovered that we have a leak on a pipe that is very hard to get to.</p><p>We have insurance to cover this kind of thing, so we are waiting for someone to come and fix it.</p><p>All this just as we decide it is time to move house. Talk about timing....</p> gbarr 2002-08-21T16:46:09+00:00 journal search.cpan.org upgrade http://use.perl.org/~gbarr/journal/7174?from=rss <p>I continue to improve the site as feedback comes in. The lastest change means that when converting POD to HTML, it attempts to locate URLs in the text and make them into links. Also if the author of the POD forgot the L&lt;&gt; around a module name in the SEE ALSO section, it adds it for them.</p> gbarr 2002-08-19T19:38:40+00:00 journal Loan extended http://use.perl.org/~gbarr/journal/7111?from=rss <p>Two days ago I got notice from the loan company that supplied my iBook that I had to return it. I thought it was odd as I had only had it 2 weeks and the loan was for 2 months.</p><p>Well today it all got sorted out by Apple. Not only was it sorted out, but the loan was extended to be 2 months from today. So I got an extra 2 weeks, yay!</p> gbarr 2002-08-15T17:53:42+00:00 journal Some people http://use.perl.org/~gbarr/journal/7058?from=rss <p>&lt;rant&gt;</p><p>I guess I should have expected it. But I just cannot belive some people.</p><p>Some seem to expect that it is thier right that things not be changed unless they agree with them.</p><p>Well to all those who think the new search site is "useless", sorry not my problem go somewhere else. But if you have useful input for improvement, I am listening</p><p>&lt;/rant&gt;</p> gbarr 2002-08-12T22:50:30+00:00 journal Switching to Mac OS X http://use.perl.org/~gbarr/journal/7052?from=rss There are probably many developers out there that find themselves in a similar position to myself. Besides the open source development I do, which I will write about another time, I have a real job. After all we all have to eat. <p> The system I develop as part of my day job is an Apache/mod_perl system that, in production, runs on FreeBSD and Solaris servers. Because of this it is easiest to develop in an environment close to the environment where the code will be used. So I have FreeBSD, Solaris and Linux machines where I do my development. </p><p> But there is another side to my day job. I also have to communicate with people who work in the main office. As like many other companies these people exclusively use Microsoft. So I need to be able to read and write MS file formats. </p><p> Many Open Source advocates will probably respond with "There are plenty Open Source tools that can do that" and they would be right. However, although they can import and export the MS file formats there are still some issues. There are times when a document may be exchanged back and forth many times, making changes each time. This is where the Open Source tools fall down for me as they are not able to preserve everything during the import/edit/export process. </p><p> To overcome this problem I have a laptop which runs Windows 2000. But that makes for a difficult environment to work in as I have to keep switching between machines. Also when I travel, I am restricted what I can do while traveling as I don't have the laptop setup as dual boot, nor do I want to. </p><p> Using an iBook with Mac OS X, this problem is solved. As Mac OS X is UNIX based, I have been able to reproduce the development environment that I have on my other machines, as it comes with Perl and Apache/mod_perl already installed. Mac OS X also runs MS applications, which allows me to communicate with the people I work with with much more ease. And now when I travel I can be much more productive as I can test any code that I may write. </p><p> For me an iBook running Mac OS X really has turned out to be the best of both worlds, so I can have my cake and eat it. But I feel I have only scratched the surface of using Mac OS X and that there are many more things for me to discover.</p> gbarr 2002-08-12T18:26:41+00:00 journal MacOSX IE fun http://use.perl.org/~gbarr/journal/6939?from=rss <p>My first impressions of IE in MacOSX are not good. I just tried to add a new user to PAUSE, but because thr SSL certificate for pause does not say pause.perl.org it just pops up "Invalid security".</p><p>I know this is really a problem with PAUSE, but other platforms give the option to accept it anyway, but I cannot find a way to do so in MacOSX.</p><p>So I wont be adding any new CPAN users fro now<nobr> <wbr></nobr>:-(</p> gbarr 2002-08-06T19:09:40+00:00 journal