2020 Week 4: Xīn Nián Kuài Lè! 新年快乐!

Saturday was Chinese New Year, and I was fortunate to celebrate in traditional style by making dumplings and watching the CCTV New Year’s Gala. 2020 is the year of the rat, and the first year in a new cycle of 12 years. The ordering of the animals is explained in this amusing story.

Things I wrote this week

No longer posts to share just yet, I’ve been working on sharing some thoughts about productivity, and am hoping to finish it off in the coming week. I’ve also started writing some fiction, for the first time since school, inspired by a writing club which has started at work.

Things to share this week

Chinese news wasn’t all song and dance, the Wuhan virus caused the lock down of two cities, Wuhan and Huanggang.

Davos hosts the World Economic Forum where Russia continues its cold war antics.

This paper caused some controversy; it is unclear if algorithms or people are driving more extreme content since we don’t know how the algorithms work.

Photo from the week

Dumplings for Chinese New Year 2020

2019 Altmetric Top 100

Fires in the Amazon and Australia, a case of HIV cured, and the 50th anniversary of the moon landing, were all big headlines for science in 2019. This summary of the science that shaped 2019 from Nature covers a few more stories. There is not one clear metric to quantify the “biggest” story in science, but Altmetric creates a ranking based on the media (social and conventional) impact of scientific papers. I previously wrote about 2018’s Altmetric Top 100, and this year I take a look at the themes.

AI and Fake News

The top paper of 2019 was this description of a system developed at Samsung to create realistic video of talking heads from single images. The authors provided a video summary of the work, and the result is impressive and unsettling. AI image generation also took out the 5th slot with image generation.

While crossing the uncanny valley remains a challenge for visual effects artists, the strong emotional reaction to this paper is driven by a fear. As it becomes easier to fabricate content, it becomes harder to trust the media we consume. There is also the fear that we could become victims of these “deepfake” techniques. Fake news was the subject of the 51st ranked paper “Less than you think: Prevalence and predictors of fake news dissemination on Facebook” and the 58th ranked paper “Fake news on Twitter during the 2016 U.S. presidential election“. On fake stories making real news; the 44th ranked paper about the 44th President’s birth was pushed up the altmetric rankings as “The researchers avoided calling the subjects’ views ‘racist’, earning them a high-scoring Twitter roasting.”, highlighting how issues of race can drive a flurry of discussion on social media.

The world is on fire

Bill Nye demonstrates the point on Last Week Tonight

As Climate change continues to worsen so do its effects. If you’re not familiar with the scale of the problem I recommend this briefing; Global warming 101. About 1 in 6 papers in the top 100 were on or about climate change, with 3 of the top 10. World Scientists’ Warning of a Climate Emergency has an authorship exceeding 10,000, stating that “Earth is facing a climate emergency”, and highlighting the disturbing gap between the scientific and political consensuses.

Human Health

Just as health research makes up a huge share of scientific research projects, so too did papers on health make up a big share of the altmetric 100. Many of the papers featured are only surprising in the unwillingness of the public to conform to the recommendations. Vaccines work (and do not cause autism), exercise is good for you and most people need to do more, highly processed food and sugary drinks are bad for you, and eating only junk can lead to terrible health (including blindness).

In a moment of doctors showing that publications don’t have to be more complex than “check out what this guy just coughed up”, this cast of the right bronchial tree was coughed up and became this publication, ranking at 19th.

This highly discussed paper (74th) was retracted, demonstrating both that scientific papers (even in top journals) should be questioned, and that scientists are actively doing that questioning. The article relates to the He Jiankui affair that made headlines for the gene editing of human beings, however that work itself has not been formally published, and the scientist himself was sentenced to prison.

Scientists have fun too

“Joke” papers such as 8th ranked “Parachute use to prevent death and major trauma when jumping from aircraft: randomized controlled trial” and 61st ‘”Death is certain, the time is not”: mortality and survival in Game of Thrones show that scientists (and critically, publishers) can have a sense of humour too.

Take Home Points

  • With tools like google scholar and increasingly open access publishing, the scientific literature is becoming ever easier to consume.
  • AI is becoming more powerful at image generation and manipulation, and will threaten the reliability of video footage as evidence.
  • The climate has changed and the consequences are already being felt. Urgent action is necessary.
  • Whilst advances in medicine are lessening the burden of diseases, educating the public to make good choices on vaccines, drug consumption, and nutrition would have an enormous impact on health.
  • Publishers and reviewers have a sense of humour (requires further verification).

2019 Week 48: Consumption

Short version: This Black Friday weekend is a relevant time to attempt to press my thoughts on consumerism into a post. A revealing ONS data set about household spending. Also some thoughts on blogging and whales’ heart beats.

A note on structure

On top of a tangled set of thoughts about consumption, there was a lot of interesting content to read, listen to, and watch on this topic. The structure of this post suffered, and so if you’re just here to skim I suggest scroll down to the bottom and just check out Trends from the data and Whales’ Heart Beats.

Consumerism

I want stuff. Lots of people also want stuff. Often, if they can, they go out and buy stuff. This is a simple thought, but the many paths it leads down have been a tangle in my mind for some time. This post is an attempt to rectify the clash between the obvious value in markets and trade with the absurdity of waste (see the two videos below) in modern developed economies. This is highlighted by celebrations of consumerism that occur after Thanksgiving.

