News for hackers. Stuff that matters.

justingood

Re:Shamir’s Secret Sharing Scheme on Thursday November 22, 2018 @08:24AM (#18509832)
I really enjoy that Vault has included the ability to use Keybase to encrypt the initial unseal keys easily: https://www.vaultproject.io/docs/concepts/pgp-gpg-keybase.ht...
Re:How Big Is Amazon? Its Many Businesses in One Chart on Wednesday November 14, 2018 @07:58AM (#18449489)
Fascinating. Similarly, there is one available for the craft beer industry: https://www.themadfermentationist.com/p/store.html#!/Brewery...
Re:Scaling Kubernetes to 2,500 Nodes on Friday January 19, 2018 @05:23AM (#16185244)
The replacement machine will start pulling its data from the remaining nodes when it joins the cluster. However, it's recommended to migrate the failed node's data first if it's greater than 50MB: https://github.com/coreos/etcd/blob/master/Documentation/op-...
Re:Telegram Desktop reaches version 1.0 on Thursday January 12, 2017 @09:04AM (#13382221)
This is useful, but only applies to the sidebar theme. Slack doesn't currently support styling the main window.
Re:Things to avoid in Docker containers on Tuesday March 01, 2016 @07:56AM (#11202257)
This is exactly the conclusion we arrived at. We re-build our base images nightly (including all available updates) and then base the application images on those.
As Musk mentioned [1], landing on the barge is a necessity, due to the speed required to get into higher orbits. It's impossible to return the first stage to land.

[1] https://twitter.com/elonmusk/status/688842435955261440

Re:Red Hat is buying Ansible on Friday October 16, 2015 @02:29PM (#10401196)
We've moved to using Hashicorp's Consul-Template (https://github.com/hashicorp/consul-template). Ansible populates Consul with any required configuration changes during the deployment of a new version, and Consul-Template knows about these changes and automatically writes them to disk. Applications running on the host are then reloaded to pick up the changes.
Re:Red Hat is buying Ansible on Friday October 16, 2015 @02:23PM (#10401152)
We're running all the containers on Mesos hosts, so really all Ansible needs to do for us is talk to Marathon. We realized early on down this path that to accommodate scale we'd need to have some sort of scheduler. Mesos happened to be the most robust.

We originally tried the docker module in Ansible but found it had a few problems. There's been a lot of work on it since, and I expect it will be in a much better state when Ansible 2.0 is released.

Re:Red Hat is buying Ansible on Friday October 16, 2015 @11:51AM (#10400099)
Ansible 2.0 should have some new strategies to speed things up, depending on your requirements: https://docs.ansible.com/ansible/playbooks_strategies.html It will be interesting to see how performance is after it's released.

We eventually settled on having Ansible build an AMI for us that can then be spun up by as part of a Cloudformation template (also initiated by Ansible).

We've actually been moving further and further away from having Ansible handle the configuration management side of things, and deal with Orchestration primarily.

Re:Red Hat is buying Ansible on Friday October 16, 2015 @11:37AM (#10399998)
I'd agree that jinja2 has a perfectly fine way of handling loops, but the problem is that functionality only works in Ansible template files. The Ansible playbook can only make use jinja2 filters to act on variables: https://docs.ansible.com/ansible/playbooks_filters.html
Re:Red Hat is buying Ansible on Friday October 16, 2015 @11:27AM (#10399941)
I think one thing to keep in mind about Ansible is that it's an orchestration tool that also does configuration management. We've integrated Ansible into our workflows in such a way that it kicks off everything we need to do, even if that involves just coordinating some info between APIs. We don't mutate containers at all - merely get Ansible to make things happen around their deployment and communication.
Re:One in Three Farms Is Using FarmLogs on Wednesday September 23, 2015 @07:59AM (#10264467)
Still a bit ambiguous as crop farms aren't the only type of farms - there's a large sector of the industry devoted to livestock.
We tend to handle that part inhouse. We're using Jenkins and have it set up to build a standard set of base images with all the latest updates daily. It can be run on-demand as well.

All containers running code are based on these images, so the updates are picked up on the next build/deploy.

Re:The Umbrella Reinvented on Monday June 22, 2015 @07:28AM (#9757545)
I can second this recommendation. One thing to note: The small folding version is less resilient than the larger model. A fine tradeoff, given its size.
"The technology of deployment does not change 'minutes or hours' into 'days or months'"

I wouldn't say that's true. We're transitioning into multiple languages, and want to have an environment that will allow future languages to be added as required. Building a generic infrastructure to run containers lets us run everything on the same base platform. Otherwise, we'd need to tailor the images and configuration for the individual language type. When a new language is introduced, it can take 'days or months' to get everything working well.

That's not to say Docker doesn't require the same attention to security as other options. This seems to me akin to running a downloaded base VM image without first doing updates.

It's implied that the jobs might be of lower quality, for sure. However, this seems in contrast to their recent 'pay to quit' scheme: http://www.shrm.org/hrdisciplines/compensation/articles/page...
Re:Show HN: QKSMS, an SMS replacement app for Android on Saturday November 08, 2014 @07:41AM (#8576692)
Looks great, but the permissions seem to be a bit heavy-handed. Why does it require access to Wi-Fi and have the ability to add/remove device accounts, for example?