Forward-looking report: Weeks 28-31 of 2019

July 7th, 2019

Since the previous report, I managed to hit my goal of loading 100 more lines of the mod lisp coad into my head. For my practical work plan, I will continue to hit this goal of ~100 lines per week for the next 4 weeks.

However, it has become clear to me that I need to remedy some things in my private sphere as a priority, before I can really work/grow at the level I want. It has become clear to me that in order for me to start taking my own life back, I need to start at my home base of operations. Simply scheduling my TMSR work is not enough to fix my real issue.

I'll save the (boring) details for a later, more reflective post after-the-fact, but for now let's just say I need to make some small (and long-overdue) logistical changes in my life that will require a lot my attention in the short-term , with the aim that it'll both greatly reduce my expenses, and greatly increase my free time in the long-term.

Forward-looking report: Week 27 of 2019

June 30th, 2019

It is said that in every functional system, the buck must stop with a single authority, lest everything melt into a bureaucratic soup. Well, in the logs of June 22nd the authority of the world's only sovereign was not happy, and knocked most of the L1 over the head for lack of clear, forward-looking communication.

Indeed, I am guilty of recently engaging in the described orc-activity, so I will try to address this via weekly forward-looking reports on what I intend to do that week.

We are about to enter week 27 of 2019. The current item in my conveyor is chewing through the mod_lisp coad. I've mentioned it in the logs (and on my blog), but I'll say it again here: I am 100% new to C, so I am putting my face to the cheese grater (to borrow a hanbot-ism) as I eat each line. It is slow going but I'm grokking enough to be able to answer to the coad once I sign it (which is my goal here).

Still, it'll probably go faster if I pull my head out of my ass and actually structure my learning/reading. As such, I've 'loaded in my head' up to line 185 so far1, so I'll aim to grok up to ~line 285 by next week's report. I've got a lot of $saltmine work coming up in the next two weeks, but somehow I need to find a way to get real work done. Let's see if this small chunks thing works.

  1. which, admittedly, is pretty sad for a month's time... []

Hopper Update: May 2019

May 16th, 2019

Since January's hopper update, I managed to get Cuntoo working for me and released the vpatch for auctionbot. Next up:

cl-wwwism kit - There's definitely a need for some basic www interfacing tools to be genesis-ed, and to be frank I'm not sure atm what the 'final kit' might look like exactly. However, this may not be a problem right now because the v-approach to things seems to be a piecemeal approach; building yggdrasil as it were. In any case, spyked has outlined for us some basic elements for such a kit:

  • http server
  • curl
  • html gen
  • So I decided to attack the http server piece and am currently chewing through the mod_lisp coad,1 and once it fits in my head I will poop out a genesis.

    logotronics - This item depends on some of the www interfacing items mentioned above, namely: the html generator and http server. However, it'll also require some Postgres interfacing to retrieve loglines from the log table that logbot uses. Once everything exists I will spin up a few auxiliary logotrons for channels like #pizarro and #trilema (or any others on request), as well as look into Mr. P's request re:

    mp_en_viaje: lobbes, can you do that ? make your logger 1) log ~every irc channel over 50 users~, 2) produce this data upon request by a lord only, and for pay ?

    other items - Once the above items start taking more shape, I aim to circle back to the remaining items in

    1. Which is taking me time since I know not C nor really Common Lisp yet, so it is currently a 'line-by-line with the respective reference manuals in-hand' exercise. []

    Auctionbot: vpatch and manifest

    April 26th, 2019

    patch: logbot_command_router_python_auction.vpatch

    signers: lobbes

    This vpatch extends logbot command router to add auction functionality and builds upon the Keccak regrind of the botworks V tree. As I understand it, here is what that tree looks like today with the addition of this vpatch:


    Press logbot_command_router_python_auction via your preferred V:

    mkdir botworks; cd botworks; mkdir .wot

    #You'll need the keys for both lobbes and spyked in .wot init p v logbot_command_router_python_auction logbot_command_router_python_auction.vpatch

    From the INSTALL:



    After pressing and assuming you have already configured the command router (see the parent README), all you need to do is run the auctionbot.sql against the postgres database used by the command router. This will create all of the auction tables (they all will be prepended with "auct_"). From there, just start up the command router (i.e. ./ and all of the auction commands should function (creating auctions, bidding, etc.)


    su postgres -c 'psql -f auctionbot.sql postgres'



    This bot does not have a SCHEDULER baked in (for e.g. listing auctions out in a channel every X hours). This was intentional, as I wanted to leave that portion up to the operator.

    Nevertheless, it is CRUCIAL you schedule a recurring call of at least the 'resolve' command, as this will ensure all of the auctions are properly resolved and closed as they expire. I recommend calling this once every minute.

    How I have personally handled this is I have a few cron jobs that run INSERT statements against the postgres database every X interval. Examples below.

    -Example SQL to essentially call the 'list' command 'from' #lobbestest:

    INSERT INTO log(target, message, source) VALUES ('#lobbestest','?Xlist','auct_cron');

    What this does is insert a record into the log table used by the parent logbot. The command router sees this as the command 'list' coming from '#lobbestest' issued by the nick 'auct_cron', and responds by listing in that channel.

    Some may see this as 'tainting' the log table with 'false' loglines, but if you are thoughtful about it you can make it so those records can be easily filtered out of, say, a logotron's display (a 'reporting' database ought to be separate from a 'production' database anyways, imho).

    -Then I simply add these 'one-liner' sql scripts to run on a cron job. Here's one of my crontabs, for example:

    * * * * * su postgres -c 'psql -f /home/lobbes/auctionbot/auct_schedule_cmd_resolve.sql postgres'

    0 * * * * su postgres -c 'psql -f /home/lobbes/auctionbot/auct_schedule_cmd_list_lobbestest.sql postgres'

    0 */5 * * * su postgres -c 'psql -f /home/lobbes/auctionbot/auct_schedule_cmd_list_eulora.sql postgres'

    0 */5 * * * su postgres -c 'psql -f /home/lobbes/auctionbot/auct_schedule_cmd_list_pizarro.sql postgres'

    0 */5 * * * su postgres -c 'psql -f /home/lobbes/auctionbot/auct_schedule_cmd_list_trilema-lobbes.sql postgres'

    From the manifest:

    424545 ircbot-genesis trinque ircbot genesis,
    424689 logbot-genesis trinque logbot genesis,
    447104 ircbot-logbot-multiple-channels-corrected ben_bulpes multiple channel support for ircbot and logbot,
    539566 logbot_command_router_python_genesis lobbes logbot command router for python,
    573368 logbot_command_router_python_auction lobbes auction commands for logbot command router,

    Signature for spyked's Keccak regrind of logbot_command_router_python_genesis

    April 2nd, 2019

    I have read and tested spyked's Keccak regrind of logbot_command_router_python_genesis.

    Below is my signature for the Keccak version of logbot_command_router_python_genesis.vpatch















    -----END PGP SIGNATURE-----

    A bridge to Cuntoo: for the Lenovo x61 (x86_64)

    February 25th, 2019

    For additional Cuntoo baking documentation, see:

    The following is my collected notes on my journey to a bootable Cuntoo usb drive for use with the Lenovo x61. This was a 'clean slate' restart from my previous (failed) attempt, as this time around I installed a heathen, hand-rolled Gentoo on the Lenovo first, then used the Lenovo to install Cuntoo to a usb drive, then booted the Lenovo from the usb drive.

    Before I get into the details, here's the vpatch produced and kernel config1 used:

    genesis.vpatch (trinque's keccak sig, for convenience)


    Note: Sig verified for me after making the recommended change to line 14 of scripts/

    Step 0: For the love of Christ, remember to use Screen. (or at least some kind of sane logging)

    On my first run-through, I had the great gall to forgo typing "screen -L" before starting my adventures. While perhaps obvious to most, it is something that no one ever wished they didn't do.

    Step 1: Install the heathen Gentoo

    I used a Gentoo "LiveUSB"2 and a recent stage3 tarball3 from, then proceeded to follow the Gentoo handbook:

    This was my first successful Gentoo install, so it took me about 2 weeks of reading that handbook4 and troubleshooting various woes, but eventually I got it. For the more seasoned Gentoo-ists in the audience, this will probably be the easier part.

    Step 2: Get your Republican toolbox in order (on the Gentoo bridge):

    Make sure you have the proper gcc and gnupg versions

    I had applied asciilifeform's battle-tested crapolade masks to  /etc/portage/package.mask, but I must've forgotten something because after Gentoo installed I found that I still needed to roll my gcc and gpg versions back.

    First, I had to set a  /etc/portage/package.unmask on:


    Then emerged gcc:

    emerge -a =gcc-4.9.4

    This took roughly 2 hours or so, afterwards:

    gcc-config 1


    Apparently, the portage I ended up with5 required at least gnupg 2.2.4, so I had to roll my portage back to 2.3.8 so it'd play nice with gnupg-1.4.21:

    emerge -a =sys-apps/portage-2.3.8

    emerge -a =app-crypt/gnupg-1.4.21

    Install musl

    This was pretty straightforward, and most of what I needed was in the faq For reference, the release I used was From the horse's mouth:

    How do I build musl?

    In short, simply run ./configure and make. By default make install installs to /usr/local/musl. You may override this by passing --prefix to configure...

    ...For further details, see the INSTALL file provided with the source distribution.

    Note: after installing, remember to add it to your PATH, e.g.:

    export PATH=$PATH:/usr/local/musl/bin

    You can test that you added it by issuing something like the following:

    musl-gcc -v

    Install Adacore GNAT 2016

    In order to build ave1's GNAT later, you need Adacore GNAT 2016 first.

    Head to, filter on "x86 GNU Linux (64 bits)" and for the year choose "2016". Grab the tar, and the README.txt. Read and follow the latter.


    SHA-1: 18da74a0ac9df2753bfd9b3d2dcad6e3379825c2


    SHA-1: 845147a8c6ef6af29a68144d6b3d228fd226268e

    Like with the musl install, remember to add the directory gnat was installed in6 to your PATH. Issue something like "gnatmake -v" to verify

    Build ave1's GNAT:

    Head to and follow the excellent README.

    Note: As always.. PATH! However, this time, make sure your heathen GNAT is no longer in your path and ave1's is.

    Get a V setup going that calls out to phf's vtools:

    You will need a V that uses phf's keccak-ized vtools. hanbot covers this topic pretty thoroughly in her notes (linked at the top), so I won't rehash too much.

    For me, I ended up going with diana_coman's setup outlined in, and it is working splendidly.

    Step 3: Cuntoo

    This is amply documented at this point, both on and the other guides, so I see no need for a step-by-step.

    However, I did hit the following rock using my initial kernel config. The following spew erupted in the middle of building the kernel7:

    error reading elf file init/calibrate.o

    make[1]: *** [scripts/ init/calibrate.o] Error 1

    make[1]: *** Waiting for unfinished jobs....

    GEN     usr/initramfs_data.cpio.gz

    AS      usr/initramfs_data.o

    elf_getdata: No error information

    error reading elf file usr/initramfs_data.o

    .... [and so on for a dozen or so more files] ...

    Now, I have not confirmed 100% this was what my issue actually was, but I ran across the following bug report in the wild that described symptoms that were similar to mine:

    Apparently there's a kernel option called CONFIG_STACK_VALIDATION that does some checks at compile time, analyzing all the .o files and validating the metadata. It is also supposed to be disabled by default, but I somehow managed to enable it. And according to the bug report:

    These are caused by circular dependencies. The %.o pattern rules in
    scripts/ have the stackvalidate binary listed as a
    dependency. But stackvalidate gets built *after* archprepare and
    scripts/mod, both of which build objects using the %.o pattern rules.

    So, it looks like scripts/ tries to look for stackvalidate before it is built, causing some barf.

    Anyways, disabling CONFIG_STACK_VALIDATION by setting it to "blank" did the trick for me8. Kernel built without issue.

    ...and that was it! After my kernel config woes were out of the way, the rest went smoothly. The Lenovo booted into Cuntoo from the usb stick and I was able to login with the user/pass I had set.

    1. generated via 'make menuconfig' []
    2. install-amd64-minimal-20190115T214502Z.iso []
    3. specifically: stage3-amd64-20190122T214501Z.tar.xz []
    4. indeed, I made sure it was word by fucking word []
    5. 2.3.51-r1 []
    6. for me, this was '/usr/gnat/bin' []
    7. If you're using the handy "", the lower-level "" contains the call to "make all'" []

    Anglotardation in an Object Oriented World

    February 23rd, 2019

    While slowly working through my very rough draft of Why TMSR and mulling over what loglines to include, the following jumped into my head (thankfully, I found it):

    mircea_popescu: there's nothing BEYOND the world. the things claimed to be so are always and without exception ~inferior~ not superior in the tree of things. one's fantasies of self-realisation, be they wet dreams about little miss rottencrotch two chairs down in chem class or "the rapture", are just so much teenage wank.

    god is ~just another trope~. like "the voyage", like "the teenage witch", like "vampires" or "magic horses" or "the island of buyan", god is just another trope. tropes are common places of fiction. fiction is a product of imagination. imagination is mildly-restrained psychogenic noise, which is a class of noise, like wetware thought or like fg output. which are phenomena, which is one half of the world (the other half being objects).

    The bolded bits, especially, are what stuck in my mind, and it makes sense to me: We exist in the world as objects (with other objects that don't necessarily belong to the "we" set), and the interaction between them is the phenomena. This simple classification put much into focus, and honestly I wish I heard that in kindergarten instead of the mandatory day of "lets sit in chairs and pretend we're flying to Disneyland" (literally, they did this)

    This logline of thought eventually led me back to my copy of "Kritik der reinen Vernunft" von Kant. I've been very slowly chewing through that thing, and each sentence probably takes me good 30 minutes to really grok because I cross-reference each translated word, trying to make sure I'm actually getting the correct meaning. The point being: It takes time, but at the end of it I can actually understand (I think) what the original author means.

    Now, up to this point I had prevented myself from even taking a glimpse at an English copy because I've read in the logs how often the English translations are shit. Just for kicks, I finally looked at the one tiny portion of the gutenberg English translation that I had also translated from the original. Let's compare!

    First, the original:

    I. Von dem Unterschiede der reinen und empirischen Erkenntnis

    Daß alle unsere Erkenntnis mit der Erfahrung anfange, daran ist gar kein Zweifel;

    denn wodurch sollte das Erkenntnisvermögen sonst zur Ausübung erweckt werden, geschähe es nicht durch Gegenstände,

    die unsere Sinne rühren und teils von selbst Vorstellungen bewirken,

    teils unsere Verstandestätigkeit in Bewegung bringen, diese zu vergleichen,

    sie zu verknüpfen oder zu trennen,

    und so den rohen Stoff sinnlicher Eindrücke zu einer Erkenntnis der Gegenstände zu verarbeiten,

    die Erfahrung heißt?

    Now, my attempt at translating to my mother tongue:

    I. Regarding the distinction between pure and empirical knowledge

    That all of human knowledge begins with experience, towards this there can be absolutely no doubt;

    because whereby should cognition be exercised,

    does it not occur through objects,

    which stir the senses and partly cause notions to naturally occur,

    partly setting our mind in motion,

    to compare and collate them,

    to join them or to separate,

    to process the raw material of carnal impressions into a knowledge of the objects,

    is this not what experience means?

    Okay, I'm sure it is clumsy. But I think I grok the author's original meaning, at least. We experience existence through our interaction with the objects around us. Classifying, smashing them together, poking and prodding. This in itself is experience.

    Now the gutenberg English translation:

    I. Of the difference between Pure and Empirical Knowledge

    That all our knowledge begins with experience there can be no doubt. For how is it possible that the faculty of cognition should be awakened into exercise otherwise than by means of objects which affect our senses, and partly of themselves produce representations, partly rouse our powers of understanding into activity, to compare to connect, or to separate these, and so to convert the raw material of our sensuous impressions into a knowledge of objects, which is called experience?

    Definitely moar wordy than mine. Pretty similar, I guess, but constructions like "faculty of cognition should be awakened into exercise otherwise than" really make me scratch my head. I think that if this was all I had, I'd have a hard time understanding wtf the original author was saying.

    Or perhaps I'm just not understanding the original! And that's why ESL is bad for your mental health. What a phenomenon!

    Hopper update: January 2019

    January 31st, 2019

    Since last updateI've been continuing to pay my technological debts, namely:

    • I managed to un-wedge my trb node1; as of today it is at block height 443238.
    • Spyked released a keccak regrind of the tmsr botworks patchset, which included a regrind of logbot_command_router_genesis. I wanted to review and sign, and so figured that this was a great opportunity to test Diana Coman's V setup. However, I had failed to understand that ave1's gnat was the standard, instead going with a heathen post-2017 gnat that ultimately failed to work with the existing implementation of V. I resigned to waiting until I had a both a saner workstation, as well as a firmer grasp on the related gnat threads in the logs.
    • With want for a saner workstation, I did some initial Cuntoo testing and ended up with two bootable Cuntoo environments. However, for whatever reason I could not log in to either of 'em, and trinque brought up the important point that I should be working to have a more substantive understanding of what the scripts are in fact doing.
    • With want for a better understanding of trinque's, I decided to step through the Gentoo handbook in order to simply install my own hand-rolled Gentoo on my x61.2 I made a point to compare what I was doing with what trinque's script was doing, and after about a week or so I managed to finally get a Gentoo installed on my lappy. The experience left me with a much deeper understanding of the installation process in general, and I actually have quite a few ideas of things to troubleshoot re: my Cuntoo attempt.

    Up next:

    While I could dive back into troubleshooting my login woes with Cuntoo, I look around and realize that I now have two functioning (and chroot-able) Cuntoo environments, as well as my own hand-rolled Gentoo on my x61 (complete with, at least, asciilifeform's traditional crapolade masks). I also look and see the looming pile of items I need to get back to, and I feel confident that my workstation is in better condition to start chipping away.

    With that, the next item on my list is chiefly to get ave1's gnat set up, then Diana Coman's V setup set up, THEN finally read and sign Spyked's regrind. Afterwards, I'ma continue working through what's listed in

    1. with aggression patch []
    2. Non-musl. I'm just talking -A- Gentoo, of any kind; I had failed my previous "Gentoo quest" sometime in 2016 []

    Initial Cuntoo Testing

    January 8th, 2019

    I recently grabbed an old Lenovo x611 from ebay with hopes of turning it into a proper republican workstation. As of writing this I am still working on primarily2 Debian boxen and have yet to fully complete a Gentoo install on my own iron. With my need for a sane os mounting, I figured this would be a great time to test out the latest result of Trinque's ongoing yak shaving known as Cuntoo.

    The following is the results of 3 separate runs of the The target block device for each run was a SanDisk 32gb usb flash drive, and the os running the script was Debian 8. My aim was to first create a bootable Cuntoo on the usb stick, boot the Lenovo from the stick, and then obliterate its hdd with Cuntoo.

    First Run - vpatch (keccak)

    For my first run I used the 4.9.95-apu2 kernel config included in the cuntoo.tar.  Script ran without issue (I let it run overnight and woke up to the final prompts), however it turns out that the x61 needed another kernel. Trying to boot from the first run usb stick would result in it hanging indefinitely at the "BIOS data check successful" messaging.

    cuntoo first run: loading stuck on 'BIOS data check successful'

    Second Run - vpatch (sha)

    After a little research I found a kernel config for the x61 (mirrored here). Script once again ran without problems, and this time it booted!

    However, after multiple tries of entering what I know was the root password I set, I still was met with the "Login Incorrect" message.

    cuntoo second and third runs: cannot login with either root or main user

    Frustrated, I began the usual3 dance of mounting the block device, chrooting in, diddling with passwd and/or the /etc/passwd , /etc/shadow file, etc. Sadly, while educative, none of my password futzing bore any fruit so I turned my eyes to other areas.

    One weird thing I noticed while poking and prodding was that some of my permissions looked a little off:

    -rws--x--x 1 root root 33104 Jan  6 09:39 bin/su

    At this point I was reluctant to burn too much more time identifying and enumerating screwy permissions. I decided to throw in the towel on the second run and rerun on my third usb flash drive, just for good measure.

    Third Run vpatch (sha)

    Third run had results identical to the second run. Meh.

    So my original aims did not quite pan out, but what frustrates me more is that I'm not sure why just yet. Was it Debian strange? Perhaps just some elementary config I missed? Not sure at the moment, but on the positive side I learned a good chunk in the process4. I also have retained the Cuntoos installed on my second and third runs, so further prodding can continue down the road at least.

    For now I may just try installing a Gentoo on the x61 with the hope that it teaches me a few more things I can use in later tests, as well as giving me an actual Gentoo to test from in order to rule out debianstrange. Anyways, I look forward to more Cuntoo testing in the future and perhaps a saner workstation.

    1. sadly, I couldn't find any of the 64bit x60s in working order []
    2. save for my spiffy Pizarro Rockchip []
    3. Well, usual to others versed in linux, I suppose. To me it was a very enlightening experience of just how damned easy it is to pop an os once you have physical access! []
    4. For e.g. after all of my troubleshooting I'm now quite comfortable with chroot! []

    Conveyor Outlook: Now to Feb 2019

    November 12th, 2018

    For both my own sanity and for continued communication re: what I'm working on, I will outline what I aim to accomplish by the end of February 2019:

    1. Introduce auto-bid functionality into auctionbot. As of now, lobbesbot is the only bot with auto-bid capabilities and, imho, I did not design nor implement that functionality correctly to begin with1 and need to redo it properly.
    2. Discontinue legacy !Qauction functionality in lobbesbot.
    3. Migrate all legacy auction data2 from lobbesbot into auctionbot
    4. Implement the old-but-improved billing3

    Items most-likely on conveyor for after March 2019:

    • A more automated price history for auctions and a "ticker" functionality for auctionbot
    • Redo of the remainder of lobbesbot functionality to also sit atop logbot
    • Auxiliary logotrons for #pizarro y #eulora
    1. some related mini-threads: []
    2. For the curious: 366 auctions dating back to Feb 2017 []
    3. I'ma need to retool the automated back-end bits to work with the new auctionbot database. Also need to think through how I want to report usage now that I'm only billing at a certain threshold []