btcinfo  

Hic inserere motto

Deedbot Web of Trust updates - Summer 2020

June 26, 2020 — shinohai

I finally got around to tidying up my WOT on deedbot, so this page will serve as any easy reference of persons I have rated in my WoT. It is an exact mirror of the ratings table found on deedbot here.

Ratings Received
Rating From Timestamp Note
5 spyked 2020-05-26 02:05:28 botworks; qntra; shitcoins
3 BingoBoingo 2016-12-11 03:12:34 Regular Qntra Contributor and TRB-ist
3 asciilifeform 2018-01-24 11:01:20 heathendom newsdesk; pogotronics, trb, FG experimenter
2 billymg 2020-04-26 10:04:36 longstanding #trilema member from before my time. former qntra contributor with a good sense of humor. writes at btc.info.gf/blog
2 danielpbarron 2017-01-23 10:01:50 Puts in the work
2 hanbot 2016-12-24 11:12:23 Avid task tackler.
2 mod6 2015-07-03 03:07:00 Very responsive and helpful testing of TRB & V.
2 pete_dushenski 2016-06-29 10:06:34 trb tester+navigator
1 ag3nt_zer0 2015-07-10 10:07:25 great assist to newb
1 diana_coman 2016-09-03 10:09:37 Held many euloran noob hands.
1 mats 2016-02-14 05:02:09 The Real Bitcoin tester, #b-a regular
1 mircea_popescu 2018-07-18 12:07:20 he used to be a bigshot.
1 whaack 2017-07-19 07:07:11 qntra writer, helped me a bit with my spanish pronunciation
Ratings Sent
Rating To Timestamp Note
5 asciilifeform 2020-06-19 08:06:38 #asciilifeform Writes at: loper-os.org ffa, fg, too much to mention
5 spyked 2020-06-19 08:06:55 #spyked Lisp,botworks, writes at http://thetarpit.org/
4 BingoBoingo 2020-06-19 08:06:42 #agriculturalsupremacy Writes at: http://bingology.net/ and http://mvdstandard.net/ Former Qntra editor.
2 billymg 2020-06-19 08:06:27 Writes at: http://billymg.com/
2 jurov 2020-06-19 08:06:43 #therealbitcoin Boldly continuing work of trb/thebitcoinfoundation. Writes at http://explo.yt/
2 trinque 2020-06-19 08:06:30 #trinque deedbot Writes at: http://trinque.org/ operates http://deedbot.org
2 whaack 2020-06-19 09:06:50 Common Lisp, Guitarrista Writes at: http://ztkfg.com/
1 adlai 2020-06-19 08:06:37 Can be found in #asciilifeform. Lisper that has published useful items.
1 danielpbarron 2018-04-05 08:04:11
1 diana_coman 2020-06-19 08:06:54 Reichsführer of The Most Cvasi Republic of #ossasepia, S.MG.
1 mats 2018-04-05 08:04:10
1 verisimilitude 2020-06-19 08:06:48 Writes at: http://verisimilitudes.net
-1 mircea_popescu 2020-06-19 08:06:37 Ozymandias, Scammed MPEX users despite his rationalizations to the contrary.

Tags: News, Bitcoin, WoT

Botworks - ircbot and logbot genesis

June 21, 2020 — shinohai

Alf has reminded me several times that it might be helpful to publish the sauce for my ircbot setup so this post is an attempt to do just that, and generally make it easier to install the bot components using V. My botworks tree uses trinque's lisp ircbot and logbot combo as the starting point.

A lot of good patches are scattered about on former republican blogs, though it seems I could get none of them to play nice with esthlos-v so a regrind was in order. For ircbot these are:

trinque's ircbot-genesis-kv.vpatch.

ben_vulpes' ircbot-multiple-channels-kv.vpatch.

whaack's ircbot-no-suicide-on-reconnect-kv.vpatch.

Assuming you already have SBCL and quicklisp, you can then use `V` to press ircbot and move the output to your local-projects directory:

v press ircbot-no-suicide-on-reconnect-kv out

mv out/ircbot ~/quicklisp/local-projects

The process is repeated to add the logbot system. While testing the regrinds I came upon a curious problem where adding ben_vulpes "logbot-multiple-channels" patch caused an error when trying to start logbot. Simply pressing the logbot genesis and running the bot is working, so I will continue to debug the issue and post results in a future botworks piece. The logbot requires that postgres be installed on your system, whaack has a good piece on how to do this on his blog, if you aren't familiar with setting that part up.

v press logbot-genesis-kv.vpatch

mv out/logbot ~/quicklisp/local-projects

With both of these components installed where ASDF can find them running the bot is as simple as firing up a REPL, adding your parameters and connecting to it according to the instructions in the "logbot/USAGE" file.

TODO:

Put together a better prefixed command system, the system I am currently using works but needs quite a bit of polish before being worthy of turning into a vpatch.

Cobble together a www log reader for use with the logbot system.

Links to useful lisp botworks resources:

trinque's sources: http://trinque.org/src/

ben_vulpes' post on multiple channels: http://cascadianhacker.com/correction-multiple-channel-patches-for-irclogbot

spyked's botworks vpatches: http://lucian.mogosanu.ro/src/botworks/v/patches/

whaack's post on setting up trinque's logbot: http://ztkfg.com/2019/12/setting-up-trinques-logbot-on-centos-6-with-sbcl-quicklisp-swank-and-postgres/

Tags: News, Lisp, UNIX

USSA Report: Github gets blacked and pics from inside Veganzuela

June 15, 2020 — shinohai

Here are a few interesting items occurring in the United Socialist States of America this week.

Shithub announced they will be replacing the word "Master" as the name of the default branch name which they hope will help by "removing racially-charged language"1 from the open-sores platform. Github/Microshit "developer" Johannes Schindelin was quoted in the issue comments saying he was prepared to bow to his BLMasters:

"At this point, I don't think it matters what the intention behind the word is. It incites emotional distress. So we should move away from it."

Other useless "software developers" following suit include OpenSSL, Curl, and Powershell. (archived)

The Supreme Court ruled Monday afternoon that if you have employees that cosplay furries or someone of the opposite gender that you are stuck with them for the foreseeable future, so expect offense from the masses.

The Republic of Veganzuela inside Seattle is entering it's second week, even as US President Donald Trump threatened to https://archive.is/W984k restore "law and order" by dismantling the area surrendered by Seattle police. A white flag was not used in the surrender so as not to incite racial tensions.

Persons armed with AR-15's helpfully collect the $10 for black people tax upon entry.

Once inside, visitors are treated to sights such as lush gardens and the luxury accommodations that dot the landscape of this idyllic socialist paradise.

A separate piece will document any further activity in and around the Veganzuelan border.

Read more...

Yet another musl trb build instructional

April 30, 2020 — shinohai

A recent post by DC University alumni1jfw proposed significant changes to the trb build system amongst them one that does away with the `makefile.unix` file in trb source directory. This build takes a different tack and changes next to nothing of the original structure, while still getting a statically linked bitcoind.

I started by adding a profile for my toolchain at `/etc/env.d/gcc/` and named it "x86_64-pc-linux-gnu-musl-4.9.4". Now one can switch to it any time you please using gcc-config.

# gcc-config -l
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-9.2.0
 [3] x86_64-pc-linux-gnu-musl-4.9.4 *
<~snip~>

I choose profile 3, ensuring we use the correct toolchain.

# gcc -v
gcc version 4.9.4 20160426 (for GNAT GPL 2016 20160515) (GCC)

Press trb in the same way as described on existing foundation "how-to" page, then proceed to the build directory:

v press mod6_whogaveblox trb054`
`cd trb054/bitcoin/build`

Build the 3 main trb dependencies (listed as #Turds! in rotor ), much as Jacob described in his article, and installed them to the `./ourlibs` directory. I also host my own mirror the dependency artifacts on deebot here so I grabbed the necessary items:

boost_1_52_0.tar.bz2

openssl-1.0.1g.tar.gz

db-4.8.30.tar.gz

In this directory I also put a modified version of the "rotor_bitcoin_only" script called `build.sh` that absolutely, positively *does not remove* makefile.unix. It contains:

#!/bin/sh

######################################
#Turds!
OPENSSL=openssl-1.0.1g
BDB=db-4.8.30
BOOST=boost_1_52_0
######################################
TOOLCHAIN="/usr/local/x86_64-linux-musl/"
DIST=$(readlink -f ./distfiles)
OURLIBS=$(readlink -f ./ourlibs)

#TOOLCHAIN
export CC=$(readlink -f $TOOLCHAIN/bin/x86_64-linux-musl-gcc)
export CXX=$(readlink -f $TOOLCHAIN/bin/x86_64-linux-musl-g++)
export LD=$(readlink -f $TOOLCHAIN/bin/x86_64-linux-musl-ld)

export CFLAGS=-I$(readlink -f $TOOLCHAIN/usr/include)
export LDFLAGS=-L$(readlink -f .$TOOLCHAIN/usr/lib)
export PATH=$PATH:$(readlink -f $TOOLCHAIN/usr/bin)

#LIBS
export OPENSSL_INCLUDE_PATH=$OURLIBS/include
export OPENSSL_LIB_PATH=$OURLIBS/lib

export BDB_INCLUDE_PATH=$OURLIBS/include
export BDB_LIB_PATH=$OURLIBS/lib

export BOOST_INCLUDE_PATH=$OURLIBS/include
export BOOST_LIB_PATH=$OURLIBS/lib

cd ../src;
make STATIC=all -f makefile.unix bitcoind
strip bitcoind
mv bitcoind ../bin

Now run `./build.sh The output for me is a 5M statically linked trb. It took about ten minutes for me to build.

