Skip to content →

Tag: itouch

iTouch as network sniffer

In the iTouch warwalking post I was considering trying to gain access to closed networks for innocent purposes such as checking mail, rather than stealing secret passwords from people allowing you free access to their wireless network, but still, I should have thought of the following possibility

Here’s a walk-through :

  • type the following command into your iTouch Terminal.app (assuming you’ve installed the BSD subsystem) :

tcpdump -v -s 65535 -w log.txt

  • once you’ve collected enough packets, cancel the command (ctrl c), AFPd the file from the iTouch to your Mac and open it with Wireshark (this is the most convenient way to install binaries under Leopard as well as an updated version of X11. For other platforms, or source code, see here)

  • do whatever black magic you feel you have to perform using Wireshark (the new name for Ethereal) or other password crackers

2 Comments

yahoo pipes on iTouch

The next thing on my tech-to-do-list : learn all about Yahoo Pipes :

Pipes is a powerful composition tool to aggregate, manipulate, and mashup content from around the web. Like Unix pipes, simple commands can be combined together to create output that meets your needs. Here are a few popular ways the service can be used:
– create your ultimate custom feed by combining many feeds into one, then sorting, filtering and translating them.
– geocode your favorite feeds and browse the items on an interactive map.
– remix your favorite data sources and use the Pipe to power a new application.
– build custom vertical search pages that are impossible with ordinary search engines.
– power widgets/badges on your web site.
– consume the output of any Pipe in RSS, JSON, KML, and other formats.

I’ve posted before on setting up your own lifestream, or your own planet, or scraping feeds, or subscribing to my brain, or … whatever. The good news is : all these ideas are now superseded by Pipes!

Pipes is a free online service that lets you remix popular feed types and create data mashups using a visual editor. You can use Pipes to run your own web projects, or publish and share your own web services without ever having to write a line of code. You make a Pipe by dragging pre-configured modules onto a canvas and wiring them together in the Pipes Editor. Once you’ve built a Pipe, you’ll be able save it on our server and then call it like you would any other feed. Pipes offers output in RSS 2.0, RSS 1.0 (RDF), JSON and Atom formats for maximum flexibility. You can also choose to publish your Pipe and share it with the world, allowing other users to clone it, add their own improvements, or use it as a subcomponent in their own creations.

This is the essential message to get : yahoo-pipes allows you to remix the web, filtering out all noise! And the good news is

  1. There are plenty of public pipes around to get you going, and
  2. Pipes has an iTouch-friendly interface (see above left). All you have to do is to Safari to iphone.pipes.yahoo.com and use them.

Here are a few public-pipes you can use out of the box!

  • iPhone / iPod Touch: The Most Comprehensive Feed Ever!, doing what it promises : giving you the best iTouch-posts without having to roam for them.
  • JSON Geocoder, returning lat/lon/address info from the the given address.
  • Uber Blog Search, Search all the blogosphere with one query. Hits Google, Ask, Technorati, and icerocket then returns the unique results. Below the web-interface giving the results for ‘noncommutative’…

and finally, one of my favorites, implementing to some extend the Lifestream-idea (iTouch-interface above left)

  • lifefeed – virable, Easily Aggregate your social whereabouts great for blogs profiles and more! Aggregates Your Feeds From: -Digg -Last.fm -Twitter -Flickr -Del.icio.us and your very own blog Adopt and Improve, enjoy!

I’ll promise to spend some time soon to set up my very own pipes and make them available…

5 Comments

Top 5 wp-plugins to improve your bounce-rate

The bounce rate indicates how many web-visitors leave the site without visiting any other pages before a certain session timeout elapses. That is :

High bounce rate means the site must be horrible to site visitors and most likely they would never return again. They are not even interested to check other content of the site. First impression counts.

After installing google analytics some weeks ago, I noticed a worrying high bounce rate : close to 80%… At first I thought this was due to the fact that all iTouch fans left the moment they saw a mathematical symbol, but further analysis proved me wrong : iTouch fans study posts here a lot longer than the average mathematician. But then, what was the reason? Is this site really so horrible to look at? is the content of such poor quality?

Anyway, I’ve tried out a couple of tricks, with surprising effect. The bounce rate dropped from 80% to under 3% and best of all, it appears to stay that low. Here, the google-analytics bounce-rate evolution of the last 3 weeks

So, what kind of magic voodoo did I perform on january 6th? I’ve installed a couple of WordPress Plugins and changed the upper part of the entry-page. My basic assumption is that people leave a site when they come to it for specific information (for example via a search engine), do not find the info immediately and don’t want to spend too much time looking for it. So, I wanted to have all tools to find content on this site right in front of the potential new-comer. Here are the 5 major changes to the header part and the plugins Ive used.

