Initially I had the idea of using this as a teaching tool for python. Students would be able to use a list of abstracted python functions to draw to a canvas in the browser. I knew this would not be easy, but it would be educational for me as well. This project arose from the constraint of working with a very basic python install that only included the standard library. I realised that javascript did not support raw tcp socket communication, and that the python standard library did not support websockets. What to do? I guess I'll just write my own websockets... And thus I implemended websockets in python... In an easily usable form as a library because... I was not done yet. The next step was of course to tell the browser to draw shapes. This was not too difficult, I just send binary data from the python code to the javascript code, which then interprets it and draws shapes with it. Sadly I never polished this project as I have not had a use for it.
Above all, I love learning
I am fascinated with understanding how the world works and solving problems.
This drives my love of math and programming, as well as the outdoors and sports.
Analyzing problems, capturing them in algorithms, and optimising them:
The last step is my favourite.
In my free time, I can often be found programming, or playing complex
optimisation games
Factorio and
Satisfactory.
I am also an avid Rock Climber and Hiker, recently having summitted
Mount Rinjani
and trekked to
Everest Base Camp.
Earlier this year, I took up Scuba Diving, which I find just as fascinating.
Having lived in 5 different countries provides me with
a broad perspective of life and other cultures.
Talking to the browser using python.
Imagine if you could call a function in python, and have it draw to a javascript canvas.
Github
*** Work in progress ***
I really like scripting, both in bash an python as it is really easy on linux.
Sadly, I don't like the way python interacts with the command line. It feels
like too much boilerplate. Furthermore, I don't want to worry about my scripts
using precious cpu time and harming my battery life. This will be the solution
to that: A simple scripting language that transpiles to C.
Nothing here yet
Developed by me with a little help from my good friend Ansel Lee.
Vanilla HTML/CSS/JS, with the intention of creating a website that
still works (mostly) even without javascript enabled.
Smooth scrolling is still not supported on most browsers so I reimplemented it in javascript.
Snow by alphardex
Shared Repo
Boolean operations were being taught in computing. I wanted a less manual way to generate truth tables. Thus I implemented a tiny library in python capable of taking in a boolean statement and evaluating it.
Github
This was a simple project just to learn about sockets, it simply allows for communication between two computers using sockets. I also learnt how to use multiple threads and mutex locks. Should have used select.
Github