Category Archive: “Uncategorized”
Using QuickCursor with TextWrangler
Via Michael Tsai’s blog: QuickCursor is a new utility that let’s you use the text editor of your choice to edit text fields you encounter in any program. It supports BBEdit by default, but it’s not too hard to add support for BBEdit’s little brother TextWrangler. Here’s how:
Open QuickCursor.app/Contents/Frameworks/Info.plist
with Property List Editor, display the QCEditInChoices
array, and click Add Child. Enter com.barebones.textwrangler
and save the file.
Now you can use TextWrangler almost anywhere.
Of course, it’s not too hard to cut and paste text to and from another editor. This is most useful if you define a shortcut key to open the current text field in your favorite editor.
Posted on Monday, October 5th, 2009. Tags: mac, textwrangler.
In which I present alternate model building aptitude as a marketable career skill
From the NYT article on Lego’s business recovery:
The changes [that optimized the company’s supply chain] also filtered down to the ranks of Lego’s toy designers, says Paal Smith-Meyer, head of Lego’s new-business group. The number of different bricks or elements that go into Lego toys has shrunk to less than 7,000 from roughly 13,000, and designers are encouraged to reuse parts, so that a piece of an X-wing fighter from the “Star Wars” series might end up in Indiana Jones’s jeep or a pirate ship.
There’s an emphasis on the creative reuse of limited parts in the design of current Lego sets. Someone who demonstrably makes that specific challenge the focus of their hobby would be an asset to the company.
Posted on Sunday, September 6th, 2009. Tags: LEGO.
Transportation Alternatives
A post at The World Awheel suggests we should compare bicycles to the foot rather than the car. From that perspective, the around-town advantages seem unambiguous. The ability to travel faster than you can by walking, combined with the ability to navigate beyond the domain of public transit, is a great ability indeed — especially if the operating costs are next to nothing.
In fact, there are a lot of people, most of them hidden from those of us in a comfortably middle-class position, who are not a part of America’s car culture because they simply can’t own a car. These are the people we need to get on bicycles, because for them, for all intents and purposes, it’s still 1881.
There is more to solving transportation problems than providing an affordable vehicle for everyone, of course. Transportation needs are irrevocably related to the structure of our society. Where do you go, how do you get there, and what are the costs?
Posted on Wednesday, September 2nd, 2009. Tags: bike, car.
FileMaker Pro 10 Rulers
A quick tip for FileMaker Pro 10 users: in Layout mode, you can choose to display Graphic Rulers from the View menu:
What you may not realize is that you can easily toggle between ruler units by clicking the unit label that appears in the upper left corner of the rulers. Unit options include in (inches), cm (centimeters), and px (pixels):
You can also toggle units by clicking the unit labels in the Info palette:
Posted on Wednesday, September 2nd, 2009. Tags: filemaker, mac.
Bookmark in Yojimbo compatible with Yojimbo 2.0
The current version of my Bookmark in Yojimbo script is compatible with the recently-released Yojimbo 2.0.
Posted on Wednesday, September 2nd, 2009. Tags: applescript, mac, safari, yojimbo.
Expanded Comments Fields for Yojimbo 2.0
Bare Bones Software has released Yojimbo 2.0, which I heartily recommend. However, Yojimbo 2.0 still comes out of the box with fixed-height comment fields. Here is an updated version of my hack to display comment fields that expand to fill the available space:
Download Expanded Comments Fields for Yojimbo 2.0 (32k)
Posted on Wednesday, September 2nd, 2009. Tags: mac, yojimbo.
Neighbors Mapping Neighborhoods
The big outcome of our initial presentation of BNP data was the development and administration of a survey to assess general social attitudes and specific attitudes towards certain city initiatives among residents of a certain area in the city. The survey was intended to inform groups involved in that initiative, but it also complements existing data and the lead author’s research interests.
Of particular interest to me was the opportunity to tag some map-based questions onto the survey. We provided a street map (courtesy of the Goog’s cartography gnomes), and we asked respondents to highlight the streets that comprise their neighborhood. Here’s what it looks like:

