Skip to content

Instantly share code, notes, and snippets.

View chromatic's full-sized avatar

chromatic chromatic

View GitHub Profile
@chromatic
chromatic / nostr-bounties.md
Created July 31, 2023 00:32
Draft of NIP for Bounties

NOT A NIP (YET)

Nostr bounties

draft optional author:chromatic

Terms

  • bounty an offer to pay a reward for fulfilling a condition
On behalf of the Dogecoin developers and all contributors, I'm pleased to announce the release of Dogecoin Core 1.14.6.
This is a new minor version release, including important security updates and changes to network efficiency. All Dogecoin Core users - miners, services, relay operators and wallet users - are strongly recommended to upgrade. Binaries are available now from:
[https://github.com/dogecoin/dogecoin/releases/tag/v1.14.6/](https://github.com/dogecoin/dogecoin/releases/tag/v1.14.6/)
Updates fall into four categories:
1) Security updates, including removal of long-deprecated code, hardening of protocol and transaction networking mechanisms, and reducing memory use especially on small nodes
Initializing test directory /tmp/testyozcvsgz/209553
DEBUG:BitcoinRPC:-1-> getblockcount []
DEBUG:BitcoinRPC:-2-> getblockcount []
DEBUG:BitcoinRPC:<-- {"result":null,"error":{"code":-28,"message":"Loading wallet..."},"id":2}
DEBUG:BitcoinRPC:-3-> getblockcount []
DEBUG:BitcoinRPC:<-3- 0
DEBUG:NodeConn(127.0.0.1:15439):Send msg_version(nVersion=70014 nServices=1 nTime=Mon Jun 20 22:24:11 2022 addrTo=CAddress(time=0, nServices=1 ip=127.0.0.1 port=15439) addrFrom=CAddress(time=0, nServices=1 ip=0.0.0.0 port=0) nNonce=0xA242A41B6B1B269D strSubVer=b'/python-mininode-tester:0.0.3/' nStartingHeight=-1 nRelay=1)
MiniNode: Connecting to Bitcoin Node IP # 127.0.0.1:15439
DEBUG:NodeConn(127.0.0.1:15439):Send msg_version(nVersion=70014 nServices=1 nTime=Mon Jun 20 22:24:11 2022 addrTo=CAddress(time=0, nServices=1 ip=127.0.0.1 port=15439) addrFrom=CAddress(time=0, nServices=1 ip=0.0.0.0 port=0) nNonce=0xEE736862FAC60C88 strSubVer=b'/python-mininode-tester:0.0.3/' nStartingHeight=-1 nRelay=1)
@chromatic
chromatic / gist:9262349
Last active August 29, 2015 13:56
Failing patch for Rust #12378
diff --git a/src/librustc/middle/trans/controlflow.rs b/src/librustc/middle/tran
index ad575eb..8875283 100644
--- a/src/librustc/middle/trans/controlflow.rs
+++ b/src/librustc/middle/trans/controlflow.rs
@@ -14,6 +14,7 @@ use middle::trans::base::*;
use middle::trans::build::*;
use middle::trans::callee;
use middle::trans::common::*;
+use middle::trans::datum::{Datum, Lvalue, Rvalue, ByValue};
use middle::trans::debuginfo;
@chromatic
chromatic / gist:8814979
Created February 5, 2014 00:03
Cleaned up warning in Rust tutorial
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md
index a7696b4..75a5840 100644
--- a/src/doc/tutorial.md
+++ b/src/doc/tutorial.md
@@ -509,7 +509,7 @@ fn angle(vector: (f64, f64)) -> f64 {
let pi = f64::consts::PI;
match vector {
(0.0, y) if y < 0.0 => 1.5 * pi,
- (0.0, y) => 0.5 * pi,
+ (0.0, _) => 0.5 * pi,
@chromatic
chromatic / gist:8467580
Last active April 17, 2017 20:33
A very basic, procedural TAP library for the Rust language (hardly idiomatic, but it's my second day)
#[crate_id(name = "rusttap")];
#[crate_type = "lib"];
#[feature(globs)];
#[desc = "TAP implementation for rust"];
#[license = "BSD"];
#[allow(dead_code)];
#[allow(unused_variable)];
pub mod rusttap {
use std::io;