Perl 6 - the future is here, just unevenly distributed

IRC log for #ilbot, 2014-01-10

| Channels | #ilbot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:07 * pdurbin still hasn't played with the lucy search :/
05:09 ilbot-news joined #ilbot
05:09 ilbot-news [ilbot] moritz pushed 1 new commit to master: https://github.com/moritz/ilbot/commit/046ade17cf6cef2bb20a3a6f2d034103409447c6
05:09 ilbot-news ilbot/master 046ade1 Moritz Lenz: add some diagnostics
05:09 ilbot-news left #ilbot
05:27 Grotesque I'm checked it. This error still present. /create-search-index:  DBD::Pg::st execute failed: ERROR:  invalid input syntax for type date: "{"2014-01-09","5"}" at /var/www/ilbot/lib/Ilbot/Backend/SQL.pm line 95.
05:29 moritz seems somehow it passes an array where a single value is expected
05:29 moritz Grotesque: but it worked for you originally, right?
05:31 Grotesque Yes, it worked.
05:34 Grotesque With this script index_page and create_search both work. http://pastebin.com/X69qS972
05:36 moritz huh, so indeed a cache fuckup :(
05:36 moritz something that's very nasty to debug
05:39 Grotesque Anyway, without the support of non-latin characters, the search is almost useless for me.  So, nevermind. 8)
05:40 * moritz still minds.
05:42 ilbot-news joined #ilbot
05:42 ilbot-news [ilbot] moritz pushed 1 new commit to master: https://github.com/moritz/ilbot/commit/ab94f35792b9d279fe2e8b52cdeeb5e9a06169d0
05:42 ilbot-news ilbot/master ab94f35 Moritz Lenz: try to fix search with non-ASCII characters
05:42 ilbot-news left #ilbot
05:42 moritz Grotesque: please check if this commit helps
05:43 moritz Grotesque: I hope you have set the language in config/search.conf
05:43 Grotesque yes. i'm set
05:44 moritz great
05:44 moritz 'cause english stemming with a non-germanic language is a bad idea :-)
05:52 Grotesque nano www/ *** Operational MODE: preforking ***
05:52 Grotesque Can't locate Ilbot/Config.pm in @INC (@INC contains: lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /var/www/ilbot/www/ilbot.psgi line 6.
05:53 Grotesque ahh. i see, there is hardcoded path
06:01 Grotesque moritz,  Ah, thank you, sir! It works.
06:25 moritz yay
06:25 Grotesque Ir i click on Enable summary mode:[uwsgi-perl error] Can't locate object method "summary_ids" via package "Ilbot::Frontend::Cached" at /var/www/ilbot/www/ilbot.psgi line 89.
06:25 Grotesque If*
06:28 Grotesque Tried  rm -rf /tmp/CHI/* It didn' affects
06:28 moritz deleting caches doesn't solve all problems :-)
06:29 ilbot-news joined #ilbot
06:29 ilbot-news [ilbot] moritz pushed 1 new commit to master: https://github.com/moritz/ilbot/commit/c1d7e899b86407c03e820a50265b220a38f2a142
06:29 ilbot-news ilbot/master c1d7e89 Moritz Lenz: missing summary_ids in cached frontend, Grotesque++
06:29 ilbot-news left #ilbot
06:29 moritz Grotesque: fwiw I'd recommend against using the frontend cache
06:30 moritz Grotesque: it only helps on very high load, and has some quirks (like, not being very stable :( )
06:33 Grotesque It works.  Thank you. \0/
06:40 Grotesque hmm, if i click on Plain-Text i got html source.
09:20 Grotesque So, impossible to enable logging of the nick change and quit/part?
09:24 moritz nick changes should be logged
09:25 moritz if not, that's a bug
09:25 moritz the problem with /quit is that it is emitted by the server only once
09:25 moritz so we'd have to keep a list of which channels a nick is in to be able to map it to a channel
09:26 moritz that's possible, but not with Bot::BasicBot
09:29 Grotesque what about Bot::BasicBot::Pluggable?
09:29 Grotesque Hmm, change nick not logged.
09:30 moritz I'm experimenting with an AnyEvent-based IRC bot
09:31 moritz in the long run, I want to be able to add channels to a running process
11:26 Grotesque If i click on "Plain text" then i get this.  http://pastebin.com/KbLxd99B
11:27 moritz looks like the standard HTML view
11:28 Grotesque There is plain text look like plain http://irclog.perlgeek.de/ilbot/2014-01-10/text
11:31 Grotesque Probably it's a bug in my frontend settings, not in the ilbot code.
11:33 moritz are you running ilbot on a separate virtual host?
11:35 Grotesque yes, separate virtual host in nginx + uwsgi
11:36 moritz then I have no idea what could cause it :(
11:36 moritz did you disable caching in the frontend?
11:37 Grotesque yes
11:43 Grotesque there is config http://pastebin.com/1gHwJn9u
12:00 Grotesque hmm, 3 errors: http://validator.w3.org/check?uri=http%3A%2F%2Firclog.perlgeek.de%2Filbot%2F2014-01-10&charset=%28detect+automatically%29&doctype=Inline&group=0
12:11 moritz all of them easy to fix
13:35 pdurbin moritz: +1 for being able to add channels without restarting the bot
21:19 ilbot3 joined #ilbot
21:20 * moritz welcomes ilbot3, the new overlord
21:20 moritz based on AnyEvent
21:22 moritz ... and it can join new channels on-the-fly
21:25 ilbot-news joined #ilbot
21:25 ilbot-news [ilbot] moritz pushed 1 new commit to master: https://github.com/moritz/ilbot/commit/05b4868889d790bfe7921f233c7a93cfc4183013
21:25 ilbot-news ilbot/master 05b4868 Moritz Lenz: Add experimental, AnyEvent-based logging bot...
21:25 ilbot-news left #ilbot
21:42 ilbot-news joined #ilbot
21:42 ilbot-news [ilbot] moritz pushed 1 new commit to master: https://github.com/moritz/ilbot/commit/98d796d321e9ad14f3679710722bd4ff77c869e3
21:42 ilbot-news ilbot/master 98d796d Moritz Lenz: color actions the same as normal lines from the same nick
21:42 ilbot-news left #ilbot

| Channels | #ilbot index | Today | | Search | Google Search | Plain-Text | summary