profile
viewpoint
Kevin Burke kevinburke https://burke.services Alamo, CA https://kevin.burke.dev Formerly engineering at Twilio and Shyp. Now doing consulting, possibly for you. Get in touch!

golang/dep 13112

Go dependency management tool

inconshreveable/log15 951

Structured, composable logging for Go

kevinburke/2013 9

Flat UI website redesign

kevinburke/autoenv 1

Directory-based environments.

kevinburke/bigtext 1

Go library to display text really big using Quicksilver on a Mac

kevinburke/2013.cascadiajs.com 0

This is the official repo for the CascadiaJS 2013 conference.

kevinburke/2014.cascadiajs.com 0

This is the official repo for the CascadiaJS 2014 conference.

kevinburke/2015.cascadiajs.com 0

The official repo for the CascadiaJS 2015 conference

kevinburke/ansible 0

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.

issue commentapollographql/apollo-feature-requests

security: pulling tokens from localStorage is not secure

That response doesn’t make sense, sorry.

kevinburke

comment created time in 21 hours

push eventkevinburke/aws-kids-posters

Kevin Burke

commit sha a6d307edd128453408603ed84f866004fbac15d4

vendor: use Go version 1.13

view details

push time in a day

push eventkevinburke/aws-kids-posters

Kevin Burke

commit sha 68b8845166d80f28055b5cda8cf4d0a33cba6706

main: parse flags

view details

push time in a day

push eventkevinburke/go-bindata

Kevin Burke

commit sha ad0746d64d6cf6b17eb381b36be0ed95da4042a1

go112: don't use "%w" Whoops

view details

push time in 2 days

issue commentgo-bindata/go-bindata

Use Go 1.13's new wrapped error support

Good idea, just fixed this here. https://github.com/kevinburke/go-bindata/commit/c938b041d272dc5b5ad53b4884cbe59083cc0359

(The red "X" is because tests on Go 1.12 now generate a different file than Go 1.13; fixed in a later commit.)

mperham

comment created time in 2 days

push eventkevinburke/go-bindata

Kevin Burke

commit sha bb3ca54f88363591f8e3399dc7f28be348ab3fc2

v3.17.0

view details

Kevin Burke

commit sha 605d1b3271ea2ee8a1d88c915f793a8f7c985dad

travis.yml: avoid testing older versions The differ tests break on older versions because they generate a file with "%v" instead of "%w". It's fine; Go 1.14 will be released soon anyway.

view details

push time in 2 days

created tagkevinburke/go-bindata

tagv3.17.0

A small utility which generates Go code from any file. Useful for embedding binary data in a Go program.

created time in 2 days

push eventkevinburke/go-bindata

Kevin Burke

commit sha c938b041d272dc5b5ad53b4884cbe59083cc0359

all: use %w in generated packages with Go 1.13 Fixes go-bindata/go-bindata#51.

view details

push time in 2 days

push eventkevinburke/rickover

Kevin Burke

commit sha 8f0b75c3a39a001a78bbd41684e0c5bb9b28e051

sqlc.json: fix deprecated sqlc config key

view details

push time in 9 days

push eventkevinburke/rickover

Kevin Burke

commit sha 2586deb24dda31f492f2b441efb7458c6b551bef

services: fall through to delete the queued job

view details

push time in 9 days

push eventkevinburke/rickover

Kevin Burke

commit sha 2eb84b101577de0554da87083dca5d7f7dd838df

services: catch duplicate key error If we try and fail to create an archived job, it's fine, just log it and keep processing. We're not relying on transactions and we shouldn't get stuck in an infinite loop if the state gets messed up somehow.

view details

push time in 9 days

push eventkevinburke/rickover

Kevin Burke

commit sha fa3ce763ec27ea7ff9118dff192ddd9f722a0d5c

models,services: reduce allocations

view details

push time in 10 days

push eventkevinburke/gobike

Kevin Burke

commit sha fbdbd9cd152ca7dc7d989b909c643a865ff4ed24

update estimated trip counts for 2019

view details

push time in 14 days

push eventkevinburke/gobike

Kevin Burke

commit sha df75d898e8b17edc44f6e569294666af16ce608f

