Camelia, the Perl 6 bug

IRC log for #mojo, 2013-10-11

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

All times shown according to UTC.

Time Nick Message
00:19 mattp joined #mojo
00:24 cstamas joined #mojo
00:44 shmuel joined #mojo
01:05 laouji joined #mojo
01:55 zivester joined #mojo
01:57 d4rkie joined #mojo
02:07 d4rkie joined #mojo
02:07 shmuel joined #mojo
02:07 mattp joined #mojo
02:07 dvinciguerra_ joined #mojo
02:07 bpmedley joined #mojo
02:07 hrupp joined #mojo
02:07 basic6_ joined #mojo
02:07 arthas joined #mojo
02:07 dpetrov_ joined #mojo
02:07 preflex joined #mojo
02:07 hesco joined #mojo
02:07 espent joined #mojo
02:07 alnewkirk joined #mojo
02:07 Daga4 joined #mojo
02:07 Zmodem joined #mojo
02:07 jnbek joined #mojo
02:07 Gedge joined #mojo
02:07 batman joined #mojo
02:07 dabudabu joined #mojo
02:07 hlin joined #mojo
02:07 tianon joined #mojo
02:07 garu joined #mojo
02:07 mst joined #mojo
02:07 zackiv31 joined #mojo
02:07 mikegrb joined #mojo
02:07 bobkare joined #mojo
02:07 caeles joined #mojo
02:07 jwang joined #mojo
02:07 salparadise joined #mojo
02:07 keedi joined #mojo
02:07 Bender joined #mojo
02:07 memowe joined #mojo
02:07 bzero joined #mojo
02:07 cosimo joined #mojo
02:41 d4rkie joined #mojo
03:51 preflex_ joined #mojo
04:42 dqw8 joined #mojo
05:04 Vandal joined #mojo
05:31 bpmedley joined #mojo
05:35 marcus http://coreos.com/blog/etcd-v0.​1.2-new-dashboard-and-bugfixes/ etcd is starting to look quite good
05:35 marcus metacpan still down? :o
05:36 marcus oh, just slow
05:36 marcus Think I'll integrate etcd into mojo
05:36 marcus Mojo::Etcd + Mojo::Plugin::EtcdConfig or so
05:40 bpmedley joined #mojo
05:52 crab what's etcd?
05:52 crab the daemon that takes care of everything that isn't explicitly listed elsehwere?
05:59 duncanthrax joined #mojo
06:39 dod joined #mojo
06:46 dod joined #mojo
07:28 sri bpmedley: no need to decode and encode the json again... just ->send({bytes => $txt})
07:29 sri oops... ->send({binary => $txt})
07:29 marcus crab: config deaemon for frontend clusters.
07:30 marcus crab: Like http://zookeeper.apache.org/ but more lightweight
07:33 * marcus buys plane tickets to brussels for fosdem 2014
07:41 basiliscos joined #mojo
07:57 trone joined #mojo
08:02 themage joined #mojo
08:06 dpetrov- joined #mojo
08:10 mire__ joined #mojo
09:07 maxhq joined #mojo
09:26 fhelmber_ joined #mojo
09:27 jpn joined #mojo
09:46 basic6 joined #mojo
09:56 Dandre hello,
09:58 Dandre How can I get the "true" url for a route. I mean that Iif I use $c->url_for I get the url based on application's root but I am using a reverse proxy so the url isn't correct.
09:58 Dandre How can I deal with that?
09:59 nicomen that's GOT to be a FAQ by now
09:59 nicomen I need to look that up always
10:01 nicomen $ perl -wl -Mojo -E 'a("/" => sub { $s=shift;$s->render(text=>​$s->url_for("/")->to_abs) })->start' get /
10:01 nicomen http://localhost:46233/
10:01 nicomen courtesy of: http://stackoverflow.com/questions/464​6689/mojolicious-url-for-absolute-path
10:08 denis_boyun joined #mojo
10:08 batman Dandre: ->to_abs ?
10:09 batman Dandre + https://metacpan.org/module/Mo​jolicious::Plugin::RequestBase
10:13 mire__ joined #mojo
10:31 good_news_everyone joined #mojo
10:31 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/7GP8BA
10:31 good_news_everyone mojo/master c7dc48c Sebastian Riedel: many more links in guides
10:31 good_news_everyone left #mojo
10:35 mire_ joined #mojo
10:36 sri ->to_abs is not exactly a well kept secret... in fact, for a few weeks now it is the first example below the url_for entry... http://mojolicio.us/perldoc/M​ojolicious/Controller#url_for
10:43 dhg joined #mojo
10:53 nicolaas joined #mojo
10:57 dqw8 joined #mojo
10:58 ryozi joined #mojo
10:58 rafl joined #mojo
11:02 d4rkie joined #mojo
11:48 punter joined #mojo
12:15 hrupp joined #mojo
12:37 dod1 joined #mojo
12:44 dod joined #mojo
12:47 TitanOfOld joined #mojo
12:54 asarch joined #mojo
12:57 hrupp left #mojo
12:57 hrupp joined #mojo
12:59 maxhq joined #mojo
13:00 Dandre Ok I have got it, thanks
13:06 ver joined #mojo
13:22 bluescreen joined #mojo
13:24 maxhq joined #mojo
13:26 maxhq joined #mojo
13:26 denisboyun joined #mojo
13:29 maxhq joined #mojo
13:31 maxhq joined #mojo
13:33 maxhq joined #mojo
13:38 punter joined #mojo
13:41 maxhq joined #mojo
13:43 maxhq joined #mojo
13:44 maxhq joined #mojo
13:46 maxhq joined #mojo
13:47 maxhq joined #mojo
13:47 maxhq joined #mojo
13:48 bowtie_ joined #mojo
13:52 rem_lex| joined #mojo
13:54 dotandimet joined #mojo
13:56 maxhq joined #mojo
13:57 maxhq joined #mojo
13:59 maxhq joined #mojo
14:08 dhg joined #mojo
14:10 D4RK-PH0ENiX joined #mojo
14:15 mire_ joined #mojo
14:21 dolmen left #mojo
14:42 beyondcreed joined #mojo
14:47 gryphon joined #mojo
14:48 sh4 joined #mojo
15:01 abhishekisnot joined #mojo
15:27 al joined #mojo
15:29 asarch joined #mojo
15:56 d4rkie joined #mojo
16:15 sri anyone using mango with mongos?
16:15 nic uh-oh
16:16 nic nobody panic...
16:16 nic but build of Mojolicious 4.45 is failing for me on linux
16:16 * nic would debug, but hands are shaking too much
16:16 * sri panics and jumps out the window
16:17 sri http://www.cpantesters.org/distro​/M/Mojolicious.html#Mojolicious-4.45
16:17 sri no real fails, must be you
16:17 nic phew
16:26 dod joined #mojo
16:27 dhg joined #mojo
16:33 nic This is weird.  Anyone avail to do "cpanm --look Mojolicious" ?  (only takes 1 sec)
16:34 nic in t/mojolicious/command.t does it have "chdir $dir" followed by "ok -d catdir($dir, qw(foo bar)), 'directory exists'" ?
16:35 nic if I remove "$dir, " then all tests pass
16:36 tianon just did so, ran prove -l t/*, and everything passed
16:36 tianon and yes, but there's a $command->create_rel_dir('foo/bar') in between those two
16:37 nic tianon: thanks
16:37 tianon yep :P
16:37 tianon linux-amd64 here
16:38 nic looks like creation of the temp dir is failing for me; nuts; thanks for your time
16:41 sri that's very odd, many tests use temp dirs too
16:42 sri *+other
16:43 nic For other people, is $dir an abs (path) dir?  (eg begins with "/")  Or is it a local dir?  (no "/
16:46 nic k, the problem is local to one server (unfortunately the business's most valuable server)
16:52 SmokeMachine joined #mojo
16:58 denis_boyun joined #mojo
17:05 nic sri: In that test, is there a gain having it do "catdir($dir, qw(foo bar))" instead of "catdir(qw(foo bar))"?
17:06 nic It was useful in alerting me that someone had broken the machine's /tmp
17:07 sri i've not been following you
17:07 sri busy looking into mongodb stuff
17:08 nic k, it's v low importance
17:08 sri turns out mongodb has a built in way to start a test cluster
17:09 sri mongo -nodb
17:09 sri cluster = new ShardingTest({"shards": 3, "chunksize": 1})
17:09 sri and you have a sharded cluster running locally
17:27 basiliscos joined #mojo
17:29 d4rkie joined #mojo
17:41 dotandimet joined #mojo
17:52 maxhq joined #mojo
18:03 basic6 joined #mojo
18:09 btyler joined #mojo
18:21 sri managed to make Mango compatible with mongos (sharded cluster) \o/ https://github.com/kraih/mango/commit/2​9c3c78b38b1a67acaf709790f08c8138f87e5ab
18:22 sri turns out it is more picky about cursors actually existing than mongod
18:31 tianon sri++ # getting the cool shit done \o/
18:41 k0xa joined #mojo
18:43 mire_ joined #mojo
18:43 k0xa hey guys! How do I get the very first visited URL in the redrects chain using Mojo::UserAgent?  Say, we got the following redirect chain: [foo.com] => [www.foo.com] => [foo.org] , how do I get [foo.com] ?
18:44 sri http://mojolicio.us/perldoc/M​ojo/Transaction/HTTP#previous
18:47 good_news_everyone joined #mojo
18:47 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/J30RHg
18:47 good_news_everyone mojo/master de97223 Sebastian Riedel: better example for accessing previous requests
18:47 good_news_everyone left #mojo
18:50 k0xa sri, It seems that it only return the 2nd url [www.foo.com], but I need the 1st [foo.com], fast example: http://pastebin.com/QPLSyQxZ
18:51 punter joined #mojo
18:52 k0xa better to replace with google.com, hold on a second..
18:53 k0xa sri, http://pastebin.com/tauncinF
18:53 k0xa my question is very close to: https://groups.google.com/forum/​#!topic/mojolicious/QNaellR5MrE
18:53 sri visit the link again
18:56 k0xa sri, thanks
19:03 * sri would really like to work on failover for mango... but getting the tests right would be a hell of a lot of work
19:17 Mike-PerlRecruiter_ joined #mojo
19:18 Adurah_ joined #mojo
19:36 denis_boyun joined #mojo
19:54 denis_boyun joined #mojo
19:55 maxhq joined #mojo
20:00 dhg joined #mojo
20:03 rem_lex joined #mojo
20:30 dotandimet joined #mojo
21:17 berov joined #mojo
21:36 tba_ joined #mojo
21:43 dotandimet1 joined #mojo
21:43 tba joined #mojo
22:04 buu joined #mojo
22:34 basiliscos joined #mojo
22:47 basiliscos1 joined #mojo
23:19 basiliscos joined #mojo

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