<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OSX &#8211; neverendingbooks</title>
	<atom:link href="https://lievenlebruyn.github.io/neverendingbooks/tag/osx/feed/" rel="self" type="application/rss+xml" />
	<link>https://lievenlebruyn.github.io/neverendingbooks/</link>
	<description></description>
	<lastBuildDate>Sat, 31 Aug 2024 11:53:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.1</generator>
	<item>
		<title>Snow leopard + wordpress + latex problem</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/snow-leopard-wordpress-latex-problem/</link>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Thu, 01 Oct 2009 17:09:05 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[latexrender]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=2154</guid>

					<description><![CDATA[Ever since I&#8217;ve upgraded to Snow Leopard I&#8217;ve been having problems with the webserver. At first there were the &#8216;obvious&#8217; problems : mysql-connection lost and&#8230;]]></description>
										<content:encoded><![CDATA[<p>Ever since I&#8217;ve upgraded to <a href="http://www.apple.com/macosx/">Snow Leopard</a> I&#8217;ve been having problems with the webserver.</p>
<p>At first there were the &#8216;obvious&#8217; problems : mysql-connection lost and php-error message. These were swiftly dealt with using the excellent <a href="http://wordpress.org/support/topic/306878">Snow Leopard, Apache, PHP, MySQL and WordPress!</a> advice from &#8216;tady&#8217;.</p>
<p>Right now, access to this blog is extremely slow (and often impossible), certainly via the admin-page. The problem appears to be that most of my CPU is used by lots of pdfetex-processes owned by www. Hence the conjecture that it is a problem with either <a href="http://www.mayer.dial.pipex.com/tex.htm">LaTeXRender</a> or <a href="http://wordpress.org/extend/plugins/wp-latex/">WP LaTeX</a>.</p>
<p>Anyone experiencing a similar problem, or knowing a trick to resolve it? Takk.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>math2.0-setup : mysql and php+</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/math20-setup-mysql-and-php/</link>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Thu, 12 Feb 2009 15:20:23 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[arxiv]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=1154</guid>

					<description><![CDATA[Set up your own WPMU+BuddyPress site on a spare Mac in no time.]]></description>
										<content:encoded><![CDATA[<p><a href="https://lievenlebruyn.github.io/neverendingbooks/index.php/yet-another-math20-proposal.html">Last time</a> I wondered whether a set-up like <a href="http://wordpress.com/">WordPress.com</a> meets <a href="http://www.facebook.com/">FaceBook</a> with add-ons (such as wiki- and latex-support) might be a usable environment for people working in a specific arXiv-topic.</p>
<p>I&#8217;ve used <a href="http://mu.wordpress.org/">WordPressMU</a> and <a href="http://buddypress.org/">BuddyPress</a> to create such an embryonal environment. At first I thought I&#8217;d extend it a bit before going online but I fail to have the energy right now so I might as well make the <a href="https://lievenlebruyn.github.io/neverendingbooks/mu/">link available</a>. If you are into math.QA and/or math.RA you are invited to join the experiment. But, please use this site gently as I&#8217;ll have to drop it otherwise.</p>
<p>I&#8217;ve no desire to maintain this site indefinitely but would welcome others to set up something similar. For this reason I&#8217;ll write a couple of posts explaining how you can build it yourself when you&#8217;d have a free afternoon and a spare Mac around. Each post should not take you longer than 1 hour. Today, we&#8217;ll provide the boring but essential basics : we must get a MySQL-server and a WebServer  running. Next time, I&#8217;ll take you through the WordPressMU (MU for multi-users) and BuddyPress installation. After that, we&#8217;ll add extra functionality.</p>
<p>We will start from a vanilla 10.5.6 installation. We will often need to edit files, so we&#8217;d better grab a good, free  texteditor : <a href="http://www.barebones.com/products/TextWrangler/download.html">TextWrangler</a>, drag it to Applications and place it in the Dock. We&#8217;ll also type in commands so we want the TerminalApp (to be found in Applcations/Utilities) in the Dock. SystemPreferences and Safari are already in the Dock and as we will need these tools a lot we might rearrange the Dock to look like</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA2/Dock.jpg"><br />
</center></p>
<p>From left to right : the Finder, Terminal, Safari, TextWrangler and System Preferences. From now on we will mean by &#8216;Open &#8230;&#8217; that you click on the &#8216;&#8230;&#8217; icon.  In the end we want our computer to become a web-server, so we don&#8217;t want it to go to sleep. Open SystemPreferences and look for the &#8216;Energy Saver&#8217;-icon, click on the &#8216;Show details&#8217; button and set the &#8216;Put the computer to sleep when it is inactive for:&#8217; to Never and unmark the &#8216;Put the hard disk(s) to sleep when possible&#8217; at the bottom.</p>
<p>We will need to start or stop the WebServer so here&#8217;s how that&#8217;s done : open SystemPreferences and look for the &#8216;Sharing&#8217;-icon. Marking the &#8216;Web Sharing&#8217; option is equivalent to starting your webserver (you can verify this by opening Safari and pointing it to http://localhost/ and you should see the default Apache-screen), unmarking it stops the webserver (check this by repeating the previous, now you should get a &#8216;Safari can&#8217;t connect to the server&#8217; message).</p>
<p>All of this was probably trivial to you so let&#8217;s do something a bit more advanced : setting up a database-server. OSX doesn&#8217;t come with MySql, so we need to download and install it.</p>
<p><strong>MySQL : </strong></p>
<p>Get the <a href="http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg">latest version</a> : choose the Mac OS X 10.5 (x86)-package and download it (they ask you to register but you can bypass this by clicking on the &#8216;No thanks, just take me to the downloads&#8217;-link). It is a 55.3 Mb file so this may take a couple of minutes. If all goes well this window should pop-up</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA2/mysql1.jpg"><br />
</center></p>
<p>Click on the mysql-5.0.67-osx10.5-x86.pkg icon and follow the instruction (defaults suffice, you&#8217;ll be asked to give your sudo password and in all it will take less than a minute). Repeat this procedure with MySQLStartupItem.pkg. Done!</p>
<p>To verify it, Open Terminal and type this to the prompt</p>
<p>sudo /Library/StartupItems/MySQLCOM/MySQLCOM start</p>
<p>You&#8217;ll get a scary warning message but type in your sudo-password and the Mysql-server will start. You can access it by typing</p>
<p>/usr/local/mysql/bin/mysql</p>
<p>and type exit to the mysql-prompt to leave.<br />
In all, your interaction with the terminal should look something like this</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA2/mysql2.jpg"><br />
</center></p>
<p>Clearly, you do not want to type all of this every time, so we will add the mysql-location to our &#8216;PATH&#8217;. To do this, open TextWrangler and add this line to the blank document</p>
<p>export PATH=$PATH:/usr/local/mysql/bin</p>
<p>and save the file as .profile in your home-directory (the one with the &#8216;House&#8217;-icon, usually given your name). You will get a warning that .-files are reserved but go ahead anyway by clicking the use . &#8211; button). Now, open Terminal and type this</p>
<p>source ~./profile <br />
echo $PATH</p>
<p>if all went well you should now see the mysql-location at the end of your path. From now on you&#8217;ll only have to type</p>
<p>mysql</p>
<p>to the terminal-prompt to open MySql. At the moment the root-user of your mysql has no password which isnt safe so we&#8217;d better set one. Open terminal and type</p>
<p>mysqladmin -u root password NEWPASSWORD</p>
<p>where, of course, you replace NEWPASSWORD with your choice (use only letters and numbers). From now on you can access your mysql-server by opening Terminal and typing</p>
<p>mysql -u root -p</p>
<p>and giving your password. Okay, so we&#8217;ve established our first goal, we have a working Mysql. Take a break if you need one.</p>
<p><strong>better PHP</strong></p>
<p>Mac 10.5 comes equipped with php5 but unfortunately it isn&#8217;t quite up to what we need. So, we need to install a better one and tell the mysql-server and the webserver to use the new one instead of the standard one.</p>
<p>Open Safari and grab the better php-version by going to</p>
<p>http://www2.entropy.ch/download/php5-5.2.5-6-beta.tar.gz</p>
<p>It is a 85.2 Mb file, so have a bit of patience. The file gets unzipped automatically and downloaded in the Downloads-directory. Open Finder and go there. At the moment your Downloads-directory will look like</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA2/php1.jpg"><br />
</center></p>
<p>Doubleclick on the php5-5.2.5-6-beta.tar file and a new directory will be created called php5. We will now move this directory and lay some symbolic links. Open a new Terminal window and type the following commands (and provide your sudo-password when asked)</p>
<p>cd Downloads <br />
sudo mv php5 /usr/local              <br />
sudo ln -sf /usr/local/php5/entropy-php.conf /etc/apache2/other/+entropy-php.conf <br />
sudo mkdir /var/mysql <br />
sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock</p>
<p>Next, we have to tell the webserver to use this new php-version instead of the old one. This information is contained in the apache-configuration file : httpd.conf. Open TextWrangler and under &#8216;File&#8217; choose the option &#8216;Open File by Name&#8217;. Type /etc/apache2/httpd.conf in the field that appears. The file will now appear in the main window. Under &#8216;Search&#8217; choose the &#8216;Go to Line&#8217; option and fill in 114 and hit the Go To button. The follwing line should now be highlighted</p>
<p>&#35;LoadModule php5_module        libexec/apache2/libphp5.so</p>
<p>immediately under it add the following line (TextWrangler will tell you that the file is owned by root and ask you whether you want to open it, click yes and make the changes)</p>
<p>LoadModule php5_module        local/php5/libphp5.so</p>
<p>(observe that line 114 is commented out, that is, starts with a #, whereas your added line is not).<br />
Save the file (Textwrangler will ask you to provide the sudo-password).</p>
<p>Next, we will have to tell php to communicate with the mysql-server. Again, open TextWrangler, under &#8216;File&#8217; choose &#8216;Open File by Name&#8217; and type in /usr/local/php5/lib/php.ini-recommended. When the file appears, under &#8216;Search&#8217; choose &#8216;Go to Line&#8217; and type in 810.  It will read</p>
<p>mysql.default_socket =</p>
<p>Change it as follows (that is, add to it)</p>
<p>mysql.default_socket = /var/mysql/mysql.sock</p>
<p>and now choose under &#8216;File&#8217; the &#8216;Save as&#8230;&#8217; option. In the window change php.ini-recommended to php.ini and click Save. Done!</p>
<p><strong>Testing&#8230;</strong></p>
<p>Restart your webserver. Recall that this means: open SystemPreferences, choose &#8216;Sharing&#8217;, unmark &#8216;Web Server&#8217;, wait 5 seconds and then mark it again.</p>
<p>Open TextWranger, make a new Text document containing just one line (remove the white space between the ?-signs and the brackets) :</p>
<p>&lt; ?php phpinfo() ? &#62;</p>
<p>Choose &#8216;File&#8217; and &#8216;Save as&#8230;&#8217; and in the window that appears navigate to YourHardDisk/Library/WebServer/Documents, name the file &#8216;test.php&#8217; and click the &#8216;Save&#8217; button</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA2/testphp.jpg"><br />
</center></p>
<p>Finally, open Safari and point it to http://localhost/test.php. Cross your fingers and if you get a screen like the one below treat yourself to something nice!</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA2/testphp2.jpg"><br />
</center></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>yet another math2.0 proposal</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/yet-another-math20-proposal/</link>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Wed, 11 Feb 2009 16:39:06 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[arxiv]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[noncommutative]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=1081</guid>

					<description><![CDATA[Tim Gowers'  dream of massively collaborative mathematics got me thinking...]]></description>
										<content:encoded><![CDATA[<p>At present, some interesting experiments are going on exploring the potential of web 2.0 for mathematical research, that is, setting up a usable math 2.0 &#8211; environment.</p>
<p>The starting point is that math 2.0 should be something like blogs+extras. Most mathematicians are not that interested in the latest ICT-tools, but at least they are slowly getting used to reading blogs, so we should stick to this medium and try to enhance it for online-research.</p>
<p>Michael Nielsen has written a couple of posts on this : an <a href="http://michaelnielsen.org/blog/?p=545">after-dinner talk about doing science online</a> aiming at a mathematics audience, building on an <a href="http://michaelnielsen.org/blog/?p=448">essay on the future of science</a>.</p>
<p><img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA2/GowersP.jpg" style="float:right;margin-left:10px;"> Both posts were influential to <a href="http://en.wikipedia.org/wiki/Timothy_Gowers">Tim Gowers</a>&#8216; dream of <a href="http://gowers.wordpress.com/2009/01/27/is-massively-collaborative-mathematics-possible/">massively collaborative mathematics</a>. He took an <a href="http://gowers.wordpress.com/2009/02/01/a-combinatorial-approach-to-density-hales-jewett/">interesting problem</a>, laid down a set of 12 rules-of-conduct and invited everyone to contribute. The project is still gaining momentum and Terry Tao is also posting about it on his blog.</p>
<p>Michael Nielsen <a href="http://michaelnielsen.org/blog/?p=550">compared</a> Gowers&#8217; approach to long established practice in the open-source software community.</p>
<p>Another interesting experiment is <a href="http://ncatlab.org/nlab/show/HomePage">nLab</a>, a knowledge-wiki set up by the reader-community of the <a href="http://golem.ph.utexas.edu/category/">n-category cafe</a>. They describe it as : &#8220;In other words: this place is like the library, or alchemist’s laboratory, in the back room of the n-Category Café. You come here to work and go there to chat.<br />
We are hoping to create here a space for presentation and archival storage of collaborative work of encyclopedic, didactic, expositional, but also original nature. This will include, but not be limited to, the subjects being discussed every day in the n-Café.&#8221;</p>
<p>Both experiments are working great, aided by the authority-status of the blogger, resp. the popularity of the blog, within the research topic. But, what about topics failing to have a blogger or blog of similar status? Should we all drop our current research-interest and convert to either combinatorics or higher-categories?</p>
<p>History taught us in case of failing authority we&#8217;d better settle for &#8216;manageable anarchy&#8217;. So, here&#8217;s my math2.0-anarchy-allowed-proposal :</p>
<ul>
<li>per research-topic (say, an arXiv-topic) we&#8217;ll set up a seperate online-reasearch-environment   </li>
<li>anyone interested in that topic is allowed to register and fill-out a profile linking to her list of publications, describe his research interests, her ongoing projects and other trivia  </li>
<li>some may want to start a blog within the environment or join an already existing one, and should be allowed to do so  </li>
<li>some may opt just to read blog posts and occasionally comment, and again, should be allowed to do so  </li>
<li>some may want to set up a research-group to solve a specific problem. they may choose to do this in the open, or as a covert-operation, taking on new members only by invitation  </li>
<li>some may use the environment mainly for networking or chatting-up with their friends  </li>
<li>some research-groups may want to start a group-blog or knowledge-wiki to archive their finds  </li>
<li>surely we&#8217;ll be not discussing math in ASCII but in latex   </li>
<li>anyone will be able to follow specific sub-projects via RSS-feeds  </li>
<li>anyone can see site-wide activity online, see who&#8217;s currently there and chat if they feel the need  </li>
<li>anyone can do whatever sensible web2.0-thing there is I forgot by age and hence by ignorance  </li>
</ul>
<p>If this seems like a tall order to satisfy, a bit of research will show that we live at the fortunate moment in time when all the basic ingredient are there, freely available, to do just that!</p>
<p>Over the last weeks I&#8217;ve wasted too many hours googling for help, reading-up different fora to get it all working, but &#8230; somehow succeeded. Here&#8217;s a screen-shot of my very-own NSN (for : noncommutative-social-network) :</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA2/nsn.jpg"><br />
</center></p>
<p>Please allow me a few more days to tidy things up and then I&#8217;ll make the link available so that anyone interested can experiment with it.</p>
<p>But then, I&#8217;ve no desire to spend my days web-mastering such a site. Perhaps some of you would like to take this on, provided you&#8217;d get it on a silver plate? (that is, without having to spend too much time setting it up).</p>
<p>So. I&#8217;ll run a series of posts explaining how to <strong>&#8220;set-up your own math2.0 environment&#8221;</strong>. I&#8217;m not aiming at the internet-savvy ones (they&#8217;ll probably do it a lot more efficiently), but at people like myself, who are interested to investigate web-based possibilities, but need to be told where to find the very basics, such as the location of their httpd.conf file or their php.ini and such.</p>
<p>I&#8217;ve zeroed my MacBookPro, re-installed OSX 10.5 from scratch, upgraded it to current 10.5.6 but no extras (say, vanilla 10.5.6). And I&#8217;ll guide you from there, in all gory details, with plenty of screen-shots as I would have liked to find them when I tried to set this up.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>sporadic simple games</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/sporadic-simple-games/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/sporadic-simple-games/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Sun, 13 Jul 2008 11:10:20 +0000</pubDate>
				<category><![CDATA[games]]></category>
		<category><![CDATA[groups]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[blackjack]]></category>
		<category><![CDATA[Conway]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Mathieu]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[puzzle]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=439</guid>

					<description><![CDATA[About a year ago I did a series of posts on games associated to the Mathieu sporadic group $M_{12} $, starting with a post on&#8230;]]></description>
										<content:encoded><![CDATA[<p>About a year ago I did a series of posts on games associated to the Mathieu sporadic group $M_{12} $, starting with a post on <a href="https://lievenlebruyn.github.io/neverendingbooks/index.php/conways-puzzle-m13.html">Conway&#8217;s puzzle M(13)</a>, and, continuing with a discussion of <a href="https://lievenlebruyn.github.io/neverendingbooks/index.php/mathieus-blackjack-1.html">mathematical blackjack</a>. The idea at the time was to write a book for a general audience, as discussed at the start of the <a href="https://lievenlebruyn.github.io/neverendingbooks/index.php/conways-puzzle-m13.html">M(13)-post</a>, ending with a series of new challenging mathematical games. I asked : &#8220;What kind of puzzles should we promote for mathematical thinking to have a fighting chance to survive in the near future?&#8221;</p>
<p>Now, Scientific American has (no doubt independently) taken up this lead. Their July 2008 issue features the article <a href="http://www.sciam.com/article.cfm?id=simple-groups-at-play">Rubik&#8217;s Cube Inspired Puzzles Demonstrate Math&#8217;s &#8220;Simple Groups&#8221;</a> written by Igor Kriz and Paul Siegel.</p>
<p>By far the nicest thing about this article is that it comes with <a href="http://www.sciam.com/article.cfm?id=puzzles-simple-groups-at-play">three online games</a> based on the sporadic simple groups, the Mathieu groups $M_{12} $, $M_{24} $ and the Conway group $.0 $.</p>
<p><strong>the M(12) game</strong></p>
<p>Scrambles to an arbitrary permutation in $M_{12} $ and need to use the two generators $INVERT=(1,12)(2,11)(3,10)(4,9)(5,8)(6,7) $ and $MERGE=(2,12,7,4,11,6,10,8,9,5,3) $ to return to starting position.</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/m12game.jpg"><br />
</center></p>
<p>Here is the help-screen :</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/m12gamehelp.jpg" width=650 ><br />
</center></p>
<p>They promise the solution by july 27th, but a few-line GAP-program cracks the puzzle instantly.</p>
<p><strong>the M(24) game</strong></p>
<p>Similar in nature, again using two generators of $M_{24} $. GAP-solution as before.</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/m24game.jpg"><br />
</center></p>
<p>This time, they offer this help-screen :</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/m24gamehelp.jpg"><br />
</center></p>
<p><strong>the .0 game</strong></p>
<p>Their most original game is based on Conway&#8217;s $.0 $ (dotto) group. Unfortunately, they offer only a Windows-executable version, so I had to install <a href="http://www.apple.com/macosx/features/bootcamp.html">Bootcamp</a> and struggle a bit with taking screenshots on a MacBook to show you the game&#8217;s starting position :</p>
<p><center><br />
<img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/dottogame.jpg"><br />
</center></p>
<blockquote><p>
Dotto: </p>
<p />
Dotto, our final puzzle, represents the Conway group Co0, published in 1968 by mathematician John H. Conway of Princeton University. Co0 contains the sporadic simple group Co1 and has exactly twice as many members as Co1. Conway is too modest to name Co0 after himself, so he denotes the group “.0” (hence the pronunciation “dotto”).</p>
<p />
<p>In Dotto, there are four moves. This puzzle includes the M24 puzzle. Look at the yellow/blue row in the bottom. This is, in fact, M24, but the numbers are arranged in a row instead of a circle. The R move is the &#8220;circle rotation to the right&#8221;: the column above the number 0 stays put, but the column above the number 1 moves to the column over the number 2 etc. up to the column over the number 23, which moves to the column over the number 1. You may also click on a column number and then on another column number in the bottom row, and the &#8220;circle rotation&#8221; moving the first column to the second occurs. The M move is the switch, in each group of 4 columns separated by vertical lines (called tetrads) the &#8220;yellow&#8221; columns switch and the &#8220;blue&#8221; columns switch. The sign change move (S) changes signs of the first 8 columns (first two tetrads). The tetrad move (T) is the most complicated: Subtract in each row from each tetrad 1/2 times the sum of the numbers in that tetrad. Then in addition to that, reverse the signs of the columns in the first tetrad.</p>
<p />
<p>Strategy hints: Notice that the sum of squares of the numbers in each row doesn&#8217;t change. (This sum of squares is 64 in the first row, 32 in every other row.) If you manage to get an &#8220;8&#8221;in the first row, you have almost reduced the game to M24 except those signs. To have the original position, signs of all numbers on the diagonal must be +. Hint on signs: if the only thing wrong are signs on the diagonal, and only 8 signs are wrong, those 8 columns can be moved to the first 8 columns by using only the M24 moves (M,R).
</p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/sporadic-simple-games/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>iTouch warwalking</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/itouch-warwalking/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/itouch-warwalking/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Thu, 10 Jan 2008 12:50:34 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[itouch]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[warwalking]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=333</guid>

					<description><![CDATA[Four years ago I had a brief fling with wardriving. It went only as far as getting Ethereal to crack the security of our house-network.&#8230;]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/itouchwar.jpg" style="float:left;margin-right:10px;" > Four years ago I had a brief fling with <a href="http://en.wikipedia.org/wiki/Wardriving">wardriving</a>. It went only as far as getting <a href="http://www.ethereal.com/">Ethereal</a> to crack the security of our house-network. I simply couldn&#8217;t picture myself walking around the neighborhood with my laptop under my arm&#8230; However, jogging around with an iPod will attract far  less attention.</p>
<p>Starting an iTouch in a network-rich environment you will be asked which network you want to connect to (see for example <a href="http://revver.com/video/416762/ipod-touch-wifi-network-drive-around/">this wardriving video</a>). However, if you need more information on the networks, there is a port of the OSX-tool <a href="http://en.wikipedia.org/wiki/IStumbler">iStumbler</a> for the iPhone/iTouch : <a href="http://code.google.com/p/iphone-wireless/">Stumbler</a> (available also from the Install.app under Network). This morning I flipped open my iTouch in a generic street near the University and was surrounded by 12 wireless networks, 6 of them wide open&#8230;</p>
<p>One may then ask : what about less innocent wardriving tools such as <a href="http://en.wikipedia.org/wiki/Kismet_%28software%29">Kismet</a> or Ethereal itself? The problem with porting those seems to be that no-one knows whether the iTouch wireless driver can be put into &#8216;promiscuous mode&#8217; (see for example <a href="http://www.hackint0sh.org/forum/showthread.php?t=9700">this thread</a>).</p>
<p>Once you have collected open networks at your favourite places or have passwords to closed networks, it would be nice if the iTouch would auto-detect these and connect to them without you having to remember the particular name or having to type in username/password combinations. Surprisingly, this is possible thanks to the people at <a href="http://devicescape.com/pub/">devicescape.com</a>. Create a free login, then get <strong>Devicescape Connect</strong> (available under Network) run it and write down the pincode you are given and follow the instructions to complete the installation. You can then edit your Wi-Fi list of desired hotspot or personal networks, together with all login-data. There is a nice <a href="http://db.tidbits.com/article/9182">TidBit article</a> describing devicescape in full detail.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/itouch-warwalking/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>first things first : jailbreak</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/first-things-first-jailbreak/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/first-things-first-jailbreak/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Mon, 10 Dec 2007 17:56:55 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[itouch]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=51</guid>

					<description><![CDATA[You may have surmised it from reading this post : Santa brought me an iPod Touch! (( or rather : Santa brought PD2 an iTouch&#8230;]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/springboard.jpg" style="float:left;margin-right:10px;"> You may have surmised it from reading <a href="https://lievenlebruyn.github.io/neverendingbooks/?p=49">this post</a> : Santa brought me an iPod Touch! (( or rather : Santa brought PD2 an iTouch and knowing his jealous nature ordered one for him as well&#8230; )) Ive used an iPodClassic to transfer huge files between home (MacBook) and office (iMac) as well as for backup purposes. I wanted to find out what new tricks this trio could play now that iPod can go online. Major disillusion : one cannot even enable DiskUse via iTunes at the moment. (( rumours are that Apple will enable DiskUse in firmware 1.1.3, coming up next februari&#8230; )) What&#8217;s wrong with Apple? They make this marvelous piece of technology and then do a Golem-act preventing anyone else from using their precious thing. I understand their business plan, but soon it will make more sense to buy Apple shares than to buy their computers&#8230;</p>
<p>Enters the 13-year old <a href="http://ijailbreak.com/">AriX</a> writing iJailbreak to free the iTouch. So, before you put any music or video on your pod (( and frankly there&#8217;s not much else Apple allows you to put on it )), dare to void the guarantee and risk your new gadget being bricked (( but, if I can pull if off you certainly can.. )) by Jailbreaking it! There are plenty of good guides around, both for Windows and Mac, but most of them can be slightly improved. I&#8217;ve followed <a href="http://rupertgee.wordpress.com/2007/12/02/lets-jailbrake-the-ipod-touch-112-with-os-x/">Let’s Jailbreak the iPod touch 1.1.2 with OS X</a> but shortened his <a href="http://rupertgee.wordpress.com/2007/12/02/downgraderestore-ipod-touch-firmware-to-version-111-using-os-x/">downgrade to 1.1.1 procedure</a> which is the first (and hardest) step in the whole procedure. The moment PD2 will see I can use Maps and Weather she&#8217;ll want me to jailbreak her iTouch too, so mainly for myself I list here the procedure before I forget it.</p>
<p class="alert">Jailbreak 1.1.2 with Leopard on Intel, use at your own risk.
</p>
<p>Get a decent browser such as Firefox or Flock (to prevent the download to selfexpand, so when given the choice to open it with iTunes or save it to Disk, save!) and download <a href="http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPod/SBML/osx/bundles/061-3932.20070927.p23dD/iPod1,1_1.1.1_3A110a_Restore.ipsw">Firmware1.1.1</a> and place it somewhere (why not create a Folder called Jailbreak).</p>
<p>Connect your iTouch and fire up iTunes and select your iTouch in the left column. Hold down the option key and click in the summary pane the <strong>Check for Update</strong> button. This will open a Finder window allowing you to navigate to the downloaded file and open it. The iTouch will downgrade itself to 1.1.1. Just wait until it reappears in iTunes and disconnect it.</p>
<p>With Safari on the iTouch go to <a href="http://jailbreakme.com/">jailbreakme.com</a> and scroll to the bottom and click on the <strong>InstallAppSnap</strong> button. Let it do its magic and afterwards there is a new Installer-icon on your &#8216;springboard&#8217; (the opening iTouch page). Open it and refrain from installing all the goodies now, just scroll down to <strong>Tweaks (1.1.1)</strong> open and select &#8220;OktoPrep&#8221; and install it (button top right-hand corner).</p>
<p>Connect iTouch to mac, start iTunes and select your iTouch. Click on the update button and now iTunes will bring you back to Firmware 1.1.2. After finishing wait until your iPod reappears in the left column. (Do not panic if you fail to see the Installer-icon on springboard, it will reappear later on). Then, <strong>close iTunes</strong> (your iPod stays connected via USB to the Mac). Use any browser on your mac to download <a href="http://conceitedsoftware.com/iphone/1.1.2-jailbreak.zip">Jailbreak 1.1.2</a> and place it somewhere.</p>
<p>Find the Java-applet <strong>jailbreak.jar</strong> in the folder and double click it. Again, magical things are happening ending with the iTouch booting up several times and you performed the Jailbreak.</p>
<p class="construction">Let&#8217;s open up the iTouch to the world</p>
<p>So, what was the point of all this? We still have no DiskUse enabled nor can we speak to the iTouch directly. But all of this is going to change rapidly. Let&#8217;s make it available to our DeskTop.</p>
<p>With &#8220;install package xxx&#8221; I will mean : fire up Installer from your springboard, donate as quickly as you can to the guys making this available, then click on the &#8220;install&#8221; icon lower-left. This will open up lists of packages, scroll down to package xxx, click on it to read more about it, and then hit the &#8220;install&#8221; button top-right. That&#8217;s it. (If you ever want to unistall a package, do the same process now starting from the &#8220;uninstall&#8221; icon lower-right).</p>
<p>Install first <strong>BSD Subsystem</strong> (under System packages) and the <strong>AFPd</strong> (under Network). This will turn your iTouch into an AFP-server. By clicking on its icon in the Springboard you can turn the server on and off (remember to turn it off when not needed!) and turn on Broadcast if you want the iTouch to show up on your Desktop (in the Leopard-Finder under &#8216;Shared&#8217;). You can now connect to the iTouch by clicking on its icon in the Finder and hitting connect. The default user/password combination for a Jailbroken iTouch are<br />
<strong>root/alpine</strong>. Change this as soon as you figure out how to do it. &#8216;Alpine&#8217; must be the most popular password right now&#8230; The AFPd-page also contains the Wi-Fi IP Address of the iTouch and you will need it soon, so write it down.</p>
<p>For we are going to connect via ssh and sftp to and from iTouch/Mac. Install the <strong>OpenSSH</strong> package (under System) and the <strong>Term-vt100</strong> package (also under System). From the Mac to iTouch you can connect via something like</p>
<p class="code">ssh root@10.0.1.197</p>
<p>(change the number to the IP-Address of the iTouch) and login with the alpine password. You&#8217;re in! Conversely, open up the Term-vt100 icon in the springboard which give you a genuine *nix-Terminal. You can connect via ssh to your mac provided you know its IP and your login. That&#8217;s all.</p>
<p><img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/itouchphp.jpg" style="float:left;margin-right:10px;"> Btw. you can also use your favourite file-transport program (mine is <a href="http://www.panic.com/transmit/">Transmit</a> to connect to and from your iTouch via SFTP. Right, now that the iTouch is under control we might as well give it a voice of his/her own.</p>
<p>Install <strong>Apache</strong> (under System) and <strong>PHP</strong> (under Development) and follow the instructions from the <a href="http://www.ipodtouchfans.com/forums/showthread.php?t=2010">iTouch Fans Forum</a> (you will need to register, but if you&#8217;re not an iTouch-fan there&#8217;s little point in you reading this post anyway) and you will have turned your iTouch into a PHP-enabled webserver! On the left is a screenshot of the proof via the php-info testpage.</p>
<p>Finally, we can turn the world upside down completely. Before all of this we had no way to get control of the iTouch, now we can use the iTouch to take control of all our Macs serving VNC (Leopard comes with it, enable the password in System Preferences/Sharing/Screen Sharing/Computer Settings and you&#8217;re under iTouch control). To pull this off, just install the <strong>VNsea</strong> package (under Network). It really works well!</p>
<p class="construction">Oh, you&#8217;re only here to install the iPhone Apps&#8230;
</p>
<p>Well, that&#8217;s easy enough. Just follow the instructions of the <a href="http://rupertgee.wordpress.com/2007/12/03/install-iphone-apps-into-ipod-touch/">Install and use iPhone Apps in iPod touch</a> from the excellent blog by Rupert Gee. The most difficult part is to get hold of the iPhone Apps if you don&#8217;t own an iPhone&#8230; Well, I&#8217;m happy to provide you with <a href="http://rapidshare.com/files/69144568/iPhoneApps112.zip.html">this secret information</a>&#8230;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/first-things-first-jailbreak/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>NeB on Leopard and iPhone</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/neb-on-leopard-and-iphone/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/neb-on-leopard-and-iphone/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Fri, 07 Dec 2007 20:15:20 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[markdown]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Tiger]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=49</guid>

					<description><![CDATA[If you have an iPhone or iPod Touch and point your Safari browser to this blog you can now view it in optimised format, thanks&#8230;]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/iphone.jpg" style="float:left;margin-right:10px;"> If you have an iPhone or iPod Touch and point your Safari browser to <a href="https://lievenlebruyn.github.io/neverendingbooks/">this blog</a> you can now view it in optimised format, thanks to the <a href="http://iwphone.contentrobot.com/">iWPhone WordPress Plugin and Theme</a>. I&#8217;ve only changed the CSS slightly to have the same greeny look-and-feel of the current <a href="http://www.deanjrobinson.com/wordpress/redoable">redoable theme</a>.</p>
<p>Upgrading a WordPress-blog running under Tiger (Mac OS 10.4) to <a href="http://www.apple.com/macosx/">Leopard</a> produces a few anxiety moments. All of the standard tools (Apache, PHP and MySQL) seem no longer to work as before. For those of you who do not want to waste too much time over it, I&#8217;ll walk through the process.</p>
<p>After upgrading to Leopard you want to check whether your blog is still alive, so you fire up Safari and will be greeted by the message that Safari cannot find your server. Sure enough you forgot to start the WebServer in SystemPreferences/Sharing/Web Sharing. Having fixed this you will see the default Apache-screen because Leopard put these default-files in your webserver-root directory (/Library/WebServer/Documents). In case you installed your blog under a user account you will get a message that you enter forbidden territory, see below for the solution to that problem. Having removed all those index.html files (making sure NOT to delete the index.php of your blog) a more serious problem presents itself : you see the text-version of index.php meaning that PHP isnt working. You check the /etc/httpd/httpd.conf file and it still contains all the changes you made to it to get PHP running under Tiger, so what is going on?</p>
<p>Googling for something like &#8216;enabling PHP under Leopard&#8217; you&#8217;ll discover that the configuration file used by the webserver is in a different location. It now resides at /private/etc/apache2/httpd.conf. You will have to remove the hash sign (#) at the beginning of line 114 so that it reads</p>
<p class="code">LoadModule php5_module    libexec/apache2/libphp5.so
</p>
<p>Next, you have to create a php.ini file and change one line. The first thing is settled by the following Terminal-commands</p>
<p class="code">
cd /private/etc<br />
sudo cp php.ini.default php.ini
</p>
<p>and in the php.ini you have to modify line 305 so that it becomes (removing the latter part of the line)</p>
<p class="code">error_reporting = E_ALL
</p>
<p>Restarting the webserver enables PHP. If you need more details check out the article <a href="http://foundationphp.com/tutorials/php_leopard.php">Enabling PHP and Apache in Leopard</a>. However, you are not quite done yet. Your blog will now show the WordPress-page that something is wrong with your mysql-database. However, mysql seems to be running fine as you can check from the Terminal so PHP cannot find it.</p>
<p>To remedy this, you have to add the locations (after the = sign) in the follwing two lines of the php.ini file</p>
<p class="code">mysql.default_socket = /private/tmp/mysql.sock <br />
mysqli.default_socket = /private/tmp/mysql.sock</p>
<p>Restarting the webserver should resolve the problem. But then your blog can still choke on old PHP-code in one of the plugins you use. In my case I was using an ancient version of the <a href="http://michelf.com/projects/php-markdown/">PHP-Markdown plugin</a> but after replacing it with the newest version NeB looked just like I left it with Tiger&#8230;</p>
<p>A final point : webpages stored in personal Sites-folders cannot be served by Apache2 and will produce a message that you have not enough privileges to view the page. To resolve this, type the following command from the Terminal</p>
<p class="code">sudo cp /private/etc/httpd/users/*.conf  /private/etc/Apache2/users</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/neb-on-leopard-and-iphone/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>mathML and work ahead</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/mathml-and-work-ahead/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/mathml-and-work-ahead/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Thu, 08 Feb 2007 09:36:55 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[dvonn]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[latexrender]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[markdown]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[PPC]]></category>
		<category><![CDATA[sudoku]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=204</guid>

					<description><![CDATA[It has been a difficult design decision, but I‚Äôm going to replace the LaTeXRender WordPress Plugin for mathML as the default TeX-interface for NeverEndingBooks. I&#8230;]]></description>
										<content:encoded><![CDATA[<p>It has<br />
been a difficult design decision, but I‚Äôm going to replace the <a href="http://www.sixthform.info/steve/wordpress/">LaTeXRender WordPress<br />
Plugin</a> for <a href="http://www.w3.org/Math/">mathML</a> as the<br />
default TeX-interface for NeverEndingBooks. I will keep LaTeXRender on<br />
standby as I may have to use exotic packages or commands that iTeX does<br />
not deliver, but for most math-related posts, MathML will do the job<br />
nicely (as <a href="http://golem.ph.utexas.edu/category/">the n-category<br />
cafe</a> shows every day (or even more often)). Not that I stopped being<br />
a dilettante but I&#8217;m going to do most of my writings (including<br />
blog-posts) using <a href="http://www.literatureandlatte.com/">Scrivener</a> (more on this<br />
another time) and Scrivener supports <a href="http://fletcher.freeshell.org/wiki/MultiMarkdown">MultiMarkdown</a> and allows exporting to LaTeX and XHTML (using MathML).</p>
</p>
<p>I could never have pulled this off in such a short time without <a href="http://golem.ph.utexas.edu/~distler/blog/">Jacques Distler</a><br />
more or less on constant stand-by (thanks Jacques!). Looking at the<br />
times his emails were send I have no idea in which time zone he lives<br />
(let alone sleeps&#8230;). So, here a walk-through the changes :</p>
<p>As<br />
I&#8217;m on WP 2.0.5 I&#8217;ll start with Frederick&#8217; <a href="http://www.ibiblio.org/litlfred/mathBlog/projects/itextomml">post</a>. He tells me I have to install first the itex2MML binary as<br />
explained <a href="http://golem.ph.utexas.edu/~distler/blog/archives/000367.html">by<br />
Jacques</a> but I find that there is more recent <a href="http://golem.ph.utexas.edu/~distler/blog/itex2MMLcommands.html"><br />
material</a> and therefore download the most recent imath2MML-package<br />
and follow the readme. There is a Mac OSX binary but it&#8217;s not clear<br />
for what processor (PPC/Intel/Binary) but a quick mail to Jacques learns<br />
me that it&#8217;s PPC which is fine by me but on the spot he puts a<br />
universal binary online, so whatever your Mac is you can just download<br />
the binary, copy it to /usr/local/bin and make sure its chmodded<br />
755.</p>
<p>Back to Frederick&#8217;s <a href="http://www.ibiblio.org/litlfred/mathBlog/projects/itextomml">post</a>, download and install the plugin itexToMML.php in the usual way<br />
(fortunately I spot just in time that I have to change one line saying<br />
where my itex2MML binary is (in Frederick&#8217;s file it is NOT the default<br />
location)). You can verify whether the plugin and itex2MML do what they<br />
are supposed to do by typing a LaTeX-command in a post and save it. The<br />
output will not produce the desired formula but have a look at the<br />
source file and see whether there is some mathML code in it. If so,<br />
fine! If not, go back and check everything.</p>
<p>If this works, it is<br />
&#8220;merely&#8221; a problem of getting your mathML served. Frederick suggests<br />
to unpack wordpress_mathML.zip in the wp-includes directory (but you<br />
better make sure you have made a copy of the original class.php and<br />
functions-formatting.php files. In the end I decided against this<br />
approach (that is, to replace only the functions-formatting.php but NOT<br />
the class.php file). If you have two or more themes you want to<br />
maintain, it is probably better to change the headers (because this is<br />
what we have to do to get mathML served) only in those themes which are<br />
XML-sound. In my case, the Command Line Interface theme most certainly is NOT!!!).</p>
<p>Go to your<br />
theme-files and look for the header.php (or similar) file and replace<br />
the default header by the code in the addendum to <a href="http://golem.ph.utexas.edu/~distler/blog/archives/000367.html"><br />
this post</a> within php-tags. If you can go to your blog-page then you<br />
are in good shape and things should work well (apart possibly from<br />
layout considerations, see below). Of course, in my case i was greeted<br />
by &#8221; XML &#8220;yellow screen of death&#8221; (as Jacques calls<br />
it) and I was convinced I did something wrong, so I tried out several<br />
useless things for a couple of hours before it dawned on me that the<br />
reason might just be that my blog-files were not valid XHTML (and the<br />
new headers are very demanding on serving only well-form XHTML). I had<br />
to modify all changes I made to sidebars etc. as well as rewrite parts<br />
of my first posts (I used to take a rather liberal view on writing<br />
blog-posts, writing a mixture between Markdown and improvised HTML and<br />
in the process was very lax about closing IMG-tags and the likes).<br />
But after some time and numerous corrections to the files I got the<br />
main-page up and running (and even had the mathML served as a readable<br />
formula) apart from the fact that I barely recognized my own site.</p>
<p>I printed out source files of the page with and without changed<br />
headers and couldn‚Äôt find a difference. So, it had to do with the<br />
CSS-style files, but why on earth would the new headers be picky about<br />
CSS? But as a last resort, after narrowing the search down to one<br />
CSS-line, I asked Jacques whether he had an idea what went on. His reply<br />
will be remembered for quite some time :</p>
<blockquote><p>A fascinating<br />
question.  The answer is that it *is* following the CSS directive, but<br />
in XHTML, &#8216;body&#8217; is not what you think it is.  &#8216;body&#8217; is just big enough<br />
to contain its content. It does not fill the viewport. &#8216;html&#8217; fills the<br />
viewport.  The solution (a solution) is described in<br />
http://golem.ph.utexas.edu/~distler/blog/archives/000203.html
</p></blockquote>
<p>Many hours later, I still haven‚Äôt got a clue what<br />
this is all about, but I blindly followed the hint and surely all<br />
problems vanished. In short, another day wasted in front of a<br />
computer-screen.</p>
<p>At the moment I&#8217;m back to old headers and<br />
will not be writing mathML for some time as I have the vast job ahead to<br />
validate all my previous posts to XHTML-standards (if not you would see<br />
more yellows screens of death than anything else. So, here‚Äôs the<br />
strategy I&#8217;ll be taking in the weeks ahead (I&#8217;ll sleep on it tonight<br />
so if any of you think there is a better way, reply quickly)</p>
<ul>
<li>rewrite each and every post in proper MultiMarkdown using iTeX for<br />
the most common math and only resorting to LaTeXRender for exotic things<br />
(such as Sudoku, Chess, Dvonn) and run these posts through Markdown<br />
(to get basic HTML and all links in place).</li>
<li>download these<br />
files to the WP-database (so that in the CLI-interface you will be able<br />
to follow all links, but will read all iTeX as TeX-commands (as the<br />
command line intended after all).</li>
<li>in the process change all<br />
broken links to the default permalink-structure (with index.php?p=231 or<br />
so).</li>
</ul>
<p>Clearly, this is a work that will take a couple of<br />
weeks but it may be fun to reread these old posts and possibly add new<br />
information about the subjects. When I‚Äôm making these changes, I‚Äôll<br />
use the new headers so if you are using a smart browser look out for the<br />
yellow screens. When they happen, either use a dumb browser (such as<br />
Safari) or go into CLI-interface mode where everything should still<br />
work. I plan to start with the oldest posts as this seems more fun to<br />
me.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/mathml-and-work-ahead/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>command line interface</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/command-line-interface/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/command-line-interface/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Wed, 07 Feb 2007 08:43:21 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[latexrender]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[markdown]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[PPC]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=228</guid>

					<description><![CDATA[Way back in 1999 I read Neal Stephenson&#8217;s pamphlet In the Beginning ! Was the Command Line and decided I should and would have Linux&#8230;]]></description>
										<content:encoded><![CDATA[<p>Way<br />
back in 1999 I read Neal Stephenson&#8217;s pamphlet <a href="http://www.amazon.co.uk/Beginning-Was-Command-Line-Neal-Stephenson/dp/0380815931/sr=8-11/qid=1170864554/ref=pd_ka_11/203-3776750-7074362?ie=UTF8&amp;s=books">In the Beginning ! Was the Command Line</a> and<br />
decided I should and would have Linux running on my clamshell iBook.<br />
Needless to say this was (a) a foolish idea and (b) not entirely trivial<br />
in those dark OS 9-days. Still, I somehow managed with the help op <a href="http://lowendmac.com/ppclinux/index.html">PPC Linux</a> and was<br />
proudly wearing their T-shirt (at least for a couple of weeks in early<br />
2000). Fortunately, as a <a href="http://www.kernelthread.com/mac/osx/history.html">brief OS X<br />
history</a> recalls, OS X was released March 24, 2001 and put an end to<br />
my Linux-folly and I&#8217;m pretty certain even Neal Stephenson is on Mac OSX<br />
these days.</p>
<p>Needless to say I couldn&#8217;t resist installing the <a href="http://themes.wordpress.net/columns/1-column/1418/cli-10/"><br />
Wordpress CLI-theme</a> the moment I spotted it! A command line<br />
interface to your blog! awesome! If you want to have a go at the<br />
original version, take a look at <a href="http://blog.elinc.ca/rodcli/index.php">Rod McFarland&#8217;s blog</a>.<br />
Just type &#8216;ls&#8217; to the prompt and you&#8217;ll be hooked. Or you can have a<br />
look at the command line interface of NeverEndingBooks by going to the<br />
left sidebar and clicking CLI under the &#8216;Command Line Version&#8217; header<br />
(don&#8217;t be afraid you can always come back by clicking on the<br />
GUI-interface over there). My design is black on a light-gray background<br />
and is no where near as cool as the original theme but it was the only<br />
quick way around some limitations of the CLI-theme.</p>
<p>The<br />
CLI-theme operates as a front-end via a small interpreter which draws<br />
the information directly from the WordPress-database. As a result you<br />
loose the effect of all post-processing by plugins such as <a href="http://www.michelf.com/projects/php-markdown/">Markdown</a> and <a href="http://www.sixthform.info/steve/wordpress/">LatexRender</a> two of<br />
the plugins I use most! I could still live with the idea that pure LaTeX<br />
was served to a CLI-environment between tex-tags, but surely I didn&#8217;t<br />
want to loose all my links! The quick (and extremely dirty) way around<br />
it was to resubmit the relevant part of the HTML-source files of the<br />
GUI-frontend posts to the WP-database. And to serve the same LaTeX-gifs<br />
to the GUI and CLI interface I needed the backgound to be rather light<br />
gray (taking #BDBDBD gray would have been much nicer wrt. the cool<br />
rasterized grayed-images but then some of the more recent LaTeX-gifs<br />
became partially unreadable). Oh, and in the process I had to update the<br />
permalink structure, thereby wrecking allmost all internal<br />
reference-links (but I&#8217;ll sort them out soon, I promise). </p>
<p>So, a<br />
lot of work for a rather meagre result. What do I like about the<br />
CLI-interface (apart from old time nostalgia)? I really like the<br />
searching facility. Just type &#8216;search yourword&#8217; to the prompt and it<br />
will give you all posts containing that word (much quicker than in the<br />
GUI-interface) and if you remember at least one word from a post-title,<br />
feeding it to the prompt will give you the entire post (or a list of<br />
posts if the same word appears in different posts). Try out typing<br />
&#8216;Perelman&#8217; to see what I mean. Besides, bots don&#8217;t seem to know what to<br />
do with the CLI-interface so for the few days I had this theme as my<br />
default theme I was alone on NeverEndingBooks mast of the time (which<br />
helped a lot having to change that many posts). So, whenever I want to<br />
have the site to myself I&#8217;ll just change the default theme from now<br />
on.</p>
<p>Still, I did put back the old GUI as default because the<br />
CLI-theme still has a few drawbacks. Such as, it is impossible to write<br />
a sizable comment (not that too many of you do this, but anyway) and<br />
some other quirks. Still Rod McFarland is working on a version 2 (and<br />
even set up a <a href="http://code.google.com/p/wordpress-cli/">google-group</a> for<br />
those who want to code along, and maybe I&#8217;ll join the effort) which<br />
promises a great improvement and I&#8217;m rather confident that by version<br />
3.14 it will be in a state that I&#8217;ll have the CLI-interface as my<br />
default. Until then, I&#8217;ll keep up the two front-ends and allow you to<br />
toggle as you like (your browser will remember your preference).</p>
<p><img decoding="async" src="https://lievenlebruyn.github.io/neverendingbooks/DATA/commandline.jpg"></img></p>
<p>I realize most of you are youngsters and not of my cpu2<br />
generation so have a hard time imagining how exiting a command line<br />
prompt is. Fortunately, Neal Stephenson has made the full text of ‚ÄúIn<br />
the beginning ! was the command line‚Äù <a href="http://www.cryptonomicon.com/beginning.html">available</a> as a<br />
free download. Print it out and enjoy!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/command-line-interface/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>minute changes</title>
		<link>https://lievenlebruyn.github.io/neverendingbooks/minute-changes/</link>
					<comments>https://lievenlebruyn.github.io/neverendingbooks/minute-changes/#respond</comments>
		
		<dc:creator><![CDATA[lieven]]></dc:creator>
		<pubDate>Thu, 28 Dec 2006 08:40:03 +0000</pubDate>
				<category><![CDATA[web]]></category>
		<category><![CDATA[geometry]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[noncommutative]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://www.neverendingbooks.org/?p=226</guid>

					<description><![CDATA[These lazy days between christmas and new-year&#8217;s eve are ideal to do finally those things one would like to postpone indefinitely. Here is a list&#8230;]]></description>
										<content:encoded><![CDATA[<p>These<br />
lazy days between christmas and new-year&#8217;s eve are ideal to do finally<br />
those things one would like to postpone indefinitely. Here is a list of<br />
the tiny changes made to this blog :    At last, an upgrade from <a href="http://codex.wordpress.org/Upgrading_WordPress">WordPress version<br />
2.0 to 2.0.5</a>. Something I always defer because of the warnings to<br />
back up databases and all changed files and preferences (and as I have<br />
these sporadic periods of changing the PHP-code to my taste, I tend to<br />
forget the changes I&#8217;ve made). Still, things went smoothly as far as I<br />
can detect, the only problem I encountered was following the<br />
instructions to the letter, such as   </p>
<blockquote><p> Special Exception:<br />
the wp-content/cache folder should be deleted. </p></blockquote>
<p>   when what<br />
they really mean is that one should only delete the<br />
<strong>contents</strong> of the cache-directory. So, I had a 5-second<br />
scare starting up the homepage and being greated with an error message<br />
saying something to the effect that WP couldn&#8217;t write to this directory.<br />
   Apart from security reasons, this upgrade was necessary to install<br />
some <a href="http://codex.wordpress.org/Plugins">WordPress Plugins</a>.<br />
Top of my wish-list being <a href="http://www.sargant.com/blog/wordpress-plugins/rs-discuss/">RS-<br />
Discuss</a>.   </p>
<blockquote><p> RS Discuss is a brand new, tiny, lightweight<br />
wordpress forum plugin that is entirely self-contained and integrates<br />
tightly and seamlessly into your existing WordPress website. Despite its<br />
size, it&#8217;s got everything that makes a forum a useful tool: <br /> Full<br />
integration with WordPress&#8217; own user system<br /> Multiple forum<br />
setup<br /> RSS feeds for forums, topics and user activity to keep<br />
track<br /> Search capabilities<br /> Sidebar widget integration<br />
Totally customisable, including different setups for different themes<br
/> Fully featured mdoerator controls including pinning and locking<br />
topics<br /> Clean uninstall if you don&#8217;t like it <img src='https://lievenlebruyn.github.io/neverendingbooks/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p></blockquote>
<p>   So, if<br />
you like to make your own contribution to this site (apart from<br />
commenting), the forums (note to old schoolmates : i know it should<br />
really be fora&#8230;) are open to all from the <a href="https://lievenlebruyn.github.io/neverendingbooks/index.php/forum/">top menu :<br />
forum</a>. At present I&#8217;ve only set up a forum dedicated to discussions<br />
on noncommutative algebra/geometry but if you like other discussions,<br />
you will find a way to let me know.     Below each post you will now<br />
find a collection of colourful logos. They enable someone who registered<br />
to one of the may social-bookmarking sites to add the post to their<br />
bookmarks. Here, I used the <a href="http://push.cx/sociable">Sociable<br />
plugin</a>. Last year I had a brief period experimenting with CiteULike<br />
(see <a href="https://lievenlebruyn.github.io/neverendingbooks/index.php/2006/01/13/citeulike/"><br />
this post</a> ) and I intend to explore some of these bookmarking<br />
systems further over the coming months.    I&#8217;ve moved <a href="http://www.math.ua.ac.be/~lebruyn/">My Online Publication Page</a><br />
over to this blog using the <a href="http://sergioandreozzi.com/wordpress/bib2html/">bib2html<br />
plugin</a>. It is now avalable from the <a href="https://lievenlebruyn.github.io/neverendingbooks/index.php/publications/">top menu<br />
: biblio</a>. Every publication has its own BibTeX-popup link as well as<br />
a link to the full PDF-file of the preprint version of the paper or book<br />
(which may differ slightly from the published version). This page will<br />
soon replace the older MOPP-page.    I&#8217;ve moved the Archives of this<br />
blog to the <a href="https://lievenlebruyn.github.io/neverendingbooks/index.php/archive/">top menu :<br />
archive</a> using the <a href="http://justinblanton.com/projects/smartarchives/">Smart Archives<br />
Plugin</a> which gives a much better way to read though the past of<br />
NeverEndingBooks. Actually getting this plugin to work did cost me some<br />
time and (security)-worries, but these are solved, I hope. I you cannot<br />
get it to work under WP-2.0.5, contact me and I&#8217;ll hopefully still<br />
remember what I did.    The default Calendar is replaced by an <a href="http://www.apple.com/macosx/features/ical/">iCal</a>-subscribable<br />
calendar using the <a href="http://wpcal.firetree.net/">Event Calendar<br />
Plugin</a>. So far, I haven&#8217;t added upcoming events yet, but it seemed<br />
like a good thing to have when our masterclass-noncommutative geometry<br />
starts next semester. Note to Self : Event Calendar is incompatible with<br />
the Sociable-plugin, so deactivate it when you want to add a new event.<br />
  And then there are some totally useless plugins which I just couldnt<br />
resist to install. Such as the <a href="http://eightface.com/wordpress/mystatus/">mystatus plugin</a><br />
which offers an easy way to let you know what keeps me bizzy these days<br />
(you will find it in the left-hand sidebar) or the <a href="http://www.georss.org/trac/trac.cgi/wiki/GeoPress">GeoPress<br />
plugin</a> which enables me to add google-maps to whatever post I like.<br />
For instance, as you may have guessed, I wrote this post from our home<br />
and as google-maps of Antwerp have improved drasticly, you can zoom in<br />
to my environment to any level of detail you feel appropriate&#8230;</p>
<p />    INSERT_MAP    </p>
<p /> Added : this map seems to work with<br />
Firefox, Flock and Camino under MacOSX but not with Safari. If you<br />
happen to know why, please let me know.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lievenlebruyn.github.io/neverendingbooks/minute-changes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
