Eli Sarver

All Categories: go(1) gokit.io(1) golang(1) home

What is Devops?

It's a discussion friends of mine have been having.

There are a lot of job posts out there that say something along the lines of:

  1. responsible for development pipeline
  2. on-call for production
  3. plan and automate systems build-out

And then they slap a label of "devops" on that. That's . . .

Read More

September 11, 2020

Opinions on Go struct type

When I create a new go struct, I organize it around serialization and usability.

package main

import (
 "encoding/json"
 "errors"
 "fmt"
 "net/url"
)

type Proxy struct {
 URL *url.URL `json:"url"`
 runs uint64
}

func NewProxy(u * . . .

Read More

September 08, 2020

Ethics

It's OK to say "I'm not an expert."

The following paragraphs come from the ACM Code of Ethics. When joining ACM, members are required to agree to read, understand and agree to follow the standards set forth in this document.

2.6 Perform work only in areas of competence.

Computing professionals are in a position of trust, and therefore have a special . . .

Read More

October 25, 2018

Boolean alias

glog.V is neat-o

glog implements log levels with a nice boolean alias. Starting at line #983, the Verbose, when wrapping the boolean true causes its various functions to invoke the logger. So if you pass in -v 3 on the command line and use glog.V(2).Info("hello") in code, your logger will write the message. This allows glog to have far fewer log . . .

Read More

March 16, 2018

One cool thing about testing in go

*_test.go files aren't compiled or lexed until you run go test. You change them without breaking your non-test code compiles. They stay out of the way until they are needed, which is a nice trick.

Read More

March 15, 2018

Intel Build for Gaming 2017Q1

i7-7700k 4.2GHz, z270, DDR4 2400, M.2 PCI 3.0 x4; yes please.

This is my purchased i7-7700K gaming build. Presented after a lot of fitness to purpose and aesthetic consideration. PCPP spread these prices over 5 vendors, I picked three because I didn't like some of the timelines on parts. The EVO 960 is the most delayed part here.

(output is raw output from PCPP, Adjusted prices and vendors . . .

Read More

March 05, 2017

Decomposition

When I come up against a problem of any non-trivial nature, I spend a lot of time on the decomposition of that problem into smaller problems. One such example is the work I'm doing with my team's API gateway.

We have a 4-tier system:

  1. CMS (Database to XML)
  2. API gateway (multiple protocols to protobuf)
  3. . . .

Read More

February 23, 2017

All Categories: go(1) gokit.io(1) golang(1) home

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!