Chasers War on Waste

The true cost of fast fashion | The Economist

People want to be rich

I think it is reasonable to presume the overwhelming majority of people would like to have more money. Money provides security, safety, and freedom (and most of lower tiers of Maslow’s hierarchy of needs). Casey Neistat points out that for a lot of people, money will solve all problems. although people with plenty of money still have problems.

This simple desire for material wealth gets complicated by how different that desire looks at different points of time. The majority of people in the developed world have access to goods and services that were restricted to only the most wealthy only decades ago. Advances in agriculture and medicine mean even the poorest citizens have access to goods like pineapples and penicillin that would have been unimaginable to emperors and kings of centuries past. This Louis CK bit makes light of changing expectations. That desire for newer and shinier at the expense of appreciation for what we already have is, in part, created by the desire for companies to grow their sales and profits. An array of narratives are pushed through advertising. A particularly disturbing yet powerful lie is that you can change who you are simply by owning something. The idea that you can be fitter/sexier/smarter by buying something, rather than by learning or growing, sells a lot of products, despite failing their buyers.

School of Life: History of Consumerism

Black Friday

Black Friday is a day of discounted selling by retailers following Thanksgiving Day, which is observed by shops throughout much of the world. Scenes of people rushing into stores and fighting over relatively cheaper items are symbolic of a period of significant spending by consumers as the end of the year, and particularly Christmas, approaches.

A lot of people work in retail. In Australia, it is 1.3 million, nearly 10% of the labour force. This is an enormous amount of human life dedicated to the mere act of selling things (1.8 Australian lifetimes is spent per working hour by the collective in shops, life expectancy in Australia = 82.5 years). Intuitively (and so simplistically as to be utterly inaccurate) this struck me as a waste of time, given retail exists as a middle man between producers and consumers. Of course in reality at points retailers make the entire system more efficient (for example by collecting fruit and milk in bulk and distributing it to stores in lieu of each consumer visiting a farm individually), but in practice profit incentives drive this enormous work force to motivate us all to consumer more.

One way consumption is driven is through pricing. The decision to purchase an item is in part determined by the price attached to that item. Commonly items are priced at X.99 rather than X+1, because that centipoint increase is far more psychologically significant than the additional profit. A further extreme of this is quantum pricing where fewer price points mean profit margins are obfuscated. The discounts of Black Friday create the perception that shoppers are saving money by buying things at a lower price than they would otherwise, combined with a false scarcity that this is the only time to buy. In reality most consumer goods depreciate rapidly so any future time is a better time to buy. Less scrupulous stores raise prices before the sales only to mark down to pre-sale prices. One clear sign of the power of this frenzied overconsumption is the willingness for people to take on debt to purchase luxuries. Loan Sharks take advantage of Black Friday pressures to consume.

Interesting observations from some actual data

A few weeks ago I came across the BBC series “My Money“, which takes individuals and looks at their spending over a week. My fascination with how other people spend money stems from not having a good answer to “What is the appropriate/correct/optimal amount to spend on X”. There are intuitive answers to this, which is why spending £100 a week on cheese or £5 a quarter on electricity “feel” high and low, but that intuition is shaped by our relatively limited insight into other’s spending (likely dominated by our parents’ and partners’ habits) augmented by the media we consume, particularly the coercive forces of marketing.

I am consistently frustrated with the concept of normal. There are no “normal” people in the same way there is no way to roll 3.5 (the centre of the normal distribution for values) on a 6 sided die. This video featuring wrestler John Cena emphasises the difficulty in describing an “average” american. However discovering the UK’s Office of National Statistics collects and compiles data on household expenditure (among other things), and produces reports on the distribution of spending, provides data on where the distributions actually lie. I found exploring the data fascinating. I was particularly excited to find this data set breaking down typical weekly expenditure by item in pretty specific categories (e.g. “Cheese”, “Books”, and “Package Holidays – UK” are separate categories).

Here are some observations:

The big picture: income and expenditure

The distribution of incomes in the UK gives an insight into what households can actually afford.

The interactive graphic below gives insight into how the typical UK household spends (taken from this ONS report).

Trends from the data

General trends

A wealthier decile has more people per household.

Wealth increases steadily between the 2nd and 8th deciles, and sharply at both ends.

Overall spending trends

Spending in most product areas correlates with increasing disposable income on both a per person and per capita level.

Interesting specific spending trends

Food
Poultry (strongly) and beef (weakly) correlate with increasing wealth, pork and lamb are flat across groups, and bacon and ham have a weak negative correlation.

Housing
Poorer households spend proportionally much more on housing, making up 19.1 % of spending for the lower half of households, vs 11.1 % for the upper (I guess this is because of renting vs owning). This is after accounting for housing benefits to the lowest deciles.

Transport
Transport spending is correlated with income, with a sharp increase in the top decile due to the purchase of new (presumably luxury) cars.

Clothes
In the bottom three deciles women spend 2.5x more than than men on clothes, whereas that ratio is only 1.3x for the top decile.
Only the top few deciles use drycleaning services.

Alcohol and Tobacco
Spending on alcoholic drinks was correlated with income, but the trend was dominated by wine, while beer and spirits were fairly independent across the groups.
Lower income deciles spent more per person on tobacco and other narcotics.

Health and Education
Education (school fees) and sports subscriptions (gyms) correlated strongly with income.

Entertainment
There is a hump like feature in the audio-visual equipment categories in the 6th and 7th deciles.
Spending on hotels appears to have an exponential relationship with increasing disposable income.

Statistical definitions

Useful definitions from the ONS:

What is disposable income?

Disposable income is arguably the most widely used household income measure. Disposable income is the amount of money that households have available for spending and saving after direct taxes (such as Income Tax, National Insurance and Council Tax) have been accounted for. It includes earnings from employment, private pensions and investments as well as cash benefits provided by the state.

The five stages are:

1. Household members begin with income from employment, private pensions, investments and other non-government sources; this is referred to as “original income

2. Households then receive income from cash benefits. The sum of cash benefits and original income is referred to as “gross income”.

3. Households then pay direct taxes. Direct taxes, when subtracted from gross income is referred to as “disposable income”.

4. Indirect taxes are then paid via expenditure. Disposable income minus indirect taxes is referred to as “post-tax income”.

5. Households finally receive a benefit from services (benefits in kind). Benefits in kind plus post-tax income is referred to as “final income”.

Note that at no stage are deductions made for housing costs.

From Effects of taxes and benefits on UK household income: financial year ending 2017 via ONS

Amusing group names:

While looking at consumer spending in the UK, I found the following categories that the ONS uses to divide UK residents. Some of them were incredulous to the point of being amusing.

Categories:
Rural residents, Cosmopolitans, Ethnicity central, Multicultural metropolitans, Urbanites, Suburbanites, Constrained city dwellers, Hard-pressed living

Sub-categories:
Farming Communities, Rural Tenants, Ageing Rural Dwellers, Students Around Campus, Inner-City Students, Comfortable Cosmopolitans, Aspiring and Affluent, Ethnic Family Life, Endeavouring Ethnic Mix, Ethnic Dynamics, Aspirational Techies, Rented Family Living, Challenged Asian Terraces, Asian Traits, Urban Professionals and Families, Ageing Urban Living, Suburban Achievers, Semi-Detached Suburbia, Challenged Diversity, Constrained Flat Dwellers, White Communities, Ageing City Dwellers, Industrious Communities, Challenged Terraced Workers, Hard-Pressed Ageing Workers, Migration and Churn.

Personal conflict: running tech

I like running, and improving my fitness more generally, I suppose because it helps me to self actualise. One of my personal weaknesses in fighting back against the commercial marketing machine has been in running tech. As such, I found this video from the New York Times both entertaining and helpful in realising the main thing I need to run faster is not a piece of equipment, but to simply run more and faster.

December blogging reflection

Lately I’ve been posting each week on Sunday come what may. There’s a pretty wide variance in how much time goes into each post, which is not always related to the quality of each post. Some topics I have a better understanding of before I start to write. Some observations are not insightful. Some posts go out unfinished.

Ideas vary in quality. Some ideas were probably not worth writing about at all, while others are so huge they could easily fill hundreds of pages. Not every idea is a good idea, and even a good idea poorly executed is not a good result.

Some topics deserve to be revisited, edited, improved, expanded etc. But writing in this weekly format is useful. Sometimes quantity results in quality. If I maintained a high expectation for each blog post I would write less, and my writing would not improve. Moreover in trying to write each week I am motivating myself to learn. I do hope to better organise myself in the next block of blogging (i.e. next year’s posts) to segregate space for tackling bigger topics less frequently, with a less structured more regular section.

As I was writing this post I received Peter Attia’s weekly email, describing his struggles with writing. It was extremely motivating to read words that felt so familiar they could have been my own. I would not wish insecurities on anyone, but it is deeply reassuring to be reminded those feelings are normal.

While on the topic of other writers; blogs I’d like to share:
Econometrics By Simulation: interesting applications of statistical software.
Beau Miles: Came across some of his films, the first content in a while to make me really miss Australia. Describes himself as “Award winning filmmaker, poly-jobist, speaker, writer, odd.”

Whales’ heart beats

A wonderful aspect of having scientists as friends is that they share exciting science with you that you would otherwise miss. One example is this paper about how the heart rate of blue whales changes as they dive for food. Their enormous hearts beat as slowly as two times per minute and as quickly as 37, which is about as fast as is physically possible. It also contains this informative figure, which I feel tells the story clearly and succinctly.

Photos from the Week

2019 Week 46: Patents

Short version: Patents reward innovators but limit the impact of new technologies. Also “patents” are the answer to the question “Why did Samsung build the only outdoor ice rink in Texas in a small town.”

Long version:

What I learned reading and thinking about patents

Patents are a part of the law, which is an ever changing system. As governments create and change laws, and those laws are interpreted and tested in courts, we collectively decide how the rewards of science and technology are distributed.

There is very little that is certain or obvious about patents. Their existence is both an incentive and a barrier to innovation. They can both enrich and impoverish inventors. They can both be utterly invisible and hugely controversial.

Patent trolling was used in the US to extort businesses, which seems to have peaked around 2015, and has since declined.

Some patents provide useful and specific descriptions of technology, whilst others are deliberately broad and vague.

