Friday, 23 March 2012

Flashman And The Dragon mentioned in Mail Online


Peter Hitchens’ blog (The Mail Online) has a book review on The Death Of Mao, which, apart from its eponymous subject, illuminates the little known but disastrous Tangshan earthquake, which happened in the same year as Mao’s death (1976). Hitchens takes the opportunity to lament our ignorance of Chinese history generally, ancient and modern, and slips in a mention of my favourite Flashman novel: Flashman and the Dragon which is praised as thoughtful, contextual and magnificent (if bawdy).

Friday, 30 December 2011

Hublot watch features Antikythera mechanism

LVMH‘s Hublot have produced a watch purely as a work of art, in a limited quantity to be donated to four museums. It will not be for sale. For those familiar with the Antikythera mechanism (so named due to the Greek island and its eponymous wreck in which the artefact was found), the Wikipedia article and the research project site are highly recommended. The mechanism is over two thousand years old, and requires a rethink of what we consider the ancients capable of. It features (reproduced on the front of the watch):

- Calendar for the Panhellenic games.
- The Egyptian calendar.
- The Zodiac.
- The lunar phases.
- An aperture showing the Sun and Moon.

And on the back:

- The Callippic cycle (a period of 76 years, proposed by Callippus in 330 BC).
- The Metonic cycle (a 235 month, 19-year cycle).
- The Saros cycle (223 synodic months, used to predict eclipses of the Sun and Moon).
- The Exeligmos cycle (a 54 year period used to predict successive eclipses).

It is also worth perusing the YouTube channel Hublot have set up about their product (one of the videos is embedded below).



Sunday, 4 December 2011

Flashman eBooks released

A little Flashman news. Harper Collins have released all twelve Flashman titles in eBook format:

http://www.thebookseller.com/news/flashman-gets-digital.html

It’s great that they’ve included Tom Brown’s Schooldays in the mix. Of course, for it to be truly complete, the collection needs to also have:

- Tom Brown at Oxford.
- Black Ajax.
- Mr American.

These further cover the lives of Tom Brown, Scud East, Buckley Flashman (Flashman’s father) and Flashman himself (in his final appearance, as his aged self, just before World War I).

   

Sunday, 13 November 2011

Terrorism modelling: "Extreme Measures" published in The Actuary

Whilst my doctoral work has yet to see any/much publication, for (re)insurance work whilst at Aon Benfield's Impact Forecasting, I was a contributing author to the article which made the front page of the October 2011 issue of The Actuary*. If the embedded version below is not showing, the article can be seen at:

http://goo.gl/hXrsP

Further coverage at http://goo.gl/2DHYX and http://goo.gl/nLxjV (P 29). The other author and contributors were Aon Benfield's Scott Reid, FFA, L&G's Andy Cox, Aon Crisis Management's Chris Holt, MBE and independent consultant Stephen Johnson.


* The Actuary is the publication of the UK’s accrediting body; the Institute and Faculty of Actuaries / Actuarial Profession.




Tuesday, 24 May 2011

Piracy economics and mitigation

The cat and mouse evolution between the sophistication of the pirates and the innovation in mitigation goes on. Geopolicity have a paper on piracy economics:

http://www.geopolicity.com/upload/content/pub_1305229189_regular.pdf

It’s more involved than one might think. And pirates have been upping the game and showing uncommon solidarity with their peers:

http://www.wired.com/2011/04/pirates-to-india-this-time-its-personal/

Discovery News also have an article on Piracy Attack Risk Surface (PARS), a model developed by the US Navy to predict piracy hotspots:

http://news.discovery.com/tech/anti-pirate-software-navy-110523.htm

I still find it somewhat difficult to believe that amazingly, piracy has returned as a facet of our modern lives:

http://www.southparkstudios.co.uk/clips/225458/somalian-pirates-we


Sunday, 8 May 2011

Strange insurances

A recent Lloyds article reviews some of the odder insurance underwritten, often in connection with the royalty of the day:

http://goo.gl/oNN5b

Sunday, 3 May 2009

