Thursday, 29 November 2012

which version of ubuntu is this?

cat /etc/issue

Installing bits for ipython notebook.

sudo pip install tables

.. ERROR:: Could not find a local HDF5 installation.

sudo apt-get install libhdf5-serial-1.8.4 -> libhdf5-serial-1.8.4 is already the newest version.

sudo apt-get install hdf5-tools -> hdf5-tools is already the newest version.

sudo apt-get install libhdf5-serial-dev


fixed it.  Why do dev files need to be installed so often?!



Tuesday, 27 November 2012

testing code formatting:


this
   should
      be
         indented.

Monday, 26 November 2012

linux mail, crontab

Sort the internal email settings.

$ sudo dpkg-reconfigure postfix

I managed to tie system mail into mutt and my provider somehow, but forgot how!  :(

(1) local only. 2)  postfix config:    markst.free-online.co.uk, no root address, (ms, localhost.localdomain, localhost), sync force, local networks, 5120000, no local addr extension, all IP protocols. 3) sudo touch /var/mail/ms; sudo chown ms /var/mail/ms.

This may be required for crontab mails to get home....

/var/log/cronlog has details of results.

gkrellm  shows there is mail.  Terminals do not.  On reading with, `mail' the mail is moved to ~/mbox

Add to .bashrc the following and new terminals will display the message.  Not on terminal creation, however:  only after hitting

Test with,

echo "test mail" | mail -s "test mail" $USER


export MAIL=/var/mail/$USER
export MAILCHECK=10


Test with,


echo "test mail" | mail -s "test mail" $USER

========

Then I copied old ~/.fetchmailrc, ~/fetchmailrcFreeonline, ~/.mailcap, ~/.msmtprc, ~/.muttrc

and mutt sprang to life!

Sunday, 25 November 2012

pentodes, triodes

http://www.decware.com/paper16.htm

Thursday, 8 November 2012

gmsh: points to define mesh sizes in surfaces.


Point(1) = {0, 0, 0, 0.1};
Point(2) = {1, 0, 0, 0.1};
Point(3) = {0, 1, 0, 0.1};
Point(4) = {1, 1, 0, 0.1};
Point(5) = {0.5, 0.1, 0, 0.005};
Line(1) = {3, 4};
Line(2) = {4, 2};
Line(3) = {2, 1};
Line(4) = {1, 3};
Line Loop(5) = {1, 2, 3, 4};
Plane Surface(6) = {5};
Point{5} In Surface{6};
~
~
~