Thursday 29 December 2016

On creating a "companion web site" for talks

My last research talk, I tried an experiment during the talk. I created a "companion web site" for the talk, which is an online handout including slides, code, links to papers, and a bullet-point abstract. Here's my first try at an online handout.

The inspiration was Tufte's quixotic diatribe against Powerpoint, which recommends written handouts instead of slides. The web site is an attempt to adapt his idea to an all-open all-Internet all-the-time age. Seeing as I have no intention of printing out several hundred paper copies of a handout and carrying them thousands of miles to a research meeting, and that most people have laptops anyway.

Why the handout? Lectures are limited because speech is linear. If we are conversing, when I haven't understood what you have said, I can ask you to go back. When you lecture, I cannot do that. If I stop a moment to think more deeply about something that you have said, I run the risk of missing your next point.

The handout is designed to help with this. By giving you a written summary, and also my slides, you can "go back" and re-read a point that you may have missed. A second role for the online handout is to help you find more details after the talk, to find exactly which papers, which code, and so on, I was referring to.

If the handout really helps, then it raises an even more interesting question. Why the slides?
Tufte argues vehemently against slides as a replacement for written text. Slides have low resolution, which encourages poor statistical graphics, and encourages hiding details which are vital to assessing an argument in science and engineering. Also, most arguments do not fit into bullet points, because bullet points can convey only linear relationships and nesting. The narrative that you are trying to convey in your talk is likely to be more complex.

In research conferences, we already have a handout for each of our talks, the research paper. So maybe we be presenting scientific talks with no slides at all? If not, why not? Sometimes at a conference, I'll skim the paper during the talk if I am starting to get confused. Sometimes that helps. But papers are information dense, with long sentences full of qualifying statements designed to forestall potential reviewer criticisms. It can be hard to read dense text while also remaining aware about what the speaker is currently saying. Sometimes I think this a blind spot of Tufte's, that he leans too heavily on information density as a measure of the quality of a display.

We can think of the sequence [ slides, audio of talk, online handout, paper ] as attempting to convey the same information at different levels of density. This allows the reader/viewer to choose the appropriate level. But slides and audio are both low density. Do we really need two low density ways of conveying the information?

Another way of asking the question is: What are slides good for, when they are good? Tufte does seem to accept that good slides are possible. He admits that perhaps the top 10% of presenters aren't harmed by Powerpoint's cognitive style, as their own presenting style is strongly enough developed that they impose it on the software, affordances be damned.

In the past couple of years, I've been experimenting with different slide designs. I may even starting to understand what principles I am aiming at in my slide designs. But I think that's a topic for another day.


Wednesday 28 December 2016

A Suggestion for Scotland

This will be a big year for the United Kingdom. In September, Scotland will hold a referendum to decide whether to remain in the UK or to become an independent country. For several years, support for independence has remained steady at around 33%, but some polls have shown that support for independence may be increasing. For my American friends, I personally think that this op-ed is a good primer.

As a foreigner, I cannot vote in the referendum, and rightly so. But I would like to humbly propose a third option for Scotland, just as a suggestion. A middle ground between the risks of complete independence, and the current reality of being yoked to Westminster.

I suggest that come September, Scotland should secede from the United Kingdom and join the United States as the 51st state.

This would be welcomed all throughout the US, I guarantee it. Americans love Scotland. We really, really love Scotland, even if we can’t find it on a map. There are more people of Scottish ancestry in America than there are in Scotland. We have Scottish festivals all over the country, with kilts, bagpipes, Highland dance — the whole works, except only for haggis (which is actually illegal to import) and Irn Bru (that stuff’s minging). My point is, Americans really, really like Scotland. Maybe the EU would dither about accepting an independent Scotland, but the US would accept Scotland in a New York minute.

Polls show that Scots are concerned about their economic future. Joining the US would be great for Scotland’s economy. By joining into a single trading area with the United States, it would be easier for American tourists to come to Scotland, and for Scottish haggis to come to the US (I love that stuff). Also, you need to consider the film industry. We spent $70 million making a movie about the last time Scotland won independence. Don’t think we won’t do it again. We put a Scot into outer space. Heck, we even made up a Scottish smurf! The fact is, over the past 50 years, Hollywood has done more for Scotland than London has. Join with us, and we can do more, together.

Now, some might argue that my suggestion is impractical. After all, Scotland is a long way from the US. (Americans: you might need a map for this part.)  But with modern telecommunications, there’s no reason this should be an issue. In fact, Washington, DC, is actually 1000 miles closer to Edinburgh than it is to Honolulu.

I can understand that some Scots might be concerned about this proposal. After all, Washington DC has been pretty dysfunctional lately. Some might ask: Are these really the people you want to join your political future with? First, it’s important to point out that the US Congress makes up only 0.000017% of the population. Most Americans are more sensible. Second, and most important, this is why we need your help. It’s true that there are a lot of perfectly nice people in the US whose political views are batshit crazy. But it’s also true that the country is deeply divided. The crazy people are really only about 49.8% of the population. Even though Scotland’s population is small, in a politically polarised country, it’s enough to tip the balance. Think about it: The US State of Scotland would probably receive 9 electoral votes. The US presidential election of 2000 was decided by only 5. Just think about the good that Scotland could have done for the entire world.

Clearly, this is one of the most difficult and important political issues in Scotland’s history. Honest people of good intentions will come to different opinions. But I hope that I’ve convinced you that this third option is one that’s worthy of serious consideration.

Saturday 21 November 2015

GTD Made Simple: Why I think the Internet needs one more blog post about "Getting Things Done"

I'm naturally disorganised, but I have so much stuff to do that out of necessity I get organized. (Then more stuff comes and I get disorganised again.) The way I get organized is by attempting to follow a system called GTD. GTD comes from a book by David Allen called Getting Things Done. The book is an unusual read, a mix of management-speak, Zen-speak, and tips for organizing your filing cabinet. But for all that, it's a good book.

GTD has become popular with many different types of people. It is especially popular with tech people on the Internet. It's a bit of a geek cult, which is strange. Why are computer programmers singing praises for a management consultant? Indeed, why are university professors?

Lots of people on the Internet have been writing about GTD. It can be hard to get started. For one, the book itself, the writing isn't always succinct. Also, cleaning up your to do list and blogging about it is a good way to procrastinate. So, there are lots of blog posts out there about GTD. Lots.

I have been trying to figure out a way to explain GTD that makes clear how simple it is.

Look, you need a to do list. It will clear your head so that you can concentrate on your work. That's it. That's GTD.

But you've tried this already. It helped for a little bit, but then it stopped helping. This is where GTD gets interesting. It's based on an extraordinarily perceptive understanding of why to do lists stop working. They can stop working because:

  1. You haven't written everything down. To do lists become way better when they contain literally everything that you have to do in life. If they don't, then deep down in your mind, you will always know that you've got stuff to do that isn't written down, so you spend mental focus trying to remember those things. It's like if you tried to keep a calendar but only wrote down half of your appointments in it.
  2. Your list is too vague. If you write down something like "Dentist" on your to do list, every time you see it, you need a little mental energy to work out what that meant and plan what you need to do about it. But after you've done that planning, you don't do anything about it, because you were just scanning your to do list and right now you need to do something else instead. This makes you anxious. And if you read "Dentist" without taking that effort, then you still feel anxious because it reminds you that there's something you need to do and you're not sure what it is.
  3. Your list is too long. When you're not sure what to do, you need to be able to scan your list quickly to decide what to do next.
  4. You can't find items right when you need them. If you're about to drive past the hardware store, you need to be able to stop in the parking lot and quickly find the list of stuff that you'd been meaning to buy.
  5. You can't write down items right when you think of them. When you notice you're running low on toilet paper, you're not usually in the grocery store at the time. But you still want to record this right then, so you don't have to remember it until you're walking past the shop the next day.
  6. Your list doesn't keep up with your life. Gradually you get more and more things to do that just don't make it on to your list.
  7. You don't compare your list to your bigger goals. Urgent things aren't always important, and it's easy to let days slip by you. You need to think about what's most important in your career and your life, and your to do list needs to contain actions that help make the important things happen.

GTD is a system for keeping lists that is designed to avoid these problems. GTD doesn't care where you keep your lists or how you store them --- this is why geeks love GTD, so that they can keep arguing about what software is best. But you don't need software. Paper works fine. What you need are principles to guide you.

The main principles of GTD are:

  • Record everything. Everything that you need to do.
  • Record everywhere. No matter where you are, you need a way to write things down so that they will end up on your list.
  • Organize by context. You want multiple to do lists, organized so that when you scan a list, it contains only things that you could do right then, if you decided to. You might have a list of people you need to call, a list of things to do at a computer, a list of things to do at home, etc.
  • Specific measurable actions. This the caveat to "record everything". If it goes on your list, it needs to be something specific, that you could do right away, finish, and tick off. Instead of writing "Dentist", you should write, "Email Morag to ask for dentist recommendations". When you read an item on your list, you don't want to think "Oh, what was that?" --- you want to think "Ah, I can do that!"
  • Small specific projects. A project is anything that takes multiple specific actions to accomplish, even if it's only 2 or 3.
  • Plan naturally. For any project, work out what you need to do on the sheet of paper, and add to your list the actions that you can do right away. Actions that you need to do later down the line, they don't go on your list.
  • Review weekly. Check your calendar and your notes to see if there's anything that you need to do that you haven't written down yet. Think about your longer term projects and goals and make sure your lists have actions that help with them.

How you organise a set of lists, and supporting files, to meet these principles, that's what the book is about. It may not always seem so from the surface, but the book is full of clever little tricks. That's another reason why the book can be deceptive: It's easy to admire the tricks but not understand the system. But if you really understand the principles, then the practice becomes much more clear.

Sunday 27 September 2015

Why you should scrunch your face when you think

An important skill in any type of creative work is to observe and reflect on your own habits of thought and discover a way of working that suits them. A simple example is the old advice to notice the time of day when you have the most energy, and reserve that time for the most creative aspects of your work. But there are many more examples of this, if you look for them. It helps to be a bit self absorbed.

One habit that I've just recently reflected on is that sometimes I close my eyes and scrunch my face into an "I'm thinking hard" face when I'm trying to think hard. In some sense this is an affectation. But I like to think that the goal is more noble, to harness the cognitive dissonance that would result if I make the scrunchy face without thinking hard. To escape this dissonance, the only option for my subconscious is to actually start thinking hard. It feels like this helps, at least sometimes, but I haven't kept careful records. And at least everyone else can see how hard I'm thinking.

Thursday 28 May 2015

My Top Conference Attendance Tip

One of my PhD students is on his way to his first academic conference. Conferences are one of my favourite parts of research: I've met so many interesting people and started so many fun collaborations that way.

Just today I saw this great advice from Michael Ernst about attending conferences. His advice is so good, that I've only got one thing to add.

Here's my tip. When a big group students from the same institution go to the same conference, they'll often hang out together all the time: at meals, coffee breaks, etc. This isn't a great strategy on their part, but you can exploit this. Once you make friends with one person in the group, now you can go with your new friend to lunch with everyone else in the group. Voila, now you have a network!

This is a general principle of networking (horrible name, but incredibly important if done honestly and well): Cool people will help you to meet other cool people. And once you've been around long enough, you can return the favour!

Saturday 11 April 2015

Viva la voce

One of my favourite aspects of academia in the UK is the final oral examination for the PhD --- formally called a viva voce, which everyone seems to call a viva (VEYE-vah). The viva is an oral examination that typically consists of the student and two examiners, one from within the University (the internal examiner), and one from outwith the university (the external examiner).

Both examiners read the thesis carefully, and ask the student detailed questions. The traditional way to do this is that all three have a paper copy of the thesis, and the examiners go through the thesis page by page with their questions. Some questions are high level ("Why did you choose technique X rather than technique Y?") and some can be very detailed ("In your proof of Theorem 4.3 on page 176, I'm not sure that the third step is correct. What if the matrix A is non-singular?").

This discussion commonly takes 2-3 hours. Longer and shorter vivas are not unheard of, though if you ask me, a one-hour viva is a bit of a rip-off for the student, and a five-hour viva isn't kind, unless the length is caused by the student being exceptionally argumentative or loquacious.

At the end of the viva, the student is asked to wait outside, and the examiners decide whether the student should be awarded a PhD, and if so what corrections to the thesis are required. The most common outcome is a pass subject to minor corrections, which the student is allowed a few months to complete.

Essentially, in my experience a viva is a detailed technical discussion of the content of the thesis. Most students start out nervous, sometimes exceedingly so, but relax after a few questions as they realize that this is just a technical discussion of the sort that they have had many times before. That said, even if your research career is long, it is rare that a trusted colleague will provide you with several hours of detailed feedback on your work. To be part of a discussion like this, on either side of the table, is a privilege: most work is ignored, so any criticism is a compliment.

I am sure that the process is more tense if the examiners believe that the quality of the thesis is borderline --- fortunately, I haven't yet been asked to examine a thesis like that. If portions of your thesis have already been published in prestigious venues, and whether this is possible at all varies greatly across disciplines, then you can be fairly sure that your thesis is not near the borderline.

A colleague suggested to me once that a viva is like a negotiation. If your thesis represents a sufficient amount of research of acceptable quality (and if it was indeed you that wrote it), then you will pass. The negotiation is over which corrections will be required. Responsible examiners do not want to require additional experiments that will require months of work, if the thesis as submitted is of excellent quality. But they also don't want a thesis to be passed with gaping holes in its argumentation. The purpose of the discussion is to sort out which potential concerns are which, and your voice in this discussion matters --- you wrote the thesis, so you are the expert in the room.

Sometimes an examiner asks a question with an eye to a correction being required. Maybe you think, "yeah, that's a good point, I should add a paragraph on that" --- in this case, don't hesitate to say so. On the other hand, if providing a good answer to the examiner's question would require months of additional research, politely explain why, while also giving the best answer you can given what you do know. What you don't want to do is argue every point strongly, even when the examiners are clearly right... that is not good negotiation strategy.

A bit more about who attends the viva. The internal examiner is not the supervisor, in fact, they will not have been involved with the thesis research at all. It is not unusual for the internal examiner to be a bit of generalist with respect to the thesis topic, although when I have served as internal, I have usually been able to make out the thesis reasonably well. Presumably this is because the School of Informatics is large enough that there are many theses in machine learning and natural language processing that need to be examined.

The external examiner is chosen specifically for their expertise in the subject matter, and to serve as an external is generally seen as a minor indicator of prestige. A certain amount of deference is paid to the external in the culture of the process. Even so, I have the sense that part of the role of the internal is to be accountable to the University (for following correct procedures) and to the student and the supervisor (to make sure that the examination is fair to the student). I have read and heard horror stories of aggressive external examiners but never witnessed one; to the contrary, the examiners who I have witnessed have all gone out of their way to be kind to the student.

The role of the supervisor in the viva, I think that this may vary slightly across institutions. At Edinburgh, the supervisor is allowed to attend the viva, if the student permits, but not to participate in any way. In my experience as internal examiner, the supervisor has attended about half the time. One supervisor silently took notes to share with the student, which I think is quite a kind thing to do.

Finally, although the description is written for a US audience, British academia also fetaures the snake fight portion of your viva.

(Written in honour of my first PhD student graduating. Congratulations Yichuan!)

Saturday 3 January 2015

Early to rise, early to read research papers

Due to a recent bout of jet lag,1 I have found myself this week waking up at 5am.
So I am experimenting with reading a paper first thing in the morning.

I am hoping that starting off the day with an intellectual task will help me to avoid
"administrator brain", which FSP describes in an excellent post.

So far (well, two days in) it has been really fun. It helps me to stay motivated, because after writing 50 emails in a day, your mind gets lost in minutiae, and you forget that you came to this job to learn, to help people, and to be creative.

Can't promise that I'll keep waking up at 5am, though.



  1. I have begin scheduling posts well in advance, so this bout will no longer be recent when you read this.