Isolating an RSS feed by topic (i.e., Blogger label)

I finally worked out how to get the RSS feed of just one label from Blogger. For example, the feed which just covers the label "Web" from this (http://notebook.raveem.com) would be:

http://notebook.raveem.com/feeds/posts/default/-/Web

For a long time, I couldn't get this to work until I fixed what was wrong with the url: the label (right at the end) is case sensitive! So /web doesn't work. /Web does.

Saturday, 2 May 2009

Right Zoom

I've never agreed with Apple's vision for the little green plus button on the top left of windows. Despite Apple's assumption of foresight, I often do want a program to expand to the size of the screen, to the extent of blocking out other windows. Especially the claustrophobic Finder. And I always have Expose to switch between windows anyway so the normal green button behaviour never made sense.

Right Zoom fixes the green button. It actually makes it work to maximise windows. I myself disable or change the hot key since Apple-T is invariably assigned to opening new tabs in browsers. Just having the little green button capable of spreading a windows all over the screen is enough for me.

Sunday, 16 November 2008

Inserting TeX4HT generated HTML into Google Sites

Beyond the absolutely simple point and click solutions available, getting stuff onto the web is definitely more involved than I'd envisaged. After starting an article written via TeX4HT, I viewed what I'd done in Safari and then copied the resulting HTML into the "Edit HTML" box of my Google Sites page. When hitting "Preview", the page was shown as rendering just fine, but upon committing the changes, a blank page results.

I wonder what's the cause of this inconsistency?



Addendum: Google Sites thread on the issue.

Further information with working sample: Another Google Sites thread.

Tuesday, 22 July 2008

The lognormal distribution

The context of this little mishap was that apparently (Kazil et al., 2007), aerosol in cirrus cloud was defined by a size distribution with a geometric mean of 62.5 nm (diameter) and a geometric standard deviation of 1.45 nm. So I figured that since the lognormal distribution is defined:

f(x) = 1 / ( x sigma sqrt[2 pi] ) * exp ( - [ ln x - mu ]^2 / [ 2 sigma^2 ] ) ,

that it was a simple case of using mu = 62.5 and sigma = 1.45 and I would have defined f(x). This was giving very weird results though, until I realised that mu is not the geometric mean and sigma is not the geometric standard deviation. Instead:

geometric mu = exp(mu)
geometric sigma = exp(sigma) .

Saturday, 7 June 2008

IDL, IDL_PATH and SAVE files

I run IDL routinely on my Mac for atmospheric modelling/plotting, often making heavy use of pre-compiled .pro routines and arrays SAVEd to disk. After an install of IDL 7.0 and a thorough wipe of IDL 6.3, all my old programs were producing the most inexplicable errors:
  • All kinds of references were popping up about .pro files not found in the rsi directory. This was especially bewildering since IDL now resides in the itt directory!
  • The most routine calls to procedures prepackaged with IDL (map_set, etc.) were producing the Attempt to call undefined procedure/function: error.
  • If, say, map_set was called as soon as IDL started, it compiled just fine. If, on the other hand, I ran my (previously perfectly working program), the above errors resulted.
After trying all sorts of snake oil, from wiping and reinstalling IDL afresh to deleting the .idl directory sitting in my home folder to numerous other apparent remedies, I finally puzzled out the solution to the conundrum:
  • When I had IDL 6.3, I frequently used the save, /all command to keep a whole host of variables written to memory.
  • This command also saves the idl_path!
  • When using restore to recover the data, the perfectly functioning (IDL 7.0) idl_path is overwritten by the out of date (IDL 6.3) idl_path previously saved, thus dredging up all the perplexing errors mentioned above.
Note to self:
  • Avoid using save, /all in future; it can create dependencies in otherwise platform independent code!

Monday, 2 June 2008

LaTeX HTML

This (TeX4HT) was a right pain to set up on the Mac, especially since Fink built it from source (Fink still requiring complete Leopard compatibility). Then it refused to read even the most rudimentary TeX file until I realised: I needed to run sudo texhash. It seems to work now.

Tuesday, 20 May 2008