Camelia, the Perl 6 bug

IRC log for #mojo, 2013-09-13

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

All times shown according to UTC.

Time Nick Message
00:06 whatitdo joined #mojo
00:21 asarch joined #mojo
00:24 eric_ joined #mojo
00:25 eric_ hey room, getting ready to deploy a simple mojolicious app, wondering the best way to get morbo to respond on port 80 so I don't have to do much in the way of network setup
00:25 eric_ any pointers?
00:31 shmuel joined #mojo
00:40 russum joined #mojo
00:41 russum left #mojo
00:50 russum1 joined #mojo
00:51 good_news_everyone joined #mojo
00:51 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/zL_aXg
00:51 good_news_everyone mojo/master 3944d24 Sebastian Riedel: improved design of built-in templates
00:51 good_news_everyone left #mojo
00:52 sri http://mojolicio.us/perldoc/​Mojolicious/Lite#Hello_World
00:52 sri now with moar pinstripes :)
01:01 laouji joined #mojo
01:06 good_news_everyone joined #mojo
01:06 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/1Be36Q
01:06 good_news_everyone mojo/master cbc1752 Sebastian Riedel: use a darker pattern
01:06 good_news_everyone left #mojo
01:28 basic6 joined #mojo
01:32 good_news_everyone joined #mojo
01:32 good_news_everyone [mojo] kraih tagged v4.37 at dbe3d61: http://git.io/lDdAzQ
01:32 good_news_everyone left #mojo
01:42 sri ok, now i'm happy \o/
01:43 duncanthrax joined #mojo
01:43 sri so pretty http://mojolicio.us/perldoc/Mojo/DOM#ancestors
01:56 lammel2 left #mojo
02:01 d4rkie joined #mojo
02:33 btyler joined #mojo
03:11 preflex_ joined #mojo
03:16 d4rkie joined #mojo
03:19 jberger joined #mojo
03:20 jberger sri: I like the concept, one more thing though, on a small screen the pinstripes are too many and to closely packed, perhaps a media selector?
03:34 senthil joined #mojo
04:34 dvinciguerra joined #mojo
04:37 senthil1 joined #mojo
05:00 andrei joined #mojo
05:03 KindTwo joined #mojo
05:37 KindTwo joined #mojo
05:49 punter joined #mojo
06:10 senthil1 left #mojo
06:16 dotandimet joined #mojo
06:17 ryozi joined #mojo
06:18 dpetrov_ joined #mojo
06:43 dod joined #mojo
07:00 basiliscos joined #mojo
07:04 dod joined #mojo
07:06 hrupp left #mojo
07:11 trone joined #mojo
07:19 entro joined #mojo
07:43 Vandal joined #mojo
07:53 arpadszasz joined #mojo
07:55 entro_ joined #mojo
07:58 fhelmber_ joined #mojo
07:59 mire joined #mojo
08:19 maxhq joined #mojo
08:21 arpadszasz joined #mojo
08:23 batman joined #mojo
08:31 Dandre hello,
08:31 nic hi
08:33 dotandimet joined #mojo
08:33 Dandre I am using JSONConfig plugin has described here:http://search.cpan.org/~sri/Mojolicious-4​.37/lib/Mojolicious/Plugin/JSONConfig.pm
08:33 Dandre but if the config file is missing or if it is unparsable, the application doesn'start. How can I catch those error?
08:34 Dandre eq if file is missing, start with default configuration
08:42 D4RK-PH0ENiX joined #mojo
08:47 stephanj check yourself if the file exists?
08:49 nic Dandre: I'm not sure, but can't you wrap the config loading in an eval?
09:14 arpadszasz joined #mojo
09:21 nic In my cases a cfg error is usually meant to be fatal, and should be caught by application-specific unit tests
09:27 KindOne joined #mojo
09:37 ver joined #mojo
10:30 mire joined #mojo
10:56 * tempire released updated version of Mojolicious::Plugin::JSONP
10:56 tempire Dandre: ^
10:56 arpadszasz joined #mojo
11:01 asarch joined #mojo
11:08 Adura joined #mojo
11:31 jamesw joined #mojo
11:31 arpadszasz joined #mojo
11:37 mire joined #mojo
11:40 yakudza joined #mojo
11:42 stephanj tempire: thanks for patching it
11:47 Dandre tempire: hi
11:48 ladnaV joined #mojo
11:49 Dandre I'd try ssl auth to authenticated a host some of my routes. Can you give me some tip to do that?
11:49 Dandre I have seen that you've written a ssl_auth plugin
11:50 Dandre but I don't kwon how to use it to authenticate my client connecting to my server
12:05 dqw joined #mojo
12:05 Vandal joined #mojo
12:07 basiliscos joined #mojo
12:17 rem_lex joined #mojo
12:37 Dandre joined #mojo
12:39 Dandre tempire: ?
12:41 jberger_ joined #mojo
12:53 dotandimet joined #mojo
13:02 btyler joined #mojo
13:17 bluescreen joined #mojo
13:19 dqw joined #mojo
13:20 dvinciguerra joined #mojo
13:34 * sri yawns
13:35 yko joined #mojo
13:43 sh4 joined #mojo
13:44 yko joined #mojo
13:48 btyler joined #mojo
13:53 ladnaV joined #mojo
13:53 Vandal joined #mojo
14:10 yakudza joined #mojo
14:26 ladnaV joined #mojo
14:32 Vandal joined #mojo
14:44 gryphon joined #mojo
14:45 ladnaV joined #mojo
14:56 dqw joined #mojo
15:23 nicolaas joined #mojo
15:23 bowtie_ joined #mojo
15:34 Vandal joined #mojo
16:03 phillipadsmith tempire++
16:08 ladnaV joined #mojo
16:15 gtodd left #mojo
16:15 gtodd joined #mojo
16:28 gtodd hmm Web::Machine
16:30 dqw joined #mojo
16:30 denisboyun joined #mojo
16:31 Vandal joined #mojo
16:39 ladnaV joined #mojo
16:41 jberger joined #mojo
16:41 dvinciguerra joined #mojo
16:46 Dandre joined #mojo
16:51 Vandal joined #mojo
16:52 ladnaV joined #mojo
16:53 jberger_ joined #mojo
16:55 fhelmber_ joined #mojo
17:02 ryozi joined #mojo
17:15 lammel2 joined #mojo
17:24 arpadszasz joined #mojo
17:34 batman https://metacpan.org/module/​Mojolicious::Plugin::PgAsync # i didn't know this existed :)
17:34 batman does that mean that if the query takes 10 seconds to run, then my app will do other stuff in the meanwhile?
17:37 dod joined #mojo
17:41 mst that appears to be the idea, yes.
17:43 sri module looks pretty good actually
17:44 sri http://api.metacpan.org/source/ROMANE​NKO/Mojolicious-Plugin-PgAsync-0.03/l​ib/Mojolicious/Plugin/PgAsync/Db.pm
17:44 sri uses native async support in DBD::Pg and hooks up the handle to the reactor
17:45 sri not sure if this is part of the public api though... "IO::Handle->new_from_fd($dbh->{pg_socket}, 'r')"
17:46 sri ah, it is \o/
17:46 sri https://metacpan.org/module/DBD:​:Pg#pg_socket-integer-read-only
17:55 fhelmber_ joined #mojo
18:04 dvinciguerra joined #mojo
18:17 gryphon joined #mojo
18:34 bluescreen joined #mojo
19:01 mire joined #mojo
19:40 batman pretty awesome :)
19:41 batman wonder when we will have an async DBIx::Class...
19:41 * batman guess never
19:44 jzawodn ugh
19:44 jzawodn the new "async" stuff in DBD::mysql is really like half-async
20:05 rem_lex|pivo joined #mojo
20:12 sri jzawodn: looks good enough to me
20:13 sri you've got an fd to watch, and can "return unless $dbh->mysql_async_ready; $self->$cb($dbh->mysql_async_result);"
20:14 sri just the sleep example is pretty terrible
20:14 sri the api itself looks perfectly usable to me though
20:16 * sri is referring to https://metacpan.org/module/DB​D::mysql#ASYNCHRONOUS-QUERIES
20:20 d4rkie joined #mojo
20:36 jzawodn sri: yeah... sadly the initial connect is blocking, as is the execute
20:37 sri oh
20:38 sri DBD::Pg does the same though
20:39 batman jzawodn: huh? "Statements created with 'async' set to true in prepare always run their queries asynchronously when "execute" in DBI is called"
20:39 batman is it really blocking on execute?
20:40 sri (blocking connect)
20:40 batman right.
20:40 batman i was thinking about "as is the execute"
20:41 batman though, i think blocking on connect is not nearly as bad as having blocking do/execute :)
20:44 rem_lex joined #mojo
20:50 jzawodn hmm.  I'm not sure that docs are totally accurate.  I've done a lot of testing with that code lately, but I'll have to re-check before I make more claims.
20:52 batman make super slow join. it should be easy enough to test :)
20:52 batman i mean... after all... it's mysql :D
20:54 batman j/k
20:54 tianon delete all the indicies! \o/
21:45 perlite joined #mojo
21:58 LordV I saw the same thing when I wrote an async interface to the SNMP.pm that comes with net-snmp: using the async API and v3 authorization, the AUTH phase always blocks, even tho the rest of the API is truly async.
22:22 dabudabu joined #mojo
22:24 asarch joined #mojo
22:53 jberger joined #mojo
23:03 jberger_ joined #mojo
23:21 jberger Bender: share the love
23:21 jberger Bender: spread the love
23:22 jberger Hey it worked for once
23:22 * jberger makes a mental note: spread
23:25 tianon like butter on your toast :)
23:45 human39 joined #mojo
23:49 sri Bender: butter my toast
23:49 sri :(
23:50 tianon can he make coffee at least? :)

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