Better HN
topnewbestaskshowjobs
Log inSign up

lstoll

350 karma · joined Mar 22, 2010 (16y ago) · 27 submissions

twitter/github/etc: lstoll
Submissions

1.

An Update on Heroku(heroku.com ↗)

525 points · by lstoll · 9mo ago · 352 comments

comment 4y ago · link · parent

We use an AWS KMS asymmetric key for the CA keys, they're cheap and avoids exposing the private key material in an any way.

For signing SSH certificates, we run a small service (prototype code dump at https://github.com/pardot/sshsigner) that uses this key to sign short lived certificates. Auth to the service is via OIDC issued ID tokens.

On the client side we have a custom SSH agent that uses an ephemeral in-memory private key. The agent manages the OIDC web flow and calling out to the service for signing on demand. This lets us keep the cert duration small and scoped, and allows us to force re-auth for sudo etc. via the web flow.

We also do a similar thing for host keys, IAM auth the instances and sign certificates.

Altogether works well, provides a nice user experience, and keeps long-lived/leakable creds out of out environment.

comment 5y ago · link · parent

I migrated from the EU to the US, but then realised that once everything was factored in (medical, car, housing, cost of living) the taxes were actually worth it, so I moved back to the EU.

comment 5y ago · link · parent

you don't have to predict that exact scenario to know that domestic semiconductor manufacturing is a good idea.

comment 5y ago · link · parent

This is fine while you're employed, but what if you lose your position or decide to take a couple years off? Then it becomes a different equation.

Spread out over time, in the places I lived outside of the US that was not really a concern. Same with most other "social care" situations. In the US, it all felt a lot more tenuous which was a source of constant low-key anxiety.

comment 6y ago · link · parent

Git also supports S/MIME, and GitHub provides a tool to sign commits with this directly https://github.blog/changelog/2018-09-10-smime-signature-ver...

comment 11y ago · link · parent

It used to use RubyEncoder, now it uses something custom. The overhead is very minimal, and it's only when the source is read off disk.

comment 11y ago · link · parent

We just keep all our go code in one repo.

comment 11y ago · link · parent

Heroku already does this pretty well, not sure what the benefit would be?

comment 12y ago · link · parent

There's already a `goenv` https://github.com/wfarr/goenv, that I've been using for a bit. Also can do go version management.

comment 14y ago · link · parent

There is, it's just not officially supported: https://github.com/heroku/heroku-buildpack-php . Github lists it as having 82 forks, so people are definitely playing around with this.

12.

Buildpacks: Heroku for Everything(blog.heroku.com ↗)

134 points · by lstoll · 14y ago · 38 comments

comment 14y ago · link · parent

I'd rather see a benchmark of a more real-world case. These hello world microbenchmarks don't show anything.

comment 14y ago · link · parent

I think if a new 'leader' in version control systems starts to make ground, github could easily adapt and support it. The github magic isn't just git, it's the network and collaboration tooling around your code.

comment 14y ago · link · parent

It is however possibly the only obviously 'Java' experience that most non-techinal people have had.

If you're trying to prove to them that Java is everywhere, this is what's going to make them think "Oh yeah, it's on my computer too"

comment 14y ago · link · parent

How is it flawed? According to the original report IE's handling is correct, it's the spec that's flawed.

comment 15y ago · link · parent

Seems to work fine: http://smooth-stream-686.herokuapp.com/

(code at https://github.com/lstoll/heroku-playframework-scala , basically a simple hello world app)

comment 15y ago · link · parent

I put 8GB in my 5,1 (Late 2008 Unibody 13") a few months ago, and it worked great. It's running 10.6 with the default 32bit kernel and was definitely using the full 8GB, so something has definitely changed at some point. For the record, I got the 8GB from OWC.

comment 16y ago · link · parent

So, what makes that array so fancy? I mean, it's name is fancy, but that is about it. Is that really enough for it to deserve that name?