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

IRC log for #mojo, 2015-01-16

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

All times shown according to UTC.

Time Nick Message
00:05 neyasov_ joined #mojo
00:09 Averna joined #mojo
00:12 Grinnz_ re: mailing list, i made that exact same mistake... damn "status" for being such a common word :P
00:12 Grinnz_ (tried to use it and broke stuff because reserved)
00:26 Ptolemarch joined #mojo
00:36 neyasov_ joined #mojo
00:47 hesperaux joined #mojo
01:33 cpan_mojo Mojolicious-Plugin-CHI 0.10 by Nils Diewald - http://metacpan.org/release/AKRON/Mojolicious-Plugin-CHI-0.10
01:43 davido_ joined #mojo
02:08 sri no windows testers today i guess :/
02:15 Ptolemarch joined #mojo
02:18 disputin joined #mojo
02:19 Adura A moment.
02:19 purl i think a moment is lost
02:26 neyasov_ joined #mojo
02:26 Adura sri, browser is stuck after I edited poop into welcome.html.ep.
02:28 Adura "Waiting for localhost..." forever, it seems.
02:28 sri Oo
02:30 Adura Ctrl-c doesn't work to end Morbo.
02:31 klapperl joined #mojo
02:31 Adura Is there a former commit I should use as control?
02:32 good_news_everyon joined #mojo
02:32 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/wUnqgw
02:32 good_news_everyon mojo/master e912853 Sebastian Riedel: fixed possible race condition
02:32 good_news_everyon left #mojo
02:32 sri i doubt this one might make a big difference, but worth a try
02:33 Adura Alrighty.
02:33 purl well, Alrighty. is there a way to do that without having to start a new process?
02:33 sri the real commit was https://github.com/kraih/mojo/commit/7536b49b9368db63378b04f14dbef4cb082d31b3
02:33 sri so anything before that is the control
02:47 sri the suspense is killing me :o
02:47 Adura Tests...
02:47 purl tests is, like, what I don't have tuits for
02:48 Adura Control worked.
02:48 sri :S
02:48 Adura I shall try that most recent commit.
02:49 Adura Even ctrl-c works now.
02:49 genio stupid rain.
02:50 sri so, will i have to add that line again with a comment like "# Windows workaround, nobody knows why, but it works"?
02:54 Adura Most recent commit doesn't fix it.
02:55 sri NOOOOOOOOOOO
02:55 sri Adura: thanks :(
02:55 Adura Not a problem.
03:00 good_news_everyon joined #mojo
03:00 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/gpfgaQ
03:00 good_news_everyon mojo/master 555fa94 Sebastian Riedel: bring back Windows workaround
03:00 good_news_everyon left #mojo
03:00 sri i wonder if a socketpair would work better than signals and waitpid
03:01 Adura Let's see what cygwin does...
03:01 sri cygwin should be fine with all variants
03:01 Adura Yeah, it's pretty chill.
03:02 bc547 joined #mojo
03:06 cosimo joined #mojo
03:07 jmmills joined #mojo
03:07 allison joined #mojo
03:07 sri if anyone knows why that actually works, please share!
03:07 AdmWiggin joined #mojo
03:08 sri Adura: latest commit does work right? i've changed the order a little
03:08 ashleydev joined #mojo
03:08 paulg joined #mojo
03:08 Adura I shall try.
03:09 chansen joined #mojo
03:09 Andreas2 joined #mojo
03:10 cpan_mojo Mojolicious-Plugin-CHI 0.11 by Nils Diewald - http://metacpan.org/release/AKRON/Mojolicious-Plugin-CHI-0.11
03:13 Adura Works.
03:14 jberger that line was the subject of much debate on #p5p earlier (as I'm sure you saw)
03:15 jberger Mithaldu seemed to have some concept
03:16 sri was there any reason mentioned why kill 0 works while waitpid doesn't?
03:18 jberger there was a ton of discussion about the two not being equal on Windows as other platforms
03:18 jberger but I can't say I followed all of the native api discussion
03:23 noganex_ joined #mojo
03:51 good_news_everyon joined #mojo
03:51 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/u6ljdw
03:51 good_news_everyon mojo/master 7699e31 Sebastian Riedel: be more specific in command recipe
03:51 good_news_everyon left #mojo
03:52 jberger sri: I like that change
03:53 sri i suppose we won't be removing those options, so might as well make it more obvious :)
03:55 cpan_mojo XML-Loy 0.33 by Nils Diewald - http://metacpan.org/release/AKRON/XML-Loy-0.33 (depends on Mojolicious)
03:58 cpan_mojo Mojolicious-Plugin-XML-Loy 0.11 by Nils Diewald - http://metacpan.org/release/AKRON/Mojolicious-Plugin-XML-Loy-0.11
04:04 Ptolemarch joined #mojo
04:16 neyasov_ joined #mojo
04:23 dotandimet joined #mojo
04:33 sri lol https://twitter.com/mulligan/status/555050159189413888/photo/1
04:52 preaction http://www.tylervigen.com <- a bunch of fun ones
04:53 preaction http://www.tylervigen.com/view_correlation?id=97
04:56 irq joined #mojo
04:56 sri :D
04:56 good_news_everyon joined #mojo
04:56 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/JG79Ag
04:56 good_news_everyon mojo/master 7b03bcb Sebastian Riedel: a few more get command tests
04:56 good_news_everyon left #mojo
05:48 neyasov_ joined #mojo
05:53 Ptolemarch joined #mojo
05:56 hshong joined #mojo
05:59 marmez joined #mojo
06:10 neyasov_ joined #mojo
06:16 rem_lex joined #mojo
07:10 neyasov_ joined #mojo
07:37 dod joined #mojo
07:38 Lee joined #mojo
07:41 Ptolemarch joined #mojo
07:42 dod joined #mojo
07:44 Vandal joined #mojo
07:51 basiliscos joined #mojo
07:58 tempire batman: how do you specify an empty array for the response type?
07:58 tempire also, what if the response is just text?
08:00 sugar joined #mojo
08:01 tempire by empty array, I mean a json [], and by response type, I mean the response section of a swagger path definition
08:09 nathanael joined #mojo
08:11 trone joined #mojo
08:15 nathanael joined #mojo
08:20 eseyman joined #mojo
08:21 bzero joined #mojo
08:21 basiliscos joined #mojo
08:21 sugar joined #mojo
08:23 trone joined #mojo
08:50 dotandimet joined #mojo
08:53 dp_ joined #mojo
09:00 irq joined #mojo
09:07 batman tempire: empty array...? why do you need that? (just curious)
09:07 batman you can't have just text. you need a structured response. like {"text":"whatever"} (i can see if that's really true)
09:09 rem_lex joined #mojo
09:13 batman tempire: unfortunately, i don't have any way to display the information in the editor, but you should be able to say { "type": "array", "maxItems": 0 }
09:14 batman i don't think it makes any sense though. why would you ever have an endpoint that always return [] ..?
09:16 batman please file a bug if you want to fix how the editor display { "type": "array", "maxItems": 0 }
09:16 batman i still think you're making things up, hehe
09:17 dotandimet joined #mojo
09:19 denny joined #mojo
09:25 batman tempire: it seems like you can have "200": { "type": "file" } to produce just data (text, images, ...)
09:25 batman tempire: by the way: are you still using my editor? i just updated it to the latest version. (please refresh if you are using it)
09:29 batman tempire: https://github.com/jhthorsen/swagger2/issues/6
09:30 dp_ joined #mojo
09:39 Ptolemarch joined #mojo
10:15 marmez joined #mojo
10:18 ovnimancer joined #mojo
10:22 ovnimancer joined #mojo
10:55 punter joined #mojo
10:55 punter joined #mojo
11:28 Ptolemarch joined #mojo
11:29 dotandimet joined #mojo
11:30 ribasushi http://news.perlfoundation.org/2015/01/grant-proposal-ado---a-rapid-a.html
11:30 ribasushi huh...
11:30 rem_lex joined #mojo
11:31 punter marcus, there's a Mojo::P::OAuth2 question on stackoverflow: http://stackoverflow.com/questions/27972125/mojolicious-app-using-google-authentication-plugin-oauth2/27981979
11:49 alnewkirk joined #mojo
11:53 denis_boyun joined #mojo
11:58 marty joined #mojo
12:01 reneeb joined #mojo
12:06 denis_boyun_ joined #mojo
12:12 dotandimet joined #mojo
12:16 juikuen joined #mojo
12:28 fhelmberger joined #mojo
12:47 vmvm joined #mojo
12:56 neilhwatson joined #mojo
13:03 vmvm
13:03 vmvm
13:03 vmvm quit
13:11 jberger that proposal is very ... verbose
13:13 jberger I did look at Ado once, seemed nice enough
13:14 jberger extending it to a full cms is probably a worthy goal
13:22 ignacio_ joined #mojo
13:26 Ptolemarch joined #mojo
13:30 antoniel joined #mojo
13:33 antoniel left #mojo
13:45 buu jberger: I'm convinced just from the bullet points
13:58 batman it's super important that the result doesn't look like a perl project imo.
13:58 batman i mean, there's probably a lot of cms solutions, but perl hackers are mostly...hackers. not designers :/
14:28 * sri is sceptical of all cms projects that don't have a pretty website
14:29 dotandimet joined #mojo
14:43 sri or any web app for that matter
14:43 Grinnz heh
14:44 Grinnz what batman said, a good designer makes all the difference :)
14:46 batman sri: +1
14:46 purl 1
14:47 Grinnz thanks purl.
14:47 batman yeah... i was a bit unsure what +1 could be equal to...
14:59 allenvdross joined #mojo
15:17 sh4 joined #mojo
15:18 amon joined #mojo
15:19 gryphon joined #mojo
15:22 davido_laptop joined #mojo
15:25 Ptolemarch joined #mojo
15:29 Grinnz https://metacpan.org/release/DBOOK/POE-Loop-EV-0.10 it's done.
15:30 sugar joined #mojo
15:38 sri Grinnz++
15:43 hesperaux joined #mojo
15:54 dotandimet joined #mojo
15:54 ignacio_ joined #mojo
16:11 dvinciguerra joined #mojo
16:20 good_news_everyon joined #mojo
16:20 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/jb1NiA
16:20 good_news_everyon mojo/master cc68204 Sebastian Riedel: test abstract methods in base classes
16:20 good_news_everyon left #mojo
16:23 sri testing those does feel a bit like cheating at test coverage metrics... but meh... i want as much stuff tested as possible
16:42 marty joined #mojo
16:44 legz how can i default to the current logged in user?
16:44 legz get '/User/:id' => {id => $_->session("user_id")} => sub {
16:44 sri btw. Devel::Cover says we have 91% currently (although it doesn't recognize the tests that involve forking, like morbo.t/hypnotoad.t)
16:46 sri so my guess would be 94% in reality, with some untestable stuff in commands and methods like setuidgid/daemonize
16:46 sri not too bad
16:50 Grinnz_ you mean you can't have test files daemonize???? :D
17:39 dod joined #mojo
17:41 Ptolemarch joined #mojo
17:43 basiliscos1 joined #mojo
17:54 cpan_mojo Mojolicious-Plugin-Directory-Stylish 1.001 by COFFEE - http://metacpan.org/release/COFFEE/Mojolicious-Plugin-Directory-Stylish-1.001
17:58 tempire batman: a 404 response that normally would return an array of things still may return an empty array
17:59 tempire Grinnz++
17:59 tempire good show
18:10 basiliscos joined #mojo
18:18 Ptolemarch joined #mojo
19:20 reneeb joined #mojo
19:24 irq joined #mojo
20:00 asarch joined #mojo
20:12 popeshoe joined #mojo
20:19 berov joined #mojo
20:23 berov Happy New Year ( a little bit later :) )
20:23 mishantil Same to you, whoever you are.
20:23 mishantil Were you at mojoconf btw?
20:26 berov No
20:32 pink_mist joined #mojo
20:33 pink_mist hi, was wondering in which version Mojoliciou::Controller got a reply() method?
20:33 pink_mist *Mojolicious::Controller
20:33 berov Guys, please allow me to inform you that I applyed for a grant from The Perl Foundation. I will be happy to read your feedback in the comments below the proposal
20:33 berov http://news.perlfoundation.org/2015/01/grant-proposal-ado---a-rapid-a.html
20:33 Grinnz_ reply by itself isn't a method, but reply->not_found etc are helpers in DefaultHelpers
20:34 pink_mist Grinnz_: oh I see
20:34 tempire batman: damn. doesn't seem to be a way to define an empty hash
20:34 sri pink_mist: so it would be https://github.com/kraih/mojo/blob/master/Changes#L213
20:34 tempire I feel like swagger still needs some work.
20:34 pink_mist ah, 5.40, thanks sri =)
20:35 Grinnz_ and the one above that for reply->asset and reply->static
20:35 pink_mist though I need reply->asset, so that's 5.41
20:35 tempire Even if I have no results, I still want to reply with the expected format
20:35 pink_mist excellent =)
20:38 marmez joined #mojo
20:42 pink_mist hmm, so now the question is if I want to do another release after changing only the version dependency for Mojolicious 0_o
20:43 * sri has done that
20:53 cpan_mojo Mojolicious-Plugin-Directory-Stylish 1.002 by COFFEE - http://metacpan.org/release/COFFEE/Mojolicious-Plugin-Directory-Stylish-1.002
20:53 pink_mist oh, didn't expect it to show up here :P
20:57 sri wtf? 666 wallclock secs? http://www.cpantesters.org/cpan/report/cf9f85de-9b96-11e4-b5bb-f37fa5fe2ff4
20:57 Grinnz_ the number of the beast
20:57 purl rumour has it the number of the beast is 1341 then or http://www.ohgizmo.com/?p=433
20:57 Grinnz_ i don't think that's correct, purl
20:57 purl Grinnz_: sorry...
20:58 dotandimet joined #mojo
20:59 disputin joined #mojo
21:08 sri Mojo::Util::dumper handles non-printable characters really well
21:09 good_news_everyon joined #mojo
21:09 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/rZupLg
21:09 good_news_everyon mojo/master 79ec88f Sebastian Riedel: improve WebSocket debug messages
21:09 good_news_everyon left #mojo
21:10 denis_boyun joined #mojo
21:27 good_news_everyon joined #mojo
21:27 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/0C7glQ
21:27 good_news_everyon mojo/master 1451dde Sebastian Riedel: better 64-bit WebSocket tests
21:27 good_news_everyon left #mojo
21:30 good_news_everyon joined #mojo
21:30 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/FB2RGw
21:30 good_news_everyon mojo/master 45508b4 Sebastian Riedel: test now uses two 16-bit frames
21:30 good_news_everyon left #mojo
21:37 dod joined #mojo
21:49 sivoais joined #mojo
22:06 good_news_everyon joined #mojo
22:06 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/x9GcZA
22:06 good_news_everyon mojo/master d35a1de Sebastian Riedel: more diverse command tests
22:06 good_news_everyon left #mojo
22:51 sivoais joined #mojo
23:10 rem_lex joined #mojo
23:18 punter joined #mojo
23:52 jberger Bender: spread the love
23:52 purl jberger: TU SENS LA ROSE SOUS LES AISSELLES, MON CANARD EN SUCRE, TU ILLUMINES MES JOURS, TU SENS BON !
23:52 * jberger shoves purl down a well
23:53 jberger Bender: share the love
23:53 purl share the love is at http://conferences.oreillynet.com/cs/eurooscon/view/e_sess/7497
23:53 * jberger kicks Bender
23:57 sri Bender: trust jberger
23:57 Bender OK, sri
23:57 * jberger dropkicks Bender anyway

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