Apr 18 2020

Book review: Sea monsters on Medieval and Renaissance Maps by Chet van Duzer

sea_monstersA borrowed book for my next review: Sea monsters on Medieval and Renaissance Maps by Chet van Duzer. Mrs H bought this as a by-product of buying a Christmas present on some quirky gifts site.

The book is well-described by its title, it is about sea monsters on medieval and Renaissance maps. Although a couple of classical antecedents are mentioned the main action starts in the 9th century and finishes at the beginning of the 17th century.

The book is organised roughly chronologically without chapters but with sections recorded in the contents – there are approximately 50 sections broken up by four "pictorial excursions". Much of the material is from the 16th century. As we go further back in time fewer and fewer examples of any sort of written or printed materials survive. Prior to 1472 any maps will have been reproduced by hand rather than printed.

Sea monsters were not found universally in maps through this period, in fact they were relatively rare. Adding sea monster was an additional cost and rarely added any useful information. The sea monsters were often drawn separately from the cartographic elements of the map, suggesting they were a specialisation. Sometimes they were direct copies from other sources. Sea monsters were often derived from recent scientific works, and influences can be seen across multiple maps. Sometimes the sea monsters depicted are playing a role in myths or stories such as Jonah and the whale, or the story of Saint Brendan who, on a voyage, is said to have landed on a whale, not realising its nature a fire was lit and the whale sank beneath them.

There is a lot of evidence of artist working from verbal descriptions of animals by non-expert observers. This is at a time before naturalists had been invented so observations of wildlife were not systematic. There’s a great double page spread illustrating the development of drawings of walruses from pretty much elephants to recognisable walruses(see below).

walruses_1walruses_2

Figure 1: The cartographic career of the Walrus

Sea monsters came in various forms, many reflected real animals we might see today, although rendered strangely as we see with the walrus. Others were human – animal hybrids such as mermaids. Finally there are the outright whimsical – various dragons, krakens, unicorns – owl faced creatures and the like.

Mappamundi were the earliest maps to contain sea monsters although they are not maps as we would recognise them, you couldn’t navigate by them. They were symbolic representations of the world both physical and spiritual, rather than being entirely useful for navigation. A common feature was that the focus in these maps on the land rather than the sea. I was confused by mentions of the Beatus mappamundi which appears in multiple locations before realising that these were copies of a single mappamundi which varied since they were manually created. The place name refers to a particular copy (i.e. Genoa or Manchester), and different copies have different sea monsters. They are based on a map found in the Commentary on the Apocalypse by Beatus of Liébana. This was written sometime in the 8th century and subsequently copied.

The earliest surviving navigational maps are from the 13th century, these are intended as more functional objects and initially focussed on the region around the Mediterranean. In contrast to the mappmundi, these maps were focussed on the sea and coastal areas. There were variants made which clearly played a more decorative role, collectors items that showed your wealth and knowledge. These maps were more likely to contain illustrations of sea monsters.

In addition to freestanding maps there were also illustrated versions of Ptolemy’s Geography which included sea monsters, although the Madrid version of 1455-60 is the only manuscript version to include such sea monsters. Later printed version contained more sea monsters.

The sea monsters in Olaus Magnus’s Nautical chart and description of the Northern lands and Wonders published in 1539 are particularly rich and varied. They can also be found copied in Mercator’s globe of 1541 and Euphrosynus Ulpius’s globe of 1542. Mercator was less eclectic in his collecting of sea monsters for his atlas of 1569.

The book finishes as the 17th century opens when fantastical sea monsters on maps largely fell out of favour to be replaced with more ships and practical illustrations of whaling and the like. The sea was no longer quite so mysterious and man was increasingly exerting control over it, and its contents.

This is a fun book, a nice present for a cartophile. It would have been good to have a timeline of the maps discussed. There is probably an interesting parallel book on the monsters seen in terrestrial maps of the same period.

Apr 06 2020

Strategies for dealing with anxiety

