(mostly collected over the last 3-4 streams)
This file contains hidden or 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
#!/usr/bin/env python | |
import random | |
import webbrowser | |
import argparse | |
urls = { | |
"keybr": "http://keybr.com/", | |
"pocket": "https://getpocket.com/random", | |
"worldindata": "https://ourworldindata.org/", |
This file contains hidden or 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
""" | |
Russian fighter program | |
Day 1 5, 4, 3, 2, 1 | |
Day 2 5, 4, 3, 2, 2 | |
Day 3 5, 4, 3, 3, 2 | |
Day 4 5, 4, 4, 3, 2 | |
Day 5 5, 5, 4, 3, 2 | |
Day 6 Off | |
Day 7 6, 5, 4, 3, 2 |
This file contains hidden or 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
counter = {} | |
for word in words: | |
counter[word] = counter.get(word, 0) + 1 # we basically count the words in the dict e.g. {'mickey': 1, 'alex': 2, 'anna': 2} | |
freq = list(counter.keys()) # we set up a list e.g. freq = ['mickey', 'alex', 'anna'] | |
freq.sort(key = lambda x : (-counter[x], x)) # the intention here is to sort by frequency in descending oder 2,1,0... | |
# .sort (https://docs.python.org/3.3/library/stdtypes.html#list.sort) | |
# Sort the freq list in place | |
# takes a key-word argument called 'key' to be used for a comparison function | |
# lambda (https://docs.python.org/3/reference/expressions.html#lambda) |
It all started with Paypal, which resulted in innovation in the consumer payments space. We now have Stripe, SagePay, iZettle, WorldPay, Yapstone, Datacash, Elavon, Braintree, Square.
B2B are stuck in a quagmire for ages. You buy your coffee from Starbuck which is probably a franchise so they buy their coffe beans from a supplier. There 350 billion non-cash payments every year. Thats a big number! B2B constitutes about 10% of them by number but 60% of the value! If you look at banks and payment providers, around 80-90% of the profits are in B2B payments.
-
Recommendation Martin Shkreli Finance Lesson
-
Book: White Noise by Don DeLillo
-
Nietzsche, Kirkegard, Kafka are accessible reading material
-
David Foster Wallace
- Post-Modernism is irony, cynicism, deprication, seen in Fight Club
This file contains hidden or 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
Work philosophy | |
- Make time for yourself, friends and family - you will need to rest, it’s very important, it will help you reflect and prioritise. Your friends and family will energise you, they need to, they will be with you long after you’ve moved on from your job. Parents won’t be around forever! | |
- Direct your energy - people like to say “focus”. I prefer the visuals of a tennis player serving a ball at 100miles an hour. They need it to land in a particular spot. They also need to conserve their energy on the court for those bigger, game defining moments | |
- Ask for forgiveness not for permission | |
- Do things that no one else likes to do - many people after a bit of time at a job will start becoming complacent, they will loose the energy to innovate. Fix things that others are too scare or lazy to do. There is no job that’s beneath you, if there’s a security audit and someone needs to fill in a risk assessment, you do it, manually at first, document your steps automate when you can. Innovate anywhere | |
- P |
OlderNewer