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

IRC log for #mojo, 2015-02-04

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

All times shown according to UTC.

Time Nick Message
00:02 sri is the new t-shirt link too much? http://mojolicio.us/
00:03 sri gonna experiment a bit with a sidebar for promotions, can't be too long until we have serious books to promote ;p
00:11 skyee joined #mojo
00:15 kaare joined #mojo
00:17 dparry well here's what I ended up with for now for those following along at home http://pastebin.com/eZq20z3E Thanks again for the help and for not reaching for the cluebat :)
00:35 jberger sri: I like it
00:48 tempire I like the idea.
00:48 tempire The text looks a little pixelated.
00:49 tempire I think the text, "swag" underneath the shirt would be enough.
00:49 sri i tried that first, didn't work
00:49 jberger I don't know, I think some people will buy shirts if they know that the support goes to sri/the project
00:53 sri the t-shirts pay for hosting :)
00:53 jberger have you broken even on it then?
00:53 jberger I still want the hoodie
00:53 jberger and the mug
00:54 * jberger ponders
00:54 * tempire is going to buy a chicken
00:54 sri not yet, but close
00:54 jberger tempire: to eat or to raise?
00:56 sri tempire: i don't see the pixelated
00:56 sri i don't have a retina display of course
00:59 tempire maybe pixelated is the wrong term
00:59 tempire ghosting, I think it's called
01:19 disputin joined #mojo
02:08 klapperl joined #mojo
02:10 rem_lex joined #mojo
02:22 zivester joined #mojo
02:31 hshong joined #mojo
03:27 sri oh, .Net core is open source now :O
03:29 noganex_ joined #mojo
03:32 sri DEVELOPERS DEVELOPERS DEVELOPERS
03:32 melo1 joined #mojo
03:45 jberger wasn't that a few months ago?
04:26 inokenty-w joined #mojo
04:42 jberger the behavior of the following changed between 5.72 and 5.73
04:42 jberger perl -Mojo -E 'say app->tag(script => b("<h2>hello</h2>"))'
04:43 jberger 5.72 the <h2> is not escaped, 5.73 it is
04:49 irq joined #mojo
04:51 jberger changed at this commit https://github.com/kraih/mojo/commit/6febda3b061bd5a123da3bbdec222ca8a367d8c3
04:52 Grinnz that was the XML inquisition commit :P
04:53 jberger yeah, I'm just trying to determine if a bug was introduced or corrected
04:53 jberger or maybe my case was undefined behavior
04:58 jberger I had written a helper that slurped an html file and wrapped it in a script tag, a js template loader
04:59 jberger I had used b(filename)->slurp and the bytestream object prevented escaping
04:59 jberger obviously I can fix it on my end
04:59 jberger but I'm wondering if we wanted the old behavior or not
05:09 sh4 joined #mojo
05:49 dod joined #mojo
05:55 dod joined #mojo
06:05 melo joined #mojo
06:42 rem_lex|pivo joined #mojo
07:15 fhelmber_ joined #mojo
07:17 marcusr oh the haters gonna hate hate hate hate hate, potaters gonna tate tate tate tate tate.
07:19 rofl_ NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNBatman
07:22 marcusr now playing Various Artists - Batman (100 greatest TV Themes)
07:30 rofl_ http://weknowmemes.com/wp-content/uploads/2011/11/dear-batman-i-came-in-your-mask.jpg
07:30 marcusr Switched to I'm afraid of Americans
07:31 rofl_ i guess you should be
07:31 marcusr I bought a bluetooth thingie so that I can highjack the office speakers.
07:31 marcusr 25kr at biltema with 30pin jack :D
07:31 rofl_ niice
07:31 rofl_ thats too damn cheap
07:31 rofl_ what does your colleagues think about this?
07:32 marcusr We'll see, Halvor comes back from vacation today :D
07:32 marcusr we're just two guys sharing this office.
07:32 rofl_ da blir det Alvor, Halvor
07:32 rofl_ osv
07:32 marcusr We actually discussed it before he left so no worries :)
07:33 * marcusr has been onsite at Youngstorget this morning to bring servers back from the dead.
07:33 rofl_ no officepranks while he was on vacation?
07:33 rofl_ onsite at nordaaker?
07:33 rofl_ nice
07:33 muraiki_ joined #mojo
07:33 marcusr ya, the power company replaced our trafo, so downtime from 12-06am
07:33 rofl_ supermarcus tricot?
07:34 rofl_ ouch
07:34 rofl_ that sucks
07:34 purl The rock is now off.
07:39 dod joined #mojo
08:00 dotandimet joined #mojo
08:08 crab trafo?
08:09 marcusr crab: https://www.google.no/search?q=trafo&amp;safe=off&amp;es_sm=122&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ei=ptPRVIjSN4bgav-dgqAP&amp;ved=0CAgQ_AUoAQ&amp;biw=1154&amp;bih=1075
08:11 Vandal joined #mojo
08:13 reneeb joined #mojo
08:14 trone joined #mojo
08:15 fhelmber_ joined #mojo
08:19 eseyman joined #mojo
08:23 irq joined #mojo
08:29 odc joined #mojo
08:42 dotandimet joined #mojo
08:42 crab q=trafo&safe=off
08:43 crab i see, it's an unsafe norwegian eletrical device ;-)
08:45 marcusr crab: for transforming high voltage electricity to 220v
09:04 ZadYree joined #mojo
09:11 dotandimet joined #mojo
09:25 alnewkirk joined #mojo
09:36 dod joined #mojo
09:51 irq joined #mojo
10:12 dotandimet joined #mojo
10:17 dotandimet joined #mojo
10:54 crab (marcusr: yeah, "transformer" in english)
10:55 punter joined #mojo
10:58 dod joined #mojo
11:04 marcusr crab: trafo is just short for transformer, obs
11:11 dotan joined #mojo
11:51 sri anyone know a good example for swag promotions on open source project sites?
11:51 punter joined #mojo
11:52 sri http://marionettejs.com/ # best i can find so far
11:55 sri the logo wiggle effect is funny too
12:12 dotan I keep meaning to upload photos of all the swag I got. 3 T-shirts, hoodie (which I love), coffee mug & beer mug
12:18 jkramer left #mojo
12:20 marcusr the marionette one is pretty cute
12:21 marcusr I would really like to do something with visitors to mojolicious and those green nodes over web sockets
12:32 Cyrus joined #mojo
12:40 asarch joined #mojo
12:40 marty_ joined #mojo
12:42 augensalat joined #mojo
12:44 meredith_ joined #mojo
12:44 btyler_ joined #mojo
12:44 ashleyde1 joined #mojo
12:44 mgrimes_ joined #mojo
12:44 buu_ joined #mojo
12:47 dustinm joined #mojo
12:54 neilhwatson joined #mojo
12:55 mtths joined #mojo
12:55 alnewkirk joined #mojo
12:56 ssm joined #mojo
12:56 muraiki joined #mojo
12:56 Vandal joined #mojo
12:57 Dandre joined #mojo
12:57 ZadYree joined #mojo
13:16 fhelmbe__ joined #mojo
13:19 rem_lex joined #mojo
13:40 marty joined #mojo
13:52 marmez joined #mojo
14:24 punter joined #mojo
14:26 gryphon joined #mojo
14:29 hernan604 joined #mojo
14:34 bwf joined #mojo
15:35 Ptolemarch joined #mojo
15:39 sh4 joined #mojo
15:41 amon joined #mojo
15:54 s1037989 batman: MP::AssetPack 0.36 failed for me on t/coffee.t
15:55 batman s1037989: not very helpful.
15:56 s1037989 https://gist.github.com/s1037989/8e0fdac92b4545a1ca26
15:56 batman thanks
15:56 s1037989 np
15:58 batman s1037989: can you try cpanm https://github.com/jhthorsen/mojolicious-plugin-assetpack/archive/master.tar.gz ?
15:59 s1037989 Success!
15:59 purl success is probably finding king size papers
15:59 batman s1037989: cool! i'll make a new release :)
16:01 cpan_mojo Mojolicious-Plugin-AssetPack 0.37 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-AssetPack-0.37
16:01 batman thanks again
16:18 marmez joined #mojo
16:18 hernan604 what would be the best way to implement sub timing stats like catalyst for mojolicious
16:18 hernan604 ?
16:40 Zx3 joined #mojo
16:40 sri sub or action?
16:55 sri anyway... http://mojolicio.us/perldoc/Mojolicious#around_action
16:57 hernan604 action better?
16:57 hernan604 yes, action
17:02 hernan604 oh cool, wasnt aware of ti
17:13 good_news_everyon joined #mojo
17:13 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/bWyK
17:13 good_news_everyon mojo/master 53fc92c Sebastian Riedel: fix warnings in Mojo::URL
17:13 good_news_everyon left #mojo
17:15 Grinnz_ my $authority = shift // return $self; # hey, 5.10.1 is required :P
17:17 hernan604 joined #mojo
17:29 odin22 joined #mojo
17:30 Grinnz_ sri: https://metacpan.org/pod/Mojolicious::Guides::Routing#Optional-placeholders - the third example block, it's not clear if those placeholders are optional because controller and action are specified for the route
17:33 jberger Grinnz_: yessir
17:34 Grinnz_ the text seems to infer there is special handling when multiple placeholders are next to each other, but the example doesn't really clarify
17:34 Grinnz_ seems to imply, rather
17:34 jberger (and I meant yessir about the 5.10)
17:36 sri Grinnz_: you are not clear
17:40 rem_lex joined #mojo
17:41 Grinnz_ "This is also the case if multiple placeholders are right after another and not separated by other characters than /."
17:41 purl okay, Grinnz_.
17:41 Grinnz_ what is "this"?
17:41 purl rumour has it "this" is not an article
17:41 Grinnz_ dammit purl
17:42 good_news_everyon joined #mojo
17:42 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/blvW
17:42 good_news_everyon mojo/master edac2ea Sebastian Riedel: be more specific about slash handling
17:42 good_news_everyon left #mojo
17:42 Grinnz_ ok, thank you
17:43 Grinnz_ purl: forget "this
17:43 purl Grinnz_: I forgot "this
17:44 sri it was not written like that before because at the time there were complicated limitations on the behavior
17:47 jberger I'm glad those limitations are gone
17:47 jberger hey sri, did you see my note from before?
17:47 jberger perl -Mojo -E 'say app->tag(script => b("<h2>hello</h2>"))'
17:47 jberger the behavior of tag with a trailing bytestream argument changed between 5.72 and 5.73
17:48 jberger it doesn't appear to have been "documented", but the documentation could be read as such, and it did work until then
17:49 jberger (from http://mojolicio.us/perldoc/Mojolicious/Plugin/TagHelpers#tag)
17:49 amon joined #mojo
17:49 jberger "Results are automatically wrapped in Mojo::ByteStream objects to prevent accidental double escaping in ep templates."
17:49 jberger so the idea that tag(name => b(...)) should not be escaped seems implied
17:50 jberger again, not arguing for or against, I'm just noting a behavior changed and asking if we care
17:50 jberger I had code that broke
17:50 jberger easy enough to fix
17:50 jberger (on my end)
17:52 sri jberger: meh
17:53 jberger well then, just keep it in mind in case people come asking, its an easy enough thing to fix once you figure out what happened
17:53 jberger that took some time on my end
17:53 sri i don't think it worked like that for long
17:53 jberger oh, well in that case, I'm less worried
17:53 sri think it was a side effect of adding xss_escape
18:14 ignacio_ joined #mojo
18:18 dod joined #mojo
18:48 fhelmber_ joined #mojo
18:57 marmez joined #mojo
19:06 rem_lex joined #mojo
19:06 good_news_everyon joined #mojo
19:06 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/blSD
19:06 good_news_everyon mojo/master c57ccf8 Sebastian Riedel: use more buzzwords
19:06 good_news_everyon left #mojo
19:09 dotan1 joined #mojo
19:09 Grinnz_ lol
19:09 sri :)
19:11 jberger use more 'buzzwords';
19:22 disputin joined #mojo
19:42 doby joined #mojo
19:52 skiehn joined #mojo
20:10 ignacio_ joined #mojo
20:10 Ptolemarch joined #mojo
20:10 bwf joined #mojo
20:10 gryphon joined #mojo
20:10 ssm joined #mojo
20:10 augensalat joined #mojo
20:10 asarch joined #mojo
20:10 bobkare joined #mojo
20:10 Mikey joined #mojo
20:10 cosimo_ joined #mojo
20:10 preaction joined #mojo
20:10 absolut__ joined #mojo
20:10 bc547_ joined #mojo
20:10 Snelius_ joined #mojo
20:10 kwa1 joined #mojo
20:10 ovnimanc_ joined #mojo
20:10 KindOne joined #mojo
20:10 McA joined #mojo
20:10 kmx joined #mojo
20:10 memowe joined #mojo
20:10 chansen joined #mojo
20:10 Grinnz_ joined #mojo
20:10 Lee joined #mojo
20:10 bayashi joined #mojo
20:10 go|dfish joined #mojo
20:10 crab joined #mojo
20:10 charsbar joined #mojo
20:10 davido__ joined #mojo
20:10 Foxcool joined #mojo
20:10 RenatoCRON2 joined #mojo
20:10 jzawodn joined #mojo
20:10 xtetsuji_ joined #mojo
20:10 D4RK-PH0ENiX joined #mojo
20:10 lb joined #mojo
20:10 genio joined #mojo
20:10 bd joined #mojo
20:10 robinsmidsrod joined #mojo
20:10 allison joined #mojo
20:10 diegok joined #mojo
20:10 Nemix joined #mojo
20:10 yusukebe joined #mojo
20:10 romel_ joined #mojo
20:10 paulg_ joined #mojo
20:10 bzero joined #mojo
20:10 Andreas2 joined #mojo
20:10 jmmills joined #mojo
20:10 cfedde joined #mojo
20:10 Rallias joined #mojo
20:10 psandin joined #mojo
20:10 mrEriksson joined #mojo
20:10 RenatoCRON joined #mojo
20:10 mikegrb joined #mojo
20:10 Ralesk joined #mojo
20:10 hahainternet joined #mojo
20:10 throughnothing joined #mojo
20:10 avenj joined #mojo
20:10 Kovensky joined #mojo
20:11 doby joined #mojo
20:12 rakshasa joined #mojo
20:30 avkhozov_ joined #mojo
20:37 Grinnz_ say i want to warn in the log whenever a request response took longer than 1s, but automatic rendering was not disabled (so it wasnt deferred)...
20:38 Grinnz_ is there any way i can get access to either the request timing (as output in the debug log) or the automatic rendering option in the public api?
20:49 dotandimet joined #mojo
20:51 nicomen Grinnz_: can't you do that in around_dispatch?
20:52 Grinnz_ i can do the timing myself in a hook yeah, but i dont know about the rendering
20:52 nicomen btw. in my company we measure request time in the web server in front of mojo, log it and graph it
20:52 nicomen before_render?
20:52 purl before_render is a very experimental plugin hook for very advanced mojolicious extensions
20:52 Grinnz_ lol
20:53 Grinnz_ nicomen: i mean knowing whether automatic rendering was disabled and/or rendering was deferred
20:53 Grinnz_ because in those cases, i don't care how long it took
20:55 nicomen aaah
20:58 sri $c->tx->is_writing
20:59 Grinnz_ huh... what does that check exactly?
21:23 sri maybe it's better if you don't know
21:26 Grinnz_ lol
21:27 Grinnz_ well i mean, i don't even understand what the high level meaning of it is
21:28 sri i guess this makes pub/sub scale with postgres https://github.com/johto/allas
21:29 dod joined #mojo
21:29 Grinnz_ oo
21:32 Grinnz_ https://metacpan.org/favorite/leaderboard i just saw Mojolicious is more popular than perl :P
21:33 sri perl has only been rising recently
21:33 sri for most of the last year we've been sharing #1 with Moose
21:35 jberger https://twitter.com/stevanlittle/status/374943840639004672
21:35 jberger ^^ when mojo passed moose
21:35 Grinnz_ going to a cpan search site and ++ing perl seems a little... silly :P
21:35 sri protected account
21:36 genio "Only confirmed followers have access to @stevanlittle's Tweets and complete profile. Click the "Follow" button to send a follow request."
21:36 genio meh
21:36 jberger srsly?
21:36 purl totally srsly.
21:36 sri just make a screenshot ;p
21:36 Grinnz_ lol
21:36 Grinnz_ even purl knows
21:36 Grinnz_ jeez
21:38 rem_lex joined #mojo
21:38 jberger http://imgur.com/Spk5JPI
21:38 Adurah_ What does Mojolicious have to do with a mens footrace?
21:39 Grinnz_ is tracing foo a sport?
21:39 Grinnz_ jberger: haha
21:39 Adurah_ Or, girl's volleyball...
21:40 genio heh
21:45 dod joined #mojo
21:50 melo joined #mojo
22:11 neyasov joined #mojo
22:16 zackiv31 joined #mojo
22:42 asarch joined #mojo
22:50 pink_mist reneeb: been meaning to ask, do you send CPAN Tester reports back for those Mojolicious modules you test on http://mojo.perl-services.de/ ?
22:53 pink_mist reneeb: oh wait, never mind .. I recall you used cpanm .. I don't think that does that :/
22:53 Grinnz_ https://metacpan.org/pod/distribution/App-cpanminus-reporter/bin/cpanm-reporter
22:54 pink_mist oh, so I'm wrong :P
22:54 Grinnz_ its not automatic, still
22:55 pink_mist well that's just a matter of adding a call to cpanm-reporter in the script he's using =)
22:56 Grinnz_ too bad there isn't a zeroconf version of CPAN::Reporter :P
22:56 Grinnz_ or cpantesters in general
22:57 Grinnz_ i suppose that would lead to spam more than anything
22:59 Averna joined #mojo
23:17 muraiki_ joined #mojo
23:25 reneeb pink_mist: not yet. But I will add support for cpanm-reporter soon...
23:54 absolut_todd joined #mojo
23:54 meshl joined #mojo

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