Scratch Pad http://www265.pair.com/perlman/blog A weblog. en Happy Fourth! http://www265.pair.com/perlman/blog/2008/07/04#4th2008 Presenting: FAILcaccia. (This is why it's good to have a steak handy. :)<br> <img src="http://www265.pair.com/perlman/pics/dining/failcaccia.jpg"> Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/07/04#topic_20080704 Another useful weblet, handicapped by delivery as a Flash module: A <a href="http://www.simplynoise.com/" target="_blank">whitenoise generator</a>. Of Bytes and Bandwidth http://www265.pair.com/perlman/blog/2008/07/03#avgbites <P>Slashdot has <A HREF="http://it.slashdot.org/article.pl?sid=08/07/03/1411254" TARGET="_blank">the news</A> of how spammers-in-disguise AVG's anti-virus software is "protecting" its users by prefetching the URLs found in each page. Mainly, they're exponentially increasing the bandwidth required to navigate the Web, and incrementally increasing the bandwidth costs of servers.</P> <P> The thread is a good read, as it provides several methods of detecting and handling HTTP requests from these miscreants. However, I fear the only thing that will actually stop these guys is to throw them in jail on an interference charge, and/or successfully follow a class-action suit to recover bandwidth costs.</P> <p>As for my little corner of the world, I was wondering where all these random hits were coming from. I thought it was just some form of malware, but now that I know this is look-ahead malware, there's a silver lining at hand. I can assume (with 90% confidence) that the hits from this malware are search-engine based (the referer text is blank, so I have no real indication); so the vast majority of this traffic is from search engine hits. By filtering out those malware hits that were followed by legitimate traffic, I have a measure of unfollowed search engine queries.</p> <p>This extra dimension of navigation is interesting, and it reeks of the evil that is Advertising/Marketing. With this agent, AVG can provide a summary of search results not followed, providing the hookers-and-blow set a previously invisible metric. The criminals have at least a secondary motive for gumming up the pipes.</p> Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/07/03#topic_20080703 Low Country Boil. Guns and Punishments http://www265.pair.com/perlman/blog/2008/07/02#horntx <P><I>[originally posted at <A HREF="http://atlmalcontent.wordpress.com/2008/07/01/armed-and-dangerous/#comments" TARGET="_blank">ATLMalcontent</A>, regarding the recent <A HREF="http://www.chron.com/disp/story.mpl/hotstories/5864151.html" TARGET="_blank">non-charging</A> of a man for shooting two robbers of the house next door, and is still WIP.] </I></P> <P>I see the gun lobby shill has shown up late to the thread, having moved at the speed of Google. Posting in their wake feels somewhat like making tea with hand-me-down bags. Still, this sounds like one of those football cases, where details are buried or rejected, for fear of spreading independent thought. That being said, some notes:<p> <ul> <li>Where was the getaway car and/or subdivision exit? Their location can indicate intent of the robbers: get away or hit the next house.</li> <LI>I see the terms "conviction" and "acquittal" thrown about various comment pages, but were charges even filed? This was a grand jury, not a trial jury. IIRC, there's a large difference between grand jury producing no charges, and a trial jury acquitting of a specific set of charges. Specifically, "no charges" means "neither murder, nor any other charge that could stem from shooting two robbers with a 911 operator on the phone. </LI> <li> Speaking of whom, the operator on this call wasn't taking the old man seriously, until it was too late.</li> <LI>Within that context (right or not), inaction by this jury speaks volumes of the views of crime and justice in that part of the world; they've effectively chosen to neither validate the criminals' existence, nor assume a role of law enforcement. Likewise, the howls from various external parties place their agendas in lieu of any explanations from the jury. </LI> </ul> Critical Mass, Indeed. http://www265.pair.com/perlman/blog/2008/07/02#cmass2 <p>It seems the local Critical Mass <A HREF="http://shelbinator.com/2008/06/28/atlanta-police-too-busy-to-fight-real-crime/" TARGET="_blank">had its balloon popped </A>(or at least, pinched) last weekend, after being written up in the local paper. So, the argument that appeared at Shelbinator <A HREF="http://shelbinator.com/2008/06/02/critical-mass-reprise/" TARGET="_blank">last month</A>, has expanded into minor controversy, with extra exposure over at CNN.</p> <p>There are a couple of underlying points with this train wreck in-progress: First, the timing of this conflict is an indication that City Hall (and/or APD brass) moves with the AJC's news cycle. Second, I see this situation getting worse before it gets better, as self-indulgent members of each tribe will alternately bait and attack each other, followed by much whining and pablum. </p> Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/07/02#topic_20080702 Atlanta Braves: Major league baseball, minor league marketing. A Chill Sunday Evening http://www265.pair.com/perlman/blog/2008/06/30#sundaypark <p>Sunday night was a good time at Park Tavern: Craft beer, fried oyster "really po'boy", music under the tent, Chicago interleague baseball (aka "the world's highest-paid Little League game") and a big thunderstorm before sunset to cool everything off. I really need to get off my butt and add this place to the dining page. Their kitchen is very capable (hellooo, sweet potato fries), and their beer is very good. Add some music and the best Atlanta skyline view around, and this place is a gem of the city.</p> <p>As for the music: Honey Honey (acoustic duo) was good; Ike (rock band) was best; whoever they had headlining the show (and drawing a few hundred fans) should have just signed autographs or something. I actually recall reading about Ike in Creative Loafing, probably a few years ago. It was good to hear and see them live.</p> Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/30#topic_20080630 I know it's Monday, but...here's a <a href="http://www.beertripper.com/ot_Periodic_Chart_of_Beer.html" target="_blank">Periodic Table of Beer</a>. Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/28#topic_20080628 <a href="http://thewebsiteisdown.com/" target="_blank">TheWebsiteIsDown</a>, and is not safe for work, but it is made of win. Today's topics for discussion are: http://www265.pair.com/perlman/blog/2008/06/27#topic_20080627 1. Happy Hour.<br><br>2.<a href="http://en.wikipedia.org/wiki/Thyme" target="_blank">Thyme</a>. This Just In... http://www265.pair.com/perlman/blog/2008/06/25#lenski <p>It seems the neanderthals over at Conservapedia have had a run-in with Science, in the form of one Richard Lenski, who has recently become known for the results of his <a href="https://myxo.css.msu.edu/ecoli/" target="_blank">20-year bacterial evolution experiment</a>.</p><p>The email exchange, and resulting smackdown, may be found <a href="http://www.conservapedia.com/Lenski_dialog" target="_blank">here.</a> I'm surprised C-pedia actually posted this, but more surprised that Dr. Lenski actually typed up the large response. </p> <p>Then again, maybe I shouldn't be surprised. The price of freedom is eternal vigilance, and Dr. Lenski has chipped in a few pence on this watch.</p> Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/25#topic_20080625 Pale Ales. De-Spin in progress http://www265.pair.com/perlman/blog/2008/06/25#despintime The weather's been warm, baseball has been watched, frisbee has been tossed, and I've actually been busy messing around with Javascript and Haskell. However, the BS factor has cranked up lately, and it's time to fetch a good length of stick. Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/24#topic_20080624 Revisiting Javascript http://www265.pair.com/perlman/blog/2008/06/24#jsagain <p>So, I'm actually playing around with Javascript again; this time, I'm tinkering within the context of Firefox extensions. </p> <p> I must mention that I really like the extension architecture. It's rather slick. Javascript, however, is a pain in the ass now. I've done some thinking while kicking various scriptlets around, and I've come to the conclusion that a strict object model and case-sensitivity are just counterproductive to a softly-typed language.</p> Why, when a language can mung together any basic types (with an outcome of undefined if such munging just doesn't make sense), does this same language throw its hands in the air and bitch about the lack of attributes when you get an empty object? Is this punishment for not gumming up my code with try/catch blocks? Good grief. Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/23#topic_20080623 Petition(s) of the Day: <a href="http://www.petitiononline.com/netflix0/petition.html" target="_blank">Netflix Profile Cancellation</a> and <a href="http://www.petitiononline.com/netflixp/petition.html" target="_blank">Save Netflix Profiles</a> Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/21#topic_20080621 The AP has started charging (and/or filing lawsuits) for quotes of five or more words from their stories. It's time to <a href="http://fourwordexcerpts.tumblr.com/" target="_blank">point and laugh</a>, at least on the outside. Notes from Friday's Game. http://www265.pair.com/perlman/blog/2008/06/21#BadWeekend We lost 10-2, Chipper aggravated his leg while scoring from second, and YEsco is out with some hip strain or another. I blame the cow. More on that, later. Seriously, though. Mariners had the book on Campillo, and it showed. The score should have been 16+, but for some nice play in the early innings. Infante robbed a HR, Tex saved about five runs again. Score another run (and more pitches than necessary) for the Wave in top-6th. Refer to my earlier comments about that effect. The other bright spot from last night: Walking Chipper and Tex to get to #5 doesn't work so well with Infante batting in that spot. It's safe to say we don't have a CF. Blanco got burned two or three times, "Wasn't Andruw" once, and slacked off once. Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/20#topic_20080620 Nested Comments. (I'm playing around with them, but they currently run in N^2 or N^3 time.) Interleague Weekend, Part II http://www265.pair.com/perlman/blog/2008/06/20#braves_ms The Braves are off their best road trip of the year (4-6), and host the failing Mariners this weekend. I've been holding this ticket since April, so I'm definitely there. We should win two out of three, but I'm living in fear the Lidle Effect with this lineup. On Today's Menu: http://www265.pair.com/perlman/blog/2008/06/20#menu0620 Salami, turkey, muenster, spinach, basil on wheat. Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/19#topic_20080619 Red Curry and Couscous Sandwiches. Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/18#topic_20080618 Have you ever seen anyone playing (lottery) Keno in any of the bars that carry that game? Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/16#topic_20080616 Figs. Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/15#topic_20080615 In the same vein as last years' <a href="/2007/04/18#topic_20070418" target="_blank">discussion topic</a>...<br><a href="http://xkcd.com" target="_blank"><img src="http://imgs.xkcd.com/comics/purity.png"></a> Exercises in Saucery http://www265.pair.com/perlman/blog/2008/06/14#braves08splat <p>While at the barber's yesterday, I read some foodie magazine or another, whose name I can't recall offhand. This issue contained a nice article dealing with North Italian cooking; from this article, I was clued in to three components that have been missing from my sauces: [1] celery, [2] caramelized (vs. sauteed) onion, [3] carrots. </p> <p>Tonight, I put them to the test, and am pleased to report the results were outstanding; the next canning run will include these components. It helped to use a Vidalia onion, to mince the other veggies (incl. red bells) in a processor, and to use dried leaves collected from the patio. </p> Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/14#topic_20080614 Cool, rainy nights. Window-shopping for Art http://www265.pair.com/perlman/blog/2008/06/13#vahifest08 <p>The Virginia-Highland Summerfest was held last weekend; to be brief, there's nothing quite like scoping out great art while eating carnival food, and listening to the banter of the overcultured. </p> <p>Here's a listing of the artists whose work I found the most impressive: <ul> <li>Andy Costine (URL 404'ed): woodworking</li> <li>Bill Herb (<a href="http://www.BillHerb.com" target="_blank">website</a>): raku sculpture </li> <li>Charlie Weeks (no website): custom wooden boxes</li> <li>Felix Berroa (<a href="http://www.felixberroa.com" target="_blank">website</a>): Painting (Abstract/cubist)</li> <li>J. Ashley Kirby (<a href="http://www.jashleykirby.com" target="_blank">website</a>): Painting (watercolors)</li> <li>John Coburn (<a href="http://www.centerearthpottery.com" target="_blank">website</a>): Pottery</li> <li>Lisa Mote (<a href="http://www.lisasglassstudio.com" target="_blank">website</a>): Glasswork</li> <li>Lucinda Carlstrom(<a href="http://paperquilts.com" target="_blank">website</a>): paper/thin-fabric quilts</li> <li>Mary Barbara Hixon (no website): Painting (multiple sytles)</li> <li>Rudd Montgomery (<a href="http://www.pushhardlumber.com" target="_blank">website</a>): salvaged-wood furniture</li> <li>Song Jinsheng (<a href="http://www.art-mind.com" target="_blank">website</a>): Painting (multiple sytles)</li> <li>Tali Almog (<a href="http://www.talialmogpaintings.com" target="_blank">website</a>): Painting (Abstract-Oils)</li> <li>Thomas Spake (<a href="http://www.thomasspakestudios.com" target="_blank">website</a>): Glasswork</li> <li>Timothy Boyd (<a href="http://tmboyd.com" target="_blank">website</a>): Painting (Lowbrow/Comic)</li> </ul> A Voice from Summers Past http://www265.pair.com/perlman/blog/2008/06/13#teajar <p>I haven't bought a solar cooker yet, but I should. There's enough really good sun out front, to cook just about anything smaller than a roast.</p> <p>But then I remember: when the weather's too hot to boil water for tea, put the tea out in the sun. Of course! And I have just the jar for the job.</p> <p>Thinking beyond tea, however, there's something to be said for preheating water in the sun, as opposed to either water heater or stove-driven heating. Basically, I like the idea of getting the first 30 or 40 degrees (at least) of heating out of the way without using fire. </p> <p>So, I'll play around with the sun for a while this summer. I expect to at least not run the stove against the A/C as much.</p> Green Thumb, gone Brown http://www265.pair.com/perlman/blog/2008/06/13#greenthumbbrown <p>The past two weeks have brought hard times for the plants. I forgot to prune them ahead of summer, then let them go too long without water, and they partially dried up. So out came the pruning shears, and I ended up with a few baking sheets worth of herbs for drying.</p> <p>As it turns out, a gas stove is not conducive to drying things, as demonstrated by a baking sheet full of scorched oregano. So, I ended up placing the remaining cuttings in the sun the next morning, and that did the trick. More on the sun, later.</p> <p>As for the remaining plants: Parsley is blooming, and will die off shortly; I'm finally started two new basil plants, and I'm going to try a cucumber vine again, if I can make room for it.</p> <p>The squirrel is now exonerated, as I've seen chipmunks digging in my plants. If I can get a picture of one of these critters, I'll post it.</p> Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/13#topic_20080613 Four-part harmony. Meet <i>Mr. Bounce</i> http://www265.pair.com/perlman/blog/2008/06/12#mrbounce This, folks, is what I'm talking about when I say Flash is the new arcade game platform: <a href="http://www.pixelate.de/games/mr-bounce" target="_blank">Mr. Bounce</a>, a take on <i>Breakout</i>, with bubbles. And arc-tracking. And controllable bounce height. And a slow-mo key. And 8-bit slow-techno track. And a timer that shrinks your already-barely-controllable platform. It isn't a very playable game, but it's playable enough to be fun. Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/12#topic_20080612 Creative Loafing's <a href="http://atlanta.creativeloafing.com/gyrobase/SpecialSections?category=beer_issue&issueDate=20080611" target="_blank">Beer Issue</a> is up. Cheers! Drought Panic 2: Electric Boogaloo http://www265.pair.com/perlman/blog/2008/06/12#droughtpanic2 <p>It's that time again: the really hot summer weather has settled in early, and that means it's time for Drought Panic '08! The AJC is starting to ramp up coverage, with a Weather Vent.</p> <p>Not that the drought ever broke; actually the winter weather rain patterns more closely resembled summer weather. It was all weekly rain fronts, with maybe two days of steady rain (vs. the normal 10 or 12 ).</p> <p>At least there are scattered storms meandering around the past few days; the big low that's currently flooding the midwest has dragged lots of Gulf air into the area; the storms simply coalesce from the mugginess like ghosts from aether. So some lucky folks are getting the 1"-2" rainstorm.</p> <p>There's been no luck for Lake Lanier, however. Most of the rain the past few months fell on the western part of the state; this has resulted in a record low (-17 feet) for the lake. Screwed, screwed, screwed. So, it's showers every other day again, for the time being.</p> <p>And as it turns out, the entire northeast corner of the state has been getting rain while I was typing this. Good deal.</p> Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/10#topic_20080610 It's 90 degrees outside. Summer is officially here. :D Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/09#topic_20080609 Favorite fruit in a Wheat Beer: Lemon, Orange, Strawberry, Rasberry? Today's topic for discussion is: http://www265.pair.com/perlman/blog/2008/06/07#topic_20080607 Philadelphia: Where Every Night is "Bring your own Boos" Night. Gender-bias in Software Dev? http://www265.pair.com/perlman/blog/2008/06/06#gendercoding <P>I'd rather not post a link to our recently-zombified friend, the <I>Wall Street Journal</I>, but <A href="http://blogs.wsj.com/biztech/2008/06/06/men-write-code-from-mars-women-write-more-helpful-code-from-venus/" TARGET="_blank">this blogpiece</A> (found linked on <A href="http://mostlymedia.wordpress.com/2008/06/06/testosterone-laden-code-ruining-everything/#comments" TARGET="_blank">Mostly Media</A>) regarding gender-based effects in software development. </P> <P>The blogpiece itself looks like a combination of an appeal to Moore's Law, combined with some solid code maintenance practice, thinly wrapped with a gender-bias argument. It's also been pre-chewed for the readership. </P> <P>However, there are a few basics that you need to keep in mind: </P> <P>Code is, in essence, crystalline thought. This is particularly true for "higher-level" languages, which are translated into actual programs. As such, most code reflects the overlapping cultures that produced and maintained it. Gender-based code styles could well be valid, but it is only one of many cultural modifiers that affect a developer (or team of developers). These modifiers include national, geographic, economic, generational, and (multiple) organizational traits, that shape people's behavior over time.</P> <h5>Obfuscation</h5> <P>Code Obfuscation is definitely a test of skill, both for the writer and readers. The <A HREF="http://www0.us.ioccc.org/main.html" TARGET="_blank">International Obfuscated C Code Contest</A> is the earliest, organized Obf-contest I can remember, although similar contests exist for most modern languages (particularly those rooted in C).</P> <p>If I recall correctly, Obfuscation derives its roots in the quests for storage efficiency, runtime efficiency, and overall performance. These three traits are (usually) orthogonal to maintainability and legibility. Who can write the smallest program? Who can write the fastest program? Who can write the program which uses the least bytes or bandwidth? Answeres to these questions lead directly to the question of who can write the most unreadable program.</p> <h5>Comments vs. Code</h5> <p>That brings us to the danger of comments. Comments do not relate program function. Comments relate programmers' intent. Why? Here's an example, where all text to the right of '//' is a comment:</p> <blockquote> <table bgcolor="#fff3f3"><tr><td><pre> char input_array = ['A','D']; // An array of characters char *result_ptr; // Pointer to a character or array result_ptr = Invert( input_array ) //Invert the order of this array </pre> </td></tr></table> </blockquote> <p>...what is the order of input_array? The comment says we have inverted input_array, but the code assigns <i>something</i> to result_ptr. Does result_ptr now reference an inverted input_array, or an entirely new array made of the inverted members of input_array? Nothing in this language prevents us from writing Invert() in either fashion. We have to look at Invert(), or establish an understanding through testing, to determine the function's behavior.</p> <p> My point here is: to the degree that comments and code actually match, you have "good" comments. It is far, far too easy for developers to substitute understanding of comment for understanding of the code which actually runs.</p> Braves Make a Move http://www265.pair.com/perlman/blog/2008/06/06#fultzout Amidst the <a href="http://rowlandsoffice.typepad.com/weblog/2008/06/hail-to-chipper.html#comments" target="_blank">history</a> and the <a href="http://rowlandsoffice.typepad.com/weblog/2008/06/i-have-something-in-my-eye.html" target="_blank">retrospection</a> this week (more on that in a later post), the Braves <a href="http://www.ajc.com/services/content/sports/braves/stories/2008/06/04/fultzweb_0605.html?cxtype=rss&cxsvc=7&cxcat=21" target="_blank"> replaced</a> their Strength and Conditioning coach. I don't know what's going on here, but there have to be real problems, of one kind or another, for a team to make that kind of move, especially mid-season.