Month: February 2023

  • Tools maketh the man

    “Man is a tool-using animal. Without tools he is nothing, with tools he is all.” Thomas Carlyle Tools are a force multiplier, these tools help me extend my reach: What are your go-to tools?

    Continue reading

  • Thoughts about Logging

    Oh, I’m a lumberjack, and I’m okay, Monty Python Logging is one of the first things most programmers learn, but one of the (IMHO) most widely understood. We all know about print and its friends printf ,log etc. Or do we? What is logging? Logging is the process of capturing, recording, aggregating, alerting, reporting and…

    Continue reading

  • Screenshot capture from LVGL

    “Visualizing information can give us a very quick solution to problems. We can get clarity or the answer to a simple problem very quickly.” David McCandless Working with VLGL, the little graphics library for embedded systems, is an interesting process. Sometimes you want to capture what you see in order to use it for diagnosis,…

    Continue reading

  • Soft interfaces vs Hardware

    “When you go hard your nays become yays.” Nicki Minaj In many cases interfacing embedded devices using interfaces like I2C and SPI, there are hardware peripherals in the System-on-a-chip (SoC) which are connected to some of the IO pins, either directly or via an IO Multiplexer (IOMUX). These hardware blocks are useful because they support…

    Continue reading

  • Identifying Structs in Embedded C

    We know what we are, but know not what we may be Shakespeare Most of us are familiar with the idea of metadata tags on things. Photographs, Kubernetes resources, magic numbers on files, etc. One place I use metadata tags in the form of magic numbers is when developing embedded systems code in C. This…

    Continue reading

  • Helpful Intro to ESP32

    If I have seen further, it is by standing on the shoulders of giants. Isaac Newton Just saw this posted in the reddit/esp32 group : https://esp32io.com/ Has a nice intro to the device

    Continue reading

  • Board Support Packages (BSP)

    The most important single aspect of software development is to be clear about what you are trying to build Bjarne Stroustrup I recently made a post on reddit /esp32 about board support packages. I have reproduced a cleaned up version of that post here: Here is some hopefully useful information about how GCC and common…

    Continue reading

  • Kubernetes Configmap Scripts

     “To make a great film you need three things – the script, the script and the script.” Alfred Hitchcock There is a nice trick I use when I’m writing Kubernetes Jobs of embedding scripts in configmaps. Jobs are a Kubernetes resource type which spin up a one-shot container and run it to exit, with an…

    Continue reading

  • British Breakfast Bap

    Aragorn : Gentlemen, we do not stop ’til nightfall. Pippin : What about breakfast? Aragorn : You’ve already had it. Pippin : We’ve had one, yes. What about second breakfast? Tolkien, Lord of the Rings https://www.bbcgoodfood.com/recipes/great-british-breakfast-bap Breakfast is an important meal. The best British Breakfast Bap I have eaten was from the “bun hut” on the docks of Bristol, UK. It is required…

    Continue reading

  • Kubernetes Resource Optimization

    The key to success is twofold; know what you are doing, and do it well. Most people fail at the first step Joel Crisp (me) There has been a lot written about Kubernetes Resource Optimization. Kubernetes, at the core, is a resource aware scheduler designed to pack as many tasks (pods) onto compute resources (nodes)…

    Continue reading