|
by Joel Aufrecht
11:48 PM, 26 Apr 2005
In case you read the previous post about baseball scorecards and were eagerly awaiting the Mark 3, I am pleased to announce that it is ready to begin trials. In addition to recreating the basic form from the Mark 1 and Mark 2 in a more open file format, SVG, I have made several other changes, predicated on two ideas: implementing Tufte, and changing from traditional to modern measurement statistics:
300dpi PNG, ready for printing: Mk3 Scorecard Front, Back. Get the SVG source files.
Categories:
Baseball
Comments (0)
by Joel Aufrecht
04:45 PM, 26 Apr 2005
The strategy of the Chinese government is to change the subject.How much longer until this is the norm in the United States? Or have we already passed that threshold? How do we measure? I think that even though the Administration is either there or headed there, that's not a direct comparison. I believe the change the subject syndrome applies to all levels and branches of the Chinese government, whereas I would still expect to get straightforward (or at least not deliberately misleading or obfuscating) answers from, say local governments or branches of federal agencies or judges or a district attorney. Not from politicians, but from bureaucrats. If this changes in the US, will "terrorism" be the excuse?
Categories:
Quotation
Comments (0)
by Joel Aufrecht
01:08 AM, 26 Apr 2005
I've made several custom baseball scorecards, since the ones that come in programs are quite inadequate. Unfortunately, I made them in Coreldraw and Visio, so I couldn't use them on my linux computer even if I hadn't misplaced the original files. I decided to use SVG (Scalable vector Graphics) to create version 3. This is a standard XML file format which allows you to "draw" shapes by describing them in text. Instead of using the mouse to lay out shapes, I can just type in the dimensions I want. It looks like this:
<rect x=".16" y=".16"
width="0.18" height="0.18"
transform="rotate(45 .25 .25)"
fill="white"
stroke="#cccccc"
stroke-width="0.01"
stroke-dasharray="0.02,0.02"/>
That code creates a diamond bordered with a gray dashed line.
I have run into two main problems with this project. The first is that the SVG specs on relative and absolute coordinates for reused components are clear as mud and devoid of helpful examples. This means in effect that I'm doing a lot of stuff the Wrong Way, using offsets and other tricks which just make it harder to move stuff around and correct mistakes. I got to a certain point where I probably should have backed up, created a simple trial document, and mastered viewport coordinate system, effect of the viewBox attribute on sibling attributes, Nested transformations, and the tangled relationship between patternUnits = "userSpaceOnUse | objectBoundingBox", patternContentUnits = "userSpaceOnUse | objectBoundingBox", and viewBox. Instead, I just bulled on ahead to finish the darn thing. The second problem is that, although SVG has been around for a few years, support for it is mixed. I tried four different programs and got four different outputs, wrong on four different ways. GIMP's SVG module botches the text utterly, putting it in the wrong place and orders of magnitude too big. GIMP also gets most of the lines wrong, though that may only be an artifact of going to a print-ready resolution and then shrinking back down for display. KSVG in Konqueror looks much better, but the text is still destroyed: it seems to round all text block locations to the nearest inch or so, so that the headings for innings 1 and 2 are superposed, as are 3-4, etc. Sodipodi does the text fine and the lines look good, but the diamonds which are the most crucial element of the whole thing are not rotated. Finally, squiggle, a java program which is part of Batik, whatever that is, seems to get everything right except that the text seems to alternate being a pixel too high and a pixel too low. Still, if I can cajole print-quality raster files from squiggle, that will probably be the solution. But a one-afternoon project is now, stretching out into its fourth session of work. Bah. As a result, I had to use fresh xeroxes of my old scorecard for the Dodgers-Padres game last week. The Padres' stadium, (commercial naming sponsor) Park, is reasonably nice. If you come on the trolley, you have to walk around most of the back side, which looks like a blank mall exterior, to get to a gate, but once inside it's pretty. The commercial signage is a notch past excessive, but at least the players don't wear any advertising (aside from little logos that are practically invisible). The game happened to fall on Military night, and the Padres were wearing camouflage jerseys—grounds for protest if ever there were any. Aside from lots of froo-frah before the game, there was a very very cool parachuting demonstration, with an eight-man Navy parachuting team jumping into the stadium. The first one put his foot down directly on the target in the outfield. Others did tricks with smoke, joined up in pairs, and/or did this thing where they plummet towards the ground at 60 mph until well below the tops of the nosebleed seats before pulling up and abruptly not dying. Useful when being shot at, no doubt, but I'd hate to practice that much. Most importantly, the Dodgers won, although it was the last victory of an improbable 8-game winning streak.
Categories:
Baseball
Comments (0)
|
Joel's Blog CategoriesChina (2 items)Denmark (22) Danish (11) Commentary (57) Quotation (131) War (24) Singapore (223) Public Finance (21) Institutional Analysis (15) Brain (5) Managing the Public Sector (15) Global Issues and Institutions (20) Non-State Actors in Governance (17) Leadership and Dynamics of Communication (12) Good News (97) Reviews (51) Baseball (31) Policy Analysis and Programme Evaluation (10) Urban Transport Policy (1) Archive
October 2008 September 2008 August 2008 July 2008 June 2008 May 2008 April 2008 March 2008 February 2008 January 2008 December 2007 November 2007 October 2007 September 2007 August 2007 July 2007 June 2007 May 2007 April 2007 March 2007 February 2007 January 2007 December 2006 November 2006 October 2006 September 2006 August 2006 July 2006 June 2006 May 2006 April 2006 March 2006 February 2006 January 2006 December 2005 November 2005 October 2005 September 2005 August 2005 July 2005 June 2005 May 2005 April 2005 March 2005 February 2005 January 2005 December 2004 November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004 March 2004 February 2004 January 2004 December 2003 November 2003 October 2003 September 2003 August 2003 July 2003 June 2003 May 2003 April 2003 March 2003 February 2003 January 2003 April 2001 NotificationsYou may request notification for Joel's Blog. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||