#test | Logs for 2017-05-10

« return
[04:53:41] -!- exec has quit [Ping timeout: 276 seconds]
[05:31:38] <chromas> start test
[05:31:38] <upstart> <chromas> ciri: Ryse Son of Tome is $3 on bundlest s
[05:32:01] <chromas> upstart: you need per-channel histories
[05:59:14] <TheMightyBuzzard> chromas, slap em in a sqlite db that way you can query by channel or by timestamp or by content
[05:59:14] <upstart> <chromas> upstart: you need per-channel histories
[06:00:00] <chromas> #smake upstart
[06:00:00] * MrPlow smakes upstart upside the head with a farticle
[06:00:07] <chromas> not sure how sedctl does it
[06:00:17] <chromas> it can take any character for the slash
[06:00:50] <chromas> when upstart works like that it gets triggered when a message starts with an s and has three of whatever the enxt char is
[06:01:01] <TheMightyBuzzard> oh, any character except alphanumeric i think
[06:01:09] <TheMightyBuzzard> sffoofbarf
[06:01:09] <upstart> <TheMightyBuzzard> oooh, any character except alphanumeric i think
[06:01:14] <chromas> ah good idear
[06:01:16] <TheMightyBuzzard> ya, see
[06:01:23] <chromas> I got a page scraper that mostly just gets articles
[06:01:33] <TheMightyBuzzard> noice
[06:01:34] <chromas> but it craps out on a few like my local shitty paper
[06:01:50] <chromas> Thought about having a DB o' regexes but this kinda works
[06:01:54] <TheMightyBuzzard> heh, you may need to make templates for often-visited sites.
[06:02:21] <TheMightyBuzzard> janrinok has a big mess of em for the stories bot
[06:02:25] <chromas> It strips out <script> and other garbage tag blocks then looks for the <p>s
[06:02:40] <chromas> If I did that I'd put 'em into a db and have a bot function to add them
[06:03:12] <TheMightyBuzzard> ya, i wouldn't try adding em from irc though. templates can get big.
[06:03:21] <chromas> The worst part about this way of doing it is the bot can't tell if it's gonna submit garbage
[06:03:26] <TheMightyBuzzard> adding regexes though, that's very doable.
[06:03:43] <chromas> Would it need more than regexes?
[06:03:55] * chromas imagines TheMightyBuzzard shaking his head and sniggering
[06:03:56] <TheMightyBuzzard> yeah. it does help if you're an admin and can just delete it if your bot subs crap.
[06:04:18] <chromas> I'm testing it a lot locally before I even try getting it to submit to dev
[06:04:40] <TheMightyBuzzard> oh sub the shit outa dev. new editor trainees will need the fodder.
[06:05:07] * chromas got some fiberglass in his hand, tries the tape-yanking method of remocal
[06:05:33] <chromas> sscsvs
[06:05:33] <sedctl> <chromas> got some fiberglass in his hand, tries the tape-yanking method of removal
[06:05:33] <upstart> <chromas> I'm testing it a lot lovally before I even try getting it to submit to dev
[06:05:44] <TheMightyBuzzard> i usually go with the scratch it till the flesh peels off method.
[06:05:49] <chromas> ooh, upstart doesn't sedbot actions
[06:05:53] <chromas> lol
[06:05:56] <TheMightyBuzzard> thar ya go
[06:06:24] <TheMightyBuzzard> upstart needs all of the things
[06:06:49] <TheMightyBuzzard> not because they're necessary. because you're bored.
[06:06:58] <TheMightyBuzzard> smoke break
[06:08:03] * chromas ponders grabs with nograb bypass >:D
[06:13:03] <TheMightyBuzzard> do grabs with a backbuffer so you can specify how many per-person lines ago
[06:13:25] <TheMightyBuzzard> like save the last five things someone said instead of the last thing
[06:15:58] <TheMightyBuzzard> ya know, i like upstart. it's both tech related and a good name for the newest bot.
[06:16:13] <chromas> Can it get uid 1?
[06:16:15] <chromas> or 0?
[06:16:27] * chromas then /nicks it to systemd :D
[07:46:33] <chromas> Damn. Works pretty well on a few big name sites but some buttbargains like cnn don't use <p> tags for paragraphs
[07:50:15] <chromas> MrPlow: techcrunch is also a dildaberg