These are some strategies for coping with anxiety which I have been learning about in counselling sessions which I have been doing over the last few weeks. For me anxiety manifests itself as a tightness in the chest, disturbed sleep – typically waking very early, and repetitive thoughts. The repetitive thoughts can be benign, aside from keeping me awake all night, or they can be about how I’m going to fail to do something and let people down. These thoughts become more and more consuming. The current covid-19 pandemic actually helps me with my normal anxiety since the things that usually make me anxious are forbidden! It turns out this is not unique – see this article.

    • Mindfulness – this is a general strategy which is about focussing on doing one thing at a time, being engaged in that one thing exclusively. It can be applied to many activities but often it is used with a breathing exercise – focussing on counting breathes. For me a good start is not looking at my mobile phone when I am doing something else! That said the Headspace phone app provides some useful exercises in mindfulness;
    • Worry time – this is a strategy for dealing with underlying anxiety. The idea is that you set aside a time for worrying, and if you find you are worrying outside that time you can put off worrying until later. My strategy involved deferring worrying but then not scheduling worry time. I’m not sure whether this is how it is supposed to work but it is effective to a degree! There are some more notes on this here;
    • Safe space – this a strategy for dealing with anxiety in the moment. It involves focusing the mind on a “safe space”, a place where you feel safe and relaxed. It’s best not to include people in your safe space since they can be unpredictable and stressful. I use a place where I go walking, I also use the feeling of sitting on my train reading my book after it has pulled away from the station although this one isn’t so good since the train may stop unexpectedly or get busy. There is an exercise of safe spaces here;
    • Narration – this is a strategy for dealing with anxiety in the moment. It involves narrating what you are doing as you feel anxious thoughts arising. It always makes me think of the Pulp track, I Spy. It is a form of distraction;
    • Empty bowl meditation – breathing exercise with focus on endpoints and the flow. The breathing exercises I’ve done in the past tend to focus on counting breaths rather than observing individual breaths in detail.Instructions for this are here. I keep reading this as “Empty Bowel”…;
    • Willing hands – different posture for anxiety reduction. Looks like the “classic” mediation/yoga pose with palms upwards. The idea is that it prepares you for acceptance. Instructions for this are here – page 175;
    • Radical acceptance skills – this is a general strategy about accepting things as they are not as you wish them to be. The radical here just means ‘complete’. One difficulty with anxiety is the feeling that you should somehow be able to think yourself better, that an act of will will cure you. This reminds me of the lyric from Frozen “Let it go, let it go…” Instructions for this are here, they are oriented around dealing with past painful events;
    • Compassion mindfulness – this is a general strategy about feeling compassion towards yourself. It fits in with the acceptance exercise and starts with feeling compassion towards someone else (the exercise uses the Sanskrit word metta which means compassion or loving kindness). Instructions for this are here;
    • Relaxation – muscle relaxation is a common strategy in mindfulness. I see it more as a focus on the body and bodily sensations rather than muscle relaxation per se. There are some instructions here;
    • Effective rethinking and paired relaxation – this combines the relaxation step above with “rethinking”, that is taking a stressful situation and replacing the thoughts causing distress with alternative less stressful interpretations. Instructions for this are here (on page 332);
    • Body scan meditation – this is another mindfulness technique, I get hung up on the fact that it asks me to imagine my breathe flowing to my toes – which is not how respiration works! I should work out a suitable modification. Instructions for this are here (on page 335);
    • Wise mind: states of mind – this is more background than a skill as such. It talks about the combination of the logical “reasonable mind” and the “emotion mind”. The handout for this is here (on page 50);

Obviously, it doesn’t really work to only try these things only once you are having a bit of a crisis. I have struggled to find a quiet time to practice, we have an early rising 8 year old around the house the whole time at the moment. I’m working on practising when I wake up before I get up, this is usually a guaranteed quiet time.

These strategies come from the Dialectical Behavioural Therapy (DBT) family which is related to Cognitive Behavioural Therapy. (dialectical means relating to the logical discussion of ideas or opinions, or concerned with or acting through opposing forces).

