Sunday, 18 December 2022

thick ice

It has been below, or around, freezing for a while now, and there’s a lot of ice around.  Today I noticed that the ice in one of our garden water tubs has expanded about 1cm above the rim of the tub.

Looking at it, I wondered how thick the ice was in total, to give that amount of expansion.  And then, could I calculate the thickness from just this observation?  And could I calculate it without knowing the height of the tub?

So I drew a sketch:

On the right is the liquid situation: water to the brim of the tub (which it was before the freeze).  On the left is the current situation, the top x units of water frozen to make x+d units of ice.  That does indeed look independent of the depth of the tub (unless maybe it is all frozen, which I doubt).

Let’s assume both the ice and water are at 0°C.  Wikipedia tell us that ice has a 9% increase in volume over water, which means that d = 0.09 x.

Since the observed d = 1cm, this implies that x = 11cm (much less than the depth of the tub, so no need to worry about it being frozen through), and so the whole ice layer is about 12cm (nearly 5 inches) thick.

That’s a thick layer of ice!



Friday, 16 December 2022

that's no cat!

Caught on our webcam around lunchtime today.  

Reviewing the images, we initially thought it was the neighbour’s ginger tom Trevor, as he likes prowling round our garden.  But it looked a bit weird.

Then, a few shots further on, we could see its thin legs, and it turned its head.

It’s a deer!  In our garden!  We are not in the countryside: we are surrounded by houses.  Where did it come from?  Where did it go, after it trotted past the car?




Wednesday, 7 December 2022

sequestering carbon, several books at a time CXXVI

 It's been a while since the last update, so there are rather more in the pile than usual:



Saturday, 26 November 2022

Theoretical Computer Science for the Working Category Theorist

Noson S. Yanofsky.
Theoretical Computer Science for the Working Category Theorist.
Cambridge University Press. 2022
I have been wanting to dip my toe in the sea of category theory for a while now, but have not found a suitable entry point. The books written for mathematicians are impenetrable. Those written for computer scientists lose me in the detail. When I came across this one, a book about computer science, written for category theorists, I was intrigued. I was reminded of a colleague of mine who collected foreign languages: he would learn them by reading a text he knew well in the language he wished to learn (memory offers up the thought it was Macbeth, but it may have been a different Shakespeare play). Maybe I could similarly learn the foreign language of category theory by reading about a topic I know, when written in that language? Especially since the book is a brisk 130 pages.

So, I am definitely not the target audience (being a computer scientist rather than a category theorist). And yet I feel I have learned more about category theory from this book than from any of the others I have tried. Not enough to be fluent, but enough that I can see what the concepts are, how they are put together, and how they can help illuminate a subject.

This was initially available as a PDF from the publishers site. I downloaded, and started active reading, which involved annotating the PDF with questions, thoughts, and ideas. (I come from a generation where annotating an actual physical book is Not Done.) I did skim a few of the more technical parts, but did read the whole thing. I then bought a hard copy.

As well as having a better understanding of Category Theory, I have a new perspective on theoretical computer science: the subset of functions that comprise computable functions is somewhat ugly to formalise.

This is the first in a series of Cambridge Elements: shortish works on Applied Category Theory. This one is highly recommended: I will be looking out for the others.





For all my book reviews, see my main website.

Saturday, 12 November 2022

Covid-19 diary: booster 2!


I got my (now annual?) booster jab today, along with a flu jab.  It was the now familiar efficient conveyor belt approach, with stations providing stickers and checking names, socially distanced queueing, and medical history questioning.  This included: “have you had Covid?”, “Yes, over four weeks ago”, which is long enough to be okay.  In fact, I booked this slot for my jab while I had Covid, as this was when I was contacted to come in.  If only I had been contacted a little earlier!  (Still, at least I now know Covid affects well-vaccinated me like a cold, and not worse.  Well, the current variant does, at least.)

I had the Pfizer jab in my left arm, and the flu jab in my right arm.  I again got a “young person’s flu jab” – because I'm still under 65.  Apparently the over-65 flu jab is higher dose, which may be why my other half had a reaction last year and I didn't.



Sunday, 6 November 2022

Geek Sublime: writing fiction, coding software.

Vikram Chandra.
Geek Sublime: writing fiction, coding software.
Faber & Faber. 2013


Chandra writes novels, and also writes software. Here he explores the fundamental differences between these two forms of writing, and whether software developers, in striving for ‘beautiful code’, can really be considered to be producing ‘art’.

In this discursive writing on the topic, we learn why Chandra believes the answer to be ‘no’. In particular, the process is so different. Writing is hard; it is a conscious anguished-filled ‘hell’, where every word is sweated over. On the other hand, although programming is also hard, it is hard in a different way: it requires a depth of concentration, and the developer can get lost in the process, unconscious of time passing, trying just one more thing. (Oh, how I recognise this description!) He doesn’t say whether the writing of this book was more like the hell of fiction, or the flow of programming.

We also learn a lot about the differences between Indian and Western philosophy and approaches to art. And one thing I learned was how the Indian philosophy explains how one can enjoy reading about something that one might never enjoy directly experiencing:

[p114] The pleasure of rasa comes from the meta-experience of experiencing oneself experience the stable emotions.

That is a sentence that will definitely resonate with programmers!

An interesting different look at programming, and art, through a non-Western philosophical lens.




For all my book reviews, see my main website.

Thursday, 27 October 2022

all good things come to an end

The final day and a half of the Erice Unconventional Computing workshop were also good, but without photos.

The Tuesday was also scheduled 9am to 7:10pm, but due to some unfortunate cancellations, we had “free” time from noon until 5pm.  A small group of us took the opportunity (moving leisurely from the gelato shop, to a Pizza restaurant, to the conference refreshment room) to sketch out a 20 year research vision, and a shorter term research plan, based on our previous work plus what we had learned at the workhop itself.  Next we have to consolidate the ideas, and write some research proposals (oh, and do the research if we win the funding, of course).

Tuesday evening was the workshop dinner, in the posher of the various restaurants we have been exploring, and not the standard set menu either.

Wednesday was only a half day, and mostly a discussion session of what we had learned, and what to do next.  A slot for andother workshop in 2024 has already been booked, so that’s something to look forward to!

The drive back to Palermo airport was in the light, so I could see some of the scenery I missed on arrival.  Since my flight wasn’t scheduled until 9:45pm, I had the oipportunity to experience the airport cuisine.

The flight was delayed. Surprise.  Not as bad as the over 3 hour delay on the way out, but "only" an hour and a half.  This meant I was passing through Stansted at 1:30am, rather than just before midnight as planned.   The drive home was also longer than planned, since the motorway was closed for roadworks, and I had to use the back roads.  So I got home at 3am, rather than the 1am I was hoping for.  Still, at least I didn’t have to get up early this morning to go to a workshop!  Hopefully I’ll be less zombie-like and sleep deprived tomorrow.

All in all, a great workshop, with excellent talks and ideas and conversations, plus gorgeous weather, and delicious gelato.  If only one could be at these places without having to travel.