Activities/Distance

Distance
Distance (formally known as Acoustic Tape Measure) determines the physical distance between two computers by measuring how long it takes sound pulses to travel between them.

The Distance activity is available for download from. The source is available at.



Using the Distance activity
You need two laptops in order to use this activity.

Steps:


 * 1) Launch the Distance activity on one of the computers by clicking on the icon in the Home view.
 * 2) Share the activity from the Share icon on the activity toolbar (or send an invitation to the another computer).
 * 3) Launch the Distance activity on the second computer by clicking on the icon in the Neighborhood view (or Invitation icon).
 * 4) Click on the "Begin Measuring Distance" button found near the top of the activity view on both computers.
 * 5) The first computer will send an audio pulse; the second computer will respond with an audio pulse of its own; then both computers will calculate and display the distance between them (by default, the measurement is displayed in meters).
 * 6) This process (Step 5) will repeat until you click on the "Stop Measuring Distance" button or you exit the activity.

Notes:
 * Try not to move the laptops while they are taking measurements as it will result in a bad measurement. You can move them between measurements.
 * If the "Begin Measuring Distance" button does not activate, try relaunching the Distance activity again on the second laptop from the Neighborhood view.


 * [[File:Distance-adjust.png]]


 * Atmospheric conditions can impact the accuracy of the measurement; there are overrides to the default settings on the Atmosphere toolbar.


 * [[File:Distance-units.png]]


 * The units of measure can be changed by choosing a unit from the combo box (meters, centimeters, inches, feet, yards, or custom units) on the Customize toolbar. If you chose "custom units", the current distance between the two laptops will be used as a metric. For example, you could measure the height of a student, Pedro, and then select that distance to define a new unit of measure, the "Pedro" (See ).


 * [[File:Distance-edit.png]]


 * The Copy button found on the Edit toolbar can be used to copy measurements to the toolbar.
 * The Paste button found on the Edit toolbar can be used to paste a new measurement unit into the activity. The scale of the measurement units should be specified in terms of meters, e.g., 39.37 for specifying inches.

For more information about the internals, please see Measurement Algorithm

For some ideas on how to use Distance, please see Ideas for use

Reporting problems
You can file bug reports at.

Credits
Distance was written by Benjamin Schwartz. It is maintained by Rafael Ortiz and Walter Bender

Just for fun
When he heard about the feature in the Distance activity that allows one to define new metrics on the fly, Chris Leonard sent these units for consideration:

New measures.
 * 1) Ratio of an igloo's circumference to its diameter = Eskimo Pi
 * 2) 2000 pounds of Chinese soup = Won Ton
 * 3) 1 millionth of a mouthwash = 1 microscope
 * 4) Time between slipping on a peel and smacking the pavement = 1 bananosecond
 * 5) Weight an evangelist carries with God = 1 billigram
 * 6) Time it takes to sail 220 yards at 1 nautical-mile per hour = Knotfurlong
 * 7) 16.5 feet in the Twilight Zone = 1 Rod Sterling
 * 8) Half of a large intestine = 1 semicolon
 * 1,000,000 aches = 1 megahurtz
 * 1) Basic unit of laryngitis = 1 hoarsepower
 * 2) Shortest distance between two jokes = A straight line
 * 3) 453.6 graham crackers = 1 pound cake
 * 4) 1-million-million microphones = 1 megaphone
 * 5) 2-million bicycles = 2 megacycles
 * 6) 365.25 days = 1 unicycle
 * 7) 2000 mockingbirds = 2 kilomockingbirds
 * 8) 52 cards = 1 decacards
 * 9) 1 kilogram of falling figs = 1 Fig Newton
 * 10) 1000 milliliters of wet socks = 1 literhosen
 * 11) 1 millionth of a fish = 1 microfiche
 * 12) 1 trillion pins = 1 terrapin
 * 13) 10 rations = 1 decoration
 * 14) 100 rations = 1 C-ration
 * 15) 2 monograms = 1 diagram
 * 16) 4 nickels = 2 paradigms
 * 17) 2.4 statute miles of intravenous surgical tubing at Yale University Hospital = 1 IV League
 * 18) 100 Senators = Not 1 decision