This example is representative of the scope and detail of actual responses, but it is not an actual response. No individual responses have been (or will be) divulged!
In survey parlance, this is a “pilot instrument” in at least two regards. Firstly, we were uncertain how readily respondents would understand what they were being asked to do. Secondly, we were uncertain what the best way to analyze the responses would be.
The first concern has proven to be a non-issue. Drawing on a map is fun; I think people found it the most engaging part of the survey. Furthermore, they tend to reason aloud about what makes up their neighborhood as they mark their stomping grounds. These narratives are interesting.
(Yes, I participated in the door-to-door administration of the survey. It was a fascinating experience which deserves further elaboration.)
The second concern, processing the responses, has yet to be fully addressed. The initial plan was to scan and digitize each map for exploratory GIS analysis. What has actually happened to date is that we’ve numbered each major street segment in the neighborhood, and coded each hand-drawn map according to which street segments it includes. This data will inform a statistical social network analysis of the neighborhood.
Anyway, the survey — of the neighborhood surrounding Mary Street and the straw bale house that will be built there — has generated quite a bit of interest. So far we’ve presented the results three times (to the Binghamton Housing Authority’s South Side Alive committee, to the Mayor’s office, and just today to the South Side West neighborhood assembly); a quantitative approach to neighborhood planning and assessment seems surprisingly novel and interesting to residents and officials alike.
Posted on Tuesday, September 1st, 2009. Tags: geography.
LDraw and “Multitouch Augmented Reality”
An upcoming version of the library behind the SSTT Visualizer used in LDraw Augmented Reality will support multitouch input, allowing your fingers to be recognized as input devices. It looks like you can use gestures to operate virtual/visual controls like sliders along the side of the marker image. Here’s a video of examples:
A variant of my Scout model appears near the end of the video. Neat!
Posted on Tuesday, September 1st, 2009. Tags: ar, LDraw, LEGO.
Unofficial build of LDView 4.1 (with 3DS export)
My introductory guide to LDraw Augmented Reality relies on LDView’s 3DS export feature, which is currently present only in unreleased development versions of LDView.
Here is an unofficial Macintosh build of LDView 4.1 (code retrieved from Sourceforge on 31 August 2009). It includes 3DS export. Hopefully this helps a few more people get started with LDraw and SSTT Visualizer.
Download LDView-Unofficial.zip (Intel Mac OS X only) 1MB
Update: A formal beta version of LDView 4.1 has been released.
Posted on Monday, August 31st, 2009. Tags: ar, LDraw, ldview, LEGO, mac.
LDraw Augmented Reality
Step 1
Create an LDraw model using Bricksmith or some other LDraw editor.
I use LDraw to record the design of models I’ve built. Here are the originals:
Step 2
Open the LDraw model in LDView.
(Note: as reported in the comments, 3DS export is not available in LDView 4.0.1, the most recent stable release. For the time being, you’ll need to build LDView yourself to utilize this feature.)
Choose Export from the File menu. Select “3DS: 3D-Studio File” from the File Format popup menu.
Name the file and click Save.
Step 3
Download the SSTT Visualizer Augmented Reality Demo from technotecture.com. Models, fiduciary marker images, and configuration files are stored inside the visualizer application package. Right-click the application and select Show Package Contents:
Drag the model you saved in Step 2 into the Contents/Resources/sstt subfolder:
Step 4
Edit the config.txt file.
fiducial sstt/watch_fiducial.jpg 80 52 translate 0 0 0 model sstt/model.3ds 0.26
Consult the visualizer User Manual for more details about the syntax of this file. Here’s a line-by-line explanation of the example:
fiducial sstt/watch_fiducial.jpg 80 52
This identifies the tracking image from which the model’s position and orientation should be derived – the model will appear above this image (the default) wherever it appears in the scene.
translate 0 0 0
The translate statement can be used to adjust the position of the model relative to the image. Increase the last coordinate to elevate the model above the image surface or to compensate if the origin of your LDraw model is above or below the point where it should contact the ground.
model sstt/model.3ds 0.26
This line identifies the model to display. Adjust the number to change the apparent display size of the model. A scale factor of 0.26 seems to work well with the default tracking image printout.
Step 5
Print out the tracking image sheet (PDF), start the SSTT Visualizer program, and point your computer camera at the sheet. It may take a moment for larger models to load.
As you may notice, it lags a little sometimes, but I’d say it’s still pretty neat. It may prove possible to optimize the 3DS files for smoother performance, as there is a lot of internal part and model geometry that is unnecessary in this context.
Posted on Saturday, August 1st, 2009. Tags: ar, LDraw, LEGO.