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

comment 8y ago · link · parent

I've seen companies use Confluence and Google Docs as internal documentation platforms, both worked fine.

Having said that, it's not the tools which are interesting in any discussion of documentation. The tools will cheerfully help you produce a royal mess of out of date, badly organized docs. You need to have processes in place to make the information accessible and useful.

Get disciplined about requiring a canonical document for every current business process and project. That should be part of your project planning. Then have a requirement that the docs be kept up to date as things change. Basically think of it as the equivalent of devops run books/checklists, but more broadly applied.

The specific tools to get there are less interesting - it can be done with a set of version controlled text files well organized on disk and searchable with grep if it comes to that.

362.

Attacking Private Networks from the Internet with DNS Rebinding(medium.com ↗)

3 points · by programd · 8y ago · discuss

comment 8y ago · link · parent

For Go just use logrus https://github.com/sirupsen/logrus

It’s easy to use and full of features. There are faster packages out there but you don’t really need them unless you’re Twitter scale or something.

For log aggregation in all environments try oklog https://github.com/oklog/oklog

Much easier to run and maintain then Elastic, excellent performance and scalability. Especially good if you’re a small shop and don’t have the time or resources to complicate your infrastructure.

364.

Neural scene representation and rendering(science.sciencemag.org ↗)

2 points · by programd · 8y ago · discuss

365.

Toward Human-Scale Brain Computing Using 3D Waver Scale Integration [pdf](delivery.acm.org ↗)

2 points · by programd · 8y ago · discuss

366.

Video of automated robotic grocery warehouse(youtube.com ↗)

2 points · by programd · 8y ago · discuss

367.

PostgreSQL's fsync() surprise(lwn.net ↗)

3 points · by programd · 8y ago · discuss

comment 8y ago · link · parent

I think you just answered your own question. As a bonus Red Hat just released a Vault operator so that you can run it on Kubernetes with minimal hassle.

https://github.com/coreos/vault-operator

comment 8y ago · link · parent

The major problem I have with the proxy is that now I have yet another system to keep track of, update, secure, backup and maintain.

At least with vendoring I keep all of my code pinned in one portable repo and all I really need is dep and git. If I clone or backup the repo I don't have to think about cloning the state of the proxy also to get my code to compile.

I don't see that any serious business would be very enthusiastic about adding a code proxy as yet another cog in their development pipeline. One of the main appeals of Go is that it reduces many pain points of a development environment As a counterexample see e.g. the insane requirements of the Javascript web development ecosystem.

I also have some reservations about getting developers to adhere to a versioning repo layout standard - that /path/to/v2/ proposal and semantic versioning - absent any automated tools to enforce it (see cats, herding of). How many of the many Go github repos follow the recommended cmd/pkg code layout [0]? Not many. My cynical notion is that anything that's not automated out of the box is going to quickly run into the inevitable proclivity of humans to be messy.

Having said all this, I do think the discussion is worthwhile. My hope is that rather then completely switching dependency management systems the discussion identifies the things which are still painful with dep and fixes them. Let's face it, the vast majority of projects out there really don't need anything more complicated then dep, so I would hate to see it abandoned.

[0] https://github.com/golang-standards/project-layout

370.

Paseto Is a Secure Alternative to the JOSE Standards (JWT, Etc.)(paragonie.com ↗)

3 points · by programd · 8y ago · discuss

371.

Input–output maps are strongly biased towards simple outputs(nature.com ↗)

1 points · by programd · 8y ago · discuss

372.

Actionable Password Advice Based on the Probable Wordlists(github.com ↗)

3 points · by programd · 8y ago · discuss

comment 8y ago · link · parent

BTW, for judging the popularity of a go package you can look at the bottom of the godoc for the package and check how many other packages import it. I generally pick the most popular one.

For example for the pq Postgres package "Package pq imports 31 packages (graph) and is imported by 3749 packages." as opposed to the pgx package "Package pgx imports 31 packages (graph) and is imported by 143 packages."

comment 8y ago · link · parent

Gin [0] is a good place to start for Go web frameworks

Gorilla [1] is more of a toolkit, but very common and very useful

There's also Buffalo [2] for an opinionated kitchen sink included web framework.

As for SQL ORMs, sqlx [3] and gorm [4] seem to be the most popular ones. But really the `database/sql package` is probably all you need. As for drivers, here's a list [5]

[0] https://github.com/gin-gonic/gin

[1] http://www.gorillatoolkit.org/

[2] https://github.com/gobuffalo/buffalo

[3] https://github.com/jmoiron/sqlx

[4] https://github.com/jinzhu/gorm

[5] https://github.com/golang/go/wiki/SQLDrivers

comment 8y ago · link · parent

And, of course, the most important result of the paper is 13 million degrees of Kevin Bacon:

"The largest family tree in the processed data spanned 13 million individuals who were connected by shared ancestry and marriage (Fig. 1C). The tree included public figures such as Kevin Bacon..."

376.

Quantitative analysis of family trees with millions of relatives (2017) [pdf](biorxiv.org ↗)

50 points · by programd · 8y ago · 2 comments

comment 8y ago · link · parent

Needs a (2013) tag in the title.

378.

Utorrent: JSON-RPC issues resulting in remote code execution, info disclosure(bugs.chromium.org ↗)

1 points · by programd · 8y ago · discuss

379.

BitTorrent Client UTorrent Suffers Security Vulnerability(torrentfreak.com ↗)

1 points · by programd · 8y ago · discuss

comment 8y ago · link · parent

https://github.com/tsenart/vegeta

381.

Global Map of Antineutrino Emissions(ultralytics.com ↗)

1 points · by programd · 8y ago · discuss

382.

OpenEBS – containerized storage for containers(openebs.io ↗)

2 points · by programd · 8y ago · discuss

383.

The OpenWorm project(openworm.org ↗)

4 points · by programd · 8y ago · discuss

384.

Equation-centric dataflow programming in Go(bionics.it ↗)

2 points · by programd · 8y ago · discuss

comment 8y ago · link · parent

If they're at all technical take them to Fry's. I think the one in Sunnyvale is the best one. (This is Hacker News, after all...)

https://www.frys.com/ac/storeinfo/sunnyvale-location-frys-el...

Also a visit to Hawk Hill on the other side of the Golden Gate Bridge offers a spectacular view of the city.

386.

A computational study on outliers in world music(journals.plos.org ↗)

1 points · by programd · 8y ago · discuss

comment 8y ago · link · parent

Regarding telemetry, take a look at the settings in about:config. There are several toolkit.telemetry.Ping settings which are set to true by default. In the spirit of charity I'm going to assume that those phone home pings - on startup, shutdown, update - are not enabled unless telemetry is enabled. But I have not checked...

comment 9y ago · link · parent

Raise your prices. You really don't want the kind of customers who pay $10/month. Charge $50-$100 and not only will you get a better class of customer, you'll also need far less of them to get your $10K/month revenue.

389.

Carla – An open-source simulator for autonomous driving research(carla.org ↗)

156 points · by programd · 9y ago · 24 comments

comment 9y ago · link · parent

Which leads to amusing issues like the following:

https://arstechnica.com/information-technology/2015/03/ted-c...

Though to be fair, this incident is now fairly infamous inside Cloudflare and these days they have ways to deal with it.

1
121314
17