Calling Rust code from Python with ctypes

Background Recently I’ve been learning Rust, which is a programming language that aims to be as fast as C but absolutely memory-safe. It feels like a mix of the best features from many languages, including Python (format! vs. f-strings), Java (iter vs. stream), C (speed), C++ (references), and JavaScript (mutability?). And as I was learning, … Read more

MIT App Inventor Summer Appathon recap

This summer I participated in the MIT App Inventor Summer Appathon, which the official website described as “a marathon-like event to build apps.” As my first year in the event, I built a simple app that generates stories for children with AI power. And to my big surprise, I actually earned an Honorable Mention! In … Read more

Project Phoenix: Redesign of the House System

Preface At my school, BASIS International School Nanjing (BINJ), there is a house system. It is stolen borrowed straight from Harry Potter, but with the four houses named after the four seasons (Spring, Summer, Fall, Winter) and no giant floating automatic magical tubes. Instead, teachers hand out actual physical House Points (colored plastic chips), and … Read more

Playing videos with a TI-84+ CE

Yes, it’s weird: People were headed to the moon in 1969, and people are making video players for calculators in 2022… A quick demo to start off with: This program is open-source on GitHub: https://github.com/david-why/vplayer Usage Send bin/VPLAYER.8xp to your calculator using TI Connect CE or your favorite link software. Convert a video file with … Read more