Biotechnology has struggled to fit into the existing patent infrastructure, particularly as the line blurs between what is an invented object and what is part of nature.

Patent Trolls: Why Samsung built an ice rink in Texas

This article from Harvard Business School outlines how patent trolling, the use of frivolous patent lawsuits by businesses uninterested in innovation, led Samsung to try and win favour with potential jurors in Marhsall, Texas by building an ice rink there. Samsung also set up high school scholarships in the town, but when a supreme court decision meant that the jurisdiction where the suit was filed needed to be in the state of incorporation, the branding on the ice and the scholarships dissipated. More recently a paper was published about patent trolls last year.

Samsung, seeking favour with potential jurors, awarded scholarships to high school students in Marshall, Texas.

Patent Examples

The race to patent the Human Genome

Craig Venter’s company raced public researchers to be the first to sequence the Human Genome. You can read the story in Patrick Bradley’s paper. I found the twitter exchange below interesting, but was not able to verify or refute Venter’s claim that it was “untrue and was propaganda”. Certainly there was a race, and patents played a part, as they continue to do in biotechnology research.

BRCA1 and BRCA2

The other famous case within biotech patents is of Myriad Genetic’s patents on BRCA1 and BRCA2, two mutations related to breast cancer. Enforcing the patents meant diagnostic tests for inherited breast cancer were expensive. The debate centred on the question of whether DNA sequences could be considered a discovery or an invention, i.e. a technical question about how biotech fits within the existing patent system. Ultimately the patents were struck down. The underlying question, how much should we allow companies to profit from their research (at the expense of society, but to give incentives for more research) remains.

Intellectual Property and Piracy

Looking at patents led on to questions about copyright, trademarks, and intellectual property in general. In a world where replication of content is so trivial, and distribution technologies (i.e. the internet) are spreading so rapidly, it is unlikely legal enforcement can keep up in a meaningful way. This crash course provides some information, and I would like to return to think about the ethics of digital piracy, peer to peer sharing, and what the fairest way to regulate content could be.

A note about being connected on the internet

I find it strangely wonderful how connected the internet makes us. From a train, a coffee shop, or even my bed, I can reach out to authors and scientists, and access nearly all of the knowledge humanity has created. In researching this post, I could find out the Marshall high schools’ Samsung scholarship winners, or tweet at scientists like Craig Venter, or access patents from hundreds of years worth of inventions. It is such a powerful tool.

Other things in my life this week:

Rivers in Oxford have been rising, causing flooding around the Isis and Cherwell (see photos from the week). This excellent tracker from Anu Dudhia makes it easy to keep an eye on conditions.

I finished reading The Calculating Stars by Mary Robinette Kowal, it is excellent.

Three friends have signed up to the Edinburgh marathon, so running has gotten more social.

Photos from the Week – Flooding

2019 Week 45: Competition and Robots

Short version: Some thoughts on the blurry line where competition becomes toxic, and also robots.

Long version:

Competition

The story:
Athlete Mary Cain wrote and spoke with the New York Times about her experience training with the Nike Oregon Project, which ended recently after the head coach Alberto Salazar was banned due to involvement with doping. The environment at Nike Oregon Project was physically and mentally damaging for athletes like Cain, and for her the experience was clearly toxic. It is harder to say the project as a whole was toxic, because for other athletes (including Mo Farah) that environment led to enormous success. I am reminded of the ritual of stabbing a pin into ones chest practiced by elite military groups. Objectively this is painful and physically damaging, but so is much of what is used in selecting elite units.

My thoughts:
Pain, either physical or emotional, ought not always be avoided, but neither should it be sought out. In competitive environments an ability and willingness to suffer is a factor in success, whether the environment is a sports field, or a business sector, or a war. In my experience that suffering is much easier to bear when I feel I am choosing to face it, rather than it being imposed upon me. This is the contradiction of self-harm, that when suffering is imposed on someone they sometimes react by imposing further suffering upon themselves. It is worryingly unclear to me where the line is between good and healthy competition vs. a bad and damaging environment, but the evidence would suggest that the in a given environment like Nike Oregon Project, some can thrive while others will be crushed.

Robots

I encountered robotic arms that emulate a bartender in London this week, pictured below. It feels like something out of science fiction, where human like robots perform labour for their fleshy masters. While the spectacle of the arms at work is attention grabbing, a more elegant solution to dispensing beverages is the Coca Cola freestyle, (pictures of the internals from reddit here and here) which also can produce a large variety of mixtures, but in location and design is very similar to the more mundane soda dispenser. Consumer technology is often marketed through the cold lense of quantitative performance metrics, but our relationship with that technology (and our willingness to consume it) is just as emotional as the art that inspires it. We as a society built this robotic bartender (and so many other things), not because it was a practical solution to the problem of how to add tonic water to gin, but because it entertains us by feeling like the future we imagine.

Photos from the Week

2019 Week 44: Migrants

Short version: Thoughts prompted by recent news about migration. Some very brief notes on nutrition and technology news.

Long version:

Migrants

Content warning: if you’re having a bad day, maybe skip this one:

