Our blog focuses on sharing our experience and knowledge across a wide range of technologies and industries including hardware and software design, audio, video, internet of things, mobile application and signal processing technologies.

Cardinal Peak logo placeholder

RAII in C

In my last post, I talked about resource management, and how RAII, Resource Acquisition is Initialization, is important in C++ because of the guarantees it provides. In this post, I’ll show how we can make the same guarantees in C. In C++, RAII provides a solution to resource management and the issues arising with exceptions.…

Read more
Howdy Pierce

Banksy Had Inside Help

Today’s discussion at Cardinal Peak involved Banksy’s latest stunt. In case you missed the news, a print of one of Banksy’s most famous street murals, “Girl With Balloon”, appeared to destroy itself only seconds after it was auctioned by Sotheby’s for a record sum of $1.4M. Shortly after the destruction, Banksy posted an Instagram video…

Read more

RAII Introduction

RAII, or Resource Acquisition is Initialization, is a programming idiom that originally came out of the C++ community. However, it’s a powerful approach that can be used in many languages, including old-fashioned C. In this blog post, I’ll introduce the RAII concept and examine the guarantees it provides in C++. A subsequent post will demonstrate…

Read more
Howdy Pierce

IoT Temperature Monitoring

Cardinal Peak just completed the initial phase of an interesting IoT project that was slightly afield for us. Six months ago, a volunteer for the Emergency Family Assistance Association, a food bank in Boulder, asked me to develop a solution to track temperatures inside freezers and refrigerators. Embarrassingly, we haven’t done much pro bono work—and…

Read more