The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2015-05-02

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

All times shown according to UTC.

Time Nick Message
00:04 Zoffix dave, Palemoon
00:04 Zoffix Firefox-- # Marketing fail
00:32 jberger so opening a pipe from tail -f $app->log->path and then attaching a stream to it and a websocket to it SOUNDS like a good idea :-P
00:35 cpan_mojo Mojolicious-Plugin-Narada-0.4.0 by POWERMAN https://metacpan.org/release/POWERMAN/Mojolicious-Plugin-Narada-0.4.0
00:48 vmb joined #mojo
00:52 asarch joined #mojo
01:01 sh4|2 joined #mojo
01:17 klapperl joined #mojo
02:15 mattastrophe joined #mojo
02:16 vmbrasseur joined #mojo
02:20 noganex_ joined #mojo
02:31 jberger sri: happy maypole day
03:05 jberger so, my next module born of ideas from $work
03:05 jberger https://github.com/jberger/Mojolicious-Plugin-TailLog
03:06 jberger and yes, it totally cheats: https://github.com/jberger/Mojolicious-Plugin-TailLog/blob/master/lib/Mojolicious/Plugin/TailLog.pm#L16
03:06 Grinnz hhaha
03:09 jberger I was not satisfied with the solutions I found on CPAN for tailing a fail using an ioloop
03:09 jberger or as a handle etc
03:27 jberger hahah, I found another one! https://metacpan.org/source/HAYAJO/Mojolicious-Plugin-Webtail-0.06/lib/Mojolicious/Plugin/Webtail.pm#L105
03:28 Grinnz lol
03:52 basic6_ joined #mojo
06:09 polettix joined #mojo
06:16 kaare joined #mojo
06:31 polettix joined #mojo
06:47 melo joined #mojo
07:17 wariat joined #mojo
07:29 melo1 joined #mojo
07:31 trone joined #mojo
07:49 berov joined #mojo
08:14 Vandal joined #mojo
08:36 cpan_mojo Mojolicious-Plugin-Ical-0.04 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-Ical-0.04
08:45 dod joined #mojo
08:49 dod joined #mojo
09:25 mattastrophe joined #mojo
09:42 fhelmber_ joined #mojo
10:17 mattastrophe joined #mojo
10:58 kaare joined #mojo
11:17 ToApolytoXaos joined #mojo
11:36 amon joined #mojo
11:44 mattastrophe joined #mojo
11:47 ashimema_ joined #mojo
12:06 mattastrophe joined #mojo
12:22 Kripton joined #mojo
12:42 * jberger yawns
12:54 nf joined #mojo
12:57 nf_ joined #mojo
13:51 marcus webtail?
14:09 sh4 joined #mojo
14:22 marty joined #mojo
14:34 mishanti1 So whats the current best bet if one in tests want to check if a method has been called on a module? Test::MockObject, Test::MockModule or something?
14:36 jberger mishanti1: I have lately resorted to building my own mocks, often wrapped around Mojo::EventEmitter, but I can't say that it is a good pattern yet or that I recommend it
14:37 mishanti1 jberger: Thanks for the input.
14:38 jberger mishanti1: depends on what you are testing of course
14:38 jberger when I get to that point I'm often mocking out services
14:40 mishanti1 Sort of doing the same thing. Getting some tests up for some daemons and services.
14:48 jberger mishanti1: http://pastie.org/private/qq6hvmvroi5oyabcwifa
14:48 jberger this gets me a long way
14:49 jberger as long as your service interaction class has a ua attribute and a url attribute which it uses for base requests
14:50 jberger you can also just use one of the ua events to rewrite the request if you don't have the latter though
14:52 mishanti1 Oh, that's pretty neat!
14:52 mishanti1 Thanks :)
14:54 marcus \o/
14:56 jberger I test the non-blocking calls and then I have another line like 13 that switches the url to the blocking port
14:56 jberger I think I got the idea from marcus (and probably sri too) not so long ago, so props to them
15:35 cpan_mojo Mojo-mysql-0.12 by HARRYL https://metacpan.org/release/HARRYL/Mojo-mysql-0.12
15:35 cpan_mojo Mojo-MySQL5-0.09 by HARRYL https://metacpan.org/release/HARRYL/Mojo-MySQL5-0.09
16:09 zz_Foxcool joined #mojo
16:26 al joined #mojo
16:27 PotatoGim^Home joined #mojo
16:54 sjn joined #mojo
16:55 dod joined #mojo
16:56 al joined #mojo
17:02 mattastrophe joined #mojo
17:33 nf joined #mojo
17:46 zivester joined #mojo
17:55 bowtie joined #mojo
17:56 ajr_ joined #mojo
18:09 asarch joined #mojo
18:33 nf joined #mojo
18:39 berov joined #mojo
18:44 Kripton joined #mojo
19:03 ToApolytoXaos joined #mojo
19:34 nf joined #mojo
19:56 Adura joined #mojo
20:15 AirDisa joined #mojo
20:35 nf joined #mojo
21:28 jberger its too quiet here lately
21:28 Zoffix joined #mojo
21:34 marcus jberger: sri is playing diablo iii, according to my hearthstone
21:35 jberger hahaha
21:35 * marcus seriously needs to get marvin ready for a cpan release before his talk next weekend.
21:36 nf joined #mojo
21:36 marcus the big thing I need to figure out is the actual routing of messages.
21:36 marcus I've been considering abusing Mojolicious::Routes, but I'm not 100% sure it makes sense.
21:38 jberger preaction was working on something for routing in an IRC bot
21:38 jberger preaction: around?
21:38 jberger and yeah, I need to start working on my talks too
21:45 * jberger installs widelands
21:46 jberger (guess that isn't working on talks :o )
21:46 nf joined #mojo
21:50 marcus jberger: thanks for telling me about widelands!#$%!$
21:51 jberger hehe
22:23 mattastrophe joined #mojo
22:23 Zoffix joined #mojo
22:25 Zoffix Hey. Is there a convention for a directory name to store files that should not be web-accessible? Kinda like we have `public` for web-accessible stuff? I got geoIP database (in a file) I want to save in my app.
22:25 Zoffix Well... eventually it'll be a plugin and I want a sane location to tell users to store their database file at.
22:37 Zoffix 'data' is as good as anything, I guess.
22:43 nf joined #mojo
22:49 niczero joined #mojo
22:49 * niczero uses 'data'
22:50 Zoffix :)
22:50 Grinnz driveby!
22:51 Zoffix http://irclog.perlgeek.de/mojo/today :)
22:51 Zoffix Sometimes I read it when I have a spare minute, even though I don't got xchat open.
22:52 * Grinnz never doesn't have hexchat or weechat open ;)
22:54 Grinnz make tests for my bot, or procrastinate some more
22:54 Grinnz definitely procrastinate
22:54 Zoffix bot!
22:55 Grinnz but netflix!
22:55 purl somebody said netflix was on life support as well though or like netflix without postage
22:55 Zoffix I'm actually being productive right now, even though I could be just as easily playing Warframe :P
22:55 * Zoffix is surprising self
22:55 Grinnz purl, wtf?
22:55 purl i haven't a clue, grinnz
22:55 Grinnz netflix is like netflix without postage
22:55 Grinnz ok then
22:56 Grinnz I think ive been productive enough for one saturday
23:36 rwp joined #mojo
23:36 AirDisa joined #mojo
23:43 kaare_ joined #mojo

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