Context
Since it was revealed that the 39 people who died in a refrigerated lorry container were Vietnamese nationals attempting to illegally enter the UK, I’ve been thinking a lot about migrants. There are a number of things to unpack here, and I find it hard to tell if I am more hesitant because I lack expertise on the topic, or I find the exercise emotionally confronting.

Scale
I have written about how data can be unsympathetic. Just as mass shootings are powerful examples of a larger gun violence problem, so too are the 39 dead migrants a shocking but statistically small part of a much larger issue. The missing migrant program attempts to track data, and in 2016 there were 39 fatalities every two days for the entire year. These recent deaths make up a small fraction of the 2,589 total for 2019 so far.

Emotions
In some ways the idea of sneaking into the United Kingdom in a truck with 38 other people is utterly alien, and in other ways it is entirely relatable. The tension between those extremes creates some difficult emotions. I am a migrant, as are my siblings, my parents, most of my friends and colleagues. I know the desire to go to foreign lands to seek out opportunities, to live a more comfortable life, but only from a position of immense privilege where I take little risk in fulfilling those desires. Meanwhile I owe my existence to my parents who fled difficult times in the lands of their birth.


I found the following image most disturbing:

The last message from Pham Thi Tra My, 26, was sent to her family at 22:30 BST on Tuesday – two hours before the trailer arrived at the Purfleet terminal from Zeebrugge in Belgium.
Her family have shared texts she sent to her parents which, translated, read: “I am really, really sorry, Mum and Dad, my trip to a foreign land has failed.
“I am dying, I can’t breathe. I love you very much Mum and Dad. I am sorry, Mother.”

From BBC article Essex lorry deaths: Appeal to Vietnamese over victims’ identities

Pham Thi Tra had a smartphone, just like mine or yours. A piece of technology that could connect her with nearly any human on the planet. She could communicate with her parents half the world away from that refrigerated container, but could not call someone meters away to open it, to save her life and the lives of her fellow travellers. In a globally connected world she could trivially access so much information, and she decided the dangerous journey to the UK was worth the risk.

Justice
I am conflicted. Laws restricting migration that mean desperate people risk their lives to cross borders in such dangerous ways. These laws seem to exist to protect my quality of life and privilege at the expense of opportunities for others. I believe human beings should be of equal value be they born in Hanoi or Hobart, but the harsh economic reality is they are not. It seems unjust that laws exist to prevent them from pursuing the same quality of life, however if I were given the opportunity to open all borders around the world, I would hesitate. I do not know what such a world would look like, for example people might rush towards centers of wealth only to be crushed by competition with one another for those opportunities.

Some other unstructured thoughts about migrants:

Language:
The words we use around migration is not trivial. We tend to call wealthy migrants expats, (short for expatriate), compared to the derogatory connotations of “immigrant”. In Australia “asylum seekers” are often connected to “boat people“, perhaps in comparison to aeroplane people?

IOM Publications
Photos by Amanda Nero gave me some more insight into the camps around Calais. They also produce comprehensive reports.

Migrants Make Things Better
McKinsey and the UN conclude some significant positive effects of migration.

Australia
Australia has shockingly hypocritical views on immigration for a country overwhelmingly populated by non-native peoples. Some data on migration flows in Australia.

Scientific Advisory Committee on Nutrition (SACN)

I’m taking vitamin D supplements this winter, due largely to this pretty long report about vitamin D which feeds into the NHS recommendation. I would like to research and write in more detail about the authors and research behind such reports, but considering what is Changing My Mind, the authority of the government, academic, and health care institutions linked to the SACN reports is convincing.

Technology News

Science Fiction Settings:
Blade Runner was set in November 2019.

Asthma:
The NHS is thinking about the carbon cost of different inhalers.

Starcraft
AI is getting good at StarCraft II.

Google Buys Fitbit
The press release from Fitbit. Engadget article. DCRainmaker blog post. 2 billion dollars is a lot of money, but it is substantially less than the peak of Fitbit at nearly 10 Billion shortly after its IPO (see chart below). It doesn’t feel that long ago that Fitbit acquired Pebble, a maker of e-ink smart watches and a rarely successful kickstarter project.

Historic Market Cap of Fitbit

Photos from the Week

2019 Week 42: Hot, Loud, Crazy, and Numb.

Short version: Heating Engineering is effective but unintuitive. Tim Minchin’s Back tour, DNA and Microscopy, We loses billions, a dip in my Mental Health.

Long version:

Heating – Great Engineering Terrible Design

If you have radiators for heating the numbers on the valve are not arbitrary, but adjust flow to maintain temperature automatically. Therefore they can be set to a desired temperature and left in that position without need for adjustment based on weather.

Central heating was a novel experience for me when I moved to the UK. A common system (which is fitted in my home) is to have a single boiler that heats water (in my case by burning gas, the alternative being electric heating) that then flows into radiators throughout the house. Each radiator has a valve. Only recently I learned that the valves attached to each radiator are more complex than they appear; rather than simply controlling flow directly (like a tap at a sink), they contain a material that is sensitive to temperature (wax) and the flow is adjusted to keep the radiator at a fixed temperature. If the radiator is set at position 3, corresponding to 20°C, and the temperature in the room is 21°C, no water will flow as the expansion of wax closes the valve. If the room cools to 19°C then the wax contracts and opens the valve, allowing hot water to flow. This document from Honeywell provides some more explanation.

