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 9y ago · link · parent

The actual paper:

Quark-level analogue of nuclear fusion with doubly-heavy baryons

https://arxiv.org/abs/1708.02547

comment 9y ago · link · parent

If I read it right, this points to either a potential quark fusion reactor or quark fusion weapon. Of course actually building either one may be kind of impractical. But then again at one point not so long building an atomic fusion reactor or an atomic fusion weapon was also impractical.

In any event, sci-fi authors should take note, because having your spaceships launch a "quark fusion torpedo" just sounds way too cool to ignore.

comment 9y ago · link · parent

I did some research on this and didn't find anything that fit my needs. I need to generate licenses for software that's running in Docker containers. I finally decided to roll my own.

The whole thing is basically a database, simple front end, and a bit of code that generates a license key. The license is basically a signed/encoded string which my software can parse and validate. The user buys the license string, they feed it to my software as a config parameter and the software verifies the signature and validates it in various ways. Job done.

If there's any demand for something like this I'm willing to productize the whole thing.

comment 9y ago · link · parent

Karl Schroeder's Virga series features a vast zero-G fullerene sphere filled with artificial stars and floating nation states. Great hard sci world building and fun swashbuckling adventures, with a deep offstage story which only gradually comes into focus.

Karl writes about engineering Virga on his blog:

http://www.kschroeder.com/my-books/sun-of-suns/engineering-v...

comment 9y ago · link · parent

I own a domain created in early 1994, and my personal email account is still there. Since my email is so old I get vast amounts of spam. Apparently spammers never purge their lists. Fortunately Google mail hosting pretty much makes it a non issue. Not running my own mail servers anymore was one of the best decisions I made.

396.

The (SETI) Aestivation hypothesis(aleph.se ↗)

1 points · by programd · 9y ago · discuss

397.

Race condition security bugs common across different OAuth 2.0 implementations(blog.avuln.com ↗)

2 points · by programd · 9y ago · discuss

comment 9y ago · link · parent

At the enterprise levels this is dealt with by code escrow. I did some research on this for my own business and Iron Mountain [0] seems to be the big player in the field. Costs seem to be in the roughly $1K setup and $1K/year range, but as usual with enterprise sales it's mostly "call us for a quote". I haven't had any clients ask for this yet, but it's good to be prepared if they do.

[0] https://www.ironmountain.com

comment 9y ago · link · parent

Google Container Engine. You can spin up several nodes for a day and it will only cost you a few bucks. There's a learning curve, but the docs are quite good and once you set it up you can spin up and down with one command. Totally worth it.

comment 9y ago · link · parent

The Go standard library has most of what you need for basic API servers. However as has been stated here, some things are not worth spending time crafting yourself.

Also for modern Docker/Kubernetes ops environments you need some additional infrastructure for table stakes. Here's my standard Nulladmin.com stack:

Routing - https://github.com/go-chi/chi

Command flags - https://github.com/spf13/pflag

Config - https://github.com/spf13/viper

Logging - https://github.com/Sirupsen/logrus

Metrics - https://github.com/prometheus/client_golang/prometheus

SQL helper - https://github.com/jmoiron/sqlx

OpenTracing - https://github.com/opentracing/opentracing-go

401.

Kubernetes Whack-a-pod arcade game(terrenceryan.com ↗)

1 points · by programd · 9y ago · discuss

comment 9y ago · link · parent

Their enterprise pricing is per node. So if enough companies sign on to this, ever box/VM they put docker on brings Docker Inc. revenue. I'm sure at large scale this will be more of a flat rate negotiated deal ($XX,XXX per year) but still that's a lot of potential cash on the table.

The risk of course is that the nobody will want to pay per-node and the community will just invest in the open source container ecosystem and replicate the Enterprise features with plugins and forks.

Still, the market might be big enough that they can become another Red Hat just based on support and stewardship revenue.

comment 9y ago · link · parent

Netflix is known for a policy of paying well for talent and being generous when dropping people who don't work out, for whatever reason. Their culture document is a great read.

https://jobs.netflix.com/culture/#introduction

comment 9y ago · link · parent

In fairness this is more then rehashing NIST 800-63. This is coming from a Google engineer who worked on their authentication systems. A lot of good advice here, starting with not building your own.

comment 9y ago · link · parent

I think what you're looking for is Zipkin [0]. We use it in our microservers at Nulladmin.com via the opentracing Go library [1] and the zipkin-go-opentracing library [2]

