User: anders

Channels

gofmt like tool (can you plugin to gofmt?) that rewrites ignored returns to explicitly set ‘_‘.

fmt.Println("hi")

gets rewritten to:

_err := fmt.Println("hi")

or something similar.

Preempts the complaint that Go lets you ignore errors.

golang ideas

emacs macro commands

  • C-u C-x ( - append to the last macro
  • C-x C-k r - apply macro to region lines
  • M-j 0 C-x e - apply macro infinitely
  • C-x C-k C-i - insert counter
  • C-x C-k C-c - set counter
  • C-x C-k n - bind macro to name
  • M-x insert-kbd-macro - gives you elisp for the macro (must already be bound to a name)
  • C-x C-k C-e - edit macro

linux

One of the risks of being quiet is that other people can fill your silence with their own interpretation: You’re bored. You’re depressed. You’re shy. You’re stuck up. You’re judgmental. When others can’t read us, they write their own story—not always one we choose or that’s true to who we are.

  • Sophia Dembling, The Introvert’s Way

quotes

The question of whether computers can think is like the question of whether submarines can swim.

  • Edsger W. Dijkstra

quotes

don’t fight stupid; make more awesome

-Jesse Robbins

quotes

dialectic view of software engineering

  • starts out ad hoc/informal (thesis)
  • everyone gets burned
  • react by moving to extreme formalism, waterfall model (antithesis)
  • result is slow and cumbersome, inflexible
  • move to agile processes where flexibility is formalized (synthesis)

ideas

simple dist file store app

  • essentially Tahoe w/out encryption, reticulum w/out resize
  • N nodes, no master
  • immutable only (no delete)
  • POST file
    • calculates hash
    • chunks file, calc hash of each chunk
    • make manifest listing chunks
    • write manifest + chunks to nodes by DHT w/ desired replication (copy manifest to all nodes?)
    • return hash as location
  • GET file
    • retrieve manifest
    • get all chunks + reassemble
    • return file
  • stick with HTTP for retrieval or try btsync?

ideas

daily task/chore tracker (seinfeld style)

ideas

password manager app w/ riak backend (GPG encrypt text going in)

ideas

checklist builder app:

  • start from a template
  • make “instance”, customize, add/remove
  • simple UI to go through it

ideas

commandline tool for PMT

ideas

“Don’t be afraid of making mistakes; just be afraid of not learning from them.” - Thomas Edison

quotes

go-based BDD/acceptance testing tool. gherkin syntax + selenium.

done as web app. one database of scenarios, one database of rules for processing those rules.

https://github.com/tychofreeman/go-gherkin

ideas

tickler app: textbox and date picker. enter some text, pick a date. when that date comes up, it emails the text back to you. (ie, based on GTD tickler file)

ideas

ping -a produces an audible ping

linux sysadmin

Got our ABN AMRO chip and pin debit cards, which come with USB 2-factor auth devices. Of course, it’s a little anticlimactic since there’s no money in my account yet (have to do an international wire transfer next week to top it up).

netherlands

  • steek = sting, bite
  • partij = party
  • steekpartij = knifing

netherlands

The Invention of Concurrent Programming

Nice paper that summarizes the historical papers related to concurrency models.

distributed systems

Antifragile 2015

interesting looking conference on June 2-5 in london

dasmithii/GobDB

nice looking leveldb wrapper for go

golang

Well, OK, then.

Went in to the bank with Phoenix when she opened her account to see if they could just attach me to it as well somehow. Sure enough, the woman opening her account said that as long as I had a BSN, there was no reason I couldn’t open my own account, despite what we’d been told earlier. So now we both have Dutch bank accounts and are just waiting to get our chip and pin cards in the mail (along with hardware two-factor authentication devices!).

She also handles insurance and we figured out that (not surprisingly) the insurance that we’d had to take out before we could rent our apartment (Dutch law) was overpriced. Not surprising since we had very few options to pick through that we could get from the US before we had our completed residence permits, BSNs or domestic bank accounts. We’re stuck for a year, but then we can switch to a plan that’s about a quarter the price.

netherlands

lokalebasen/go-env

pull down environment variables from etcd and run a process with them

devops golang

Crash-only software: More than meets the eye [LWN.net]

“only way to stop is to crash. only way to start is to recover”

devops distributed systems

Enums in Go

Hadn’t seen this trick before.

golang

How Google Works

Google’s recipe for a modern, 21st century innovative company.

spokehub

Signals and Microinteractions for Smartwatches

Not interested so much in smartwatches, but the explanations of UX terminology are good.