bitcoin/bin # file bitcoind
bitcoind: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped

bitcoin/bin # echo "Size: $(du -h bitcoind)-$(ldd bitcoind)"
Size: 5.0M	bitcoind-	not a dynamic executable

I am pleased with the results as they are on this one. Aside from the benefit of losing the tedious buildroot process, I'm choosing not to change much right now here and leave trb the fuck alone.2

Read more...

WIP: A static GNAT with musl, NoSuchLabs Edition.

April 26, 2020 — shinohai

A discussion in the #asciilifeform irc chan earlier this month revealed that many of the original Adacore mirrors for building GNAT no longer resolve. A fellow named jfw undertook the task of mirroring the necessary items, and wrote about the process on his blog, which is well worth a read. To further help preserve these items, asciilifeform was kind enough to upload them to his website (along with a handy archive of Gentoo distfiles - but that is fodder for another post).

The above bitrot problem means that building ave1's musl GNAT suite as it exists no longer works, so I decided to attempt replacing the broken links in the build scripts with the working set from NoSuchLabs. For interested parties I have mirrored ave1's tarball HERE and a patch with the current bare-minimum link changes to get it working HERE. This item is a WIP, so I haven't yet replaced 100% of the original links, but readers are invited to join #asciilifeform on freenode irc to complain and/or suggest ways to improve it.

After applying the patch, following the build instructions in ave1's README file should produce a static GNAT and GCC-4.9.4 toolchain, perfect for use with FFA and other goodies. I will update this post as changes are made to the build scripts.

Tags: News, Ada, UNIX

Experimental vpatches for trb

April 19, 2020 — shinohai

I have decided that my trb mirror could use an experimental patch section as a place to aggregate vpatches I have found useful over time, but aren't part of the "official" trb tree. I have serious reservations as to how much longer btcbase will exist - If the end of TMSR and the Qntra exit scam is any indication, it might be best to grab these items while the getting is good.

The first item in this section doesn't herald from btcbase however, but from Jacob Welsh's Fixpoint blog. This experimental patch adds a "getrawtransaction" rpc call. The only issue I had in applying this patch was due to differences in naming styles of the manifest file, so the item I include here is reground with a note in the manifest that jfw is the original author along with an update of the block time. It should be noted that the patch does not have a corresponding seal at this time, making it a "use at own discretion" item. The bitcoin_getrawtransaction.vpatch can be found HERE.

That'd be it for now. Future updates to the experimental section will likely include a regrind of asciilifeform's "Shiva" and polarbeard's "sendrawtransaction" vpatches, as those are the items I am most familiar with.

Tags: News, Bitcoin, UNIX

tgbot - a Telegram bot in Bash

March 14, 2020 — shinohai

tgbot is, as the title says, a extensible Telegram bot written in Bash. It is what telegram-bot-bash was originally supposed to be before it became a bloated clusterfuck.

But why Bash? Because it's everywhere. This bot is mainly useful for folks that want to quickly set up a bot to automate tasks or announce rss feeds in a Telegram group. This functionality isn't included in this vpatch, but instead the user is invited to write their own commands and functions. Examples are included in the "commands" script.

To use:

Grab the vpatch and seal from here and press using a keccak-based vtron.

Make the following files executable:

  • commands
  • global
  • sendNotify
  • JSON.sh
  • tgbot

Create a new bot by sending a message to @BotFather. After completing the creation steps, copy your token to the "token" file, and save with user-readable permissions.

Then start the bot in a tmux or screen session by simply running `./tgbot`. The bot writes it's logfile to "logfile.txt" in the directory it is running in.

Don't:

Run this bot with root permissions, even if "just testing"! Telegram is a cesspool and you will quickly come to grief.

Otherwise, enjoy.

Tags: News, UNIX

Trilema announces closure

March 12, 2020 — shinohai

Mircea Popescu published a blog post earlier this morning announcing the end of "TMSR" activities on Trilema, presumably so he can focus his time on other important activities such as hippo training.

For some strange reason, the burning fires and attrition rates in the past few years reminded me of an excerpt by Mark Twain:

We played robber now and then about a month, and then I resigned. All the boys did. We hadn’t robbed nobody, hadn’t killed any people, but only just pretended. We used to hop out of the woods and go charging down on hog-drivers and women in carts taking garden stuff to market, but we never hived any of them. Tom Sawyer called the hogs “ingots,” and he called the turnips and stuff “julery,” and we would go to the cave and powwow over what we had done, and how many people we had killed and marked. But I couldn’t see no profit in it. -Huckleberry Finn.

The future of other former TMSR endeavours, such as Qntra and Eulora, remain unclear at this time.

Tags: News, Lulz, TMSR