Luckily, COVID hasn’t struck my family and friends, and I can’t complain about the current projects. But, after 1.5 years of lockdown I do get a bit melancholic every now and then. Despite the difficult weather in Hong Kong, I miss the long morning walk from Cheung Shue Tan to Science Park, watching the banana […]
Category: Uncategorized
zenoh
Cancel the low level network stuff! It’s already very well developed and available in zenoh, the Rust zero overhead pub/sub, store/query and compute library. Next up: SLAM.
MediaPipe
Sometimes you come across something that does two things: It completely invalidates what you were super passionate about 5 minutes ago. It allows you to skip a big step forward towards the next goal. I am generally okay with 1. because that just happens, and is an integral part of learning. 2. is harder. 2. […]
async/.await IV
So I did some speedtests with a bit more evolved strategy. The current incarnation of the reliable UDP strategy: The publisher sends a bunch of N chunks, followed by a heartbeat. The subscriber responds to the heartbeat only, by either saying “I got everything up to, but not including X” or “I still need X […]
async/.await III
And then we arrive at the problem of reliable UDP. UDP is not reliable, i.e. it is not guaranteed that messages arrive at their destination, and if messages arrive, it is not guaranteed they arrive in order. This is a problem if you want to send messages that are larger than the maximum packet size […]
async/.await II
Two days. It took two days to get the basic functionality for participant discovery, publisher and subscriber initialization, as well as a considerable part of the reliable UDP transmission to work. The overall objective is to be able to start a publisher or subscriber on any device in the network, and have it distribute data […]
async/.await
Ok, so I’m exploring this reliable-UDP publish/subscribe system, but taking full advantage of the asynchronous promises (ha.. ha..) of smol, async-std or tokio. It is essentially an oversimplified re-imagining of RTPS, which is used in DDS to transmit commands in battleships. The main objectives of this project are: Entirely automatic and robust discovery. Publishers and […]
Code Duplication Code Duplication
Ever since I stumbled across a question from another blog (linked here), Why is there so much duplication in modern code? , I can’t stop thinking about this conundrum. The article gives a small example of a web app with a back-end service. Looking at the app, and at the question, I have a variety […]
Fractals
On a rainy afternoon I got a ping from Rik Arends, an old friend from back in the day. He told me that a friend of his, Julius Horsthuis, just got featured in a gallery in New York, showing his fractal journey experiences. In times of COVID, people really want to see his work, but […]
Sketchpoetic
As a matter of helping friends, I found myself doing frontend, backend and deployment of a new social media system, called Sketchpoetic. Sketchpoetic is the brainchild of Sheila Darcey. Her idea is to have users make sketches that reflect how they feel. Using an SVG-style tree/cloud, users can then explore various sketches that people have […]