Halcyon renderer

November 5th, 2009

Halcyon Actionscript 3 renderer/editor for OpenStreetMap, by Richard Fairhurst et al. Part of Potlatch.

Screen shot 2009-10-13 at 10.26.44 AM

Map Warper with Cartagen – rectified sketches on dynamic maps

November 4th, 2009

Playing with Map Warper (see recent post) and trying to rectify drawn maps for inclusion in Cartagen. Doesn’t work that well… the warper assumes smooth distortions, not ones based on people’s semantic and decidedly qualitative understanding of space. An alternative stretching algorithm might be interesting… regardless Map Warper should work well with balloon photography. More soon.
Read the rest of this entry »

Full-sized papercraft

November 4th, 2009

Papercraft Self Portrait (2009) (thanks Andy!)

Also:

Screen shot 2009-11-04 at 12.55.14 PM

Life-sized Link

RAGI on Rails 2.3+

October 28th, 2009

RAGI, a Ruby interface for Asterisk, allows you to handle phone calls with a Ruby on Rails application. The config/environment.rb entry has to be modified a bit for a modern Rails, since many online tutorials/resources were written in the Rails ~1.2 era, and assume WEBrick as the server.

The offending line is this:

class SimpleThreadServer < WEBrick::SimpleServer

Which can be modified to:

class SimpleThreadServer < Mongrel::HttpHandler

The complete configuration you'll need to add inside your Rails::Initializer.run do |config| block is:

  # The following code tells Rails to start a Ragi server
  # as a separate thread.
  ActiveSupport::Dependencies.mechanism = :require
  # Include your application configuration below
  # Simple server that spawns a new thread for the server
  class SimpleThreadServer < Mongrel::HttpHandler
    def SimpleThreadServer.start(&block)
      Thread.new do block.call
      end
    end
  end
  require 'ragi/call_server'
  RAGI::CallServer.new( :ServerType => SimpleThreadServer )

Map Warper – Rectifying maps

October 28th, 2009

Screen shot 2009-10-28 at 10.18.21 AM

There was a Boston OSGeo meetup last night at the Media Lab, and Shekhar Krishnan, Tim “Chippy” Waters, and Schuyler Erle showed some of their fantastic work on the New York Public Library Map Rectifier, which should be public sometime soon. Until then, you can use Map Warper, which Chippy is running as a separate site for anyone to upload and rectify maps on. We’re going to try it soon with some weather balloon photography; I ordered balloons yesterday.

http://warper.geothings.net

Screen shot 2009-10-28 at 10.18.53 AM

Map of what colors people are photographing

October 28th, 2009

This is not simply a map of the colors on the ground, which you can get from an aerial photo or systematic documentation like Google Street View, but rather a map of the colors that people on the ground are looking at.
. . . .
Quite simply, I’ve grabbed about 2,000 photos in each location from Flickr, determined the dominant color in each, mapped those colors, and interpolated liberally.

Cartogrammar.com

Point maps

October 22nd, 2009

fresnobirds

fresnobirds.org – Density

Use cookware to boost cell signal 2 bars

October 11th, 2009

via usbwifi.orconhosting.net.nz, thanks JB!

Note the advisory to connect only under 35km – the limit of Time Division Multiple Access (TDMA).

Installing Java 1.4.x on Snow Leopard

October 10th, 2009

OneSwarm’s wiki (link) covers some easy steps for installing Java 1.4 on Snow Leopard. I needed it to get the MPowerPlayer SDK running so I could compile some code for Java-enabled mobile phones. Thanks to wheremydogs.at for pointing out that MPowerPlayer relies on some Java 1.4 classes.

cd /tmp/
wget http://www.cs.washington.edu/homes/isdal/snow_leopard_workaround/java.1.4.2-leopard.tar.gz
tar -xvzf java.1.4.2-leopard.tar.gz
sudo mv 1.4.2 /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2-leopard
cd /System/Library/Frameworks/JavaVM.framework/Versions/
sudo ln -s 1.4.2-leopard 1.4
open "/Applications/Utilities/Java Preferences.app"

For those of you also working with MPowerPlayer, the error I was getting is:

  $ ant
  Buildfile: build.xml

  compile:

  preverify:
       [exec] Error preverifying class java.lang.Class
       [exec]     VERIFIER ERROR java/lang/Class.newInstance0()Ljava/lang/Object;:
       [exec] Illegal type in constant pool
       [exec] Result: 1

  package:

  BUILD SUCCESSFUL
  Total time: 1 second

But now that I have Java 1.4, it’s compiling fine.

Wally Wood’s 22 Panels That Always Work

October 10th, 2009

wallywood22panel2560