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

IRC log for #mojo, 2014-08-21

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

All times shown according to UTC.

Time Nick Message
00:01 d4rkie joined #mojo
00:16 sujithm joined #mojo
00:17 Akron joined #mojo
00:25 disputin joined #mojo
00:26 Akron sri: yep, reading the log.
00:27 disputin joined #mojo
00:27 Akron My implementation is here and I'll be very happy to remove it. But I remember I had some real world issues with simpler approaches than that ...
00:28 * sri hides
00:29 Akron Will check.
00:29 sri i was actually surprised to see this one only support the full form as well https://metacpan.org/pod/DateTime::Format::RFC3339
00:30 Akron Mh.
00:33 jberger Seems like any easy win, +1
00:34 good_news_everyon joined #mojo
00:34 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/LQbQ_w
00:34 good_news_everyon mojo/master c2e7c6f Sebastian Riedel: the status 451 did not become a standard
00:34 good_news_everyon left #mojo
00:35 sri it's funny how the things i don't expect to get all the +1s
00:36 sri (although after researching it does seem like an easy +1 now)
00:37 Akron Ah - no, the problem I remembered was 822 with the mandatory GMT, as Boingboing.net serves PDT!
00:38 Akron +1 from my side, too! (And I am happy I expressed the experimental status of XML::Loy::Date::RFC3339 ;))
00:38 sri :D
00:46 Akron XRD/JRD also uses RFC3339 - and I used the complex form for html5 datetime-attribute. There yyyy-mm-dd is quite common.
00:47 sri http://mojolicio.us/perldoc/Mojolicious/Plugin/TagHelpers#date_field
00:48 Akron I used it for parsing.
00:48 sri even the terrible week form is used http://mojolicio.us/perldoc/Mojolicious/Plugin/TagHelpers#week_field
00:49 Akron Yeah ... that one ...
00:53 Akron Have to go. Just a definite +1 on that one! sri++
00:53 Akron Bye!
00:53 sri \o/
00:53 sri Akron++
00:53 sri o/
00:57 sri oh, there's also http://mojolicio.us/perldoc/Mojolicious/Plugin/TagHelpers#month_field
01:10 woz joined #mojo
01:18 sujithm_ joined #mojo
01:20 laouji joined #mojo
01:26 sri muhahahaha
01:26 sri we could use the fact that mojolicious has no hard dependencies for security
01:27 sri curl https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm | perl - https://github.com/kraih/mojo/archive/v5.31.tar.gz
01:27 sri that one-liner is more secure than cpan
01:31 sri or to be really sure
01:31 sri curl https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm | perl - --curl https://github.com/kraih/mojo/archive/v5.31.tar.gz
01:40 klapperl_ joined #mojo
01:43 cpan_mojo joined #mojo
01:47 jberger joined #mojo
01:54 hlin joined #mojo
01:56 preaction joined #mojo
02:06 woz joined #mojo
02:44 noganex_ joined #mojo
02:52 woz joined #mojo
02:58 disputin joined #mojo
03:43 sujithm joined #mojo
03:49 good_news_everyon joined #mojo
03:49 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/VRaeoA
03:49 good_news_everyon mojo/master a9d9168 Sebastian Riedel: more Mojo::Date examples
03:49 good_news_everyon left #mojo
03:56 woz joined #mojo
04:03 GabrielVieira joined #mojo
04:10 mmp joined #mojo
04:11 davido_ joined #mojo
04:40 hrupp joined #mojo
04:40 mtths joined #mojo
04:57 woz joined #mojo
05:25 marcus sri: I like that idea
05:26 marcus and also +1 for to_datetime
05:43 laouji joined #mojo
05:46 Eke- joined #mojo
05:49 irq joined #mojo
05:58 woz joined #mojo
06:16 denis_boyun joined #mojo
06:24 _eugen joined #mojo
06:41 KCL joined #mojo
06:42 D4RK-PH0ENiX joined #mojo
06:59 woz joined #mojo
07:13 Vandal joined #mojo
07:26 basiliscos joined #mojo
07:32 rawler joined #mojo
07:37 basiliscos joined #mojo
07:46 woz joined #mojo
07:51 sh4 joined #mojo
08:45 fhelmber_ joined #mojo
08:49 * batman is also +1 on to_datetime()
08:51 dp_ joined #mojo
09:03 geira joined #mojo
09:57 marcus sri: I think with the Z it's more explicit.
09:57 marcus which I like.
09:58 irq joined #mojo
10:16 Nei marcus: do you know which colour is perl in that mutual mentions graph?(if it's included at all)
10:17 marcus Nei: I dunno
10:36 d4rkie joined #mojo
10:52 meshl joined #mojo
10:56 Kripton joined #mojo
11:14 neilhwatson joined #mojo
11:15 kbenson1 joined #mojo
11:20 * jberger upgraded convos with no issues!
11:21 jberger batman++ marcus++
11:21 batman jberger: sweet!
11:21 batman finally :)
11:21 marcus \o/
11:21 batman jberger: from cpan?
11:21 jberger Yep
11:22 batman ok
11:22 jberger Convos is teh awesomez
11:22 batman hehe ;)
11:23 batman now you have imgur support provided by...yourself! :)
11:23 jberger Oh right! \o/
11:24 jberger Now i remember that that was what i was going to do at that hack day, i was going to add more things to LinkEmbedder
11:24 jberger I got distracted
11:26 jberger Oh and btw, i think we should add support for the og meta tag namespace too
11:28 jberger Because so many sites want Facebook integration,  we can tap into that
11:33 batman who are "we"? Convos...?
11:33 batman if so -- i don't follow :(
11:39 batman jberger: ^
11:40 jberger We == people who contribute to LinkEmbedder
11:40 batman that is indeed a good idea.
11:40 * batman creates an issue
11:41 jberger Cool
11:41 batman or you could do it, if you want your name on it :)
11:41 batman it = the idea
11:41 batman i wonder if convos will be to crowded with embedded crap :/
11:41 batman marcus: ^ got any thoughts on that?
11:42 jberger I used those tags on the imgur plugin without knowing what they were, then i showed it to preaction who taught me about the og namespace
11:42 batman i already think the gist integration is...not the best
11:43 batman jberger: will you or should i create the issue?
11:43 batman jberger: i added you as collaborator to ::LinkEmbedder now
11:43 marcus batman: yeah, I also wonder if we should make the link embedding less intrusive by default. The gists take up a lot of space.
11:44 batman marcus: i agree. no idea how to make it consistent though :(
11:45 dp_ joined #mojo
11:55 batman jberger: https://github.com/jhthorsen/mojolicious-plugin-linkembedder/issues/3
11:59 gnephiak joined #mojo
12:02 gnephiak I have a question about Mojo::UserAgent and Mojo::Parameters. Can I use Mojo::UserAgent like $ua->post($some_url => form => $params); and $params is a Mojo::Parameters object?
12:03 gnephiak my $params = Mojo::Parameters->new(a => b, c =>d); is being send as params=a&params=b&params=c&params=d.
12:04 gnephiak I'd like it to be a=b&c=d...
12:04 Dandre Hello,
12:04 Dandre I have created a small application with authentication done by BascAuth plugin.
12:05 batman gnephiak: no, you cannot. but you can do (..., form => $params->to_hash)
12:05 Dandre Everything work fine under morbo but when trying to use apache/cgi mode I can't authenticate.
12:06 gnephiak batman: thanks! that's what I wanted. I'll try it
12:06 Dandre I have traced the authentication callback and no username and password are passed to it
12:06 Dandre Is there some subtility I ahve missed?
12:07 gnephiak batman: that's exactly the behavior I expected. Thanks
12:08 batman gnephiak: you're welcome :)
12:23 GabrielVieira joined #mojo
12:24 lipizzan joined #mojo
12:24 sujithm joined #mojo
12:27 dp_ joined #mojo
12:29 * neilhwatson wonders at all the cgi posts here, at stack*, and at perlmonks.
12:42 lipizzan joined #mojo
12:42 good_news_everyon joined #mojo
12:42 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/ta9Lhw
12:42 good_news_everyon mojo/master 4ef8d23 Sebastian Riedel: fixed offset handling
12:42 good_news_everyon left #mojo
12:43 sri nobody noticed that it's the other way around ;p http://tools.ietf.org/html/rfc3339#section-4.2
12:54 lipizzan joined #mojo
12:56 Mikey neilhwatson: old habits die hard.
13:05 sri just in case anyone missed my one-liner earlier, mojolicious is the only perl framework that can be bootstrapped completely secure :)
13:05 sri curl https://raw.githubusercontent.com​/miyagawa/cpanminus/master/cpanm | perl - https://github.com/kraih/mojo/archive/v5.31.tar.gz
13:07 jberger_ In concept the form handler could optionally take a params object
13:10 cpan_mojo Mojolicious-Plugin-AssetPack 0.22 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-AssetPack-0.22
13:11 punter joined #mojo
13:18 [0xAF] left #mojo
13:28 jberger_ batman: Firefox for android users notifications!
13:28 jberger_ *uses
13:30 * jberger_ slaps purl
13:30 purl o/` Hit me baby, one more time o/`
13:35 marcus batman: that exists?
13:35 marcus jberger_ even?
13:38 Claudio joined #mojo
13:38 hesco joined #mojo
13:40 rwf joined #mojo
13:44 sri ah, btw. appending a Z appears to be correct, since no offset seems to be equal to -00:00, which means local time with unknown UTC offset
13:44 sri while Z is equal to +00:00, which means equal to UTC
13:50 batman jberger_: that's very cool :)
13:50 batman convos++
13:51 jberger_ Ping me once more
13:51 batman jberger_: that's very cool :)
13:51 * batman have to go
13:51 batman jberger: see you and jberger_ later
13:51 batman take care
13:52 jberger_ Hmmmm claims to work, but maybe not very well
13:52 batman :(
13:52 jberger_ o/
13:52 jberger_ Gotta start somewhere, so that's better than nothing
13:53 jberger_ https://developer.mozilla.org/en-US/docs/Web/API/Notification/Using_Web_Notifications
13:54 jberger_ The demo there works
13:54 jberger_ And when i came to demo.convos.by it asked me if i wanted to enable
14:04 disputin joined #mojo
14:44 Dandre joined #mojo
14:47 punter joined #mojo
15:18 meshl joined #mojo
16:01 good_news_everyon joined #mojo
16:01 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/MGFNag
16:01 good_news_everyon mojo/master cd41388 Sebastian Riedel: do not ignore makefile.pm
16:01 good_news_everyon left #mojo
16:22 dexteruk joined #mojo
16:23 dexteruk_ joined #mojo
16:25 disputin joined #mojo
16:34 sri muhahahaha... oh windows https://github.com/rust-lang/cargo/pull/413
16:35 disputin joined #mojo
16:47 sujithm_ joined #mojo
16:48 marcus lol wat
16:49 marcus Good rule or best rule?
16:57 batman jberger_: did you get the first notification?
17:01 dexteruk__ joined #mojo
17:01 dexteruk___ joined #mojo
17:11 elik joined #mojo
17:34 hesco joined #mojo
17:39 good_news_everyon joined #mojo
17:39 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/oOaprA
17:39 good_news_everyon mojo/master af951b6 Sebastian Riedel: simplify test command
17:39 good_news_everyon left #mojo
17:55 sri always something that can still be simplified :)
17:56 sri empted to use App::Prove or just prove in the docs... but lib handling needs to be explained then and things get complicated
17:56 sri *tempted
18:05 batman jberger: nevermind. i've tested it myself
18:05 batman jberger_: would be awesome if you could test demo.convos.by
18:05 batman looks like notifications is a bit *weird*
18:10 GabrielVieira joined #mojo
18:18 good_news_everyon joined #mojo
18:18 good_news_everyon [mojo] kraih tagged v5.32 at ad2e59f: http://git.io/YPtQoA
18:18 good_news_everyon left #mojo
18:19 batman jberger: i've also created a branch for some more tweaks: https://github.com/Nordaaker/convos/pull/132
18:19 good_news_everyon joined #mojo
18:19 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/nLTBCA
18:19 good_news_everyon mojo/master 30c2774 Sebastian Riedel: bump version
18:19 good_news_everyon left #mojo
18:20 cpan_mojo Mojolicious 5.32 by Sebastian Riedel - http://metacpan.org/release/SRI/Mojolicious-5.32
18:23 disputin joined #mojo
18:35 dpe_ joined #mojo
18:40 KCL_ joined #mojo
18:45 woz joined #mojo
19:16 woz joined #mojo
19:18 doby joined #mojo
19:21 punter joined #mojo
19:22 GabrielVieira joined #mojo
19:23 basiliscos joined #mojo
19:26 disputin joined #mojo
19:39 punter joined #mojo
19:40 bobkare joined #mojo
19:44 disputin joined #mojo
19:56 woz joined #mojo
19:56 basiliscos joined #mojo
20:01 ua_ joined #mojo
20:06 disputin joined #mojo
20:09 meshl joined #mojo
20:11 dp_ joined #mojo
20:17 basiliscos joined #mojo
20:24 disputin joined #mojo
20:26 extreme joined #mojo
20:27 woz joined #mojo
20:27 extreme hi!
20:29 extreme maybe someone can help me on with this one, i want a controller to have a "startup" method that should get executed once when the controller is loaded in memory. How can i achieve this ?
20:35 batman extreme: sub new {} or sub import {}
20:36 * batman need to get some sleep
20:36 batman sorry for not being able to explain more :/
20:37 basiliscos joined #mojo
20:40 extreme i want to create a plugin module that self includes a route for itself in mojo routes
20:42 extreme so a person would only need to copy the .pm using a given plugin namespace ie: "My::App::Plugin"::SomePlugin and inside this class, there is a method which injects the route
20:47 marcus sri:  Name "main::DATA" used only once: possible typo at /home/travis/perl5/perlbrew/perls/5.12/lib/site_perl/5.12.5/Mojo/Loader.pm line 53. <- are those related to the data/fork issues we've been discussing lately?
20:52 noganex joined #mojo
20:59 sri marcus: no clue
21:09 sri there may be a solution to the signatures problem in the not so distant future btw.
21:09 sri the signatures pragma on cpan may be turned into a fallback for older versions of perl
21:10 sri so we add a hard dependency on that and can just use signatures everywhere
21:16 btyler joined #mojo
21:36 meshl joined #mojo
21:59 woz joined #mojo
22:02 disputin joined #mojo
22:37 neilhwatson joined #mojo
23:01 d4rkie joined #mojo
23:01 woz joined #mojo
23:28 d4rkie joined #mojo
23:43 lipizzan joined #mojo
23:49 sujithm joined #mojo

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