Mar 05 2020

Book Review: The Egg & Sperm Race by Matthew Cobb

egg_and_spermI follow quite a few writers on Twitter, and this often leads me to read their books. The Egg & Sperm Race by Matthew Cobb is one such book. It traces the transition in thinking on the reproduction of animals, including humans, which occurred during the second half of the 17th century.

Prior to this we had some pretty odd ideas as to how animals reproduced, much of it carried over from the Ancient Greeks. Ovid and Virgil both claimed that you could make bees by burying a bull with its horns protruding from the ground, waiting and then cutting off the horns to release the bees! This confusion is not surprising, the time between mating and the appearance of young is quite long, and the early stages of the process are hidden by being very small, and deep inside animals.

A random “fact” I cannot help but repeat is that Avicena wrote that “a scorpion will fall dead if confronted with a crab which a piece of sweet basil basil has been tied”. I wonder sometimes with quotes such as these whether they are a result of mistranslation, or a bored scribe. The point really is such ideas were not discounted out of hand at the time. The Egg & Sperm Race starts with a description of da Vinci’s copulating couple which is beautiful but wrong – da Vinci connects the testicles to the brain – these structures do not exist.

The heart of the action in The Egg and Sperm Race is in the Netherlands, in England the Royal Society showed relatively little interest in generation aside from some experiments on the spontaneous generation of cheese mites. The Chinese and Arab scholars who had worked in various fields showed little interest in generation.

The central characters are Jan Swammerdam, Niels Stensen (known as Steno) and Reinier de Graaf, who met in Leiden at the university in the early 1660s when they were in their early twenties. Swammerdam and Steno were a little older than de Graaf and were close friends. Soon after meeting in Leiden they visited Paris where they continued to build contacts in the scientific community.

In understanding generation a first step was to realise that all animals came from other animals of the same species, and that this meant mating between two animals of the same species. Steno went to Italy and worked with Francesco Redi’s whose experiments were key to this, he checked exhaustively that insects did not arise from the putrefaction of material. Swammerdam was also interested in insects, classifying four different types of invertebrate development and showing that in moths traces of the adult form are found in the caterpillar. At the time it was not clear that the larval stage and the adult were the same species.

A second step was to realise that all animals came from eggs of some sort, William Harvey –  of blood circulation fame – did experiments in this area but although he stated this conclusion but it was not well-supported by his experiments. In the period at the beginning of this book, the role of the ovary was not understand. Steno carried out dissections on fish both those that laid eggs, and those that gave birth to live young from this he concluded that the ovaries were the source of eggs and asserted that this was the case for humans as well. This idea rapidly gained acceptance.

The discovery of the human egg, and its origins in the ovary, was the subject of a dispute between de Graaf and Swammerdam on priority. The Royal Society decided in favour of van Horne with whom Swammerdam had worked on the dissection and illustration of female reproductive anatomy. To modern eyes the written record of the dispute, in letters, and publications is surprisingly personal. De Graaf died at the age of 32 just prior to the Royal Society decision. It was a difficult time in the Netherlands with the country at war with England and France with France troops invading parts of the country.

Leeuwenhook cast a spanner into the works with his microscopical studies, he observed spermatozoa but not the female egg and as a result became a “spermist”, believing that life came from the sperm in contrast to the “ovists” who believed life came from the egg. We now know that they are both right. The human egg was not observed until 1826 by von Baer. And I have to mention Spallazani’s experiments on frogs wearing taffeta shorts, demonstrating that male sperm was required to fertilise the female egg.

The final chapter covers events from the end of the 17th century or a little later to present day. Linneaus’s classification work, and Darwin’s theory of evolution follow on from some of the core realisations of this earlier period. Neither Linneaus’ work nor Darwin’s work make much sense if you don’t believe that animals (and plants) grow from eggs/seeds which came from the same species. It wasn’t until von Baer’s work in the early 19th century that the female egg was observed.

Jan 30 2020

Book review: How the States got their Shapes by Mark Stein

