Simon’s first set of Web Development How To’s: How to make a slideshow

Simon has recorded his first set of web development tutorials, about how to create a slideshow. The original code comes from the website.




Simon got stuck in the previous video, but debugged his code in #1.5:

Update: Simon has recorded the last how to in this Slideshow series, about hoe to make the slideshow automatic:

Simon gets serious with Linear Regression (Machine Learning)

Simon has been working on a very complicated topic for the past couple of days: Linear Regression. In essence, it is the math behind machine learning.

Simon was watching Daniel Shiffman’s tutorials on Linear Regression that form session 3 of his Spring 2017 ITP “Intelligence and Learning” course (ITP stands for Interactive Telecommunications Program and is a graduate programme at NYU’s Tisch School of the Arts).

Daniel Shiffman’s current weekly live streams are also largely devoted to neural networks, so in a way, Simon has been preoccupied with related stuff for weeks now. This time around, however, he decided to make his own versions of Daniel Shiffman’s lectures (a whole Linear Regression playlist), has been busy with in-camera editing, and has written a resume of one of the Linear Regression tutorials (he actually sat there transcribing what Daniel said) in the form of an interactive webpage! This Linear Regression webpage is online at: and the Gragient Descent addendum Simon made later is at: and

And here come the videos from Simon’s Liner Regression playlist, the first one being an older video you may have already seen:

Here Simon shows his interactive Linear Regression webpage:

A lecture of Anscombe’s Quartet (something from statistics):

Then comes a lecture on Scatter Plot and Residual Plot, as well as combining Residual Plot with Anscombe’s Quartet, based upon video 3.3 of Intelligence and Learning. Simon made a mistake graphing he residual plot but corrected himself in an addendum (end of the video):

Polynomial Regression:

And finally, Linear Regression with Gradient Descent algorithm and how the learning works. Based upon Daniel Shiffman’s tutorial 3.4 on Intelligence and Learning:





Simon has yet a new craze: PHP. Here he explains what this language is about. This video is made yesterday, on the first day he started learning about PHP:

The same day outside, Simon explaining to me how to insert a PHP document in an HTML one:


Variables in PHP are introduced using a dollar sign:


Tonight Simon was crying very hard and I had to rock him on my lap to ease down the pain: he couldn’t find any tutorial or any other kind of explanation on the internet about how to make the web browser interpret his PHP file as a PHP file instead of literally displaying the file, like it does now (he used Sublime Text as his text editor):


Doesn’t Work

Written a lot of code today. Unfortunately, a project from LearnWebCode didn’t work out with the new text editor, Sublime Text:



The info about the animals didn’t appear on the webpage after clicking on the button. Simon completed the same project in another editor, the online, last week and then it did work. There has been a lot of frustration about trying out the new text editors lately.