Technology related projects

Techdemo, 2012. 3D printing, 2012 Graph project, 2011 Structure from Motion, 2009,2007 Geodesics, 2009,2008 Flash PITF, 2004 Sofia AI project 2003/2004 CCP 2001 I,II

Technology notes 2007-2010, 2007-2010, 2011-2015, 2016, Now

24-12-2010: At the beginning of the year, before the ipad has come out, I had been optimistic about tablet computers and predicted, it would be a success. I'm still enthusiastic about the device and use it daily but there are clouds at the horizon. For much of the content on the New York times for example from the iPad, a registration requirement has now popped up. For me this means to skip it. I also had tried out many of the apps which publishers gave away. Only to abandon them completely since they are not transparent on how much information of my reading habits is sent away. They obviously also are gateways to subscription models in which the user is reduced to a pure consumer, who no more is able to work with the material. These are only temporary concerns. While the hope of the industry of course is to get back into control of information, it will be futile: It only needs somebody to build an ipad emulator on the PC, which looks from the outside like a real ipad, but which allows the user to save content, record movies and sound, see what information every application sends back and filter it. This will take some time. What is badly needed in the mean time is the possibility (without jailbrake) to change the User Agent settings in the ipod/ipad browser. This would avoid also annoying automatic switches to usually buggy and reduced mobile versions of the website. With modern smartphones, mobile versions are simply no more needed.
23-12-2010: The google logo of today is based on the prototype library. It is a nice Javascript example.
21-11-2010: The new iOS 4.2 update for the ipad is great. I love to keep the book applications open (Djvu reader, ibooks and Goodreader for me). Like everybody else, the screen lock change is the only sour grape in that update. Now one has to do four steps: double tap the main button, swipe left and tap the screen lock button to switch and then tap again to get rid of the multitask bar. Its clear what the ratio is behind this change: to keep things uniform across all devices. Still a bad change, evenso I will get used to it.
20-11-2010: I have tried several note writing applications for the ipad. Each of them has advantages and disadvantages. The most recent I tried was Helvetinote, where I like that one can customize the background and also type text. It exports the notes as bitmaps and each note is only one page. Like Adobe Ideas it has a slight lag in drawing. A cloud-based note-taking-software like Evernote is not an option for me and will never be. I still like very much Penultimate which emails the notes as PDF and allows to write smaller booklets of notes. Update December 24: helvetinote became sluggish with the 4.2 update of iOS. To the point that it is almost no more usable. It also has the drawback that it does not allow backtracking. I like however to write on a black background like on a blackboard. Penultimate is still my favorite and I use it for gathering mathematical ideas or smaller computations. For more serious computations, I still prefer paper and pen.
16-11-2010: This fascinating article illustrates the limitations of online education, online grading, or the reliance on projects or papers to evaluate students. Globalization is also present on the grading part. The next step are AI tools which write papers or thesis automatically from a theme. The ultimate Turing test is to build a bot which can write a PhD thesis which passes a serious theses committee. Further down the line, bots which write research papers which get accepted in peer reviewed journals ... refereed by ghostwriter bots of course. [Update Mai 1, 2011: see a calculus lecture on artificial intelligence]
01-11-2010: The limitations of Mathematica to do scientific computations become more evident when using it on a cluster like Odyssee, where things naturally have to be parallelized. When submitting several dozens of jobs in parallel, some do not finish because of licence restrictions. I can live with other restrictions like that one has to have a graphical user interface to export graphics, but the licence restrictions seriously impact what one can do.
31-10-2010: As a die-hard VIM user, I love vimperator as an add-on for firefox. Already the ":wq" to quit the browser and start at the same spot next time, or ":history" is worth the add-on. I still have an entry set guioptions+=BmT in .vimperatorrc to see bookmarks, menu navigation since I'm not that die-hard. Update: November 11, 2010: I disabled the add-on again because it slowed down the browser. Almost unnoticably, but enough to get me annoyed. Anything (whether application or operating system) which slows me down in tasks I do thousands of times a day, is unacceptable. Even milliseconds add up.
30-10-2010: I tried out a few dozen qwikis today. Some math examples. The service "stands on the shoulders of giants", uses Wikipedia and images delivered from search engines like Google. Louis Monier, one of the qwiki founders and former Altavista and Babelfish founder, who had failed to get bought by google with "cuil". I have no doubt that the goal of qwiki will be to get swallowed up by google. It will need a lot of work to produce a search engine which produces multimedia. The start looks easy: grab the first paragraph from the wikipedia article, and read by the computer. Then grab some pictures from search engines and glue them into a slide show. Pack everything together into a movie and deliver it. See Monier at a demo.
25-10-2010: In the latest firefox builts, WebGL finally works nicely in linux. The Lorentz attractor, Game of life, Mandelbrot zoom or Wave dynamics are good examples. Its nice to show math directly in javascript without Java applets or flash.
15-10-2010: I tried out an external USB3 drive in linux. Since I have both USB2 and USB3 adapters, the last two timings in these measurements use the same 1TByte hard drive. USB3 is 1.5 times faster and reaches almost the second internal Sata drive performance. Details: FreeAgent GoFlex 1 TB USB 2.0 Ultra-Portable External from Seagate, FreeAgent GoFlex Upgrade Cable USB 3.0 - STAE104 from Seagate, USB 3.0 PCI Express 2-Port Interface Card IFC-PCIE2U3 from Buffalo. I wonder now, how reliable USB3 is, when attached over months. (Update of November 5: Why does apple not go USB3? The reason could be LightPeak, which promises to be significantly faster.)
11-10-2010: Evercookie uses standard cookies, flash cookes, web history,etags and 4 new HTML5 storage features (session, local,global, database). It is mentioned in a recent NYT article that these supercookies are difficult to delete. In firefox, I get rid of Flash cookies with rm -rf ~/.macromedia/Flash_Player; (in OSX, /Library/Preferences/Macromedia replaces .macromedia) Purging the recent history from the tools menu still leaves the pngData and sessionData. The later can be removed with rm -rf ~/.mozilla/*/*/webappstore.sqlite; For me in Firefox 3.6.10 in Ubuntu, deleting recent history and executing rm -rf ~/.macromedia/Flash_Player; rm -rf ~/.mozilla/*/*/*Cache; rm -rf ~/.mozilla/*/*/history.dat; rm -rf ~/.mozilla/*/*/downloads.*; rm -rf ~/.mozilla/*/*/cookies.*; rm -rf ~/.mozilla/*/*/webappstore.*; removes all traces of an evercookie. Removing Flash and DOM (HTML5) storage will hopefully be doable from within the browser but a small script can in the mean time do that too.
21-09-2010: There can be problems when accessing a mailbox both with the good old "mail" program as well as with "imap" clients like the apple touch or ipad or webmail. While "pine" nicely updates the "X-IMAPbase" this is not done in "mail". This has the effect that mail appears on the iMap email client even so it had physically been deleted. "Mail" does not update X-IMAPbase entries. But maybe I'm the only one still using it.
15-09-2010: The New York Times has a nice Exhibit on technology in the classroom. There are some good articles in that magazine. The exhibit could be completed a bit. See the slide in a talk of of mine of 2007. What is missing are VCR's, slide projectors, book projectors, and of course computers for Powerpoint presentation
07-09-2010: As of this morning, the google logo demo features a cool particle system. It illustrates the power of Javascript. I had made some experiments with differential equations in the browser in 1999-2000. Back to the Google systems: I did not manage yet to extract the minimal code for Google particle animation and keep it working. Here are the files with which it still works: index.html [TXT], 1.js [TXT], 2.js [TXT]. The particles are attracted to their given initial position which in the example have changed. (I deformed this part on September 8 using Mathematica). Here is the core of the Google animation.
05-09-2010: I tried out Ubuntu 10.10 on a virtual kvm machine today. I will most likely keep 10.4 with long term support but it is interesting to see whats brewing or maybe even help to find some bugs. 10.10 works well so far for me except that not all updates go through yet.
05-08-2010: Google wave seems have crashed. In October 2009, I had felt that the problem with wave would be social, people do not like to have their communications stored and monitored. It seems that complexity was also an issue: it slowed user adoption as well as developer drive. Lack of stability was the definite killer.
01-08-2010: I transfered also on my office machine the operating system onto a solid state drive. I usually start fresh and from scratch with the OS installation and Ubuntu makes this now pretty painless. I usually replace drives anyway every 1-2 years, so this was a good opportunity to double space (1T -> 2T) and get a snappier machine with SSD. I'm now on all my linux machines on ext4, which also make a difference, for example, when dealing with huge number of files in a directory.
22-07-2010: I started to use iBooks to read books on the ipad. Syncing over is still a pain: one has manually to drag the books into iTunes, where the files sit awkwardly in a folder ~/music/iTunes/iTunes Music/Books as if Books have to do with music. ` Files which are rsynced or copied with sftp to that folder do not appear in iTunes. One can also not drag entire folders into iTunes. There is a lot of room for improvement: PDF's are mostly OCRd now and metadata could be included automatically. Including DjVU reading capability would be nice. The page buildup is still a bit slow in PDF. iBook pages appear unsharp at first. What I like: the library style presentation of the books in a bookshelf and the tiny preview of the pages at the bottom of the book. iBooks is not yet an alternative for good reader.
09-07-2010: I got my new machine at home. The thinkmate workstation is perfect: clean, fast and the setup finished quickly (faster than a mac). I can easily retire the 5 year old Dell which was sucking about twice as much power and was much too loud.
02-07-2010: It is a good thing, the variety of browsers. Firefox, Chrome, Safari, Opera and of course IE. Chrome has an impressive performance. I keep Firefox, because it is the only one which is independent of a company which could in principle control the web. I in general dislike any ideology in technology but the web is too important.
17-05-2010: The old computer which I had bought in 2000 as my first office computer is now retired. The machine which is attached to a webcam is now a small ZOTAC MAG HD-NS01 computer with an Atom230 CPU, which is not larger than a book. It runs now Ubuntu 10.4 which installed well from a 8 gig flash thumb drive. [ By the way, if you install Ubuntu 10.4 from a flashdrive, copy the install CD onto the drive and install from there, netinstall options or bootstrap methods did not work for me with 10.4, the installer would fail in the middle because some files could not be fetched. Could have been temporary problems but even if it would work, there is much more work to setup the machine. The default installation does everything right. It is obviously better tested than any other installation method.] Accessing the BIOS of the ZOTAC was a bit a pain: you have to hit the Delete key fast and a lot during the boot process. I'm not the only one who had this problem. The machine is surprisingly strong. No problems also with the graphics card. Compiz has no problem. ] The relatively expensive Axis network camera, which had worked for 10 years (and still does), is replaced by a much cheaper BL-C1A Network camera, which works quite well. Both the camera as well as the computer prizes have gone down by a factor 4. In retrospect, the simplicity of the setup has payed off. Both camera and computer were very reliable. The machine had been essentially untouched the last 6 years. Failures were either due to somebody touching the cable (which is near the blackboard), or (as has happened the last month), that web access had been filtered to all machines except the main server on the math department. ncd3 was always completely locked off by firewalls. Web access is never to the camera because the computer grabs the pictures and feeds them using a reliable apache server. To further make the machine less vulnerable, access to the computer happens only by terminal. Since no maintainance is needed, this is not a problem.
13-05-2010: We are finally entirely Gigabit networked at home. Routers and switches are so reliable nowadays that I do not replace them often. The last gear I had was now 5 years old and still worked (but it was still 10/100MBit). The old Netgear Prosafe VPN, and Netgear FS608 are now replaced by a Netgear WNDR3700 Gigabit router with a Netgear Prosafe 8 port gigabit desktop switch. The newer router also made wireless faster, more secure and more stable than the Verizon default router. (Especially the iPad has had occasional problems with the older one). The new router also allows USB storage but I prefer Unix machines with external hard drives. The later is faster and more secure and of course more convenient for somebody who uses rsync for essentially all file transfers.
03-05-2010: I have now used the ipad for a month. Its nice to get up in the morning and read the news still in bed on a comfortable screen. It is fantastic to have a huge library always with me. I discover old books new. There are still some things to be smoothed out: 1) the WiFi can sometimes drop. I do not know what triggers it (maybe every 4 days) but with goodreader, the ipad can sometimes forget he password which is quite annoying. By the way, Goodreader definitely needs a better interface: while scrolling, one should see a preview of the pages, like Preview does on the mac flipping the page should be done like in Stanza, IBooks with left right, not up down buttons. The ipad is very stable so far. It did not crash a single time so far. I also love the additional cover, I bought and which protects the device. 2) Not a good buy was the external keyboard. It can not be used with the cover and taking the iPad out of the cover is difficult. The keyboard also does not work yet reliably when using SSH. 3) Using the iPad for presentation is still not possible. With the VGA cable, the presentation did not show for me now. Also, the built in keynote program is rudimentary and does not show sophisticated keynote presentations yet. For now, the iPad can not replace a laptop for showing keynote slides.
22-04-2010: Here is an other indication that the N[] routine in Mathematica is faulty. The following lines produce an overflow:
 M = 100; T[x_] := N[4 x (1 - x), M]; x=N[Pi/4,M]; Do[x=T[x],{200}] 
Interestingly, the Mathematica 5.1 kernel still gives an underflow error. This bug is absent, if N[] is not given a second argument. This is especially troubling because when computing with algebraic numbers, the N[] routine is screwed without a second argument. I hope that instead of throwing out a Mathematica 8.0, the next edition will be named 7.1 and fix the N[] routine. It makes numerical computations with Mathematica untrustworthy. Computing a list shows that accuracy is lost until 0 is reached but with a large exponent. While logistic map used is extremely chaotic (conjugated to a Bernoulli shift) and already after a few dozen iteration the result is numerically unreliable. But it should not happen that a computer algebra system ends up with terms like 0.*10614 leading to overflows.
While preparing for a lecture tomorrow, I'm so glad to have still an old Mathematica 5.1 kernel hanging around. Newer Mathematica implementations have serious issues. Take this code for example (which is more than 17 years old and worked with earlier Mathematica versions fine). With Mathematica 5, things are nice and dandy. Mathematica 7 dies due to Memory issues. With smaller PlotPoint parameters the code runs no more because the color function implementation have changed. When changing it to ColorFunction -> "SunsetColors". it works, but only in a GUI interface. When run from the command line, the picture is gray. Now, when running it in a Mathematica notebook interface, an exported Postscript file is so large that one has to replace it with a bitmapped version and then convert it to be included in a text which is printable. All these problems:
  • Dependence on a windows manager, no batch computation
  • Huge Postscript export files almost breaking modern printers
  • Color map problems which depend on notebook interface
  • Large memory requirements even for basic stuff
  • Long computation times when exporting graphics
were absent in Mathematica 5.1. I still keep that kernel. The above Julia set computation of a Julia set ran faster on my old Next (8 Meg of memory, 25 MHz) with Mathematica 3 than on a newer machine with Mathematica 7 (3 Gig of memory, 3 GHz).
10-04-2010: Here is how to sync a directory with electronic books (PDF's) with goodreader on the ipod or ipad: start the file transfer server within goodreader (the wireless sign at the bottom of the page on the home screen of goodreader). From an other computer (I use linux and have a folder /tmp/downloads) type:
 sudo mount.davfs /tmp/downloads 
 sudo rsync -avzu --delete ebooks /tmp/downloads 
This copies any missing files from the "ebooks" folder to the ipad. Syncing from a mac slightly more complicated if not done from the command line: network mount the address like using "Go: Connect to Server". Then hardlink the network folder with a real folder
 ln -s /Volumes/ /tmp/downloads   
so that one can rsync any content onto that folder. Now sync in the same way. Rsync of course nicely preserves any directory structure, only updates what is new and works well with thousands of files and dozens of gigabytes. This is nice for Unix minds like me who give short possibly ambiguous names to books like Sinai1980.pdf but which belong to a directory like ebooks/Math/Dynamics/Sinai1997.pdf Having the same directory structure on the ipad than on the desktop helps of course too. Since I forgot to filter out HTML files first when syncing, there is a cool additional benefit: the webbrowser interface, I have in each directory for electronic books goes over to the ipad, so that I have a nice bookshelf type interface also there. It is not as cool as in ibooks or or the "classics" application on the ipod touch. You see to the left a small snapshot of my "electronic Rheinfall library".
06-04-2010: Devices like the iPad can change academic life completely since entire libraries which would fill large rooms fit now into a small device, which is readable on a similar comfort level than the real thing. I finally figured out how to rsync my library with the ipod or ipad (using goodreader). I have had some problems in that rsync would not work with networked folders.
05-04-2010: Papers for iPad is nice too. It allows to sync the documents with iTunes. I would not like it for books. Syncing with itunes is a nice feature but apple does not allow to feed there entire folders. Anything which needs manual care is not an option for me. Still, the application is nice since it allows easily to search for material on arxiv and other repositories and include the articles nicely. "iBooks" for ebooks, "Goodreader" for PDF's, "Papers" for managing research papers, that seems like the optimum right now.
03-04-2010: After playing with the ipad for a few hours, here is my top list of applications which shows the potential in an educational setup:
  • Good reader. Nice to orgnize PDF's, for example from the web or uploaded from the computer via sftp.
  • Space time. A decent computer algebra system. A bit pricy but not bad. I would prefer to have a local Mathematica application. (Cloud computation like Wolfram Alpha is not an option for me).
03-04-2010: My ipad arrived. Almost all expectations are fulfilled. Its a large ipod, but thats what I need. I had wished only that iBook would allow to add your own PDF's. I currently use "good reader", which is available for the iPad (applications not upgraded for the ipad in general do not look very good on the iPad, the "good reader" is updated). I wish a DjVu reader will soon be available too and a clone of the iBook application which allows to fill in your own books. The only problem I experienced so far with the iPad is that the network password gets lost when using some applications like the "good reader". I think Pogue is wrong with the classification of people who hate or love the ipad. According to his test ("Do you use Linux, do you use Bittorrent"), I'm a "techie". But I also love the innovation of the iPad. Would I like to run any application on the device? Hell yes, but thats not the point. It will take open source years to come up with something close, if only because of patent reasons. Eventually, it will come, but for now, I need a device on which I can keep books and articles. Buy two text books and you are in the prize range of an iPad and each book is 10 times heavier. Even several of these displays could not hurt, when working intensively with papers and books.
I'm clearing out space by scanning books. It is a rough method and kills the physical book. I use a small swiss army knife to cut the book a few millimeters away from the glue. As you can see this is fast, faster than a paper cutter. The book does not die; it survives in electronic form. I scan with 1200 DPI. It takes only moderate amount of my time. Most of my time is spent to oversee things and refill the paper in the scanner. The scanner works while I do other things. The OCR text recognition can take up hours per book but again, I can work on other things while the scanner does the work. After scanning, I reduce the size with Acrobat Pro to about 1/10'th to 1/30'th of the size. A three hundred page book with pictures can become 10 Megs. Proofreading the book can take an other 5-10 minutes. I only throw away the book after it is clear that all pages have been scanned nicely. I have scanned for example my old "Hoehere Analysis" book by Hans Triebel from my study years. It has 704 pages under 25 Meg as PDF and 15 as Djvu. The later becomes my favorite format, because the Djvu readers are better, the files are smaller and because one can annotate and edit the underlying OCR'ed text easier. After a quick proof-read that all pages have been scanned and oriented (I use OSX Preview for adjustments and to include eventually missing pages by dragging them in), I trash the book. The aim is to get a hundred books digitized in the next couple of weeks (2-3 every evening) to make space for new, real ones. Its nice to have a library available all the time, to be able to search for keywords in all of my electronic books at the same time. I will have to find out how that works on the iPad (just ordered), a device which I aim to use primarily as a reference device and will hopefully complement the ipod touch or the desktop computer which are both deficient for reading mathematical texts and papers comfortably.
25-02-2010: I tried out for Scholars for 15 minutes. It is quite well done. Faster than iSites and intuitive. As with all CMS, the question is, how long this will be supported. For quick projects and collaborations, this is a nice option.
28-01-2010: The Mathematica N[] function not only has problems with large algebraic numbers, it also does funny things with Logarithms. Try this with Mathematica 7:
 N[Log[Abs[Pi^60-E^55 -674515394754870253998413140641]]] 
Even so the argument given to the logarithm is positive, the result gives an additional I Pi as if it the inner part would be negative. This outcome does not depend on precision. One could increase also $MaxExtraPrecision. To solve the problem, give a second argument to N[]. The function N[] seems defective only, if no second argument is given.
 N[Log[Abs[Pi^60-E^55 -674515394754870253998413140641]],30] 
By the way, I saw this when horsing around to see how one would detect algebraic relations between transcendental real numbers like Pi and E. Nobody knows of course, whether such relations exist. Experiments indicate that Pi^n + E^m mod 1 does not behave differently than x^n+y^m mod 1 would do for random x,y. But who knows whether Pi^n+E^m can be rational. It would be very,very funny although.
08-01-2010: There is much discussion about the upcoming Apple tablet and also uncertainty whether it will be a success. I think, a well done apple tablet has a chance in education:
  1. Presentations: I want to write on my keynote slides directly during the presentation and not have to use an additional wacom tablet, which only works unreliably and especially does not work for OS X. I would like to test my presentation on my own device. Having keynote and powerpoint integrated well in a tablet opens a lot of new possibilities for teaching with slides. Apple seems to work on iWork for tablets since years.
  2. Technical texts: reading books and technical papers on PC's is painful. Not because of the format, but because the interface is terrible. Apple could change the game here. Having a small tablet which contains my ever growing electronic math library would be fantastic. Reading texts on the iphone works already surprisingly good and even so the processors are tiny in comparison to the power of a PC, things go smoother there. PDF and DjVu software is still not well done on desktop computers and part of it is that one can not interact well with it. Scrolling can be a very slow (fractions of seconds are already annoying). Zooming forth and back frustratingly cumbersome. The ipod touch with an incredibly small CPU and where things work often better than on the PC shows what could be possible.
  3. Textbooks for students: Textbooks are so expensive that buying the textbook for one semester can cost more than a PC. Making good electronic versions available and carrying around heavy textbooks will soon be a thing from the past. Of course, the publishers will distribute textbooks in electronic form in the future, but only heavily armed with DRM. I wonder how this transition will work given the fact that most textbooks (and homework solutions!) can be downloaded easily in electronic form. But this is an other battle. The prospect to have a high quality reader not larger than a sheet of paper and 10 times lighter than a typical calculus textbook is wonderful. [Nobody knows why text books have increased in size so much, compare!]
  4. Taking notes Additionally, one could use the same tablet to take notes or even do the homework in writing. This is tricky, as everybody knows who has signed electronically for a package or creditcard receipt. Capturing handwriting on screen, so that it looks as if it were written with a pen on paper is difficult. I don't expect this to be solved soon, but it would be nice if screens would behave like paper, when writing on them. The trick is to get the right amount of friction and have precise pressure sensitivity.
06-01-2010: Some nostalgia about a Science Center Povray file written in 2000.
04-01-2010: An apple animation motivated by the current Google theme on their website. The new javascript code has about the same length and is readable. I had tried for an hour to read their code, then given up and started from scratch and finished in less than one hour. (I had been quite excited of javascript programming over a decade ago.) For small things like this, it is typically faster to start with a "tabula rasa", rather than trying the read optimized code. [Update: January 5: the apple rolls now also!]
29-12-2009: A nasty symbol microsoft – breaks copy-paste from the bowswer to a terminal in OSX. If only one of these buggers appears in a text, copy past of the entire text is impossible in OS X. In the Linux xterm, there is no problem. On the road with only OS X available, I can bypass things using "lynx -dump" and run it through the demoronizer.
27-12-2009: One of the reasons to be reluctant to invest time in closed-source technology - both operating systems and software - (for the no more so young ones like me) is that there is hardly time to "reboot". I rebooted several times in my life both with software and operating systems and want to minimize this in future. For software, there had been cases, which disappeared, not because something else would replace it but because a company would pull the trigger on the software strategically. Examples were Adobe's "streamline" to create vector graphics or early programs to build 3D objects from photographs. 3D modelling programs especially can have a short life span. I keep using Povray, Latex, GNU tools, linux because I can be sure that they will exist in 20 years and do not depend on a coorporate decision to shelf the product or modify it. There are exceptions. One are computer algebra system, where the commercial programs are so vastly superior (in an educational setup) that there is no alternative. "Sage" has chances to get into the field but it is still too complicated to use. Plotting a parametric or implicit surface, a vector field, do some linear algebra computation should not take more than one line of code and not more than 2 steps (1. Step start up the program, 2. Step, run a short one line command without additional libraries). Also the installation of the software should be simple on any platform. An other example is quicktime on apple. There is nothing like this in open source, where one can edit a movie in couple of seconds and import and export in virtually any format.
22-12-2009: As much as I dislike word processors like "Word", the successful patent fight of the company i4i illustrates that there are worse things than "difficult to learn" and "proprietary" text processors: software patents which prohibit such software to evolve and become better. A patent for a parser could produce also headaches for other companies using XML. Software patents which cover basic string processing functionality are in essence patents for mathematical structures or functors and should never have been granted.
13-12-2009: An interesting idea is to take a translator T from English to Japanese, a translator S from Japanese to English and iterate S*T on the set of all sentences. This website does that. Some experimentation with equilibria
Sentence Equilibrium
the cup is empty W cup is empty
the kid sings in the rain The children sing in the rain
start with an english phrase English phrase begins with
How are you doing How do
Find equilibrium finding balance
Ahhh it burns Wow it burns
AHHH IT BURNS It is a great grill
This computer stinks Small this computer
give Me a beer [attracted by period 2 attractor
shows that the map S*T contracts in general and in general getets attracted by a fixed point. What is the largest periodic orbit, one can get? The largest period, we got when playing around at home in our family was a period 4 loop with a spam mail sentence: "How large is your p...." For larger paragraphs, the dynamics is more interesting. Ben Knill tried:

Input After a few dozen iterations
With the president estimating that the buildup will cost $ 30 billion, Mr. Obey is proposing a "war surtax." The idea is unlikely to pass, but it is already reminding the nation of the high cost of an increasingly unpopular war. At the White House, officials are bracing for the president's first real battle with fellow Democrats. Billion yen, his good war "cumulative cost estimate is about 100 years AD 3000, I said," I do not recommend it is said that it is said. Iraq Temasumasu Aidearopasu, in my country is associated with an expensive war. The first real battle of the White House and members of the Presidential Secretariat will provide a co-worker.

This dynamical system of bi-translation looks quite interesting by itself. But it is not only a game: A good translation system should have the property that translating into various languages and back should always produce fixed points or periodic points close to the initial sentence.
12-12-2009: Some newer google earth experiments on a 27 inch iMac. Its nice to be able to make large screenshots now. But its easy to get to the limits too. Recording the flights in real time with larger screens also pushes the hardware more. Google earth improved tremendously near Cambridge and Boston.
08-12-2009: Personalized search on google is here by default even if the user is not logged in. It still uses cookies and can be turned off. It shows however the trend that what we find when searching will more and more depend on who we are and where we live and what is known about us. Search becomes less objective. It is no more possible to tell to "search for 'e'" and feel lucky, because some users might end up at gossip and celebrity news and others at the mathematical constant.
04-12-2009: A post on Slashdot is more pessimistic about where the web goes: 1: the possibility to filter have grown: 2: firewalls like the one in China have become more sophisticated and more difficult to bypass, 3: the centralization has increased: less and less companies control more and more of the web, 4: the loss of internet culture has rendered the web a "blackbox" for most users. A non-free web is closer than ever because we can be pushed around without even noticing. For me, a nightmare scenario is that news content on the web is not only platform-, time- and location based, but that it is personalized: cable networks would distribute content which depends on where you live, what your contacts are, what they know about you. Conservative users or liberal users get served different content - and would even be happy about it. It already happens. CNN in Europe and in the USA have not only different content, but also different political views. Its hard to reach from Europe or from Switzerland. You are always redirected, whether you want it or not. On smart phones, users get redirected to dis-functional pages without being able to change that. It used to be that such things could be changed (i.e. change the agent name in your browser). Soon, it is no more possible to know which knowledge is objective and which is time and space independent knowledge. Very soon, we could be fed what content providers think, we want to be fed.
03-12-2009: Cashmore's list of hot trends. I mostly agree, but would bundle it differently and have 5 main hot spots: real time fueled by Twitter, Facebook, online games, google wave, localization fueled by GPS, maps, navigators, location and platform based content, data organization and aggregation by cloud and archives, media shifts like TV to web, web to phone, email to wave, web economy like micro payments or not, legal battles like content filters, privacy of data, copy rights, centralization of the web.
18-11-2009: I had been asked how Harvard might use technology as a tool in the future: here were my thoughts: Harvard is already a great place for technology in education, I had access to grants, we have site licences for expensive software like Mathematica. Three points which are important for me: 1. Culture: avoid business like temptations like HTML only email, outsourcing IT or make it dependent on non free standards like exchange. Loss of culture is also accelerated by content management systems, which can become uniform and boring. 2. Archive: social media etc are great, but with rapidly changing media, content gets lost. Fortunately, the Harvard Archive makes some heroic efforts to preserve as much as possible in a faster, database driven and gated online community. 3. Open up: CMS lead to more and more educational material disappears behind password protected walls. We all benefit from content and wisdom around us, content provided by other teachers for example, why not share it back by default.
28-10-2009: From Server culture to Desktop culture and finally to Smartphone culture. The transition from large unix servers to desktops was a similar transition than the transition from desktops to smart phones. As then, it changed the culture. Before the "desktop time", everybody knew the basics, this changed and the number of users knowing dropped. The transition from desktops to smart phones and web applications is similar. The average user knows even less. 1. More responsibility is taken away from the user. Backups for example had been the responsibility of the user. Then it became the responsibility of the company or department and it soon appears to become the responsibility of a large company. 2. The user needs to know less. While in the early email years, everybody had to know the basics of mime and data compression simply to be able to read material sent to them, the desktop time changed that. But still, the user often had to use do to the right choice in order to do stuff. In the smart phone time with web applications, users do not have to know about file formats like image, movie or sound formats any more. It just works. 3. More layers have been added. In the early web time, everybody wrote pages by hand. Even postscript graphics was written from scratch. The desktop culture changed that and programs like Dreamwaver replaced handwriting text. In the smart phone time, content management systems have replaced this. The extreme case are services like Twitter. The number of users, who know the protocols involved in making this possible has become even smaller. Apropos: the page you just read is authored much faster than any CMS could do:I edit a textfile and run "make" to have "perl" and unix do the rest. A post is done in the same time as it takes for typical online content management system only to validated the password and finally render the page. Not to speak about the crappy browser editors, which each behave differently.
27-10-2009: Once upon a time, when Microsoft had no email clients yet and atrocities like "exchange" were not yet even been dreamed of, everybody using email was also fluent in Unix. Instant messaging was done with "talk". "Talk" still works today and builds instant connection from one user of a Unix machine to the other. We used it a lot, for example, when my wife as a postdoc in Amsterdam and I a graduate student in Zürich. Most in academia had "talk" enabled and could be reached like this on the command line, It soon disappeared and was replaced by instant messaging and now by social networks and text messaging on smart phones. Email remained and I still use the same program like 20 years ago: mail or pine. Beats the hell out of every email client I know, even so the iphone comes pretty close. Most heavy email clients (even on Unix) have not even initiated, when email has already been read with the good old "mail" program in Unix. By the way: also "talk" is unchallenged in its simplicity. If the email address is known, one could just type "talk name@address" and off you were chatting. No additional account nor any external company like google or yahoo or apple or skype was needed as a mediator, who could pull the switch at any time. What killed "talk"? Not any new technology or feature. It was social: a typical user could just not afford any more to get interrupted while trying to do some work and most turned the feature off.
23-10-2009: What are the main obstacles to read books electronically in particular for mathematics and scientific texts? A major problem is the slowness of flipping through pages. PDF can be sluggish in this respect. Djvu is much better, but still is too slow. Even for text only. The ebook readers or even the Stanza or Kindle programs on the ipod is too slow for scanning fast through pages. PDF really can become a molasse if graphics is generated with computer algebra systems like Mathematica. Even for small documents like this exam, it had been necessary to generate much of the graphics in raster image form, and then convert it to postscript, because the vector graphics versions would be so huge that a printer would need a half an hour to print it and the page could not be read comfortably enough with Acrobat. [ Update: mathematica 8 is not better in this respect. I stopped almost entirely to generate postscript files for handouts, and render rastered pictures, convert them by hand to postscript. ]
18-10-2009: I read more books. The reason is that the Ipod turned out to be a fantastic way to "micro read" here a few pages and there a few. Especially also, since Stanza allows an immediate production of ebooks from PDFs. Even so my electronic library grows at a tremendous rate, I also buy more actual books than ever. Reasonably prized books have appeared. Similarly as with music, the electronic competition brings down book prizes into a reasonable range. Recently, a few articles on ebooks appeared: the Washington post addresses the transition to ebooks in schools, the New York Times mentions piracy, and Spiegel mentions the situation in Germany, where the transiton to ebooks goes slower. The development can not be stopped. I'm convinced that soon, 100 dollar books will be a thing from the past. Here is a book, I recently bought and which I would not want to miss in real form: the book of Conway, Burgiel and Goodman-Strauss "the symmetries of Things". An other nice book is "the Math book" by Clifford Pickover. The later has over 500 pages with nicely colored pictures and was prized less than 30 dollars. Both books use illustration which are formidable: instead of a dry encyclopedia, a nice picture illustrates. Each article is kept short. This slapstick style is taken from the web. Here is neglected example of my own, which I use also for exhibits like here. True, it can look cheap, but a short page can motivate and inspire often more than a few hundred pages of axiomatic intimidation.
02-10-2009: I watched finally a larger part of the google demonstration of "google wave". It contains impressive technology like "syntax aware error checking". The claim that it might one day replace email looks however unlikely to me. The major turn-off for a corporation, a group or for education could be its "big brother aspect" which also killed things like online homework. Any interaction or collaboration can be tracked in details. The "wave" can be played back like a chess game. In a collaboration project, it allows to monitor not only the amount of contribution but also the time spent which an individuum spent on what. Even when writing a draft of a sentence, this editing steps are transmitted. Sometimes, it is not the technology, but other aspects which prohibit new technology to replace an old one:
  • Video-phone technology is long ready but did not replace traditional phones because nobody wants all the time to be visible. Even with a "bad hair day" or in the bath room, one can still make a phone call. Personal and privacy reasons have stopped video phone calls to become main stream and most calls on skype don't use video.
  • Instant messaging did not replace email. Not because it would technically be superior to email, but because of its "instant feature". Sometimes, one has to work on something without being interrupted. It is not the technology, but the work-hygiene which prevented instant messaging from replacing the older technology.
  • Wikis and blogs have not replaced traditional websites. While a well moderated wikis can become a success like Wikipedia, most unmoderated Wikis are a disaster after a short time. They become a spaghetti-link-soup, where every forth word is a link. Traditionally designed websites with logic, priorities and focus have not been replaced by the newer publication formats.
With the demonstrated google wave technology, interaction in a group can become stressful or lead to waste of time. Maybe one group member thinks more thoroughly, before writing something, maybe that person types slowly. With email or traditional sequential editing, such a person can work well. In the "wave", where every interaction becomes a "meeting place", things can become hectic or uncontrollable. Every interaction becomes a "meeting" and one knows how terribly unfocused meetings can become. There are now even explanations for this. In an educational setup, one could imagine the "wave" to be used for on-line office hours etc, where things can be explained on virtual blackboards, movies etc. But do students really want to have every of their questions or mistakes recorded for all eternity and possibly used for grades? Can one moderate such a group dynamics as well as a real meeting? The new technology looks attractive also for a research environment, where a group can work together on some research. But do creative people really want to have every of their "ideas" tracked by a third party [primarily google] and in the end have a quantifiable break-down, who contributed how much for a paper? Does research in a competitive field allow even a third party to have access to the research process? The new technology will have its use - no doubt - but it will not replace email. And the main reason is social, not technological.
28-09-2009: The The Harvard Modem Pool will end at the end of the month. Surprising to read that in average, still 2 users per day used it. In 2000 I still had connected too to this, typically several times per day.
25-09-2009: The iSites course emailer seems since this fall only allow sending HTML emails. There are many reasons for avoiding HTML in email: accessiblity, archiving, privacy, spam filters, text only mail readers, or simply taste. I hope this will be get changed back soon.
The following problem took me a half a day to lock down. It appeared in a rather complex C program tracking features in movies. Fortunately, I have kept versions after each stage and saw where the problem first appeared. The error only appears with optimization: While Linux (Ubuntu) or Solaris or OS X (Leopard) has no problems, there is a problem in Snow Leopard. With example.c
 gcc -O4 example.c; ./a.out *** [2] Abort trap 
The -O4 flag has to be changed to -O2 and then things work fine.
29-08-2009: I got Snow Leopard. I'm disappointed with the new Quicktime which is no match to Quicktime 7 Pro: 1) One can no more edit movies with the new Quicktime player, only do a rudimentary trimming. Cutting and pasting especially is not possible any more. 2) Exporting into different formats is rudimentary. It is even worse than the non Pro version of Quicktime 7. It is not even possible to export sound or individual frames, or various formats. 3) The trimming feature looks nifty but is only useful if a single interval in the movie time line needs to be selected. Even basic copy paste of time lines or adding a new movie frame is disabled. 4) While one can still install Quicktime 7, but it is not possible to change the default launch of ".mov" files with QT 7. The OS insists that these files are opened with the new Quicktime. (Update September 21, 2009: this seems fixed now). 5) Export from Keynote to Quicktime often does not work. Beside QT, the upgrade produced a scan snap 1500 scanner by Fujitsu and Parallels desktop 3 stopped working after the upgrade. I got very good support from Fujitsu and I can use it. For parallels, I had to upgrade.
19-08-2009: Unix is 40 years old. A short article on its beginnings are given in the Spiegel.
17-08-2009: The perils of automatic redirection to mobile pages are even more evident while traveling. In Israel, when accessing CNN with my iPod, I get redirected to the mobile page which gets adapted to location (which for some reason finds, that I'm in Moscow) and the service is not available.
10-06-2009: Cat scan. A visual guide.
16-05-2009: Wolfram alpha is now online. Still goes off-line under big load. I wonder if it will work out for Wolfram, since it replaces quite a bit the need to Use Mathematica. I think it is nicely done. It does things better than our "Sofia experiment" from 2003. It will have severe consequences also for online tests since it is now possible to get even more Mathematical answers directly from the URL. Like the following Example of eigenvalue computation. It is silly to compare "Wolfram beta" with google. The Wolfram interface to Mathematica is an additional tool which makes use of computer algebra systems and expert data miners which massage the data for their own databases. The user might want to go to the sources for reliability purposes. Mathematica is also a "black box". We can not independently verify even that the mathematics is done correctly. We have to believe that the programmers have done things correctly.
12-05-2009: I tried the first time the Wacom tablet for presentation. Unfortunately, Apple's Keynote does not allow writing on slides yet (presentations are ok and one can use the pen to move the slides). Currently it is still necessary to export the nice keynote slides to Powerpoint, which has limitations and screws some things up. Powerpoint is neglected on the mac platform. Many things do not work, movies do occasionally not play. Using the powerpoint on windows does even not show all pictures. I can not wait, until Keynote is updated to allow writing on slides, possibly with color and allowing more configuration like allowing to change the pen thickness.
02-05-2009: Slate asks whether google just added a Facebook killer to its services. It is still quite primitive but it has potential, especially because users do not have to worry so much whether the service will be available in a few years. Google has enough momentum to pull a social networking site through difficult economic times. Google's profiles have no real social networking capabilities yet but this might be added for users who want.
27-04-2009: Amazon acquires Stanza. I hope not to annihilate it.

I tried out O3D for the mac and it looks as if could have a lot of potential, maybe for teaching. It is still pretty slow on my Mac Mini. Here are some snapshots filmed from the screen and slightly accelerated. Background music: Vangelis: Conquest of Paradise. Apropos paradise: the O3D Beach demo ran so painfully slow that I only could watch the demo
Examples tried out on a mac Mini.
01-04-2009: While late, Google has finally jumped onto the bandwagon too and entered the cognitive autoheuristic distributed intelligence entity ...! More seriously, it is a smart move to ridicule any AI competition on April first because AI is what google is all about.
08-03-2009: I'm looking forward to try out wolfram alpha. We had a similar project "Sofia" which used Mathematica and other programming languages in the hood. Mathematica has changed since and it is no more possible to use it so easily as an interface to other tools (processing restrictions have become more severe and worse, a graphical user interface is needed to do most of the processing).
04-03-2009: I tried to read a math book using the kindle appfor the ipod touch. It does a surprisingly good job, but it can not deal with formulas which are too long. They become unreadable on the touch. Its probably ok on the kindle itself. Much of the text is readable. Graphics, which appears in the real book does not appear, on the touch. Math text books certainly have to be rewritten and reformatted cleverly to be consumed on a touch.
03-03-2009: Finally, at least in Germany, E-voting has got what it deserves: a ban. Interesting that not primarily the software but the hardware is considered the weak link. How long until also on an educational level, electronic evaluations and tests will be back on paper? Currently the trend is different: after teacher evaluations, also placement test have or will go online at many institutions. The reason are costs of course: papers or ballots need to be printed, rooms rented, proctoring and even more grading or counting time used. But the danger of manipulation or abuse suffers when doing it the electronic way: both for political decisions as for student and teacher evaluations. In the educational setup, placement, advising, evaluation and testing is as crucial as voting in the political setup.
25-02-2009: A Crimson article of Laura Schaffer coins the term "FYI to TMI" and illustrates it with this website. Amazing is that already hours after the appearance of the article, a googling of "FYI to TMI" hits this article. It must have hit a nerve on the dilemma, how much personal information should be shared, how personal teaching should become.
10-02-2009: Since over a half a year, I'm reading books on my ipod with "classics". While "classics" is done beautifully, "stanza" is more flexible and allows to build your own book collection. The touch is a wonderful e-reader. Amazon feels the heat. While the kindle is nice, it is obviously not as portable as the ipod nor does it double as tool which does most daily computing tasks (email, surf, calendar). Apple was right not to build a separate e-book reader. The ipod works very well, at least for for text-only books. Reading PDF's is even faster than the acrobat hog on the desktop. I would like to see an e-book application which allows to read complicated PDF like Math books with the same ease than "classics" or "stanza". PDFs would certainly have to be split and reformatted so that it can be read comfortably on the ipod. But there would be market for Math books and especially textbooks produced for the ipod.
22-01-2009: An article in the German Spiegel mentions the trojan "OSX.Trojan.iServices" hidden in pirated iWork09 downloads. No operating system will ever be safe from such attacks and the victims definitely deserve to be laughed at. If you download a program and install it, you have to trust its source. This is completely different than attacks which spread automatically like "conficker". On iWork: as previous iWork versions, I had ordered it hours after announced. There are not many changes, but it is definitely more polished. I have presented with new Keynote version already and it worked well. "Keynote" has additional transitions and themes and allows to tweak charts better. "Pages" has improved some page layout issues and "Numbers" has become more intuitive. And iWork does no more need a registration key.
25-12-2008: Tried out Mathematica 7. There are some nice things: for calculus StreamPlot[{x^2+y^2-x,1+x-y^2},{x,-2,2},{y,-2,2}] comes handy. I like that anything can be spoken like S=Import[""]; Speak[S] I like the inclusion of weather data, like WeatherData["KBOS","MeanTemperature",{{1950},{2008},"Year"}] which gives the average year temperatures of Boston. And of course the new image manipulation stuff like S=Import[""];Manipulate[Dilation[S,r],{r,0,10}]. But there are also problems: I don't mind that sound recording is not supported yet in OSX. More serious is that the problems with N[] is still flawed. Really serious is that exporting of graphics still needs a graphics front end: if you log out of your machine and run Mathematica kernel /Applications/ directly, then Export["",Plot[Sin[x],{x,0,2}],"EPS"] leads to an error message. This (as well as CPU restrictions) keeps Mathematica 7 (and 6) unfit for scientific computing, where remote computations on a machine should not need being logged in. For now, we have to Save["s.m",Plot[Sin[x],{x,0,2}]] and render the graphics, when logged in. There is no technical reason why exporting Postscript should need a frontend. This limitation of Mathematica 6/7 alone annihilates all nice new features introduced since Mathematica 5.
I made new experiments with the flight simulator in google earth. This provides me with good benchmark, how technology improves. Both on the side of the content providers as well as on the hardware side. I don't think, the movies could have been done with my old mac mini with which I recorded previous movies in 2006. For the 4 following movies, even with 4 gig of RAM, the machine had been pushed to its limit when flying through the 3D towns and recording Megapixel movie frames in real time. I can not wait to compare, how this will look like in 2 years. To the right, you see one movie of Cambridge. More flights show Zuerich, New York and Boston.
17-12-2008: A A nice Google maps racing game in javascript..
Cats love to watch online videos: our neighbor's cat Miro's favorate is the youtube video of "Snowball", the dancing cockatoo. Its not only the audio, also the visual movie turns the cat on. Miro even realizes that sound and image do not come from the same place. Miro suspects the online video to be real but is smart enough to realize that it is not. I would not have expected such sophistication. Miro had also first been confused about mirror images of himself and thought it was a different cat. He learned and now knows that the mirror image is "himself". The cat has become self aware. "Miro"s video is also available on Youtube. Now lets have the parrot "Snowball" watch the video of its "cat fan" and see what happens ... Something for Douglas Hofstadter.
13-12-2008: Despite many years of poor record on the reliability and security of electronic voting machines, there were again incident during the last Presidental elections. This time the machine just failed to tabulate some votes. When will be universally realized that all voting (and an academic setup student testing and teacher evaluations) should have a paper trail?
12-12-2009: The new HUID is a RFID card of type iCLASS. It communicates using 13.56 MHz radio: the reader sends a 32 bit challenge, which the card completes and verifies with its own 32 bit. The card serial number is a 64 bit key which is unique for each card. The type of encryption is not clear. Documentation talks about a complex mathematical process. A modified algorithm seems have been used for Harvard to prevent abuse from "off the shelf readers" preventing somebody with a iCLASS reader to collect data on the street. If a Harvard card reader should get stolen, the keys would be replaced. To prevent re-engineering, the CSN is randomized so that the key is never transmitted in the clear. Additional data on the card (Crimson cash?) is additionally encrypted using DES and not accessible wirelessly. Since RFID technology has not yet a good track record, I would be more comfortable, if cards would have a RFID on/off switch. [ update Feb 2: an other reason why. ]
5-12-2008: A NYT article starts with the sentence Internet security is broken, and nobody seems to know quite how to fix it. This is not true. There is a fix which works today: simply switch to an other operating system. The article mentions "but researchers expect Apple machines to become a larger target as their market share grows". While this might be true, it is misleading: being a "target" is a different thing than being a "victim". And what "if": there are other operating systems which allow to do everything too. Not only natively, but also by virtualization and emulation. One can understand that home users and businesses are slow to change but it's hard to understand why military networks remain vulnerable due to a poor operating system choice.
4-12-2008: I should have tried it earlier, but adding an external 1TByte eSATA harddrive to one of linux boxes made me a believer in eSATA. As expected, things work as if the addition just were an internal hard drive. Pair a 99 dollar 1TB Seagate drive docked to a Vantec NexStar HD Dock from Tiger direct: its amazing how cheap fast and reliable external backup has become. Transfer speeds blow away firewire, not to talk about crappy USB. Firewire is still nice for portable drives without external power and because of its daisy chainability. Too bad, it is still difficult on Apple hardware to add eSATA drives. Apple should make time capsules, MacMinis and IMacs eSATA capable. My own timecapsule at home doubles its capacity with an external USB 1TB Western Digital drive which would be eSATA capable.
24-11-2008: A new disease on the web is that websites start redirecting mobile devices directly to mobile editions without giving the option to use the real edition. I don't want untested, crappy mobile editions, I want the real edition, where I know to find things and where things work. CNN for example has started a few days ago with this nonsense and forces my Ipod touch to the mobile edition. Google at least allows to get back to the standard edition. The best solution to bypass this terror would be that Safari on the "touch" could allow to define the User agent like Safari on the Mac, where checking the developer box in Preferences/Advanced enables this feature. By the way: I'm convinced that tempering with user preferences is just the beginning. Soon, we will get news written and biased according where we live (more conservative in the south, more liberal in coast areas). What the reader sees, becomes relative. Already now, searches on Google depend on the country we live in, very soon, we will have search results depend on our search history, our profile, on where we are and what computer we use. It will come because it will be more efficient for example to target users with Safari user agents with "Vista adds" and users with IE agents with "I'm mac and I'm a PC" adds. Once this is done, its no problem to temper also with the news.
19-11-2008: Mathematica has a new version. I did not try it out, but it looks as if it moves more and more to a universal mathematical content, knowledge and visualization tool. What I do not understand is the jump from 6 to 7 without intermediate versions as before. As far as one see, the changes from 6 to 7 are not big. The change to 6 was justified, this had been a huge leap. I can not wait to try version 7 out, especially the image processing capabilities, which had been a bit painful in the past. Until now, one had to dissect an image object into components, manipulate them seperately and then put them together again. example. The same with Midi data.
05-11-2008: I'm getting more and more dependent of applications like DataCase or air sharing which allows me to use the touch as a "ebook" or paper database. I can have my notes, papers, pooks with me all the time. In each case, the touch is a file server. Having the touch mounted wirelessly on a mac allows syncing files with the Unix command "rsync". Things work from any unix type system like linux: mount the touch with
sudo mount.davfs http://touch:8080 /mnt/touch
providing that davfs is installed (install it in linux with sudo apt-get install davfs2) and where "touch" is the hostname of the touch on the wireless network. For a Unix person like me, it is fantastic to sync entire directory trees onto the touch. The unix directory tree is still my preferred way to organize data.
04-11-2008: Election night. CNN has live video from the Obama and McCain head quarters. Shortly after 10 PM - it's getting more and more interesting - they decide to make an upgrade of their flash content delivery. The user has to upgrade the flash player. It would have been hard to find a better time for that. But the upgrade has a good side. It had been for many months that Linux users were excluded from Live Video at CNN. Now, CNN Live video works on my linux boxes. CNN had been one of the last places, where Linux had been discriminated.
03-11-2008: Apparently, I work so hard, that my network activity is considered malicious by Harvard networking ... I got today the following email from the FAS help desk, after complaining that I could no more reach FAS sites (see below):

"The ip address of your home network's router was being blocked at the FAS border router due to thousands of connections being made from this source. We have unblocked the IP address access to the FAS Network. If you would like, I can send along the information that we were working from in order to ascertain this was a problem."

I wonder, how many IP addresses are blocked like this. University networks have to be protected, but

not like this
31-10-2008: ("Cut": Photo by Kyla Horn, after my 'Halloween lecture', on Friday, October 31, 2008 in SciCenter 222.) Since new Switches were installed at the Harvard Science center, the FAS network (IP addresses 140.247.*.*) is unreachable for me from home IP address which starts with 96.233.*.*). Technicians at Verizon have verified that it is not their problem (nor is it a router or firewall problem at my home). Since Wednesday, the 29'th, I know, how it is like to live in a country, where access to certain pages is forbidden: proxy servers have become my friend as well as hosts of websites I own and through which I can sync content from home to my office and back. It is certainly a silly mistake in some firewall rule, but its frightening to see how easily it is possible to be switched off. Its like being killed by a knife (got me the idea for my Halloween costume).
16-10-2008: I'm happy with the new new MacBook. The graphics performance boost is noticeable, the screen and keyboard are nice. I often record video from the screen. With my old Macbook, while recording large windows, the video could be shaky. Now things work great, also with larger frame rates.
28-9-2008: Got Verizon FiOS installed this morning. The initial impression is very good. I have still Comcast too and can compare with speedtest: Comcast (I pay enhanced upload speed and pay 60 dollars per month): 8035 kb/s (download), 2637 kb/s (upload) FiOS 19891 kb/s (download) 4579 kb/s (upload). This is twice the speed and 15 dollars less per month. This is a typical result. Sometimes, the upload speed is over 20 megabits per second, and can be up to 3 times faster than Comcast.
Lets see now how reliable FiOS is.
24-9-2008: Comcast throttles my upload speed (rsync). I measure 6-8 Mbit/sec download and 13-80 kbit/sec, upload speed. Yes, that is right: for upload, a modem connection is faster! It seems that upload speed is first 300kB/sec, and then it is throttled back. This is so severe that I can no more work from home (syncing content from office to home). Its time to switch to Verizon FiOS. Comcast's interference with Internet traffic was troubling already, but these throttling measures forced me through these switching hassles.
22-9-2008: Wolfram finally stopped claiming the erratic N[] behavior on algebraic integers is a "feature" or due to "rounding errors" and hints that it will probably be fixed in a future version of Mathematica. For now, its just important not to use N[] without a second argument, when dealing with large algebraic numbers. Email exchange.
18-9-2008: I argued with Wolfram research support about a severe platform independent bug (or limitation) of the N[] function of Mathematica. The function N[] has problems with transforming exact algebraic numbers to numerical numbers. Here is an example
N[Sqrt[2^117 + 1]] - N[Sqrt[2^117 + 1], 100]
The result is -64. The behavior of N[] is quite random:
Table[N[Sqrt[2^k + 1]] - N[Sqrt[2^k + 1], 1000], {k, 1, 120}]
Here is an interesting mathematical inverse problem: what is the sequence of k, for which sqrt(2^117+k) is completely off?
u=Union[Table[k (-1/64) (N[Sqrt[2^117 + k]]-N[Sqrt[2^117+k],100]),{k,1000}]]
It is easy to bypass the problem by just avoiding N[] and giving a second argument. In comparison, Maple projects algebraic numbers correctly into machine precision numbers:
evalf(sqrt(2^117 + 1))
Its disappointing that Wolfram research do not acknowledge the behavior of N[] a problem. There is no mathematical reason, why N[] should behave in that erratic way. It can become a real problem, when doing experiments.
20-3-2008: I got a 1 Gig time capsule from apple. It did not work at first, but after an upgrade of Airport utility and a firmware upgrade of the time capsule itself, there are no problems. I even backup from linux onto it: the time capsule is mounted wirelessly on a mac mini, the linux machine backs up onto that mounted drive with rsync.
20-1-2007: After an installation of x11rec in Ubuntu, the Xorg server did not work anymore. changing "nvidia" to "nv" in /etc/X11/xorg would allow me a low resolution server. I decided to start from scratch and indeed, all the problems were gone. The cairo library problems, which had produced all this mayhem are now resolved and the machine works great.
12-21-2007: Flash is unfortunately still the only reliable way to deliver video on the web. The plugins are available on all operating systems. The newer CS3 flash program seems unable to export movies to be seen in flash 6 plugins. When exporting the movie, a dialog "WARNING: This movie uses features that are not supported in the Flash 6 player Scene=Scene 1, layer=Layer 1, frame=1:VP6 Codec requires Flash Player 8 or higher". Fortunately, the Flash 8 plugin works now reliably also in linux.
12-21-2007: Mathematica 6 does no more export graphic files without a front end. Despite many advances of Mathematica in many areas from 5->6, this would be almost a reason to abandon it. I produce many graphics files as batch jobs from the command line. When doing so, the message: "Export:nofe: A front end is not available; export of PDF requires a front end" appears Wolfram research confirmed that there is no workaround. I can not see any reason why the export procedure should check whether a front end is available (it is just writing a text file). Maybe they aim to disallow more creative use of Mathematica and so push some other products like Webmathematica. The strength of Mathematica has always been that it can be embedded well into other programs. True to the Unix philosophy, it could be part of a chain or programs or scripts. This seems have stopped. I can live with bugs and feature changes, but this is too much. I moved back to Mathematica 5 for illustration purposes and look for alternatives. I hope SAGE makes enough progress so that it can soon be used for educational use. But maybe a future version of Mathematica will reverse this.
10-19-2007: I like "time machine" in OSX. It comes close to the "snapshot" feature in Netapp file servers. Linux does not have anything similar, except for hand made rsync scripts. I use now a "Western digital Mybook" external hard drive with case sensitive format. The "studio edition" is quiet and has a good design. Backups from linux can be made on that drive and time machine used to keep my linux backups organized. I was not worried about the file sharing blockage because this must be implemented on the backup software level. Because the drive unmounts itself if the user is loged out, I first had to remount it by hand: "/usr/sbin/diskutil mount /dev/disk1s3". Adding a file "/Library/Preferences/SystemConfiguration/autodiskmount.plist" with content
now prevents the drive to be unmounted.
10-19-2007: The new ipod touch is wonderful. Surfing the web works fine at home, in the sun, in the bath tub ... I'm using it all the time. In the library, just after the gym, while walking. Its a great thing. Wish list:
  • Download pictures from the web directly into iPhoto
  • Download PDFs directly into iPhoto
  • Permanent jailbreak
  • Notes
09-19-2007: I tried out the new presentation feature in Google docs. It is still primitive but seems to work. Wish list:
  • Movie inclusion
  • Simple geometric objects
  • Turning objects
  • Layers
09-18-2007: The Wolfram demonstration project unfortunately does not allow the user to generate demonstrations locally on their own machine. One has to submit them to their server. It would otherwise be a great tool. Because .nbl files are closely related to .nb files, it looks possible to re-engineer the translation.
09-12-2007: Two remarkable statements:
  • Most of the problems we have day to day have nothing to do with malice. Things break. Complex systems break in complex ways.

    Steven M. Bellovin, Columbia University.
  • Glitches could be an enormous problem in high-tech voting machines. Maybe we have focused too much on hackers and not on the possibility of something going wrong, he said. Sometimes the worst problems happen by accident.

    Aviel D. Rubin, Johns Hopkins University.
09-10-2007: What can go wrong, will go wrong: The General Does Battle With ... a Broken Mike. It happens so often. There are usually small things. Today, in our calculus teacher orientation, we presented several things on the computer. A shaky plug produced problems, the wireless mouse behaved strangely. These things remind us how fragile technology can be. In this nice video it had been predicted that computers would supervise themselves and alert of failures.

Oliver Knill, Department of Mathematics, Harvard University, One Oxford Street, Cambridge, MA 02138, USA. SciCenter 432 Tel: (617) 495 5549, Email: Quantum calculus blog, Twitter, Youtube, Vimeo, Linkedin, Scholar Harvard, Academia, Google plus, Google Scholar, ResearchGate, Slashdot, Ello, Webcam, Fall 2018 office hours: TBA Mon-Fri 11:30-12:30 AM and by appointment.