| Time |
S |
Nick |
Message |
| 00:00 |
|
|
und3f is now known as und3f[A] |
| 01:28 |
|
alnewkirk |
sri? |
| 01:29 |
|
sri |
alnewkirk? |
| 01:31 |
|
|
GitHub146 joined #mojo |
| 01:31 |
|
GitHub146 |
mojo: master Sebastian Riedel * 4d9d5b9 (1 files in 1 dirs): cleanup |
| 01:31 |
|
GitHub146 |
mojo: master Sebastian Riedel * 4e109ae (2 files in 2 dirs): added nth-child selector to Mojo::DOM |
| 01:31 |
|
GitHub146 |
mojo: master commits d3d0c6c...4e109ae - http://bit.ly/aXkDLl |
| 01:31 |
|
|
GitHub146 left #mojo |
| 01:31 |
|
sri |
wow, this one was really hard |
| 01:32 |
|
sri |
way too many special cases |
| 01:52 |
|
|
doubi joined #mojo |
| 02:10 |
|
tempire |
Well, that was easy. All I had to do was plan on making :nth_child, and someone goes and does it. |
| 02:16 |
|
sri |
i'm in your head! |
| 02:23 |
|
tempire |
I have to finish the obj-c port. |
| 02:24 |
|
tempire |
working with obj-c has really made me realize how wonderful perl is |
| 02:24 |
|
sri |
haha |
| 02:35 |
|
|
janus left #mojo |
| 02:35 |
|
|
janus joined #mojo |
| 02:44 |
|
tempire |
! |
| 02:45 |
|
tempire |
git is distributed with a built in web tool |
| 02:46 |
|
crab |
you mean gitweb? |
| 02:46 |
|
crab |
or git instaweb, or what? |
| 02:47 |
|
crab |
what are you porting to obj-c? |
| 02:47 |
|
tempire |
git instaweb |
| 02:47 |
|
tempire |
Mojo::DOM |
| 03:01 |
|
omega |
sri: have you seen http://howtonode.org/websockets-socketio ? |
| 03:03 |
|
omega |
and perhaps more specifically http://socket.io/ |
| 03:07 |
|
polvo |
what is the common way to keep urls being used in templates? |
| 03:09 |
|
polvo |
i mean i could save it somewhere in the app or in a template, but what is the best practice? |
| 03:12 |
|
|
ash_ joined #mojo |
| 03:13 |
|
|
alnewkirk left #mojo |
| 03:20 |
|
|
Foxcool joined #mojo |
| 03:21 |
|
tempire |
polvo: urls for existing routes? or external urls? |
| 03:22 |
|
tempire |
if they're for routes, just use the url_for template helper |
| 03:23 |
|
polvo |
tempire, both. they are almost the same, routes and external urls |
| 03:55 |
|
|
su-bzero joined #mojo |
| 03:55 |
|
|
su-bzero_ left #mojo |
| 03:59 |
|
|
MojoGuest426 joined #mojo |
| 04:00 |
|
|
MojoGuest821 joined #mojo |
| 04:00 |
|
MojoGuest426 |
so, next step: flying cocks for IRC? |
| 04:00 |
|
MojoGuest426 |
:P |
| 04:01 |
|
|
MojoGuest426 left #mojo |
| 04:04 |
|
|
tl joined #mojo |
| 04:05 |
|
|
tholen42 left #mojo |
| 04:06 |
|
|
MojoGuest350 joined #mojo |
| 04:06 |
|
MojoGuest350 |
From: http://www.facebook.com/l.php?[…]us.org%2F&h=b7011 (1 hits) |
| 04:06 |
|
|
MojoGuest350 left #mojo |
| 04:13 |
|
|
MojoGuest821 left #mojo |
| 04:30 |
|
|
koban joined #mojo |
| 04:43 |
|
|
doubi left #mojo |
| 04:51 |
|
|
esskar_ joined #mojo |
| 05:14 |
|
|
ysyrota joined #mojo |
| 05:24 |
|
polvo |
is it possible to add custom method from a perl module to a row? |
| 05:29 |
|
polvo |
never mind |
| 06:15 |
|
|
alnewkirk joined #mojo |
| 06:35 |
|
|
alnewkirk left #mojo |
| 06:36 |
|
|
kvorg joined #mojo |
| 06:36 |
|
|
alnewkirk joined #mojo |
| 06:48 |
|
|
alnewkirk left #mojo |
| 06:58 |
|
|
alnewkirk joined #mojo |
| 07:07 |
|
|
alnewkirk left #mojo |
| 07:26 |
|
|
alnewkirk joined #mojo |
| 07:34 |
|
|
ltriant left #mojo |
| 07:37 |
|
|
koban left #mojo |
| 07:37 |
|
|
koban joined #mojo |
| 08:29 |
|
kvorg |
Silly question, before I commit silly mistakes: if I understand correctly, the cache helper runs the code once, caches its result as a string in the compiled template, and just uses the string. Then the life time of the cache is the lifetime of the server - one request for CGI, but much much longer for Daemon-Prefork (ie Hypnotoad), FastCGI and Pluckup/ModPerl? And the cost in the CGI case is negligible. Did I get it right? |
| 08:29 |
|
|
doubi joined #mojo |
| 08:32 |
|
kvorg |
Ahh. Silly me. That is what I get for browsing commits instead of up-to-date docs. The caching recipe explains it all in less words I used im my question. |
| 08:34 |
|
|
fod left #mojo |
| 08:40 |
|
marcus_ |
o/' is it a sin, is it a crime / loving you dear like I do / if it's a crime, then I'm guilty / guilty of loving you / if it's a crime then I'm guilty / guilty of dreaming of you o/' |
| 08:43 |
|
|
alnewkirk left #mojo |
| 08:43 |
|
|
alnewkirk|com joined #mojo |
| 08:43 |
|
|
alnewkirk|com is now known as alnewkirk |
| 08:49 |
|
|
alnewkirk left #mojo |
| 09:08 |
|
|
spleenjack joined #mojo |
| 09:10 |
|
|
jest joined #mojo |
| 09:25 |
|
|
doubi left #mojo |
| 09:28 |
|
|
MojoGuest726 joined #mojo |
| 09:28 |
|
MojoGuest726 |
From: http://www.google.nl/search?hl[…]aql=&oq=&gs_rfai= (1 hits) |
| 09:29 |
|
MojoGuest726 |
Hi |
| 09:29 |
|
MojoGuest726 |
/NAMES |
| 09:29 |
|
|
MojoGuest726 left #mojo |
| 09:29 |
|
|
MojoGuest726 joined #mojo |
| 09:33 |
|
|
Alias_ joined #mojo |
| 09:35 |
|
|
MojoGuest726 left #mojo |
| 09:36 |
|
|
alnewkirk joined #mojo |
| 09:56 |
|
|
viking-3 joined #mojo |
| 09:59 |
|
viking-3 |
hi there! i have a problem with Mojolicious::Plugin::TtRenderer, install fails, and after a force install, when i enable it with $self->plugin('tt_renderer') at daemon startup I have segmentation fault |
| 09:59 |
|
viking-3 |
any idea? |
| 10:01 |
|
viking-3 |
it's strange because I saw that reports are good on that version (0.40) |
| 10:06 |
|
|
jest left #mojo |
| 10:07 |
|
vti |
viking-3: are you trying it with the latest mojo from git? |
| 10:12 |
|
|
doubi joined #mojo |
| 10:19 |
|
|
arpadszasz joined #mojo |
| 10:28 |
|
|
MojoGuest311 joined #mojo |
| 10:28 |
|
MojoGuest311 |
From: http://www.google.com/search?s[…]s+html5+websocket (1 hits) |
| 10:31 |
|
marcus_ |
hmm |
| 10:31 |
|
marcus_ |
looks like we have some more mojo client trouble |
| 10:31 |
|
marcus_ |
just switched from apache to nginx on our web service |
| 10:31 |
|
marcus_ |
and the mojo client clips an 11k xml document after about 2k |
| 10:31 |
|
marcus_ |
even tho the content-length is rigth |
| 10:31 |
|
marcus_ |
right |
| 10:37 |
|
marcus_ |
it works fine with the catalyst standalone server. |
| 10:46 |
|
|
alnewkirk left #mojo |
| 10:47 |
|
marcus_ |
sri: HALP |
| 10:47 |
|
* marcus_ |
tries to look closer with HTTPScoop |
| 10:53 |
|
sri |
marcus: sounds like a fixed bug |
| 10:53 |
|
sri |
sounds like your production server might be running an older version |
| 10:54 |
|
marcus_ |
sri: reset by peer |
| 10:54 |
|
marcus_ |
according to httpscoop |
| 10:54 |
|
marcus_ |
lemme try with trunk |
| 10:54 |
|
sri |
yes, sounds like the bug |
| 10:56 |
|
marcus_ |
still happens |
| 10:57 |
|
sri |
2k is just about what fits into the kernel send buffer at a time, thats what makes me so sure |
| 10:57 |
|
sri |
try to make a test case then |
| 10:58 |
|
marcus_ |
curl gets Closed by peer, mojolicious gets reset by pee |
| 10:58 |
|
marcus_ |
peer |
| 10:58 |
|
sri |
test case please |
| 10:58 |
|
marcus_ |
2712 |
| 10:59 |
|
marcus_ |
is the body we get |
| 10:59 |
|
marcus_ |
suggestions for how to test it? |
| 10:59 |
|
sri |
does it happen with "mojo get" too? |
| 10:59 |
|
marcus_ |
happens with perl -Mojo -e'print g("http://ws.tv.startsiden.no/v2/[…]e51&with_events=1")->body' |
| 11:00 |
|
marcus_ |
sri: yes |
| 11:01 |
|
sri |
works flawless here |
| 11:02 |
|
marcus_ |
right, that's not actually the url |
| 11:02 |
|
marcus_ |
I have a test server in my hosts file |
| 11:02 |
|
marcus_ |
works fine for me too against apache. |
| 11:02 |
|
marcus_ |
I'm getting our sysadmins to get up a public url |
| 11:13 |
|
marcus_ |
sri: mojo get "http://kua.ws.tv.startsiden.no[…]e51&with_events=1" |
| 11:17 |
|
|
MojoGuest311 left #mojo |
| 11:20 |
|
viking-3 |
vti: no, latest from CPAN |
| 11:20 |
|
marcus_ |
sri: seeing it? |
| 11:20 |
|
sri |
marcus_: yes on it |
| 11:21 |
|
vti |
viking-3: try git version |
| 11:22 |
|
viking-3 |
i had installed MojoX::Renderer::TT 0.31 before without problems, but that didn't have the Mojolicious plugin |
| 11:29 |
|
sri |
marcus_: oh, might not be ioloop relatec and just a parser bug |
| 11:34 |
|
sri |
oh, it is in fact a parser error |
| 11:34 |
|
sri |
an old error call was still adding a 400 code |
| 11:34 |
|
sri |
so it wouldn't be shown |
| 11:35 |
|
sri |
ah now i see it |
| 11:35 |
|
sri |
mawhere is the 200 message? |
| 11:35 |
|
sri |
*marcus_ |
| 11:35 |
|
sri |
HTTP/1.1 200\r\n\r\n |
| 11:35 |
|
sri |
thats what nginx sends |
| 11:36 |
|
sri |
now i have to consult the rfc :) |
| 11:44 |
|
|
alnewkirk joined #mojo |
| 11:48 |
|
|
kvorg left #mojo |
| 11:50 |
|
marcus_ |
sorry, was out getting some snack :) |
| 11:50 |
|
marcus_ |
sri: sounds like fun times. |
| 11:50 |
|
marcus_ |
is nginx fucking with the HTTP spec? |
| 11:51 |
|
sri |
the spec is not very specific there |
| 11:51 |
|
sri |
it seems to imply that there will always be a reason phrase |
| 11:52 |
|
sri |
anyway, we are pragmatic, so we'll support no phrase |
| 11:52 |
|
sri |
already got a unit test |
| 11:56 |
|
marcus_ |
sri++ |
| 12:00 |
|
marcus_ |
sri: seems the ruby guys had the same problem :-) http://code.google.com/p/phusi[…]ues/detail?id=278 |
| 12:01 |
|
|
GitHub38 joined #mojo |
| 12:01 |
|
GitHub38 |
mojo: master Sebastian Riedel * 9580132 (3 files in 3 dirs): improved Mojo::Message::Response parser resilience - http://bit.ly/aac5gs |
| 12:01 |
|
|
GitHub38 left #mojo |
| 12:01 |
|
sri |
marcus_: there ya go |
| 12:03 |
|
* sri |
needs a snack now |
| 12:03 |
|
marcus_ |
sri: cheers |
| 12:03 |
|
* marcus_ |
is snacking on baby carrots |
| 12:04 |
|
|
memowe_ joined #mojo |
| 12:05 |
|
|
memowe left #mojo |
| 12:08 |
|
|
alnewkirk left #mojo |
| 12:09 |
|
sri |
anyone pleayed with riak yet? |
| 12:09 |
|
sri |
*-e |
| 12:09 |
|
marcus_ |
nope, busy with mongobongo atm |
| 12:10 |
|
marcus_ |
sri: I'm writing Mojolicious::Guides::Testing, btw |
| 12:10 |
|
sri |
the links feature of riak seems quite cool, but it is so hard to get good information |
| 12:10 |
|
sri |
:O |
| 12:11 |
|
marcus_ |
Mostly it's collecting info from your reference documentation. |
| 12:11 |
|
sri |
is it enought to get its own guide? |
| 12:12 |
|
marcus_ |
I think so. |
| 12:12 |
|
marcus_ |
have 243 words so far |
| 12:12 |
|
marcus_ |
think I'll get it up to about 500 |
| 12:12 |
|
|
jest joined #mojo |
| 12:12 |
|
sri |
that would indeed be enough |
| 12:33 |
|
|
kvorg joined #mojo |
| 12:36 |
|
|
kvorg left #mojo |
| 12:50 |
|
|
arthas joined #mojo |
| 13:30 |
|
|
fhelmberger joined #mojo |
| 13:45 |
|
|
arthas left #mojo |
| 13:48 |
|
|
forwardever joined #mojo |
| 13:56 |
|
|
arpadszasz left #mojo |
| 14:03 |
|
|
koban left #mojo |
| 14:04 |
|
|
und3f[A] is now known as und3f |
| 14:10 |
|
sri |
not sure i like :ntp-child() |
| 14:10 |
|
sri |
it is damn powerful but so easy to get wrong |
| 14:11 |
|
sri |
nobody understands the equations without a cheatsheet |
| 14:12 |
|
sri |
or does anyone here know what div:nth-child(2n+1) means? :) |
| 14:13 |
|
sri |
(googling does not count) |
| 14:13 |
|
sri |
;p |
| 14:14 |
|
omega |
sri: I'm gonna guess every even child |
| 14:14 |
|
sri |
wrong |
| 14:15 |
|
omega |
err, odd ofc |
| 14:15 |
|
omega |
+1 |
| 14:15 |
|
sri |
thats correct |
| 14:15 |
|
sri |
how about -n+3? :) |
| 14:16 |
|
omega |
reverse sorting I presume, possibly skipping first 3 childs? |
| 14:16 |
|
sri |
selecting the first 3 children |
| 14:16 |
|
omega |
nope, don't see that one :p |
| 14:17 |
|
sri |
http://css-tricks.com/how-nth-child-works/ |
| 14:17 |
|
omega |
I think my solution made more sense :p |
| 14:17 |
|
sri |
it's quite hard |
| 14:17 |
|
sri |
also the fact that it works for all children is confusing |
| 14:18 |
|
sri |
div:nth-child(odd) doesn't select only odd div elements |
| 14:18 |
|
sri |
it selects div elements that happen to be odd children of the parent |
| 14:19 |
|
sri |
so mixed in <br /> for example changes everything |
| 14:19 |
|
|
kvorg joined #mojo |
| 14:20 |
|
marcus_ |
write more specific selectors :) |
| 14:21 |
|
marcus_ |
but yeah, it can be hard |
| 14:24 |
|
omega |
hah, 2-1 doesn't work |
| 14:24 |
|
omega |
at least not in this test-page thing |
| 14:26 |
|
|
xantus joined #mojo |
| 14:27 |
|
marcus_ |
sri: http://gist.github.com/604658 <- first draft of the testing guide. Will add some more content. |
| 14:28 |
|
* marcus_ |
heads for the subway. |
| 14:29 |
|
sri |
marcus_: good start, would be cool if it explained selectors |
| 14:30 |
|
xantus |
hey hey |
| 14:30 |
|
xantus |
I'm starting a WebDav plugin for mojo |
| 14:30 |
|
marcus_ |
sweet |
| 14:30 |
|
xantus |
http://github.com/xantus/mojo-plugin-webdav (click watch) :) |
| 14:31 |
|
xantus |
theres no code upped yet |
| 14:31 |
|
* marcus_ |
obediently clicks |
| 14:31 |
|
xantus |
\o/ |
| 14:44 |
|
|
GitHub109 joined #mojo |
| 14:44 |
|
GitHub109 |
mojo: master Sebastian Riedel * 3aea44a (2 files in 2 dirs): added nth-last-child pseudo class - http://bit.ly/9pJ9pY |
| 14:44 |
|
|
GitHub109 left #mojo |
| 14:44 |
|
* sri |
waves |
| 14:44 |
|
sri |
this one was easier to implement but is even harder to grok |
| 14:46 |
|
|
GitHub61 joined #mojo |
| 14:46 |
|
GitHub61 |
mojo: master Sebastian Riedel * c05d150 (1 files in 1 dirs): fixed typo - http://bit.ly/blA165 |
| 14:46 |
|
|
GitHub61 left #mojo |
| 14:52 |
|
kvorg |
sri: u are a genious for the testing guide. I am just writing the tests for my plugin. (But the title still says Rendering.) |
| 14:52 |
|
sri |
it was marcus |
| 14:53 |
|
kvorg |
ups, sorry |
| 14:54 |
|
kvorg |
marcus++ |
| 14:54 |
|
kvorg |
so marcus is a genious :-P |
| 14:54 |
|
* sri |
cries |
| 14:54 |
|
kvorg |
come on, evil robot genious would be a mouthufl |
| 14:54 |
|
kvorg |
*mouthful |
| 15:02 |
|
sri |
you're just saying that... :,( |
| 15:08 |
|
|
GitHub99 joined #mojo |
| 15:08 |
|
GitHub99 |
mojo: master Sebastian Riedel * f5474c1 (2 files in 2 dirs): added nth-child-of-type and nth-last-child-of-type selectors to Mojo::DOM - http://bit.ly/aFdrm7 |
| 15:08 |
|
|
GitHub99 left #mojo |
| 15:08 |
|
sri |
yay, done with the nth-* selectors |
| 15:09 |
|
|
GitHub102 joined #mojo |
| 15:09 |
|
GitHub102 |
mojo: master Sebastian Riedel * 530c2b0 (1 files in 1 dirs): cleanup - http://bit.ly/dzQl2D |
| 15:09 |
|
|
GitHub102 left #mojo |
| 15:14 |
|
|
koban joined #mojo |
| 15:15 |
|
|
koban left #mojo |
| 15:18 |
|
|
GabrielVieira2 left #mojo |
| 15:24 |
|
xantus |
sri: did you click *watch* yet :) |
| 15:25 |
|
sri |
xantus: where? |
| 15:27 |
|
xantus |
http://github.com/xantus/mojo-plugin-webdav |
| 15:27 |
|
sri |
oh |
| 15:27 |
|
sri |
Oo |
| 15:27 |
|
sri |
empty |
| 15:27 |
|
sri |
oO |
| 15:28 |
|
xantus |
I'm starting |
| 15:28 |
|
sri |
cool |
| 15:28 |
|
xantus |
I have my POE webdav server, I'll convert that |
| 15:29 |
|
xantus |
it passes almost all of the litmus tests |
| 15:29 |
|
xantus |
http://www.webdav.org/neon/litmus/ |
| 15:29 |
|
sri |
btw. NIN - Ghosts I-IV is great music for hacking |
| 15:32 |
|
xantus |
I have the new nin tracks |
| 15:32 |
|
sri |
ghosts is different, industrial ambient music :) |
| 15:35 |
|
|
xantus_ left #mojo |
| 15:37 |
|
kvorg |
nifty, webdav will be a nice match for file-based applications and examples |
| 15:38 |
|
kvorg |
writing tests is difficult, every time I think of a corner case for my damn extra tag helpers, I have to fix some corner bug |
| 15:38 |
|
* kvorg |
stomps in corners just to be sure. |
| 15:40 |
|
kvorg |
or typos in examples, damn |
| 16:02 |
|
|
ysyrota left #mojo |
| 16:06 |
|
xantus |
well, just dropping in |
| 16:07 |
|
xantus |
oh, before I go |
| 16:08 |
|
xantus |
whats the non blocking file io plan for mojo? |
| 16:08 |
|
sri |
can't be done without xs |
| 16:09 |
|
|
GitHub162 joined #mojo |
| 16:09 |
|
GitHub162 |
mojo: master Sebastian Riedel * a7701b8 (3 files in 3 dirs): added sibling combinators to Mojo::DOM - http://bit.ly/an77n4 |
| 16:09 |
|
|
GitHub162 left #mojo |
| 16:09 |
|
sri |
there is basically just IO::AIO |
| 16:09 |
|
|
jest left #mojo |
| 16:09 |
|
xantus |
I was thinking about using my filesys::virtual::async (which uses io::aio) |
| 16:10 |
|
sri |
E + F and E ~ F! |
| 16:11 |
|
|
tempire_ joined #mojo |
| 16:11 |
|
sri |
is there special support needed from our side? |
| 16:11 |
|
xantus |
I'll update filesys::virtual to use io::file or io::aio |
| 16:11 |
|
tempire_ |
Testing guide? |
| 16:11 |
|
xantus |
we'll see |
| 16:12 |
|
sri |
aio uses a fake signal or so,doesn't it? |
| 16:12 |
|
xantus |
yeah, we'll need a read watcher on its fileno trigger |
| 16:13 |
|
xantus |
open( my $fh, "<&=".poll_fileno() ) ... |
| 16:14 |
|
xantus |
like I did in poco aio |
| 16:14 |
|
xantus |
http://search.cpan.org/~xantus[…]t-AIO-1.00/AIO.pm |
| 16:15 |
|
sri |
i see, a simple hack might already work |
| 16:16 |
|
xantus |
yea |
| 16:16 |
|
sri |
$ioloop->connect(socket => $handle) or so |
| 16:16 |
|
sri |
that should give you a read watcher |
| 16:17 |
|
kvorg |
would anyone be interested if I add optional use of a diff module in Test::Mojo when showing faild resulst of content_is() ? |
| 16:17 |
|
sri |
? |
| 16:18 |
|
kvorg |
so that if the module is installed, you get a diff insteat of got '...' expected '...' |
| 16:18 |
|
kvorg |
(i found looking up differences in long table output quite painful :-) ...) |
| 16:19 |
|
sri |
sounds like much work for little gain |
| 16:19 |
|
sri |
can it be done non core? |
| 16:22 |
|
kvorg |
there is Text::Diff ... and it would simply use it if the module is present |
| 16:22 |
|
kvorg |
*Text:: Diff |
| 16:22 |
|
kvorg |
and even that just in the case of a failure anyway |
| 16:22 |
|
sri |
it still makes maintainance a lot harder |
| 16:23 |
|
sri |
i bet it would be extremely hard to test properly |
| 16:23 |
|
sri |
lots of possible trouble :) |
| 16:23 |
|
kvorg |
sorry, I don't get you. it would not be used for testing, just for displaying the differences in the case of a failure |
| 16:23 |
|
sri |
a feature needs to be tested itself |
| 16:24 |
|
sri |
no matter if it makes the testing process more convenient |
| 16:24 |
|
kvorg |
ahhh. will think about it hard then. |
| 16:24 |
|
sri |
it doesn't sound hard to do non core |
| 16:25 |
|
sri |
then testing is at least not my problem ;) |
| 16:25 |
|
kvorg |
non-core, as in out of the Mojolicious distribution? |
| 16:26 |
|
sri |
right |
| 16:26 |
|
sri |
like a simple Test::Mojo subclass |
| 16:26 |
|
kvorg |
good point there |
| 16:28 |
|
|
GabrielVieira joined #mojo |
| 16:33 |
|
|
xantus left #mojo |
| 16:34 |
|
|
perlrocks joined #mojo |
| 16:35 |
|
perlrocks |
Twitter: "Mojo::DOM is really growing up now. :) http://bit.ly/bpJyCR #perl #mojolicious" --kraih http://twitter.com/kraih/status/25995608462 |
| 16:35 |
|
|
kimoto left #mojo |
| 16:35 |
|
sri |
the sibling combinators should be very good for testing |
| 16:38 |
|
|
kvorg left #mojo |
| 16:38 |
|
vti |
mojo::dom tests could a good introduction to css selectors :) |
| 16:38 |
|
vti |
*could be |
| 16:38 |
|
sri |
hehe |
| 16:39 |
|
|
MojoGuest923 joined #mojo |
| 16:39 |
|
MojoGuest923 |
From: http://www.google.fr/url?sa=t&[…]uzUnHhWcD0vcKNULg (1 hits) |
| 16:39 |
|
vti |
with tests you have docs, specs and examples |
| 16:39 |
|
|
MojoGuest923 left #mojo |
| 16:39 |
|
sri |
TDD is just awesome |
| 16:39 |
|
vti |
still don't get why people don't like tdd |
| 16:40 |
|
sri |
it's the write only code mentality |
| 16:45 |
|
|
xantus_ joined #mojo |
| 16:47 |
|
|
kvorg joined #mojo |
| 16:53 |
|
sri |
looks like riak is getting built in fulltext search |
| 16:54 |
|
sri |
could turn out to be quite cool |
| 16:54 |
|
perlrocks |
Twitter: "Perl. Using Mojolicious-application in a separate script http://ff.im/rmWQ9" (ru) --sharifulin http://twitter.com/sharifulin/status/25997215754 |
| 16:59 |
|
|
alnewkirk joined #mojo |
| 17:03 |
|
perlrocks |
Twitter: "Anatoly Sharifulin: Perl. Using Mojolicious-application in a separate script http://ff.im/rmYFX" (ru) --planetperlru http://twitter.com/planetperlr[…]tatus/25997907412 |
| 17:05 |
|
|
doubi left #mojo |
| 17:07 |
|
perlrocks |
Twitter: "Riak sounds like it would be a hell of a lot of fun to use with #mojolicious, why is there no book about it yet? http://bit.ly/bWjnXp #perl" --kraih http://twitter.com/kraih/status/25998239218 |
| 17:09 |
|
|
Foxcool left #mojo |
| 17:24 |
|
vti |
08:40 <@sri> riak doesn't look cool |
| 17:24 |
|
sri |
:O |
| 17:25 |
|
sri |
was that when marcus asked me about riak? |
| 17:25 |
|
sri |
the big problem is that you need to dig deep and uncover a good talk to actually get what is about |
| 17:26 |
|
sri |
*+it |
| 17:26 |
|
vti |
ye, marcus |
| 17:26 |
|
vti |
but the first one who talked about riak on this channel was... me! |
| 17:27 |
|
sri |
the actual design of riak seems so right |
| 17:35 |
|
sri |
oh well, in the end i'll go back to couchdb anyway :) |
| 17:36 |
|
|
spleenjack left #mojo |
| 18:04 |
|
|
forwardever left #mojo |
| 18:07 |
|
|
forwardever joined #mojo |
| 18:12 |
|
vti |
sri: if you read sharifulin's port you would understand why he needs a default tx object |
| 18:12 |
|
vti |
*post |
| 18:14 |
|
vti |
use google translate :) |
| 18:27 |
|
sri |
vti: think i added it yesterday |
| 18:40 |
|
|
GitHub47 joined #mojo |
| 18:40 |
|
GitHub47 |
mojo: master Sebastian Riedel * 5ed517c (1 files in 1 dirs): added more tests - http://bit.ly/aIUGyg |
| 18:40 |
|
|
GitHub47 left #mojo |
| 18:42 |
|
|
fhelmberger left #mojo |
| 18:44 |
|
vti |
sri++ # too bad we don't have karma bot |
| 18:44 |
|
sri |
\o/ |
| 18:45 |
|
vti |
sri! # factorial! |
| 18:46 |
|
|
spleenjack joined #mojo |
| 18:46 |
|
vti |
hm... long time since i donated beer to mojo project |
| 18:46 |
|
* sri |
blames vti for the beer shortage |
| 18:47 |
|
vti |
give 5 min! |
| 18:50 |
|
|
GabrielVieira left #mojo |
| 18:52 |
|
perlrocks |
Twitter: "Just donated $100 to the awesome #Mojolicious project. Sebastian++! Let's support the best #Perl web framework!" --vtivti http://twitter.com/vtivti/status/26005694449 |
| 18:53 |
|
sri |
thanks :) |
| 18:54 |
|
vti |
get some beer! |
| 18:54 |
|
sri |
i will! |
| 18:56 |
|
vti |
funny thing that mojo inspired me for creating many good projects, that's a good marketing thing too ) |
| 18:57 |
|
sri |
o/' Was wollen wir trinken, 7 Tage lang. Was wollen wir trinken, so ein Durst. o/' |
| 18:58 |
|
sri |
all marketing is good marketing ;) |
| 19:00 |
|
vti |
maybe you should consider the same thing that mst does (shadowcat co) for mojolicious? paid support and stuf |
| 19:01 |
|
sri |
possible, but for now i have a slightly different evil plan ;) |
| 19:01 |
|
vti |
ok :) |
| 19:05 |
|
vti |
will i get help without writing a test being on paid support? :D |
| 19:07 |
|
sri |
lol |
| 19:08 |
|
vti |
anyway, your support is f*cking awesome, which framework delivers the same speed? :) |
| 19:08 |
|
sri |
:D |
| 19:10 |
|
sri |
i just love what i do |
| 19:11 |
|
janus |
20:58:49 <@sri> all marketing is good marketing ;) |
| 19:11 |
|
janus |
can't agree anymore since yesterday :> |
| 19:11 |
|
sri |
how come? |
| 19:11 |
|
janus |
moose fud :> |
| 19:11 |
|
sri |
? |
| 19:11 |
|
janus |
ok, mabye doesnt qualify as marketing anymore |
| 19:11 |
|
vti |
fud? what's that? |
| 19:12 |
|
sri |
http://en.wikipedia.org/wiki/F[…]rtainty_and_doubt |
| 19:12 |
|
sri |
in the end even rants are good marketing, it puts you on peoples radar |
| 19:12 |
|
janus |
there was a moose fanboy in another channel... who said everything but the important things |
| 19:12 |
|
vti |
ah |
| 19:12 |
|
janus |
more along the lines of ``everyone else is doing it wrong'' |
| 19:13 |
|
vti |
janus: it's like you suck? :) |
| 19:13 |
|
janus |
if it was only personal to me i wouldnt have said anything, but i dont like general insults ;) |
| 19:14 |
|
vti |
i like moose for their effort being a better oop for perl, but i don't use it :( |
| 19:14 |
|
sri |
well, irc is not that good for marketing, it's over too quick |
| 19:14 |
|
janus |
heh, true |
| 19:16 |
|
janus |
anything that helps to get a job done is nice... example: mojolicious for webapps :) |
| 19:17 |
|
vti |
mojolicious is just awesome, simply as that :) |
| 19:17 |
|
vti |
you know athat guy who created catalyst :D |
| 19:17 |
|
vti |
*that |
| 19:18 |
|
sri |
did someone accidentally spill aome coolaid on vti? :D |
| 19:18 |
|
sri |
s/a/s/ |
| 19:18 |
|
sri |
a/c/k/ |
| 19:19 |
|
sri |
argh |
| 19:19 |
|
sri |
s/a/s/ |
| 19:19 |
|
vti |
;D |
| 19:20 |
|
janus |
s/created/invented/ # it went offtopic ages ago imho |
| 19:20 |
|
vti |
hm.. i have to blog something, it's been awhile |
| 19:21 |
|
vti |
janus: founded... :) |
| 19:21 |
|
sri |
am i missing something here? |
| 19:22 |
|
vti |
sri: do you know where he lives? :) |
| 19:22 |
|
sri |
no idea |
| 19:22 |
|
vti |
somewhere in germany |
| 19:22 |
|
janus |
not anymore |
| 19:23 |
|
janus |
anyways, what i mean is that cat went into a strange direction since moose |
| 19:23 |
|
vti |
janus: it was alicedsl the last time you entered |
| 19:24 |
|
janus |
vti: maybe, yet i'm not in germany |
| 19:24 |
|
janus |
about to relocate to .nl |
| 19:24 |
|
vti |
janus: ok, ok :) |
| 19:24 |
|
|
sandra_f joined #mojo |
| 19:24 |
|
|
GabrielVieira joined #mojo |
| 19:25 |
|
vti |
i wonder why so many hosting providers forbid irc bots |
| 19:26 |
|
janus |
because irc is [ae]ffective? ;) |
| 19:26 |
|
|
sandra_f left #mojo |
| 19:26 |
|
sri |
bandwidth drain? |
| 19:26 |
|
janus |
i guess more fear of attacks |
| 19:27 |
|
vti |
no idea, bandwidth is really small |
| 19:27 |
|
sri |
but constant and adds up |
| 19:28 |
|
vti |
i am trying to find some vpn providers... and looks like it easier :D |
| 19:28 |
|
sri |
ec2? |
| 19:29 |
|
sri |
they have a 14 euro per month instance now |
| 19:29 |
|
vti |
i was thinking about that, but was not sure about their terms |
| 19:29 |
|
und3f |
vti, try burst.net |
| 19:29 |
|
und3f |
vti, ~5$ :P |
| 19:29 |
|
vti |
und3f: :) |
| 19:30 |
|
sri |
well, if you want a real server i suggest hetzner.de |
| 19:30 |
|
und3f |
our dedicated server is also at burst.net |
| 19:30 |
|
|
und3f left #mojo |
| 19:30 |
|
|
und3f joined #mojo |
| 19:31 |
|
vti |
sri: well, they don'e accept russian (read as crazy) internet transfer accounts :D |
| 19:31 |
|
sri |
oh |
| 19:31 |
|
* vti |
watching great balls of fire |
| 19:32 |
|
vti |
hm... i might want to add it to the twitter :D |
| 19:33 |
|
sri |
think i need to see Monsters http://www.imdb.com/title/tt1470827/ |
| 19:33 |
|
vti |
sri: have you read The Day of the Triffids? |
| 19:34 |
|
vti |
d*mn awesome book |
| 19:34 |
|
sri |
nope, just seen the last tv movie |
| 19:34 |
|
vti |
know nothing about the movie |
| 19:35 |
|
sri |
http://www.imdb.com/title/tt1332653/ |
| 19:37 |
|
vti |
for me the book is like #1 in sci-f |
| 19:37 |
|
vti |
*sci-fi |
| 19:38 |
|
vti |
revelation type |
| 19:39 |
|
vti |
or branch.. i dont |
| 19:39 |
|
vti |
know |
| 19:39 |
|
sri |
Do Androids Dream of Electric Sheep? is my #1 i think |
| 19:40 |
|
sri |
blade runner is also my favorite movie of all time |
| 19:40 |
|
vti |
sh*t, going to read it |
| 19:41 |
|
vti |
how about asimov? :) |
| 19:42 |
|
|
Rhaen_ joined #mojo |
| 19:42 |
|
sri |
didn't read asimov yet |
| 19:43 |
|
vti |
a must for a robot :) |
| 19:43 |
|
sri |
need no stinkin rules.... |
| 19:45 |
|
sri |
i loved h g wells when i was younger |
| 19:45 |
|
stephen |
I like one of PKD's original titles for "Do Androids Dream": "The Killers Are Among Us, Cried Rick Deckard To The Special Man" |
| 19:46 |
|
vti |
sri: 15? :) |
| 19:46 |
|
sri |
vti: actually yes :D |
| 19:46 |
|
* vti |
feels dumb |
| 19:47 |
|
|
Rhaen left #mojo |
| 19:47 |
|
|
Rhaen_ is now known as Rhaen |
| 19:48 |
|
|
tempire_ left #mojo |
| 19:50 |
|
|
arpadszasz joined #mojo |
| 19:52 |
|
|
su-bzero_ joined #mojo |
| 19:53 |
|
vti |
:D |
| 19:54 |
|
vti |
you take black hand, you take white hand, and you get rock-n-roll :D |
| 19:54 |
|
* vti |
shuts up :) |
| 19:57 |
|
|
su-bzero left #mojo |
| 19:57 |
|
|
GabrielVieira left #mojo |
| 20:05 |
|
|
su-bzero_ left #mojo |
| 20:10 |
|
|
su-bzero joined #mojo |
| 20:12 |
|
|
GabrielVieira joined #mojo |
| 20:18 |
|
sri |
heh |
| 20:22 |
|
|
forwardever left #mojo |
| 20:31 |
|
kvorg |
sri: I actaully was hired to translate Do Androids Dream of Electric Sheep into Slovenian. :-P |
| 20:31 |
|
sri |
:D |
| 20:31 |
|
kvorg |
Lem > Asimov |
| 20:31 |
|
kvorg |
stephen: LoL at the original title, did not know that!! |
| 20:32 |
|
kvorg |
sri: About robots: Have you read Lem's Fairy Tales for Robot Children (or some such, the Trurl and Clapacious stories) |
| 20:32 |
|
sri |
nope |
| 20:33 |
|
kvorg |
mucho recommended, especaillay if you like funny side of Lem, such as Ion Ticky's diaries. |
| 20:34 |
|
vti |
i don't lke lem |
| 20:34 |
|
kvorg |
for me, that is a cornerstone of Sci-Fi: every damn idea or concept before the advent of virtuality and networking has been first used in there, then expanded to the impossible and turn into absurd. |
| 20:34 |
|
kvorg |
damn. u don't? :-( |
| 20:34 |
|
kvorg |
well, your loss, it goes well with beer and pot. |
| 20:34 |
|
vti |
too much anti religion thing |
| 20:35 |
|
kvorg |
hmmm. in Ticky? Lemme think. |
| 20:35 |
|
kvorg |
*Tichy. |
| 20:35 |
|
stephen |
I think it's called the Cyberiad out here (Trurl and Claupacious) |
| 20:35 |
|
kvorg |
Yeah, thank you! Could not remember off the top of my hat. |
| 20:36 |
|
vti |
solaris thing |
| 20:37 |
|
kvorg |
I am not sure religion is really mocked off any more than any other human idea or concept, really, at least in the Tichy series. |
| 20:38 |
|
vti |
i am not against or for religion, but it is just everywhere, lem is just about it |
| 20:38 |
|
kvorg |
what about post-PKD? Morgan? Asher? (I need to know if head hunting and crabs are acceptable metaphors for this channel) |
| 20:39 |
|
kvorg |
vti: I disagree. There is not a single bit of religion in the whole Pirx series, in Eden etc. Also, Eden is the only book with no mention of a female character I ever read, so it might have been about not being about the usual things. |
| 20:39 |
|
vti |
post-PKD? wtf? |
| 20:39 |
|
kvorg |
Philip-K-Dick? |
| 20:39 |
|
stephen |
I like Morgan's Kovacs novels. |
| 20:40 |
|
kvorg |
stephen: Takeshi is my man! B-) |
| 20:40 |
|
stephen |
Kind of sorry he stopped writing those, but he had kind of explored the style. |
| 20:40 |
|
* kvorg |
tries to sell stephen a TV series script for Altered Carbon. |
| 20:41 |
|
vti |
i am more about britain sci-fi like Wells and Wyndham |
| 20:41 |
|
* stephen |
buys it for a dollar |
| 20:41 |
|
stephen |
I enjoy both. :) |
| 20:41 |
|
vti |
wells is like everything!! |
| 20:41 |
|
* kvorg |
wields neurachem and jumps circles around the channel. |
| 20:42 |
|
kvorg |
Damn, I do not know Wyndham. How illiterate of me. |
| 20:43 |
|
stephen |
He wrote Midwich Cuckoos, which is the basis for almost every "the children are evil" movie and TV episode since. |
| 20:43 |
|
kvorg |
Having too many, they shuld kill some Wyndhams off: http://en.wikipedia.org/wiki/Wyndham |
| 20:44 |
|
kvorg |
Ach, The Day of the Triffids! My mind is falling apart I see. |
| 20:44 |
|
vti |
The Day of the Triffids |
| 20:44 |
|
vti |
The Day of the Triffids |
| 20:44 |
|
vti |
!!!! |
| 20:44 |
|
kvorg |
lol |
| 20:44 |
|
vti |
must read |
| 20:44 |
|
vti |
awesome thing |
| 20:45 |
|
kvorg |
yeah, but my rotten mind misplaced the name of the author ... agreed there |
| 20:45 |
|
stephen |
The man did have a LOT of names. John Wyndham Parkes Lucas Beynon Harris. |
| 20:46 |
|
stephen |
I mean, that's not a name, that's a sentence! |
| 20:46 |
|
und3f |
sri, one more question about Mojo::Client |
| 20:47 |
|
und3f |
sri, in Mojolicious->listen server i am make http request with MOjo::Client->singleton->async->get( ... )->start |
| 20:47 |
|
und3f |
sri, and got no problem in that envirenment |
| 20:47 |
|
und3f |
sri, but in tests with mojolicious::lite server it doesn't work |
| 20:47 |
|
und3f |
just got no request |
| 20:48 |
|
und3f |
sri, if i delete async it works again, but i got no async requests :( |
| 20:49 |
|
sri |
wrong ioloop for some reason most likely, all i know is that i have ->async in lite_app.t working |
| 20:50 |
|
|
stereonaut joined #mojo |
| 20:58 |
|
und3f |
sri, i am using client outside of Mojolicious::Lite routers (Mojolicious::Lite just to pass some data for Mojo::Client) |
| 20:58 |
|
und3f |
or it doesn't matter |
| 20:58 |
|
und3f |
? |
| 20:58 |
|
sri |
thats very important |
| 20:59 |
|
sri |
async requires an external ioloop to be running |
| 21:00 |
|
und3f |
sri, so i need to start ioloop manually and stop it manually too? |
| 21:00 |
|
sri |
exactly |
| 21:00 |
|
sri |
http://github.com/kraih/mojo/b[…]ojo/client.t#L144 |
| 21:00 |
|
und3f |
thanks, i'll try |
| 21:02 |
|
und3f |
sri, thanks, works. You slightly changed api for mojo client |
| 21:03 |
|
sri |
->start? |
| 21:03 |
|
und3f |
yeah :P |
| 21:03 |
|
sri |
->process still works |
| 21:03 |
|
sri |
just got deprecated |
| 21:03 |
|
und3f |
ok, thanks |
| 21:03 |
|
sri |
start is more in line with the rest of the api |
| 21:05 |
|
sri |
i still wonder if i should just split sync and async client |
| 21:06 |
|
sri |
supporting both is really hard :S |
| 21:10 |
|
|
^stereonaut joined #mojo |
| 21:11 |
|
|
stereonaut left #mojo |
| 21:11 |
|
|
doubi joined #mojo |
| 21:18 |
|
|
stereonaut joined #mojo |
| 21:18 |
|
|
^stereonaut left #mojo |
| 21:24 |
|
vti |
what/! |
| 21:25 |
|
vti |
process -> start? |
| 21:25 |
|
sri |
ye |
| 21:26 |
|
|
arpadszasz left #mojo |
| 21:26 |
|
vti |
hm.. i missed that |
| 21:27 |
|
sri |
http://github.com/kraih/mojo/b[…]o/Client.pm#L1153 |
| 21:27 |
|
sri |
more pretty |
| 21:28 |
|
vti |
the name is better, i agree |
| 21:28 |
|
sri |
i'm still looking for ways to make Mojo::Client simpler |
| 21:28 |
|
vti |
i think it is simple enough |
| 21:28 |
|
sri |
but whenever i look at http clients from other languages their APIs are worse :( |
| 21:29 |
|
sri |
i dunno, ->async feels like a bandaid fix |
| 21:29 |
|
und3f |
sri, please check out this code http://pastebin.ca/1952157 is it correct? It suppose to print "fast" before long |
| 21:29 |
|
und3f |
sri, but it doesn't |
| 21:30 |
|
sri |
sleep blocks the whole process |
| 21:30 |
|
und3f |
oh, right, wrong example |
| 21:30 |
|
sri |
you can look at the long polling test |
| 21:31 |
|
sri |
and add a timer to simulate the sleep |
| 21:32 |
|
und3f |
sri, thanks |
| 21:44 |
|
|
ltriant joined #mojo |
| 21:45 |
|
|
stereonaut left #mojo |
| 22:15 |
|
|
alnewkirk left #mojo |
| 22:21 |
|
|
GitHub95 joined #mojo |
| 22:21 |
|
GitHub95 |
mojo: master Sebastian Riedel * e999768 (2 files in 2 dirs): added tests - http://bit.ly/bBft2N |
| 22:21 |
|
|
GitHub95 left #mojo |
| 22:23 |
|
sri |
just noticed under '/foo'; get sub {...}; post sub {...}; just works :) |
| 22:35 |
|
ash_ |
sri, what if you do 2 get sub's in a row? |
| 22:35 |
|
ash_ |
does it tell you your doing it wrong? :P |
| 22:35 |
|
sri |
first wins ;) |
| 22:35 |
|
sri |
fifo |
| 22:35 |
|
ash_ |
ah, interesting, why not the second? just wondering or last? |
| 22:35 |
|
ash_ |
oh, fifo got ya |
| 22:38 |
|
|
spleenjack left #mojo |
| 22:46 |
|
|
und3f is now known as und3f[A] |
| 22:50 |
|
marcus_ |
sri: crucially was the one who told me riak was cool |
| 22:51 |
|
marcus_ |
aka sky ... http://github.com/crucially/riakfuse |
| 22:56 |
|
sri |
ah |
| 22:57 |
|
sri |
while i like the architecture http://www.basho.com/enterpriseds.html makes me not even try it |
| 23:23 |
|
|
MojoGuest784 joined #mojo |
| 23:24 |
|
|
MojoGuest784 left #mojo |