Royal Societies Inspiring Scientists

The Royal Society put together some student resources on Inspiring British scientists with minority ethnic heritage. My Supervisor Harry Bhadeshia is twice as inspiring as the rest, as you can see from the Royal Societies Tweet:

Royal Soc Inspiring Scientists

Royal Soc Inspiring Scientists

Link to resources

Superbainite on stage at Apollo theatre

img_20161015_211056

Among the Yamabushi (Narrow Road Part 4)

Victoria Vardley on Matsuo Bashō, with some beautiful sketches.

Tsundoku bookcase

Back on the road with Bashō and his straw sandals…

One of the high points of his journey, figuratively as well as literally, was his pilgrimage to the 出羽三山(でわさんざん) Dewa Sanzan, three mountains of Dewa Province, which is a very sacred place in Shintō and Buddhism and in the 修験道(しゅげんどう) Shugendō mountain ascetic sect. This is a syncretic religion combining elements of Shintō and Buddhism, Taoism and other beliefs. Practitioners are known as 修験者(しゅげんじゃ) Shugenja or 山伏(やまぶし) Yamabushi (someone who prostrates himself in the mountains – the ‘bushi’ here is not the same as the word ‘bushi’ 武士(ぶし) meaning ‘warrior’). They go on foot through the mountains practising austerities, for example meditating while standing under ice-cold waterfalls – perhaps familiar to anyone who has read Mishima’s Sea of Fertility tetralogy? (Here is an interview with a Shugendō practitioner explaining some of the practices and the philosophy behind them.)

The three…

View original post 690 more words

Compiling Fortran

Mixing of Fortran types occurs, and often results in problems when mixing free-form Fortran with older styles of Fortran, and when using different compilers.

As pointed out at Geek Tricks.

In Fortran 90/95, a “&” at the end of a line, or in the front of a line, is treated as line continuation sign. But in Fortran 77, it has to be a character at the sixth column. In the code I get, most “&”‘s comply to the Fortran 77 format, but some are not. So I move all “&”‘s to the sixth column, and now the code compile with gfortran.

If you want to replace lots ampersands from the ‘first column’ to the ‘sixth column’ on a lot of lines you could use ‘sed’ string editor to do that.

sed 's/^&/ &/g' input.f > output.f

You also need to check for lines which are too long in your input.

Many errors can be suppressed for now, with command such as gfortran -std=legacy output.f -o justwork

Python-Pen-Pineapple-apple-Pen

# -*- coding: utf-8 -*-
"""
Program to print pineapple pen apple pen, playing with strings and lists.
@author: mathew
"""

print("PPAP Program")

p = 'pen'
a = 'apple'

P = 'pineapple'

if 'pen' in p and 'apple' in a:
ap = [a, p]

if 'pen' in p and 'pineapple' in P:
pP = [p, P]

print(ap)
print(reversed(pP))

PPAP = (pP, ap,)

print(PPAP)

print(p)
print(a)
print(a,p)

print(p)
print(P)
print(P,p)

print(p,P,a,p)

print(a,p)
print(p,P)

print(p,P,a,p)

for string in reversed(ap):
print(string)

for string in Pp:
print(string)

for string in reversed(ap):
print(string, end='')

for string in Pp:
print(string, end='')

Thanks to Kelsey Ellison for introducing me to this earworm.

ペンパイナッポーアッポーペン

Pentaquark and quintuplet discovered

The SuperWASP project announced at the UK National Astronomy meeting held in July 2015 Llandudno, that they found a star system involving five stars, 2 binary stars and a lone star.

In the same week it was announced that a pantaquark had been measured at CERN.

Possible Pentaquark

A diagram of the P+
c type pentaquark possibly discovered in July 2015, showing the flavours of each quark and one possible colour configuration. Image from Wikipedia

Police Robots in US

Bomb disposal robot in NY appears unharmed after accidentally causing an explosion while disarming a hoard of bombs discovered in a bag.

Watch As This Police Robot Accidentally Blows Up NYC Bomber’s Explosive [VIDEO]

Micah Johnson was killed by a bomb disposal robot after 5 police were shot.
http://spectrum.ieee.org/automaton/robotics/military-robots/should-the-police-have-robot-suicidebombers
http://www.telegraph.co.uk/news/2016/07/08/dallas-shooting-who-is-micah-johnson/
http://www.popsci.com/police-used-bomb-disposal-robot-to-kill-dallas-shooting-suspect

And finally one plucky robot used a pizza to resolve a situation with an apparently suicide man armed with a knife.
http://spectrum.ieee.org/view-from-the-valley/robotics/military-robots/robocop-delivers-pizza-prevents-suicide