On the one hand, this is clever engineering that ultimately saves energy by preventing unnecessary heating. On the other, the arbitrary 0 to 5 scale, instead of marking the temperature that the valve maintains, makes this feature counter-intuitive. Without being told about this I doubt I would have ever noticed this self-regulation. The combined thermal mass of radiators and the rooms they heat is large, thus the changes from adjusting the valve occur too slowly to observe easily.

Even something ubiquitous and seemingly simple can be surprisingly complex.

Tim Minchin

I saw Tim Minchin play in Oxford this weekend. Songs included 15 Minutes and Woody Allen Jesus. The show was fun, loud, irreverent, self-indulgent, and self-aware. It was an immersive reminder to me that while technology gives us the incredible opportunity to experience almost the entire library of music almost anywhere, there is an intimacy and immediacy to seeing a live performance that makes the experience more powerful. In this comedic performance, the energy of the performers and their impromptu interactions with each other and the audience makes listening alone to recordings comparatively cold and dry.

At a few points while monologuing Minchin pointed out how his earlier songs which come from the perspective of a (relatively) impoverished artist now conflict with his huge (financial) successes. He also addressed the modern “tribes” of progressives and conservatives, and the contradiction of his (huge) personal carbon footprint and his concerns about the environment. It particularly hit home (given the last section of this blog post) to hear him describe his first experience with depression; being sad that his hundred-million-dollar cartoon was binned from a house looking over the ocean, which was paid for by his hugely successful musical. There is a sense that when one is so lucky, so privileged, that mental illness is unacceptable, and yet, it does affect us.

Two Interesting Things from Nature

A narrative regarding the discovery of the structure of DNA, and a comment about the need for easier access to microscopy.

Business in 2019

Is crazy. Consider this quote from this article:

If you wake up on a Casper mattress, work out with a Peloton before breakfast, Uber to your desk at a WeWork, order DoorDash for lunch, take a Lyft home, and get dinner through Postmates, you’ve interacted with seven companies that will collectively lose nearly $14 billion this year.


Derek Thompson
writes in The Atlantic

Venture capitalists have essentially subsidised tech-y westerners to the tune of $100 each (Assuming about 140 million people use these loss making services). Meanwhile WeWork seems to be imploding.

Mental Health

I’ve had a (hopefully brief) decline in mental health recently. It is tempting to look for causation. I could guess at less daylight, or colder temperatures, or working beyond a sustainable amount recently. Maybe it is my experimental work, which while intellectually stimulating, occasionally has patches of repeated failures. Each failed experiment whittles away at confidence and motivation, and creates a sense that the whole exercise is pointless. Importantly though, sometimes there is no cause, or the cause is not concurrent with the effect. All I really know is I woke up on Friday feeling numb, unmotivated, and wanting desperately to escape my own thoughts. I am very lucky to have colleagues and friends who are understanding and supportive. I have learnt that alcohol is a bad way to escape. I am trying to be patient with myself. If I get nothing useful done in a day that is frustrating, but a constant stream of self-berating doesn’t help. I know things will get better.

2019 Week 41: Changing your mind

Short version: An interesting question to reflect on, a mantra I find useful, another reason to avoid diabetes, the Nobel Prize rejection, and making my phone less distracting.

What would it take to change your mind?

I’ve been thinking about this question recently. In many ways our beliefs about the world, what we hold “in mind”, is intertwined with our identity. How those ideas form, and how they can be changed, informs who we are and how we act. I have not spent much time thinking about what specific influences would be required to change my beliefs. I would like to think that, as a scientist, I am willing to “turn on a dime” in response to strong evidence, but what specifically constitutes strong evidence?

On a population level changing minds is critical to governance. Journalist Carole Cadwalladr gave a TED talk with some fascinating images; advertisements run on Facebook that she suggests influenced Welsh citizens to vote against their own interests on the Brexit referendum. I wonder if those citizens would be able to identify what caused them to be so fearful of hypothetical Turkish migrants (specifically) or the EU (generally), and what evidence or experiences they would now require to lose those fears.

I would suggest you try the thought experiment (and would love to hear your thoughts!). Consider what might cause you to change your mind on beliefs that you hold at different strengths. What might make you change the political party you feel aligned with? Your religious views? Views on climate change? On who you are? At the moment my own thoughts are quite confused, but I find the exercise interesting.

A useful mantra

When trying to understand why someone has acted to cause you harm, I find it useful to remember the order of these three causes:
Apathy. Incompetence. Malevolence.

I realised that it is very rare that a negative occurrence is the result of malicious intent, but often we suspect that cause. I’ve explained my thoughts (and the three word reminder above) a couple times in person in recent weeks.

First for something malicious to occur someone needs to care enough to do consider a malicious act and then act on that thought. Most people just do not give significant thought to others, and generally people err on the side of inaction. Even when a relationship is positive and significant, the frequency of thinking of doing something good translating into actually doing it is relatively low, and most people only have a small number of such intense relationships. Consider how many such strong relationships you have, compared with how many people you cross paths with regularly, and this can likely be extrapolated to others. Just as apathy may cause you to thoughtlessly inconvenience one of these people, so too might their apathy inconvenience you. (There is a related punchline in a joke about gun ownership I rather enjoy: if you are buying a gun for personal defence you must (absurdly) have a high opinion of yourself that anyone cares enough about you to try and attack you).

