EFFECTIVE SECRETS WITH VAULT AND KUBERNETES

Kubernetes is the de facto standard for container orchestration and Vault by HashiCorp is the de facto standard for secrets management. Now the question is: how do you combine those technologies so that you can use secrets from your central Vault instance in your Kubernetes applications? One solution would be to use the AppRole auth method. Boostport provides a nice integration of AppRoles in Kubernetes. Another possibility is to use the Kubernetes auth method. This auth method establishes a trust relationship between Vault and your Kubernetes cluster so that you can use a service account to authenticate to Vault.

Read more

CREATING BITCOIN TRADING BOTS THAT DON’T LOSE MONEY

In this article we are going to create deep reinforcement learning agents that learn to make money trading Bitcoin. In this tutorial we will be using OpenAI’s gym and the PPO agent from the stable-baselines library, a fork of OpenAI’s baselines library. If you are not already familiar with how to create a gym environment from scratch, or how to render simple visualizations of those environments, I have just written articles on both of those topics.

Read more

PACKETS-PER-SECOND LIMITS IN EC2

While evaluating the performance of a server application, we eventually (and hopefully) run up against the most fundamental constraining factor: the network. Cloud providers tend to offer somewhat handwavy guidance on networking constraints, especially when compared to the exhaustive literature explaining the quotas for RAM, CPU, and I/O. While working on an unrelated stress test in EC2, we were surprised by some results that led us down the path of investigating EC2 network capacity claims, resulting in this writeup. EC2 documentation describes network performance in terms of maximum available bandwidth.

Read more

TINDER’S MOVE TO KUBERNETES

Almost two years ago, Tinder decided to move its platform to Kubernetes. Kubernetes afforded us an opportunity to drive Tinder Engineering toward containerization and low-touch operation through immutable deployment. Application build, deployment, and infrastructure would be defined as code. We were also looking to address challenges of scale and stability. When scaling became critical, we often suffered through several minutes of waiting for new EC2 instances to come online. The idea of containers scheduling and serving traffic within seconds as opposed to minutes was appealing to us.

Read more

NEW SCIENTIFIC DEVICE CREATES ELECTRICITY FROM SNOWFALL

UCLA researchers and colleagues have designed a first-of-its-kind nanogenerator that can work in remote areas because it provides its own power and does not need batteries. It also acts as a weather station. The researchers call it a snow-based triboelectric nanogenerator, or snow TENG. A triboelectric nanogenerator, which generates charge through static electricity, produces energy from the exchange of electrons. Snow is positively charged and gives up electrons. Silicone — a synthetic rubber-like material that is composed of silicon atoms and oxygen atoms, combined with carbon, hydrogen and other elements — is negatively charged.

Read more

DEEPMIND AND GOOGLE: THE BATTLE TO CONTROL ARTIFICIAL INTELLIGENCE

One afternoon in August 2010, in a conference hall perched on the edge of San Francisco Bay, a 34-year-old Londoner called Demis Hassabis took to the stage. Walking to the podium with the deliberate gait of a man trying to control his nerves, he pursed his lips into a brief smile and began to speak: “So today I’m going to be talking about different approaches to building…” He stalled, as though just realising that he was stating his momentous ambition out loud.

Read more

KUBERNETES 1.14: PRODUCTION-LEVEL SUPPORT FOR WINDOWS NODES, KUBECTL UPDATES, PERSISTENT LOCAL VOLUMES GA

Kubernetes 1.14 consists of 31 enhancements: 10 moving to stable, 12 in beta, and 7 net new. The main themes of this release are extensibility and supporting more workloads on Kubernetes with three major features moving to general availability, and an important security feature moving to beta. More enhancements graduated to stable in this release than any prior Kubernetes release.

Read more

WHAT’S NEW IN KUBERNETES 1.14?

What’s new for Kubernetes 1.14. A preview of the enhancements and new features that Kubernetes 1.14 will contain when released on March 25 2019. A colossal effort spanning almost 3 years, SIG-Windows is promoting the support of Windows Containers to stable. With the introduction of Windows nodes, developers will be able to schedule Windows Server containers and run Windows-based applications on Kubernetes. There is a complete document detailing the features that are “working today”, “going to get included in the roadmap after GA”, or “never going to work on a Windows node”, going over all this will be far too extensive for this post, but you can keep reading here! A huge page is a memory page that is larger than 4Ki.

Read more

HASH YOUR WAY TO A BETTER NEURAL NETWORK

The computer industry has been busy in recent years trying to figure out how to speed up the calculations needed for artificial neural networks—either for their training or for what’s known as inference, when the network is performing its function. In particular, much effort has gone into designing special-purpose hardware to run such computations. Google, for example, developed its Tensor Processing Unit, or TPU, first described publicly in 2016.

Read more

DNA COMPUTER SHOWS PROGRAMMABLE CHEMICAL MACHINES ARE POSSIBLE

The DNA computer works by layers of DNA logic gates attaching to a DNA origami seed (grey). Adapter strands [red] attach at specific locations on the seed, encoding the 6-bit input. DNA single-stranded logic gates [blue, brown, yellow] attach in locations that match the input, solving the algorithm as the system grows. Probably the most masterful and mysterious act of chemical computation is when a single cell usesits DNA to divide, multiply, and specialize to produce a fully developed organism. In research reported this week in Nature, computer scientiststook a small but important step toward harnessing the potential of chemical computation by constructingthe first broadly programmable DNA computer. The system executes a wide variety of 6-bit programs using a set of instructions written in DNA.

Read more