1 : Rather than having a monthly-archive in the sidebar providing no more info than the number of posts in a particular month, create a proper archive page where visitors can find the titles and links to all posts in reverse chronological ordering. I did use the Smart Archives Plugin.

2 : Even better : have a drop-down archive right under the header-picture so that visitors can scroll down the list of all posts without having to load another page. Ive used the Awsom Archive Plugin.

3 : Let visitors see in a glance what your blog is all about by having a tag cloud under the header. I didnt feel like tagging 300 old posts, so I used the Simple Tags Plugin to do it all for me.

4 : Have a welcome message near the top to aid new visitors (especially when you have, like me, 77.51% of them around). The message disappears after their third visit. It’s a wonderful idea, made possible by the What Would Seth Godin Do-Plugin.

5 : Write series of posts and have links to the other parts available at the top of the new post. Likely, people are going to check out the other parts for more information. Rather than hard-coding the links by hand, Ive used the In Series Plugin.

2 Comments

quick iTouch links

MacBookAir? Is this really the best Apple could come up with? A laptop you can slide under the door or put in an envelop? Yeez… Probably the hot-air-book is about as thick as an iTouch. The first thing I did was to buy a leather case to protect the vulnerable thing, making it as thick as a first generation iPod… (needless to say, when my MacBookPro breaks down, ill replace it with a MacBookAir, clearly!)

Ranting about MacWorlds : Wired has a great article on last year’s event. Steve Job’s iPhone presentation is something that will be part of the collective memory when it comes to 2007-recollections. Few people will have realized that the Apple-team didnt have a working prototype a few weeks before… Here’s The Untold Story: How the iPhone Blew Up the Wireless Industry. A good read!

If you plug in your jailbroken iTouch, you will be asked wether you want to upgrade to 1.1.3, something we all feared for a long time and so it takes just nanoseconds to hit the cancel-button. But, there is good news! Rupert Gee reports that you can downgrade to 1.1.1 and redo jailbreak. I won’t try it for some time, but still…

In the unlikely event that you come here being a mathematician, here’s what I did with my iTouch today. Ive downloaded the Connes-Marcolli talks on Renormalization and Motives part 1, part 2, part 3, part 4, part 5, part 6, part 7 and part 8 at work. They are in mp4-format so you can load them into iTunes and onto your iTouch!!! Weather is not favorable for outdoor-cycling at the moment, so I used the home-trainer, put the iTouch in front of me and, boy, was I educated…

Leave a Comment

thanks for linking

I’ve re-installed the Google analytics plugin on december 22nd, so it is harvesting data for three weeks only. Still, it is an interesting tool to gain insight in the social networking aspect of math-blogging, something I’m still very bad at…

Below the list of all blogs referring at least 10 times over this last three weeks. In brackets are the number of referrals and included are the average time Avg. they spend on this site, as well as the bounce back rate BB. It gives me the opportunity to link back to some of their posts, as a small token of gratitude. I may repeat this in the future, so please keep on linking…

Not Even Wrong (69) : Avg (1.05 min) BB (52.94%)

The most recent post of Peter is an update on the plagiarism scandal on the arXiv.

The n-category cafe (63) : Avg (2.13 min) BB (50%)

The one series I followed at the cafe lately was the Geometric Representation Theory course run by John Baez and James Dolan. They provide downloadable movies as well as notes.

Richard Borcherd’s blog (47) : Avg (1.53 min) BB (53.19%)

It is great to see that Borcherds has taken up blogging again, with a post on the uselessness of set theory.

The Arcadian functor (32) : Avg (3.45 min) BB (34.38 %)

It is clear from the low bounce-back rate and the high average time spend on this site, that Kea’s readers and mine have common interests. Often I feel that Kea and I are talking about the same topics, but that our language is so different, that it is difficult for me to spot the precise connection. I definitely should start (for myself) a translation-project of her M-theory posts.

RupertGee’s iBlog (23) : Avg (6.48 min) BB (34.7 %)

Surprisingly, and contrasting to my previous rant iTouch-people (or at least those coming here from Rupert Gee’s blog) sure take time to read the posts and look for more.

Ars Mathematica (22) : Avg (0:01 min) BB (77,2 %)

Well, the average time and bounce back rate say it all : people coming here from Ars Mathematica are not interested in longer posts…

iTouch Fans Forum (14) : Avg (2:07 min) BB (42.86 %)

Again, better statistics than I would have expected.

Vivatsgasse 7 (13) : Avg (1:51 min) BB (38.46 %)

I hope these guys haven’t completely given up on blogging as it is one of my favourites.

Sixth form mathematics (12) : Avg (1:40 min) BB (25 %)

My few old posts on LaTeXrender still draw referrals…

Strategic Boards (12) : Avg (0:01 min) BB (91.67 %)

People in strategic board games are not really in my game-posts it seems…

