All posts by Tomas

Pingb: Bandwidth Measuring

Ever needed to get an estimate of a link’s bandwidth and all you have is shell access to one of the end points?

Normally you would need access to both endpoints and run something like iperf across the link.   That’s the proper way, but it takes a lot of time to setup (poke holes through firewalls etc).   If you don’t want to go through that hassle and just need a quick estimate, you can use pingb.

Pingb estimates the bandwidth by measuring the difference between ICMP echo requests of different sizes.


WordMesh movie script associations

Today I had WordMesh read the scripts to approx 700 movies. I was hoping to get it to understand simple concepts such as “What, where, how, why”. I got partial success. Here are the results:

query:”what” result: ”happened, doing, matter, wrong”
query:”who” result: “knows”
query:”where” result: “going”
query:”why” result: “wonder,reason,aren’t,didn’t,crying”
query:”how” result: “many,much,long”
From the previous trials with books, I knew that the program would pick up on common themes. The results didn’t come as a big surprise, considering these are mostly typical holywood. Here is a taste:

query “gun” result “machine,drop,put,shoot,fire”
query “killed man” result “himself,almost”
query “killed woman” result “poor,wife”
query “run” result “away, fast, quick, hide, along”
query “good” result “luck, evening, bye, news, idea, pretty, sounds”
query “evil” result “Dr., eye, born, power, plan, lord, master, force, totally”
I especially like the evil results from above. Exactly what comes to my mind when someone asks “What comes to mind when you think of evil?” (in reference to holywood movies).

Next step is to increase the number of movie scripts so that I have even more meaningful results.

Dance Pad Walking Controller

After playing Step Mania I realized that my pad might be useful for more than just dancing.  Gaming is such a sedentary activity so why not use the dance pad to actually walk in a game using your own two legs.  My first attempt was adapting the game Exult.  This is how you can make it work:

  • Get your dance pad ready
  • Install AutoHotKey
  • Launch my controller script using AutoHotKey
  • Launch Exult
  • Place the dance pad in a diagonally in front of your computer, Up arrow facing in the NW direction, right arrow facing in the NE direction

  • To walk stand on two arrows at a time and just press one at a time … NW-NE makes avatar walk N. NE-SE walk E … etc. It’s pretty natural after a while. …. basically left-right-left-right just like walking. Of course walking east and west is more of a front-back-front-back kind of an affair, but feels pretty good too.
  • You will soon realize that you don’t have a mouse and keyboard handy. I handled this problem by mapping the start button on the mat to combat toggle and the O button to inventory.
  • For mouse movement I just grabbed a hard writing pad and used it as my mouse pad. It worked pretty well, you can organize your inventory pretty efficiently and if your legs get too tired you can cheat and walk with the mouse.
  • If you have problems it’s probably because of the joystick mapping

Have fun 🙂 … I already finished Trinsic and walked to Britain to pick up my supplies from Lord British. But then I thought I could walk to vesper to pick up the Golden Akhn that Lord British said I could borrow … and the slime got Iolo and then me in the swamp … I should have ran 🙂 … left-right-left-right

Let me know how you like it … it’s definitely a work in progress. One thing that’s especially annoying is controlling walking speed so that in the future the faster you walk the faster your avatar walks.

If you like this, you may like Step Maze