Time |
Nick |
Message |
00:43 |
|
bpmedley joined #mojo |
00:50 |
|
shmuel joined #mojo |
00:56 |
|
whitebook joined #mojo |
01:34 |
|
d4rkie joined #mojo |
01:36 |
|
hesperaux_ joined #mojo |
01:42 |
|
btyler joined #mojo |
01:56 |
|
Meiermann joined #mojo |
02:09 |
|
egopro joined #mojo |
02:10 |
|
hesperaux__ joined #mojo |
02:33 |
|
wruppert joined #mojo |
02:35 |
|
wruppert joined #mojo |
02:49 |
|
btyler joined #mojo |
03:15 |
|
Mad_Dud joined #mojo |
03:34 |
|
fildon__ joined #mojo |
03:37 |
|
inokenty joined #mojo |
03:52 |
|
preflex_ joined #mojo |
04:05 |
|
whitebook joined #mojo |
04:41 |
|
basiliscos joined #mojo |
04:53 |
|
rem_lex| joined #mojo |
04:55 |
|
rihegher joined #mojo |
04:57 |
|
rihegher left #mojo |
04:58 |
|
asarch joined #mojo |
05:49 |
|
Britzel joined #mojo |
06:14 |
|
dod joined #mojo |
06:20 |
|
dod joined #mojo |
06:30 |
|
jakir joined #mojo |
06:31 |
|
jamesw joined #mojo |
06:47 |
* sri |
wonders if he should reduce Mojo::DOM memory usage by 10% |
07:04 |
moritz |
if you can, sure |
07:04 |
moritz |
what do you want to do? store the whole string once, and then numeric offsets? |
07:06 |
|
mak joined #mojo |
07:08 |
|
mire_ joined #mojo |
07:08 |
|
mak left #mojo |
07:09 |
sri |
change the DOM tree structure |
07:09 |
|
Vandal joined #mojo |
07:09 |
sri |
it's rather wasteful atm |
07:09 |
|
rem_lex|pivo joined #mojo |
07:10 |
|
rihegher joined #mojo |
07:10 |
|
rihegher left #mojo |
07:10 |
sri |
['root', ['tag', 'div', {}, ['text', 'foo']]] |
07:11 |
sri |
root/tag/text and friends could just as well be numeric constants |
07:11 |
moritz |
and you could use undef instead of empty hash refs |
07:12 |
sri |
only problem i see is backwards compatibility |
07:13 |
moritz |
if people poke the tree directly, yes |
07:13 |
sri |
i know some do |
07:16 |
sri |
hmm, the reduction is not actually as much as i thought |
07:16 |
moritz |
does perl 5 do any copy-on-write memory optimizations? |
07:16 |
sri |
126mb vs 118mb when parsing the full html5.1 spec |
07:17 |
sri |
interesting though, performance of css selectors is exactly the same, eq or == does not matter at all |
07:17 |
moritz |
if not, it might be worth it to store the whle string once, and then in each node a reference to the string, and two integers that you can pass to substr to get the interesting part |
07:18 |
sri |
moritz: interesting thought |
07:19 |
sri |
can't do that for tags/attributes though, would kill css performance |
07:20 |
|
maxhq joined #mojo |
07:24 |
|
hesperaux_ joined #mojo |
07:24 |
moritz |
right, only for text |
07:24 |
moritz |
well, attributes are also text |
07:24 |
moritz |
you know what I mean :-) |
07:25 |
sri |
fun fact, the html5.1 spec has 112560 tags |
07:28 |
sri |
http://pastie.org/7966997 # in case anyone wants to play with the patch |
07:28 |
|
suy joined #mojo |
07:33 |
|
yakudza joined #mojo |
07:36 |
|
nicolaas joined #mojo |
07:49 |
|
jzawodn joined #mojo |
08:04 |
nicolaas |
Hello |
08:04 |
nicolaas |
since I installed "AnyEvent" via CPAN, I get this error when starting morbo : "EV does not work with ithreads. This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information." |
08:05 |
nicolaas |
although I do not use it in my app |
08:22 |
|
dpetrov_ joined #mojo |
08:33 |
|
fhelmber_ joined #mojo |
08:35 |
|
fhelmber_ joined #mojo |
08:38 |
|
dod joined #mojo |
08:42 |
|
dhg joined #mojo |
08:59 |
|
nicolaas_ joined #mojo |
09:02 |
|
cosmincx joined #mojo |
09:10 |
nicolaas_ |
Hello, sorry for the double post but many people joined the chan : since I installed "AnyEvent" via CPAN, I get this error when starting morbo : "EV does not work with ithreads. This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information." |
09:37 |
|
egopro joined #mojo |
10:10 |
sri |
hmm, arrested development starts pretty weak :o |
10:15 |
|
rem_lex joined #mojo |
10:37 |
marcus |
sri: I thought it picked up from ep2. |
10:37 |
marcus |
Only seen the first 3 tho |
10:44 |
|
inokenty left #mojo |
10:46 |
|
KindTwo joined #mojo |
10:52 |
|
KindOne joined #mojo |
10:55 |
|
entity joined #mojo |
11:00 |
|
KindTwo joined #mojo |
11:10 |
sri |
only seen the first yet :) |
11:31 |
|
KindTwo joined #mojo |
11:51 |
|
denisboyun_ joined #mojo |
12:00 |
|
moltar joined #mojo |
12:01 |
|
KindOne joined #mojo |
12:02 |
|
D4RK-PH0ENiX joined #mojo |
12:10 |
|
wu-lee joined #mojo |
12:16 |
|
d4rkie joined #mojo |
12:34 |
|
asarch joined #mojo |
12:35 |
|
yakudza joined #mojo |
12:41 |
jberger |
nicolaas_, http://mojolicio.us/perldoc/Mojolicious/Guides/FAQ#What_does_the_error_EV_does_not_work_with_ithreads_mean |
12:42 |
|
SmokeMachine joined #mojo |
12:43 |
|
rihegher1 joined #mojo |
12:43 |
|
rihegher1 left #mojo |
12:45 |
|
inokenty joined #mojo |
12:48 |
marcus |
fruit flies like a bat. |
13:02 |
|
mire_ joined #mojo |
13:19 |
|
hesperaux_ joined #mojo |
13:33 |
|
whitebook joined #mojo |
13:42 |
|
mattp joined #mojo |
14:02 |
|
gtodd joined #mojo |
14:10 |
|
sh4 joined #mojo |
14:35 |
|
SmokeMachine joined #mojo |
14:56 |
|
hesperaux_ joined #mojo |
14:57 |
|
whitebook joined #mojo |
15:08 |
nicolaas_ |
jberger_ merci |
15:08 |
nicolaas_ |
jberger_ sorry, thank you ! |
15:13 |
|
asarch joined #mojo |
15:40 |
|
whitebook joined #mojo |
15:44 |
|
dotan joined #mojo |
16:24 |
|
zivester joined #mojo |
16:24 |
|
zivester joined #mojo |
16:50 |
|
vervain joined #mojo |
16:57 |
|
btyler joined #mojo |
17:26 |
|
btyler joined #mojo |
17:27 |
|
yakudza joined #mojo |
17:33 |
|
dod joined #mojo |
17:41 |
|
dotan joined #mojo |
17:53 |
|
basiliscos joined #mojo |
18:01 |
|
senthil joined #mojo |
18:10 |
|
zivester joined #mojo |
18:17 |
|
basiliscos joined #mojo |
18:39 |
|
btyler joined #mojo |
18:47 |
|
jamesw joined #mojo |
19:43 |
|
btyler joined #mojo |
19:51 |
|
whitebook joined #mojo |
19:52 |
|
BeDa joined #mojo |
19:53 |
|
zivester joined #mojo |
20:22 |
|
jberger joined #mojo |
20:24 |
|
btyler joined #mojo |
20:24 |
|
dod joined #mojo |
20:38 |
|
btyler joined #mojo |
20:41 |
|
SmokeMachine joined #mojo |
20:47 |
|
whitebook joined #mojo |
20:57 |
|
btyler joined #mojo |
21:18 |
|
libsysguy joined #mojo |
21:21 |
libsysguy |
I just ran the generate app command and I would like to change the router namespace to MyApp::Controller as opposed to the default MyApp. I altered the router with $r->namespace(["MyApp::Controller"]). When I start my app I get an error from the default template saying that $message requires an explicit package name |
21:21 |
libsysguy |
is there something else that I need to change to make sure the templates can read from the new controller namespace |
21:23 |
buu |
libsysguy: Is that the exact error message? And does it give a line of code? And how are your routes set up? |
21:24 |
libsysguy |
is there a paste bot? I don't want to flood the channel |
21:25 |
libsysguy |
nevermind, I'll just use pastebin |
21:26 |
libsysguy |
http://pastebin.com/3s9sxgnq |
21:26 |
buu |
Sorry, running out, maybe someone can help you with more information. |
21:27 |
libsysguy |
no problem |
21:27 |
libsysguy |
thanks |
21:31 |
libsysguy |
oh holy cow I'm an idiot |
21:32 |
libsysguy |
it helps to make sure your package declarations are correct |
21:52 |
|
tianon joined #mojo |
21:53 |
libsysguy |
is there a way to specify routes with the controller? |
21:54 |
libsysguy |
for example sub test : get('/test') {//code} |
21:56 |
|
btyler joined #mojo |
22:03 |
|
dhg joined #mojo |
22:52 |
|
denisboyun_ joined #mojo |
23:01 |
jberger |
nicolaas_: de rien ;-) |
23:13 |
|
bpmedley joined #mojo |
23:28 |
|
lukep joined #mojo |
23:29 |
|
zivester joined #mojo |
23:44 |
|
KindTwo joined #mojo |
23:48 |
|
Averna joined #mojo |