| Time |
S |
Nick |
Message |
| 00:01 |
|
|
mire joined #mojo |
| 00:19 |
|
tempire |
http://www.hackerschool.com/ seems interesting |
| 00:19 |
|
tempire |
except…it's in new york, the last place you can live cheaply enough to do it |
| 00:24 |
|
|
d4rkie joined #mojo |
| 00:36 |
|
|
mmcleric joined #mojo |
| 00:44 |
|
|
hshong joined #mojo |
| 01:03 |
|
|
d4rkie joined #mojo |
| 01:04 |
|
|
hshong joined #mojo |
| 01:53 |
|
|
GitHub150 joined #mojo |
| 01:53 |
|
GitHub150 |
[mojo] kraih pushed 1 new commit to master: http://git.io/NTevtg |
| 01:53 |
|
GitHub150 |
[mojo/master] deprecated Mojo::Server::Daemon->prepare_ioloop in favor of Mojo::Server::Daemon->start - Sebastian Riedel |
| 01:53 |
|
|
GitHub150 left #mojo |
| 01:55 |
|
sri |
suggestions for an even more user friendly name would be welcome |
| 02:31 |
|
|
rjb360 joined #mojo |
| 02:33 |
|
|
Mad_Dud joined #mojo |
| 02:39 |
|
|
d4rkie joined #mojo |
| 02:57 |
|
sri |
marcus: you need to try sublime text 2 with the codeintel extension, really fun |
| 03:14 |
|
sri |
it's komodo completion in an editor that looks like textmate |
| 03:50 |
|
|
hshong joined #mojo |
| 04:18 |
|
|
rjb360 joined #mojo |
| 04:20 |
|
|
mire joined #mojo |
| 05:32 |
|
|
vel joined #mojo |
| 05:44 |
|
|
mire joined #mojo |
| 05:55 |
|
|
GeorgeJetson joined #mojo |
| 06:47 |
|
|
Vandal joined #mojo |
| 06:59 |
|
|
mire joined #mojo |
| 07:16 |
|
marcus |
sri: hmmkay |
| 07:17 |
|
marcus |
sri: https://github.com/Kronuz/SublimeCodeIntel this _ |
| 07:17 |
|
marcus |
? |
| 07:28 |
|
|
ver joined #mojo |
| 07:28 |
|
|
jwang joined #mojo |
| 07:35 |
|
memowe |
Good morning. :) |
| 07:45 |
|
|
sherr joined #mojo |
| 07:48 |
|
|
ver joined #mojo |
| 07:52 |
|
|
melmothX joined #mojo |
| 07:53 |
|
|
spleenjack joined #mojo |
| 07:55 |
|
|
dpetrov_ joined #mojo |
| 08:05 |
|
tempire |
codeintel doesn't seem to do much |
| 08:05 |
|
tempire |
sublime is shaping up to be the prettiest at the ball, though |
| 08:16 |
|
marcus |
buy why does it have such a horrible icon? |
| 08:21 |
|
omega_ |
cause it's hip |
| 08:34 |
|
marcus |
omega_: looks more like it's square. |
| 08:35 |
|
omega_ |
it's hip to be square |
| 08:36 |
|
marcus |
omega_: square hips! |
| 08:36 |
|
omega_ |
:p |
| 08:39 |
|
|
daxim joined #mojo |
| 08:40 |
|
marcus |
omega_: does that mean you're using sublime? |
| 08:41 |
|
omega_ |
no |
| 08:41 |
|
omega_ |
macvim 4 life! |
| 08:41 |
|
omega_ |
or at least for now! |
| 08:54 |
|
marcus |
maclife for vim! |
| 08:54 |
|
|
berov joined #mojo |
| 09:13 |
|
|
judofyr joined #mojo |
| 09:13 |
|
|
cosmincx joined #mojo |
| 09:25 |
|
* marcus |
finds himself needing before_render, and crying. |
| 09:27 |
|
omega_ |
que tears! |
| 09:27 |
|
omega_ |
lights! |
| 09:27 |
|
omega_ |
aaaand |
| 09:27 |
|
omega_ |
ACTION |
| 09:27 |
|
omega_ |
damn, forgot to start sound and camera |
| 09:29 |
|
marcus |
omega_: seems we managed to make a helper that makes the code work both as blocking and async. |
| 09:29 |
|
omega_ |
that sounds like awesomesauce |
| 09:30 |
|
marcus |
omega: judofyr++ |
| 09:37 |
|
crab |
both blocking and async... at the same time! |
| 09:38 |
|
omega |
its like wax on wax off |
| 09:39 |
|
judofyr |
marcus: http://hastebin.com/wilaqequyi.pl |
| 09:40 |
|
marcus |
crab: no, depending on deployment, not at the same time :) |
| 09:41 |
|
marcus |
so that startsiden can continue using fcgi-engine for EVERYTHING |
| 09:42 |
|
|
yko joined #mojo |
| 09:45 |
|
judofyr |
how can I test something that depends on Mojo::IOLoop not running? |
| 10:06 |
|
|
ver joined #mojo |
| 10:20 |
|
|
Andrei666 joined #mojo |
| 10:34 |
|
|
D4RK-PH0ENiX joined #mojo |
| 11:39 |
|
|
ki0 joined #mojo |
| 11:45 |
|
|
briang joined #mojo |
| 11:58 |
|
|
kitt_vl joined #mojo |
| 12:06 |
|
|
d4rkie joined #mojo |
| 12:27 |
|
|
olav joined #mojo |
| 12:30 |
|
memowe |
O HAI. :) |
| 12:30 |
|
marcus |
ALL GLORY TO THE HYPNOTOAD |
| 12:31 |
|
memowe |
YO MAN |
| 12:31 |
|
marcus |
AND THE WINNER IS |
| 12:32 |
|
memowe |
MORBO!? |
| 12:32 |
|
purl |
it has been said that morbo is the new, reloading development server for mojolicious |
| 12:32 |
|
memowe |
purl: morbo is the winner. |
| 12:32 |
|
purl |
...but morbo is the new, reloading development server for mojolicious... |
| 12:32 |
|
memowe |
kkkk |
| 12:35 |
|
marcus |
purl: hypnotoad! |
| 12:35 |
|
purl |
ALL GLORY TO THE HYPNOTOAD!!! |
| 13:01 |
|
olav |
Hey guys |
| 13:01 |
|
marcus |
hi OLAV |
| 13:01 |
|
crab |
backbone.js is pretty cool. |
| 13:02 |
|
olav |
Im trying to use Mojo::Test to test the responsecode from the Mojolicious server. |
| 13:02 |
|
olav |
But it seems to fail for any other code than 200 |
| 13:02 |
|
olav |
Im getting: Bad response start line |
| 13:03 |
|
alnewkirk |
hola |
| 13:04 |
|
olav |
It works allright with curl/Firefox REST Client |
| 13:05 |
|
olav |
Greetings MARCUS and alnewkirk |
| 13:06 |
|
marcus |
olav: that sounds strange. |
| 13:07 |
|
marcus |
olav: mojo generate app will create a test that does that by default. |
| 13:07 |
|
olav |
marcus: this works: $t->get_ok('/response/200') - this does not: $t->get_ok('/response/207')->status_is(207) |
| 13:08 |
|
memowe |
https://gist.github.com/1723381 |
| 13:08 |
|
memowe |
works for me. |
| 13:09 |
|
olav |
momowe: checking ... |
| 13:09 |
|
purl |
it has been said that checking ... is it complicated to get to work with google and yahoo ? |
| 13:09 |
|
|
noganex joined #mojo |
| 13:09 |
|
|
espent joined #mojo |
| 13:11 |
|
olav |
momewe, marcus: oh, this works for me too. The problem seems to be with the chaining |
| 13:11 |
|
olav |
Works: $t->get_ok('/response/200')->status_is(200)->content_like(qr/Requested code 200!/i); |
| 13:11 |
|
olav |
Fails: $t->get_ok('/response/207')->status_is(207)->content_like(qr/Requested code 207!/i); |
| 13:12 |
|
marcus |
I can't see the difference. |
| 13:12 |
|
olav |
marcus: 200 -> 207 |
| 13:12 |
|
marcus |
olav: also use a nopaste service please |
| 13:12 |
|
marcus |
olav: but memowe just showed you that 404 testing works |
| 13:13 |
|
olav |
Ill try to break the test up and see if that works |
| 13:14 |
|
espent |
hm, $self->req->url->host doesn't seem to give me the hostname, doesn't it when runned in foreground dev mode? |
| 13:22 |
|
memowe |
olav, marcus: https://gist.github.com/1723381 |
| 13:22 |
|
memowe |
Oh, wait. |
| 13:22 |
|
memowe |
I'll fix that gist. |
| 13:22 |
|
marcus |
memowe: so the problem is with 207s? |
| 13:23 |
|
memowe |
Fixed. Yes. |
| 13:23 |
|
olav |
Nice :) |
| 13:24 |
|
memowe |
207 Multi-Status (WebDAV) (RFC 4918) The message body that follows is an XML message and can contain a number of separate response codes, depending on how many sub-requests were made. |
| 13:24 |
|
memowe |
I think it's ok to fail in this case. |
| 13:26 |
|
olav |
seems fair |
| 13:27 |
|
olav |
But maybe an nicer error msg :) |
| 13:46 |
|
|
cosmincx joined #mojo |
| 14:22 |
|
sri |
memowe: what fails? |
| 14:22 |
|
purl |
fails are due to win32 too |
| 14:29 |
|
|
sestegra joined #mojo |
| 14:33 |
|
sri |
oh, judofyr accidentally a cpan module :) |
| 14:33 |
|
judofyr |
sri: marcus released it though, but I've written the code ;) |
| 14:34 |
|
judofyr |
sri: Parallol now works with PSGI too: https://github.com/Nordaaker/p[…]/Parallol.pm#L177 |
| 14:35 |
|
judofyr |
so if you want "portable" code (runs on both PSGI and Hypnotoad), parallol is pretty neat |
| 14:35 |
|
judofyr |
it's basically just a more concise (as in, the code the user has to write) version of Mojo::IOLoop::Delay… |
| 14:36 |
|
sri |
how does it handle nested parallol requests? |
| 14:36 |
|
judofyr |
that "just works" because the callback to a request is called before it decreases the count |
| 14:37 |
|
sri |
ah, neat |
| 14:37 |
|
sri |
judofyr++ |
| 14:37 |
|
judofyr |
sri: there's even tests for that ;) |
| 14:37 |
|
|
kitt_vl joined #mojo |
| 14:40 |
|
sestegra |
hello, I'm facing off an issue by using Mojolicious and MIME::64 at the same time. If you see my code at http://pastebin.com/V6cZ40YZ, the websocket is immediatly closed if "use MIME::64" is placed before "use Mojolicious::Lite". |
| 14:41 |
|
sestegra |
If you have time to take a look ? |
| 14:43 |
|
|
amoore joined #mojo |
| 15:02 |
|
|
espent joined #mojo |
| 15:12 |
|
|
jnap joined #mojo |
| 15:30 |
|
|
kitt_vl joined #mojo |
| 15:31 |
|
sestegra |
As you are currently busy, I opened #279 issue (https://github.com/kraih/mojo/issues/279) |
| 15:32 |
|
sri |
answered |
| 15:35 |
|
sri |
that ticket will prolly be open for a very long time |
| 15:36 |
|
sestegra |
thank you, I read your answer. Strange behavior, isn't it ? |
| 15:37 |
|
judofyr |
sri: is this intended? perl -MMojo::URL -E'say Mojo::URL->new("http://mojo.com/")->path("world%2Fbar")' |
| 15:37 |
|
judofyr |
http://mojo.com/world/bar |
| 15:38 |
|
judofyr |
I would expect http://mojo.com/world%2Fbar |
| 15:39 |
|
|
inokenty joined #mojo |
| 15:40 |
|
judofyr |
sri: or, how can I get it to return world%2Fbar ? |
| 15:40 |
|
|
cosmincx joined #mojo |
| 15:47 |
|
|
abra joined #mojo |
| 16:01 |
|
sri |
judofyr: very much intended |
| 16:01 |
|
sri |
only ->parts are unescaped |
| 16:04 |
|
judofyr |
sri: yeah, I solved it by pushing to parts directly |
| 16:04 |
|
judofyr |
is that "the right way" to do it? |
| 16:24 |
|
|
kaare joined #mojo |
| 16:27 |
|
kitt_vl |
hi all, is it typo\error here https://metacpan.org/module/Mojo::Template ? |
| 16:27 |
|
kitt_vl |
<%= Perl expression, replaced with result %> |
| 16:27 |
|
kitt_vl |
<%== Perl expression, replaced with XML escaped result %> |
| 16:29 |
|
sri |
no |
| 16:29 |
|
kitt_vl |
and some later |
| 16:29 |
|
kitt_vl |
<%= Perl expression, replaced with XML escaped result %> |
| 16:29 |
|
kitt_vl |
<%== Perl expression, replaced with result %> |
| 16:29 |
|
sri |
and please don't paste into the channel |
| 16:30 |
|
omega |
kitt_vl: you mean that the two look like oposites in "DESCRIPTION" and under "Automatic escaping"? |
| 16:31 |
|
kitt_vl |
ok, but there is two place with contrary description |
| 16:31 |
|
omega |
I think it might be that the second tries to show what happes if you do something to the "auto_escape" flag |
| 16:33 |
|
kitt_vl |
oh, reversed |
| 16:34 |
|
|
Akron joined #mojo |
| 16:35 |
|
|
cosmincx joined #mojo |
| 16:52 |
|
|
SSergey joined #mojo |
| 16:54 |
|
SSergey |
Hello here! Just interesting is it good practice to pass object into template ( ep ). In my project i pass moose-ed objects. |
| 16:54 |
|
SSergey |
? |
| 16:55 |
|
|
abra_ joined #mojo |
| 16:58 |
|
|
mdom joined #mojo |
| 16:59 |
|
mdom |
Moin ... does somebody know how i could execute code on any new database handle created by DBIx::Connector? (used in my mojo app, so maybe relevant ... :) |
| 17:10 |
|
|
cosmincx joined #mojo |
| 17:12 |
|
mdom |
Okay, i also asked in dbix-class and it's not possible. |
| 17:32 |
|
|
xaka joined #mojo |
| 17:33 |
|
|
GitHub118 joined #mojo |
| 17:33 |
|
GitHub118 |
[mojo] kraih pushed 1 new commit to master: http://git.io/tEBUUw |
| 17:33 |
|
GitHub118 |
[mojo/master] renamed resume and pause methods to start and stop - Sebastian Riedel |
| 17:33 |
|
|
GitHub118 left #mojo |
| 17:40 |
|
|
alnewkirk joined #mojo |
| 17:41 |
|
SSergey |
guys any help? I just newbe, and dont sees why is bad use blessed objects in template. But maybe i missed something? |
| 17:42 |
|
diegok |
SSergey: all objects are blessed :) |
| 17:44 |
|
SSergey |
sorry, yes :( But is this ok to pass them into template, and call methods? For ex i have object $obj (Page::Elements) and call in tempalte $obj->count(); Or better call this method in Model, and pass count value into template? Or these no difference? |
| 17:45 |
|
sri |
in case anyone is wondering what i mean when i say something is experimental… :) http://ihavenoideawhatiamdoing[…]8/dog_science.jpg |
| 17:46 |
|
diegok |
SSergey: well, most of the time its ok I think. |
| 17:47 |
|
SSergey |
diegok: Thanks! |
| 18:05 |
|
|
cosmincx left #mojo |
| 18:17 |
|
|
mire joined #mojo |
| 18:35 |
|
|
mdom left #mojo |
| 19:01 |
|
|
GabrielVieira joined #mojo |
| 19:06 |
|
marcus |
Sri: doesn't that change require deprecations? |
| 19:06 |
|
sri |
marcus: nope |
| 19:06 |
|
marcus |
Sri: experimental? |
| 19:06 |
|
purl |
experimental is fine... I want to Experiment... <grin> |
| 19:06 |
|
sri |
the whole modules |
| 19:07 |
|
marcus |
Ah, fine. |
| 19:07 |
|
marcus |
Just didnt see it in the pod next to the function. |
| 19:08 |
|
marcus |
sri: good change, imo. |
| 19:09 |
|
sri |
pause wasn't too bad, but resume seemed out of place since it had to be called before pause |
| 19:10 |
|
|
gabriel joined #mojo |
| 19:10 |
|
sri |
https://github.com/kraih/mojo/[…]b54d7bd78d9#L3R55 |
| 19:11 |
|
sri |
made a similar change yesterday, not so sure about that one |
| 19:11 |
|
sri |
since the class has ->run *and* ->start |
| 19:11 |
|
sri |
but i just can't think of a better name |
| 19:28 |
|
sri |
maybe i'm overthinking it :) |
| 20:05 |
|
sri |
hmm |
| 20:05 |
|
sri |
wonder if delays should work differently |
| 20:06 |
|
sri |
singleton might make more sense |
| 20:07 |
|
sri |
would solve the nested async problem |
| 20:37 |
|
marcus |
sri: pretty happy with how parallol works now. |
| 20:41 |
|
sri |
marcus: or it's of course all fine already… :) |
| 20:42 |
|
tempire |
paralLOL |
| 20:42 |
|
sri |
but why on_done(sub {})? instead of on(done => sub {})? |
| 20:42 |
|
tempire |
I was thinking the same thing |
| 20:42 |
|
tempire |
it's so 2011 |
| 20:42 |
|
sri |
also, why done instead of finished? |
| 20:43 |
|
sri |
also so 2011 |
| 20:43 |
|
sri |
umm finish |
| 20:44 |
|
* sri |
still remembers when we had done, finish and close events |
| 20:45 |
|
* tempire |
sets sri's memory to undef |
| 20:45 |
|
* sri |
crashes |
| 20:46 |
|
* sri |
burns |
| 20:46 |
|
|
sri was kicked by tempire: sri |
| 20:46 |
|
|
sri joined #mojo |
| 20:46 |
|
|
lukep joined #mojo |
| 20:46 |
|
* sri |
still burns |
| 20:46 |
|
tempire |
clearly you were not written in erlang |
| 20:52 |
|
|
SSergey joined #mojo |
| 20:52 |
|
sri |
:( |
| 20:57 |
|
|
vel joined #mojo |
| 21:02 |
|
|
flamey joined #mojo |
| 21:44 |
|
* marcus |
roasts a sausage on sri. |
| 21:49 |
|
|
mire joined #mojo |
| 22:26 |
|
sjn |
marcus apparently thinks sri is hot o_O |
| 22:26 |
|
sjn |
:) |
| 22:37 |
|
|
KayT3 joined #mojo |
| 22:39 |
|
|
ki0_ joined #mojo |
| 23:21 |
|
sri |
hmm |
| 23:21 |
|
sri |
http://tools.ietf.org/html/dra[…]-appsawg-xdash-02 |
| 23:21 |
|
sri |
wonder if that means we should rather deprecate Mojo::Headers->x_forwarded_for than to add more accessors for X- headers |
| 23:26 |
|
|
GitHub77 joined #mojo |
| 23:26 |
|
GitHub77 |
[mojo] kraih pushed 1 new commit to master: http://git.io/Onv-wg |
| 23:26 |
|
GitHub77 |
[mojo/master] deprecated Mojo::Headers->x_forwarded_for - Sebastian Riedel |
| 23:26 |
|
|
GitHub77 left #mojo |
| 23:27 |
|
sri |
not like anyone will miss them ;p |