Flask is a micro web framework which is really fun to use. With the following snippet You have a complete web app working within seconds.
from flask import Flask # 1
app = Flask(__name__) # 2
@app.route('/') # 3
return 'Hello World!'
if __name__ == '__main__':
All this snippet does is
- Importing the Flask module,
- Creating the app,
- Defining an so called endpoint and finally
- Running the web app in a container.
Flask brings its own WSGI server called “werkzeug”. Please use it just for development purposes. It is not suitable for live applications. Continue reading “Bringing AJAX to Flask – Part 1”
Care about your money because no one else will do!
Some people like bankers or insurance brokers claim to care about your money. What they really care about is how they can make as much as possible of your money their money. Continue reading “Thoughts on Personal Finance”
In 2016 I started to build up my library and got a lot of recommendations for cool books. (Thanks Timo, Michy, Jürgen, Achim)
Here is my list Continue reading “Books I will read in 2017”
To call this book a book is a bit exaggerated. It contains only 60 pages which I assume you can read in under one hour. Nevertheless if you haven’t encountered the work of Peter Drucker yet this is the place to start.
Peter Drucker is best known for his concept of “Management by Objectives”. He also coined the term “knowledge worker” and “core competency”.
Drucker elaborates on three major questions:
- What are my strengths?
- How do I perform?
- What are my values?
These are the basic questions to ask yourself to answer the bigger questions:
- Where do I belong?
- What can I contribute?
The rest of the book ponders on developing relationships and a second career for later in life.
The bottom line
I will stop writing so my review won’t be longer than the book itself. Managing yourself is a big factor in personal success. If you don’t manage yourself how can you manage others? As I already mentioned this one is a good entry into the works of Peter Drucker. It’s also perfect as a gift, so buy a bunch of them.
About the Author
Chad Fowler is best know for being CTO of 6Wunderkinder after its exit to Microsoft. Before he was Senior Vice President of Technology at LivingSocial.
Fun fact: the first edition of this book was titled “My Job Went to India: 52 Ways To Save Your Job” but Fowler found this title misleading: instead of improving from mediocrity to keep your job we wants You to focus on becoming exceptional and staying ahead of the pack. Continue reading “Review “The Passionate Programmer””
After I had updated my WordPress installation I accidentally found the WordPress app for iOS. And it is great for two things: uploading your smartphone photos into an article and writing sketches on the go. If you get along well with the smartphone keyboard you can even write complete articles with this app. Continue reading “Review WordPress App”
From time to time You need to take photos of documents, whiteboards or business cards. Microsoft Office Lens speeds up the process by enhancing the image in an automatic fashion.
Recommended by my colleague Jens Dittmar this little helper improved my workday a lot. Let’s see it in action first: Continue reading “Microsoft Office Lens”
I think I first came across the Peter Principle in the context of The Dilbert Principle.
Where Scott Adams states in a satirical fashion that “leadership is nature’s way of removing morons from the productive flow”, Peter and Hull just say that everybody in a big enough hierarchy always gets promoted to a position where he no longer can succeed and so reaches his personal level of incompetence.
Pretty shocking, huh? Continue reading “The Peter Principle by Laurence J. Peter and Raymond Hull”
Christmas is over, so we get rid of the Christmas Tree.
Today I want to show You another Code Kata: Roman Numerals. The task seems to be quite easy. Write a program which converts a decimal number into a string which contains the equivalent as a roman literal. E.g. convert 1984 into MCMLXXXIV.
We just use the characters from I to M.
We first write a simple conversion function which ignores the abbreviation syntax, so instead of IX for 9 we write VIIII. To do so we use integer division and modulo operation. We start with the highest number and work our way down. Have a look: Continue reading “Code Kata: Roman Numeral – Part 1”
I made a list of technologies I’m going to learn – or at least get an overview of – in 2017. I’ve already started to look into Rust and also did some web tech tutorials on codecademy. Because I read “4 Reasons Why You Shouldn’t Learn to Code from Codecademy” I will not leave it there but am going to introduce one or more of the following technologies into some actual projects at work. Continue reading “New Year’s Resolutions & Technology Learning Roadmap 2017”