Second, much of the time when we try to influence the world we make mistakes and influence it in an unintentional way. Just as a good intention can produce a bad outcome, so too does an attempt to manifest a bad intention have a chance of producing a good outcome, or no outcome at all. Since most people tend not to practice malicious acts regularly (I hope), then most people even if attempting to cause harm will do so poorly. More often people trying to be good may fail, and therefore accidentally cause harm. The harm is caused by incompetence rather than malice.

Finally, only if apathy and incompetence are considered and ruled out should we consider ill will. Our mind rushes to this conclusion first, stories we learn from an early age arrange themselves around characters acting in opposition, “good” vs “bad”. It is more comfortable to consider a simple and ordered narrative where people are competent and their actions match their intentions, rather than the complex disordered reality where the two are often not coupled. We are at the centre of our own misfortune, and so assume people can see what we do and must therefore notice and care about our strong emotion. Ultimately these are misguided assumptions.

Remember, when next bitterly considering why you were wronged, the likely reason is Apathy, then Incompetence, and only then, Malevolence.

Diabetes and Alzheimer’s

Diabetes is a prevalent disease in the developed world, and can partially be addressed through lifestyle interventions, like maintaining a healthy diet (and hence weight) and exercising. If there weren’t already enough reasons to avoid diabetes, I’ve recently come across the term “type-3” diabetes, an alternate name for Alzheimer’s disease, due to similarities between the diseases and correlation between Alzheimer’s disease and type-2 diabetes.

Nobel Prize Winner’s Nature Rejection Letters

This week the Nobel Prizes were announced, including one for Peter J Ratcliffe, for his work on hypoxia. I’ve seen some tweets sharing a letter to Ratcliffe declining to publish a paper from him. The message is often one of encouragement to persevere in the face of criticism, or that Nature has made a serious blunder by not publishing the work.

The assumptions here are interesting. Ratcliffe’s Nobel Prize indicates a significant contribution, but it does not mean that every paper he wrote warranted publication at all, let alone publication in any specific journal. Perseverance is naturally a requirement for success in a field (trivially if you quit before you succeed you cannot succeed), but that perseverance needs to include a willingness to adapt to both criticism and praise from peers, not blindness to it (though that adaptation can also be bolstering evidence and pushing back against the criticism, rather than conceding to it). Finally the publisher here (Nature) is responding to the comments of the reviewers who would be other researchers in the field (peers), rather than merely dismissing the work, which I feel can be lost in the suggestion that Nature made a mistake not publishing the work: they were following the procedures which fundamentally led to their success and prestige as a journal.

As an aside: Ratcliffe ended up having 28 papers (to date) in Nature family journals, of which 3 are in nature itself, so I doubt anyone is holding a grudge.

Phone Distractions

I wrote about changing my search engine, and while some tasks now take longer I have adapted and think there is some improvement to the content I consume. This week, at a friend’s suggestion, I switched my phone to monochrome (greyscale), in an attempt to make it less visually alluring. I am surprised how effective such a small change is, the content is the same, but the stimulus is reduced, and it makes it easier to moderate my time mindlessly scrolling.

Oxford Half Marathon

This week I ran the Oxford half marathon, and while at the moment I am still overdue on the Blenheim Palace half race report, I’m hoping to write both and update the respective blog posts soon.

Photos from the week

2019 Week 40: Charts and Code

Short version: Intuitions about how we look at data. Taking small steps with code. Art at the Tate Modern.

Long version:

Sneaky Spreadsheets

This week I have been processing some experimental data and realised how the same data can be plotted in seemingly different ways. Often looking at the numbers themselves can be challenging, particularly if there are hundreds of points with multiple values at each point. For this example we take some simple data about income distribution in the UK. The numbers alone are accurate but making inferences takes consideration and a little mental arithmetic.

A linear column chart is the simplest and fastest way to visualise the data in a spreadsheet program (excel, google sheets, open office calc). It shows the 99th percentile as much larger than the other values, and the increases seem bigger between the higher percentiles.

Taking a logarithmic plot makes each step along the distribution seem more even, but the 99th percentile still seems noticeably larger.

But by changing the minimum axis value on a logarithmic plot the distribution seems much flatter overall.

And we can go to the opposite extreme, by plotting a pie chart the high income earners (top 1%) seem to take a massive share of the pie.

Code

I am not proficient in code, and find that embarrassing. That is an odd statement, I’m not proficient at many things (skateboarding, Portuguese speaking, cello playing) but few of those things cause me to feel embarrassment. Technological proficiency, unlike skating or playing a string instrument, is a part of my identity, and I feel that being able to code (or at least write basic scripts) is a part of being good with tech. When I go to write code, I am confronted by the gap between what I feel my skill should be and where my skills actually are, which is uncomfortable. Moreover it causes me to hide, refraining from asking for help, and I end up doing things in a slow and repetitive way. To push back against that urge, here is an attempt to write a simple python script to extract folder information from a directory tree.

import os
import re
print "This removes files from saved directory trees"
path = "./"
print "I will run in the local folder"
linecount = 0
for filename in os.listdir(path):
        if filename[len(filename)-4:]==".txt":
            with open(os.path.join(path, filename), "r") as file:
                output= open(filename[0:len(filename)-4]+"_folders.txt","w+")
                for line in  file:
                    if len(line) > 6:
                        if line[len(line)-6]!=".":
                            if line[len(line)-5]!=".":
                                if line[len(line)-6:]!="Cloud\n":
                                    output.write(line)
                                    linecount = linecount +1
            print("I found "+str(linecount)+" lines and put them into "+filename[0:len(filename)-4]+"_folders.txt")
            linecount = 0
        else:
            print("I did not process "+filename)
            linecount = 0

Subscribe to email alerts!

Loading

Photos from the week

From the Tate Modern exhibition by Olafur Eliasson

2019 Week 39: Microwaves, Search, and Running.

Short version: I try and explain how microwaves work, I changed my search engine, and ran the Blenheim Palace half marathon.

Long version:

Microwave (ovens)

This week over a (reheated) dinner I tried to explain how microwave ovens work. It was a good reminder of the difficulties of discussing science; first in actually knowing the underlying science, then in communicating it to different people with different (unknown) levels of prior understanding. It was humbling to stumble between gaps in my understanding of a common household appliance and a failure to find the language to explain what I did understand. After refreshing myself on the physics, I try to explain again.

To start:
Microwave ovens convert electrical energy to heat, and are used for warming and cooking food. Other electrical cooking appliances (e.g. stoves, ovens, grills, toasters, and kettles) use the property that a flow of electricity heats the wire (conductor) it flows through. Microwaves make electromagnetic waves (like visible light or radio waves) in the microwave region of the spectrum (hence the name), which heat food (particularly water) as they pass through it. Conventional methods of heating food heat from the surface which gradually warms inwards, where as microwaves can heat food from the inside directly.

Assumed knowledge:
It is easy (and fun!) to get into a spiral of questions about what “heat”, “food”, “electricity” and “electromagnetic waves” are. More information about the parts of a system help build a foundation form where the combined system can be understood; it is hard to understand the science of cooking without understanding a little of the chemistry of what food is, or the physics of what heat is. Also seemingly unrelated knowledge can be useful; if how a musical instrument generates certain sounds is known, then the similar principles of resonant frequencies helps to explain how the microwaves are generated by the magnetron, another type of resonant cavity.

The best I can do:
Food goes in a metal box (a cavity) that stops microwaves escaping. Electricity (240 V AC mains) goes to a transformer that changes the voltage into two windings, a high voltage (approx 2000V) and a low voltage (approx 5 V). The lower voltage powers the user interface (e.g. the clock) and the higher voltage powers the microwave generator, called a magnetron. The magentron is a cylindrical vacuum cavity (closed metal tube with no air) where electrons are thrown off a central filament and travel to the outer walls. Strong magnets cause the electrons to travel along curved paths, and the cavity has spokes that extend from the outer walls most of the way towards the central filament. The spacing of these spokes and the strength of the magnets is tuned so that a specific frequency of electromagnetic radiation (microwaves) are generated by moving charger in the magentron, and these microwaves are guided by a metal tube (wave guide) into the larger cavity containing the food. The generated microwaves bounce around the cavity until they interact with water molecules (and sugars and some fats) in food to vibrate them. This is observed microscopically as heating.

A comprehensive explanation:
Can be found in this paper by Michael Vollmer. Also this video is a good guide.

Microwaves and super-res:
At the moment I work with super-resolution microscopes, which connects with microwave ovens in an interesting way: The grill that lets the user see their food being heated has holes (approx 1 mm across) that are much larger than the wavelength of visible light (approx 0.001 mm) but much smaller than the wavelength of the microwaves (approx 122 mm). Waves cannot “see” and object much smaller than the wavelength of the wave, called the “diffraction limit”. Thus the grill on the door of a microwave oven is “diffraction limited” from the perspective of the microwaves, in the same way that cellular structures can be “diffraction limited” from visible light. I am not sure if the equivalent optics exist for microwaves as in visible light, but it could be possible (though not particularly useful) to super-resolve structures using microwaves. Given microwaves are used in radar, perhaps such techniques are already used for detection of rain, birds, or aircraft.

Small Nudge to Search:

This week I changed my default search engine from google to google scholar.

This has had frustrating consequences; where as typically to find out where a place is, what tomorrow’s weather would be, or to play a song, I simply press the hot-key for a new browser tab and type what I want, that now gives me search results from the academic literature. There are no papers telling me if it will rain in Oxford tomorrow.

I do think this is a useful step. I’ve been reading a little about nudges, a concept linked to Richard Thaler. Changing the default search makes it slightly easier to do literature searches, and slightly harder to do general web searches, which I hope (and expect) will nudge me towards consuming better quality content.

Value-Action Gap

I came across the term “Value-action Gap“, which adds a technical but intuitive term where I would otherwise use the more judgemental “hypocrisy” or the more debater-jargon “principle consistency”. I like hearing opinions on why it is that people often act out of alignment with their beliefs, and am often surprised at my own capacity for cognitive dissonance.

Blenheim Palace Half Marathon

Slightly disappointed with my time, but it was a fun race. I will be adding a race report soon. Edit; I have now added the race report here.

Photo from the Week: