What it is like to attend a Google mentoring programme

Google mentoring programmes are plentiful. Events such as Summer of Code, CodeF, Google Top Black Talent and TechAbility offer amazing opportunities for students interested in technology to develop their careers, network with like-minded peers and work on interesting projects. In the past months I have had the opportunity to attend a variety of residential career development and mentoring events organised by companies from a range of industries. I can say without a doubt that Google’s TechAbility programme, organised in collaboration with EmployAbility, comes out on top for the following three reasons:

  1. Mentoring: The programme consists of 8 one-to-one mentoring meetings held either virtually and/or in Google’s London offices. This level of attention is completely unparalleled and enables participants to build meaningful relationships with their mentors.
  2. Flexibility: The programme is adaptive to participants’ backgrounds and interests. Rather than following a given schedule, mentees are free to propose their own projects to work on, conduct mock interview sessions with their mentors and work on professional skills.
  3. Impact: The above two points cumulate in a genuine opportunity for impact. The level of support offered by the mentors, together with the flexibility to work on any technology project the student wishes, means that there is enough time to create a project with lasting real-world impact.

To give an impression of what it is like to be part of a Google mentoring programme, I will now detail my experiences as a participant of TechAbility 2012.

Figure 0: Entrance to Google offices at St Giles High Street in Covent Garden

Figure 0: Entrance to Google offices at St Giles High Street in Covent Garden

The first one day event at the Google offices at St Giles High Street in Covent Garden set the tone for the programme that awaited us. We were welcomed by senior Google employees to a day packed with interesting lectures about their work. The day was fast paced, but there was also time to chat to people during the breaks and network with Googlers from a variety of backgrounds.

After this introductory day all participants were invited to propose a project that we would want to work on with a mentor.

I decided to propose a project related to my Ph.D. in the field of theory and simulation of materials. In laboratories, such as the one I work in, and biotech startups around the world, cheap and fast computers are increasingly used to replace expensive and slow laboratory experiments. This is possible through the use of materials simulation software. Based on our understanding of the laws of physics, these software products, running on some of the fastest supercomputers ever built, are used to discover new materials and drugs, optimise the polymers used in the aerospace industry and ensure the safety of nuclear reactors, to name just a few examples.

However, most people have never heard of this quiet revolution in science. I decided to propose a project that would address this awareness gap. The plan was to put school students in control of a supercomputer, giving them first hand experience with a tool that scientists in my field work with every day. By the end of my project, a web interface would control a powerful research-grade simulation of 500 virtual water molecules at arbitrary temperatures. Using a simple temperature control dial, users would be able to observe the molecular structure of water at different temperatures, from a frozen crystalline lattice at 10 Kelvin to an exploding vapor cloud at 5000 Kelvin.

Sylvie Sheil, who works out of Google’s Dublin office, agreed to mentor me over the course of eight one-to-one meetings through the creation of this project. In week 1 I met up with her for the first time, at the colourful Google offices at St Giles High Street in Covent Garden. Together we formulated my original mission statement, which was to put school students in control of a simulation that shows how medicine breaches the human skin barrier. To help me with the simulation aspects of the project, I decided to ask David Edmonds, a PhD candidate with extensive experience using molecular simulations, to be part of my project. David agreed, but suggested that simulating water would be a more achievable goal for my minimum viable product (MVP).

At this point, I realised that the wealth of scientific libraries that is available for Python, such as numpy and matplotlib, would make Python a sensible technology choice for my project long term. The only problem was that I have never used Python before. Despite my lack of experience, my mentor supported the choice of Python / Django, and I found that the framework set by the mentoring programme provided a good learning environment to pick up the skills that I needed to move forward with my project.

Figure 1: Prototype developed in week 1

Figure 1: Prototype developed in week 1

Working evenings and a few late nights, I put together version 1, the somewhat clunky yet fully functional prototype reproduced in Figure 1. Based on the popular open source molecular dynamics simulation package Gromacs, I created a website written in Python / Django that could be used to control the water simulations that David had put together. For easy collaboration, I put everything into source control using git, and deployed it on an Amazon EC2 Linux instance running Apache.

The second meeting with my mentor took part via a sketchy Google Hangout connection, with her in Dublin and me in London. After seeing my first prototype, Sylvie suggested that I should think more about my intended audience, possible user profiles and use cases. She introduced me to a more holistic product development process, based on creating user profiles, a study of customer needs,, proposed MVP specifications to address these needs and resultant user flows and finally interface mockups.

Figure 2: Great products live at the intersection of trends in technology, user needs and people with the skills to create products combining the two

Figure 2: Great products live at the intersection of trends in technology, user needs and people with the skills to create products combining the two

I was used to thinking of great products as something that somehow spontaneously emerges at the intersection of three things: user needs, developments in technology, and a team skilled at bringing these technologies to users. (see Figure 2 for a rough sketch). During our mentoring sessions, Sylvie has helped me to gain the skills needed to formalise the processes in this cycle into concrete and repeatable steps, such as user flow analysis (Figure 3), wireframing (Figure 4) and mockup creation. I had not been exposed to such formal product development cycles before, yet after reading up on them further found them extremely useful and time saving. I was impressed by how well the mentoring scheme adapted to my interests, giving me the opportunity to gain skills in an area that made sense for my particular situation.

Figure 3: In week three I created a diagram illustrating possible user flows on my site

Figure 3: In week three I created a diagram illustrating possible user flows on my site

After the first four weeks we had a clearer grasp on what the final version of my MVP would look like. However, my mentor encouraged me to create a more streamlined interface, as well as a more attractive design. The encouragement was welcome and so I created a more compact layout aimed at providing a frictionless user experience. This point was especially important to me since materials simulation software is usually notoriously difficult to use. After discovering ‘less’, a CSS framework allowing for the use of variables and nesting of statements, I put together the layout shown in Figure 5.

Figure 4: In week 4 I put together the above as one of several quick mockups created to show interfaces that facilitate the various user flows that I had identified in Figure 3

Figure 4: In week 4 I put together the above as one of several quick mockups created to show interfaces that facilitate the various user flows that I had identified in Figure 3

With the end of the project quickly approaching, I moved on to early user testing. My aim was to test the site in schools, however due to scheduling constraints I had to make do with my fellow PhD students for the moment. One of the most frequent user feedback was the lack of information whilst the simulation was running, so I created some mockups for a sliding drawer that could be expanded whilst the user is waiting for the simulation to complete. I implemented the drawer using jQuery and filled it with some background information about the simulation technique used in my project (see Figure 5, right).

Figure 5: In week 5 I created version 1 of the layout based on my mockups. In week 6 I refined the layout by adding the sliding drawer shown on the right

Figure 5: In week 5 I created version 1 of the layout based on my mockups. In week 6 I refined the layout by adding the sliding drawer shown on the right

Finally, I realised that running this project on Amazon EC2 at scale would be rather expensive long term. As part of my search for alternative hosting solutions I applied for funding and am grateful to Prof Peter D Haynes, who agreed to sponsor my project with £1000, to be spent on compute infrastructure. After surveying the market, I decided to use this funding to migrate my project from EC2 onto a small cost effective dedicated server in Germany. I also wrote and beta tested a shell script that could make use of reverse SSH tunnels to farm out simulations to external machines should the need arise in the future.

Looking back after eight weeks, I would strongly recommend the Google TechAbility mentoring programme to others. It has been an amazing opportunity that has enabled me to pick up new skills from a mentor working in one of the world’s leading technology companies. The most useful lesson I learned from my mentor was the use of a repeatable product development cycle based on user studies, user flow analysis and wireframes / mockups. It has also given me a welcome excuse to learn new technologies (Python / Django, molecular dynamics simulation package Gromacs, the Amazon EC2 compute infrastructure, Unix administration) as well as brushing up on some old friends (such as collaborative working through the use of version control software git, the creation of interactive web interfaces using AJAX, and Apache web server administration).

The project that I have created as part of the mentoring programme, now located at hermesacademy.org/water, is at the heart of a trend towards open science. By giving the public access to the same research-grade simulation infrastructure that scientists use every day, it is my goal that, going forward, this project will break down some of the barriers that exist between academia and the general public.

Posted in Uncategorized | Leave a comment

Research highlight: Nanofocusing performance of metallic tips

As part of my work in the TSM CDT, I have recently collaborated with Antonio Fernandez-Dominguez, Andrew Horsfield, John Pendry and Stefan Maier to develop a nonlocal wave solution for nanofocusing of optical energy on metallic tips, work that has been published this week in Nano Letters. [4]

Localisation of optical energy into sub-wavelength volumes is currently an active area of research in the field of nano-optics. The challenge arises from the fundamental limitation that a beam of visible light, propagating in free space, can not be focused in a spot that is smaller than its wavelength (several hundreds of nanometers). On the other hand, many chemical processes occur at molecular length scales (which span several tens of nanometers or less). From an experimental point of view, a focusing scheme for delivery of optical energy into these nanoscale volumes would be highly desirable. If achieved, such a scheme could also be reversed, so that it would act as a sensor for electromagnetic signals with nanometer accuracy.

From the point of view of multi scale materials theory and simulation, the problem of nano-focusing poses an interesting challenge. Transport of energy begins at a macroscopic scale, where Maxwellian electrodynamics applies, however it then proceeds to length scales spanning only a few atoms, a regime where quantum and nonlocal effects govern the propagation of electromagnetic waves.

Plasmonic tip

Figure 1: Schematic illustration of a metallic tip geometry suitable for nanofocusing. The contour plot shows the radial electric field component at the sharp end of the tip.

Research into geometries suitable for nanofocusing has progressed rapidly over the past decades. In 1997, Nerkararyan [1] showed that light waves propagating on the surface of a metal wedge can be concentrated in a nanoscopic ‘hot spot’ at the sharp end of a metallic wedge. In 2004, Stockman [2] proposed a similar scheme based on the use of a metallic tip (see schematic illustration in Figure 1). This tip structure has since seen rapid experimental uptake, for example De Angelis et al. have used it in 2009 [3] to construct an atomic force microscopy (AFM) tip that not only provides information about the three dimensional morphology of an object, but simultaneously acts as a chemical sensor that provides information about the local chemical makeup of its surface.

Despite this rapid progress, many experimental and theoretical questions in the field of nanofocusing remain unanswered. For example, previous theoretical descriptions of nanofocusing cones were based on local solutions of Maxwell’s equations, which restricted the validity of the solutions to distances many tens of nanometers away from the sharp end of metallic tips. Thus, the need for a nonlocal description to the problem was recognised as early as 2004 [2], as such a description would extend the applicability of the solution to the sub-nanometer lengtscales which are crucial for nanofocusing. Another unanswered question relates to the effects of surface roughness. Experimentally produced metallic surfaces are never perfectly flat, but instead show an inevitable surface modulation. However, when electromagnetic surface waves propagate towards the sharp end of a metallic tip, their wavelength compresses to such an extent that it begins to approach the dimension of this surface roughness. The sub nanometer lengscale involved in the description of such surfaces again necessitates a nonlocal treatment.

The multi-scale nature of the above questions meant that the doctoral training centre in theory and simulation of materials was ideally placed to make a contribution. Thus, CDT student Aeneas Wiener was able to draw from the expertises of three research groups at Imperial College London, who each offered crucial ingredients towards a solution of the above questions. Andrew Horsfield provided knowledge of electronic structure theory, the group of Stefan Maier contributed experience in computational electrodynamics) and John Pendry, together with postdoctoral researcher Antonio Fernandez-Dominguez, offered their expertise in analytical solutions of Maxwell’s equations in complex geometries.

In a recent study [4] these authors have developed a solution to the problem of wave propagation on metallic tips which takes into account the effects of nonlocality. This means that the solution is valid even for sub-nanometer length scales, which makes it suitable for the investigation of surface roughness effects. In the local description of Maxwell’s equations, surface roughness drastically reduces the intensity of the hot spot that can be achieved at the end of a metallic tip. Interestingly, the authors find that effects of nonlocality mitigate this adverse influence of surface roughness, restoring the amplitude of the hot spot to a larger value than would be expected from local solutions of Maxwell’s equations. These insights into the effects of nonlocality on electromagnetic surface waves are not limited to metallic tips, but apply equally to other devices which rely on the propagation of electromagnetic energy on metallic surfaces.

References:

[1] Nerkararyan, K. (1997). Superfocusing of a surface polariton in a wedge-like structure. Physics Letters A, 237(1-2), 103–105. doi:10.1016/S0375-9601(97)00722-6

[2] Stockman, M. I. (2004). Nanofocusing of optical energy in tapered plasmonic waveguides. Physical Review Letters, 93(13), 137404.

[3] De Angelis, F., Das, G., Candeloro, P., Patrini, M., Galli, M., Bek, A., Lazzarino, M., et al. (2009). Nanoscale chemical mapping using three-dimensional adiabatic compression of surface plasmon polaritons. Nature Nanotechnology, 5(1), 67–72. doi:10.1038/nnano.2009.348

[4] Wiener, A.; Fernández-Domínguez, A. I.; Horsfield, A. P.; Pendry, J. B.; Maier, S. A. Nano Letters (2012), DOI: 10.1021/nl301478n

Posted in Uncategorized | Leave a comment

The Auroras

A view of the Auroras (the Northern/Southern Lights) as seen from the International Space Station during September 2011.

Posted in Uncategorized | Leave a comment

Hermes 2012

In 2012, London will play host to a unique summer school consisting of four days of master classes and competition. This student-led event, held during the Olympics, will bring together some of the world’s leading materials modelling students. They will present their research, attend master classes given by renowned academics, and develop their ability to communicate science. For more information visit www.hermes2012.org

Posted in Uncategorized | Leave a comment

Offline editing of ultra-high resolution footage in Adobe Premiere Pro

High resolution video footage is often too large to be edited smoothly in real time. A solution to this problem is to work with smaller temporary files during the editing process, replacing the temporary files with the high resolution original files only at the very end, just before exporting the project. This practise is often referred to as ‘offline editing’

When using source video files whose resolution is much larger than that of the project an additional problem arises. Let’s consider a hypothetical example: Imagine that your source footage has a resolution of 5184 by 3456 pixels but your Premiere project is in 720p. A setup like this would allow you to do virtual panning / zooming on the original footage, for example. Naturally, the original files with resolution of 5184 by 3456 pixels are far too large to be edited smoothly, so their file size and resolution has to be reduced. At this point, you may want to create a low resolution version of the original footage, at a resolution say four times smaller in both directions. This would result in a much smaller temporary video file with resolution 1296 by 864 pixels, which could be used to perform the edits in real time. The problem with this solution is that once the temporary video file with resolution 1296 by 864 pixels is replaced with the large original file of resolution 5184 by 3456 pixels many effects, such as panning / zooming effects, will be wrong, as they only apply to the smaller resolution footage.

Here is a workflow that will allow you to avoid the above problem. It will allow you to work with a lower resolution temporary video file and then to preserve all motion effects (such as panning and zooming) once the temporary file is replaced with its high resolution original.

Some definitions:

Desired project resolution: Hp by Vp pixels (eg. 1280 by 720 pixels)
Original file resolution: H by V pixels (eg. 5184 by 3456 pixels)
Resolution of temporary file: H/n by V/n pixels (eg. 1296 by 864 pixels)

  • Step 1: Save your original high resolution footage at the full resolution (H times V pixels) and completely uncompressed.
  • Step 2: Using a program like QuickTime Pro, save a low resolution and highly compressed copy of your original footage. This copy should have the same framerate as the original footage, but the resolution should be set to H/n by V/n pixels. Makes sure H and V are both divisible by the integer n.
  • Step 3: In Premiere, create a sequence called ‘Working sequence’. This sequence should have the desired resolution for your project: i.e. Hp times Vp pixels.
  • Step 4: Drag your temporary file into your ‘Project panel’ and then into the sequence called ‘Working sequence’. Perform all edits, including motion effects such as rescaling and repositioning in that sequence.
  • Step 5: Create a new sequence whose resolution is n times larger than your ‘Working sequence’. This new sequence should be called ‘n times larger’ and it’s resolution should be Hp*n by Vp*n pixels.
  • Step 6: Open the ‘Working sequence’ again and select everything in the timeline. Copy it all over into the sequence called ‘n times larger’. At this point everything will appear n times too small, however the next step will fix that.
  • Step 7: In the project panel, replace the temporary clip with the original high resolution clip. You do this by right clicking the temporary click in the project panel and selecting ‘Replace Footage…’ from the dropdown. Because you have now replaced your footage with a clip n times larger, everything will now look just right in the sequence called ‘n times larger’.
  • Step 8: Create a sequence called ‘Export’. This sequence should have the desired resolution of your project (the same as the resolution of your ‘Working sequence’, i.e. Hp by Vp pixels.
  • Step 9: From the ‘Project panel’ drag the sequence named ‘n times larger’ into the timeline of the ‘export’ sequence. Select the ‘Export’ sequence in the timeline and go into the ‘Effects control’ panel. Open the ‘Motion effect’ and set ‘Scale’ to 100/n (this is in units of percent).
  • Step 10: Now you can export the ‘Export’ sequence with your desired settings and everything will look just right.

Good luck and happy editing!

Notes to self:

  • Freeze fames on clip in and out points only work properly if the velocity is 100%, not more.
  • Keyframes can be selected with the mouse and copied using Command + C.
  • If a clip is behind another clip the contributions of the keyframes that are covered up are ignored.
  • When setting motion to speech it is best to let the words come first and only then introduce the corresponding motion, after about 0.5s delay.
Posted in Uncategorized | Leave a comment

The bridge

Such an iconic photograph. What I find fascinating is that the photographer has found a new way of looking at an object that has been photographed a million times…

(c) National Geographic

(c) National Geographic

Posted in Uncategorized | Leave a comment

Behavioural economics

Posted in Uncategorized | Leave a comment

Some favourite articles

Below are a few of my favourite non-fiction articles. Many classics, and a few recent ones. All of them long.

David Foster Wallace

Vanity Fair

Esquire

The New Yorker (profiles)

The New Yorker (reporting)

http://www.newyorker.com/reporting/2008/04/21/080421fa_fact_paumgarten?currentPage=all

WIRED Magazine

Atlantic Magazine

Rolling Stone

Posted in Uncategorized | Leave a comment

Strut our Science: Fashion show

Location: Imperial College Business School
Date: March 2011

Posted in Uncategorized | Leave a comment

Exhibition Road Redevelopment Project

Sonja Riley
Location: Exhibition Road, London
Date: March 2011

Posted in Uncategorized | Leave a comment

Rooftop Gardens

San Francisco Museum of Modern Art / Jensen Architects

San Francisco Museum of Modern Art / Jensen Architects

Kensington Roof Gardens / Richard Branson

Kensington Roof Gardens / Richard Branson

Posted in Uncategorized | Leave a comment

Chicken Point Cabin

(c) freshome.com

(c) freshome.com

By Olson Kundig Architects, as seen on freshome.

Posted in Uncategorized | Leave a comment

Rod @ The Troubadour

Location: The Troubadour, London
Date: February 2011
Musician’s website: www.rodrigobraga.co.uk

Posted in Uncategorized | Leave a comment

Scott Schuman

Posted in Uncategorized | Leave a comment

Wall art

(c) the style files (www.style-files.com)

(c) the style files (www.style-files.com)

From the style files (www.style-fiels.com)

Posted in Uncategorized | Leave a comment

Time

Posted in Uncategorized | Leave a comment

Exponential growth

“The greatest shortcoming of the human race is our inability to understand the exponential function.” — Prof Albert Bartlett

Posted in Uncategorized | Leave a comment

Mt. Superior, Utah

Posted in Uncategorized | Leave a comment

Tanja’s photo shoot (winter selection)

Location: Imperial College, London
Date: October 2010

tn 002

tn 003

Posted in Uncategorized | Leave a comment

Cat-rigged boat Mary (1893)

(c) John S. Johnston (Mary, 1895)

(c) John S. Johnston (Mary, 1895)

Available at Galerie du Cabestan.

Posted in Uncategorized | Leave a comment
  • aeneas