how_the_statesHow the States got their Shapes by Mark Stein is that book that does exactly what it says on the cover: explain the origin of the shapes of the states of the United States. The book starts with some broad brush strokes that underpin the shaping of many states before going through each State in alphabetical order.

States are not strictly comparable with European nations but it is interesting to compare the never-straight borders of Europe with the regularity of particularly Western states. To a British European the events described in the book are all terribly recent – much of the action occurs during the 19th century! I considered extending this statement to all Europeans but there has been quite a bit of change in national borders in Europe over the last 200 years.

The large scale features of the USA arise from a number of sources. The earliest of these originate from the French and Indian War in the mid-18th century which saw the England and the colonists take the territory around the Great Lakes from the French and subsequently take further land from the French in the Louisiana Purchase. Further to the west territory came from the Spanish and then a newly independent Mexico. The border with Canada was agreed largely at the 49th parallel with the British in 1818. Later the Dutch would cede their territory along the Hudson river and the Spanish the last of their territory in what is Florida.

There are some recurring themes determining the shapes of states, one that comes up repeatedly is the desire for Congress to create States of equal size, in the West there are sets of states with the same height (3o) and width (7o). This concept extended to access to resources, so the ports on the Great Lakes are shared amongst the surrounding States. A second big driving force is slavery, the Missouri Compromise placed a boundary at a latitude of 36o 30′ below which slavery was allowed, and above which it was not. This motivated boundaries of states, and led to a battle to create equal numbers of states above and below the line.

There are irregularities. Boston Corner looks like it should belong in  Massachusetts but is actually in New York state, this is because the terrain made access to Boston Corner from the rest of Massachusetts difficult. In the early days this type of inaccessibility led to lawlessness, so states were willing to cede territory to avoid it. Whole states were created to address potential lawlessness, when gold was discovered in what is now Idaho it was felt too distant from Oregon to be ruled from there with the influx of unruly gold miners. There was also a concern that they would displace the coastal Oregonians from government.

Sometimes a river makes a good boundary although when the river has tributaries things get a bit tricky, it is even worse when borders are defined with reference to “head waters” which are notoriously difficult to locate. The other problem with rivers is that they meander – meaning that chunks of a State may find themselves on the “wrong” side of a river when the river moves. In some cases surveying errors and mistakes in negotiations led to oddly formed borders.

The supersize California and Texas states are a result of their own origins in virtual nationhood. Texas was, for a brief period, an independent country which subsequently joined the Union. California formed with the influx of the miners who came for gold, the Union was more concerned that they join than try to enforce borders upon the new State.

The charters of the original US colonies which later evolved into states typically gave them territories that stretched all the way from the Atlantic to the Pacific coast, during the 17th and 18th centuries this was largely moot – colonies scarcely had the wherewithal to maintain small populations on the  Eastern seaboard. The British monarchs granting these charters were not necessarily consistent, or particularly well-advised. So some boundaries are defined by “headwaters” which are notoriously ill-defined.

It is inevitable that the book is a bit repetitive, after all every border has two sides. This is occasionally jarring but usually handled quite well with cross referencing.

Missing from this book is much reference to the Native Americans, they are mentioned as an aside in a few places but little more than that. There is another book in the territories of the Native Americans prior to the European colonisation of the country – I just don’t know where it is! This article on The best books on Native Americans and Colonisers looks like a good place to start.

Overall I quite enjoyed this book, I read most of it on a long train ride. I suspect maps and boundaries are a bit of a niche interest but I feel I also picked up the broad shape of the creation of the USA.

Jan 14 2020

Book review: You look like a thing and I love you by Janelle Shane

You look like a thing and I love you by Janelle Shane is a non-technical overview of machine learning. This isn’t to say it doesn’t goYou look like a thing and I love you book cover into some depth, and that if you are experienced practitioner in machine learning you won’t learn something. The book is subtitled “How Artificial Intelligence Works and Why It’s Making the World a Weirder Place” but Shane makes clear at the outset that it is all about machine learning – Artificial Intelligence is essentially the non-specialist term for the field.

