Adam Dunkels Picture

Adam Dunkels

Blog

How to Use git diff with an sqlite3 Database

If we have a git repository where there is a binary sqlite3 file, it is difficult to see what changed by only using a git diff comman...

In Programming, Jul 11, 2024

You should know: rand() may call malloc()

We discovered a weird bug deep inside our IoT platform that took us by surprise. The root cause turned out to be that the rand() func...

Read More

More Articles

How to Use git diff with an sqlite3 Database

If we have a git repository where there is a binary sqlite3 file, it is difficult to see what changed by only using a git diff command. But there is a neat git trick (learned from her...

In Programming, Jul 11, 2024

How to Build a Profitable IoT Product

The slides from my talk at the March 2024 IoT meetup in Stockholm, Sweden. I don’t think the talk was streamed or recorded.

In Ideas, Startups, IoT, Mar 30, 2024

Video: Don't Wait for the IoT Standard

My talk from the Emerging Tech Beat conference from 2020, so a few years old by now, and the sound has problems during the first few minutes, but interesting to see what has changed, ...

In Ideas, IoT, Feb 01, 2024

How to Use ChatGPT to Pitch Almost Any Idea

In a previous article we looked at a simple way to pitch almost any* idea. Today we’re looking an equally simple way to use ChatGPT to automate the process.* I have no data to support...

In Ideas, Startups, AI, May 02, 2023

A Simple Way to Pitch Ideas

Pitching ideas is hard. This makes ideas die too early – even brilliant ones. Here is a simple way to pitch ideas, which I have chosen to call “Procosoco” despite it being a somewhat ...

In Ideas, Startups, AI, May 01, 2023

Device types and their roles in the Matter smart home standard

The Matter smart home standard is an initiative supported by major players in the smart home industry, including Amazon, Apple, Google, and Samsung. The Matter standard is developed b...

In Internet of Things, Matter, Mar 21, 2023

What is the Matter smart home standard and why does it matter?

Smart homes are becoming more and more popular. However, with so many different devices and protocols available, it can be tricky make all devices in a home compatible and to work tog...

In Internet of Things, Matter, Mar 20, 2023

The sentinel toothpaste: a useful programming technique for everyday life

Here’s one programming technique that I found very useful in daily life: the sentinel value. I use it pretty much every day – to manage toothpaste.In programming, a sentinel value is ...

In Programming, Just for fun, Nov 18, 2022

You should know: rand() may call malloc()

We discovered a weird bug deep inside our IoT platform that took us by surprise. The root cause turned out to be that the rand() function called the malloc() function.Now we want to s...

In Programming, Internet of Things, Apr 07, 2022

How to run a city-wide wireless network from a drawer

How do we test a wireless network that will be deployed like this:With a test setup that looks like this:The answer: MAC-level packet filtering. With a bit of software to help us set ...

In Internet of Things, Mar 31, 2022