Skip to content

Instantly share code, notes, and snippets.

View andrewarrow's full-sized avatar
💭
https://andrewarrow.dev/

Andrew Arrow andrewarrow

💭
https://andrewarrow.dev/
View GitHub Profile
package main
import (
"encoding/json"
"log"
maelstrom "github.com/jepsen-io/maelstrom/demo/go"
)
func main() {
// TXIndexLock protects the transaction index.
// The txindex has it s own separate Blockchain object. This allows us to
// capture more metadata when collecting transactions without interfering
// with the goings-on of the main chain.
// Core objects from Server
// Core params object
// Initialize database
// See if we have a best chain hash stored in the txindex db.
// If we haven't initialized the txIndexChain before, set up the
// seed mappings.
digraph regexp {
n0 [label="avosa"];
n1 [label="lulopilato"];
n2 [label="Chiefkeef"];
n3 [label="shadowmonkey"];
n4 [label="GEM_COIN"];
n5 [label="daft"];
n6 [label="zuag2"];
n7 [label="HPol"];
n8 [label="bantg"];
pantonelife was mentioned by 2 other users:
botbets
SmoketheArtist
Luce was mentioned by 3 other users:
CloutCobain
MsBitcoin
sourdough
Scottscoin was mentioned by 1 other users:
randhir
dvo was mentioned by 1 other users:
bitcloutkarma was mentioned by 2 other users:
botbets
BitClout_Artist
FitExpert was mentioned by 1 other users:
LiftClout
youneedsomemilk was mentioned by 1 other users:
YouNeedSomeMilk
angie_mathot was mentioned by 2 other users:
botbets
BitClout_Artist
artz ERR has newlines
Stonedted ERR has newlines
rturovelasco SUCCESS 201
EndGame SUCCESS 114
Sansa_Lanister SUCCESS 106
charliehilton ERR has newlines
shubhang emoji != amount
memes_machine ERR has newlines
Jahnavi SUCCESS 120
Jahnavi ERR has newlines
~/clout-cli $ ./clout ls e90c94c
looks like they quietly added back the top creators ranking view as an option in sidebar
team on dat grind
username ago replies reclouts hash
-------- --- ------- ------- --------
JasonKhoury 9 minutes 0 0 5753a08
JamesHarbal 1 minute 0 0 790813f
net.(*netFD).Read(0xc002527e00, 0xc046250280, 0x1, 0x1, 0xffffffffffffffff, 0x0, 0x32)
/home/aa/go/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc05e5458d8, 0xc046250280, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/aa/go/src/net/net.go:183 +0x91
io.ReadAtLeast(0x166c860, 0xc05e5458d8, 0xc046250280, 0x1, 0x1, 0x1, 0xdc8d7aa575c67d21
, 0xa38d, 0x32)
/home/aa/go/src/io/io.go:328 +0x87
io.ReadFull(...)
/home/aa/go/src/io/io.go:347
github.com/bitclout/core/lib.ReadUvarint(0x166c860, 0xc05e5458d8, 0x3, 0x478160, 0xc058
# List of 2021 Chains
@andrewarrow
andrewarrow / gist:a4d74d0f76b9e4d3d1245463dc7a30b8
Last active October 3, 2022 01:55
fedora 32 install everything needed for coqui-ai / TTS
# https://github.com/coqui-ai/TTS
dnf install python3-devel.x86_64
dnf install espeak
pip install torch==1.8.0+cu101 torchvision==0.9.0+cu101 torchaudio===0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install jieba
dnf groupinstall 'Development Tools'
pip install TTS
tts --text "Hello coqui ai fans this is a voice you can make say what you desire." --model_name "tts_models/en/ljspeech/speedy-speech-wn" --vocoder_name "vocoder_models/universal/libri-tts/wavegrad" --out_path foo.wav