<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-20301835</id><updated>2012-01-06T23:03:41.662Z</updated><title type='text'>jerichoblog</title><subtitle type='html'>linux and windows tips, mathematics, and some recipes</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20301835.post-79652861266326036</id><published>2007-08-27T17:13:00.001+01:00</published><updated>2007-08-27T17:13:31.450+01:00</updated><title type='text'>How many Asian countries can you name?</title><content type='html'>Much more challenging than the 50 states quiz.  If you think you know Asia, this site will really test you.  Watch out for the former Soviet states and the territories of South East Asia.&lt;br/&gt;&lt;br/&gt;&lt;a href='http://quizzes-online.com/asia'&gt;read more&lt;/a&gt; | &lt;a href='http://digg.com/playable_web_games/How_many_Asian_countries_can_you_name'&gt;digg story&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-79652861266326036?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/79652861266326036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=79652861266326036' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/79652861266326036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/79652861266326036'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2007/08/how-many-asian-countries-can-you-name.html' title='How many Asian countries can you name?'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-4613686189814124927</id><published>2007-07-30T15:23:00.002+01:00</published><updated>2010-08-25T00:11:51.088+01:00</updated><title type='text'>Name the 48 Counties of England</title><content type='html'>Continuing the venerable tradition of online geography quizzes, this page tests your knowledge of the 48 Ceremonial Counties of England.  As you name the counties, the names are pinned to a map of England.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://quizzes-online.com/map/counties.html"&gt;read more&lt;/a&gt; | &lt;a href="http://digg.com/playable_web_games/Name_the_48_Counties_of_England"&gt;digg story&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-4613686189814124927?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/4613686189814124927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=4613686189814124927' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/4613686189814124927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/4613686189814124927'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2007/07/name-48-counties-of-england.html' title='Name the 48 Counties of England'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-5485253229449278352</id><published>2007-03-29T15:52:00.000+01:00</published><updated>2007-03-29T16:17:49.257+01:00</updated><title type='text'>SIM card rejected?  Phone doesn't ring?</title><content type='html'>I have a very basic mobile (cell) phone, bought simply to make and receive phone calls.  After a year, I started getting the message "SIM card rejected" with increasing frequency, requiring me to restart the phone.  Of most concern to me was that I might be missing calls during the periods of rejection.  I took the phone (a Nokia 3120) to my local Orange shop where I was told that the phone might be dying on me and that I would have to get a new one.  I was not pleased!&lt;br /&gt;&lt;br /&gt;A few more months elapsed and I found that the phone had stopped ringing, though the vibrating alert continued to work.  I checked my phone settings to make sure that it was set to ring.  Everything seemed to be set up OK, and the phone was still producing bleeps, suggesting that the hardware was working properly.  Again, I took the phone to the Orange shop and was told I'd have to buy a new phone.  Given my belief that the hardware was operational, I decided not to give up on the phone.  I turned to the user manual and found how to restore the factory settings.  Having done this, my problems disappeared.  Note that the contacts list and text messages stay intact after the restoration.  If you have a similar phone, I've copied the instructions below:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;Restore factory settings&lt;/span&gt;&lt;br /&gt;To reset some of the menu settings to their original values, press Menu, and select Settings and Restore factory settings. Key in the security code and press OK. Note that the data you have keyed in or downloaded, for example, the names and phone numbers saved in the contacts list are not deleted.&lt;/blockquote&gt;More troubleshooting information is available from &lt;a href="http://www.nokiausa.com/support/repair/main/1,2846,,00.html#Step1"&gt;Nokia&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-5485253229449278352?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/5485253229449278352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=5485253229449278352' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/5485253229449278352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/5485253229449278352'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2007/03/sim-card-rejected-phone-doesnt-ring.html' title='SIM card rejected?  Phone doesn&apos;t ring?'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-3316038844259772240</id><published>2007-02-13T22:18:00.000Z</published><updated>2007-02-13T22:19:35.359Z</updated><title type='text'>Amateur Mathematicians</title><content type='html'>&lt;center&gt;&lt;a rel="nofollow" href="http://en.wikipedia.org/wiki/List_of_amateur_mathematicians"&gt;&lt;img src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Hgrassmann.jpg/200px-Hgrassmann.jpg" /&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;Pierre de Fermat is the best known amateur mathematician, but the story of Grassman is much sadder. Something of a mathematical Van Gogh, he created the subject of linear algebra single-handedly, devised the first axiomatisation of arithmetic, and much else besides. His work was rejected by almost all professional mathematicians of the day, including Möbius and Kummer. Unlike Van Gogh, he didn't end up killing himself, but became a noted philologist instead!&lt;br /&gt;&lt;br /&gt;Another case of a neglected mathematician is Kurt Heegner who solved Gauss' class number problem for imaginary quadratic fields (finding all nine such fields of class number 1). His proof was dismissed by the mathematical community until 1967 when Harold Stark developed a proof and showed it to be equivalent to Heegner's. Unfortunately, Heegner had died two years earlier.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-3316038844259772240?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/3316038844259772240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=3316038844259772240' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/3316038844259772240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/3316038844259772240'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2007/02/amateur-mathematicians.html' title='Amateur Mathematicians'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-115376646345028793</id><published>2006-07-24T19:35:00.000+01:00</published><updated>2006-07-24T19:42:05.313+01:00</updated><title type='text'>How to log in to your Motorola WR850G wireless router</title><content type='html'>&lt;h3&gt;Question&lt;br /&gt;&lt;/h3&gt;&lt;blockquote&gt;Dear Sir/Madam,&lt;br /&gt;&lt;br /&gt;I can't access the control panel on my WR850G.  I bought the unit in March and managed to set it up just fine.  I enabled WPA-PSK and MAC-based authentication and disabled DHCP (as I was using another device as a router).  I've had no problems with it since then, until just now when I bought a new laptop.&lt;br /&gt;&lt;br /&gt;Naturally, I needed to access the control panel in order to enter the MAC address of my new wireless adapter.  Unfortuately, nothing happens when I try accessing 192.168.10.1 on my web browser (even using the machine which can get a wireless service from the router).  I get a ping response from 192.168.10.1 if I change my IP address to 192.168.10.2.&lt;br /&gt;&lt;br /&gt;I've tried resetting the router (by holding the reset button for 30 seconds while the power is on).  This seems to have no effect and the router continues to transmit the old SSID.&lt;br /&gt;&lt;br /&gt;I've also tried running the installation utility which came with the router.  This works OK until it gets to the "detecting router" stage, and then stops.&lt;br /&gt;&lt;br /&gt;Basically, I can use the router fine as a wired switch, and I can use it as a wireless access point with exactly one wireless adapter (the one whose MAC address I'd entered into the router using the control panel).  I cannot access the control panel, hence cannot add the MAC address of my new laptop.&lt;br /&gt;&lt;br /&gt;I would very much appreciate any help you can provide me with in solving this problem.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Answer&lt;br /&gt;&lt;/h3&gt;&lt;blockquote&gt;Hello Gihan&lt;br /&gt;try this hook the router to the xp computer  remove the modem from the router  so just 1 eithernet cable going from one of the 4 lan ports on the back of the  router and the other end to the back of the pc  now  go to start , then click on  control panell&lt;br /&gt;now click on internet and network connection then click on net work connection&lt;br /&gt;or you may just see network connection   now  right click the local area connection and go and left click properties&lt;br /&gt;now high light internet protocal tcp/ip and then click on properties&lt;br /&gt;now  put the dot in use the following ip address Then type each of the next  but subnet mask should auto populate&lt;br /&gt;IP=192.168.10.4&lt;br /&gt;subnet mask 255.255.255.0&lt;br /&gt;default gateway=192.168.10.1&lt;br /&gt;Then click on ok  then close&lt;br /&gt;now open up internet exploror or  mozilla  and in the address bar type  192.168.10.1 and see if you can get to the log in screen if you cant  you will need to call the # below and talk to our tech support team there incase the router is faulty&lt;br /&gt;let them know what we already did so they dont have to redo what weve already done&lt;br /&gt;Thank you for chooseing motorola&lt;br /&gt;If you need further assitant  please respond to this email or contact us by 1877 466 8646&lt;br /&gt;Thank you for choseing motorola you have a great day&lt;br /&gt;Charlotte&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-115376646345028793?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/115376646345028793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=115376646345028793' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/115376646345028793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/115376646345028793'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/07/how-to-log-in-to-your-motorola-wr850g.html' title='How to log in to your Motorola WR850G wireless router'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-115367353526023363</id><published>2006-07-23T17:27:00.000+01:00</published><updated>2006-07-23T20:48:26.186+01:00</updated><title type='text'>Using Xfig with LaTeX</title><content type='html'>Xfig is a program used to create drawings with lines, arcs, and splines.  LaTeX is a document preparation tool.  How do you use them together?  I'll discuss a technique which allows you to use LaTeX strings within your figures (for mathematics, Greek text, etc).  The first thing you'll need is the following entries in your LaTeX preamble:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;\usepackage[dvips]{graphicx}&lt;br /&gt;\usepackage{color}&lt;/blockquote&gt;The first package is essential for working with graphics in LaTeX, the second is needed because Xfig enters colouring commands into its LaTeX output (even if all the output is black).  Fire up Xfig with the following options:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;xfig -specialtext -latexfonts -startlatexFont default&lt;/blockquote&gt;If you don't want to do this every time, just add the following entries to your .Xresources file:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;Fig.latexfonts: true&lt;br /&gt;Fig.specialtext: true&lt;/blockquote&gt;Go ahead and make your figure.  You can enter LaTeX strings as text, these will later be converted by LaTeX into beautiful mathematics.&lt;br /&gt;&lt;br /&gt;When you're done with the figure, save it in the same directory as your LaTeX file, let's suppose you name the figure myfig.fig.  Export the file as "Combined PS/LaTeX (both parts)".  This will make two new files, myfig.pstex and myfig.pstex_t.  When you need to use the file in your LaTeX document, enter something like:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;\begin{figure} [ht]&lt;br /&gt;\input{myfig.pstex_t}&lt;br /&gt;\caption{My figure}&lt;br /&gt;\label{some_label}&lt;br /&gt;\end{figure}&lt;/blockquote&gt;You might not be able to see the effects in the dvi file, but you should be able to see your figure if you run &lt;span style="font-family:courier new;"&gt;dvips mytexfile.dvi&lt;/span&gt; to create a PostScript file.&lt;br /&gt;&lt;h3&gt;Working with PDFLaTeX&lt;/h3&gt;Similar principles apply if you want to end up with a pdf.  Of course one simple solution is to run ps2pdf on your ps file from the previous section, but you may end up losing some pdf-specific features, such as hyperlinks.  The recommended alternative is to run pdflatex instead of LaTeX.  You'll need some changes to the preamble:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;\usepackage[pdftex]{graphicx,color}&lt;br /&gt;\DeclareGraphicsRule{.pdftex}{pdf}{*}{}&lt;/blockquote&gt;You use Xfig much as before, but this time you export the figure to "Combined PDF/LaTeX".  This will produce files myfig.pdftex and myfig.pdftex_t.  The latter file replaces myfile.pstex_t in the body of your LaTeX document.  When using pdflatex, make sure that your Xfig is in the correct orientation (usually portrait).&lt;br /&gt;&lt;br /&gt;Most of the information is this post was gleaned from the &lt;a href="http://www.xfig.org/userman/latex_and_xfig.html"&gt;Xfig website&lt;/a&gt;, which contains much more information on using LaTeX with Xfig.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-115367353526023363?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/115367353526023363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=115367353526023363' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/115367353526023363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/115367353526023363'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/07/using-xfig-with-latex.html' title='Using Xfig with LaTeX'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-115297463683180187</id><published>2006-07-15T15:23:00.000+01:00</published><updated>2006-07-15T15:47:36.416+01:00</updated><title type='text'>Creating a Bootable Windows XP Setup CD</title><content type='html'>There are a number of reasons why you may need such a CD:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Your copy of Windows came preinstalled, and you'd like to have a backup in case something goes wrong.&lt;/li&gt;&lt;li&gt;You want a 'slipstreamed' setup disk, i.e. a setup disk which will install XP Service Pack 2 as part of a full install.&lt;/li&gt;&lt;li&gt;You want access to the Windows Recovery Console.&lt;/li&gt;&lt;/ul&gt;I actually fall into the last category — having decided to remove Debian Linux from my computer, I also wanted to remove its boot loader, GRUB, and replace it with the Windows boot loader.  Unfortunately, this can only be done using the fixmbr program which comes with the Windows Recovery Console!&lt;br /&gt;&lt;br /&gt;If you already have a Windows Setup CD, then all you need to do is to follow the instructions given in &lt;a href="http://winsupersite.com/showcase/windowsxp_sp2_slipstream.asp"&gt;Paul Thurrott's&lt;/a&gt; web site.  However, if you have a preinstalled version of Windows, you may find that the contents of the Setup CD are located somewhere on your hard drive.  In my case, (with an Acer TravelMate 4151LMi) the Setup files are in C:\i386.  You need to follow the instructions in &lt;a href="http://www.nu2.nu/bootcd/wxp/"&gt;Bart Lagerweij's&lt;/a&gt; web site to create a bootable CD from the Setup files.&lt;br /&gt;&lt;br /&gt;If you have SP2 then you'll also need to 'slipstream' the Service Pack.  Unless you already have the Service Pack file, you'll need to download it from Microsoft.  Instructions for downloading and slipstreaming are given as Steps 2 and 3 in &lt;a href="http://winsupersite.com/showcase/windowsxp_sp2_slipstream.asp"&gt;Paul Thurrott's&lt;/a&gt; web site (you need to modify the instructions a little to work with Bart's procedure).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-115297463683180187?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/115297463683180187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=115297463683180187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/115297463683180187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/115297463683180187'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/07/creating-bootable-windows-xp-setup-cd.html' title='Creating a Bootable Windows XP Setup CD'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114768249320185070</id><published>2006-05-15T08:30:00.000+01:00</published><updated>2006-05-15T11:04:03.576+01:00</updated><title type='text'>Remote Mathematica use for Linux / Cygwin</title><content type='html'>Unless you can afford to shell out the long green for a Mathematica licence, you may be in the situation where you have to be physically present at a University computer in order to use it.  The other possibility is to remotely log-in via ssh and the X Window system.  If you choose the latter path, it is crucial that you have the appropriate fonts installed on your computer, otherwise Mathematica will present you with goobledegook instead of mathematics.&lt;br /&gt;&lt;br /&gt;I'm assuming here that you are using Linux or Cygwin.  I don't know how this works for native Windows, but would be happy for any enlightenment.  As a root user, carry out the following commands:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The first step is to download the &lt;a href="http://support.wolfram.com/mathematica/systems/linux/general/latestfonts.html"&gt;Mathematica fonts&lt;/a&gt; from the Mathematica web site.&lt;/li&gt;&lt;li&gt;Create a Mathematica subdirectory of &lt;span style="font-family:courier new;"&gt;/usr/lib/X11/fonts&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Copy the downloaded files to &lt;span style="font-family:courier new;"&gt;/usr/lib/X11/fonts/Mathematica&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Untar the files (with &lt;span style="font-family:courier new;"&gt;tar zxvf &lt;span style="font-style: italic;"&gt;filename&lt;/span&gt;&lt;/span&gt;, for each downloaded file called filename).&lt;/li&gt;&lt;li&gt;Make sure the permissions are set correctly on the files.  You may have to run &lt;span style="font-family:courier new;"&gt;chmod -R 750 /usr/lib/X11/fonts/Mathematica&lt;/span&gt;.  Essentially, just make sure that the new font files have the same permissions and ownership as all other font files on your system.&lt;/li&gt;&lt;/ul&gt;This is where the instructions for Cygwin and Linux vary.  For Cygwin, enter the following lines into your .xinitrc file as an ordinary user (the file will be in your home directory):&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;xset fp+ /usr/lib/X11/fonts/Mathematica/BDF&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;xset fp+ /usr/lib/X11/fonts/Mathematica/Type1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;xset fp+ /usr/lib/X11/fonts/Mathematica/PCF&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;xset fp rehash&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;You will then have to restart X for the changes to take effect (or, if you are impatient, you can enter the above lines into your command shell for an immediate change).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Troubleshooting:&lt;/span&gt;  You may find that the font paths are set correctly when you enter the above commands (check by typing &lt;span style="font-family:courier new;"&gt;xset q&lt;/span&gt;), but aren't set properly when you restart Cygwin.  This is probably because you aren't starting X from the startx command, and hence .xinitrc is being bypassed.  You'll have to modify a different file.  If you're using the fvwm window manager, place the above commands in the .xinitrc-fvwm file instead.  If you use the XWin window manager, add the lines to your .bash_profile (this is a set of commands which is run for every login shell).  If you use many window managers, it may be more efficient to keep the above lines in a separate file (e.g. &lt;span style="font-family:courier new;"&gt;~/.mathemata-fontset&lt;/span&gt;) and then run this file from each of the startup files.&lt;br /&gt;&lt;br /&gt;The above technique will work with Linux too, but is somewhat non-standard.  The standard approach for Linux would be to enter the font paths into your XF86Config file (or your xorg.conf file if you use xorg).  Just add the following lines to the "Files" section of &lt;span style="font-family:courier new;"&gt;/etc/X11/XF86Config&lt;/span&gt; (or the appropriate configuration file on your system):&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;FontPath "/usr/lib/X11/fonts/Mathematica/BDF"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;FontPath "/usr/lib/X11/fonts/Mathematica/Type1"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;FontPath "/usr/lib/X11/fonts/Mathematica/PCF"&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;That's it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114768249320185070?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114768249320185070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114768249320185070' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114768249320185070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114768249320185070'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/05/remote-mathematica-use-for-linux.html' title='Remote Mathematica use for Linux / Cygwin'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114686626493005823</id><published>2006-05-05T22:45:00.000+01:00</published><updated>2007-03-23T12:59:16.074Z</updated><title type='text'>Firefox keyboard scrolling problems?</title><content type='html'>If you don't want to the read the whole article, I'll sum it up briefly: turn off caret browsing!&lt;br /&gt;&lt;br /&gt;Firefox has a feature called caret browsing, which can be enabled / disabled by clicking F7 or ticking the checkbox under Tools -&gt; Options -&gt; Advanced -&gt; General and "Allow text to be selected with the keyboard" (or "Always use the cursor keys to navigate within pages" for Firefox 2).  This is somewhat misleading as text can be selected with the keyboard even without caret browsing.  The &lt;a href="http://www.mozilla.org/access/keyboard/proposal#IX._Differences_Between_Caret_Browsing_"&gt;main difference&lt;/a&gt; is that the keyboard navigation keys (e.g. the cursor keys, PgUp, etc.) will affect the caret rather than the page location.&lt;br /&gt;&lt;br /&gt;In short, if you find that the keyboard navigation keys don't act as you expect them to, turn off caret browsing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114686626493005823?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114686626493005823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114686626493005823' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114686626493005823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114686626493005823'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/05/firefox-keyboard-scrolling-problems.html' title='Firefox keyboard scrolling problems?'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114459355129282176</id><published>2006-04-09T15:39:00.000+01:00</published><updated>2006-04-10T18:04:55.620+01:00</updated><title type='text'>Reviews: Kernighan and Pike, The UNIX Programming Environment</title><content type='html'>&lt;div style="float:right; margin-left:10px; margin-bottom:10px;"&gt;&lt;a href="http://www.amazon.co.uk/exec/obidos/redirect?link_code=as2&amp;path=ASIN/013937681X&amp;tag=abudinjeric-21&amp;camp=1634&amp;creative=6738"&gt; &lt;img src="http://static.flickr.com/49/125550898_ff36a3736c_m.jpg" alt="" style="border: 2px solid rgb(0, 0, 0);" /&gt;&lt;/a&gt;&lt;/div&gt; A real classic of its genre, this is the first book ever written on UNIX, published in 1984 and still in print today. While some of the details may have changed, the book remains relevant by expounding timeless principles of good programming practice.&lt;br /&gt;&lt;br /&gt;The authors are true gods in the pantheon of computer science. They worked together at Bell Labs in the early days of UNIX and have since been instrumental in the development of computing. Rob Pike co-developed UTF-8 with Ken Thompson and now works at Google. Brian Kernighan[1] co-wrote &lt;a href="http://www.amazon.co.uk/exec/obidos/redirect?link_code=as2&amp;path=ASIN/0131103628&amp;tag=abudinjeric-21&amp;camp=1634&amp;creative=6738"&gt;The  C Programming Language&lt;/a&gt;&lt;img src="http://www.assoc-amazon.co.uk/e/ir?t=abudinjeric-21&amp;l=as2&amp;o=2&amp;a=0131103628" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /&gt; with Dennis Ritchie, a book widely regarded as the bible of C. Kernighan is now a professor at Princeton University.&lt;br /&gt;&lt;br /&gt;The wit and sagacity of these men is evident in their book. Each new idea is fully reasoned out and they take delight in presenting novel solutions with the minimum of raw material. My favourite example is their 'bundle' shell script from Chapter 3. This is a 10-line program which creates self-extracting archives by using the principle of 'here documents'.&lt;br /&gt;&lt;br /&gt;In content, the book is split into two parts. The first four chapters deal with the details of using UNIX: simple commands, the file system, interacting with the shell, pipes, redirection, and a little on awk, grep, and sed. Chapters 5 through 9 are more directly concerned with programming. In particular, shell programming is covered in Chapter 5, culminating in the development of a version control system! Chapters 6 and 7 discuss the stdio library and UNIX system calls. Chapter 8 brings it all together with the implementation of 'hoc', a programmable calculator. Kernighan and Pike take the time to develop it organically, building up hoc from a simple four-function calculator. This chapter introduces the yacc parser generator and the lex lexical analyzer generator. As a matter of historical interest, document preparation using troff is discussed in Chapter 9 — this system is used to create UNIX manual pages.&lt;br /&gt;&lt;br /&gt;The only real drawback of this 20 year old book is that some of the examples don't work correctly, or are irrelevant. It is unlikely that you will use the 'mail' command to read your mail, or the 'ed' editor to write your documents. Running 'od -cb .' no longer prints out the contents of the directory-as-a-file. However, these are minor issues. Learning 'ed' is a good introduction to regular expressions, and you may have occassion to use 'mail' in a shell script!&lt;br /&gt;&lt;br /&gt;If you only buy one book on the UNIX programming environment this summer, make it this one.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[1] the 'g' is silent&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114459355129282176?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114459355129282176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114459355129282176' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114459355129282176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114459355129282176'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/04/reviews-kernighan-and-pike-unix.html' title='Reviews: Kernighan and Pike, The UNIX Programming Environment'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114433281881069175</id><published>2006-04-06T15:13:00.000+01:00</published><updated>2006-04-06T20:23:40.193+01:00</updated><title type='text'>Internet Tools, Web2.0, and the new Community</title><content type='html'>&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;Water, water, every where,&lt;br /&gt;And all the boards did shrink;&lt;br /&gt;Water, water, every where,&lt;br /&gt;Nor any drop to drink.&lt;br /&gt;&lt;br /&gt;Samuel Taylor Coleridge - &lt;span style="font-style: italic;"&gt;The Rime of the Ancient Mariner&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;Since the dawn of the Web we've struggled to find useful information from amongst the flotsam of irrelevant websites. The first torchbearers to guide us through this mess were search engines, tracing their lineage to the pre-Web Internet. The modern age has sprouted a new generation of tools and services which depend on the collaborative force of diverse users. Collectively, these advancements are being referred to as &lt;a href="http://en.wikipedia.org/wiki/Web20"&gt;Web 2.0&lt;/a&gt;. Some of the more sucessful manifestations of this ideal include Wikipedia, blogs, del.icio.us, flickr, StumbleUpon, Freecyle, and Slashdot.&lt;br /&gt;&lt;br /&gt;These sites broadly fall into two camps: (1) 'Web Finders' deliver up relevant Web pages. Examples are Google, del.icio.us, and StumbleUpon; (2) 'Web Tools' are Internet resources which provide a useful service. Examples are Wikipedia, flickr, and Slashdot. Naturally, there is a certain ambiguity. Slashdot could fall into either of the two camps.&lt;br /&gt;&lt;br /&gt;Many of the above examples will be familiar to the majority of users. I'll illustrate Web Finders and Web Tools with two lesser-known examples from each group:&lt;br /&gt;&lt;h3&gt;&lt;a href="http://www.stumbleupon.com/"&gt;StumbleUpon&lt;/a&gt;&lt;/h3&gt;Traditional search engines suffer from one major drawback - they can only show you what you're looking for. In the words of Pablo Picasso, "Computers are useless. They can only give you answers".&lt;br /&gt;&lt;br /&gt;We've all had the experience of being alerted to a cool website by a friend or a magazine. The type of website we never would have found by googling for 'cool website'. The point is that we all have a different notion of what is cool. There cannot be a canonical list of great sites that would suit all tastes.&lt;br /&gt;&lt;br /&gt;Coming to our rescue is StumbleUpon. You mark the sites you like and those that you don't. Based on your personal preferences, StumbleUpon will suggest sites which like-minded Stumblers enjoy. A simple idea brilliantly executed.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;a href="http://www.freecycle.org/"&gt;Freecycle&lt;/a&gt;&lt;/h3&gt;Freecycle is a great example of a global technology acting on a local level. In a sense, it is a marketplace for free goods, bringing together people with things to give away and people in need of those items. I belong to my local freecycle group in Oxford, England. As I'm without a car, Freecycle is a great way for me to get rid of unwanted possessions! When I have material needs you can be sure that Freecycle will be my first port of call.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Conclusion&lt;/h3&gt;In all cases, the new breed of websites make positive use of community spirit. In our modern age of nuclear families and increasing alienation, it is as though the Web has stepped into the breach to create new communities of like-minded individuals. Each such community carves out its own slice of the Internet, adding order and cohesion where once there was chaos.&lt;br /&gt;&lt;br /&gt;For the moment social networking is in the ascendency, but the one certain truth about the Internet is change. It is unlikely that social networking will disappear, but it &lt;span style="font-style: italic;"&gt;will &lt;/span&gt;ultimately transform into something else.  The leaders of tomorrow's Net will be at the helm of this change.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://technorati.com/tag/web 2.0" rel="tag"&gt;web 2.0&lt;/a&gt;&lt;br /&gt;&lt;a href="http://technorati.com/tag/stumbleupon" rel="tag"&gt;stumbleupon&lt;/a&gt;&lt;br /&gt;&lt;a href="http://technorati.com/tag/freecycle" rel="tag"&gt;freecycle&lt;/a&gt;&lt;br /&gt;&lt;a href="http://technorati.com/tag/community" rel="tag"&gt;community&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114433281881069175?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114433281881069175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114433281881069175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114433281881069175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114433281881069175'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/04/internet-tools-web20-and-new-community.html' title='Internet Tools, Web2.0, and the new Community'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114426898067358833</id><published>2006-04-05T20:54:00.000+01:00</published><updated>2006-04-05T21:36:19.630+01:00</updated><title type='text'>Thunderbird Upgrade Problems - version 1.5</title><content type='html'>You may have experienced problems upgrading from Thunderbird 1.07 to version 1.5.  I did!  In particular, upgrading caused failure of Enigmail, and there were issues using the United Kingdom / Great Britain spell checker.&lt;br /&gt;&lt;br /&gt;One thing to bear in mind is that you will not have to delete your old Thunderbird profile, which will save much heartache if you can't recover your profile.&lt;br /&gt;&lt;br /&gt;If you have problems after installing Thunderbird, follow these simple steps:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Start by uninstalling Thunderbird (for Windows users this would involve the Add/Remove programs applet from the Control Panel).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Delete the main Thunderbird folder, which should be located at C:\Program Files\Mozilla Thunderbird.&lt;/li&gt;&lt;li&gt;Reinstall Thunderbird.&lt;/li&gt;&lt;/ul&gt;Then reinstall your extensions.  If this doesn't work, rinse and repeat.&lt;br /&gt;&lt;br /&gt;The spell checker is particularly problematic.  I found that the UK dictionary wasn't included even though I chose to download the British version of Thunderbird.  Moreover, the spell checker marked &lt;span style="font-style: italic;"&gt;every word&lt;/span&gt; as being misspelled. You can find the appropriate dictionary from Mozilla's &lt;a href="http://www.mozilla.com/thunderbird/dictionaries.html"&gt;dictionary page&lt;/a&gt;.  Install the file as you would for any other extension.  Note that the dictionary &lt;span style="font-style: italic;"&gt;will not&lt;/span&gt; appear in your list of extensions.  To activate the British (or other) dictionary, go to Tools → Options → Composition → Spelling.  Make sure "Enable spell as you type" is checked, then choose the dictionary you want.  You may have to restart Thunderbird a few times before the dictionary begins to work properly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114426898067358833?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114426898067358833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114426898067358833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114426898067358833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114426898067358833'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/04/thunderbird-upgrade-problems-version.html' title='Thunderbird Upgrade Problems - version 1.5'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114415827941289487</id><published>2006-04-04T14:44:00.000+01:00</published><updated>2006-04-10T16:38:04.933+01:00</updated><title type='text'>Reviews: Bartle and Sherbert, Real Analysis</title><content type='html'>&lt;iframe src="http://rcm-uk.amazon.co.uk/e/cm?t=abudinjeric-21&amp;o=2&amp;p=8&amp;l=as1&amp;asins=0471321486&amp;nou=1&amp;fc1=C8AB8F&amp;IS2=1&amp;lt1=_blank&amp;lc1=BA8247&amp;bc1=F7F0E9&amp;bg1=F7F0E9&amp;f=ifr" style="width:120px;height:240px; float: right; margin-left:10px; margin-bottom:10px" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;This is a superb introductory text on real analysis. It is the recommended text for first year undergraduates at the University of Oxford and covers sequences, series, limits, continuity, differentiation, integration, and uniform convergence. There is even a short section on Lebesgue integration.&lt;br /&gt;&lt;br /&gt;The book is rigourous yet readable, contains copious exercises and is complemented with short biographies of famous mathematicians, adding a human touch to the proceedings.&lt;br /&gt;&lt;br /&gt;The authors eschew the more informal style of some introductory texts and prepare the students for the Definition - Lemma - Theorem technique of higher mathematics. It can be somewhat terse in places, but this has the advantage of focussing the student's mind on the essentials.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114415827941289487?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114415827941289487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114415827941289487' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114415827941289487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114415827941289487'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/04/reviews-bartle-and-sherbert-real.html' title='Reviews: Bartle and Sherbert, Real Analysis'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114414731911453000</id><published>2006-04-04T11:40:00.000+01:00</published><updated>2006-04-04T11:41:59.116+01:00</updated><title type='text'>Miscellaneous Pages</title><content type='html'>Random matter:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/04/moon-at-st-barnabas.html"&gt;Moon at St Barnabas&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/03/daylight-saving-time-crime-larks-and.html"&gt;Daylight Saving Time - Crime, Larks, and Energy&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2005/12/first-day.html"&gt;First Day&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114414731911453000?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114414731911453000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114414731911453000' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114414731911453000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114414731911453000'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/04/miscellaneous-pages.html' title='Miscellaneous Pages'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114414711800445858</id><published>2006-04-04T11:36:00.000+01:00</published><updated>2006-07-23T18:03:00.920+01:00</updated><title type='text'>Mathematics Pages</title><content type='html'>My mathematics posts.  Also see the &lt;a href="http://www.amarasingha.cwc.net/mathspages/index.html"&gt;mathspages&lt;/a&gt; on my main website.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/07/using-xfig-with-latex.html"&gt;Using Xfig with LaTeX&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/05/remote-mathematica-use-for-linux.html"&gt;Remote Mathematica use for Linux / Cygwin&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/04/reviews-bartle-and-sherbert-real.html"&gt;Reviews: Bartle and Sherbert, Real Analysis&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/03/partial-preorders.html"&gt;Partial Preorders&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/02/simple-margin-adjustment-in-latex.html"&gt;Simple Margin Adjustment in LaTeX&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2005/12/elementary-wavelet-analysis.html"&gt;Elementary Wavelet Analysis&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114414711800445858?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114414711800445858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114414711800445858' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114414711800445858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114414711800445858'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/04/mathematics-pages.html' title='Mathematics Pages'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114414684556154757</id><published>2006-04-04T11:20:00.000+01:00</published><updated>2006-07-24T19:46:10.276+01:00</updated><title type='text'>Computer Pages</title><content type='html'>My computing-related pages:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/07/how-to-log-in-to-your-motorola-wr850g.html"&gt;How to log in to your Motorola WR850G wireless router&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/07/using-xfig-with-latex.html"&gt;Using Xfig with LaTeX&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/05/remote-mathematica-use-for-linux.html"&gt;&lt;/a&gt;&lt;a href="http://marasingha.blogspot.com/2006/07/creating-bootable-windows-xp-setup-cd.html"&gt;Creating a Bootable Windows XP Setup CD&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/05/remote-mathematica-use-for-linux.html"&gt;Remote Mathematica use for Linux / Cygwin&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/05/firefox-keyboard-scrolling-problems.html"&gt;Firefox keyboard scrolling problems?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/04/reviews-kernighan-and-pike-unix.html"&gt;Reviews: Kernighan and Pike, The UNIX Programming Environment&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/04/internet-tools-web20-and-new-community.html"&gt;Internet Tools, Web2.0, and the new Community&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/04/thunderbird-upgrade-problems-version.html"&gt;Thunderbird Upgrade Problems - version 1.5&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/04/converting-dvds-to-mp3s.html"&gt;Converting DVDs to mp3s&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/03/reformed-linux-zealot-speaks-out.html"&gt;A Reformed Linux Zealot Speaks Out&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/02/simple-margin-adjustment-in-latex.html"&gt;Simple Margin Adjustment in LaTeX&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/02/easing-firefox-adobe-acrobat.html"&gt;Easing the Firefox / Adobe Acrobat Experience&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/02/easy-get-mail-multiple-thunderbird.html"&gt;Easy Get Mail - Multiple Thunderbird accounts made easier&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/01/windows-xp-pro-tips-and-tweaks.html"&gt;Windows XP Pro - tips and tweaks&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/01/tweaking-acer-part-iii.html"&gt;Tweaking the Acer - Part III, ePowerManagement&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/01/tweaking-acer-part-ii-epowermanagement.html"&gt;Tweaking the Acer - Part II, ePowerManagement&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/01/tweaking-acer.html"&gt;Tweaking the Acer&lt;/a&gt;&lt;a href="http://marasingha.blogspot.com/2006/01/cygwin.html"&gt;&lt;br /&gt;Cygwin&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2005/12/gnupg-and-friends.html"&gt;GnuPG and Friends&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114414684556154757?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114414684556154757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114414684556154757' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114414684556154757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114414684556154757'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/04/computer-pages.html' title='Computer Pages'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114414600020396634</id><published>2006-04-04T11:18:00.000+01:00</published><updated>2006-04-04T11:36:19.510+01:00</updated><title type='text'>Recipe Pages</title><content type='html'>My food posts:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/04/english-style-american-hamburgers.html"&gt;English-Style American Hamburgers&lt;/a&gt;&lt;br /&gt;&lt;a href="http://marasingha.blogspot.com/2006/02/gihans-fruity-penne-with-chorizo.html"&gt;Gihan's Fruity Penne With Chorizo&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114414600020396634?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114414600020396634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114414600020396634' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114414600020396634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114414600020396634'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/04/recipe-pages.html' title='Recipe Pages'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114414580102506430</id><published>2006-04-04T11:15:00.000+01:00</published><updated>2006-04-04T11:16:41.043+01:00</updated><title type='text'>English-Style American Hamburgers</title><content type='html'>This is my own take on a classic American dish.  I substitute (English) muffins for burger buns and use real cheese instead of American cheese-substitute.  &lt;h4&gt;Ingredients (serves two)&lt;/h4&gt; &lt;ul&gt;&lt;li&gt;250g (½ lb) lean minced beef&lt;/li&gt;&lt;li&gt;1 clove garlic, finely chopped&lt;/li&gt;&lt;li&gt;3 sticks of celery, sliced&lt;/li&gt;&lt;li&gt;4 slices (hand-sliced!) mature Cheddar&lt;/li&gt;&lt;li&gt;1 handful of chopped red onion&lt;/li&gt;&lt;li&gt;2 (English) muffins&lt;/li&gt;&lt;li&gt;salt, pepper, olive oil&lt;/li&gt;&lt;/ul&gt;  &lt;h4&gt;Method&lt;/h4&gt; &lt;p&gt;Gently mix the beef, olive oil (about 1 tbsp), salt, pepper, and garlic in a bowl.  Divide the mixture into two balls and press into patties.  As with dough making, this is a sensual delight, so enjoy the experience.&lt;/p&gt;  &lt;p&gt;Take a skillet of generous size and line it with olive oil.  Place the pan on a high heat then add the patties when the oil is hot.  You will need to turn the patties once, and be aware that the insides may not be cooked even if the surface is crisp — hence you should keep cooking for about five minutes after the outside seems done.&lt;/p&gt;  &lt;p&gt;Prepare the muffins by cutting down the middle and thinly spreading Dijon mustard.  Add the cooked patties followed by layers of cheese, red onions and celery.  The celery will spill over onto the plate, this provides a little decoration.  Now eat with your hands.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114414580102506430?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114414580102506430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114414580102506430' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114414580102506430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114414580102506430'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/04/english-style-american-hamburgers.html' title='English-Style American Hamburgers'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114406383526547206</id><published>2006-04-03T12:30:00.000+01:00</published><updated>2006-04-03T12:30:35.310+01:00</updated><title type='text'>Converting DVDs to mp3s</title><content type='html'>Scenario: you have a DVD and you'd like to make an mp3 of a particular track / soundclip. The simplest solution (especially for Linux users) is to use &lt;a href="http://www.mplayerhq.hu/"&gt;mplayer&lt;/a&gt; and &lt;a href="http://lame.sourceforge.net/"&gt;lame&lt;/a&gt;, which are freely available and open source.&lt;br /&gt;&lt;h3&gt;Basic Ripping&lt;/h3&gt;Mplayer will produce a wav file from the DVD, and you can then use lame to convert the wav file to an mp3. The general mplayer command line is as follows:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;mplayer $SOURCE -ao pcm -af resample=44100:0:0 -aofile $WAVFILE -vc dummy -vo null&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here $SOURCE is the recording source and $WAVFILE is the output file.&lt;br /&gt;There are many ways of specifying the source. If you wished to record chapters 2 to 4 from dvd title 2, the appropriate invocation would be:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;mplayer  dvd://2 -chapter 2-4 -ao pcm -af resample=44100:0:0 -aofile outfile.wav -vc dummy -vo null&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The final stage is conversion from the wav file to the mp3 file.  You do this using lame, and the correct command is:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;lame $WAVFILE $MP3FILE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;where $MP3FILE is the desired mp3 file name.&lt;br /&gt;&lt;br /&gt;Mplayer and lame are available for Windows, but there may be problems playing the later chapters in a DVD, as there seems to be a 2Gb limit imposed by the underlying software.&lt;br /&gt;&lt;br /&gt;If you don't have Linux, it may be better to try a non-free alternative. A search through Tucows comes up with a large array of Windows tools, including "A1 DVD Audio Ripper", "AoA DVD Copy", "DVD Audio Extractor", and many others!&lt;br /&gt;&lt;h3&gt;Advanced Ripping&lt;/h3&gt;The previous section should be sufficient for most purposes, but there are a few more tricks which may make the process smoother. Linux users can eliminate the need for a large intermediate wav file by using named pipes. First create the named pipe with&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;mkfifo $WAVFILE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can now issue the lame command, followed by the mplayer command (preferably on different consoles). Delete the $WAVFILE file once you've finished the process.&lt;br /&gt;&lt;br /&gt;Mplayer has a large variety of options. We've already seen how to specify the chapters you want to record. Another alternative is to specify the seek time. For example, to start recording from 1hr 30mins 40s, issue the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;mplayer dvd://2 -ss 01:30:40 -af resample=44100:0:0 -ao pcm -aofile outfile.wav -vc dummy -vo null&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To find out more about mplayer, read the &lt;a href="http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html"&gt;manual page&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114406383526547206?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114406383526547206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114406383526547206' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114406383526547206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114406383526547206'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/04/converting-dvds-to-mp3s.html' title='Converting DVDs to mp3s'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114392850963466879</id><published>2006-04-01T22:55:00.000+01:00</published><updated>2006-04-01T23:20:20.056+01:00</updated><title type='text'>Moon at St Barnabas</title><content type='html'>&lt;div style="float: right; margin-left: 10px; margin-bottom: 10px;"&gt; &lt;a href="http://www.flickr.com/photos/gihanmarasingha/121469287/" title="photo sharing"&gt;&lt;img src="http://static.flickr.com/54/121469287_ee66be8ad9_m.jpg" alt="" style="border: 2px solid rgb(0, 0, 0);" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="margin-top: 0px;font-size:0;" &gt;  &lt;a href="http://www.flickr.com/photos/gihanmarasingha/121469287/"&gt;Moon at St Barnabas&lt;/a&gt;&lt;br /&gt;Originally uploaded by &lt;a href="http://www.flickr.com/people/gihanmarasingha/"&gt;Gihan Marasingha&lt;/a&gt;. &lt;/span&gt;&lt;/div&gt;We've spent some time looking at the Moon in Oxford.  Here's a calm picture of the Moon sitting by St Barnabas church tower in Jericho, Oxford.  This photograph was taken by Maggi and we can see an acacia tree  in the foreground.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114392850963466879?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114392850963466879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114392850963466879' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114392850963466879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114392850963466879'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/04/moon-at-st-barnabas.html' title='Moon at St Barnabas'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114382691358797324</id><published>2006-03-31T18:40:00.000+01:00</published><updated>2006-04-01T11:59:58.753+01:00</updated><title type='text'>Daylight Saving Time - Crime, Larks, and Energy</title><content type='html'>&lt;p&gt;This Sunday, clocks go forward at 2:00am in most of the U.S.  The biannual clock-changing has been marked by controvery since it was first conceived by Benjamin Franklin in 1784.  Many late-night revelers feel cheated of an hour's drinking time.  This has lead to &lt;a href="http://athensnews.com/issue/article.php3?story_id=2421"&gt;Time Change Saturday riots&lt;/a&gt; in Athens Ohio, witnessing skirmishes between armed police and rowdy students.&lt;br /&gt;&lt;br /&gt;However, the general trend is that Daylight Saving Time reduces crime.  One study in Washington DC found a &lt;a href="http://www.calinst.org/Archive/bull817w.htm#_1_10"&gt;10 to 13 per cent decrease&lt;/a&gt; in violent crime.  This is due to lighter evenings, making crime more detectable.&lt;br /&gt;&lt;/p&gt;Unfortunately, there is a downside for 'larks' — those who naturally wake early.  They are genetically more aware of light and will have a &lt;a href="http://news.bbc.co.uk/1/hi/health/4838644.stm"&gt;harder time adjusting&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Finally, this is the last year that clocks 'spring forward' on the first Sunday of April.  From 2007, the time change will occur on the second Sunday of March, with a corresponding alteration in the Fall.  This is in accordance with the &lt;a href="http://en.wikipedia.org/wiki/Energy_Policy_Act_of_2005#Change_to_daylight_saving_time"&gt;Energy Policy Act of 2005&lt;/a&gt;, which hopes to give a 1 to 2 per cent saving in household energy use by reducing the need for electric lighting in the evenings.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114382691358797324?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114382691358797324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114382691358797324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114382691358797324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114382691358797324'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/03/daylight-saving-time-crime-larks-and.html' title='Daylight Saving Time - Crime, Larks, and Energy'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114189736118624509</id><published>2006-03-09T08:26:00.000Z</published><updated>2006-10-28T10:16:21.553+01:00</updated><title type='text'>A Reformed Linux Zealot Speaks Out</title><content type='html'>They say there's nothing worse than a reformed smoker.  Perhaps that's true, but it's a great thing to be a reformed Linux Zealot.  Actually, &lt;span style="font-style: italic;"&gt;not&lt;/span&gt; using Linux is akin to smoking and drinking all you want and generally having a &lt;span style="font-weight: bold;"&gt;big party&lt;/span&gt; (note this is a &lt;span style="font-style: italic;"&gt;simile&lt;/span&gt; - I don't smoke at all and drink only in moderation).&lt;br /&gt;&lt;br /&gt;I take this opportunity to share a tale with my Linux brethren in the hopes that I may lead you to the land of Easy Computing in far off Redmond (though Cupertino works too).  As you read my story, you will come across familiar horrors such as driver woes, &lt;span style="font-weight: bold;"&gt;kernel compilation&lt;/span&gt;, and writing scripts just to get basic functionality.  I begin with a brief chronology of my computer use:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;c. 1988 Sinclair ZX Spectrum 128K +2 (died in action)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;c. 1992 Acorn Electron&lt;/li&gt;&lt;li&gt;c. 1994 PC (Western Systems 486 SX 33 MHz, 4Mb RAM, 270 Mb hard drive)&lt;/li&gt;&lt;li&gt;1994-2005 A succession of upgrades / cannibalisations with second hand PCs&lt;/li&gt;&lt;li&gt;2005 Acer Travelmate 4151LMi Laptop (Pentium M 725 @ 1.6 GHz, 512 Mb RAM, 60 Gb hard drive)&lt;/li&gt;&lt;/ul&gt;I was introduced to Linux in 1996 on university computers at Imperial College, London.  Having dabbled in C programming on the Windows platform, I found Linux to be a breath of fresh air.  At the time, a programmer had to use many system calls to get things done properly with Windows.  All this was transparent to Linux, and it was really just a case of coding in &lt;span style="font-weight: bold;"&gt;ANSI C&lt;/span&gt;.  Even more wonderful for a cash-strapped student was the fact that the gcc compiler is &lt;span style="font-style: italic;"&gt;free&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;At some point in my undergraduate career, I decided to go dual-boot and opted for Debian (either Slink or Potato, I forget which).  In retrospect, this was a terrible choice as a first Linux distribution.  At the time, Debian was very much a hardcore distribution and only for the brave souls who wanted to get down and dirty with Linux.  My first installation took a couple of very stressful days, and involved a steep learning curve.  A major source of stress was the worry that I would accidentally &lt;span style="font-weight: bold;"&gt;format my Windows partition&lt;/span&gt;, or that the resizing process would damage it somehow.  These days, I would strongly recommend backing up data before messing about with partitions.&lt;br /&gt;&lt;br /&gt;Linux was not entirely hardware-friendly.  In particular, I spent many hours (days?) getting sound, joysticks, and printing to work properly.  Only by recompiling the kernel was I able to get sound to work properly.  Things are somewhat easier now with the introduction of &lt;span style="font-weight: bold;"&gt;kernel modules&lt;/span&gt;, but it's still something of a hassle.&lt;br /&gt;&lt;br /&gt;I switched to Red Hat 6.2, and then to Pink Tie 9 (a Red Hat 9 clone).  This distribution was sufficiently capable that I dropped Windows 95 in favour of it, only returning to Windows when I needed to use MS Office (which was infrequently).  I saw further improvements with Debian Woody and then &lt;span style="font-weight: bold;"&gt;Debian Sarge&lt;/span&gt;.  By the time I got to Sarge, Windows was a distant and rather unpleasant memory.&lt;br /&gt;&lt;br /&gt;As a mathematician, my main applications are: a web-browser and email client, emacs (a text editor), LaTeX (a typesetting application), and Maple (a computer algebra package).  Unencumbered by &lt;span style="font-weight: bold;"&gt;reliance on MS Office&lt;/span&gt;, I was entirely free to use whatever operating system I desired.  Ironically, it was this very freedom which ultimately led me back to Windows.&lt;br /&gt;&lt;br /&gt;My brand-spanking new laptop had a SATA drive.  Unfortunately, this drive was not recognised by the Ubuntu &lt;span style="font-style: italic;"&gt;Hoary Hedgehog&lt;/span&gt; installer (Ubuntu being my current Linux distribution of choice).  Instead I installed Debian Sarge.  The problem was that the system still needed considerable work to &lt;span style="font-weight: bold;"&gt;support my wireless card&lt;/span&gt; and didn't have xv support for my graphics card.&lt;br /&gt;&lt;br /&gt;Back in the dual Linux/Windows 95 days, I would have had no option but to spend hours configuring the drivers, recompiling the kernel, etc.  However, I suddenly found myself working with a perfectly functioning &lt;span style="font-weight: bold;"&gt;Windows XP Pro&lt;/span&gt;.  Other than some relatively minor &lt;a href="http://marasingha.blogspot.com/2006/01/tweaking-acer.html"&gt;tweaks&lt;/a&gt;, XP worked fine.  It was a busy time for me with deadlines fast approaching, so I ditched Sarge in favour of Windows XP.  I haven't looked back.&lt;br /&gt;&lt;br /&gt;Don't misunderstand me, I didn't drop open source software.  I didn't even completely ditch Linux.  Other than the operating system, the only commercial software I use is Maple (so no change from my Linux days).  When I need the power of Linux, I turn to &lt;a href="http://www.cygwin.com/"&gt;Cygwin&lt;/a&gt;, a Linux-like environment which sits on top of Windows.  The &lt;span style="font-weight: bold;"&gt;advantage of Cygwin&lt;/span&gt; over a virtual machine is that Cygwin uses the Windows filesystem, device drivers, and system calls, but presents a Linux-like API to applications.  In effect, it is Linux but without the hassle!&lt;br /&gt;&lt;br /&gt;I now find that I spend much more time &lt;span style="font-weight: bold;"&gt;getting things done&lt;/span&gt;, instead of tweaking my Linux system to the nth degree.  If Linux is to find mainstream acceptance, developers should make hardware support a priority.  Ubuntu seems to be going in the right direction by offering the xorg server and generally good automatic hardware configuration.  The turning point will come when major computer manufacturers produce good machines with Linux preinstalled.&lt;br /&gt;&lt;br /&gt;The point of my article is that in these days of free/open source software, the operating system has become less important, not more.  &lt;span style="font-weight: bold;"&gt;Applications are the king&lt;/span&gt; and they are no longer tied to particular operating systems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114189736118624509?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114189736118624509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114189736118624509' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114189736118624509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114189736118624509'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/03/reformed-linux-zealot-speaks-out.html' title='A Reformed Linux Zealot Speaks Out'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114159453869614954</id><published>2006-03-05T21:27:00.000Z</published><updated>2006-03-05T21:52:47.666Z</updated><title type='text'>Partial Preorders</title><content type='html'>How many transitive and reflexive relations (partial preorders) are there on a set of three elements?  This question was recently posed in a first-year maths problem sheet at the University of Oxford.&lt;br /&gt;&lt;br /&gt;It can easily be shown that there are 64 reflexive relations on such a set, and one can determine which of them are transitive.  This is a bit of a pain, so I wrote a &lt;a href="http://users.ox.ac.uk/%7Escro0392/mathspages/transitive/transitive.mws"&gt;Maple worksheet&lt;/a&gt; to simplify the process.&lt;br /&gt;&lt;br /&gt;The worksheet computes all relations on a set of 3 elements and represents them as matrices.  Without loss of generality, the set of 3 elements is S = {1, 2, 3}.  A relation is then represented by a matrix A with entries from {0, 1}, where A[i, j]=1 iff i ~ j.&lt;br /&gt;&lt;br /&gt;With this representation, a matrix is reflexive iff the diagonal entries are all 1.  The transitivity condition is a little more complicated, but can be coded without much difficulty.&lt;br /&gt;&lt;br /&gt;It turns out that the answer is 29.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114159453869614954?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114159453869614954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114159453869614954' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114159453869614954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114159453869614954'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/03/partial-preorders.html' title='Partial Preorders'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114088722213685509</id><published>2006-02-25T16:55:00.001Z</published><updated>2006-02-25T17:07:02.136Z</updated><title type='text'>Gihan's Fruity Penne with Chorizo</title><content type='html'>Here's a delightful meal I whipped up this lunchtime.  It was very scrummy, so I thought I would share it.  The recipe below is for two people.&lt;br /&gt;&lt;br /&gt;You will need:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;one chorizo sausage&lt;/li&gt;&lt;li&gt;200g penne&lt;/li&gt;&lt;li&gt;two nectarines&lt;/li&gt;&lt;li&gt;a handful of corriander&lt;/li&gt;&lt;/ul&gt;Boil the penne according to the packet instructions.  While you're doing this, slice and skin the chorizo (the slices should be about 5mm in thickness).  Fry them gently in a little olive oil.  Slice the nectarines and cut each slice in half.  Coarsely chop the corriander.&lt;br /&gt;&lt;br /&gt;When the penne is boiled, drain it and add to a warmed plate.  Add the chorizo and drizzle the chorizo oil over the pasta.  Add the sliced nectarines and corriander.  Season with a little salt and pepper.&lt;br /&gt;&lt;br /&gt;This dish is delicious with a nice herb salad consisting of baby spinach, roquette, corriander, lollo rosso, chives, and frisee.  For a light dressing, just add a little olive oil, balsamic vinegar, and salt.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114088722213685509?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114088722213685509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114088722213685509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114088722213685509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114088722213685509'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/02/gihans-fruity-penne-with-chorizo.html' title='Gihan&apos;s Fruity Penne with Chorizo'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114086675627868525</id><published>2006-02-25T11:01:00.001Z</published><updated>2010-01-29T08:39:18.943Z</updated><title type='text'>Simple Margin Adjustment in LaTeX</title><content type='html'>LaTeX enforces beauty upon its documents, sometimes to the detriment of practicality.  By default, LaTeX margins are &lt;span style="font-style: italic;"&gt;extremely &lt;/span&gt;generous.  This leads to good-looking documents, but there are occasions when it may be better to have smaller margins —— for instance, if you want a document to fit entirely within one page.&lt;br /&gt;&lt;br /&gt;Page layout with LaTeX is a complicated matter.  A cursory glance at the LaTeX documentation shows that the layout is determined by 11 different parameters.  However, I find that the following commands are sufficient for most purposes:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;\addtolength{\textwidth}{&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;a&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;in}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;\addtolength{\hoffset}{-&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;b&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;in}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;\addtolength{\textheight}{&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;c&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;in}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;\addtolength{\voffset}{-&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;c&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;in}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;where &lt;span style="font-weight: bold;"&gt;a&lt;/span&gt;, &lt;span style="font-weight: bold;"&gt;b&lt;/span&gt;, &lt;span style="font-weight: bold;"&gt;c&lt;/span&gt; are numerical quantities such that &lt;span style="font-weight: bold;"&gt;a&lt;/span&gt;=2&lt;span style="font-weight: bold;"&gt;b&lt;/span&gt;.  The effect of these commands is to increase the extent of the horizontal material by &lt;span style="font-weight: bold;"&gt;a&lt;/span&gt; inches and increase the extent of the vertical material by &lt;span style="font-weight: bold;"&gt;c&lt;/span&gt; inches.&lt;br /&gt;&lt;br /&gt;If you want more control over your margins, then I highly recommend the LaTeX &lt;a href="http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=geometry"&gt;geometry package&lt;/a&gt;.  The author of the geometry package is careful to ensure that all page settings are correctly assigned, leaving a straightforward interface to the user.  As a simple example, add the following to your preamble:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;\usepackage[hmargin=3cm,vmargin=3.5cm]{geometry}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This sets the left and right margins to be 3cm and the top and bottom margins to be 3.5cm.  Full details are set out in section 5.3 of the geometry &lt;a href="http://tug.ctan.org/tex-archive/macros/latex/contrib/geometry/geometry.pdf"&gt;user manual&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114086675627868525?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114086675627868525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114086675627868525' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114086675627868525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114086675627868525'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/02/simple-margin-adjustment-in-latex.html' title='Simple Margin Adjustment in LaTeX'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-114082322516575050</id><published>2006-02-24T23:07:00.000Z</published><updated>2006-02-24T23:20:25.176Z</updated><title type='text'>Easing the Firefox / Adobe Acrobat experience</title><content type='html'>If you use the Firefox web browser, you may experience surfing woes with the Adobe Acrobat plugin.  The plugin is notoriously buggy and often hangs my web browser.  However a simple solution is at hand which requires no downloading at all!&lt;br /&gt;&lt;br /&gt;The simplest solution is to ask Firefox always to open a pdf document in a separate Acrobat window.  To do this, open the &lt;span style="font-weight: bold;"&gt;Tools &lt;/span&gt;menu and select the &lt;span style="font-weight: bold;"&gt;Options...&lt;/span&gt; dialog box.   Choose the &lt;span style="font-weight: bold;"&gt;Downloads&lt;/span&gt; tab and  click  &lt;span style="font-weight: bold;"&gt;View &amp; Edit actions&lt;/span&gt;.   From here,  you can tell Firefox what to do whenever it is presented with a particular type of file.  Naturally, this extends way beyond Adobe Acrobat and can be used for many different file types.  Of course, it would be easier not to install the plugin in the first place, but this approach provides one with a certain degree of flexibility.  For those who require an extra degree of flexibility, you may wish to try the &lt;a href="https://addons.mozilla.org/extensions/moreinfo.php?id=636&amp;application=firefox"&gt;PDF Download&lt;/a&gt; Firefox extension.  This queries the user on what to do each time a pdf link is clicked.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-114082322516575050?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/114082322516575050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=114082322516575050' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114082322516575050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/114082322516575050'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/02/easing-firefox-adobe-acrobat.html' title='Easing the Firefox / Adobe Acrobat experience'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-113880863027149566</id><published>2006-02-01T15:34:00.000Z</published><updated>2006-02-01T15:43:50.280Z</updated><title type='text'>Easy Get Mail - Multiple Thunderbird accounts made easier</title><content type='html'>Like many Thunderbird users, I have multiple email accounts.  Thunderbird checks both my accounts every 10mins.  However, until today the simplest way to manually check my multiple accounts was to click the arrow to the right of the large "Get Mail" button and choose "Get all new messages" from the drop-down box.  A two click operation!&lt;br /&gt;&lt;br /&gt;Today, I found &lt;a href="https://addons.mozilla.org/extensions/moreinfo.php?application=thunderbird&amp;amp;id=1877"&gt;Easy Get Mail&lt;/a&gt;.  Easy Get Mail makes account checking context-sensitive.&lt;br /&gt;&lt;br /&gt;Formerly, pressing the Get Mail button would check email only for the selected account.  After the installation of Easy Get Mail, pressing Get Mail will check the email for all accounts, unless an account root folder is selected in the folder pane, in which case only the selected account will be checked.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-113880863027149566?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/113880863027149566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=113880863027149566' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113880863027149566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113880863027149566'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/02/easy-get-mail-multiple-thunderbird.html' title='Easy Get Mail - Multiple Thunderbird accounts made easier'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-113724772957651805</id><published>2006-01-14T10:36:00.000Z</published><updated>2006-01-30T11:13:02.833Z</updated><title type='text'>Windows XP Pro - tips and tweaks</title><content type='html'>&lt;h3&gt;NTFS&lt;/h3&gt;One thing you may consider doing is converting your filesystem to NTFS.  By default, most computers ship hard drives formatted for the FAT32 filesystem.  This was largely superceded by NTFS, introduced with Windows NT.  The primary advantages of NTFS over FAT32 are:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Much stronger security model - with FAT32 every user has complete access to the filesystem, whereas NTFS permissions are more UNIX-like.&lt;/li&gt;&lt;li&gt;Better performance for large volumes.&lt;/li&gt;&lt;li&gt;Support for encryption and compression.&lt;/li&gt;&lt;li&gt;NTFS is a journalling filesystem.  All transactions are logged, which facilitates recovery after crashes.  The practical upshot is that you won't be forced to run Scandisk each time your computer crashes!&lt;/li&gt;&lt;/ol&gt;NTFS has some disadvantages.  It may lead to slower performance on small volumes (say less that 8Gb).  You may also have difficulties working with NTFS from other operating systems.  At the moment, there is no way to write to an NTFS drive from within Linux.  At any rate, I considered the advantages to outweigh the disadvantages and decided to perform the conversion.  The procedure is for conversion is given at the &lt;a href="http://support.microsoft.com/default.aspx?scid=%2Fdirectory%2Fworldwide%2Fen-gb%2Fdefault.aspx%3Fscid%3Dkb%3Ben-gb%3B314097%26amp%3Bln%3Den-gb"&gt;Microsoft support site&lt;/a&gt;.&lt;br /&gt;&lt;h3&gt;Simple Sharing&lt;br /&gt;&lt;/h3&gt;If you want to be able to view and change the permissions of objects within Windows, you would be well advised to turn off simple sharing.  To do this, go to: &lt;blockquote&gt; Start → Control Panel → Administrative Tools → Local Security Policy &lt;/blockquote&gt; &lt;p&gt;Then go to &lt;/p&gt;&lt;blockquote&gt; Security Settings →  Local Policies →  Security Options &lt;/blockquote&gt; &lt;p&gt;Choose Network Options.  Find the key "Network Access: Sharing and security model for local accounts".  Change the setting to "Classic - local users authenicate as themselves".&lt;/p&gt;&lt;h3&gt;ClearType&lt;/h3&gt;&lt;p&gt;ClearType is a mechanism for producing high quality display on LCD screens, such as those found in laptops and flat panel displays.  By default, ClearType is deactivated in Windows XP, but it is highly recommended that you turn it on!  To activate ClearType, simply right-click on the desktop and select the Properties option from the context menu.  In the Appearance tab, choose Effects..., and then choose the ClearType option for "Use the following method to smooth edges of screen fonts".  In order to more finely tune ClearType, download and install the &lt;a href="http://www.microsoft.com/typography/ClearTypePowerToy.mspx"&gt;ClearType PowerToy&lt;/a&gt;.  ClearType can then be tuned from Control Panel → Appearance and Themes → ClearType Tuning.  &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-113724772957651805?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/113724772957651805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=113724772957651805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113724772957651805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113724772957651805'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/01/windows-xp-pro-tips-and-tweaks.html' title='Windows XP Pro - tips and tweaks'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-113715073130864822</id><published>2006-01-13T11:01:00.000Z</published><updated>2006-01-14T10:35:48.790Z</updated><title type='text'>Tweaking the Acer - Part III, ePowerManagement continued</title><content type='html'>In Part II, we discussed how to get Acer ePowerManagement working for ordinary non-privileged users.  Well, half-working at least.  To go the extra distance, we need to make further changes.  As well as the "Access denied" messages, you may also find that ePowerManagement stops if you log out and doesn't restart when you log in again.  To fix these problems, we'll give the user the ability to start and stop the service at will, and then write a script to perform these operations.&lt;br /&gt;&lt;br /&gt;First, you need to download &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=E8BA3E56-D8FE-4A91-93CF-ED6985E3927B&amp;displaylang=en"&gt;subinacl &lt;/a&gt;from the Microsoft website.  Having done this, run the following command:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt; subinacl /service epowermanagement /grant=&lt;span style="font-style: italic;"&gt;billybob&lt;/span&gt;=STOP&lt;/blockquote&gt;where &lt;span style="font-style: italic;"&gt;billybob &lt;/span&gt;is your username.  This gives billybob the right to query, start, stop, and pause/continue the service.&lt;br /&gt;&lt;br /&gt;Go back to the Service configuration tool.  Right-click on epowermanagement and select properties.  Change the Startup type to Manual.  This means that the service won't be started automatically on bootup, but will be started only when called upon.&lt;br /&gt;&lt;br /&gt;Now we need to write a script which will call the service.  Create a file &lt;span style="font-family:courier new;"&gt;epm.bat&lt;/span&gt; in your home directory (or wherever).  Type the following into the file:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;@echo off&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;%windir%\system32\sc.exe stop epowermanagement&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;%windir%\system32\sc.exe start epowermanagement&lt;/span&gt;&lt;/blockquote&gt;Copy this file in your Startup folder.  The simplest way to do this is to first copy the icon for &lt;span style="font-family:courier new;"&gt;epm.bat&lt;/span&gt;, then right-click on the start menu button and choose open.  Navigate to the Startup folder and paste the file.  This should do the trick, though you may want to log out and log back in again to get the full effect.&lt;br /&gt;&lt;br /&gt;For further information on running applications as a non-privileged user, read the &lt;a href="http://nonadmin.editme.com/"&gt;non-admin wiki&lt;/a&gt;, and &lt;a href="http://blogs.msdn.com/aaron_margosis/default.aspx"&gt;Aaron Margosis' Weblog&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;!-- to the registry.  This time, point regedit at &lt;span style=";font-family:'Courier New';font-size:100%;"&gt;&lt;blockquote&gt;HKEY_LM\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg&lt;/blockquote&gt;&lt;/span&gt;Right-click and select "Permissions" from the context menu.  Click advanced.  You now have a choice.  (1) You wish all users to have full access to the power management functions.  (2) You only want a particular user (plus all Administrators) to have full access.&lt;br /&gt;&lt;br /&gt;In case (1), select USERS and click edit.  Tick the check boxes for "Create Subkey" and "Enumerate Subkeys" in the "Allow" column.  The check boxes for "Query Value" and "Set Value" should already be checked.  In case (2), click add then type the appropriate username, then click OK.  Tick the checkboxes as above, noting that you will also have to tick the boxes for "Query Value" and "Set Value".&lt;br /&gt;&lt;br /&gt;You may have to "repair" for the changes to take effect.  To do this, go to&lt;br /&gt;&lt;blockquote&gt;Start → Control Panel → Add or Remove Programs → Acer ePowerManagement → Change/Remove&lt;br /&gt;&lt;/blockquote&gt;and choose repair from the options presented.&lt;br /&gt;&lt;br /&gt;For further information on running applications as a non-privileged user, read the &lt;a href="http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://nonadmin.editme.com/"&gt;non-admin wiki&lt;/a&gt;, and &lt;a href="http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://not-a-real-namespace/http://blogs.msdn.com/aaron_margosis/default.aspx"&gt;Aaron Margosis' Weblog&lt;/a&gt;.&lt;br /&gt;--&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-113715073130864822?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/113715073130864822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=113715073130864822' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113715073130864822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113715073130864822'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/01/tweaking-acer-part-iii.html' title='Tweaking the Acer - Part III, ePowerManagement continued'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-113705983679029477</id><published>2006-01-12T09:21:00.000Z</published><updated>2006-02-25T18:58:20.910Z</updated><title type='text'>Tweaking the Acer - Part II, ePowerManagement</title><content type='html'>One of the much touted features of the Intel Pentium M series is their ability to dynamically change processor speed in response to software demands.  The upshot of this is that a laptop can 'run idle' when not connected to AC power, extending battery life.  Windows XP supports SpeedStep and other &lt;a href="http://www.microsoft.com/windowsxp/using/setup/learnmore/russel_02march25.mspx"&gt;power management&lt;/a&gt; features, but Acer provides its customers with a more advanced tool, called Acer ePowerManagement.  Unfortunately, as with many Windows applications, ePowerManagement only works if the logged-in user has administrator privileges.&lt;br /&gt;&lt;br /&gt;In UNIX, the obvious solution would be to set the SUID bit on the relevant application, but Windows has no equivalent concept, so I had to try a different avenue.&lt;br /&gt;&lt;br /&gt;My plan was to run Acer &lt;span id="st" name="st" class="st0"&gt;ePowerManagement&lt;/span&gt; as a service. First, I downloaded the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;amp;displaylang=en"&gt;Windows server 2003 resource kit tools&lt;/a&gt;.  I then created a service called &lt;span id="st" name="st" class="st0"&gt;epowermanagement&lt;/span&gt; by typing the following at the command prompt:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;cd "C:\Program Files\Windows Resource Kits\Tools"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;instsrv.exe &lt;/span&gt;&lt;span id="st" name="st" class="st0"  style="font-family:courier new;"&gt;epowermanagement&lt;/span&gt;&lt;span style="font-family:courier new;"&gt; "C:\Program Files\Windows Resource Kits\Tools\srvany.exe"&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;The service can be configured by going to&lt;br /&gt;&lt;blockquote&gt;Start → Control Panel → Administrative Tools → Services&lt;/blockquote&gt;and then finding &lt;span id="st" name="st" class="st0"&gt;epowermanagement.&lt;/span&gt;  Right-click for the context menu, and select properties.  From the "log on" tab, select Local Account and check "Allow service to interact with desktop".  In order to set the actual application to run, one needs to use regedit.&lt;br /&gt;&lt;br /&gt;Go to&lt;br /&gt;&lt;blockquote  style="font-family:courier new;"&gt;HKEY_LM\SYSTEM\CurrentControlSet\Services\&lt;span id="st" name="st" class="st0"&gt;epowermanagement&lt;/span&gt;&lt;/blockquote&gt;(where LM is short for LOCAL_MACHINE) and create a new key called Parameters.  In this key create a new string, and call it Application.  I changed its value to &lt;span style="font-family:courier new;"&gt;C:\Acer\ePM\EPM-DM.exe&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;This is enough for most purposes, but as it is, you will see error messages of the form "Access violation at address xxxxx in module 'ePM.exe'" when connecting/disconnecting from AC power.  Moreover, you will only be able to alter the settings when logged in as an Administrator.  The resolution of these problems will be the topic of &lt;a href="http://marasingha.blogspot.com/2006/01/tweaking-acer-part-iii.html"&gt;Tweaking the Acer - Part III&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-113705983679029477?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/113705983679029477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=113705983679029477' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113705983679029477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113705983679029477'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/01/tweaking-acer-part-ii-epowermanagement.html' title='Tweaking the Acer - Part II, ePowerManagement'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-113698002287009129</id><published>2006-01-11T11:31:00.000Z</published><updated>2006-12-11T11:53:56.446Z</updated><title type='text'>Tweaking the Acer</title><content type='html'>In 2005, I bought an Acer Travelmate 4151LMi laptop (part number  LX.T7606.068).  It's a nice machine and more than adequate for my tasks (i.e. surfing and editing web pages, reading email, editing maths documents with LaTeX, and general word processing).  The graphics subsystem (onboard Intel 915GM) is not fantastic, so I wouldn't recommend it if you are a serious gamer.  Note also that the graphics system has no memory of its own and borrows 128Mb from the main memory.&lt;br /&gt;&lt;br /&gt;To start with, I had some problems with choppy DVD playback, a good deal of noise, and generally slow performance.  Ultimately, I found that the root cause was in a piece of software called Acer eRecovery, in particular, a subprogram called Monitor.exe.  I disabled the software by starting regedit and editing the following key:&lt;br /&gt;&lt;div&gt; &lt;/div&gt; &lt;div style="font-family: courier new;"&gt;&lt;blockquote&gt;HKLM\Software\Microsoft&lt;wbr&gt;\Windows\CurrentVersion\Run&lt;/blockquote&gt;&lt;/div&gt; &lt;div&gt; &lt;/div&gt; From this key, I removed the value name eRecoveryService which has value data &lt;span style="font-family:courier new;"&gt;C:\Windows\System32\Check.exe&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Et volia!  The performance suddenly shot up, the DVD playback became smooth and the noise disappeared — in fact, the laptop is very quiet.  Reading the blog of &lt;a href="http://crippledcanary.se/archives/7"&gt;Crippled Canary&lt;/a&gt;, it seems that the problem is due to the fact that eRecovery uses the D: partition, which must be of type FAT32.  This will cause problems if you have a dual-boot system.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-113698002287009129?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/113698002287009129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=113698002287009129' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113698002287009129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113698002287009129'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/01/tweaking-acer.html' title='Tweaking the Acer'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-113683164244170812</id><published>2006-01-09T17:30:00.000Z</published><updated>2006-01-09T20:16:43.590Z</updated><title type='text'>Cygwin</title><content type='html'>By nature, I'm a Linux man.  My dalliance with Microsoft ended at Windows 95 after I discovered the beauty and power of Linux and it's command shell.  Unfortunately, Linux suffers from poor hardware support, and the purchase of a new laptop in 2005 forced my hand.  I couldn't install Ubuntu (Hoary Hedgehog) as the installer didn't recognise my spanking new SATA DVD drive.  I managed to install Debian on the system, but found that it didn't properly support some of the newer hardware in my laptop; notably lacking was xv support for the graphics card.&lt;br /&gt;&lt;br /&gt;I had a busy time ahead of me and didn't want to waste it recompiling the kernel and patching drivers.  Since I knew Windows XP would be able to make best use of the hardware &lt;span style="font-style: italic;"&gt;without &lt;/span&gt;having to edit a configuration file, I bit the bullet and ditched Linux in favour of the Redmond OS.&lt;br /&gt;&lt;br /&gt;Not willing to completely give up on my penguin fix, I looked into Cygwin, a Linux emulator for Windows.  In a previous incarnation, I had known Cygwin as a console-based emulator, and had used it to port a &lt;a href="http://www.amarasingha.cwc.net/software/index.html#konnect4"&gt;Connect4-style game&lt;/a&gt; to Windows.  However, since 2001, Cygwin has shipped with a port of the X Window System.  Essentially, Cygwin allows the user to have a Linux desktop environment running on top of Microsoft Windows.&lt;br /&gt;&lt;br /&gt;At the time of writing, there exist beta ports of &lt;a href="http://cygnome.sourceforge.net/"&gt;GNOME&lt;/a&gt; 1.4 and &lt;a href="http://kde-cygwin.sourceforge.net/"&gt;KDE&lt;/a&gt; up to version 3.1.4.  However, I plumped for speed and stability over a fancy desktop and went with fvwm2.  This window manager needs a bit of "config file editing", but I had a ready-to-go config file from my University account.  A beginner may be better off with WindowMaker, which also comes with Cygwin.&lt;br /&gt;&lt;br /&gt;In later articles, I'll write about my experiences configuring Cygwin for LaTeX, sshd, rsync, etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-113683164244170812?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/113683164244170812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=113683164244170812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113683164244170812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113683164244170812'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2006/01/cygwin.html' title='Cygwin'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-113587925635440582</id><published>2005-12-29T17:52:00.000Z</published><updated>2006-01-02T12:55:25.216Z</updated><title type='text'>Elementary Wavelet Analysis</title><content type='html'>&lt;p&gt;This is the abstract for my MSci thesis on wavelet analysis.  For the full article, see my &lt;a href="http://www.amarasingha.cwc.net/mathspages/wavelets/index.html"&gt;main site&lt;/a&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Abstract:&lt;/strong&gt; &lt;i&gt; A discussion of orthonormal wavelet bases and wavelet&lt;br /&gt;series, utilising the notion of multiresolution approximations. I start by discussing multiresolution approximations and show how to find an orthonormal basis of the generating space, consisting of translates of a `scaling function' φ. The notion of orthornormal wavelet bases is then introduced, and it is shown how one can go from a multiresolution approximation to a wavelet basis with a scaling function, and vice-versa. The article then turns to the description of wavelet bases of compact support and multi-dimensional wavelet bases (using the tensor product method). Finally, the regular wavelets of compact support are seen to form an unconditional basis of the space H&lt;sup&gt;1&lt;/sup&gt;(&lt;b&gt;R&lt;/b&gt;&lt;sup&gt;n&lt;/sup&gt;) of Stein and Weiss, this being an interesting subspace of L&lt;sup&gt;1&lt;/sup&gt;(&lt;b&gt;R&lt;/b&gt;&lt;sup&gt;n&lt;/sup&gt;).&lt;/i&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This is my MSci project, which I undertook in the fourth year of my undergraduate degree at Imperial College, London. It is concerned with mathematical entities known as wavelets, and uses the wavelets to investigate a space called H&lt;sup&gt;1&lt;/sup&gt;(&lt;b&gt;R&lt;/b&gt;&lt;sup&gt;n&lt;/sup&gt;).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Though the title of the project is 'Elementary' wavelet analysis, you still do need to know some maths to understand it!  In particular, you should be aquainted with undergraduate functional analysis. If you'd prefer something less technical, why don't you try &lt;a href="http://users.rowan.edu/~polikar/WAVELETS/WTtutorial.html"&gt;The Engineers Ultimate Guide to Wavelet Analysis&lt;/a&gt;. This Internet article was written by a non-mathematician and designed for non-mathematicians, so anyone (well any scientist or engineer) should find it quite accessible. If you want to read more on the topic, then another not-so-technical resource is&lt;span class="biblio"&gt; &lt;span style="color: rgb(51, 204, 0);"&gt;G. Kaiser, &lt;/span&gt;&lt;em style="color: rgb(51, 204, 0);"&gt;A Friendly Guide to Wavelets&lt;/em&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;, Birkhauser, Boston 1994&lt;/span&gt;.  &lt;/span&gt;A good introductory volume for the more mathematically minded amongst you is &lt;span class="biblio"&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;C. K. Chui, &lt;/span&gt;&lt;em style="color: rgb(51, 204, 0);"&gt;An Introduction to Wavelets&lt;/em&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;, Academic Press Inc., New York, 1992&lt;/span&gt;.  &lt;/span&gt;But the book I referred to mostly whilst writing my project was &lt;span class="biblio"&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;Y. Meyer, &lt;/span&gt;&lt;em style="color: rgb(51, 204, 0);"&gt;Wavelets and operators&lt;/em&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;, Cambridge University Press, Cambridge, 1992&lt;/span&gt;.&lt;/span&gt; It's a pretty tough going book and I wouldn't recommend it unless you're really up to scratch on your real analysis; nonetheless it is required reading if you seriously want to understand the deeper theoretical foundations of the wavelet theory.&lt;/p&gt;&lt;p&gt;In case you meet the above requirement and are interested in reading further, you might first like to know a little about what wavelets are and how they can be used.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;A one-dimensional wavelet basis is a basis of L&lt;sup&gt;2&lt;/sup&gt;(&lt;b&gt;R&lt;/b&gt;) (depending upon the author, the basis may or may not be required to be orthonormal) and equally an n-dimensional wavelet basis is a basis of L&lt;sup&gt;2&lt;/sup&gt;(&lt;b&gt;R&lt;/b&gt;&lt;sup&gt;n&lt;/sup&gt;), in much the same manner the complex exponentials form an orthonormal basis of L&lt;sup&gt;2&lt;/sup&gt;(0,2π).  So indeed wavelet analysis shares some similarities with Fourier analysis.  However if you read the article, you'll find that wavelets really kick arse, compared with Fourier analysis.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-113587925635440582?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/113587925635440582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=113587925635440582' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113587925635440582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113587925635440582'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2005/12/elementary-wavelet-analysis.html' title='Elementary Wavelet Analysis'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-113586934710176939</id><published>2005-12-29T15:14:00.000Z</published><updated>2006-01-14T15:51:22.160Z</updated><title type='text'>GnuPG and Friends</title><content type='html'>&lt;h3&gt;Installation of GnuPG&lt;/h3&gt;&lt;p&gt;GnuPG is the GNU Privacy Guard — an open source replacement for PGP.  GnuPG can be used for encrypting and/or signing emails and other documents.&lt;/p&gt;&lt;p&gt;I'm going to describe the process of setting up GnuPG with Microsoft Windows XP.  Another short guide is to be found on &lt;a href="http://enigmail.mozdev.org/gpgconf.html"&gt;mozdeg.org&lt;/a&gt;.  The canonical reference is the &lt;a href="http://www.gnupg.org/gph/en/manual.html"&gt;Gnu Privacy Handbook&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;First you need to download a copy of GnuPG, verify its authenticy, then install it.  The instructions for so doing are to be found on the &lt;a href="http://www.gnupg.org/"&gt;GnuPG website&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Having installed the software, I recommend adding GnuPG to your &lt;code&gt;%PATH%&lt;/code&gt; environment variable.  To do this, right-click on "My Computer", select Properties, then Advanced, then environment Variables.  Add (if it doesn't exist) or Edit (if it does), the User Variable "PATH".  Add the value &lt;code&gt;C:\Program Files\GNU\GnuPG&lt;/code&gt;.  You may now access gpg from the command line.&lt;/p&gt;&lt;p&gt;Your personal data will be stored in &lt;code&gt;%APPDATA%\gnupg&lt;/code&gt;. Typically, if your username is Bob, the personal data will be stored in  &lt;code&gt;C:\Documents and Settings\Bob\Application Data\gnupg&lt;/code&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If you already have some keys from another installation of GnuPG (which will be found in files called &lt;code&gt;secring.gpg&lt;/code&gt; and &lt;code&gt;pubring.gpg&lt;/code&gt;), you may import them with &lt;code&gt;gpg --import &lt;i&gt;filename.&lt;/i&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;If you don't already have your own keys, you'll have to generate them with the command &lt;code&gt;gpg --gen-key&lt;/code&gt;.  Follow the instructions.  I recommend generating a key-pair which doesn't expire, though this can be changed later. Make your passphrase fairly long!&lt;/p&gt;&lt;h3&gt;Keyservers&lt;/h3&gt;&lt;p&gt;Your key is useless unless you can share it with others. One way to share your key is to use a keyserver.  First find the keyID of your public key with &lt;code&gt;gpg --list-keys&lt;/code&gt;.  The keyID is an&lt;br /&gt;8-digit hexadecimal number.  The keyID for one of my public keys is CC144DA2.  We'll use this in the following examples.&lt;/p&gt;&lt;p&gt;Before sending the key to a server, it's a good idea to create a revocation certificate.  You'll need this if your key is every compromised.  The revocation certificate is used to inform a server that the key has been revoked.  The syntax for the creation of a revocation certificate is &lt;code&gt;gpg -a --output &lt;i&gt;filename &lt;/i&gt;--gen-revoke CC144DA2&lt;/code&gt;.&lt;/p&gt;&lt;p&gt;We may now add our public key to a key server.  Here is the command:&lt;br /&gt;&lt;code&gt;gpg --send-keys --keyserver pgp.mit.edu CC144DA2&lt;/code&gt;&lt;/p&gt;&lt;h3&gt;Enigmail&lt;/h3&gt;&lt;p&gt;Now we need to do something useful with GnuPG!  I assume you're using the Thunderbird/Mozilla email client.  Find and install the enigmail extension.  The only setup required is to tell enigmail where to find GnuPG.  Close down and restart Thunderbird (if you haven't done so already).  Loacte the OpenPGP menu and select Preferences. For the GnuPG executable path, enter &lt;code&gt;C:\Program Files\GNU\GnuPG\gpg.exe&lt;/code&gt;.  It should be fairly clear how to&lt;br /&gt;operate Enigmail.&lt;/p&gt;&lt;h3&gt;Fingerprints; the Web of Trust&lt;/h3&gt;&lt;p&gt;I mentioned that a key pair is only useful if the public key is shared.  However, you need to ascertain that a key you find (from a keyserver, for example) really does belong to the person it claims to.  This is where fingerprints enter the picture.&lt;/p&gt;&lt;p&gt;Each key has a fingerprint associated with it.  If you download a key, you can contact the key's owner in person to find out the key's fingerprint.  If the fingerprints match, you can be almost certain that you have found a valid key.  You can find the fingerprint of a key by entering &lt;code&gt;gpg --fingerprint &lt;i&gt;keyID&lt;/i&gt;&lt;/code&gt;.  Once you are certain of the authenticity of a key, you may &lt;i&gt;sign&lt;/i&gt; it with your own secret key.  Having signed the key, you may send the updated key to a keyserver (note, you will be sending someone else's key to the keyserver!).&lt;/p&gt;&lt;p&gt;Anyone who subsequently downloads the key from the server will see that you have placed your seal of approval on the key.  If they have a validated copy of your key, this may give them some level of confidence that the key is authentic, without having to check the fingerprint themselves.  In fact, GnuPG has a built-in system called the web of trust which automates this process to some extent.&lt;/p&gt;&lt;p&gt;For more information on these issues, please refer to the &lt;a href="http://www.gnupg.org/gph/en/manual.html"&gt;GNU Privacy Handbook&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-113586934710176939?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/113586934710176939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=113586934710176939' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113586934710176939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113586934710176939'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2005/12/gnupg-and-friends.html' title='GnuPG and Friends'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20301835.post-113586786040359503</id><published>2005-12-29T14:49:00.000Z</published><updated>2005-12-29T16:19:33.236Z</updated><title type='text'>First Day</title><content type='html'>Having spent almost nine years surfing the web, this is my first foray into the world of blogging.  It remains to be seen what I intend to do with this site, but I hope it will be of some interest!&lt;br /&gt;&lt;br /&gt;In the meantime, I'll point to some of the work on my main website.  I have a discussion of cryptography, focusing on the &lt;a href="http://www.amarasingha.cwc.net/mathspages/rsacode/index.html"&gt;RSA code&lt;/a&gt;;  it is interactive and allows one to encode and decode text messages with the RSA algorithm.  I also have a page on &lt;a href="http://www.amarasingha.cwc.net/mathspages/partialfrac/index.html"&gt;partial fractions&lt;/a&gt;, which I hope will be useful to advanced high-school students who want a more thorough understanding of this topic.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20301835-113586786040359503?l=marasingha.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marasingha.blogspot.com/feeds/113586786040359503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20301835&amp;postID=113586786040359503' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113586786040359503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20301835/posts/default/113586786040359503'/><link rel='alternate' type='text/html' href='http://marasingha.blogspot.com/2005/12/first-day.html' title='First Day'/><author><name>j.shoehorn</name><uri>http://www.blogger.com/profile/11556463604443854011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://users.ox.ac.uk/~scro0392/blog/corner.jpg'/></author><thr:total>0</thr:total></entry></feed>
