tag:blogger.com,1999:blog-51013642483209996362024-03-13T04:01:04.041-07:00S. S. - The Way of the WarriorSilent all these years...Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-5101364248320999636.post-66632318323719056802012-12-11T09:04:00.000-08:002012-12-11T09:32:16.330-08:00Lubuntu 12.10Just did a fresh install of the 64-bit version of <a href="http://cdimage.ubuntu.com/lubuntu/releases/12.10/release/">Lubuntu 12.10 (Quantal Quetzal)</a>, keeping the home directory from my previous 32-bit version of Lubuntu 12.04. Reason for switching to the 64-bit version is to run <a href="http://www.mathworks.co.uk/products/matlab/">MATLAB</a> R2012b and upcoming versions.<br />
<br />
Main thing I have to remember to get my dual-boot (Windows 7 + GNU/Linux) system working is install GRUB to the root partition of the Linux system, then use <a href="http://neosmart.net/EasyBCD/">EasyBCD</a> in Windows to configure the Windows Boot Manager by adding an entry to boot to Linux with GRUB (Legacy).<br />
<br />
<i>[Note: I used the previous version EasyBCD 2.0 that was on my system and don't seem to be able to download the newer version now from <a href="https://www.google.com/intl/en/chrome/browser/">Google Chrome</a>. Suggested workarounds not involving EasyBCD for configuring the Windows Boot Manager welcome - I recall the last time I tried to control booting with GRUB on the Master Boot Record, Windows failed to load.]</i><br />
<br />
Now to spend some time setting up the system, though it looks like everything mostly works!Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com0tag:blogger.com,1999:blog-5101364248320999636.post-65431402739494309202012-05-06T18:49:00.002-07:002012-05-06T18:49:48.704-07:00Sylpheed ConfigurationJust in case this is useful to anyone from Oxford or elsewhere using <a href="http://sylpheed.sraoss.jp/en/">Sylpheed</a> for emails and having trouble configuring it - I found that I had to choose the "LOGIN" method for authenticating IMAP and SMTP, as "Automatic" wasn't working for me.<br />
<br />
Sylpheed is looking like a nice, snappy email program so far, and it runs fast and light on computing resources.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com0tag:blogger.com,1999:blog-5101364248320999636.post-75517098491253161202012-05-04T13:52:00.002-07:002012-05-04T13:52:34.067-07:00Physics PiecesQuite a few remarkable talks recently that I thought I'd write briefly about, especially the last one.<br />
<br />
<a href="http://www.princeton.edu/physics/people/display_person.xml?netid=pjep&display=faculty">Jim Peebles</a> gave a lecture last week about "finding" the big bang (cosmic microwave background and that kind of thing). An interesting account of the historical developments. As physics improves by successive approximations, it always leaves something unknown for the next generation to find out.<br />
<br />
<a href="http://wwwmaths.anu.edu.au/~murrayb/Rodney_Baxter.html">Rodney Baxter</a> gave a talk on his work on hard hexagons, and had lessons about publishing conjectures even if you don't fully understand them, so others can work on them too.<br />
<br />
<a href="https://sites.google.com/site/slavarychkov/">Slava Rychkov</a> gave a talk about ideas that might be pretty exciting for future work. Essentially, they use conformal field theory techniques ("conformal bootstrap") with some success in greater than two space dimensions (e.g. on the 3D Ising model), complementing the use of renormalisation group techniques.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com0tag:blogger.com,1999:blog-5101364248320999636.post-66737690329516661082012-05-03T16:31:00.000-07:002012-05-03T16:31:19.108-07:00Lubuntu 12.04Did a reinstall of <a href="http://lubuntu.net/">Lubuntu</a> on my laptop as something went wrong during the upgrade to 12.04 (codenamed <a href="https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop">Precise Pangolin</a>). Just as well, since I have /home on a separate partition so didn't lose any of my data, just the tons of programs that I haven't used for ages. I'm sticking with Lubuntu because Ubuntu (at least version 11.10 of it) was too resource-hungry for my machine.<br />
<br />
Instead of the <a href="http://do.davebsd.com/">GNOME Do</a> launcher, I now use <a href="http://kaizer.se/wiki/kupfer/">Kupfer</a>. Very snappy.<br />
<br />
Followed <a href="http://www.omgubuntu.co.uk/2010/04/how-to-install-dropbox-in-lubuntu/">these instructions</a> to install Dropbox. Had to install gcc to get it working. Then followed the instructions <a href="http://ubuntuforums.org/showpost.php?p=11108807&postcount=8">here</a> to get Dropbox running automatically each time.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com0tag:blogger.com,1999:blog-5101364248320999636.post-3177057546611390902012-03-29T04:48:00.003-07:002012-03-29T04:48:30.633-07:00MATLAB Virtual Conference 2012Attended the <a href="http://events.unisfair.com/index.jsp?eid=1128&seid=23&code=EventsLstng">MATLAB Virtual Conference</a> yesterday. The session on Mathematical Modelling by Tucker McClure was quite a useful showcase of various features of MATLAB, such as MuPAD (which basically lets you create a Mathematica notebook to write up stuff), and the curve fitting and optimisation toolboxes.<br />
<br />
MATLAB seems to have nice functionality to auto-generate lots of useful stuff, like generating code, scripts and reports ("publish"). Using two percent symbols (%%) is also nifty to break code into "cell mode" that can be run in little modular bits.<br />
<br />
The time is probably coming, if it isn't already upon us, that these scientific programming tools will be used in the pre-university classroom.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com0tag:blogger.com,1999:blog-5101364248320999636.post-60152324711603722392012-01-20T05:00:00.001-08:002012-01-20T05:00:48.749-08:002012It's a new year, it's a new term. Things are getting off to a flying start. Hold on to your hats, it's going to be a rough ride!Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com2tag:blogger.com,1999:blog-5101364248320999636.post-39700514443957950892011-12-14T15:42:00.000-08:002011-12-14T15:42:50.026-08:00MathematicaAttended a one-day training in Long Hanborough on the use of Mathematica by Wolfram expert <a href="http://demonstrations.wolfram.com/author.html?author=Jon%20McLoone">Jon McLoone</a>. You can certainly do some cool stuff with Mathematica if you put aside the issues of "open source" and "free software" (free as in free speech but it's also pretty expensive to get the software!)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-VovM-CfQpcQ/TukzOAZRl3I/AAAAAAAADLw/vYlfzi0-cwM/s1600/IMG_7062.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://4.bp.blogspot.com/-VovM-CfQpcQ/TukzOAZRl3I/AAAAAAAADLw/vYlfzi0-cwM/s320/IMG_7062.JPG" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-thuHTvi7gyM/TukzVCQ-VvI/AAAAAAAADL4/oPCikqt-pWw/s1600/IMG_7066.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://3.bp.blogspot.com/-thuHTvi7gyM/TukzVCQ-VvI/AAAAAAAADL4/oPCikqt-pWw/s320/IMG_7066.JPG" width="320" /></a></div>
<br />Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-48875488451562719602011-12-13T04:49:00.000-08:002011-12-13T04:49:19.004-08:00First SnowSnow's falling though quite not enough so it's all melting by the time it hits the ground. But it's snow!Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-92157285943846894662011-11-19T16:08:00.001-08:002011-11-19T16:22:49.743-08:00LXDESwitched window manager to <a href="http://lxde.org/">LXDE</a> because the default Unity interface for ubuntu was getting really slow and possibly even somewhat buggy.<br />
<br />
Love the fast performance! Blazingly quick and I should have done this long ago.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com3tag:blogger.com,1999:blog-5101364248320999636.post-72107351885912391622011-11-10T08:27:00.001-08:002011-11-15T06:55:25.791-08:00Physics Pieces (Part 5)Interesting set of seminars last week.<br />
<br />
<a href="http://www.rhul.ac.uk/physics/research/condensedmatter/theoryofcondensedmatter/drclaudiocastelnovo/drclaudiocastelnovo.aspx">Claudio Castelnovo</a> from Royal Holloway, who was a post-doc in Oxford, gave a talk about magnetic monopoles in spin ice, which was featured on the cover of <a href="http://www.nature.com/nature/journal/v451/n7174/index.html">Nature</a> in 2008. He gave a brief theoretical introduction and described results by <a href="http://www.sciencemag.org/content/326/5951/411.abstract">Morris et al.</a> from neutron scattering experiments with an applied magnetic field to compare against this model of emergent electrodynamics in a 3D condensed matter system.<br />
<br />
<a href="http://www.ph2.uni-koeln.de/169.html?&tx_bzdstaffdirectory_pi1%5BshowUid%5D=17&tx_bzdstaffdirectory_pi1%5BbackPid%5D=97&L=1">Daniel Khomskii</a> from Koeln University, Germany spoke on frustrated Mott insulators. The virtual hopping of Hubbard spins around a triangle in a triangular lattice gives an orbital current in third order perturbation theory, which was a somewhat analogous result to magnetic monopoles in spin ice (electric charge instead of magnetic monopoles).<br />
<br />
<a href="http://www.physics.ox.ac.uk/qubit/">Dieter Jaksch</a>, associated with the atomic and laser physics sub-department of Oxford, and with the <a href="http://www.quantumlah.org/">Centre for Quantum Technologies</a> in Singapore, gave a talk about strongly driven quantum systems. He described the application of tensor network and path sum approaches to their areas of research, on impurities in optical lattices, Rydberg lattices and tetrahertz pump-probes.<br />
<br />
<a href="http://www.ast.cam.ac.uk/~mjr/">Martin Rees</a> gave another talk, this time on real and counterfactual universes. This was the 8th <a href="http://en.wikipedia.org/wiki/Dennis_William_Sciama">Dennis Sciama</a> memorial lecture, and Rees was Sciama's graduate student. <a href="http://en.wikipedia.org/wiki/Stephen_Hawking">Stephen Hawking</a> had been Sciama's graduate student for about 2 years when Rees joined the research group. Interestingly, <a href="http://en.wikipedia.org/wiki/Roger_Penrose">Roger Penrose</a>, who made contributions to astrophysics during the 1960s, was at the talk as well.<br />
<br />
Rees gave some of the history of the steady-state theory versus big bang theory in the 1940s and 50s, and spoke about the "tuning" problem of the cosmological constant and the amplitude of fluctuations during the big bang. To produce a universe like ours, there seem to be strong constraints on the allowed value of the cosmological constant (cosmic expansion rate), and some sensitivity also to the fluctuations - too much fluctuations and there are too many black holes, too little and there are too few stars. And gravity needs to be weak so the universe has enough time to become interesting.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-72923415132773677882011-11-10T08:26:00.000-08:002011-11-10T08:26:47.782-08:00Physics Pieces (Part 4)Talks by two Princeton professors who visited Oxford last week. <a href="http://www.hep.princeton.edu/%7Emarlow/">Dan Marlow</a> gave a talk about luminosity measurements at the Large Hadron Collider, discussing the various technical issues involved when pushing equipment to its limits to test the limits of science. <a href="http://physics.princeton.edu/%7Ehaldane/">Duncan Haldane</a> spoke about geometry and topological phases of matter, starting from the Gauss-Bonnet theorem and the generalisation by Chern. Interesting history about how Karplus and Luttinger's paper in 1954 (Phys. Rev. 95, 1154–1160) on the anomalous Hall effect was discredited and finally vindicated in 2005.<br />
<br />
Fellow graduate student <a href="http://www-thphys.physics.ox.ac.uk/people/CurtvonKeyserlingk/">Curt von Keyserlingk</a> gave a talk on the Toric Code too, a toy model involving plaquette and vertex terms in the hamiltonian for the spins. There's a nice pictorial representation of the states of the system, and similar models can lead to what are known as "anyon statistics" for quasiparticles that are neither fermions nor bosons.<br />
<br />
<a href="http://itp.uni-frankfurt.de/~valenti/">Roser Valenti</a> from Goethe University in Frankfurt gave a talk on frustration, using density functional theory to come up with effective models and studying them with quantum Monte Carlo and other methods. Interesting attempt to understand caesium copper chloride and caesium copper bromide by substituting the chlorine atoms with bromine atoms and vice versa.<br />
<br />
<a href="http://www.ast.cam.ac.uk/~mjr/">Martin Rees</a> from Cambridge delivered a <a href="http://www.ox.ac.uk/media/news_stories/2011/111103_1.html">public lecture</a> on "The Limits of Science" last week too, and I took the kids to it. He had some encouragement for beginning scientists, who might feel that so many major advances have been made that it's hard to push further forward. His idea was that each advance leads to new questions, and the computational power we have at our disposal is a powerful tool that previous generations did not have. Yet there are likely to be things beyond our ability to comprehend, which require posthuman intelligence. There is a huge gulf between what we can do today and what we should do, whether in research or in public policy, and we need to choose wisely with a longer term view of leaving a fair inheritance for future generations.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-22364122247916614082011-11-08T15:52:00.000-08:002011-11-08T15:57:05.621-08:00gNewSenseThe <a href="http://www.gnewsense.org/">gNewSense</a> 2.3 LiveCD boots my computer into a working state, which is great. Unfortunately the Ethernet adapter doesn't work out of the box with my laptop, so that's a bummer.<br />
<br />
According to the <a href="http://www.gnewsense.org/FAQ">FAQ</a>, the current version is based on Ubuntu, but the next version (3.0) will be based on Debian.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-3487535313553818312011-11-06T15:33:00.000-08:002011-11-06T15:33:10.956-08:00rms<a href="http://stallman.org/">Richard Stallman</a> came by to Oxford to give a talk ("A Free Digital Society") on Friday. As I was at another seminar, I didn't manage to attend even though it was relatively conveniently held at the physics department. As a result, I read up more about his life and work, after finding this very interesting <a href="https://secure.mysociety.org/admin/lists/pipermail/developers-public/2011-October/007647.html">piece</a> that details his preferences and requests for anyone interested in getting him to speak.<br />
<br />
The actual talk he gave was probably more or less along the lines of <a href="http://www.wikipublisher.org/books/GNUZealand2009/AFreeDigitalSociety">this earlier transcript</a>. I agree that indeed, copyright and patents are relics of the past that now mainly benefit corporations only and stand in the way of progress. We do need to disentangle the issues to both encourage sharing and cooperation and also encourage content creation.<br />
<br />
Reading up again about his life and cause reminded me of the ideals of freedom, choice and software. In many ways, universities embody the essence of freedom and cooperation - research published in open journals are analogous to "copyleft". <br />
<br />
I'll end this post by pointing out that the <a href="http://shop.fsf.org/product/free-as-in-freedom-2/">story</a> of his younger days is pretty interesting. He did physics at Harvard and spent weekends at the MIT Artificial
Intelligence lab, where the "freedom" issue first reared its head in the
form of a proprietary printer driver. He was a physics graduate student
for a while and decided that he could make a greater contribution through computer code.<br />
<br />
[On a slightly more technical/purist point, as I'm using Ubuntu GNU/Linux now with non-free drivers, I've sacrificed some "freedom"
for the convenience of getting my laptop to work well. Just downloaded
the fully free <a href="http://www.gnewsense.org/">gNewSense</a> which I'll test-drive.]Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-64068464679854528352011-11-01T13:41:00.000-07:002011-11-01T13:41:49.261-07:00LondonVisited London over the weekend with the family (<a href="http://www.dropbox.com/gallery/13586479/1/London?h=8551ec">photos</a>). We went to the <a href="http://www.nhm.ac.uk/">Natural History Museum</a>. Plenty of dinosaur bones and other pieces from our past. Didn't have time for the <a href="http://www.sciencemuseum.org.uk/">Science Museum</a> - maybe next time!Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-55694371429844335982011-11-01T06:12:00.000-07:002011-11-01T13:42:48.442-07:00Physics Pieces (Part 3)It's a new month!<br />
<br />
This is going to be a short piece since I've already reported on some of the talks from last week. There was a talk by Jacques Laskar from IMCCE in Paris. Unfortunately I missed this one but there is a <a href="http://www.imcce.fr/Equipes/ASD/person/Laskar/jxl_collision.html">video</a> that he showed at the end of the talk.<br />
<br />
<a href="http://www.rigb.org/contentControl?action=displayContent&id=00000001809">Joanna Haigh</a> from Imperial College London gave a talk about how changes in the sun affect climate. The prevalence of sunspots has a 11-year cycle of fluctuations, and recent data has suggested a spectral distribution quite different from what is usually assumed.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-65630109899155036092011-10-26T15:48:00.000-07:002011-10-26T15:49:00.574-07:00Physics Pieces (Part 2)Another exciting week has gone by, and the current week is unrelentless in seeking to outdo the last.<br />
<br />
It's just mid-week and already <a href="http://www.phys.psu.edu/people/display/index.html?person_id=421;mode=research">David Weiss</a> from Penn State gave us a summary of the various cold atom experiments going on in his lab - ranging from quantum computing on a 3-d lattice to a quantum version of "Newton's cradle" and a search for the electron dipole moment.<br />
<br /><a href="http://www-thphys.physics.ox.ac.uk/people/FionaBurnell/">Fiona Burnell</a>, a post-doc in our group, gave an informal presentation on a toy model for fractional topological insulators. Useful ideas to help me navigate the zoo of condensed matter systems out there. She did her PhD at Princeton under <a href="http://www.princeton.edu/%7Esondhi/">Shivaji Sondhi</a> and had started her studies there while I was still there as an undergraduate.<br />
<br />
But the real focus of this post was last week. <br />
<br />
Alessandro de Silva from ICTP Trieste spoke about quantum quenches, studying the behaviour of systems quickly thrown from an equilibrium state to another via a non-equilibrium process.<br />
<br />
<a href="http://www.st-andrews.ac.uk/physics/PHP_Global/Staff_Info.php?id=311">Chris Hooley</a> from St Andrews gave an entertaining lecture, based on some initial research into the use of complex temperatures for the thermodynamic partition function. It was useful for me as he spent a lot of time motivating the discussion and talking about quantum critical points.<br />
<br />
<br />
<a href="http://www.physics.harvard.edu/people/facpages/nelson.html">David Nelson</a> from Harvard gave a very accessible presentation on the packing problem on a curved surface. Very nice simulations and visuals for a practical and mathematical topic, and actually had everyone in the audience looking at a golf ball (the distribution of the dimples on the surface is related to how viruses arrange their capsomeres).<br />
<br />
<a href="http://echidna.rutgers.edu/">Lev Ioffe</a> from Rutgers talked about quantum coherence, and what I really enjoyed were the introductory graphics with spherical cows and the philosophical idea that if the environment itself is quantum, then how does quantum decoherence set in? So it's like Schrödinger's cats looking at Schrödinger's cats.<br />
<br />
With the complement of courses and problem sets, I am slowly but surely progressing on the path of understanding nature better!Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-62241406362948803852011-10-25T14:10:00.000-07:002011-10-25T14:10:11.996-07:00HibernationIt's getting so cold in Oxford. And it's going to get colder.<br />
<br />
On hibernation, somehow the upgrade to Ubuntu 11.10 broke hibernation, which was working when I was using Ubuntu 11.04. Or perhaps it was from my fiddling with the <span style="font-family: "Courier New",Courier,monospace;">fglrx</span> driver for AMD graphics.<br />
<br />
Got a message that there wasn't enough space, which was weird. Followed the instructions on <a href="https://help.ubuntu.com/community/SwapFaq#Process_to_Increase_Size_of_Swap_Partition_and_use_it_for_Hibernation">making a new swap partition work for hibernate</a>, and even tried to create a 10 GB swap partition, but was still being told that there wasn't enough memory! It only worked intermittently when I had freshly booted in.<br />
<br />
Stumbled upon this <a href="http://ubuntuforums.org/archive/index.php/t-1654099.html">forum thread</a> which led me to the answer.<br />
<ul>
<li>Checked <span style="font-family: "Courier New",Courier,monospace;">/var/log/syslog</span> which showed that the hibernation image needed more pages than available in the swap partition. </li>
<li>The magic fix is "<span style="font-family: "Courier New",Courier,monospace;">echo 0 > /sys/power/image_size</span>", which was set at too high a value on my system. </li>
<li>As this value is reset across reboots, I embedded this line at the start of <span style="font-family: "Courier New",Courier,monospace;">/usr/sbin/pm-hibernate</span>.</li>
</ul>Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-53240600439964568962011-10-18T03:46:00.000-07:002011-10-18T03:46:34.264-07:00Physics Pieces (Part 1)A quick review of the week gone by...<br />
<br />
A talk given by <a href="http://www.phy.bris.ac.uk/people/sikora_o/">Olga Sikora</a> (who worked in <a href="http://seis.bris.ac.uk/~phnsps/">Nic Shannon</a>'s group in Bristol) was on spin ice and mentioned that frustration can occur as "charge frustration" as well. Professor Shannon is based in Oxford this year, and is subsequently headed to the new <a href="http://www.oist.jp/">Okinawa Institute of Science and Technology</a> next year.<br />
<br />
A talk by <a href="http://www.princeton.edu/~sondhi/">Shivaji Sondhi</a> presented a very interesting description of quantum liquids by considering the vortex structure induced in superfluids when coupled with real-space rotation in a bucket. Professor Sondhi was my advisor for my very first research project on the Ising model during Junior Year at Princeton.<br />
<br />
A talk by <a href="http://www-personal.umich.edu/~mejn/">Mark Newman</a> on networks. Excellent for showing the application of physical insight (mainly statistical physics) into problems such as social networks, such as a simple proof of why it usually is that your friends on average have more friends than you (<a href="http://www.sciencedirect.com/science/article/pii/S0378873302000394">Ref</a>). Professor Newman is a prolific author and did his DPhil at Oxford, co-supervised by <a href="http://www-thphys.physics.ox.ac.uk/people/RobinStinchcombe/">Robin Stinchcombe</a> and <a href="http://www-thphys.physics.ox.ac.uk/people/DavidSherrington/">David Sherrington</a>.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com2tag:blogger.com,1999:blog-5101364248320999636.post-70893569865803860912011-10-17T16:07:00.000-07:002011-10-17T16:07:05.731-07:00ThunderstormThe first real rain since we arrived. Good thing it's nighttime and we're indoors sleeping.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-42524176809284752652011-10-17T08:22:00.000-07:002011-10-17T08:22:12.185-07:00CyclingFirst bicycle accident today. The form factor of a stationary car fluctuates by the size of a door when there is at least one occupant.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com2Oxford, Oxfordshire, UK51.7522792 -1.255883851.7129597 -1.3348478000000001 51.791598699999994 -1.1769198tag:blogger.com,1999:blog-5101364248320999636.post-29253891161041652652011-10-16T08:03:00.000-07:002011-10-16T08:03:28.313-07:00Ubuntu 11.10Just upgraded to Ubuntu 11.10, what I appreciate is good support for laptop hardware. I even get two-finger scroll with the touchpad out of the box.Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1tag:blogger.com,1999:blog-5101364248320999636.post-29215313229594802272011-10-16T08:00:00.000-07:002011-10-16T08:00:42.447-07:00MatriculationThe process of becoming a member of the university, tied to past and future generations by a ritual of Latin pronouncements.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://photos-5.dropbox.com/i/o/Y12h2plOBatzlhWRsByRQY-Fd48GS3F-Oj0BfMxu9lM/13586479/1318863600/20634a9/IMG_6645.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://photos-5.dropbox.com/i/o/Y12h2plOBatzlhWRsByRQY-Fd48GS3F-Oj0BfMxu9lM/13586479/1318863600/20634a9/IMG_6645.JPG" width="240" /></a></div>Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1Oxford, Oxfordshire, UK51.7522792 -1.255883799999992351.7162972 -1.3358157999999922 51.788261199999994 -1.1759517999999924tag:blogger.com,1999:blog-5101364248320999636.post-25274510805522258442011-10-11T08:30:00.000-07:002011-10-11T08:30:28.629-07:00ring flingerparting the moss<br />
reaching an unadorned hand<br />
into the cold water<br />
<br />
turning up<br />
a bottle cap<br />
soiled in the murky depths<br />
<br />
a moment ago like a fish<br />
splashing off a fat worm<br />
<br />
fingers now in again<br />
caressing the river bed<br />
for the missing ring<br />
sensation running<br />
<br />
backwards in time<br />
an anchor sinking into the cherwell<br />
flashing back to the jeweler's<br />
<br />
and tossed<br />
upon the dreaming spiresZhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1Oxford, Oxfordshire, UK51.7522792 -1.255883799999992351.7162972 -1.3358157999999922 51.788261199999994 -1.1759517999999924tag:blogger.com,1999:blog-5101364248320999636.post-86543177668900862202011-05-12T05:26:00.000-07:002011-05-13T13:41:39.343-07:00Debian Live<a href="http://live.debian.net/">Debian Live</a> is pretty mature with the <a href="http://www.debian.org/News/2011/20110205a">squeeze release</a>. I downloaded an image to copy to a usb flash drive. Had to make a few tweaks to get it working the way I wanted. With my first post on this blog, I'm going to attempt a brief walkthrough (assuming you already run GNU/Linux):<br />
<br />
<u>Step 1</u><br />
Download an *.img file from<br />
<a href="http://cdimage.debian.org/cdimage/release/current-live/i386/usb-hdd/">http://cdimage.debian.org/cdimage/release/current-live/i386/usb-hdd/</a><br />
(assuming you plan to use a computer with an intel processor)<br />
<br />
The LXDE version is the smallest. That version and the XFCE version can fit on a 1GB usb drive. The GNOME and KDE versions require a 2GB or larger drive.<br />
<br />
<u>Step 2</u><br />
Follow the manual below, but there are extra steps I needed.<br />
<a href="http://live.debian.net/manual/en/html/the-basics.html">http://live.debian.net/manual/en/html/the-basics.html</a><br />
<br />
(a) Use "<tt>dmesg</tt>" or "<tt>ls -l /dev/disk/by-id</tt>" to identify your usb drive. Suppose your drive is "/dev/sdc". Be paranoid in ensuring you have the right identification or risk wiping out a hard disk later!<br />
<br />
(b) What you need to do is then unmount the usb drive (assuming it has existing partitions already), without "safely ejecting" it.<br />
<br />
So run "<tt>umount /dev/sdc1</tt>" and "<tt>umount /dev/sdc2</tt>", etc. as necessary.<br />
<br />
(c) Now you are ready to wipe out the contents of the usb drive and load the Debian Live system onto the drive. This will override all contents on the device you indicate below!<br />
<br />
Example: "<tt>dd if=debian-live-6.0.1-i386-gnome-desktop.img of=/dev/sdc</tt>"<br />
The image must be written to the device, not a partition on the device.<br />
<br />
<u>Step 3</u><br />
The next thing is to use the rest of the space on the usb drive to contain your files, which is known as "persistence". I think I had some trouble the first few times because I immediately tried to create a partition out of the remaining space after Step 2.<br />
<br />
So, what you should do is "safely eject" the usb drive first, then plug it back in again. Use "<tt>palimpsest</tt>" or "<tt>gparted</tt>" or similar disk utilities to create an ext4 partition out of the remaining space, and give the partition the label "<tt>home-rw</tt>".<br />
<br />
This label name for the partition is special, and Debian Live will know to automagically mount it as the "/home" partition and fold it seamlessly into the filesystem.<br />
<br />
<u>Step 4</u><br />
The final step is to enable persistence as a default. When you plug in the usb drive into a running Linux system (or even a Windows system, since the partition containing the Debian Live image is a FAT partition), go into the "syslinux" folder and edit the text file "live.cfg". Add the word "persistent" (without the quotes) to the end of the last line in the code blocks for the labels "Live" and "Live 686". Save the file and you're done!<br />
<br />
<u>Testing</u><br />
To use or test your Debian Live, plug it in to a computer before switching it on. You'll need a computer that allows you to choose to boot from the usb drive. Once you do that, everything should work when you choose either the "Live" or the "Live 686" option in the graphical Debian boot prompt. In case you're wondering, "686" is for dualcore and more advanced processors. Enjoy!<br />
<br />
<i>[posting from Debian Live]</i>Zhiming Darren TANhttp://www.blogger.com/profile/05766035778029008865noreply@blogger.com1