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

IRC log for #mojo, 2014-04-12

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

All times shown according to UTC.

Time Nick Message
00:49 asarch joined #mojo
00:54 punter joined #mojo
01:20 klapperl joined #mojo
02:51 andrefs joined #mojo
02:59 asarch joined #mojo
04:12 sujithm joined #mojo
04:36 alnewkirk joined #mojo
06:03 Vandal joined #mojo
06:44 dod joined #mojo
06:52 rem_lex| joined #mojo
06:54 sh4 joined #mojo
06:57 sujithm_ joined #mojo
07:01 Eke- joined #mojo
08:22 basiliscos joined #mojo
09:13 dpetrov_ joined #mojo
09:22 batman sri: why does $ua->ioloop have default Mojo::IOLoop->new instead of Mojo::IOLoop->singleton ?
10:08 batman marcus: https://github.com/jhthorsen/mojo-yr
10:11 denis_boyun joined #mojo
10:11 batman marcus: i really think the Weather::YR API is overkill...
10:28 denis_boyun joined #mojo
11:07 eugen joined #mojo
11:08 phips left #mojo
11:31 batman jberger: you here? i was wondering if you had any comment on the issue: https://github.com/Nordaaker/convos/issues/73
11:32 batman do you think the action list in the right side nick list is a good solution?
11:32 batman s/a good solution/something you would like/
11:36 d4rkie joined #mojo
11:49 d4rkie joined #mojo
11:52 Vandal joined #mojo
12:35 denis_boyun joined #mojo
12:40 sh4 joined #mojo
12:49 sujithm joined #mojo
13:03 asarch joined #mojo
13:06 mono_junior joined #mojo
13:06 mojo_junior joined #mojo
13:08 mojo_junior Good day! I need to send long data from client browser to mojo-server.   Please tell, how should route and process such data transfer!!
13:23 sri batman: because you can't start an ioloop twice, which would be required for blocking
13:27 sri perl -Mojo -E 'app->ua->ioloop(Mojo::IOLoop->singleton); a(sub { $_->render(data => g("mojolicio.us")->dom->at("title")->text) })->start' get / "#showcase > pre" text
13:28 sri hmm
13:28 sri i guess filtering out the error from the dev 500 page would be easier if we gave the <pre> an obvious id like #error :)
13:32 mojo_junior gentlemen, how to take the data that I sent in via var req = new XMLHTTPRequest(); req.open('POST', url, 0); req.send(DATA_TO_BE_RECIEVED_IN MOJO)
13:32 mojo_junior ??
13:35 good_news_everyone joined #mojo
13:35 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/MT-YBA
13:35 good_news_everyone mojo/master 6821063 Sebastian Riedel: made error message easier to extract from exception page
13:35 good_news_everyone left #mojo
13:35 sri ok, that's better :)
13:35 batman sri: i don't get it. i do $ioloop->start; $ioloop->stop; all the time :/
13:36 sri batman: try my example
13:36 batman ah! now i get it
13:36 batman thanks
13:36 * batman will fix mojo-yr
13:37 sri ./myapp.pl get / '#error' text
13:37 sri quite a bit nicer for extracting the error message
13:50 ryozi joined #mojo
14:16 punter joined #mojo
14:28 cmihai_ joined #mojo
14:31 dpetrov_ joined #mojo
14:39 Vandal joined #mojo
14:49 malikai joined #mojo
15:11 zivester joined #mojo
15:15 espent joined #mojo
15:24 sujithm joined #mojo
15:39 nic joined #mojo
15:43 cooper joined #mojo
16:00 dpetrov_ joined #mojo
16:09 cpan_mojo Mojolicious-Plugin-Args 0.02 by AMIRITE - http://metacpan.org/release/AMIRITE/Mojolicious-Plugin-Args-0.02
16:17 tianon mojo_junior: sounds like you're looking for req->body
16:18 tianon mojo_junior: but if you're looking for continuous streaming data back and forth, you really want to check out websockets
16:51 mire joined #mojo
16:53 denis_boyun joined #mojo
16:56 dpetrov_ joined #mojo
17:05 sri hmmm
17:06 * sri wonders if the "./myapp.pl get / '#error' text" trick should be mentioned in the lite tutorial next to the 500/404 section
17:07 sri the get command is mentioned earlier, but this one could specifically mention CSS selectors for extracting only the parts you're interested in
17:08 sri there are many more examples in the cookbook... but i wonder if this should be at least introduced to the reader a little earlier http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#Command_line
17:10 sri specifically here http://mojolicio.us/perldoc/Mojolicious/Lite#Built-in_exception_and_not_found_pages
17:10 sri it could show "$ ./myapp.pl get /dies '#error' text"
17:10 * sri shrugs
17:18 crab i think it's a good idea
17:24 cpan_mojo Mojolicious-Plugin-Nour-Config 0.08 by AMIRITE - http://metacpan.org/release/AMIRITE/Mojolicious-Plugin-Nour-Config-0.08
17:25 cpan_mojo Mojolicious-Plugin-Nour-Database 0.08 by AMIRITE - http://metacpan.org/release/AMIRITE/Mojolicious-Plugin-Nour-Database-0.08
17:38 Eke- joined #mojo
17:39 sri there tutorials are not bad at all http://oliverguenther.de/2014/04/applications-with-mojolicious-part-four-database-schemas-with-dbixclass/
17:39 sri s/there/these/
17:49 good_news_everyone joined #mojo
17:49 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/2yic0g
17:49 good_news_everyone mojo/master c93daac Sebastian Riedel: show how to use CSS selectors with the get command
17:49 good_news_everyone left #mojo
17:50 sri crab: don't think it's too much that both sections here refer to the get command? http://mojolicio.us/perldoc/Mojolicious/Lite#HTTP
17:53 good_news_everyone joined #mojo
17:53 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/4YOsxA
17:53 good_news_everyone mojo/master d5a08aa Sebastian Riedel: test exact error message
17:53 good_news_everyone left #mojo
18:08 dod joined #mojo
18:11 klapperl_ joined #mojo
18:23 asarch joined #mojo
18:26 chorny joined #mojo
18:40 crab no, i don't think it's too much
18:49 disputin joined #mojo
18:59 dpetrov_ joined #mojo
19:10 maxhq joined #mojo
19:21 btyler joined #mojo
19:22 punter joined #mojo
20:10 sugar joined #mojo
20:16 mire joined #mojo
20:27 cmihai_ Hey.
20:29 howitdo joined #mojo
20:32 cmihai_ 'return $self->is_status_class(100) || $code eq 204 || $code eq 304;' in Mojo/Message/Response.pm (and Mojo/UserAgent/Transactor.pm). Shouldn't this be == instead?
20:33 cmihai_ (Probably doesn't matter, just came across it by accident)
20:33 marcus joined #mojo
20:43 good_news_everyone joined #mojo
20:43 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/DSAnjw
20:43 good_news_everyone mojo/master 06b041e Sebastian Riedel: use numeric comparison for status codes
20:43 good_news_everyone left #mojo
20:43 sri yea, doesn't matter, but should be consistent
21:16 cmihai_ sri: indeed, TIMTOWTDIBSCINABTE!
21:17 cmihai_ 10 minutes from 'review' to 'refactoring' commit... pure awesome :-). I'm loving mojo more and more each day, heh.
21:24 sri :)
21:25 * sri wonders if the death of free ssl certificates will make a difference for http/2 requiring it
21:26 sri StarCOM should be toast after this https://revokame.tonylampada.com.br/
21:26 sri *+t
21:32 cmihai_ Hm.. one year from now is going to be a bad time to be a AD / CA admin :P
21:32 cmihai_ (Or a good time to start a consulting business)
21:54 bjoernfan sri: Wow.
22:11 espent joined #mojo
22:11 klapperl joined #mojo
22:15 d4rkie joined #mojo
22:32 d4rkie joined #mojo
22:32 meshl joined #mojo
22:34 nic joined #mojo
23:02 nic joined #mojo
23:13 nic joined #mojo
23:21 meshl joined #mojo
23:23 og01 joined #mojo
23:25 mattp joined #mojo
23:25 mudler joined #mojo
23:25 lb joined #mojo
23:29 cstamas joined #mojo
23:29 jmmills joined #mojo
23:29 klapperl joined #mojo
23:29 marcus joined #mojo
23:29 mire joined #mojo
23:29 punter joined #mojo
23:29 zivester joined #mojo
23:29 cmihai joined #mojo
23:29 basiliscos joined #mojo
23:29 rem_lex| joined #mojo
23:29 odc joined #mojo
23:29 dwierenga joined #mojo
23:29 russum joined #mojo
23:29 Adurah joined #mojo
23:29 ua joined #mojo
23:29 ua_ joined #mojo
23:29 bjoernfan joined #mojo
23:29 Jonneh joined #mojo
23:29 Gedge joined #mojo
23:29 mport joined #mojo
23:29 mtths joined #mojo
23:29 inokenty joined #mojo
23:29 bzero joined #mojo
23:29 frustrating_chat joined #mojo
23:29 D4RK-PH0ENiX joined #mojo
23:29 stokachu joined #mojo
23:29 cpan_mojo joined #mojo
23:29 jberger joined #mojo
23:29 DaniBunny joined #mojo
23:29 abhishekisnot joined #mojo
23:29 bc547 joined #mojo
23:29 nicomen joined #mojo
23:29 cosimo joined #mojo
23:29 tardisx joined #mojo
23:29 jojo joined #mojo
23:29 diegok joined #mojo
23:29 stephan48 joined #mojo
23:29 bowtie joined #mojo
23:29 lestrrat joined #mojo
23:29 allison_ joined #mojo
23:29 LordV joined #mojo
23:29 genio joined #mojo
23:29 mtj joined #mojo
23:29 ashleydev joined #mojo
23:29 mfontani joined #mojo
23:29 bobkare joined #mojo
23:29 caeles joined #mojo
23:30 jhg_ joined #mojo
23:30 Jonis joined #mojo
23:30 da5id joined #mojo
23:50 bluescreen joined #mojo

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