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
| 08-6-2013: The tapping scandals have not produced a lot of outrage. We all "knew". But it is bad for business. One can cite: "That is the atomic and subatomic and galactic structure of things today. And you have meddled with the primal forces of nature." Why is it bad for business? Because it undermines trust. Any business needs to keep some information private in order to stay competitive. And nobody in his right mind will do business with companies which might leak out information. If it is given out to government, it also can reach the competition. Until this mess is solved by congress, customers will avoid US businesses with their data. [6-12-13 follow up: the Prism scandal makes a lot of headlines abroad. It is a PR desaster for US companies. Why is it bad that data are in principle readable by third parties? For smaller companies, it means that the competition can catch on faster than expected. For individuals it means that medical records or communications with doctors could lead to workplace discriminations, that financial data and stock markets are more easy to be manipulated from individuals who have access to insider data like telephone records between CEOs or board members. It means espinonage becomes simpler. It also means that political assassination or extortion is easier and diplomacy becomes more difficult. Wikileaks should have taught a lesson: there are some conversations in diplomacy which are better not public. If a government lowers the standards for privacy, it has not to be surprised when sensitive information like information hacking of other governments gets public too. If a government lowers the standards about torture, its own forces risks being tortured when captivated.] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 20-5-2013: A new workstation from thinkmate: intel Z77 Chipset, VSX R4 320, Intel i7-3770 3.4 GHZ, 4x8 GB PC3-12800 DDR3,60 Gig Intel 520 SSD for OS, 2x2TB SATA for data and backup, NVIDIA GeForce GT610, Gorgeous, quiet, beautifully built, well accessible and fast. The 32 gig memory definitely helps with larger Mathematica jobs (Mathematica 9 gobbles up even more memory than Mathematica 8 and I had more frequent crashes). Was time for a new 27 inch screen; while I run with 1920x1200 (WUXGA) on the home linux box, the iMac with 2560x1440 (WQHD) made me hungry for larger screen estate and I got also a WQHD size screen now in the office. Vendors have finally "got it" that screens like SXGA (1280x1024) make productive work hard. The later means like having books and articles open for reference, to have a computer algebra system working and some terminals with code and text editors. All at the same time. The XGA has become the new VGA (wow, the later was cute). Back to hardware: here are pics: Pic 1, Pic2 after opening the box. One linux issue (unrelated to the hardware) came up when setting things up: while I knew that the permissions of the .ssh directory are crucial, I had by accident my home directory with a 755 permission and "password free login" did not work. So, not only the .ssh directory, but also the /home/user directory has to have the right permission (like 700). Only noticed after turning on debug mode in sshd.config. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 14-5-2013: Amazing how much space Windows 7 can gobble up in a short time. Made a fresh install on an older macbook air using boot-camp and had initially assigned 15 gig. After trying out some scanning software for the Kinect, the assigned windows partition was already full. Needed to repartition. The program Coriolis Systems worked perfectly and fast! The program includes also a tool to build a temporary system on a memory stick in order to do the resizing of the boot hard drive. One caveat: my memory stick had 32 gig only and reassigning 30 gig for the Windows partition did not work because the memory stick was not big enough. I had to reduce to 25 gig. That worked. By the way, the mac book air makes a gorgeous windows machine. Nicer than anything else seen lying around in the shops. In comparison, all these windows laptops are either crap or heavy or have miserable screens. To try out the 3D scanning software, I got a Windows 7 OEM licence because for some reason, the Harvard Licences did not work. The Artec Scanner can scan objects with a frame rate of 10 FPS. I was surprised and had expected that a heavy gaming machine with a decent GPU would be needed, to achieve that. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 11-5-2013: Encrypted Media seems like a waste time because if a movie is visible on a computer screen, it can be captured. But then, in the long term, the tendency could be to close down on computer architectures (tablets and UEFI are a start), where the user is no more in charge of the hardware. Similar as in cars, where it is now almost impossible for the customer to do repair things beside basic things like alternator, spark plugs or batteries or timing belts. On the other hand, one will hardly be able to close computer architecture completely. Projects like Arduino or products like Raspberry Pi, together with Linux and open source software will most likely always be a way to backup media, even if the encryption is unbreakable. And then, there is the analog hole: even a totalitarian law forbidding free computer hardware can not prevent content to be captured in high definition from the screen with a high definition camera where with a decent setup, the quality can come close to the original digital format. One has to suspect therefore that the WWW consortium follows DRM Media implementations only because it helps to kill Flash and Silverlight faster. But they are almost dead anyway. Real player died so fast, that one could hardly blink. Silverlight is done as soon as netflix has switched and even Adobe does not believe in flash anymore. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 03-5-2013: Amazing. Unreal Engine in Javascript and WebGL. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 03-5-2013: The register has a story about Video pushed by Javascript. Have to see this first. Did not find it yet at otoy. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 02-5-2013: The very first page on the web is remarkably modern and clear. No second guessing needed to navigate. Of course, there is not much content yet, lots of gopher links, no pictures, movies and interaction. Webforms (example) were ASCII based and sent by email. happy 20th anniversary of webtechnology. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 01-5-2013: After having used Mathematica 9 now for a while, there are a surprisingly little changes. I had to adapt names in my old programs like "Prism" or "RandomFunction" which had not been in Mathematica 8 which need to be renamed. Mathematica 9 also grabs more memory in general than predecessors, leading to earlier crashes, especially with the frontend. All reasons to avoid the front end as much as possible and have a reason to upgrade macbook air. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 31-4-2013: Open book on low cost 3D printing. There is also a contribution of Liz and myself inside. Thinking like a 3D printer has advantages also when visualizing mathematics without the printer. The graphics get nicer. example. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 30-4-2013: A Spiegel article mentions an amazing visualization of Pi as a random walk. This is a place where flash still shines and is unmatched with any other technology. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 27-4-2013: The Spiegel has an interview with Wolfram about the new Facebook features in Wolfram Alpha. I have see the demonstration, Steven Wolfram gave at Harvard 2 weeks ago and it was impressive how fast the graph algorithms worked interactively. Working on some graph geometry myself, I know that with larger graphs, things can get slow. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 24-4-2013: Just got the social media guide from the Harvard summer school. Just common sense advise. Here is a social media survival guide at the Harvard business review. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 11-4-2013: A nice short article explaining H.265. Key idea is a smarter picture sub-division system. Some smartphones support it already. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 22-3-2013: Working on a zeta graph confirmed that most of computing work is spent working around limitations of programs or languages. Instead of figuring out all angles and tweaks of a built in routine in a complex program, it is often faster to build the routine from scratch if certain conditions and limitations need to be satisfied. Generic routines need to work in very general situations and can therefore not be optimal in specific circumstances. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 16-3-2013: Its amazing how somebody managed to use the spammers embedded pixel trick for setting up a business. I'm surprised that this actually works, since it has always been considered smarter to let email client not open images by default. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 15-3-2013: From a NYT sunday review an interesting observation: ""The concepts of work and play have become farcically reversed: schoolwork is meant to be superfun; play, like homework, is meant to teach." | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9-3-2013: An upgrade of Verizon FIOS to a faster speed gave a good speed test
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-3-2013: Here is a list of what I would currently look at as the ten biggest sins of web content:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 29-2-2013: Math in movies is now converted to HTML 5 video. Since Adobe decided last year to end support Linux in new versions, Flash will pretty soon be no option for me anymore. Conversion to HTML5 is annoying for two reasons. First: transcoding the movies is slow, buggy, degrades quality if files need to stay small. When converting to theora or webm, there can be hick-ups; files getting too large, lacking sound or getting out of sync. Sometimes, proprietary conversion software is needed. Second: storage space and backup space get multiplied because formats theora, webm, h264, and flash versions are needed to reach everybody. This means doubling the size at least, even if the site already had flash and quicktime. What would be nice is a standalone unix application (not depending on any libraries nor version of linux) which takes any movie format and spit out all 4 formats .flr,.mp4,.webm,.ogg in an optimized way. I have a script, but it is neither optimized, nor reliable and also too library dependent. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 19-2-2013: Copernicus on google. The javascript is a bit confuscated. I have been a big fan of javascript in 2000 an example with Chaikin interpolation. The problem of Javascript today is that it is for optimisation reasons written in a way which is hard to parse. I did not rewrite the copernicus animation as for the Apple but it would take less time than to understand what the code does. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 13-2-2013: Something to make LaTeX more popular. For me, an other reason to use latex is to use the editor I use for everything else. A "cloud" solution would therefore never cut it. The examples are well chosen. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 20-1-2013: A refreshing article on typography. I'm not sure about the adaptive layout. It can break more easily if done wrong and is a cage which gives the reader less control. It is of course more and more the trend. For a simple page like the one mentioned above, it works well. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 17-1-2013: Try out Atlas, a differential geometry package for Mathematica. Its quite nicely done. Having programmed most of the basic stuff myself already in Mathematica like connections, curvatures, especially for this project, it can be handy compare results. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-1-2013: While installing a windows 7 virtual machine in ubuntu, the question popped up: why does the program itself now come in different flavors? "qemu" would suffice as it was before. The program could figure out whether it is a 64 bit system by quickly checking uname -m. Its a small matter, but having to use new names like "qemu-system-x84_64" breaks all tutorials. When virtualized, Windows 7 needs at least 9 gig of HD space and also enough memory. 12 Gig and 512 Meg Ram worked when installing it on a 64 bit ubuntu system: qemu-img create win7.img 12G | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
28-12-2012: Here is a Mathematica inconsistency which almost drove me insane when computing with Dirac matrices. I only could solve it with the help of Newton. It is a basic computation flaw for in the Eigenvector routine, which does not appear for generic matrices. One would expect that the Eigenvalues and Eigenvectors match. They often do and actually do also when the matrix is integer valued. With the same "real entries" however, the behavior is different. Here is a simple example: the matrices A0,A1 are the same except that A1 consists of floating point numbers. A0={{0, 0, 0, 0, 0, -1, 0, 0, 0, 1}, A remedy is to avoid the "Eigenvector" routine entirely and using "Eigensystem", where the inconsistent behavior is absent. In other words, use "Eigensystem[A][[2]]" instead of Eigenvectors[A]. {l0,G0}=Eigensystem[A0]; {l1,G1}=Eigensystem[A1]; Strictly speaking, the behavior is not a bug because the routine "Eigenvector" does not claim to list the eigenvectors in the same order than "Eigenvalues". But it is cruel for the user (and I lost at least a day of work and almost my bearings finding this because I expected the error to be in my own programs). The order mismatch is rare. It appeared here because Dirac matrices have lots of symmetry. By the way, the matrix A0 is the square root of a doubled Laplacian. I had dealt with such Laplacians in my thesis already, where it was shown that every Jacobi matrix can be factored L=D2+c with an other Jacobi matrix D. Iterating the construction led to almost periodic operators with spectra on the Julia set of the complex map f(z) = z2+c.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 24-08-2012: A survey on technology in higher education. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 11-06-2012: I could see a demo and then try it out myself: the Microsoft surface at Cabot library. It is unbelievable that this screen only has a 1920x1080 pixel resolution! Additionally, the system is very closed. One can only access Bing image and maps and built in documents and there is even no webbrowser. Compare the resolution with the latest Mac book pro announced today with 2880-1800 resolution. The screen resolution of PC laptops and monitors (like 1920x1080) becomes more and more questionable. One has a hard time to find a decent high resolution monitor which does not break the wallet). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 07-06-2012: Strange how several things can fail at once. A 2 year old solid state drive at home started to fail. At first, only temporary glitches appeared, with files starting to disappear, programs stopping in strange moments, evenso the system was up, finally more and more segfaults. Simultaneously, also the graphics card started to choke up and a hard drive cable to a regular HD failed too. With different things failing, then its harder to debug. Things are of course always linked. For example: when trying to debug a drive, cables are moved and checked, drives are changed: these manipulations can damage an other, previously healthy cable. Related: Ubuntu installs the bootloader by default on a different drive. Its better to use a custom installation, then make sure that both the bootloader as well as the OS are on the same SSD drive. Its easier to debug in case of drive failures. With a separate setup, one can for example unmount a drive and analyze it. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 06-06-2012: Whiteboard on the ipad is also nice to use because it allows to from the ipad to see flash content (the host computer has the flash plugin). Unfortunately, if using in an university setting, one can make a local network but then not use the web. Splashtop streamer does not go through the Harvard wireless (maybe by purpose since thats a big bandwith hog). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 01-06-2012: The Harvard IT summit was nice and well organized. Anand Agraval talked about edX and demonstrated an electronics course, which has 120 thousand students enrolled. Of course, the drop out rate is high, only 10 K took the midterm. Summit Handouts. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 10-05-2012: Cool. The Harvard bookstore allows now to do print books. Featured in Forbes. Despite the fact that electronic books come more and more, there are advantages of real books. I do not always finish reading an electronic book. The attention span is smaller. Could well be that real books and electronic books continue to coexist. I personally like to have both the electronic and real version, the electronic version more is especially convenient for searching things. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 05-05-2012: A cool theorem generator and Snarxiv.org preprint archiv and Philosophy of the day. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 05-03-2012: Larry Gonick, who just published a Cartoon guide in Calculus talked yesterday at Harvard. He showed lots of cartoons, also from other cartoonists like the Mexican cartoonist Rius and others as well as older stuff of his. Larry Gonick had been a Harvard math concentrator but did not graduate. It became apparent that Gonick's contribution to make science and history more accessible is invaluable. He might achieve more with with his comics especially chemistry, biology or technical cartoons than any standard textbook and can make complex things accessible to a larger audience. One of the questions which came up was how cartoonists can finance themselves. Gonick had been lucky to have some mentor ship by Jacqueline Onassis. Gonick seems to believe that not only newspapers, but also books are doomed and that authors might have to to turn back to get sponsored as it happend in the past. Gonick might actually prove otherwise with his own work both for newspapers and books. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 19-01-2012: Just tried out iBooks author. I find it even easier to use than pages, which sometimes produces layout difficulties. Whether this will change the textbook remains to be seen. The fact that everybody can make music with Garageband has also not necessarily changed the way music is consumed. Its nice that one can now easily build books for the ipad with interactive media. Will be great for the classroom. [Update Jan 23, 2012: each page has to be worked on in landscape and portrait mode. This can lead to some frustration because the layout needs to be done twice. The page layout is a bit quirky. Changing things in landscape mode can have unexpected consequences in the other mode. ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 21-12-2011: A good article in Stanford Law Review about SOPA. Despite an apparent stall, warnings from law experts, business scholars, engineers, commedians, founders of internet companies, bloggers, there will be a special session today. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 11-11-2011: With Adobe Flash retreating and Silverlight dying [I use Silverlight only for netflix and it starts having problems in OSX. Plugin problems are an early indication of trouble. Remember Realaudio], the question whether to switch to HTML 5 has become more prevalent. I maintain a math movie pagewith currently 4 Gig of movie files) and rhetorik, where movie files contribute the bulk of the currently 40 gig of hosted material. While the conversion is trivial technically and can be done as a batch job using ffmpeg (like ffmpeg -i file.flv file.mp4; ffmpeg -i file.flv file.ogg), the conversion to HTML5 would triple the space. HTML5 does still not work everywhere and a flash backup is needed. Problems remain for various operating system and browser combinations, especially in linux, where sound problems with ogg or mp4 files are still common even with fresh installations of the newest Ubuntus. But the major issue is space and so hosting bandwith. On a page with a few dozen movie files, the question is of course not relevant. Switching to HTML would mean tripling the hosted space (because mp4,ogg and flv files need to be created additionally to the native source files which are quicktime files in my case). Because websites as well as workstation need to be backed up and the "video technicians" work space contains a multiple of the actual hosted page (For rhetorik.ch, I collect about 20 Gig of media files per year in average the last couple of years), a switch to HTML 5 could mean that 2 TB Hardrives are no more enough. To summarize, a switch to HTML5 would cost not only more work and a couple of hundred bucks more per year in order to work reliably. The additional costs come since harddrives need to be replaced regularly for reliability purposes, regular backup on media which are no more overwritten need to be created and stored externally. Add costs could become even higher with hosting band with tripling. There is no doubt that switching to plug-in free videos will be the future but the lack of a standard forcing several parallel implementations makes it still impractical if time and money budget constraints are present and the websites are reasonably large. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 11-2-2011: Examples where UI simplifications went too far: 1) In many applications like Preview in OS X Lion, it is no more possible to "Save as". It has been replaced as "Save a version". Fortunately, there is still the command line. 2) Unity in Ubuntu: I agree with most critics that it has become so much dumbed down that it has become unusable. Windows often can no more be resized as usual for example, after opening a terminal from the doc, a second terminal would not open. Getting to applications is too complicated. Fortunately there are other windows managers like blackbox or fluxbox. 3) Firefox application handling: it is no more possible to edit freely how applications are handled. The option "Save as" has disappeared for many entries like for "apt", where it is assumed that one would not want to save a .deb file. 4) Unlike in "OS X Snow Leopard", in "OSX Lion", even third party screen capture programs can no more access screen buffers while iDVD is running. It forces the user to rip the DVD first. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 10-19-2011: Tried an iterated Ubuntu upgrade without a fresh install. Back in my redhat/mandrake/early ubuntu times, upgrades have often led to dependency problems which usually implied a system paralysis. A stepwise upgrade from Ubuntu 9.4 to 10.10 went now surprisingly well, even so it took an entire night. From 9.10 to 10.4, the X configuration broke (I had to use a backup Xorg.conf). From 10.4 to 10.10, the session managers got confused (gdm and lightdm competed) which did not bring up the login screen and made a remote login necessary. Also the "software-center" in "blackbox" did not spawn a new screen and needed switches to "unity". The "evolution" mail reader I had used for reading archived mbox mail files does no more read mbox files and had to be replaced by "Thunderbird" which handles mbox files well. I might still have to do a fresh install on a new SSD because the upgrade ate additional space. [Update of October 25: more upgrade issues: "evince" and "banshee" sometimes brought down the machine and needed to be removed, also "xlock" behaved in a weird way and sometimes need a remote login to be killed. Heavy rsync processes slowed down the machine more than in Ubuntu 9.10. Copy-paste problems with German Umlaute in xterm have cropped up again and a shell script wrapper around xterm which sources first the local ~/.bashrc file is necessary. By the way, also OSX does not copy paste Umlaute correctly into a terminal and a complicated switch of language is required.] [Update Nov 2: reinstalled Ubuntu 10.10 (64 bit) from scratch on a new 128 gig SSD by cloning the distro "dpkg --get-selections > installed.txt" in old and "dpkg --set-selections < installed.txt dselect" in the new. I had initial sound problems which were solved after disabling the automatically chosen high def Audio controller. Keeping the habit of replacing harddrives regularly and not having done so for 18 months, I switched also to a 2TB main hard drive, even so the Thailand floods make it probably the worst moment to do so. Still, HD prizes could go up even more. A WD Caviar 7200 RPM work horse speeds up rsyncs considerably (I sync several hundred gigs daily), while cheaper, slower but greener 5900 RPM drives serve well as secondary backup drives; of course fast SSD's are used for the operating systems and make a huge difference.] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 20-09-2011: The upcoming Kindle Fire will be fast but having all data going through Amazon's servers raises concerns. The "mighty Amazon proxy" can still be turned off. Unlike a proxy or internet provider, Amazon will store web addresses, IP and Mac addresses and store also the website temporarily on their local servers. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 24-09-2011: Strange: I can access some files from home but not from the Harvard network (nor could my students). No local .htaccess files are in place. The only explanation is that certain folders are filtered. After copying over the "hourly" folder to exam1 folder, the files become accessible. A similar thing had takes place for "homework". More details here. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 06-09-2011: A video giving a glimpse about Color E-Ink technology for electronic textbooks in the future. One of the problems today with E-ink is that documents with lots of details like in mathematics or sciences are not suitable yet. This will change. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 04-09-2011: An interesting article in the NYT shows interactive whiteboards in the Kyrene school in Arizona. "The digital push here aims to go far beyond gadgets to transform the very nature of the classroom, turning the teacher into a guide instead of a lecturer, wandering among students who learn at their own pace on Internet-connected devices." My own take to this: as the history of teaching with technology have shown: pilot projects do not say anything. Pioneers are always especially motivated and want their projects to work and justify the investments. Its always a "huge success". Whether the concept works on a wide level is not clear. A major obstacle is that teaching with technology in a classroom where students go about in their own pace is challenging for the teacher. There is a risk to lose focus, missing preparation and less commitment to reach minimal goals for every student. We have also learned from the past that once the "coolness factor" is over, many technologies can produce aversion, especially if they are used in a wrong way or overdone. This happened with calculators, overhead projectors, powerpoint presentations or with clickers: in the case of calculators, teachers started to focus on the graphing calculator itself whose use remind of cellphones before smartphones came in, in the case of presentations, students would just copy paste information from the web into powerpoint and teachers recycle overhead slides or powerpoint presentations from other teachers or previous years. In the case of clickers, the technology would be used for class attendance or to evaluate students. I myself think that the future is in using a large variety of tools and methods. Experiments as described in that NYT article are extremely valuable. Technology wise interactive tablet like "white boards" will certainly become part of any classroom in such a way that every wall can morph either to a blackboard or a monitor or interactive white board where interactive "aps" can run. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 10-07-2011: The new feature "Versions" on Lion can grab a lot of disk space. Once close to the hard drive limit, there is no rescue anymore and the user is pushed over the abyss. The warnings come too late. Even deleting 10 Gig does not help anymore. A reboot is necessary. I constantly fight with disk space on my "macbook air" and walk a dangerous line. While preparing for a review summer school (where keynote files can be several gigabytes large), I lost the work of an evening because all "versions" were gone. [Unchecking "Restore windows when quitting and re-opening apps" in System Preferences/General solves the autosave issue.] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 07-07-2011: An interesting article on grading. It reports on experiments to replace grading by teaching staff by "evaluators" or robots. Separating the grading from teaching staff is also an attempt to fight grade inflation. "Western Governors" mentioned in the article is an online university where things are more geared towards technology. In my experience, exams which are "computer gradable", still tend to be poor, uninspiring and need substantial authoring effort to be effective. Already in mathematics, we can see during the grading phase that students have come up with innovative ideas and angles which were not anticipated. A machine would overlook them or grade them wrongly and nobody would notice. Other challenges with online examinations is to assure that the exam is taken without external human or technological help. Tests which are easily to grade tend also to be easy to beat with technological help: in the simplest case just enter the question into a search engine. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 05-08-2011: While grading mathematica projects and rendering some of the graphics, I could confirm what students tell me: Mathematica 8 can runs out of memory, even with modest graphics jobs. Crashes come without warning and are especially annoying if one uses the front end because work gets lost. I personally do not use the Mathematica "front end" most of the time and have access to machines with up to 24 Gig of memory so that I can often avoid the problem. On the feature side and coolness, Mathematica has made lots of progress graphics can be gorgeous. Mathematica 8.0 still needs more stability. Even with 8 Gig of RAM things can crash more than Mathematica 2.0 back on my NextStation with 8 Meg of RAM. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 03-08-2011: Mathematica theoretically should be able to access mysql servers. Needs["DatabaseLink`"]; JDBCDrivers["MySQL(Connector/J)"]; OpenSQLConnection[ JDBC["MySQL(Connector/J)", "db"], "Username" -> "root", "Password" -> "pwd"] Does not work for me: (JDBC:error: Communications link failure). Its easy however just to extract the tables from mysql with Perl and write them out in a form which is readable by Mathematica. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 31-07-2011: I added DuckDuckGo as a remedy to avoid the search engine bubble. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
29-07-2011: I tried out the "Ubuntu one" cloud services. I do not use desktop tools like nautilus so that command line sharing is the only option. One has to install u1sdtool and type u1sdtool --list-folders u1sdtool create-folder /home/user/list/to/directoryto shares the directory. "Ubuntu one" is not yet available on OSX however. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 28-07-2011: After using Lion for more than a week, the biggest nuisance is the sluggish "Preview" application, both for opening and closing large documents as well as scrolling through them. Opening or closing can take minutes - unbearable. I suspect that "versions" is the culprit. Besides Quicktime, Preview is one of the reasons, I use the Mac regularly. "Preview" allows to rearrange, copy paste and orient movies or PDFs. Lion also by default starts previously open applications after a reboot. [update September 4, 2011: as mentioned in heise article defaults write com.apple.Safari ApplePersistenceIgnoreState YES defaults write com.apple.Preview ApplePersistenceIgnoreState YES defaults write com.apple.Keynote ApplePersistenceIgnoreState YES solves this. It seems that the reason for start-up lags is often that the application does not find old documents any more and searches for them. This is for me often the case because the laptop is only used for temporary work. ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 22-07-2011: The google logo from today writes the PNG data directly into the style file and allows so to animate it. Here is the picture only. Look at the source. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 20-07-2011: I installed Lion on two computers. Instructions on how to get a bootable USB stick are everywhere. The installation with the USB drive on the Mac Air was actually faster than on the much mightier iMac (using the native installation). Lion is much snappier than Snow Leopard (with the exception of "Preview" which can lag, probably due to "versions". Latency is the worst enemy of a good user experience. Some applications do more work: Graphing calculator and the 360-com unwrapper or 2004 Microsoft Excel, Word and Powerpoint. Good riddance for the later. The Lion installation ate 3 additional Gigs on my already maxed out mac air. I could not turn off legacy file vault for example. [Update July 21: without having to ask I got a copy of Graphing calculator 4.0 by mail from pacifict.com. Nice.] [Update July 22: after upgrading developer tools which I always need (I use "make" for almost everything for example). On my "macbook air" with only 64 gig, "Lion" devoured in total 6 gig even after deleting the XCode installation and the /Developer directory. Since I use the laptop only for temporary work, sync the necessary folders forth and back from my linux box but Keynote presentations and music files gobble up pretty fast the available user space. It is clear is that my next macbook air will have 256 Gig.] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 13-07-2011: After the drop box EULA disaster, a good summery over some cloudy cloud issues. Beside ownership issues and risks, the cloud services I had tried out also only work well with small amount of data but suck with more. A few hundred or maybe thousand files work well, but that is nothing today. An other issue which will slow down these data services are cable provider bandwidth caps. Legal, reliability, bandwith reasons will be a big obstacle also for the google chromebook adaptation. Additional to latency issues (see July 5 entry). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 05-07-2011: Funny that my battery problems of my ipod touch disappeared after a recent jail break. Apple should definitely add a preference entry to remove multitasking. I in general try to run as many processes as possible on any computer. Sometimes this is important like with huge Mathematica jobs (even in Linux) jobs which are notoriously memory hungry. On the ipod touch, I prefer to have one process at a time. It is the fractions of seconds of delays in a program which drive the user nuts. Latency is a big stress factor. Thats why I use linux, lean windows managers, solid state drives and remove any processes which are not needed. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 27-06-2011: Changed my homepage from Google to Yandex. The black navigation bar is too ugly to bare. Its strange, how little things can annoy but with a black desktop background, the browser showing the google main page appears to be cut in two. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 27-06-2011: I Bought one of the new cheap Nooks. PDF reading does not always work well, especially if files have been written in latex and contain mathematical content. Font size, line break issues. Also not all pictures appear. As a text reader however, it is terrific. When hooked up by USB, the nook can be accessed as a drive. Also the fact that documents can be loaded onto Micro SD cards is nice. With 32 Gig, I can put all the book PDFs onto it. Unfortunately, most books are in DjVu format and there is no luck with that. Would be nice if one could put content onto it wirelessly. Also nice would be a program which would trim PDFs so that they read nicely on the nook, possibly cut away stuff which do not render well. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 09-06-2011: Interesting Google Logo today. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
22-05-2011:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 15-04-2011: I'm not a friend of "cloud" stuff (yet), but since more and more around me use dropbox, I had to try it. Security issues with dropbox are a big issue for me. In that respect Wuala is better. It had originally been developed at my alma mater ETH. The name comes from "Voila". Similarly as in Dropbox, one can copy or sync files into the shared folder. Some issues: in linux, if wuala does not run and "ls" is done, then a message ls: cannot access WualaDrive: Transport endpoint is not connected appears. One can get rid of this with fusermount -u WualaDrive. Both in linux as well as OSX, the mounted javafs can produces some user lag on the command line. Wuala still needs to reduce its footprint. Still, having everything encrypted on the client side is essential and the only option for education similarly as for health care. A third party outside the university should not have access to student, patient or research data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 03-04-2011: Academic use of Social media, May 3, 2011 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 16-04-2011: An example of a Prezi presentation by Alison Blank. The idea is good but I doubt it will replace powerpoint. The problem with nonlinear presentations is that one can easily get lost. A nonlinear mindmap structure is nice to organize topics and for good speakers like Chris Anderson who seems be assisted during the talk in running the nonlinear presentation or has linearized the presentation for the talk. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 15-04-2011: The ears PRS looks very promising. Some questions of Brian Lukoff used in my 1a class. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 22-03-2011: I use several backup layers under linux (while working, with flashback, half daily full backups done on internal backup drives by cron, sync with different machines several times per day, weekly long time backups on different drive. But then also "write only backups" on harddrives which are encrypted and stacked and regularly sent out of town. It was still possible to lose data: just before spring break, I had been writing a handout for a course and later in spring break, I noticed that the file had been overwritten by an other file (I must have copied a template to the wrong place at some point and not noticed for several days). At the time when the problem was noticed, all shorter term backups had been overwritten, and longer term (read only) backups had not yet kicked in. I had lost the handout. At the time, when I noticed the problem, the 5 existing backups layers were all overwritten. Fortunately, I had a printout, since it had been given to the class already before the spring break and I could just retype it. But it was annoying. That day, I bought an additional 4TB drive, attached it to a mac by firewire and now backup part of my linux box on the mac, where OSX keeps old versions with time machine. I hope TimeVault (which is still alpha) will mature soon. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 12-01-2011: A google group discussed some strange behavior of the Mathematica function Clip. Run this and you will see. I defined my own function Clip1 to illustrate it Clip[1.00000000000000036] Clip[1.000000000000000360000] Clip1[x_]:=Sign[x]*Min[Abs[x],1] Clip1[1.00000000000000036] Clip1[0.9999999999999966] Clip1[0.9999999999999966000] There are confusing things going on in Mathematica with respect to accuracy. In the second last example, the result should be rendered at least in the same accuracy. All involved functions Sign, Min and Abs should be implemented in arbitrary accuracy. They only refer to order and sign. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 ncd.math.harvard.edu 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.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
11-04-2010:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 http://192.168.1.4:8080 /tmp/downloads sudo rsync -avzu --delete ebooks /tmp/downloadsThis 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 http://192.168.1.4:8080 using "Go: Connect to Server". Then hardlink the network folder with a real folder ln -s /Volumes/192.168.1.4:8080 /tmp/downloadsso 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:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
12-03-2010:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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
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 CNN.com from Europe or google.com 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:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
17-09-2009:
Oliver Knill,
Department of Mathematics,
Harvard University,
One Oxford Street, Cambridge, MA 02138, USA.
SciCenter 432
Tel: (617) 495 5549, Email: knill@math.harvard.edu.
twitter. Spring 2013 office hours: Tuesday/Thursday 4-5
by Appointment, before and after classes.
|



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
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:
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.