Machine learning is based around training an algorithm with a set of data which represents the task at hand. It might be a list of names (of kittens, for example) where essentially we are telling the algorithm “all these things here are examples of what we want”. Or it might be a set of images where we indicate the presence of dogs, cats or whatever we are interested in. Or, to use one of Shane’s examples, it might be sandwich recipes labelled as “tasty” or “not so tasty”.  After training, the algorithm will be able to generate names consistent with the training set, label images as containing cats or dogs or tell you whether a sandwich is potentially tasty.

The book has grown out of Shane’s blog AI Weirdness where she began posting about her experiences of training recurrent neural networks (a machine learning algorithm) at the beginning of 2016. This started with her attempts to generate recipes. The results are, at times, hysterically funny. Following attempts at recipes she went on to the naming of things, using neural networks to generate the names of kittens, guinea pigs, craft beers, Star Wars planet names and to generate knitting patterns. More recently she has been looking at image labelling using machine learning, and at image generation using generative adversarial networks.

The “happy path” of machine learning is interrupted by a wide range of bumps in the road which Shane identifies, these include:

  • Messy training data – the recipe data, at one point, had ISBN numbers mixed in which led to the neural network erroneously trying to include ISBN-like numbers in recipes;
  • Biased training data – someone tried to analyse the sentiment of restaurant reviews but found that Mexican restaurants were penalised because the Word2vec training set (word2vec is a popular machine learning library which they used in there system) associated Mexican with “illegal”;
  • Not detecting the thing you thought it was detecting – Shane uses giraffes as an example, image labelling systems have a tendency to see giraffes where they don’t exist. This is because if you train a system to recognise animals then in all likelihood you will not include pictures with no animals. Therefore show a neural network an image of some fields and trees with no animals in it will likely “see” an animal because, to its knowledge, animals are always found in such scenes. And neural networks just like giraffes;
  • Inappropriate reward functions – you might think you have given your machine learning system an appropriate “reward function” aka a measure for success but is it really the right one? For example the COMPAS system, which recommends whether prisoners in the US should be recommended for parole, was trained using a reward based on re-arrest, not re-offend. Therefore it tended to recommend against parole for black prisoners because they were more likely to be arrested (not because they were more likely to re-offend);
  • “Hacking the Matrix” – in some instances you might train your system in a simulation of the real world, for example if you want to train a robot to walk then rather than trying to build real robots you would build virtual robots and try them out in a simulated environment. The problem comes when your virtual robot works out how to cheat in the simulated environment, for example by exploiting limitations of collision detection to generate energy;
  • Problems unsuited to machine learning – some tasks are not amenable to machine learning solutions. For example, in the recipe generation problem the “memory” of the neural network limits the recipes generated because by the time a neural network has reached the 10th ingredient in a list it has effectively forgotten the first ingredient. Furthermore, once trained in one task, a neural network will “catastrophically forget” how to do that task if it is subsequently trained to do another task – machine learning systems are not generalists;

My favourite of these is “Hacking the matrix” where algorithms discover flaws in the simulations in which they run, or flaws in their reward system, and exploit them for gain. This blog post on AI Weirdness provides some examples, and links to original research.

Some of this is quite concerning, the examples Shane finds are the obvious ones – the flight simulator which found that it could meet the goal of a “minimum force” landing by making the landing force enormous and overflowing the variable that stored the value, making it zero. This is catastrophic from the pilot’s point of view. This would have been a very obvious problem which could be identified without systematic testing. But what if the problem is not so obvious but equally catastrophic when it occurs?

A comment that struck me towards the end of the book was that humans “fake intelligence” with prejudices and stereotypes, it isn’t just machines that use shortcuts when they can.

The book finishes with how Shane sees the future of artificial intelligence, essentially in a recognition that these systems have strengths and weaknesses and that the way forward is to combine artificial and human intelligence.

Definitely worth a read!

Older posts «

» Newer posts