When designing software that deals with money, special consideration must be given to correctness and security. It is imperative that we build deterministic systems which don't lose data. We do this for two reasons: regulatory requirements and we simply don't know how to value it in the future. That is why event sourcing will be core to Braveno's design. Event sourcing is a very effective design approach to building highly available, deterministic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* What went wrong: | |
Execution failed for task ':install'. | |
> Could not publish configuration 'archives' | |
> org.codehaus.plexus.PlexusContainerException: Cycle detected in component graph in the system: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface Callback { | |
void work(Object... args); | |
} | |
class Foobar implements Callback { | |
void work(Object... args) { | |
Object first = args[0]; | |
Object second = args[1]; | |
// do work | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.zeromq.ZContext; | |
import org.zeromq.ZMQ; | |
import org.zeromq.ZMQ.Socket; | |
import zmq.io.mechanism.curve.Curve; | |
public class Security { | |
public static void main(String[] args) throws Exception { | |
Curve curve = new Curve(); | |
String[] serverKeys = curve.keypairZ85(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From fd8d81e9cb44c80e445374bc825defd0d4d30f24 Mon Sep 17 00:00:00 2001 | |
From: Dimitris Apostolou <[email protected]> | |
Date: Thu, 1 Mar 2018 13:36:19 +0200 | |
Subject: [PATCH] Fix typos in various files | |
--- | |
contrib/epee/include/net/http_client.h | 2 +- | |
contrib/epee/include/net/levin_client_async.h | 2 +- | |
contrib/epee/tests/src/net/test_net.h | 2 +- | |
src/cryptonote_basic/miner.cpp | 2 +- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/projects/monero/monero/build/Darwin/zeromq-rpc/release/bin/monerod --testnet | |
2018-10-18 19:56:57,846 INFO [default] Page size: 4096 | |
2018-10-18 19:56:58.852 0x7fff89c06380 INFO global src/daemon/main.cpp:287 Monero 'Beryllium Bullet' (v0.13.0.3-release) | |
2018-10-18 19:56:58.852 0x7fff89c06380 INFO global src/daemon/protocol.h:53 Initializing cryptonote protocol... | |
2018-10-18 19:56:58.852 0x7fff89c06380 INFO global src/daemon/protocol.h:58 Cryptonote protocol initialized OK | |
2018-10-18 19:56:58.852 0x7fff89c06380 INFO global src/daemon/p2p.h:63 Initializing p2p server... | |
2018-10-18 19:57:02.832 0x7fff89c06380 INFO global src/daemon/p2p.h:68 p2p server initialized OK | |
2018-10-18 19:57:02.834 0x7fff89c06380 INFO global src/daemon/rpc.h:63 Initializing core RPC server... | |
2018-10-18 19:57:02.834 0x7fff89c06380 INFO global contrib/epee/include/net/http_server_impl_base.h:76 Binding on 127.0.0.1:28 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
services: | |
transmission: | |
container_name: transmission | |
image: dperson/transmission | |
restart: unless-stopped | |
depends_on: | |
- plex | |
network_mode: host | |
environment: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
public class Main { | |
private static int TARGET_SUM = 100; | |
private static int[] VALUES = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }; | |
static ArrayList<String> add(int digit, String sign, ArrayList<String> branches) { | |
for (int i = 0; i < branches.size(); i++) { | |
branches.set(i, digit + sign + branches.get(i)); |
This configuration creates an encrypted S3 bucket to store your terraform state with versioning. This bucket is required if you want to store terraform state in the AWS cloud.