Time |
Nick |
Message |
00:23 |
|
MeierM joined #mojo |
02:10 |
malikai |
if you don't have good dns, everything sucks.. |
02:45 |
|
btyler joined #mojo |
03:06 |
|
mattastrophe joined #mojo |
03:14 |
|
mattastrophe joined #mojo |
03:15 |
|
asarch joined #mojo |
03:26 |
|
mattastrophe joined #mojo |
04:18 |
|
Fremean joined #mojo |
04:44 |
|
preflex_ joined #mojo |
05:28 |
|
diegok joined #mojo |
05:36 |
|
basiliscos joined #mojo |
05:46 |
|
ka2u joined #mojo |
05:51 |
|
bpmedley_ joined #mojo |
05:55 |
|
Vandal joined #mojo |
06:13 |
|
Britzel joined #mojo |
07:17 |
|
n0n joined #mojo |
07:45 |
|
berov joined #mojo |
07:48 |
|
sh4 joined #mojo |
07:54 |
|
yakudza joined #mojo |
08:38 |
|
d4rkie joined #mojo |
09:11 |
|
hrupp joined #mojo |
09:58 |
|
tagg_ joined #mojo |
10:25 |
|
suy joined #mojo |
10:29 |
|
rem_lex joined #mojo |
10:39 |
|
Britzel_ joined #mojo |
10:42 |
|
kitt_vl joined #mojo |
10:49 |
|
rem_lex joined #mojo |
11:04 |
|
newbie joined #mojo |
11:05 |
|
mire joined #mojo |
11:15 |
|
newbie joined #mojo |
11:49 |
|
ryozi joined #mojo |
11:54 |
|
n0n joined #mojo |
12:34 |
|
bowtie joined #mojo |
12:44 |
|
snuffles joined #mojo |
12:46 |
|
snuffles joined #mojo |
13:03 |
|
janus joined #mojo |
13:12 |
|
dod joined #mojo |
13:30 |
|
janus joined #mojo |
13:32 |
|
inokenty1 joined #mojo |
13:38 |
|
gbh joined #mojo |
13:38 |
gbh |
hi, how would you proceed to "internationalize" a mojolicious app, without copying templates ? |
13:39 |
gbh |
I mean, my templates contain a lot of perl code to display things well, and it would be hard to maintain if I have to duplicate them for each language i want to support |
13:40 |
gbh |
what is the best solution to store text or phrases for many languages ? |
13:42 |
gbh |
would that be a good solution ? http://www.bitrepository.com/php-how-to-add-multi-language-support-to-a-website.html |
13:47 |
sri |
please don't cross post in multiple channels, it's considered very rude |
13:48 |
gbh |
huh .. ok, sorry |
13:52 |
Britzel_ |
gbh: I have used M::Plugin::I18N with some success. Works ok. |
13:56 |
gbh |
Britzel_: hey, thank you ! so it uses a big hash only "instanciated" one time ? |
13:57 |
Britzel_ |
Yes, it's a large lexicon, one per language. QUite convenient. |
13:57 |
berov |
gbh: yes |
13:57 |
Britzel_ |
Useful if you use it with poedit or smimiliar with your translators. |
13:58 |
gbh |
so you can bind it to .po files ? |
13:59 |
berov |
gbh: yes |
14:00 |
gbh |
great stuff |
14:09 |
sri |
gbh: final warning, please stop crossposting |
14:18 |
crab |
is crossposting where you post when you're cross? |
14:19 |
sri |
http://en.wikipedia.org/wiki/Crossposting |
14:19 |
riche |
no its grave marking |
14:21 |
basiliscos |
Hello! I have a trouble with Mojo::Redis. I try to catch published events via the following code (mojo-app.pl) : http://bpaste.net/show/84119/ . It once catches data event ( http://bpaste.net/show/84120/ ), and never catches an message. |
14:22 |
basiliscos |
I have try in other terminal 'PUBLISH E "abc"' in redis-cli, and that event is catched in another redis-cli (via subscribe) but never in the my code sample. |
14:23 |
basiliscos |
Thanks for any help. |
14:23 |
sri |
what is $app? |
14:23 |
basiliscos |
use Mojolicious::Lite; |
14:23 |
basiliscos |
my $app = app; |
14:24 |
sri |
your paste doesn't use Mojolicious::Lite |
14:25 |
|
dpetrov_ joined #mojo |
14:26 |
basiliscos |
sri: Sorry, I pasted a cut version. Here is full example : http://bpaste.net/show/84121/ |
14:27 |
basiliscos |
Can it be related to $redis variable scope? |
14:28 |
basiliscos |
I mean, that $redis can be collected by garbage collector... ? |
14:29 |
sri |
app->start should be the last expression |
14:31 |
gbh |
sri: sorry but as people answered on both channels, how could i manage it ? I will know for the next time |
14:31 |
|
TitanOfOld joined #mojo |
14:32 |
basiliscos |
sri: http://bpaste.net/show/84123/ . I have made app->start the last expression, but that helps not. |
14:32 |
gbh |
i "crossposted" because in the beginning, nobody answered here .. so why couldn't I ask somewhere else ? |
14:33 |
sri |
gbh: you asked in both channels at the same time, if you wait some time, then it would be ok |
14:35 |
gbh |
yeah ok .. five minutes might be short indeed, but how long should i have waited ? |
14:36 |
sri |
and most importantly, don't have the same conversation in two channels, tell one side you're already getting help |
14:36 |
riche |
for Plugin::I18N, has anyone used this w tying hash, aka via DBI? |
14:37 |
gbh |
sri: ok, sorry |
14:38 |
gbh |
sri: (one joke to finish about that : I'm sorry and my bad mean the same thing ... unless you're at a funeral) |
14:45 |
|
btyler joined #mojo |
14:50 |
|
rem_lex joined #mojo |
14:51 |
basiliscos |
I have found, that the following version of usage of Mojo::Redis is working |
14:52 |
basiliscos |
I.e. in case "Mojo::IOLoop->start;" -- it work, but in the case of "my $app = app; $app->start;" it does not. |
14:54 |
basiliscos |
But I should use Redis together with main application, so I should user $app->start. Is it possible to reach that behaviour somehow? |
15:02 |
|
yakudza joined #mojo |
15:06 |
|
basiliscos1 joined #mojo |
15:08 |
sri |
basiliscos1: which server are you using? |
15:10 |
basiliscos1 |
sri: I launch the "x.pl" via the following command: morbo x.pl -w . -l 'http://*:3000' |
15:10 |
sri |
no idea then |
15:11 |
basiliscos1 |
sri: in any case, thanks for helping. I'll try to use different perl versions. |
15:25 |
basiliscos1 |
sri: When I startup application via "./x.pl prefork" it catches the event, but while via "morbo x.pl" it catches not the event. http://bpaste.net/show/84130/ |
15:26 |
|
sh4 joined #mojo |
15:34 |
basiliscos1 |
Well. That behavior of Mojo::Redis under morbo is corrret? Or this looks buggy? Should the ticket be opened? |
15:34 |
|
coff joined #mojo |
15:53 |
marcus |
I think I'm gonna try using Firefox again for a bit. |
15:59 |
marcus |
It definitively seems faster than before. |
16:10 |
sri |
the os x ui is still terrible |
16:17 |
|
sh4 joined #mojo |
16:17 |
|
wk joined #mojo |
16:42 |
|
btyler joined #mojo |
16:55 |
marcus |
sri: At least the tab style is preferrable to chrome imo - https://www.evernote.com/shard/s22/sh/3ba9dffc-877d-4530-90d2-29c1e7b1bda7/e61ca73ad06cfc057cde01ee43391f36/deep/0/Screenshot%2016.03.13%2017:53.jpg |
16:55 |
|
yakudza joined #mojo |
17:01 |
|
btyler joined #mojo |
17:06 |
|
n0n joined #mojo |
17:19 |
|
yakudza joined #mojo |
17:41 |
|
sh4 joined #mojo |
17:43 |
|
marty joined #mojo |
17:49 |
|
d4rkie joined #mojo |
18:15 |
|
marty joined #mojo |
19:09 |
|
newbie joined #mojo |
19:10 |
|
rem_lex|pivo joined #mojo |
19:29 |
|
dpetrov_ joined #mojo |
19:41 |
|
wk joined #mojo |
19:55 |
|
jpn joined #mojo |
19:56 |
|
Adura joined #mojo |
20:11 |
|
newbie05 joined #mojo |
20:13 |
|
TitanOfOld joined #mojo |
20:19 |
|
newbie joined #mojo |
21:08 |
|
wk joined #mojo |
21:14 |
tempire |
opera's ui is really nice. |
21:14 |
tempire |
It's the cleanest looking these days. |
21:14 |
|
berov1 joined #mojo |
21:15 |
tempire |
but webkit dev tools are the clear winner. |
21:15 |
tempire |
which I guess won't be a problem much longer. |
21:15 |
tempire |
and...presto! accidentally a webkit. |
21:35 |
|
mattastrophe joined #mojo |
21:41 |
|
perlite joined #mojo |
21:41 |
|
TitanOfOld joined #mojo |
21:43 |
|
rwstaune` joined #mojo |
21:52 |
|
ka2u joined #mojo |
21:53 |
|
dod joined #mojo |
21:54 |
|
moltar joined #mojo |
22:25 |
|
mattastrophe joined #mojo |
22:39 |
marcus |
hmm |
22:39 |
marcus |
Is 12.14 webkit based? |
22:40 |
marcus |
\m/ # Winning military spending debates on Twitter. |
22:46 |
sri |
nobody wins at military spending debates |
22:57 |
|
Meiermann joined #mojo |
23:06 |
marcus |
sri: Well, the facts were on my side =] |
23:14 |
jberger |
marcus, I wasn't aware that facts are relevant in an online debate |
23:40 |
|
ka2u joined #mojo |
23:52 |
Caelum |
firebug is very good too |
23:52 |
Caelum |
firefox is the fastest browser on my macbook, though I use safari |