The Everything Seminar (11) : Avg (2:04 min) BB (72.73 %)

Greg Muller has been posting a couple of nice posts on chord diagrams, starting here.

Noncommutative Geometry (11) : Avg (3:36 min) BB (27.27 %)

Well, we are interested in the same thing viewed from different angles, so good average times and a low bounce back rate. Maybe, I should make another attempt to have cross-interaction between the two blogs.

7 Comments

iTouch warwalking

Four years ago I had a brief fling with wardriving. It went only as far as getting Ethereal to crack the security of our house-network. I simply couldn’t picture myself walking around the neighborhood with my laptop under my arm… However, jogging around with an iPod will attract far less attention.

Starting an iTouch in a network-rich environment you will be asked which network you want to connect to (see for example this wardriving video). However, if you need more information on the networks, there is a port of the OSX-tool iStumbler for the iPhone/iTouch : Stumbler (available also from the Install.app under Network). This morning I flipped open my iTouch in a generic street near the University and was surrounded by 12 wireless networks, 6 of them wide open…

One may then ask : what about less innocent wardriving tools such as Kismet or Ethereal itself? The problem with porting those seems to be that no-one knows whether the iTouch wireless driver can be put into ‘promiscuous mode’ (see for example this thread).

Once you have collected open networks at your favourite places or have passwords to closed networks, it would be nice if the iTouch would auto-detect these and connect to them without you having to remember the particular name or having to type in username/password combinations. Surprisingly, this is possible thanks to the people at devicescape.com. Create a free login, then get Devicescape Connect (available under Network) run it and write down the pincode you are given and follow the instructions to complete the installation. You can then edit your Wi-Fi list of desired hotspot or personal networks, together with all login-data. There is a nice TidBit article describing devicescape in full detail.

One Comment

sobering-up

Kea’s post reminded me to have a look at my search terms (the things people type into search engines to get redirected here). Quite a sobering experience…

Via Google Analytics I learn that 49,51% of traffic comes from Search Engines (compared to 26,17% from Referring Sites and 24,32% from direct hits) so I should take Search Terms more seriously! Above you can find the top-25.

On 1. there is neverendingbooks. Well, some people seem to remember the blog-name, but require google to remember the URL (neverendingbooks.org)…, okay, fair enough. But from then on… all search terms are iTouch related! The first ‘other’ term is puzzle m at 24. and believe me things do not improve afterwards. Here the only non-Touch related search terms in the top 100 :

  • neverendingbooks.org (40)
  • “puzzle m” (42)
  • moonshine mathematics (79)
  • necklace algebra (80)
  • “calabi-yau algebra (90)
  • “dessin d enfant” (91)
  • “lieven le bruyn” (95)
  • Mathieu group + M(13) (97)
  • 13 points 5 lines puzzle (98)
  • 15 itouch sliding puzzle (99)

the last one is really touching (sic). Is there anybody out there still interested in the mathematics, or should I turn this blog into a yaib (yet another iTouch blog) ???

4 Comments

overloaded iTouch

A jailbroken iTouch can do many wonderful tricks : by sarting up an AFDd server one can use it in Disk mode, exactly as an iPodClassic, one can use it as a WebServer by installing Apache and PHP and run a Wiki, one can install OpenSSH and secure shell to the rest of the world, one can even turn the iTouch into a music streamer via the FireFly server, one can …

And all of this on a gadget with only 116Mb RAM and one processor running at 412MHz… is asking for overload problems both on memory and battery. A couple of days ago I wanted to start up the iTouch and was greeted by a bright flickering screen and thought I’d finally bricked it…

Fortunately, there’s a simple lesson to be learned : with every new feature you install, learn how to switch if off and monitor your iTouch using the SysInfo.app (under Utilities) which allows to view basic system info (screenshot below) as well as all active processes.

