Skip to content

Instantly share code, notes, and snippets.

@bitstein
bitstein / The 24 Risks of Equities with Michael Saylor.md
Last active February 20, 2023 16:41
Whisper generated transcript of the 24 Risks of Equities with Michael Saylor from the Bitcoin Layer Podcast

The 24 Risks of Equities with Michael Saylor

Watch on YouTube

Introduction

Nik Bhatia: Welcome back to the Bitcoin layer. I'm Nik Bhatia. And today we bring back Michael Saylor. Michael, thank you so much for joining us again.

Michael Saylor: Yeah, awesome to be here, Nik.

@bitstein
bitstein / halving.sh
Last active May 11, 2020 15:05 — forked from mutatrum/halving.sh
Get estimated halving date from a bitcoin node
#!/bin/bash
CURRENT_BLOCK="$(bitcoin-cli getblockcount)"
if [ $CURRENT_BLOCK -ge 630000 ]
then
SUBSIDY=$(bitcoin-cli getblockstats $CURRENT_BLOCK | jq '.subsidy')
SATS_PER_BTC=100000000
SUBSIDY_BTC=$(bc -l <<< "scale=2; $SUBSIDY / $SATS_PER_BTC")
echo "HALVING COMPLETE!"
echo "Current block: $CURRENT_BLOCK"
echo "Current subsidy: $SUBSIDY_BTC"
@bitstein
bitstein / ocr2speech21.py
Created April 1, 2016 01:40
ocr2speech21
import base64
import two1.mkt as mkt
image_url = "http://i.imgur.com/U86mtM1.png"
chinese_text = mkt.ocr2txt21.detect(image_url=image_url)['text']
english_text = mkt.translate21.translate(text=chinese_text)['results']
wavfile = mkt.txt2speech21.en({"text": english_text.strip()})['data']
#!/usr/bin/env python3
import json
import os
import sys
# import from the 21 Developer Library
from two1.commands.config import Config
from two1.lib.wallet import Wallet
from two1.lib.bitrequests import BitTransferRequests
@bitstein
bitstein / block-anti-trust-joke.md
Created December 3, 2014 01:14
Walter Block Anti-Trust Joke

Walter Block had a joke he originally gave to a room full of anti-trust lawyers:

First joke is that there are three prisoners in the gulag in the former Soviet Union. The three find out why each of them is there. The first said that he came late to work and was accused of cheating the State out of labor. The second guy said that he came early and was accused of trying to out-compete his comrades. The third guy said that he came to work everyday and exactly on time, and the KGB accused him of owning a Western wristwatch.

Second joke is that there are three prisoners in the U.S. They were all in jail for economic crimes of violating monopoly laws. First guy said that he charged higher prices than anyone else and the government then accused him of price gouging and profiteering. Second guy charged lower prices than anyone else and they accused him of predatory and cutthroat pricing. And the third guy said that he charged the same prices as everyone else and they accused him of collusion and price fixing.

Verifying that +bitstein is my Bitcoin username. You can send me #bitcoin here: https://onename.io/bitstein
@bitstein
bitstein / SNI-Mempool-Crash-Course.md
Last active April 30, 2020 23:38
SNI Mempool Crash Course in Bitcoin Political Economy

The following is a partial annotated bibliography of SNI Mempool, building the case for why Bitcoin will displace all competing currencies, including altcoins, fiat money, and precious metals:

In terms of monetary policy, Bitcoin is the greatest money the world has ever seen.

Unsurprisingly, Bitcoin has gained substantial popularity, and there is no reason to believe it will not continue to grow. This growth is not merely a bubble.

Keybase proof

I hereby claim:

  • I am bitstein on github.
  • I am bitstein (https://keybase.io/bitstein) on keybase.
  • I have a public key whose fingerprint is 2CEA 8148 04FC F14D 9C1A E8EA 1EA2 662D EB2F EFBE

To claim this, I am signing this object: