Friday, June 04, 2010

RIP blognomicbot?

Hi there,

although I am idling, I am active in the IRC and read today:

RIP blognomicbot; anyone got anywhere else to host it?

I own a server (with Debian 5.0) and could run the bot. Which language does it use? It is easy to install?

Kind regards, Keba.

PS: No, I do not deidle. Blognomic is to time intensive for now…

Comments

ais523:

04-06-2010 20:21:20 UTC

It’s a (well, more than one) Perl script that runs inside netcat; probably it runs out of the box in recent Debian versions.

Keba:

06-06-2010 11:26:23 UTC

Sounds well ;)

Where can I find the source?

ais523:

07-06-2010 11:11:01 UTC

I’ve pasted the three files that make/made it up at http://pastebin.ca/raw/1878362 (the only change was to replace its IRC password with a row of ten exclamation marks; if you want to run blognomicbot, come up for a password for it (better make it letters and numbers only, you can mix case if you want), put it in to replace the exclamation marks, and PM it to me so I can change the password for you). In order to actually run the bot, put all three files in the same directory, set the .sh file to executable, then do “nohup ./blognomicbot.sh &”; that should ideally set the bot up to run continuously from then on. In order for the bot to actually do its job of updating the blog, you’ll want to arrange for nomicnames.irc to be visible on the Web somewhere (say by symlinking it somewhere below /var/www/ on a machine that works as a webserver), and to let Kevan know where it is so he can update the scripts at BlogNomic’s end.

Keba:

07-06-2010 12:15:30 UTC

Thanks,

Hm, is bbotfifo an alias set, or a command made by you? Neither me nor Debian nor Google [1] know bbotfifo…

[1] Google search bbotfifo finds only your paste: http://www.google.com/search?hl=de&q=bbotfifo&aq=f&aqi;=&aql;=&oq;=&gs;_rfai=

lilomar:

07-06-2010 12:28:32 UTC

looks to me like it’s a file that the sh script uses to hold output until it can be printed to screen, since it is reading from it before it writes to it, you may have a problem with it never being created. Try making an empty file called bbotfifo (blognomicbot first-in-first-out, i’m guessing) and putting it in the same directory as the files for blognomicbot.

Keba:

07-06-2010 13:10:02 UTC

Everything runs fine now :)  for

ais523:

07-06-2010 13:24:53 UTC

bbotfifo’s an empty fifo, as given by the name. (It’s a sort of file that can be read and written at the same time; you make it with the mkfifo command.)