Inefficient jQuery Selectors

My PyCharm IDE warns me if I use inefficient jQuery selectors: As I am a bit nosy I wanted to know “how” inefficient these selectors are. So I compared the inefficient $(“#items tbody”); with the optimized $(“#items”).find(“tbody”); Here is the test code: window.onload = function () { test(“unoptimized”, function () { for(var i = 0;…

Bringing AJAX to Flask

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 def hello_world(): return ‘Hello World!’ if __name__ == ‘__main__’: app.run() #4 All this snippet does is…

Review “Managing Oneself” by Peter Drucker

Calling 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. The Author Peter Drucker is best known for his concept of “Management by Objectives”…

My reading habits over the years

As a child and teenager I read a lot, mostly fictional books. I often went to the library and got lots of books as a birthday or Christmas present. Astrid Lindgren Tonke Dragt Wolfgang Hohlbein On of my favorite authors at that time was Ken Follet. I read through the 1000+ pages of the Pillars…

Review “The Passionate Programmer”

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. The Book Fun fact: the first edition of this book was titled “My Job Went to India: 52 Ways To Save Your Job” Fowler found this title…

Review WordPress App

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 Multiples Sites…