add data for real this time The file format changes halfway through the December 2019 file. Add some better parsing to work around that.

view details

push time in 14 days

push eventkevinburke/gobike

Kevin Burke

commit sha 07bd36f2fe04fbf7402fb8fcb6d2339f0d1a153a

all: add stats for January and February

view details

push time in 14 days

push eventkevinburke/weirdfortune

Kevin Burke

commit sha 0a3133a39885c36879f3778f27e3eb82514957c4

weirdfortune-server: add line breaks

view details

push time in 16 days

pull request commentkevinburke/twilio-go

added Programmable Chat grant type

I just merged a change to switch to Github Workflows so the tests should be passing again. Can you rebase / merge in and push again?

kelmerp

comment created time in 20 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha 378e630e02da67019eb0f84cf38418b1c93317e8

.github: switch to using workflows

view details

push time in 20 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha 378e630e02da67019eb0f84cf38418b1c93317e8

.github: switch to using workflows

view details

push time in 20 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha 95d87c68e11adf4c0a3c38e2d7eb95bcbed8d37d

.github: switch to using workflows

view details

push time in 20 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha dce584836e87e4125bb4d4b7195917ab8100ce52

.github: switch to using workflows

view details

push time in 20 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha eaf76419fa7ae027522325c1f452bb31ffbb14ff

.github: switch to using workflows

view details

push time in 20 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha 2c6e4b2feee400508e7364e72677c8307d8a2940

.github: switch to using workflows

view details

push time in 20 days

push eventkevinburke/weirdfortune

Kevin Burke

commit sha 50bc0e4bff623822417e65647f52af12b38f3e31

cmd/weirdfortune-server: better CSS styles

view details

push time in 20 days

push eventkevinburke/weirdfortune

Kevin Burke

commit sha f4cf93b9b94277ff09c6291bfe467b7833bb7e7f

remove duplicate

view details

Kevin Burke

commit sha d1dd5c6062a6e52a46da46781b6ed34d0341b55e

add new fortune

view details

push time in 21 days

push eventkevinburke/weirdfortune

Kevin Burke

commit sha 4ef792e4a6eb06a21314d8e3964b85cb7654e626

Add a HTTP server

view details

push time in 21 days

created tagkevinburke/weirdfortune

tag1.3

the unix fortune program, now with weird twitter

created time in 21 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha fd2862e6839648e6a41e7b8838caf3f47dd422e9

.github: switch to using workflows

view details

push time in 21 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha a1f6b156b6cf796851d76d6dd1d8507d245ec81f

.github: switch to using workflows

view details

push time in 21 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha 5d6863192957375612b45a0dc012094a8fb658f5

.github: switch to using workflows

view details

push time in 21 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha 6b0e9d75d8d3a252a068bb66b20bb7130642c7a6

.github: switch to using workflows

view details

push time in 21 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha 4ef8fd552ad1838f603101de7d75f3e3c0871530

.github: switch to using workflows

view details

push time in 21 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha 92dd736afffd71923b0a43ebb41270b550da45e8

.github: switch to using workflows

view details

push time in 21 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha ee98812a6bc4cd091edc4427dae3b4db2817d189

.github: switch to using workflows

view details

push time in 21 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha caac64510102fd2142812f003dc5503b407fc5b7

.github: switch to using workflows

view details

push time in 21 days

push eventkevinburke/twilio-go

Kevin Burke

commit sha baeb4960a471ad57451cbaeefdc5170b0830bf2c

.github: switch to using workflows

view details

push time in 21 days

create barnchkevinburke/twilio-go

branch : github-workflows

created branch time in 21 days

issue openedkevinburke/rickover

pretty format JSON

created time in 23 days

push eventkevinburke/handlers

Kevin Burke

commit sha 6143062796c3f0f8696260447d6bb96f7b6e412c

lib: add tests for Debug function I thought this function was causing problems/modifying the input or output but it didn't have tests so I added some tests. Also fix an error with the printing of gzip outputs (we wouldn't print the headers in those cases).

view details

push time in 25 days

push eventkevinburke/rickover

Kevin Burke

commit sha 431e493f4c9411afb0681f56a479511f00312ebb

services: less memory pressure We allocate a lot of memory fetching a queued_job from the database when all we really want to do is see if the row is still there and/or if the attempt count has been decremented. Instead of returning the entire row (and scanning the UUID, timestamp, etc) just return the single field we care about. While we are at it reduce use of fmt.Sprintf in cases where we are just concatenating strings.

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 4cdae28a20ec917085026edc57a7199adf6abf96

stop spinning out goroutines for metrics The cost of a new goroutine far outweighs the savings from doing this asynchronously, just do them inline and avoid the stack allocation.

view details

push time in a month

push eventkevinburke/go-simple-metrics

Kevin Burke

commit sha 02c5512e32782da9cfbb8f5402be84ad7c002e0c

stop using fmt.Sprintf

view details

push time in a month

push eventkevinburke/go-simple-metrics

Kevin Burke

commit sha 8343051619cce17fdaec8206bc0975e9bcfdba9e

add LICENSE

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha cd45c3fb30055eed8c6b834d7f79c27ce28448da

models/queued_jobs: fix concurrency error Previously two separate workers could acquire the same job, if they got 'lucky'. Fix by ensuring the UPDATE has a WHERE clause that ensures we only acquire the row if we managed to change its state. Update the test to avoid the use of channels - we don't need them.

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 5806ade55bd5377610d049984b58d3f17eabf64d

dequeuer: add note about responsibility

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha df45a7577620c41502e23069163eed4f23149eef

services: move ExpiresAt up a level Interfaces shouldn't have to implement ExpiresAt handling on their own.

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 8e59e18ba091ef5076f433bec7b9cfda294eac4b

dequeuer,services: add back Sleep interface This can reduce CPU load if there's not much load on the job queue.

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha e8015daed30ac7d90926c76c6d4f02d0041c56c5

Gopkg.toml,vendor: update github.com/lib/pq

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha bdf24d20c865a6f10f3397ddd2dc045ae4d611f3

Gopkg.toml,vendor: update handlers dependency

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha a35bdef0fa9c66191991f7d0cb3c2c5dffb295b0

all: use log15 instead of std library logger This boils down to preference more than anything, but log15 is also more amenable to structured/tagged logging, and you can take the output and still print it to the stdlog the way the old one was with no problems.

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha a35bdef0fa9c66191991f7d0cb3c2c5dffb295b0

all: use log15 instead of std library logger This boils down to preference more than anything, but log15 is also more amenable to structured/tagged logging, and you can take the output and still print it to the stdlog the way the old one was with no problems.

view details

push time in a month

create barnchkevinburke/rickover

branch : switch-logger

created branch time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha dabf2e8ad9c40ce893e7fe14ba0acb4b05dcc458

dequeuer: fix data race

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 83a88abc374383a86af67119595117ac74fab633

services: remove debug log lines

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha c9fbb69f32ead659b9e10c3876b1af8916ae5628

services: remove stray print statements

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha ce6313e953e56f06752dbfc1a7d82921d48b873b

server: return 400 if Decrement fails If we attempted to record a failed job but the attempt numbers don't match up with what's in the database, previously we would return a 500. Now we catch the error and return an appropriate 400.

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 5da4e9c9775656252a3f83a506f16e7ae5c9b830

server: set default prefix

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 3c58e2b16d93c40e863cbcd18f1619d95143ad4d

