My first iPhone App

After carrying around my iPhone 6 for two and a half years I finally wanted to know how to build an iOS app. Getting started I used this tutorial from apple and rolled with the punches: Installing XCode takes ages!  Download 4,6 GB 🙁 First issue: when accidentally making the wrong connection between a UI-Element…

Future Mobility Days 2017

After I visited my first barcamp (#SWEC16) in 2016 I wanted to participate in my first hackathon in 2017. I stumpled upon the Future Mobility Days #FMDNUE in Nuremberg, which offerd a bar camp, a design thinking jam and a hackathon all at once at on place within 36 hours. All in all for 99€…

Short Rewiew t3n magazine Q2-2017

Being sick at home can become quite boring after a couple of days so I was happy today as I opened the mail box: (Yes, the physical one?) the new t3n magazine! Yeah! Nice cover! First of all I remove all advertising garbage by shaking the magazine, but lo and behold, there are some nice…

Are You ready? / jQuery struggle

$(function() { console.log( “ready!” ); }); is the short form for: $( document ).ready(function() { console.log( “ready!” ); }); Very unintuitive, this does not work: $(“input#myInput”).bind(“change”, function(){ }); Instead of “change” You have to use “input” $(“input#myInput”).bind(“input”, function(){ });

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…