[0] https://github.com/openzipkin/zipkin

[1] https://github.com/opentracing/opentracing-go

[2] https://github.com/openzipkin/zipkin-go-opentracing

comment 9y ago · link · parent

Oh how I wish every math paper was written like this! Very few math papers are a fun read - this is one of them.

407.

Bluetooth mesh networking specification(bluetooth.com ↗)

1 points · by programd · 9y ago · discuss

comment 9y ago · link · parent

And also "A Review of Criticality Accidents", a short but action packed read referenced in the article. Nuclear materials are deadly in the most unexpected ways.

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

comment 9y ago · link · parent

MySQL/MariaDB can be tuned to run very well on low resource devices. Remember that they were originally developed back in the days of 486 CPUs. A couple of years ago I had MySQL backing a commercial product on a 512M ARM7 5400RPM device (we originally developed it with 256M of memory). Performance was not an issue for our use case even with on the order of a million rows in the DB.

comment 9y ago · link · parent

This is a good example of the kind of things pen testers look for when auditing apps. It also shows that even experienced and mature engineering teams can be bitten by fairly basic exploit patterns. Very much worth reading.

For the record I think Teleport is a very high quality and very useful project. Many thanks to them for making this public.

411.

Pentest-Report Teleport Client and Server 04.2017 [pdf](cure53.de ↗)

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

comment 9y ago · link · parent

Timing based UUIDs (type 1) or ULIDs can leak (surprise!) timing information. If you can see them then you can infer the rate at which some resource is being created. For example the rate at which a service is creating users or business transactions. This can be valuable competitive information you don't want to share with the world.

413.

A study of how millions use Xbox Live(arstechnica.com ↗)

57 points · by programd · 9y ago · 5 comments

comment 9y ago · link · parent

Tika has a REST server built in https://wiki.apache.org/tika/TikaJAXRS

Is there some functionality that you need and is not covered there? Some specific document extraction feature?

415.

Sprint Announces World’s First All-Wireless Small Cell – The Sprint Magic Box(newsroom.sprint.com ↗)

1 points · by programd · 9y ago · discuss

comment 9y ago · link · parent

One of the problems is that they're shipping dead trees. No way is this economically sustainable these days. They should have gone all digital and raised their prices long ago.

Let's do some math - how many subscribers do they need to break even if they pare down staff, go all digital, and raise their price a bit? Hand-wavy numbers for minimal viable staffing, but should be order of magnitude correct:

  $ 600,000 Freelancers, $5K per article, 20 articles/issue, 6 issues/year
  $ 200,000 2 editorial
  $ 100,000 1 marketing person, online marketing savvy
  $ 100,000 2 support staff (clerical, PA, etc)
  $ 200,000 2 management/fundraising/operations staff
  $ 100,000 1 webmaster/IT person
  $ 100,000 outsourced services (HR, payroll, website hosting, etc)
$1,400,000 annual burn rate assuming a minimal staff to run just the online magazine and dump print (I acknowledge they have other expenses, but let's ignore them for now)

If you charge $60 for an annual subscription - very reasonable for the content - they would need 23333.33 subscribers to break even.

They got $1.2 million last year in grants, some $9.5 million in funding since 2012. If they can't manage to attract 24K subscribers with that kind of funding they don't deserve to stay in business no matter how good their content is.

I love their content, but they need somebody who knows how to run a business to be in charge.

417.

What’s in a Boarding Pass Barcode? A Lot(krebsonsecurity.com ↗)

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

418.

Mobility best practice in connected workspaces: tiered access at Google(blog.google ↗)

1 points · by programd · 9y ago · discuss

comment 9y ago · link · parent

Awsome! I need to finish that game of Fool's Errand [1] I started a quarter century ago and doing it on a modern machine seems just wrong.

1. http://www.thefoolandhismoney.com/02-FE/index.htm

comment 9y ago · link · parent

I think it was in the book Spycatcher [0] that I recall there was a story of how English intelligence bugged a foreign embassy with a microphone and was able to figure out what they were typing on a typewriter by analyzing the sound of the keystrokes. That was way back in the 1950's I think, so the idea has been around for a while. The book has a lot of interesting details about spy technology at the time. In addition to all the juicy intelligence stories it's also a fun read from a security engineering point of view. The British government tried to ban it which naturally triggered the Streisand effect and made it a best seller.

[0] https://en.wikipedia.org/wiki/Spycatcher

1
1314151617