Sir, do you know how fast you were going?
Nope, I didn’t buy any Dashboard Add-on, it costs seven thousands dollar extra. I rather enjoy driving without knowing how fast I am going.

Image for post
Image for post
Photo by Jonathan Cooper on Unsplash

Living in the panel-less Fantasy Land

Imagine living in a world where dashboards are not a thing.

No weather forecasts. No car accelerometers. No heartbeat monitors in the hospital.

You buy airplane tickets: when the airplane takes off, two pilots look at their own control sticks and buttons. From the glass pane, they can see the outside but otherwise have no access to any dashboard panels.

Having no immediate information feedback is daunting…


The answer may be scarier than you can imagine.

Image for post
Image for post
Photo by Massimo Botturi on Unsplash

This one server has been up since 2017

Bare-metal servers and virtual machines are wonderful things.

They are provisioned, you set them up with your favorite scripts or configuration stack. Double check that logs are forwarded, and applications are in good health, then you present the service to your team, and forget about its existence after a month.

One day, you realize that it needs to be patched and rebooted. Customers are complaining that services are running slow or timing out, and you mindlessly check the server health dashboard in Grafana.

Hmm… 5% memory available, that application should not…


Bite size Javascript Lesson you can finish in 3–5 minutes!
Missed the previous lesson on Built-in functions and Class? Go here.

Image for post
Image for post
Photo by Alvan Nee on Unsplash

Context: You need to learn JavaScript in Less than 3 Weeks for a job interview

We have all been there. I did Python and Java in college, and during the second job interview of my life, my then-boss asked me:

Can you do any frontend programming? Do you know any Javascript?

I answered honestly that I don’t know any JavaScript.

Ok, read this book and come learn on the job

Before I know it, I have been doing JavaScript for 12 years!
In today’s lesson, I will teach you about Callbacks/Fetching Data/Working with JSON.

Before Jumping In


Bite size Javascript Lesson you can finish in 3–5 minutes!
Missed the previous lesson on Data Types? Go here.

Image for post
Image for post
Photo by Robert Coelho on Unsplash

Context: You need to learn JavaScript in Less than 3 Weeks for a job interview

We have all been there. I did Python and Java in college, and during the second job interview of my life, my then-boss asked me:

Can you do any frontend programming? Do you know any Javascript?

I answered honestly that I don’t know any JavaScript.

Ok, read this book and come learn on the job

Before I know it, I have been doing JavaScript for 12 years!
In today’s lesson, I will teach you about Rolling Dices/Built-in Math Functions/Class.

Before Jumping In

Every example…


Bite size Javascript Lesson you can finish in 3–5 minutes!
Missed the previous lesson on Data Types? Go here.

Image for post
Image for post
Photo by Jess Bailey on Unsplash

Context: You need to learn JavaScript in Less than 3 Weeks for a job interview

We have all been there. I did Python and Java in college, and during the second job interview of my life, my then-boss asked me:

Can you do any frontend programming? Do you know any Javascript?

I answered honestly that I don’t know any JavaScript.

Ok, read this book and come learn on the job

Before I know it, I have been doing JavaScript for 12 years!
In today’s lesson, I will teach you about Function/For-loops/If-Else.

Before Jumping In

Every example in this article…


Bite size Javascript Lesson you can finish in 3 minutes!

Image for post
Image for post
Photo by Sharon McCutcheon on Unsplash

Context: You need to learn JavaScript in Less than 3 Weeks for a job interview

We have all been there. I did Python and Java in college, and during the second job interview of my life, my then-boss asked me:

Can you do any frontend programming? Do you know any Javascript?

I answered honestly that I don’t know any JavaScript.

Ok, read this book and come learn on the job

Before I know it, I have been doing JavaScript for 12 years!
In today’s lesson, I will teach you about Value Types.

Before Jumping In

Did you know your browser comes with a built-in JavaScript environment? Open a…


Bring your repository into the future in 5 easy steps.

Image for post
Image for post
Photo by Ian Simmonds on Unsplash

Background

Raise your hand if you have a web service written in Node running in production from 2017 and earlier untouched.

If, like me, you have more micro-services fingers on your hands, you know that some of them are long overdue for a proper upgrade. Old repository often features the following symptoms:

  • Nested Callback/Promises everywhere
  • Ambiguous function input/output types
  • Mixed formatting and spacing, no clear structure of functionality and naming convention
  • Lackluster error logging
  • Zero reporting and monitoring support

Fear not, we know exactly the remedy for each of these…


Got an API you want to monitor the trend of? You can do it really fast with the right sets of tools.

Image for post
Image for post
Photo by Guillaume Jaillet on Unsplash

Data. Is. Everywhere.

With the collective effort of the entire connected world, more and more data sets are available to the public on the net. With the right keyword, you can find all kinds of real time updates. In this article, I will show you how you can take one such data endpoint and create a Prometheus Metrics Exporter in front. But first, a few key terms:

  • Metric — A measurement of something, examples include Temperature, Mileage, Power percentage, etc.
  • Sample…


What I wish every Library author would do in the world of API Libraries.

Image for post
Image for post
Photo by Brad Barmore on Unsplash

Background

If you are building web services with Node.JS or TypeScript, chances are you have used many community-built API bindings to make 3rd Party API calls. Since these bindings are built by different teams from different backgrounds, their conventions can vary quite a bit.

Below are three things that would drastically improve the usability of an API Library for end users. Library Authors, if you care about gaining more users, please make them happen!

1. Include Type Definition

TypeScript is gaining traction and saving developers a lot of headaches in finding…


Image for post
Image for post
Photo by Chris Chan on Unsplash

tl;dr: Full example code: https://github.com/teamzerolabs/mirth_channel_exporter, read on to see step by step instructions

Background

Exporters are the heart and soul of Prometheus Monitoring Pipelines. If you run into a situation where an exporter does not exist yet, you are encouraged to write your own. We will cover the steps required to make the exporter. No worries, it is quick.

Goal

  • Write an exporter in GO.
  • Exporter will call REST API against an application (Mirth Connect in this example) when scraped.
  • Exporter will convert the result payload into Metrics.

1. Setup GO and Package Dependencies

go mod init my_first_exporter go…

Jack Yeh

I monitor your full stack deployment in production, so you can sleep at night. Docker | Kubernetes | AWS | Prometheus | Grafana

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