Crafty, Geometry Joys, Good Reads, Logic, Murderous Maths, Simon teaching, Simon's sketch book

Attractiveness vs. Personality

Debunking the stereotype that all attractive guys/girls are mean, something Simon has learned from MajorPrep and the How Not to Be Wrong book by Jordan Ellenberg. The slope in dark blue pen shows our scope of attention, a pretty narrow part of the actually diverse field of choices.
art, Crafty, Geometry Joys, Math and Computer Science Everywhere, Math Riddles, Murderous Maths, Notes on everyday life, Simon makes gamez, Simon teaching, Simon's sketch book, Together with sis

Math puzzles: Is it Possible?

Simon has been fascinated by these possible-impossible puzzles (that he picked up from the MajorPrep channel) for a couple of days. He prepared many paper visuals so that Dad and I could try solving them. This morning he produced this beautiful piece of design:

Simon showing one of the puzzles to another parent while waiting for Neva during her hockey training
Simon’s original drawing of the doors puzzle. The solution of the puzzle is based on graph theory and the Eulerian trail rule that the number of nodes with an odd degree should be either 0 or 2 to be able to draw a shape without lifting your pencil. The number of rooms with an odd number of doors in the puzzle is 4 (including the space surrounding the rectangle), that’s why it’s impossible to close all the doors by walking though each of them only once.
Simon explaining odd degree nodes
Computer Science, Crafty, Electronics, Engineering, Good Reads, Milestones, Simon's sketch book

Simon trying to build a 8-bit computer in circuit simulators

As some of you may know, Simon is working on building a real-life 8-bit computer from scratch, guided by Ben Eater’s tutorials (it’s a huge project that may takes months). He has also been enchanted by the idea to build the computer in a simulator as well, researching all virtual environments possible. The best simulator Simon has tried so far has been Circuitverse.org, although he did stumble upon a stack overflow error once, approximately half-way through (maybe the memory wasn’t big enough for such an elaborate circuit, Simon said). You can view Simon’s projects on Circuitverse here: https://circuitverse.org/users/7241

Link to the project that ended up having a stack overflow: https://circuitverse.org/users/7241/projects/21712

And here is a link to Simon’s new and more successful attempt to put together a SAP-1 (simple as possible) processor (work in progress), something he has been reading about in his new favourite book, the Digital Computer Electronics eBook (third edition): https://circuitverse.org/users/7241/projects/22541

https://circuitverse.org/users/7241/projects/21712
the register
the RAM
https://circuitverse.org/users/7241/projects/22541

Simon has also tried building an 8-bit computer in Simulator.io, but it was really difficult and time consuming:

Version in simulator.io

The next hopeful candidate was the Virtual Breadboard desktop app for pc. Simon downloaded it about ten times from the Microsoft store but it somehow never arrived, most probably because our Windows version was slightly outdated but who knows.

And finally, Simon has also discovered Fritzing.org, an environment for creating your own pcbs with a real-life look. He may attempt actually making a hardcopy SAP-1 via Fritzing after he’s done with the Ben Eater project. Conclusion: sticking with Circuitverse for the time being.

Computer Science, Crafty, Logic, Math and Computer Science Everywhere, Murderous Maths, Simon teaching, Simon's sketch book, Together with sis

The Diffe-Hellman key exchange algorithm

This is Simon explaining Diffe-Hellman key exchange (also called DiffeHellman protocol). He first explained the algorithm mixing watercolours (a color representing a key/ number) and then mathematically. The algorithm allows two parties (marked “you” and “your friend” in Simon’s diagram) with no prior knowledge of each other to establish a shared secret key over an insecure channel (a public area or an “eavesdropper”). This key can then be used to encrypt subsequent communications using a symmetric keycipher. Simon calls it “a neat algorithm”). Later the same night, he also gave me a lecture on a similar but more complicated algorithm called the RSA. Simon first learned about this on Computerphile and then also saw a video about the topic on MajorPrep. And here is another MajorPrep video on modular arithmetic.

originally there are two private keys (a and b) and one public key g
Neva helping Simon to mix the colors representing each key
Mixing g and b to create the public key for b
Mixing the public and the private keys to create a unique shared key
Done!Both a and b have a unique shared key (purplish)
Simon now expressed the same in mathematical formulas
Simon explained that the ≡ symbol (three stripes) means congruence in its modular arithmetic meaning (if a and b are congruent modulo n, they have no difference in modular arithmetic under modulo n)
Computer Science, Crafty, Electricity, Electronics, Engineering, Logic, Milestones, motor skills, Simon teaching

Simon building an 8-bit Computer from scratch. Parts 1 & 2.

Parts 1 and 2 in Simon’s new series showing him attempting to build an 8-bit computer from scratch, using the materials from Ben Eater’s Complete 8-bit breadboard computer kit bundle.

Simon is learning this from Ben Eater’s playlist about how to build an 8-bit computer.

In Part 1, Simon builds the clock for the computer
In Part 2, Simon builds the A register (more registers to follow).
these little black things are an inverter (6 in one pack), AND gate and OR gate (4 AND and OR gates in one pack)
this schematic represents the clock of the future 8-bit computer
Simon and Neva thought the register with its LED lights resembled a birthday cake
Crafty, Geometry Joys, Math Tricks, Murderous Maths, Simon teaching, Simon's sketch book

Inscribed angle theorem

“It reveals itself once you complete the rectangle to find the centre. Because, of course, the diagonal passes through the centre once you inscribe a rectangle inside the circle, because of the symmetry”.
Tiling the quadrilaterals Simon has crafted applying the inscribed angle theorem.
Tiling the “shapes generated by the inscribed angle theorem”
“The theorem says that if you have a circle and just three random points on it, then you draw a path between te first point to the second, to the centre, to the third point and back to the first point”.
art, Coding, Crafty, JavaScript, Simon's Own Code, Together with sis

Slitscan and Edge Detection in p5.js

Simon writes:

Made a cool #slitscan effect you all can play with: https://editor.p5js.org/simontiger/full/Xr8F_KmnU

Code here: https://editor.p5js.org/simontiger/sketches/Xr8F_KmnU

I have actually figured out the appropriate way to move the image of the webcam such that the resulting trail produces a slitscan!

Simon writes: (The second pic is also me, doing sit-ups :))
Simon’s sister playing with the slitscan effect
Simon has also created a nice edge detection effect, allowing for video images to look like they were traced in pencil
Crafty, Geometry Joys, motor skills, Murderous Maths, Simon teaching, Simon's sketch book

A Square Triangle?

Simon explains what Gaussian formula is to check a shape’s curvature and shows how to make a triangle with three 90° angles. Or is it a square, since it’s a shape with all sides equal and all angles at 90°? He also says a few words about the curvature of the Universe we live in.

Almost everything he shares in this video Simon has learned from Cliff Stoll on Numberphile:
https://www.youtube.com/watch?v=n7GYYerlQWs
https://www.youtube.com/watch?v=gi-TBlh44gY