First post of the year, a particularly problematic area. Logging is hard in Spark: getting Spark to log, where it puts the logs, configuring the logs, reducing the verbosity… So many “classic” questions. In this, I tell you how to configure logging via a log4j.properties file in Databricks and EMR. With it, you can configure external logging aggregation services, like ElasticSearch or Graylog.
Two weeks ago I finished Guillotine, a standalone, cross-platform Electron app that lets you have a circular (or rounded square) shaped window with your webcam feed, for recording your screen in style for online presentations. It had some drawbacks, particularly it would not work in full-screen presentations because a window can’t float over a full screen.
To solve it, I wrote this one. It shares a fair bit of the code, but it creates a floating and dragable div with your camera, so you could use it in full screen for web based presentations (like Google Sheets, although you need to be a bit hacky, for self-hosted reveal.js it works wonders, there is a demo in the README).
The Chaos Game is an approximation method for IFS (iterative function systems), and this looks at the reverse problem: getting an IFS out of a particular image. Interesting to see! And wondering about some applications to stuff I used to do 🤔🤔🤔