Logotron Genesis.

Aug. 2021 Update #5 : billymg fixed broken chan list box reflow in certain browsers.
Aug. 2021 Update #4 : billymg's current-channel highlighting fix; and channel selector table can now reflow to fit screen width.
Aug. 2021 Update #3 : Allow marking certain channels as
archived to improve DB performance.
Aug. 2021 Update #2 : All Freenode-specific code phased out. The current item is known to work with UnrealIRCd and may work elsewhere.
Aug. 2021 Update #1 : Billymg contributed front-end optimizations and a theme pack.
May. 2021 Fix : Received a tip from reader Whaack that vpatch searchpg_oldlinks had been inadvertently generated with old SHA512 vdiff; regenned, signed, reposted.
Aug. 2020 Update #2: Additional 'back' and 'forward' buttons at the bottom of search result pages. Fixed era 1/2 link diddler regexps to handle all (AFAIK) known variants correctly.
Aug. 2020 Update #1: Paginated search; automatic replacement of ancient logger link targets; fix for unicode barf in eat_dump.py.
July 2020 Update #3: Automatically skip empty days in date navigation bar. At the same time, handle empty days correctly when these are requested. Handle 'dawn of time' case for any given channel, to avoid infinite loop insanity from search engines.
July 2020 Update #2: Fixed minor mistake in earlier update. Added "Search all chans" button.
July 2020 Update #1: Hide inactive chans (configurable # of days) by default. Example Apache-WSGI config. Added a WWW-IRC client link. Updated html template to reflect item presently in use.
Oct. 7 Update: Removed experimental attempt to use "shlex" for support of double-quoted search (it broke parsing of single quotes in search strings.)
Oct. 4 Update: Introduced adjustable detector of bot disconnection. Removed broken Tape knob in reader.
Oct. 3 Update: Bvt's bot fixes; errata for Sept. 28 patch.
Sept. 28 Update: Added Diana Coman's IRSSI eater patch. Several bot and reader improvements, see README.TXT.
Sept. 18 Update: Added sigs from Diana Coman for several patches.
Sept. 12 Update: Added a raw line export mechanism fix by Lobbes.
Sept. 8 Update: Fix of various minor errata by Lobbes; includes a fix contributed by Diana Coman. And there is now a new installation cookbook, also by Lobbes.
Sept. 6 Update: Added ZNC eater and eater.py fixes by Lobbes.
Sept. 4 Update: Diana Coman wrote a recipe for using this kit with "CentOS" and signed the current set.
Aug. 16 Update: Trinque's method for line wraps.
Aug. 16 Update: Phf's uniturd algo, and several cosmetic improvements to WWW displayer.
Aug. 12 Update: Diana Coman contributed a log eater.
Aug. 11 Update: Date Arrow fix.
Aug. 11 Update: Raw Line Export; fix for WWW Debug knob so actually switches off when disabled.
Aug. 10 Update: Multi-Line Selection and fix for date arrow.

Below is given the V-Genesis of the elementary logotron kit (including both www and IRC components) as discussed previously and presently in operation.

You will need:

Add the above vpatches and seals to your V-set, and press to logotron_genesis.kv.vpatch multsel_and_datefix.kv.vpatch raw_line_export.kv.vpatch rle_errata.kv.vpatch irssi2tmsr.kv.vpatch uniturds_etc.vpatch line_wraps.vpatch znc2tmsr_etc.kv.vpatch uptimefix_bye_cache.kv.vpatch irssi_format.kv.vpatch sept_fixes.kv.vpatch active_disconnect_r3.kv.vpatch sept_errata.kv.vpatch detect_disconnect.kv.vpatch shlex_removal.kv.vpatch hide_inactive.kv.vpatch search_all_chans.kv.vpatch navbar_date_auto.kv.vpatch searchpg_oldlinks.kv.vpatch aug2020_errata.kv.vpatch frontend_updates.kv.vpatch add_bitdash_theme.kv.vpatch lose_fleanode.kv.vpatch archived_chans.kv.vpatch style_fixes.kv.vpatch classic_css_tweaks.kv.vpatch.

Configure and operate as described in README.txt.

FTR, I would still like to see Phf publish his technologically-superior logotron when he comes out of his illness. Mine is a rather crude wartime production.

This entry was written by Stanislav , posted on Thursday August 08 2019 , filed under Bitcoin, Cold Air, Computation, Distractions, Friends, SoftwareSucks . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

4 Responses to “Logotron Genesis.”

  • spyked says:

    Dear Stan,

    As I understand from reading the genesis, the logotron backend (the IRC bot) is single-threaded and only responds to IRC PING messages with PONG, it does not actively send PINGs -- unlike Trinque's Ircbot, which runs a dedicated "pinger" thread for this purpose.

    On one hand I find this to be a great approach due to its simplicity -- and I suspect the lack of proper reconnect in Ircbot *might* be a concurrency issue, i.e. the bot sending/receiving PING/PONG concurrently with other messages (or are the socket/CL stream ops atomic?).

    On the other hand, I've run this "passive" (only waiting for PING) single-threaded type irctron in the past, only to find out Fleanode itself does not send PINGs at regular intervals, and might end up disconnecting the bot because of this. So I'm very curious to see how the new logotron backend holds up; and if so, I could end up rewriting it in CL at some point.

    • Stanislav says:

      Dear spyked,

      Indeed it is single-threaded, and so there is no possibility of a concurrent send.

      Thus far it is difficult to say whether this method is The Right Thing, the bot has been live for less than a week. Presently all of the disconnects have been from planned knob-turns, I killed the process by hand each time.

      Feel free to rewrite in CL or whatever else, and experiment with the result (e.g. try it on a box where you yank out the LAN cable, for simple test of reconnects.) The algo is just about as simple as it could be.


  • whaack says:

    One problem with the single thread is if the bot is issued a command that requires it to crunch some numbers for a while, it will fail to respond to the server's pong message in time, causing a disconnect.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

MANDATORY: Please prove that you are human:

70 xor 106 = ?

What is the serial baud rate of the FG device ?

Answer the riddle correctly before clicking "Submit", or comment will NOT appear! Not in moderation queue, NOWHERE!