Isaac Andrade

213 Flips | 10 Magazines | 35 Likes | 35 Followers | @andradei | Keep up with Isaac Andrade 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 “Isaac Andrade”

iTerm: if you know all of these keyboard shortcuts, you are an iTerm ninja!

The ultimate guide to writing a Go tool

September 14, 2017<p>A while ago I’ve started to build a tool to make my life easier. It’s called: <b>gomodifytags</b>. It automatically fills the struct tag …

Diminishing returns of static typing

I often get into discussions with people, where the matter of strictness and expressiveness of a static type system comes up. The most common one, by …

5 Tips for Writing Small CLI Tools in Rust

Rust is a great language to write small command line tools in. While it gives you some tools for common tasks, allows nice abstractions, it also has …

Keep a Changelog

Frequently Asked Questions<p>Is there a standard changelog format?<p>Not really. There's the GNU changelog style guide, or the two- paragraph-long GNU NEWS …

Serving HTTPS

If you’ve been building a web server in Go, at some point you will need to figure out how to serve your site with HTTPS.<p>One option is to use a …

Redirecting

Nicole Orchard

An Intro to Compilers<p>How to Speak to Computers, Pre-Siri<p>August 13, 2017<p>A compiler is just a program that translates other programs. Traditional …

The art of destroying software

The waterfall paper is one of the biggest ironies in our industry. If you go and read the waterfall paper, it basically describes what you know as …

How I built an audio library using the composite pattern and higher

Some people say that Go can’t express good abstractions. They mostly refer to the lack of generics. That’s because in most object-oriented languages, …

How to make your dream game, publish it and not die in the process

The Critical Request

Serving a website seems pretty simple: Send some HTML, the browser figures out what resources to load next. Then we wait patiently for the page to be …

Web Development

Elm In Production: 25,000 Lines Later

At Roompact, we make a SaaS product used by university residence life departments across the United States. Our software provides an array of …

3 ways to iterate in Go

Iteration is a frequent need, be it iterating over lines of a file, results or of SELECT SQL query or files in a directory.<p>There are 3 common …

Multi-Stage Docker Builds for Creating Tiny Go Images

I’ve talked about how to make tiny Docker images a fair bit in the past, but now that Docker has multi-stage builds, it’s time to revisit the topic. …

CSS Isn’t Black Magic

Pulling Back The Curtains on Your Stylesheets<p>If you’re a web developer, chances are you’re going to have to write some CSS from time to time.<p>When you …

Survey of Rounding Implementations in Go

Rounding in Go is hard to do correctly. That is, given a float64, truncate the fractional part (anything right of the decimal point), and add one to …

The 5 Most Under

Here are five tags that may be missing from your HTML arsenal…<p><b>1. <label></b><p>The <label> is associated with the field’s ID using the <b>for</b> attribute. An …

Get down! How to keep footers at the bottom of the page

How to keep footers at the bottom of the page<p>When an HTML page contains a small amount of content, the footer can sometimes sit halfway up the page …

Web Development

Newbie: Intro to cron

Andrew Chilton

In Go v1.7, the context package was added and that is our next secret. The ability to tell a webserver to stop using a context was also added. Using …

Salary Negotiation and Job Hunting for Developers

On Twilio Radio, Patrick McKenzie dropped knowledge on how developers can find a fulfilling job and add $X0,000 to their salary. He’ll be speaking …

Don’t defer Close() on writable files

<i>Update</i>: Another approach suggested by the inimitable Ben Johnson has been added to the end of the post.<i>Update 2</i>: Discussion about fsync() added to …

JavaScript

A theory of modern Go

<i>tl;dr: magic is bad; global state is magic → no package level vars; no func init</i><p>The single best property of Go is that it is basically non-magical. …

Go, without package scoped variables

This is a thought experiment, what would Go look like if we could no longer declare variables at the package level? What would be the impact of …

JavaScript

Unique IDs in Golang, part 3

Jun 3, 2017 · 7 minute read · Comments <br>programminggolanguiduuidulid<p>This is a continuing series on <i>UID</i> alternatives:<p>Part1 Introduces the topic<br>• Part2 …

Unique IDs in Golang, part 2

May 28, 2017 · 7 minute read · Comments <br>programminggolanguiduuid<p>This is a continuing series on <i>UID</i> alternatives:<p>Part1 Introduces the topic<br>• Part2 Talks …

You Are Not Google – Bradfield

Software engineers go crazy for the most ridiculous things. We like to think that we’re hyper-rational, but when we have to choose a technology, we …

Error handling patterns in Go

One of the main strengths of the Go programming language is its error model. It’s not my favorite—that would be something like this—but it’s still …

High Level

Gracefully terminate a program in Go

There is a pattern for a graceful exit, that utilises a channel.<p>The channel is used to tell all interested parties, that there is an intention to …