I have started a series on the dirtiest power plants in the US, using EPA data. Each map shows each power plant in the US. Small white dots are small power plants generating less than 2 million Megawatt-hours per year (MWh/year). Large white dots are large power plants that generate more than 2 million MWh/year. The black dots are large power plants that are in the top 50 CO2 power plant polluters, top 50 power plant NOx polluters, and top 50 power plant SO2 polluters. This was done in Processing. For more information see http://www.dirtykilowatts.org/
I created a map of Superfund sites in Processing. it’s a PDF. Strewth!
It seems that JSDoc is easier to use than PhpDocumentor or Doxygen, especially when using custom tags. I just came up with the stellar idea of using JSDoc to generate PHP documentation. PHP’s reflection API includes a way to read the JavaDoc-style comments on each function. What I will do is take these JavaDoc-style comments and make fake JavaScript functions to go with them, and then parse the new ‘JavaScript’ file in JSDoc.
I’ll provide details and tell you how it works in a later post.
I have updated the open-source actionscript SVG library. It now has an Adobe AIR application example application that allows you to try it out.
What’s the library for? It lets you define vector graphics in a common format and render them in flash. Actually, you can already do this at compile time. But if you want to change the graphics programatically, for example changing the colors and styles used for fills and pens, you are out of luck with the Adobe’s current SVG offering. This program lets you do that at runtime
Today, the number is missing from the first day.
And-oh.
Early afternoon, the evening came from bytes.
In the evening, leaving its victim, said
Normally, why? And listen. Of course I heard.
- http://www.bluetrees.org, as translated by google translator
I have been working on my office furniture. I have a big (6′ x 7′3” x 10”) bookcase and the start of a desk and a credenza. I need to get legs for the desk and credenza.
Big news. The runtime SVG parser and renderer for Actionscript 3.0 is working, sort of. The newest version of the library is available here. For the path mircosyntax, I used the lexer and parser from the Batik project, which is released under the Apache Version 2.0 license. The path is drawn correctly but the colors are not being rendered properly. Right now there is just code; I’ll be posting a swf and some test svg’s later.
Today I headed toward South Hill on my cyclocross bike. I spent some time on the rail trail, but it doesn’t show up on the map. I planned to climb Troy Rd but I was way too tired when I got there. I thought about getting off and walking a few times, but didn’t. Here’s the route:
I used my cyclocross bike with a low gear of 34 in the back and 38 in the front, and ended up walking up most of Connecticut hill road. It was fun though. I also made an excursion into the swamp along Cayuta Lake.
I have completed the cue point navigation portion of the cue point project, and put up a new demo and source code browser. You can get info on the project here.