In this article, we will cover how to build a simple image classification using the ml5.js library to detect whether you are wearing a mask or not. You can also re-train the model to classify the new classes (for example, whether it is a cat or dog, holding a phone or not, etc) on your demand.

TLDR; here is the demo.

Terminology

We will be mainly using ml5.js in our application. So what is ml5.js?

ml5.js

ml5.js is the machine learning library in your web browser. It is built on top of tensorflow.js in which all the heavy-lifting or low-level tasks regarding…


TLDR: Deno could replace Node in the next Decades. So come back a decade from now. Otherwise, let’s be the first!

What is Deno?

Deno is a JavaScript (and TypeScript) runtime with secure defaults. Like Node.js, it is also built on V8.

Why Deno?

  • Deno is secure by default. Unlike Node, you have to specify system access such as a file, network, environment access, etc.
  • It supports TypeScript out of the box. Thus you don’t need to install the TypeScript compiler separately.
  • And a lot more. Last but not least, it is created by the same man, Ryan Dahl, who created Node.js a decade ago…


Image Courtesy of Consumer Reports

In this article, we will cover how to build a very simple app to track the reported case of the infamous coronavirus known as COVID-19 by using plain JavaScript without any framework and the data made freely available by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University. The institution has built an awesome interactive web-based dashboard to visualize and track reported case in real-time.

In case you are a pure developer who has no idea about the new deadly coronavirus (like me and myself), give yourself a head up from the official report of World Health…


Meditation, to me, is difficult but can be achievable if we try to build it up daily. Meditation is the ability to focus on the current state, but it’s so hard to do as we are usually disrupted by our on-going thoughts that keep coming to our minds. Meditation also teaches us to breath slower and thus help to normalize and relax our heart rate, which I enjoy the most when I started to feel overwhelmed, and I believe it is good for anxiety and fear control too.

If you want to give it a try, I recommend below free…


I’m reading “Intelligence by Osho” now and trying to make the summary chapter by chapter according to my understanding. I hope it can help or relate to people who are looking for the answer for their own’s intelligence. As it is the on-going process, some ideas may not be illustrated well and there might be some wording and grammatical mistakes. Appreciate it if you could also share your opinion along the way or open to some discussion.

Chapter 1: Intelligence, what you are born with

The song from your heart

Intelligence and knowledge are two different things. Intelligence is what you are born with while you accumulate knowledge…


The Cordova team has recently launched the new Cordova Electron platform which gives Monaca users the ability to expand their smartphone application to the desktop market as a desktop application.

Note for Monaca Users: The Electron platform is now available for all plans including the Free Plan.

In this article, we will illustrate how we can build desktop applications with Monaca. If you want to find out more about Cordova Electron, we have the right blog just for you here.

Creating an Electron Application

First of all, we will create a TODO application with an already prebuilt template provided by Monaca. The best way…


Image courtesy of Workbox

In this article, we will cover how to build a simple news app as Progress Web App (PWA), configure services worker for caching strategies, and offline support using Workbox. The app will simply display a list of random news headlines using NewsAPI and will cache the content so that it can be used without the network.

Workbox is a set of libraries and Node modules that make it easy to cache assets and take full advantage of features used to build Progressive Web Apps.

In case you are new to PWA and would like to learn what is PWA and…


Hello, Git lover! The recent news about Microsoft acquiring GitHub might come as a surprise to some of us. Due to this acquisition, some people even consider to switch to a different Git services.

Fortunately, at Monaca, we support both GitHub and GitSSH integration. We have just released the new look of Monaca Cloud IDE recently and it’s packed with awesome features. Read our previous blog to get a grasp of it. And for those who haven’t tried our awesome Monaca Cloud IDE yet, please give it a try. I’m sure you will love it.

Prior to the launching of…

MPyK

Just a simple programmer

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