115 karma · joined Jun 22, 2011 (15y ago) · 74 submissions
https://github.com/grosskur
https://twitter.com/grosskur
[ my public key: https://keybase.io/grosskur; my proof: https://keybase.io/grosskur/sigs/PwkQHDbvA6SCBe0iJBvcE2oEKco4fY-7ELyc-a9NTR4 ]
comment 4y ago · link · parent
For personal projects, I typically have a single Go binary that serves (1) gRPC, (2) grpc-web (using the Improbable library), and (3) gprc-gateway. Along with protobuf-ts for the client, IMO it's quite a pleasant stack. Glad to see timostamm involved in protobuf-es :)
I'm curious: Can you say more about why you ported the code generator from Go to TypeScript (https://github.com/bufbuild/connect-web/commit/8002c2696aad0...)? Was it is easier to generate code this way, or did it just get too unwieldy to package Go binaries in NPM modules?
2.
Anthos Multi-Cloud Kubernetes Service(cloud.google.com ↗)
1 points · by grosskur · 4y ago · discuss
comment 5y ago · link · parent
comment 10y ago · link · parent
- Basscss [ http://www.basscss.com/ ]
- Tachyons [ http://tachyons.io/ ]
comment 11y ago · link · parent
You maintain a list of packages in a Cask file and run "cask" to automatically download and install them from a repository like MELPA. Like Gemfile or requirements.txt, but for Emacs.
I found this really reduced the number of elisp snippets I've had to write or grab from around the web. Most popular packages are on MELPA, and there's usually a more polished way to accomplish things I was hacking together myself.
comment 11y ago · link · parent
http://www.freedesktop.org/software/systemd/man/machinectl.h...
comment 11y ago · link · parent
The overall idea is to make it as easy as possible to go from source code in a Git repository to a running application. Shipway makes heavy use of the GitHub API and tries to act as a thin layer on top. It sets up a GitHub hook to trigger a Docker build when you push commits. It hosts the resulting Docker images in its own registry, and can execute webhooks after successful builds.
There are a few similar products out there, namely Docker Hub and quay.io. Both are interesting in their own way, but neither allows you to carry over your GitHub organizations and teams and use them with Docker repositories.
I'm excited about all the container hosting options that are starting to mature. Once the Kubernetes API stabilizes, it seems like it could become a standard interface for running containers on any cloud. The EC2 Container Service also looks interesting.
Anyway, thanks for checking it out!
10.
Show HN: Shipway – Docker workflow automation service with GitHub integration(shipway.io ↗)
9 points · by grosskur · 11y ago · 1 comment
comment 11y ago · link · parent
https://github.com/Raynos/mercury
See also Raynos's "NPM-style Frontend" presentation:
comment 11y ago · link · parent
Also check out Heroku's Lumbermill project, which handles extracting router metrics on their platform:
https://github.com/heroku/lumbermill
If you're on AWS, CloudWatch is capable of ingesting log data and extracting metrics via pattern-matching:
http://docs.aws.amazon.com/AmazonCloudWatch/latest/Developer...
When I used Graphite with Nagios, I bypassed all the Nagios data-collection and graphing features. Instead, I funneled all the data into Graphite and used check-graphite to alert on it:
comment 11y ago · link · parent
https://github.com/robertkrimen/otto
Here's an example Go app using otto for React server-side rendering:
comment 12y ago · link · parent
https://github.com/kelseyhightower/confd
Basically, you add confd into your Docker image and execute it at runtime to do just-in-time config file generation. Here's an example for nginx:
https://github.com/grosskur/nginx-confd-dockerfile
You can create separate environment variable files for beta/staging/prod and pass --env-file to "docker run".
This lets you use the same Docker image across all your environments and avoid the operational complexity of mounting config files in Docker volumes.
comment 12y ago · link · parent
https://github.com/spotify/dh-virtualenv
One reason to keep virtualenvs is that the system Python (VM or container) includes extra Python packages that your app may or may not need. If you use a virtualenv, you exclude these system-installed packages and guarantee a clean starting point.
comment 12y ago · link · parent
http://www.catb.org/~esr/writings/taoup/html/ch06s06.html
Or write environment variables to stdout in Bourne shell syntax so the caller call run "eval" on it. Like ssh-agent, for example.
comment 12y ago · link · parent
http://www.brendangregg.com/blog/2014-05-07/what-color-is-yo...
Forcing an HVM guest to use only PV drivers sounds like PVH, which is coming in Xen 4.4:
comment 12y ago · link · parent
The idea is to have a common UI and REST API for building packages and managing repositories across packaging toolchains. Right now it supports rpm+yum and deb+apt. Packages are built in isolated Linux containers using Heroku's buildpack interface. (Would love feedback from anyone who's interested in beta testing.)
Also, have you seen the Omaha protocol?
https://code.google.com/p/omaha/wiki/ServerProtocol
It's used by a lot software, including Chrome and ChromeOS. Recently, CoreOS has built infrastructure with it and they offer a SaaS product for rolling updates. I think they're planning on using it to update Docker containers, too:
comment 12y ago · link · parent
http://crosbymichael.com/dockerfile-best-practices-take-2.ht...
This does seem to get a bit cumbersome. I'm at DockerCon today and Fabio Kung mentioned in his talk that this is one difference from Heroku's container platform---they provide the base image and can update it without requiring you to rebuild your application slug. He said there's been some discussion of a possible "docker rebase" command that would produce new images by replacing lower-level layers while keeping higher-level layers the same.
comment 12y ago · link · parent
It's been packaged up as libsodium:
https://github.com/jedisct1/libsodium
That said, even DJB doesn't trust himself to write bug-free C code: