How to write code like a Dinosaur

I’ve been working on a personal project called Dinosaur; it’s a single-page application that presents the user with two horizontal panes- a code editor in the language of your choice and a live feed to your code being executed. Languages presently supported are: C Go Java Lua Python Rust TypeScript Initially this sounds a bit like any of the various coding games / exercises out there but I’ve chosen to add what I think is a slight variation in that all user sessions have network stack access to the same network as all other user sessions (in time I’ll probably permit this to be broken up into groups, permitting isolated group sessions). ...

September 18, 2022 · 8 min · Edward Beech

Troubleshooting a mysterious Python test failure

At my day job my colleagues and I develop a data gathering and visualisation platform that has a fair bit of Python behind the scenes. We test a lot of this Python using pytest and all our tests are run by a large locally hosted instance of TeamCity. A test run involves TeamCity executing a bash script responsible for setting up any test dependencies (usually Docker containers) and then executing the test itself (also usually a Docker container). ...

September 13, 2022 · 6 min · Edward Beech