Ngô Tuấn Long

35 Flips | 8 Magazines | 1 Like | 13 Followers | @drgorient | Keep up with Ngô Tuấn Long on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Ngô Tuấn Long”

Kubernetes cluster step-by-step: Nodes System Setup

The purpose of this exercise is to create local Kubernetes cluster for testing deployments. It will be deployed on 3 x VMs (Debian Jessie 8.8) nodes …

DevOps

What’s the most developer-friendly React animation library?

React simplifies the conceptual model of a UI by making it a function of state, but introducing animation complicates things by adding time as a …

JavaScript

Redis Pub/Sub: Intro Guide

Publish/Subscribe (or <b>pub/sub</b>) is a software engineering pattern that has been used for decades but often required dedicated messaging servers and …

Software Development

Handling 1 Million Requests per Minute with Go

Jul 6, 2015<p>Here at Malwarebytes we are experiencing phenomenal growth, and since I have joined the company over 1 year ago in the Silicon Valley, one …

Visualizing Concurrency in Go

Now, let’s go back to our workers example. Remember, I told that it was run with GOMAXPROCS=4? That’s because all these animations are not art work, …

$5 Showdown: Linode vs. DigitalOcean vs. Amazon Lightsail vs. Vultr

A ton has changed since this post was originally published! Why not check out my more recent post? <br>VPS Showdown - January 2018 - DigitalOcean vs. …

Kaazing.com - Kaazing WebSocket Gateway 5 Docs

Deploy WebRTC using the Gateway<p><b>Note:</b> This document is for network administrators that are familiar with WebRTC and related protocols. For an …

Cloud Computing

A Study of WebRTC Security

Abstract<p>Web Real-Time Communication (abbreviated as WebRTC) is a recent trend in web application technology, which promises the ability to enable …

Information Security

The target="_blank" vulnerability by example

<i>Edit: We took the behavior to point out this flaw in Facebook because, even though interesting, it was getting to be annoying because Facebook was</i> …

Continue statements with Labels in Go (golang) – Repeatable Systems

Flow control of nested loops can be a pain. And because Go uses for loops in great abundance, you hit this problem more often than in some other …

Writing a Text Adventure Game in Go - Part 1

Mar 19, 2016 · 6 minute read · Comments<p>Intro (Location and Movement)<p>So I have always liked coding games. I started many years ago on the Amiga …

Shrink your Go binaries with this one weird trick

Ok, I lied, there's no weird trick. However, you can easily reduce a Go binary size by more than <b>6 times</b> with some flags and common tools.<p><i>Note: I</i> …

Duck typing in Go

Today, did you know — a struct doesn’t have to implement an interface in Go. Go uses “duck typing” (EDIT: technically they call it ‘structural …

5 simple tips and tricks for writing unit tests in #golang

Test-driven development is a great way to keep the quality of your code high, while protecting yourself from regression and proving to yourself and …

Authentication in Golang with JWTs

<b>TL;DR</b> Go is an excellent choice for building fast and scalable API's. The net/http package provides most of what you need but augmented with the …

Software Engineering

Secure Salted Password Hashing - How to do it Properly

Salted Password Hashing - Doing it Right<p>If you're a web developer, you've probably had to make a user account system. The most important aspect of a …

IT security

Growing up with MySQL

Storing User Passwords Securely: hashing, salting, and Bcrypt

Storing User Passwords Securely: hashing, salting, and Bcrypt<p>In this article, I'll explain the theory for how to store user passwords securely, as …

IT security

Dependency Injection, Duck Typing, and Clean Code in Go

22 Apr 2015<p>Along the path to learning to program in golang, one thing that took some getting used to for me was using dependency injection and duck …

Building Web Applications in Golang With Gulp and LiveReload (http://bit.ly/1ELbcl1)

* Copyright (c) 2015 Martin Donath<p>* Permission is hereby granted, free of charge, to any person obtaining a copy<p>* of this software and associated …

String Matching GopherAcademy

Patchwork Toolkit

Unstructured MongoDB collections with mgo

I'm VERY new to Go. From what I've seen in the examples of mGo, in order to query a collection and then read from it, you have to predefine the data …

Scaling Micro-Services in Go - HighLoad++ 2014

Presented at HighLoad++ 2014 in Moscow<p>As Hailo expanded to a global presence, we needed to re-evaluate our approach to technology. Moving from a …

Go by Example

Go is an open source programming language designed for building simple, fast, and reliable software.<p><i>Go by Example</i> is a hands-on introduction to Go …

Programming Languages

Writing HTTP Middleware in Go

In the context of web development, "middleware" usually stands for "a part of an application that wraps the original application, adding additional …