- Dr Steven Shorrock
- Can we move on from this idea?
- Psychologist, why talk on human error
- Your systems are highly business critical, and increasingly safety critical
- Studied human error for 6 years for PhD and after
- Came to conlusion he doesn't know what human error anymore
- Someone did something they weren't supposed to do according to someone else.
- 80% of plane crashs, 90% of road accidents, 70% of data breachs
- People can hold 7 +- 2 items
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: Boxstarter Script | |
# Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Twin definitions of µServices. adrianco's and James Lewis's | |
* Monoliths might be faster to develop and deploy. Get business model verified, then worry about the architecture. | |
## Lust | |
* Suggesting that lust is about developers wanting one of every new tech, and therefore going to microservices because it's new and shiney. Referencing the Mckinley blog post about choosing boring technology. | |
* Turn up to organisations and ask why are you using tech X, dont know is often the asnwer | |
* | |
## Gluttony | |
* Lots of different protocols, message queues etc. |
Keynote
10 years ago, python was still an esoteric language - paul graham's python paradox, the best language to learn is one that you don't want to learn for a job, but for the enjoyment of it. Today python is one of the biggest langauges.
CTO magazine says Python is a solid enterprise choice.
Increasingly popular is various places, animation pipelines, etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
baseUrl="http://content.guardianapis.com/search?tag=tone%2Freviews§ion=technology&format=json&show-fields=starRating" | |
pagef="&page=%d" | |
for i in range(200): | |
j = json.loads(''.join(urllib2.urlopen(baseUrl+pagef % (i+1)).readlines())) | |
reviews = [(item['id'],item['fields'].get('starRating')) for item in j['response']['results'] if item['fields'].get('starRating')] | |
for id,rating in reviews: | |
d[rating] = d.get(rating, []) + [id] | |
sorted([(k, len(v)) for k,v in d.items()]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(i <- 1 to 10) { | |
if (isSocketOpen) return | |
Thread.sleep(duration/10) | |
} | |
sys.error("Timed out") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val optContacts = person.expand[BasicDBList]("contacts.pending") | |
for { | |
contacts <- optContacts; | |
contact <- contacts | |
if contact.isInstanceOf[DBObject] | |
pendingContact = contact.asInstanceOf[DBObject] | |
if pendingContact.expand[String]("contactId").get == contactId | |
} { | |
// Do stuff on contact and update mongo | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Set Defaults | |
requests=${requests:=10} | |
threads=${threads:=1} | |
url=${url:=http://testserver/} | |
while getopts "r:t:u:h" Option | |
do | |
case $Option in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gnm60091 test_runs/page…oser :+)% git branch --set-upstream master origin/master | |
Branch master set up to track remote branch master from origin. | |
(gnm60091 test_runs/page…oser :+)% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for fname in *; | |
do | |
mv $fname $(echo $fname | sed -e 's/%2F/\//g' -e 's/.*\///'); | |
done |
NewerOlder