Nasi Lemak & Piirakka

Life sucks, eat more

About

Developer Friendly Software

It’s ready now, you know it. You’ve spent a lot of time writing this masterpiece. Your finest work thus far. It’s time for other people on your team to know about this library / software you just made. You brace yourself for the positive feedback you’re going to get, oh fo’ sho'! “How do I use this?”, “Why did you do that?”, “Oh we already have a library for that”…

Fundamentals of UX

UX (user experience) is the answer to the question of “why” and “how”. Why should we have this feature? Why is the button red? How do I look at my settings? Why is it so slow? Most of the time we associate UX to UI (user interface). But UI is only a small part of the larger picture. The user can also be a programmer, or a customer of a physical device.

Plotly.js Charts for Dashboards

Today we’re going to look at a really powerful charting library that is really easy to use and set up. Plotly Open Source Graphing Library supports several programming languages, including Python, Matlab, R, and most importantly Javascript! I’ve had to build a few dashboards for IoT companies, and charts are definitely one of the biggest elements in the view. Need I say more about the significance of charts to business related reporting such as sales, network monitoring, stocks etc.

Docker Alpine + ExpressJS + Angular

This was for a project that I did recently that required a reporting dashboard app to be served from a docker image, and would live inside small low-powered linux devices. The app had to fulfill these criterias: It needs to be replicated quickly for many devices It needs to be small, there isn’t a lot of space It needs to be able to connect to MariaDB database in the localhost network Certain fields are configurable from a JSON database that is exposed outside the container.

Hugo 101

Hugo is an open source static site generator that is powered by Go - which makes it insanely fast to compile and run. What is a static site? Well it’s the most basic website of all, pure HTML. Hugo as a framework allows you to use templates to generate HTML files quickly. Let’s go over the pros and cons: PROS It allows for variables in the template (using Hugo’s own templating engine based on Go) Highly customizable templates and styles At its core - it’s just HTML, with batteries Fairly easy to learn Minimization comes included CONS Not popular outside the US Not non-tech friendly - there are no dashboards or WYSIWYG editors for you to make blog posts Getting Started Here are the download links: https://gohugo.