Here a few tricks to turn on/off the major consumers :

  1. To turn off the Apache-sever, ssh into the iTouch and give a apachectl stop command (you can always restart it with apachectl start.

  2. To control OpenSSH, install the Services.app (under Utilities) which allows to toggle Wifi, Edge, SSH and Bluetooth on or off (screenshot below).

  3. To control APFd, use its control pannel to toggle the Broadcast active feature only when you need your iTouch in Disk mode (it will then appear under Shared in your Finder window, at least under Leopard. For more on this see Mount and use your iPod touch as a Thumb Drive.

  4. To control FireFly, use the UIctl.app (under Multimedia) and scroll down (after staring for about 15 seconds to a white screen) to org.fireflymediaserver.mt-daapd, tap it and start or stop the server.

Another major consumer is the MobileRSS.app (under Productivity). Maybe I should restrict my subscriptions to the hottest blogs only

4 Comments

IF on iTouch

Interactive Fiction (IF) describes software simulating environments in which players use text commands to control characters and influence the environment. Works in this form can be understood as literary narratives and as computer games. In common usage, the word refers to text adventures, a type of adventure game with text-based input and output. As the text-input is minimal (most commands have 1 letter abbreviations), text-games are ideal to be played on the iTouch.

Luckily, one of the most popular IF-interfaces, Frotz, is ported to the iPhone/iTouch as iPhoneFrotz. The easiest way to install is just to install the Frotz package using Installer.app. Just install the “Community Sources” package, which contains the installer repository (which hosts Frotz as well as other games and utilities), then look for Frotz under the Games section.

A collection of 3 Zork-derivatives (although not the original Infocom titles) is also available in the “Zork Z-Code” package.

There are hundreds of Z-Code games, and no one is likely to package your favorites for easy installation by Installer.app. But the games can be downloaded and copied to the phone without too much trouble.

Z-Code games are typically have filenames ending in .z3, .z4, .z5 or .z8 (depending on version), although game files from original Infocom media end in .dat. These should be copied to the phone’s Frotz/Games folder (under /var/root/Media).

Here is a link to the The IF archive and an archive of all Z-games. Another interesting site is the Inform 7-site

Inform is a design system for interactive fiction, a new medium for writers which began with adventure games in the late 1970s and is now used for everything from literary narrative fiction through to plotless conceptual art, and plenty more adventure games too. Since its introduction in 1993, Inform has become a standard tool.
Three years in the making, Inform 7 is a radical reinvention of the way interactive fiction is designed, guided both by contemporary work in semantics and by the practical experience of some of the world’s best-known writers of IF.

In place of traditional computer programming, the design is built by writing natural English-language sentences:
– Martha is a woman in the Vineyard.
– The cask is either customs sealed, liable to tax or stolen goods.
– The prevailing wind is a direction that varies.
– The Old Ice House overlooks the Garden.
– A container is bursting if the total weight of things in it is greater than its breaking strain.
Inform’s power lie in its ability to describe: to lay down general rules about “closed doors”, or “bursting containers”, or “unmarried men liked by Martha”. At its best, expressing IF in natural language results in source text which is not only quick to write, but very often works first time, and is exceptionally readable.

Inform 7 is available for most platforms and can be downloaded here.

Leave a Comment

top iTouch hacks

So, you did jailbreak your iTouch and did install some fun or useful stuff via the Install.app … but then, suddenly, the next program on your wish-list fails to install ??!! I know you hate to do drastic things to your iTouch, but sooner or later you’ll have to do it, so why not NOW?

Move the Applications Folder

The problem is that there are two disk partitions (a small one, meant only to host the apple-software and a large one to contain all your music, videos and stuff) and Install.app installs programs in the /Apllications folder on the smaller partition. So, we want to move it to the other partition using a symbolic link trick (as in the wiki-hack post). Here a walkthrough, more details can be found on Koos Kasper’s site.

  • Have BSDsubsystem and OpenSSH installed, so that you can ssh into the iTouch.
  • verify that the second line of the /etc/fstab file reads as below (or edit it if necessary, in my case it was already ok, perhaps this is done during jailbreak?) and reboot the iTouch (if you had to change it)

/dev/disk0s2 /private/var hfs rw 0 2

  • ssh into the iTouch and type in the following commands (to move the folder and make the symbolic link)

cd /
cp -pr Applications /var/root
mv Applications Applications.old
ln -s private/var/root/Applications /Applications

  • reboot the iTouch, ssh into it and remove the old Application-folder to free space

cd /
rm -rf Applications.old

From now on, all (most) new programs are installed on the larger partition. If you reinstall the OpenSSH application (as suggested) make sure to remove on your computer the old key for iTouch.

Stream your Music!

I use the iTouch to read my mail, to read RSS feeds, to administer this blog, to VNC to the home-server and when needed to ssh into the computer at work (running this blog) to restart the apache server. Unless I have to write a lot, there is no need to fire up a computer… But, when someone has a Mac running, I would like to be able to stream the music on my iTouch to hear it loudly. Here’s the procedure, via Rupert Gee’s blog :

  • Have the Auto-Lock set to “Never” in Settings/General
  • Install the UIctl applications (under Utilities)
  • Add a source to Install.app (click on Sources-button lower-right, Edit upper-right and then Add upper-left) http://home.mike.tl/iphone
  • Relaunch Install.app and install FireFlyMediaServer (under Multimedia).
  • Write down the address given during installation to change your password and monitor the Firefly-server (the default root password is ‘dottie’ and so the address should be

http://root:dottie@127.0.0.1:3689

  • Open up UIctl and scoll down to a line saying “org.fireflymediaserver.mt-daapd” and tap on it. Tap on “load-w” and then on “Do It”
  • Now, at the Mac your iTouch should be vusible under Shared in iTunes, click on it and give the password and your music is available!

2 Comments