My plan to teach my 3 year old daughter programming looks promising.

Lego parts used to teach my daughter programming

I have a 3 year old daughter. She is a challenge to raise but she always makes me proud. My time with her is very limited but since day zero I do my best in making our time together as positive as possible. I dont want to be the pressurising parent that obsesses about making a clone of theirs but I truly believe that problem solving skills can be developed from a very young age. So I did my research and came with a way to teach my daughter programming using lego bricks.

The target

Model core mathematical functions and basic algebra using lego bricks

Time period

2 years


3 year old daughter

Unlimited supply of simple lego bricks (child friendly)

Lego parts used to teach my daughter programming
Lego parts used to teach my daughter programming

The girl knows numeric representation up to 10 and she can count objects and identify basic colours and shapes.

How I started.

I sat down with her and build walls with the lego bricks. I use a variety of techniques and told her to throw them to see how the break. Eventually she could identify the strongest and would do it from scratch.

Last summer she started drawing (vaguely) shapes using pen and paper.

Today I told her to make a triangle using her legos. I left her alone and I observed from a distance. She was just making random shapes and I thought “ok maybe I m aiming too high here”

I eventually hear her shouting “triangle, triangle”. I maybe parent blind (Failing to observe the truth because I am a parent) but I am very proud of the result.

triangle using lago bricks made by a 3 year old girl
triangle using lego bricks made by a 3 year old girl

Notice the bottom layer. She made the triangle but it wouldn’t hold itself together. She could just call me at that stage but all those construction lessons paid off.

Next steps

Tomorrow I will give her two pixel bricks only and see how she handles that.

I will then follow with colour limitations and then introduce the notion of lengths of sides.

After going through all the shapes I believe we will have a substantial way of explaining a problem so that she can go ahead and try to solve it.



Submitting forms using iFrames on iOS devices

Silent but deadly

Working on I have to submit a lot of forms using iframes since almost all forms have file attachments and a lot of feedback from our application before completing the process. A weird bug was eating my brain when all forms that returned html messages in the response object suddenly stopped working on iOS devices. I used a jQuery extension which submitted the form in an iframe and I returned json encoded data from the server. The script simply wrapped the response in a <pre> tag and fetched the contents to decode and pass them back on the client side handler. All works fine unless you have some numbers in an html json property and mr Apple decides to convert them to anchor links with a tel: prefix in the href to call phones directly. A handy little feature when it works correctly. But since the double slashes are not escaped you are left with an invalid json syntax. The quick solution is to just return the data and construct the html with javascript. it is indeed more efficient but when you are developing an mvp or just testing an experiment you simply dont’t have or want to waste time on making two templates.

Startup weekend Cyprus!

Well being a recent startup pivoter….. I quit my day job and joined a start up team 2 months ago !

This weekend I participated at startup weekend Cyprus.

We thought of an idea yesterday morning and we now have an alpha version at ! We are about to do our presentation at university of Nicosia!!!