Camelia, the Perl 6 bug

IRC log for #mojo, 2012-12-18

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

All times shown according to UTC.

Time Nick Message
00:14 zaltekk joined #mojo
00:14 Molaf__ joined #mojo
00:26 egopro joined #mojo
00:40 robinsmidsrod joined #mojo
00:50 mire_ joined #mojo
01:11 laouji joined #mojo
01:12 egopro joined #mojo
01:14 Mike-PerlRecruiter_ joined #mojo
01:14 hlin joined #mojo
01:17 batman_ joined #mojo
01:17 wircus joined #mojo
01:29 egopro joined #mojo
01:42 egopro joined #mojo
01:42 egopro joined #mojo
01:51 d4rkie joined #mojo
02:19 egopro joined #mojo
03:32 laouji joined #mojo
03:45 noganex_ joined #mojo
04:07 xaka joined #mojo
04:14 mire_ joined #mojo
04:24 Foxcool_ joined #mojo
04:27 good_news_everyone joined #mojo
04:27 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/k_U5iQ
04:27 good_news_everyone mojo/master 670f616 Sebastian Riedel: added many HTML5 tag helpers
04:27 good_news_everyone left #mojo
04:27 sri since they won't change again :)
04:32 anewkirk hey sri, did you see my message from earlier?
04:32 sri yes
04:33 anewkirk is that something that would be included if I sent a patch?
04:33 sri only if another core dev champions the change
04:34 anewkirk ok
04:34 anewkirk crab, ?
04:40 GabrielVieira joined #mojo
04:50 laouji joined #mojo
04:59 hlin joined #mojo
05:29 Miked joined #mojo
05:48 spleenjack joined #mojo
06:35 ver joined #mojo
07:07 dpetrov_ joined #mojo
07:19 lammel2 joined #mojo
07:22 wircus Yay HTML5 helpers
07:23 LV joined #mojo
07:24 wircus joined #mojo
07:24 batman_ joined #mojo
07:32 yakudza joined #mojo
07:40 sri thousands of vendor prefixed experimental features... yet not a single browser supports all those new form elements :S
07:55 dod joined #mojo
08:21 judofyr joined #mojo
08:21 dod joined #mojo
08:24 mattastrophe joined #mojo
08:25 Vandal joined #mojo
08:27 batman_ :)
08:29 ver joined #mojo
08:34 mattastrophe joined #mojo
08:35 suy joined #mojo
08:55 alexeiras joined #mojo
09:01 espent joined #mojo
09:01 suy joined #mojo
09:02 cosmincx joined #mojo
09:07 jpn joined #mojo
09:21 fhelmber_ joined #mojo
09:22 ladnaV joined #mojo
09:31 wircus sri: is it possible to make the router search in multiple locations for controllers?
09:31 wircus sri: like $self->routes->namespace(['MyApp::Foo','MyApp']);
09:35 sinkovsky joined #mojo
09:38 batman joined #mojo
09:40 Vandal joined #mojo
09:52 Vandal joined #mojo
09:52 Averna joined #mojo
10:00 dod joined #mojo
10:05 SmokeMachine joined #mojo
10:05 batman joined #mojo
10:05 wircus joined #mojo
10:12 wircus_ joined #mojo
10:12 batman_ joined #mojo
10:18 marcus sri: I'm thinking of either writing support for that, or fallback_namespaces to look for controllers if it can't find it in ->namespace. Thoughts? Should I just not bother? cc tempire / crab
10:24 ObseLeTe joined #mojo
10:31 dod1 joined #mojo
10:38 ObseLeTe joined #mojo
10:56 egopro joined #mojo
11:26 judofyr joined #mojo
11:38 wircus_ joined #mojo
11:38 batman_ joined #mojo
11:40 mire_ joined #mojo
11:48 batman_ marcus: why do you need that?
12:11 dod joined #mojo
12:13 dod joined #mojo
12:37 Molaf_ joined #mojo
12:53 b2b joined #mojo
13:05 wircus_ batman: making a themed version of a site.
13:06 amirite joined #mojo
13:06 judofyr or, well, a more modular version (many things are similar, but some actions should be overridden)
13:06 wircus_ batman: ended up just subclassing all of the controllers now and changing ->namespace to the place with the subclassed versions.
13:07 wircus_ related question, any way to disable autorendering when the specified controller doesn't exist?
13:07 wircus_ I'd prefer a 404....
13:07 Miked joined #mojo
13:13 Mike-PerlRecruiter_ joined #mojo
13:20 d4rkie joined #mojo
13:36 gryphon joined #mojo
13:38 ladnaV joined #mojo
13:38 batman_ joined #mojo
13:38 wircus_ joined #mojo
13:41 ObseLeTe_ joined #mojo
13:42 ObseLeTe_ joined #mojo
13:43 Vandal joined #mojo
13:50 ladnaV joined #mojo
13:58 rem_lex| joined #mojo
14:09 GabrielVieira2 joined #mojo
14:18 inokenty joined #mojo
14:26 laouji joined #mojo
14:36 amirite_ joined #mojo
14:38 ladnaV joined #mojo
14:45 amirite joined #mojo
14:50 amirite joined #mojo
14:51 marty html5 tag helpers!  \o/   sri++
14:59 Fleg_ joined #mojo
15:01 Fleg_ Hi All! How can I need to create a route Mojo::Light with an Regexp /host/hostname and have the hostname in a variable to reuse it? Is it possible in Mojo::Light?
15:02 Fleg_ I tried this one but it doesn't work "get qr!/host/(.+)! => sub {...}"
15:06 dpetrov_ Fleg_: http://mojolicio.us/perldoc/Mojolicious/Lite
15:06 dpetrov_ it's Lite, not Light :)
15:07 dpetrov_ what's wrong with get '/host/:hostname' => sub { ... } just like in the synopsis
15:10 sergeysinkovsky joined #mojo
15:12 Fleg_ dpetrov_: thanks for the correction. And how can I access the :hostname? Like this: "sub { $hostname }" ?
15:13 dpetrov_ Fleg_: just like in the synopsis :)
15:13 dpetrov_ my $hostname = $self->param('hostname');
15:14 dpetrov_ see the example
15:14 dpetrov_ http://mojolicio.us/perldoc​/Mojolicious/Lite#SYNOPSIS
15:14 nic and s|:foo|host/:hostname|
15:15 TheAthlete joined #mojo
15:15 nic I'd like to dip my toes into the pool of server pushes
15:15 Britzel_ joined #mojo
15:16 TheAthlete left #mojo
15:16 nic a script updates a table in the db -> posts to the hypnotoad app -> app pushes updated json to each client connected to that 'page'
15:17 kitt_vl joined #mojo
15:17 nic or maybe the app should send a stim to each (socket) connected client which triggers them to pull the json
15:18 nic Anyone know of example code that could kickstart that?
15:25 Fleg_ dpetrov_: thanks. What about /host/hostname.domainname ?
15:28 nic Fleg_: are they to go in separate vars?
15:30 nic Fleg_: Look at the same link with '#Relaxed-Placeholders'
15:30 nic I think you're looking for /host/:hostname.:domain or /host/#fqdn
15:31 nic There are so many bad/useless cpan reviews I'm wondering if we'd be better without them (cpanratings)
15:32 Fleg_ nic: it could be /host/10.10.0.2
15:32 nic then you want the second form and you parse it yourself
15:34 mattp joined #mojo
15:39 Fleg_ nic: works. Thanks.
15:40 nic np
15:41 asarch joined #mojo
15:46 mire_ joined #mojo
15:57 sri marcus: fallback_namespaces looks ugly
16:01 * sri wonders if tel_field is the right name, or if it should have a custom one like telephone_field
16:02 dabudabu joined #mojo
16:53 xaka joined #mojo
17:25 GabrielVieira joined #mojo
17:36 mattastrophe joined #mojo
17:41 eugen joined #mojo
17:55 tempire self->routes->namespace would make more sense, just like the commands namespace
17:55 tempire push @{$self->routes->namespaces}, 'MyApp::Other::Controllers';
17:56 mattastrophe joined #mojo
17:57 sri tempire: that looks better
18:09 batman_ joined #mojo
18:09 wircus__ joined #mojo
18:13 suy joined #mojo
18:13 wircus joined #mojo
18:25 memowe sri: https://github.com/kraih/mojo/blob/mas​ter/lib/Mojolicious/Controller.pm#L847 =~ s/epoch // # epoch seconds from now doesn't make sense :)
18:25 memowe What do you think?
18:25 sri memowe: right you are
18:25 jpn left #mojo
18:26 batman_ joined #mojo
18:27 good_news_everyone joined #mojo
18:27 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/9S-emQ
18:27 good_news_everyone mojo/master 112a6d2 Sebastian Riedel: fixed typos in session examples
18:27 good_news_everyone left #mojo
18:27 sri it actually happened twice :S
18:27 memowe sri++
18:28 sri memowe++
18:29 sri https://github.com/kraih/mojo/issues/423 # still looking for volunteers! :)
18:55 yakudza joined #mojo
19:10 memowe sri: looks interesting!
19:31 mattastrophe joined #mojo
19:37 tempire I've had some work done, so I have a new look.
19:37 tempire http://i.imgur.com/PJO7R.gif
19:37 tempire I'm happy with the results.
19:40 sri \o/
19:46 alexeiras joined #mojo
20:45 b2b joined #mojo
20:47 lukep joined #mojo
21:18 xaka joined #mojo
21:18 batman_ joined #mojo
21:18 wircus joined #mojo
21:48 b2b joined #mojo
22:00 * marty likes tempire better with a beard but does enjoy the wonderful green outfit and groovy dance moves.
22:00 * tempire grooves
22:35 GabrielVieira2 joined #mojo
22:53 sri ~o~
23:02 ObseLeTe joined #mojo
23:03 Miked joined #mojo
23:06 ObseLeTe joined #mojo
23:09 wircus_ joined #mojo
23:09 batman__ joined #mojo
23:11 batman__ joined #mojo
23:11 wircus_ joined #mojo
23:30 jzawodn joined #mojo
23:33 egopro joined #mojo
23:42 Averna joined #mojo
23:45 wircus tempire's mustache is teh best
23:49 batman___ joined #mojo
23:49 wircus_ joined #mojo
23:55 batman____ joined #mojo
23:55 wircus__ joined #mojo
23:58 tempire \o\
23:58 tempire \/o/
23:58 tempire _o_
23:58 tempire ~o~
23:58 tempire \of

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