Slashdot Mirror


Speed of Light Measurement Using Ping

Thomas Colthurst writes "You've no doubt already read the story of ping, but have you ever used it to measure the speed of light?" Here's a case where all that cat5 on college campuses can actually be used for education ;)

18 of 274 comments (clear)

  1. I just measured it by Guitarzan · · Score: 5, Funny

    And according to Unreal Tournament, the speed of light is about 50 miles per hour.

  2. Seems to me by javaaddikt · · Score: 2, Funny

    That you'd only be measuring the amount of pr0n being downloaded by physics students... unless you had your own clean segment.

    1. Re:Seems to me by stretch_jc · · Score: 2, Funny

      I'd be one to agree with you given't the domain name: xxx.lanl.gov

  3. Impressive by Neoplane+Overlord · · Score: 2, Funny

    I never thought such a seemingly simple thing as a ping command could be used in a way related to physics/the universe. At this rate, we may be able to explain the space-time continuum by using a simple chat relay message sometime within the next couple of years. Hmm... AOL and the Universe... mind boggling isn't it?

    --

    "One man's meat is another man's poison."
    --Bugs Bunny
  4. It looks like... by Nathdot · · Score: 3, Funny

    ...someone is very close to getting some sweet government funding to play quake all day!!!

    M: "Joel, did you get those speed of light measurements this time?"

    Joel: "No, It looks like we'll have to fire up another game. You wanna play one-on-one or co-op M?"

    M: "Sweeeeet!!!"

    :)

  5. Re:Memories of high school by Anonymous Coward · · Score: 3, Funny

    In high school, I measured geeks' resistance to pain and hunger by beating you up and taking your lunch money.

  6. Yawn. by Multiple+Sanchez · · Score: 3, Funny

    Do the same thing with pong, then I'll be impressed.

  7. This makes no sense to me.... by antistuff · · Score: 3, Funny

    why go through all that trouble when all you need is a flashlight and a stopwatch?

  8. Oh No! by sailracer6 · · Score: 2, Funny

    We Slashdotted Los Alamos!

    xxx.lanl.gov.is down.

  9. "educational" network by GePS · · Score: 3, Funny

    "Here's a case where all that cat5 on college campuses can actually be used for education ;)"


    Did I just hear education implied when talking about a college campus network? All these marvelous filesharing programs do little but propogate porn.

    Hell, perhaps you could somehow measure the speed of light by observing how fast the search "teen sex" on Kazaa fills up.

  10. A few recommendations: by swagr · · Score: 5, Funny

    1. Ping a machine farther away for more accurate results.
    2. Have the entire lab flood-ping it to collect statistics at a faster rate.
    3. Get some other shools doing this at the same time so you can compare results.

    I recommend slashdot.org.

    --

    -... --- .-. . -.. ..--..
  11. Norway? by The+Ape+With+No+Name · · Score: 3, Funny
    My original impetus for writing PING for 4.2a BSD UNIX came from an offhand remark in July 1983 by Dr. Dave Mills while we were attending a DARPA meeting in Norway...."


    Why on earth was a US Defense department group having a meeting in Norway? I need to get my boss to start having meetings in Maui. Sheesh.

    --
    Comparing it to Windows will be a moot point, since El Dorado is going to have a 40% larger code base than XP.
  12. First typo post! by Karn · · Score: 3, Funny

    "ping -i .01 > tempfile1.txt" where ">" (the so-called 'pipe' symbol)

    Then what's this thing: | ?

    :)

    --


    Why do I keep typing pythong?
    1. Re:First typo post! by Hydrogenoid · · Score: 2, Funny

      pipes can break, too...

  13. physics class by abe+ferlman · · Score: 5, Funny

    This is a little off topic, but not much so bear with me.

    A friend of mine found physics easy in high school, but found his teacher unbearable. So he would always convert his (generally correct) answers into inconvenient units, you know, pico-thises, nano-thats.

    One time the question was "what is the speed of light?"

    His answer? "1 lightyear/year"

    --
    microsoftword.mp3 - it doesn't care that they're not words...
    1. Re:physics class by Hal-9001 · · Score: 3, Funny

      The average distance from the sun to the earth is 1.5 x 10^23 angstroms, plus or minus a whole lot of angstroms.

      --
      "It take 9 months to bear a child, no matter how many women you assign to the job."
  14. Re:What About This Story of Ping? by Da+Schmiz · · Score: 2, Funny
    LOL! That is absolutely, unequivocally, the funniest thing I've read all day! (Okay, except for the quote at the back of the latest PC Magazine about a digital camera featuring "a high-quality 3X optical zoom lens designed for digital pornography".)

    But I digress.

    The text of the review in question, for you AC's who only read the part of the website above the fold:

    Ping! I love that duck!, January 25, 2000
    Reviewer: A reader from El Segundo
    PING! The magic duck!

    Using deft allegory, the authors have provided an insightful and intuitive explanation of one of Unix's most venerable networking utilities. Even more stunning is that they were clearly working with a very early beta of the program, as their book first appeared in 1933, years (decades!) before the operating system and network infrastructure were finalized.

    The book describes networking in terms even a child could understand, choosing to anthropomorphize the underlying packet structure. The ping packet is described as a duck, who, with other packets (more ducks), spends a certain period of time on the host machine (the wise-eyed boat). At the same time each day (I suspect this is scheduled under cron), the little packets (ducks) exit the host (boat) by way of a bridge (a bridge). From the bridge, the packets travel onto the internet (here embodied by the Yangtze River).

    The title character -- er, packet, is called Ping. Ping meanders around the river before being received by another host (another boat). He spends a brief time on the other boat, but eventually returns to his original host machine (the wise-eyed boat) somewhat the worse for wear.

    If you need a good, high-level overview of the ping utility, this is the book. I can't recommend it for most managers, as the technical aspects may be too overwhelming and the basic concepts too daunting.

    Problems With This Book

    As good as it is, The Story About Ping is not without its faults. There is no index, and though the ping(8) man pages cover the command line options well enough, some review of them seems to be in order. Likewise, in a book solely about Ping, I would have expected a more detailed overview of the ICMP packet structure.

    But even with these problems, The Story About Ping has earned a place on my bookshelf, right between Stevens' Advanced Programming in the Unix Environment, and my dog-eared copy of Dante's seminal work on MS Windows, Inferno. Who can read that passage on the Windows API ("Obscure, profound it was, and nebulous, So that by fixing on its depths my sight -- Nothing whatever I discerned therein."), without shaking their head with deep understanding. But I digress. --This text refers to the School & Library Binding edition.

    --

    "Anything is better than IE, and you can quote me on that." -- Wil Wheaton.

  15. My favorite part of the ping story by Horizon_99 · · Score: 3, Funny

    Dunno how many of you read it but this is hilarious:

    "The best ping story I've ever heard was told to me at a USENIX conference, where a network administrator with an intermittent Ethernet had linked the ping program to his vocoder program, in essence writing:

    ping goodhost | sed -e 's/.*/ping/' | vocoder

    He wired the vocoder's output into his office stereo and turned up the volume as loud as he could stand. The computer sat there shouting "Ping, ping, ping..." once a second, and he wandered through the building wiggling Ethernet connectors until the sound stopped. And that's how he found the intermittent failure."


    -Horizon
    "The universe is not required to be in perfect harmony with human ambition." - Carl Sagan