Recent submissions

Comment · 1 year ago
I’m a fan of the whole Apple ecosystem but I have to say that there’s a pattern here. Apple does a decent job of keeping my data safe from others but a terrible job of keeping it intact. From music libraries with song titles that got switched to long integers to this (and I’m sure more that I’m not remembering atm) they need to do a better job here.

Sure security is important but integrity is too.

Comment · 1 year ago
Comment · 2 years ago
Does this mean .svc.cluster.local for Kubernetes should migrate to .svc.cluster.internal?
Comment · 4 years ago
> 5xx for internal errors (these should be avoided at all costs)

An anti pattern I’ve often seen has devs avoiding 5xx errors in bizarre ways. I would change the above to make to have monitoring in place to address 5xx errors. By all means, let your code throw a 500 if things go off the rails.

Comment · 4 years ago
Comment · 5 years ago
I've been working on a lock-free mock library for Go called Moqueries (https://github.com/myshkin5/moqueries). Having a lock inside of your mock can cover up subtle bugs. The tool mocks interfaces which is fairly common but it also will mock a function type.
Comment · 5 years ago
Looks like it's been down for at least three hours at this point with zero updates! Starting a list of other service providers I should switch to!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton