Better HN
topnewbestaskshowjobs
Log inSign up

programd

2,559 karma · joined Dec 16, 2010 (15y ago) · 507 submissions

I consult on designing and developing modern, performant API servers running in Kubernetes/Docker or virtual machine environments. Mostly Go, but PHP, C/C++, and Rust also. Contact me at programd@nulladmin.com if you have a project you need help with.
Submissions

421.

Federated Learning: Strategies for Improving Communication Efficiency(arxiv.org ↗)

2 points · by programd · 9y ago · discuss

comment 9y ago · link · parent

The EFF lets you see all the fun ways you can be tracked by your browser fingerprint:

https://panopticlick.eff.org/

comment 9y ago · link · parent

Creating and selling a standardized set of API driven microservices to run in Docker containers. Do you need one for what you're working on? :)

424.

City Engine – create realistic city models(esri.com ↗)

1 points · by programd · 9y ago · discuss

comment 9y ago · link · parent

So what should be used for SaaS directory infrastructure?

comment 9y ago · link · parent

First hit on Google for "copying virtualbox vm to another machine" gives you three options:

http://superuser.com/questions/633431/whats-the-recommended-...

comment 9y ago · link · parent

Thank you. I think you buried the lede at the bottom of the page though - the certification program is free currently.

On the other hand it looks like you have to purchase an EE license to test your code for certification: "Content that runs on the Docker Community Edition may be published in the Store, but will not be supported by Docker nor is it eligible for certification".

So looks like a minimum of $750 for one node EE license to play?

comment 9y ago · link · parent

They also announced the Docker Certified program [1] but with no technical details about what that involves beyond hand waving that "containers are tested, built with Docker recommended best practices, are scanned for vulnerabilities, and are reviewed before posting on Docker Store."

Is there some set of automated tests my container has to pass? Can I run them today? More to the point, how much will it cost me?

[1] https://blog.docker.com/2017/03/announcing-docker-certified/

comment 9y ago · link · parent

There's a decent Go library for various backoff algorithms. Useful if you're creating services which call webhooks: https://github.com/cenkalti/backoff

430.

Quantum gates implementation by X-ray single-photons around rotating black holes(arxiv.org ↗)

1 points · by programd · 9y ago · 1 comment

comment 9y ago · link · parent

Canonical error codes used by Google, mapped to HTTP error codes: https://github.com/googleapis/googleapis/blob/master/google/...

comment 9y ago · link · parent

Thank you all for the good responses on the error code issue. I particularly appreciate the ops view on this, e.g. the existence of much tooling around monitoring HTTP codes. Since I'm a pragmatist I'm not going to defend my point of view too vigorously, but concede that there are other considerations, particularly when designing services to work at scale. Everything breaks at scale, including many things we believe to be wise and true :)

comment 9y ago · link · parent

Using HTTP status codes in your responses is a trap. It conflates the API transport with the actual semantics of the API. The goal of HTTP error responses is to say that something went wrong in the transport layer. The goal of API error responses is to say that something went wrong in your service. For example, your HTTP REST server may be perfectly fine, but your back end DB may be misbehaving. Having separate API level error responses, for example an explicit field called "error" in your JSON response, I consider to be best practice. Frequently your client needs to know the difference, for example to determine what kind of error to return to the user or what retry strategy to use.

In typical HTTP REST services this transport/API error split makes it really easy to create client code which only needs to check two conditions - if the HTTP response code is 200 or not, and if the error value is set or not. You also don't have to shoehorn your error handling into the very limited set of errors provided by the HTTP protocol.

The other real-world advantage of this is that when you outgrow HTTP as the transport protocol for performance reasons this makes porting the API really easy to, e.g. protobuf RPC, or even raw TCP. The error is already defined as part of the API and you don't need to rewrite all your client code to deal with mapping multiple HTTP response codes to your new transport. It's good future proofing I've seen pay off in a at least a couple of real-world cases.

Bottom line - your server should always return HTTP status 200 and a separate API error response.

There's also a reasonable debate to have about whether non-error responses should also include an explicit "error" field with some default OK value. There may be good reasons to leave it out, e.g. if you want to save bandwidth, but I consider that a fairly insignificant point. For consistency my APIs always return a default OK error field on non-error responses - your mileage may vary.

434.

Build cross-platform mobile apps with nothing but JSON markup(medium.freecodecamp.com ↗)

1 points · by programd · 9y ago · 1 comment

comment 9y ago · link · parent

SEEKING WORK - San Francisco Bay Area or remote

Location: San Francisco Bay Area

Remote: Yes

Experienced Silicon Valley engineering professional seeking contract opportunities. These days I'm focusing on designing and implementing software stacks (APIs, microservices, CI pipelines) running in modern container environments - Docker, Kubernetes, CoreOS, GCE, AWS, Azure, Pivotal.

Specifically if you need to quickly develop scalable APIs or microservices for your infrastructure I can help. Get critical work started while you look for that perfect permanent hire.

I also have extensive experience managing technical organizations and large IT infrastructure and can help you organize and execute your engineering projects.

My tech stack these days is mostly Go, Docker, C++/C, PostgreSQL, MySQL, Prometheus, Grafana. And Jira, lots and lots of Jira :)

Contact me at contact@nulladmin.com to discuss how I can help you save time and money.

comment 9y ago · link · parent

My first thought was that this kind of technology will eventually put police artists out of a job. Given a verbal description from the witness such a system should be able to generate several possible photorealistic images of suspect faces.

437.

Sizing the US B2B market in 7 charts(compile.com ↗)

2 points · by programd · 9y ago · discuss

comment 9y ago · link · parent

The film is based on the book "Command and Control: Nuclear Weapons, the Damascus Accident, and the Illusion of Safety" by Eric Schlosser. This should be required reading for every engineer. Also a ripping good yarn, just aching for the Hollywood treatment.

A nice companion read is "A Review of Criticality Accidents" a report put out by Los Alamos National Laboratory [1]. Fairly technical and a fun read. And by "fun" I mean both scientifically fascinating and seriously disturbing in equal measures. Who knew that the wrong shape container could kill you just by standing near it...

1. https://www.orau.org/ptp/Library/accidents/la-13638.pdf

439.

Kelsey Hightower – Self Deploying Go Applications(youtube.com ↗)

2 points · by programd · 9y ago · discuss

440.

0 to 1M: Scaling my side project to 1M requests a day(re-cycledair.com ↗)

2 points · by programd · 9y ago · discuss

441.

Podcast: New Year, New Horizons – Pluto(a16z.com ↗)

1 points · by programd · 9y ago · discuss

442.

The Harlan Ellison Book Preservation Project(kickstarter.com ↗)

1 points · by programd · 10y ago · discuss

443.

International Space Station Interior 4K Video Fly Through(youtube.com ↗)

3 points · by programd · 10y ago · discuss

444.

NoSQL Databases: A Survey and Decision Guidance(medium.baqend.com ↗)

2 points · by programd · 10y ago · discuss

445.

Computer program for simulating time travel, exploring the grandfather paradox(arxiv.org ↗)

2 points · by programd · 10y ago · discuss

446.

Entropy/IP: Uncovering Structure in IPv6 Addresses(arxiv.org ↗)

53 points · by programd · 10y ago · discuss

1
1314151617