Better HN
topnewbestaskshowjobs
Log inSign up

mthenw

17 karma · joined Jul 13, 2011 (15y ago) · 8 submissions

Submissions

comment 9y ago · link · parent

Thanks!

I was using Consul because we had that already deployed. After quick research looks like etcd client doesn't provide nice abstraction for creating dist locks. I found [1] and [2] though. Definitely it's doable with etcd.

[1] https://github.com/datawisesystems/etcd-lock [2] https://github.com/ORBAT/node-etcd-lock

2.

Distributed Locks with Consul and Golang(medium.com ↗)

3 points · by mthenw · 9y ago · 2 comments

3.

First Female Computer Science Ph.D. Was a Nun #AdaLovelaceDay(en.wikipedia.org ↗)

1 points · by mthenw · 10y ago · discuss

comment 11y ago · link · parent

Short price comparison:

AWS ECR: $0.10/GB-month (+ data transfer)

quay.io: $12/month - cheapest plan (5 repos)

docker.com: $7/month - cheapest plan (5 repos)

https://aws.amazon.com/ecr/pricing/ https://quay.io/plans/ https://www.docker.com/pricing

comment 12y ago · link · parent

Don't test methods. Test behaviour that stands behind them. Unit in "unit testing" stands for behaviour not method/function. Private methods are private because they should not be exposed outside, never. Changing internal implementation of module should not crash test suite.

6.

JSON Patch(tools.ietf.org ↗)

16 points · by mthenw · 12y ago · discuss

7.

Show HN: frontail – tail -F output in browser(github.com ↗)

1 points · by mthenw · 13y ago · discuss

8.

Statistical detection of systematic election irregularities(pnas.org ↗)

1 points · by mthenw · 14y ago · discuss