Seminars in Zurich

During February 2017 I will deliver 4 seminars in Zurich, Switzerland. Each seminar will last 8 academic hours (0900-1700) and will take place in Hardturmstrasse 185. The participants will need to bring their own laptops. Internet connectivity will be available.

Hybrid Applications using WordPress

On Thursday June 9th 2016 I was delivering a short talk about hybrid applications using the WordPress CMS. The talk was delivered as part of the Press4Word conference that took place in Tel-Aviv, Israel. These are the slides I was using. Hybrid App using WordPress from Haim Michael

Shadow DOM in HTML5

When developing UI using HTML and JavaScript, as it happens when using jQuery libraries (and similar), the internal implementation of the widgets we draw on screen is not encapsulated from the rest of the page. This lack of encapsulation means that whenever the page CSS or the page JavaScript change it might influence our UI. […]

The Israeli Computer Science Teachers Conference 2015

On December 13th 2015 I delivered a short seminar in the Israeli Computer Science Teachers Conference 2015, in which I was sharing my experience using advanced training tools when teaching academic and professional courses in software development. You can find the slides at http://www.slideshare.net/lifemichael/advanced-training-tools. The following is the video clip I was taking on my laptop.

The window.requestIdleCallback Function in JavaScript

Calling this function we should pass over the function we want to be invoked in the background in those moments when the one and only thread is free (not busy with other tasks). <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <title>Title</title> </head> <body> <script> function doInBackground() { console.log(“doing work in background”); } if (window.requestIdleCallback) { […]

Private Attributes in Python

Python allows us to define private attributes in our class (private instance variables). Outside the scope of the class it won’t be possible to access them. In order to create private attributes we should prefix their names with two underscores (‘__’). class Rectangle: def __init__(self,w=10,h=10): self.__width = w self.__height = h def area(self): return self.__width*self.__height […]

The use warnings; Statement in Perl

Adding this statement to the begining of our code will trigger warnings for our code wherever relevant. Adding ‘use warnings Fatal => ‘all’; to our code will promote all warnings to errors and die immediately on the first warning. #!/usr/bin/perl use strict; use warnings; my %currencies = ( USD => 4.1, EURO => 4.4, GBP […]

The use strict; Statement in Perl

The Perl programming language started as a hack, as a tool that its sole purpose was to fulfill specific needs. When Perl’s popularity grew and more and more people started to use it was already too late to enforce rigid grammar rules. Adding the ‘use strict;’ statement in the beginning of the file will enforce […]

The Scala Programming Language Colloquium

On Sunday Novemebr 22th I will deliver a short seminar about the Scala programming language. The seminar will take place in HIT (www.hit.ac.il) room 424 building 8 (computer science department) at 1500. During this seminar I will overview my thoughts about using this programming language in academic courses and focus on its strengths as a […]

Binding Objects with Functions in ECMAScript 2016

The development ECMAScript 2016 has already started. One of the coming new capabilities will allow us to bind a function to specific object in order to be notified of changes that take place in that object. This capability is already supported in Google Chrome! This following code sample shows this capability in action. You can […]

Update cookies preferences