server: make "job_" prefix optional We also make the route matcher a little bit more specific (UUID's must be at least 20 characters) so there will be more 404's, and change the route order slightly to prioritize specific routes over catchall routes.

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 7b452b2a90b829c6dfad4f00c58fbd0a0147ce6d

server: add context for status recording

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 6d29defe3480368c33306f29b8af41ab541b16cc

services: better handling of timeouts We can detect in some cases when a request timeout failed before the request reached the downstream server, so do so. Also make a test fail in a predictable way instead of an unpredictable way; see comment inline for more info. Remove a test that we can't stop from flaking.

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 6d29defe3480368c33306f29b8af41ab541b16cc

services: better handling of timeouts We can detect in some cases when a request timeout failed before the request reached the downstream server, so do so. Also make a test fail in a predictable way instead of an unpredictable way; see comment inline for more info. Remove a test that we can't stop from flaking.

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha ee7fe2629efea2ec2e325514154e66ebb75b087f

services: better handling of timeouts We can detect in some cases when a request timeout failed before the request reached the downstream server, so do so. Also make a test fail in a predictable way instead of an unpredictable way; see comment inline for more info.

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha aac773c6e376e7470aac745c3e591ca00e249482

troubleshoot

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha d3c83317c1e5f7627884c3d63d46d5bcec6adc25

troubleshoot

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha b3f532e058a5e06cca7f9cd261c5755f9c5113df

troubleshoot

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 4fe641f54f6a2822a40fa9829cca6341710f4ece

troubleshoot

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 7dc1dba82a5c2977df82f50ab84f3f29712b99da

troubleshoot

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 762de50da941f1fd8af1aed6177db17d23260371

troubleshoot

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha a3031162bb486b17013cbc4f5945049fd41e3965

troubleshoot

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 623b36ad291748799f91507648e58573123740d5

troubleshoot

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 3d5f010a8c981d1357d17643c2daee8fe2199ed4

troubleshoot

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 9f84c1bba810f951f7b437d155f983a87386f85b

services: better handling of timeouts We can detect in some cases when a request timeout failed before the request reached the downstream server, so do so. Also make a test fail in a predictable way instead of an unpredictable way; see comment inline for more info.

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 8c44434290e0cece166d24fa26c57cd375fc3bc6

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha f327ba3f858960b7f77bfbc13e7a57f2ccb06e6d

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 1542f3ce1dbae42e2bcd421bc70e6b43953770c5

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 32f158e9a4060e00a676873a2508c4ed1c384cdd

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha bc7a913bfc130d05c9e8d3526595bd9b0fe2a32a

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha d9ca5c92edbdc094bbffc584a9b6f7e124b0a1b8

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 54b72244ecee584d8c5724fc3513eaf5554c9088

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha a225b1d9e706d034b16b51a6b53ae322f28f8a09

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha b67aeaade65b6fa2862e56ac25b667e7a6b0863a

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 73cd8113e77b229dc8562ee00c3eb500c41437da

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha d290932816ce7315b08566b974a1c7100a8247f1

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 1932633d98d32a96fffdfaf76641ef96bf5cd656

services: better logging in test

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 88811fd17f7c30ca87eb4a59b68fa8057e18bd31

services: better logging in test

view details

push time in a month

create barnchkevinburke/rickover

branch : fix-test

created branch time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha 6855e37565e930cd00eef6229d5a8c81e5faba14

dequeuer: fix lint error

view details

push time in a month

push eventkevinburke/rickover

Kevin Burke

commit sha a41f9a8e2d517e7eb89511cea1ef82f4fcf4dd3f

dequeuer: simplify configuration with WorkServer See the Example or commands/dequeuer for an example of how to use it. It should be a lot easier to configure this in the common case now. All of the metrics queries accept a context.Context now, which means we can cancel them when we cancel the parent WorkServer. Replace gorilla/handlers.LoggingServer with kevinburke/handlers.Log.

view details

push time in a month

delete branch kevinburke/rickover

delete branch : vet

delete time in a month

delete branch kevinburke/rickover

delete branch : update-sync

delete time in a month

delete branch kevinburke/rickover

delete branch : update-readme

delete time in a month

delete branch kevinburke/rickover

delete branch : update-links

delete time in a month

delete branch kevinburke/rickover

delete branch : update-build-matrix

delete time in a month

delete branch kevinburke/rickover

delete branch : travis

delete time in a month

delete branch kevinburke/rickover

delete branch : replace-simple-metrics

delete time in a month

delete branch kevinburke/rickover

delete branch : replace-go-types

delete time in a month

delete branch kevinburke/rickover

delete branch : replace-dberror

delete time in a month

delete branch kevinburke/rickover

delete branch : pq-1.0.0

delete time in a month

delete branch kevinburke/rickover

delete branch : log-unknown-errors

delete time in a month

delete branch kevinburke/rickover

delete branch : kevinburke/rest

delete time in a month

more