davebaker's Journal http://use.perl.org/~davebaker/journal/ davebaker'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:25:32+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 davebaker's Journal http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~davebaker/journal/ CORRECTED: Learn Pearl While Getting Your Bachelor's Degree http://use.perl.org/~davebaker/journal/38382?from=rss <p>Look at the fellow's shirt, toward his left shoulder.</p><p>UPDATED: Here is a corrected link:</p><p><a href="http://www.fullsail.edu/index.cfm?fa=landing.WDD_4a&amp;mnc=779&amp;kw=cont-java%20script%20training&amp;utm_source=google&amp;utm_medium=cpc&amp;utm_term=java%20script%20training&amp;utm_content=WDD_4a&amp;utm_campaign=WDD">http://www.fullsail.edu/index.cfm?fa=landing.WDD_4a&amp;mnc=779&amp;kw=cont-java%20scri<nobr>p<wbr></nobr> t%20training&amp;utm_source=google&amp;utm_medium=cpc&amp;utm_term=java%20script%20training<nobr>&amp;<wbr></nobr> utm_content=WDD_4a&amp;utm_campaign=WDD</a></p><p>I thought I had fixed the link yesterday a few minutes after the original post went up, but I screwed it up somehow... I apologize for the confusion!</p> davebaker 2009-02-01T02:04:28+00:00 journal Missing the sound of an elevated train roaring by... http://use.perl.org/~davebaker/journal/36758?from=rss YAPC 2008 was great. I spent an entire week in the dorm (South Hall), and now I find myself missing the noise of the Green Line as it rattles through the center of IIT. <p>My room was just down the hall from the dorm floor's lounge; several hackers were glued to monitors on Sunday night when I arrived. I think I made a boob of myself by plopping down on the sofa to chit-chat, during what I later learned was a Perl 6 pre-conference hackathon (or was it Parrot?). If the project takes longer to complete than hoped, now you'll know why<nobr> <wbr></nobr>:-) </p><p>It appears the architects of IIT tried hard to make the campus interesting in a stark "we're engineers" kind of way. I think they tried too hard. Seemed plain weird and sterile to me. </p><p>Some of IIT is practically falling down. The metal framework of Hermann Hall is corroded badly inside. </p><p>Chicago's South Side has made amazing strides since I lived there (Hyde Park) from 1979-82. Many of the housing projects have been torn down, and I saw about a half dozen that were simply locked and closed, when riding in a car up State Street on the way to Cermak (for Chinatown). I felt safe on the IIT campus, but I wouldn't have wanted to walk or bike up State Street too very far. </p><p>Somebody coming to the conference walked from the loop down to IIT well after midnight. Yikes. </p><p>The kids at IIT running the dorm front desk were friendly. They looked so young! One woman wore a shirt that said "I won't need my morals until the morning." I wanted to explain to her how that approach is outrageously stupid and emotionally and potentially physically crippling, but I know she wouldn't have listened. I wouldn't have, at that age (and made all the same mistakes). It's a shame. </p><p>Almost all of the participants were younger than I am (closing in on 50). It was energizing; I didn't feel older, until encountering the mirrors in the men's washroom. </p><p>It had been a long time since I used a shower in a washroom; I forgot to bring a robe with me so there was always the dilemma of "should I wear jeans down to the shower and hang them on the hook, or just wrap the towel around my butt?" Fortunately for other first-floor residents I was not seen in transit in either mode. </p><p>It was amazing to me that everybody at the conference -- I mean every single person -- was so friendly. I never ate a lunch or dinner alone, because I'd approach somebody or some group and say "you guys going out to eat?" The answer was always, "sure, come on." I made at least 10 new friends. </p><p>It was refreshing to be able to talk about programming with programmers. I am only an amateur, although I do the Perl programming that runs my site's content management and a job board. Programmers were delighted to tell me about the joys of managers, commit bits and version control. These are things that I haven't learned from the online Perl resources. Programming for a living sounds hard, with pay that doesn't reflect the value of the programming to the enterprise. Maybe this is one reason why the conference attendees were happy to spend so much time talking about and thinking about Perl. You've got to truly love what you do in order to put up with the business side of $work, I'm guessing. </p><p>Some of the presentations could have been better, so hey, I want my $85 back (gawd, that's a ridiculously low figure). Several were outstanding. If you get a single really useful idea or insight from just one presentation then you've gotten your money's worth right there. For me, that would have been Adam Kennedy's "Nothing Can Go Wrong Again." </p><p>The auction raised about $3,000 for the Perl Foundation, I think. It was fun and well-handled by auctioneer Uri Guttman, the Jerry Garcia of Perl. The location was terrific -- a student union down in a basement, which included a bowling alley and pool tables. It was almost as fun as the boat trip in Toronto at YAPC 2005 (my only other YAPC). </p><p>Food at the student center adjacent to the dorm was pretty decent. Also, a lunchtime outdoor sausage grill arranged by Chicago.pm (I think) was cheap and delicious. </p><p>One of the reasons to attend a YAPC is to get a look at the people who are behind particular open-source projects or companies. I got to hear and meet JT Smith of WebGUI, Patrick A. Michaud of Solstice, and have lunch with Mark Stosberg and the other CGI::Application users/writers. </p><p>And yet people don't come to YAPC to be impressive. They come as they are, to talk about code. It's refreshingly free of marketing puff. Even the presenters from commercial firms talk about their code, and what theirs does that other modules/frameworks might not. </p><p>Some people are very impressive without trying. Engage them in a conversation about code and you find yourself sipping from a firehose. They're not only productive in numerical terms of modules, they also have logical, incisive thinking that I remember experiencing with law school professors. They take the code seriously but not themselves. They're wearing the doofy T-shirt and lanyard just like everybody else. </p><p>Josh McAdams is as dynamic and friendly in person as he sounds on his Perlcasts. </p><p>A couple of things were a little irritating about the mechanics of the conference; of course, nobody's a professional conference host and the conference overall was a big success. But for what it's worth: </p><ul> <li>Many of the speakers didn't speak clearly and directly into the microphone, or didn't hook it up right to a lapel, which made it hard to follow the speech, especially from the back of the room. The mikes were professionally wired to amps and speakers, but nobody was in charge of turning up the volume or adjusting the angle of the mike. Perhaps the sponsoring organization should formally introduce each speaker and then stand by to make sure the sound is working well. Sometimes the mike was turned up way too high.</li> <li>Sometimes the rooms didn't have enough chairs. Somebody could run out and get some more folding chairs if they're needed.</li> <li>The coffee ran out each day (the regular one).</li> <li>On the second day, the map of conference rooms didn't go up until mid-morning. People need a big, clear map with arrows on it and a schedule posted next to it.</li> <li>Some of the conference attendees are there for the first time, so it's not good to start the conference with as much administrative-type stuff as occurred on Monday. The Perl Foundation annual report would be better on the second or third day, and probably could be done in a 25-minute slot rather than 45. Also, the "guide to the Perl community" presentation is worth hearing and is amusing, but not as the first presentation. Newbies didn't understand many of the jokes, and those who are already in the Perl community probably didn't learn anything new.</li> <li>Larry's keynote should have been the keynote -- the first presentation of the conference, or at least the first one after the "how to get the most out of a YAPC" presentation.</li> <li>Larry's presentation was too dense for me. A keynote presentation needs to be more of an overview (state of the Onion) or take a "lighter" approach, such as the talk in Toronto in 2005 about what it takes to make a community.</li> <li>Nametags (the thing on the lanyard) need to be EASY TO READ. An unfortunate choice of colors and fonts meant that it was basically impossible to read the other person's name tag. I thought this was a huge problem, given that one of the principal reasons for attending a YAPC is to meet people, especially those whom you've never met in person but whom you know from their nicks on PerlMonks and mailing lists. I was on the lookout for scrottie, for example, but there was little hope that I'd be able to figure out who he was. (I think he was there.) Perhaps replacement name tags could have been printed during the morning on Monday and supplied by the end of the day. It would have been worth doing.</li> <li>Attendees should be given a list of the other people who are attending, showing their nicks, their real names, and their email addresses or some other address. That way it would be possible to get in touch with somebody afterward, if you forgot to get a card or to write down his or her email address.</li> <li>The YAPC mailing list was a great way for people to keep in touch with each other during the conference, in addition to the IRC back channel. ("Anybody find my keys?", etc.)</li> </ul><p>I am very glad I made the trip. Thanks very much to Josh McAdams, Pete Krawczyk and everyone who worked to make YAPC 2008 possible. Great job.</p> davebaker 2008-06-23T23:42:04+00:00 journal Trouble getting feed of all new journal entries http://use.perl.org/~davebaker/journal/35879?from=rss Yikes; I am having trouble getting an RSS feed for all new journal entries (not comments to entries, just new entries posted by anybody: the list that shows up at <a href="http://use.perl.org/search.pl?op=journals">http://use.perl.org/search.pl?op=journals</a>). <p>The FAQ at <a href="http://use.perl.org/faq.shtml">http://use.perl.org/faq.shtml</a> tells me to use <a href="http://use.perl.org/journal.pl?op=top&amp;content_type=rss">http://use.perl.org/journal.pl?op=top&amp;content_type=rss </a>; I subscribed to that via BlogLines but BlogLines isn't feeding me any entries, and when I tell BlogLines to give me the entries for the last 72 hours (etc.) I don't get any entries either. I wonder if that URL is correct on the FAQ page. </p><p>I searched use.perl.org's journal entries and found this excellent RSS feed described by jbisbee at <a href="http://use.perl.org/comments.pl?sid=23628&amp;cid=36097">http://use.perl.org/comments.pl?sid=23628&amp;cid=36097</a>: <a href="http://use.perl.org/search.pl?tid=&amp;query=&amp;author=&amp;op=journals&amp;content_type=rss">http://use.perl.org/search.pl?tid=&amp;query=&amp;author=&amp;op=journals&amp;content_type=rss</a> -- it is working well for me now using BlogLines. </p><p>[Update] The URL can be simplified and still works well for me using BlogLines: <a href="http://use.perl.org/search.pl?op=journals&amp;content_type=rss">http://use.perl.org/search.pl?op=journals&amp;content_type=rss</a> </p><p> <i>Keywords: RSS feed, all journal entries</i></p> davebaker 2008-03-11T14:43:47+00:00 journal Recommended Online Tutorials http://use.perl.org/~davebaker/journal/34098?from=rss <p>Trying to link to the best tutorials, rather than create a list of most or all of them. Almost done, I think. </p><p> <a href="http://www.perlfoundation.org/perl5/index.cgi?recommended_online_tutorials">Recommended Online Tutorials</a>, listed on the Perl 5 Wiki.</p> davebaker 2007-08-13T20:09:49+00:00 journal AM Radio Station Finder - Late Night DX! http://use.perl.org/~davebaker/journal/28087?from=rss <p>I was pleased to be able to write a neat little program (actually, about 5 megs due to the size of the data file that's appended to the end of the script) for my son, as a Christmas present.</p><p>He likes to listen to late-night AM radio, trying to find long-distance stations ("DX") whose signals are bouncing off the ionosphere to reach us here in western North Carolina.</p><p>The script was added to the "Code" section of perlmonks.org this afternoon.</p> davebaker 2005-12-21T22:38:18+00:00 journal Ubuntu on local Pentium machine http://use.perl.org/~davebaker/journal/27322?from=rss I am so pleased to finally have a local Linux installation, which lets me use CPAN and run Perl on my local machine, exactly the way I do when I'm accessing CPAN on the offsite dedicated Linux server I use for my web site. I never have been happy with the locally installed Windows implementations of Perl. <p>I'm using Ubuntu 5.04, and even managed to get it to drive both of my monitors at the same time! </p><p>My machine is a Dell Dimension 4500, which had been running only Windows XP. Ubuntu let me set up a partition on the hard drive for Linux, and at startup Grub asks which operating system I'd like to boot into. </p><p>Making enough free space on the hard drive was a bit of a challenge because the XP disk defragmenter (and even the commercial Diskeeper defragmenter I used as well) didn't move all the data to one end of the hard drive. But I found a marvelous command-line utility that did just that: it's called DIRMS.exe (which the author says stands for "Do It Right, Micro Soft)."</p> davebaker 2005-10-26T21:21:18+00:00 journal Happy Birthday to Me http://use.perl.org/~davebaker/journal/26451?from=rss 47 years old. davebaker 2005-08-24T20:09:45+00:00 journal In Toronto for YAPC; this is so cool! http://use.perl.org/~davebaker/journal/25377?from=rss Tonight I got into Toronto for my first trip to Canada and my first Perl conference<nobr> <wbr></nobr>... wow. Big town, big hotel. <p>While trying to get money out of the strange cash machine in the lobby of this residential dorm (the old Metropolitan Hotel), I met Mark Stosberg, who currently maintains CGI::Application. It was so much fun to be able to talk to him about it at dinner, and his Cascade application. He's very pleased with the new plug-in capabilities that have been built into version 4 of CGI::Application and with the plug-ins that have been written for it already. </p><p>I think I passed Larry Wall in the hall. He's speaking tomorrow at 9:30 a.m. </p><p>The high-speed Internet access in the rooms works very well. Costs an extra $5 per day, but on top of the already cheap room rate it's quite a deal. </p><p>People have been friendly; there's a certain twinkle in their eye when they realize you're here for the Perl conference, too-- "Hey, another geek like me!" </p><p>A Canadian fellow came all the way from the Yukon Territory. I believe I passed Autrijus Tang (sp?) on the street; I think he flew in from China. </p><p>Really looking forward to the sessions tomorrow!</p> davebaker 2005-06-27T04:06:02+00:00 journal Client-Side Code Generator when Bandwidth Is Limited http://use.perl.org/~davebaker/journal/23444?from=rss This is intriguing: a <a href="http://techrepublic.com.com/5100-6228_11-5545454.html">TechRepublic article about using JavaScript to generate code</a> on the client-side, where bandwidth is limited. <p>Doesn't use Perl, but source code listings in ASP could be translated to Perl. </p><p>An excerpt from the article:</p><blockquote><div><p>On a recent project we had a very complex Web application to deliver in an environment where many of the end users had slow connections to the server on which the application was to be deployed. As such, conservation of bandwidth was one of the priorities. We decided to design for bandwidth constraints from the beginning of the project. This focus led to a key decision to develop the application primarily using client-side scripted code&#8212;in this case written in JavaScript&#8212;which could be cached locally and by the proxy servers, etc. upstream of the end user, resulting in a significantly smaller package needing to be retrieved from the main servers.</p></div></blockquote> davebaker 2005-03-01T18:10:50+00:00 journal Learning CGI::Application - my first effort http://use.perl.org/~davebaker/journal/23260?from=rss I've been learning how to use CGI::Application. I took an example from Apache::ASP and reworked it into the CGI::Application way of doing things. I think I like it better. <p>I added the example to the CGI::Application kwiki at <a href="http://twiki.med.yale.edu/twiki2/bin/view/CGIapp/ColorChooserExampleApp">http://twiki.med.yale.edu/twiki2/bin/view/CGIapp/ColorChooserExampleApp</a></p> davebaker 2005-02-19T21:55:59+00:00 journal OK I think I'm getting it now http://use.perl.org/~davebaker/journal/19485?from=rss <p>So what I need to do is find the Journal of a person who has interesting things to say<nobr> <wbr></nobr>... then I click the "Relation" link on that page and make the person a Friend using the appropriate radio button.</p><p>And I guess the only way to find the Journals of all other users is Home -&gt; Journals -&gt; Top 10 ?</p> davebaker 2004-06-25T03:22:59+00:00 journal Hello, world http://use.perl.org/~davebaker/journal/19484?from=rss <p>Could someone tell me how to make Friends?</p><p>Is the idea to be able to get a quick look at the journals of all your Friends?</p><p>Can't find any documentation on the site.</p><p>Thanks!</p> davebaker 2004-06-25T03:12:34+00:00 journal