Welcome to the 2nd issue of TMPDIR Weekly, a newsletter covering Embedded Linux, IoT systems, and technology in general. Subscribe to future issues at https://tinyletter.com/tmpdir and pass it on to anyone else you think might be interested. Please send any tips or feedback to our forum or news@tmpdir.org.


Embedded Linux

Yoe Distro 2021.07 release is ready for release next week.

A major change in bitbake syntax is coming which alters the ways how overrides are specified this change would be included in 2021.08 release at least for OpenEmbedded-core layer. More details are here.

GNU C library 2.34 is out, this includes quite a few notable features, this article is a good read.

Yoe Distro has disabled llvm-pipe for x86/x86_64 qemu builds, as it is requiring target clang builds which takes a long time to build, this speeds up CI a bit.


IoT

Working on schedule conditions for rules so that we can run rules at specific times, weekdays, or dates. Dealing with time is always a little complex as you need to take into account time zones. The best way I've found is to always store time in UTC, but convert to local time in the browser before displaying and then back to UTC when saving. This gets more complex if you have a weekday or date attached because you then need to check if the time crossed a day boundary, and then adjust the day.


Other

Recently set up a Mikrotik router for my home office -- highly recommend them if you are looking for something a little more capable than the typical consumer router.

Microsoft is working on their own Linux distribution called CBL-Mariner. Having worked through the Balmer days when MS promoted a great deal of Linux/OSS FUD, this is quite something to see

Podcast review: Brian Kernighan: UNIX, C, AWK, AMPL, and Go Programming

  • Brian expresses in a humble way some of the experiences he has been through, and some of the history behind the great events in computing (UNIX, C, etc).
  • At 20:12, Brian discusses the environment of Bell Labs:
    • Bell Labs at the time was very special kind of place to work, because there were a lot of interesting people, and the environment was very, very open and free – was very cooperative environment, was a very friendly environment, so if you had an interesting problem, you’d go and talk to somebody and they might help you with the solution.
  • Around 31:24, he discusses programming – is it art or science. Some of his thoughts:
    • *art: figuring out what to do*
    • *science: how to do it well*
    • *engineering: working with constraints – not only what is a good algorithm, but what is the most appropriate algorithm given the amount of time we have to compute, the amount of time we have to program, what’s likely to happen in the future with maintenance, who’s going to pick this up in the future – all those kinds of things if you’re an engineer you get to worry about, whereas if you think of yourself as a scientist, maybe you can push those over the horizon in a way, and if you’re an artist – “what’s that?”*

Join our Discourse forum to discuss these or new topics. Listen to previous podcasts at https://tmpdir.org/.

Thanks for reading! Khem and Cliff