Our last article (Part I), showed how to run object detection in a WebAssembly runtime called WasmEdge. This Part II article is going to show you how to decode the TensorFlow Lite model’s outputs.

I found a nice Single Shot Detector (SSD) which has the outputs fragmented up into different sections i.e. bounding box coordinates, categories of objects detected, scores of the objects detected and so forth. This is perfect for demonstrating how to interpret TensorFlow Lite outputs. It is a little different than the last article; this time we are detecting food objects.

Let’s get started!

Looking at this…


This article will demonstrate how to run machine learned models using the edge computing paradigm. Specifically, how to run TensorFlow Lite YOLOv4 model on a WebAssembly (Wasm) run time, called WasmEdge.

WasmEdge is a Cloud Native Computing Foundation(CNCF) Sandbox project.

WebAssembly (Wasm)

WebAssembly, first announced by the W3C in 2015, is an effort to produce a standard high-performance machine-independent bytecode that is also safe. For example, from a memory perspective, Wasm only exposes three distinct isolated memory regions; the stack, global variables, and a linear memory region. By design, these regions must be accessed with different type-safe instructions. This makes it easy…


Compound’s Gateway is an interest-bearing stable-coin bridge between compatible DeFi blockchains [1]. Amongst many other things, Compound’s Gateway allows you to upload an asset of your choosing (as collateral) and then borrow a different asset (against your collateral). More on on borrowing below, please read on 😊

Compound’s Gateway is built on Substrate; a modular framework that enables you to create purpose-built blockchains by composing custom or pre-built components [2].

https://www.parity.io/substrate/

As highlighted by Compound Finance … “We chose Substrate so that we could focus on building application code, instead of inventing consensus algorithms; it’s a modern framework built on a…


TL;DR click_here :)

Translating a menu (to 15 different languages)

This article shows you how to translate a menu without any need to download an app. This optical character recognition (OCR) & language translation technology, of course, has much broader usage scenarios. However, sometimes it is good to focus on a niche use case in order to reach a specific target audience.

A recent article of mine mentioned that web application building is moving away from the traditional onerous process of (the application developer) needing to run servers.

Instead the JAMStack architecture now allows us to build sophisticated web applications using just Javascript, APIs and Markup.

Another…


This article is a continuation of a previous article called “An invitation to JAMStack web-app architecture”. In that previous article we discovered how easy it is to create Javascript, to access API endpoints, and then display the results of those endpoints via Markup (JAM).

We now know that there are many free-to-access API endpoints which will provide raw data (such as the Solar System Open Data API, which we introduced in the previous article).

In addition to accessing free data, we can now also write custom functions and execute these custom functions as APIs. This Function as a Service (FaaS)


What is JAMStack?

JAMstack is a new approach to building websites and web applications (Utomo, 2020). The Stack, part, in JAMStack refers to the fact that we are talking about many separate layers of technology, which when combined are able to deliver a complete web site or web application.

The JAM, in the JAMStack architecture refers to client-side JavaScript, reusable APIs, and Markup (Hoang, 2020).

Why is JAMStack awesome?

From a stack comparison standpoint, another common & well-known stack, for delivering Web sites and web applications, is the LAMP stack.

LAMP, circa 1998, is a combination of Linux, PHP, MySQL and Linux.

LAMP overview

K7.india at English Wikipedia, CC BY 3.0 <https://creativecommons.org/licenses/by/3.0>, via Wikimedia Commons

As you can see from…


This article is inspired by a Rust programming video [1] featuring David McKay [2] and Jane Lusby [3]. The aforementioned video demonstrates how to create an anagram finder, natively in Rust.

This anagram finder interests me greatly because I have been searching for a use case (potential scenario) where a remote client-side user (the caller who needs the anagram challenge solved) can submit only a tiny amount of data (some random letters) and let a server-side Function as a Service(FaaS) do everything else.

For example, the anagram finder (FaaS) would be responsible for:

  • fetching (or storing) a huge word list,


This is a follow up article. The previous article “An easy way to boost your client-side Javascript using WebAssembly(Wasm)” demonstrated that client-side Javascript can take advantage of Function as a Service(FaaS) technology in order to perform tasks which are not built into the Javascript client-side scripting language.

The previous article used a naive algorithm (written in client-side Javascript) to benchmark how calling a FaaS (processing bytes on a server-side WebAssembly (Wasm) Virtual Machine(VM) via HTTP request/response) would compare to processing locally on the client. The original results were as follows.

The original results showed that the Wasm VM was able…


It is well known that “WebAssembly is not here to kill JavaScript” [1]. We use Javascript as an integral part of the Web, and it is here to stay. In saying that, Wasm is growing fast, in terms of both popularity and also usage. Why? Because it offers key features such as safety and performance. In reality Javascript and Wasm mesh together nicely to benefit users of the Web.

Chris Williams, Public domain, via Wikimedia Commons


This article shows you how to implement cutting-edge information technology (IT) services without any of the traditional costs associated with server-side infrastructure. How? By implementing Function as a Service (FaaS) technology.

Image by Elias Sch. Pixabay

Advantages of Function as a Service (FaaS) technology

When we refer to costs, we are not only talking about the costs of physically running and maintaining on-premises (in-house) server infrastructure. These costs are huge, granted! FaaS technologies also help reduce loss of revenue as agile competitors (like startups) attempt to displace traditional businesses (which have slower and less agile IT infrastructure).

Lean startups move along two intertwined paths a) modifying and adapting their value proposition to changing…

Timothy McCallum

Researcher and Open Source Core Developer at secondstate.io — Book contributions Mastering Ethereum, Building Blockchain Apps — Mentor Google Summer of Code…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store