note that it's possible to do this today by investing 1:2:1 in USDC:ETH:DAI! just have to find someone willing to hedge your ETH position (maybe collateralized by your liquidity shares??) 😉
— Noah Zinsmeister 🦄 (@NoahZinsmeister) April 19, 2019
Category: Uncategorized
Gas
“It is fine if you do not understand everything right now, we will go into more detail later.”
— http://solidity.readthedocs.io/en/develop/introduction-to-smart-contracts.html
Modify jenkins sshd server to run interactive bash shell
Step 1: Modify jenkins sshd server
This will additionally run a bash shell
Turn on jenkins sshd server and set port.
// Activate sshd server // "Manage Jenkins" // -> // "Configure Global Security" // then copy/paste this into script console import jenkins.model.*; import org.apache.sshd.server.shell.*; def inst = Jenkins.getInstance() def sshDesc = inst.getDescriptor( "org.jenkinsci.main.modules.sshd.SSHD") sshDesc.sshd.setShellFactory( InteractiveProcessShellFactory.INSTANCE) println 'Done with step 1!'
Step 2: get sh shell
ssh -p <jenkins-sshd-port> <jenkins-fqdn>
Step 3: get python shell
python -i
Step 4: spawn pty bash shell
>>> import pty >>> pty.spawn("/bin/bash")
NOTE: bash shell has a weird double echo effect
Hashimoto on Terraform and Consul
In this infoq talk, Mitchell Hashimoto gives an overview of Terraform and Consul: what they actually do, and how you might use them to solve specific problems. The best thing about this talk is the chance to see how Hashimoto envisions some of these problems that are common to almost all large scale distributed software systems, and how his vision shapes the tools that come out of Hashicorp.
Many great points made in this talk, but if you were to pull away one key point form this talk, it’d be this: containers are probably here to stay, but they aren’t the entire story when it comes to running distributed systems. In the midst of the overwhelming (and justified) hype surrounding Docker and its burgeoning software ecosystem, it’s important to note that a lot of problems in the datacenter are orthogonal to containers and the problems they aim to solve.
While containers do solve a lot of problems, and people are quick to adopt them because of their advantages, we all realize very quickly that their are a lot of other pieces to this puzzle that containers just don’t address at all
First post
Welcome to thenateway! Right now this is mostly a tool for self-promotion, but I intend to add some interesting and informative content in the future. Thanks for visiting!