| Time |
S |
Nick |
Message |
| 00:05 |
|
the_anti |
yep |
| 00:15 |
|
|
jwang left #mojo |
| 00:25 |
|
|
tempire_ joined #mojo |
| 00:27 |
|
|
tempire left #mojo |
| 00:53 |
|
|
j-v-e left #mojo |
| 01:06 |
|
|
GitHub171 joined #mojo |
| 01:06 |
|
GitHub171 |
mojo: master Sebastian Riedel * 53022c6 (1 files in 1 dirs): added camelization roundtrip tests - http://bit.ly/izALue |
| 01:06 |
|
|
GitHub171 left #mojo |
| 01:27 |
|
|
jwang joined #mojo |
| 02:10 |
|
|
SmokeMachine joined #mojo |
| 02:27 |
|
|
tempire joined #mojo |
| 02:28 |
|
|
tempire_ left #mojo |
| 02:31 |
|
|
SmokeMachine left #mojo |
| 02:38 |
|
|
shonorio joined #mojo |
| 03:00 |
|
|
alnewkirk left #mojo |
| 03:01 |
|
perlrocks |
Twitter: "Plug-ins that work Mojolicious latest version of the ..." (ja) --shiba_yu36 http://twitter.com/shiba_yu36/[…]79745169448112128 |
| 03:02 |
|
|
tempire_ joined #mojo |
| 03:04 |
|
|
tempire left #mojo |
| 04:05 |
|
|
mikegrb left #mojo |
| 04:11 |
|
perlrocks |
Twitter: "Oh, okay. Maybe this is intended Mojolicious is ..." (ja) --shiba_yu36 http://twitter.com/shiba_yu36/[…]79762767564910592 |
| 04:16 |
|
|
mikegrb joined #mojo |
| 04:17 |
|
mikegrb |
irssi sigfault for the lose |
| 04:40 |
|
|
kaare joined #mojo |
| 04:53 |
|
|
k-man left #mojo |
| 04:55 |
|
|
k-man joined #mojo |
| 06:03 |
|
|
kaare left #mojo |
| 06:45 |
|
|
kaare joined #mojo |
| 06:50 |
|
|
the_anti left #mojo |
| 07:52 |
|
ruz |
sri: /win 12 |
| 07:52 |
|
ruz |
oops, sorry |
| 08:02 |
|
|
arpadszasz joined #mojo |
| 08:41 |
|
|
kaare left #mojo |
| 09:21 |
|
|
bosphorus joined #mojo |
| 09:36 |
|
|
sh9 joined #mojo |
| 09:54 |
|
|
shonorio_ joined #mojo |
| 09:54 |
|
|
shonorio left #mojo |
| 11:04 |
|
|
GitHub127 joined #mojo |
| 11:04 |
|
GitHub127 |
mojo: master Sebastian Riedel * a85f5cc (3 files in 3 dirs): improved after_dispatch hook by allowing it to change session data - http://bit.ly/m5YKQC |
| 11:04 |
|
|
GitHub127 left #mojo |
| 11:31 |
|
crab |
that is good. |
| 11:39 |
|
perlrocks |
Twitter: "[Perl] Mojolicious:: Plugin:: CSRFDefender http://htn.to/nG2e2J did not move reviews" (ja) --shiba_yu36 http://twitter.com/shiba_yu36/[…]79875548884635648 |
| 12:01 |
|
|
arpadszasz left #mojo |
| 12:17 |
|
sri |
and more doctor who |
| 12:17 |
|
sri |
EXTERMINATE! |
| 12:17 |
|
purl |
EXTERMINATE! EXTERMINATE! EXTERMINATE! |
| 12:26 |
|
|
kaare joined #mojo |
| 12:29 |
|
|
cybertronian joined #mojo |
| 12:33 |
|
|
cybertronian left #mojo |
| 12:58 |
|
|
preflex left #mojo |
| 13:02 |
|
|
preflex joined #mojo |
| 13:47 |
|
|
SmokeMachine joined #mojo |
| 14:05 |
|
|
shonorio_ left #mojo |
| 15:21 |
|
|
SmokeMachine left #mojo |
| 15:25 |
|
|
SmokeMachine joined #mojo |
| 15:25 |
|
|
SmokeMachine left #mojo |
| 15:30 |
|
* marcus |
enjoys the sun instead |
| 15:31 |
|
* sri |
orders pizza |
| 15:31 |
|
|
Foxcool joined #mojo |
| 15:32 |
|
marcus |
family dinner here. fried fish with onion |
| 15:32 |
|
* sri |
doesn't like fish |
| 15:39 |
|
|
shonorio joined #mojo |
| 15:55 |
|
|
arpadszasz joined #mojo |
| 16:02 |
|
|
SmokeMachine joined #mojo |
| 16:11 |
|
|
Foxcool left #mojo |
| 16:14 |
|
|
SmokeMachine left #mojo |
| 16:14 |
|
|
dvinciguerra joined #mojo |
| 16:15 |
|
marcus |
I like it if it has no bones :) |
| 16:24 |
|
* marty |
we's likes to eats fishes that are all wiggly and squirmy |
| 16:28 |
|
marty |
maaahn. writing code to auto create config files for jquery widgets can be a bit tedious!! We's getting tired of it my precious. |
| 16:28 |
|
|
Foxcool joined #mojo |
| 16:42 |
|
|
SmokeMachine joined #mojo |
| 16:44 |
|
|
SmokeMachine left #mojo |
| 17:06 |
|
marcus |
marty: auto create config files? I haz no idears what you are on about. |
| 17:08 |
|
|
the_anti joined #mojo |
| 17:10 |
|
the_anti |
Is there a way to use Mojo::IOLoop to tail() a file? I'd like to get on_read events whenever there's new data available. |
| 17:10 |
|
|
D4RK-PH0ENiX joined #mojo |
| 17:13 |
|
|
d4rkie left #mojo |
| 17:18 |
|
sri |
the_anti: that's not how file system io works |
| 17:18 |
|
the_anti |
I was thinking to hook into some kind of event loop, like AnyEvent or POE, but not sure what Mojo is using internally. |
| 17:19 |
|
sri |
file system io and evented doesn't go well together |
| 17:19 |
|
marty |
Marcus: For my framework. I'm using MongoDB and some jquery widgets. Basically, I'm working on a generic MongoDB editor interface on top of Mojo and I have to auto create config files based on MongoDB contents and structure. |
| 17:19 |
|
|
D4RK-PH0ENiX left #mojo |
| 17:20 |
|
the_anti |
So I guess my question is: How can I get notified of file changes within a Mojo application? |
| 17:20 |
|
sri |
you have to do it manually, and poll for changes in a timer |
| 17:20 |
|
the_anti |
grumble |
| 17:21 |
|
the_anti |
I was hoping for a Mojo FileTail plugin :) |
| 17:22 |
|
the_anti |
But I guess I can get it to work with polling as well |
| 17:23 |
|
sri |
i'm not sure what you mean with "with polling as well", what other option is there? |
| 17:23 |
|
the_anti |
none |
| 17:23 |
|
the_anti |
the other solution was in my imagination |
| 17:23 |
|
|
d4rkie joined #mojo |
| 17:24 |
|
sri |
if you want to go truly non blocking you might want to use IO::AIO |
| 17:27 |
|
the_anti |
I'm not sure how Mojo's event loop works |
| 17:34 |
|
sri |
like any other event loop |
| 17:35 |
|
the_anti |
got some sample code on how to hook into it? |
| 17:36 |
|
sri |
timers |
| 17:36 |
|
sri |
those are all the hooks you need |
| 17:37 |
|
the_anti |
k, so I use Mojo::IOLoop->timer to check, say, every second if I got data on a read initiated by something like IO::AIO. |
| 17:37 |
|
sri |
you might also want to read up on how tail actually works |
| 17:38 |
|
sri |
it's not an infinite read operation |
| 17:41 |
|
the_anti |
http://d.hatena.ne.jp/antipop/20090924/1253790732 |
| 17:45 |
|
sri |
i don't speak japanese, but that looks very wrong to me |
| 17:47 |
|
the_anti |
If the application can keep up with the rate of data arriving via tail(), I don't think it's very complicated |
| 17:47 |
|
the_anti |
what's wrong with an infinite read (except if you detect a truncation?) |
| 17:48 |
|
sri |
file system io is blocking |
| 17:48 |
|
the_anti |
unless you use non-blocking IO |
| 17:50 |
|
the_anti |
here's how POE does it: http://cpansearch.perl.org/src[…]eel/FollowTail.pm |
| 17:53 |
|
sri |
no, file system io can't be non blocking |
| 17:53 |
|
sri |
what would be the point of IO::AIO otherwise? |
| 17:54 |
|
the_anti |
hmm, http://cpansearch.perl.org/src[…]E/Driver/SysRW.pm just does a sysread and checks for EWOULDBLOCK |
| 17:55 |
|
sri |
well, doctor who marathon continues now, good luck |
| 17:56 |
|
the_anti |
:) |
| 18:13 |
|
|
d4rkie left #mojo |
| 18:14 |
|
|
d4rkie joined #mojo |
| 18:19 |
|
|
D4RK-PH0ENiX joined #mojo |
| 18:19 |
|
|
d4rkie left #mojo |
| 18:28 |
|
|
Foxcool left #mojo |
| 18:41 |
|
|
Foxcool joined #mojo |
| 18:42 |
|
|
arpadszasz left #mojo |
| 18:47 |
|
the_anti |
sri: Think you're mixing up full non-blocking IO with non-blocking reads. |
| 18:48 |
|
the_anti |
The former (like a non-blocking open) can only be done with things like IO::AIO, but the latter is just a matter of using sysopen with O_NONBLOCK |
| 18:53 |
|
the_anti |
http://pastebin.com/Psz7vq7i |
| 18:54 |
|
|
Foxcool left #mojo |
| 18:59 |
|
|
Foxcool joined #mojo |
| 19:00 |
|
sri |
the_anti: no i'm not, files are *always* readable and writable, if you add those to an event loop it will fire events every single tick |
| 19:02 |
|
sri |
(next episode) |
| 19:02 |
|
sri |
& |
| 19:07 |
|
the_anti |
I can't believe you're still watching non-DVRed TV :) |
| 19:26 |
|
|
Foxcool left #mojo |
| 19:27 |
|
|
Foxcool joined #mojo |
| 19:32 |
|
sri |
i would never watch plain old tv again, i'm just not in charge of starting the next episode :) |
| 19:43 |
|
the_anti |
Oh, you've relinquished remote control control |
| 19:51 |
|
|
sh9 left #mojo |
| 19:55 |
|
|
Foxcool left #mojo |
| 19:58 |
|
|
kaare left #mojo |
| 20:07 |
|
|
Foxcool joined #mojo |
| 20:11 |
|
|
metaperl_ left #mojo |
| 20:22 |
|
fish_ |
17:36 * sri doesn't like fish |
| 20:22 |
|
fish_ |
:( |
| 20:23 |
|
tempire_ |
marcus does |
| 20:24 |
|
|
tempire_ left #mojo |
| 20:24 |
|
|
tempire joined #mojo |
| 20:24 |
|
sri |
aww |
| 20:24 |
|
|
Foxcool left #mojo |
| 20:25 |
|
sri |
that should read "sri doesn't like *cooked* fish" |
| 20:25 |
|
* sri |
hugs fish_ |
| 20:31 |
|
|
Foxcool joined #mojo |
| 20:41 |
|
|
Foxcool left #mojo |
| 20:52 |
|
|
GitHub111 joined #mojo |
| 20:52 |
|
GitHub111 |
[mojo] kraih pushed 1 new commit to master: http://bit.ly/jICQHY |
| 20:52 |
|
GitHub111 |
mojo: master Sebastian Riedel * 68722e1 (1 files in 1 dirs): added cookbook recipe |
| 20:52 |
|
|
GitHub111 left #mojo |
| 20:54 |
|
|
Foxcool joined #mojo |
| 20:54 |
|
sri |
i'm still unsure if printing the return value should be default |
| 20:55 |
|
sri |
maybe "eval --silent '...'" would be better |
| 21:02 |
|
|
Foxcool left #mojo |
| 21:03 |
|
|
the_anti left #mojo |
| 21:23 |
|
|
GitHub18 joined #mojo |
| 21:23 |
|
GitHub18 |
[mojo] kraih pushed 1 new commit to master: http://bit.ly/lhylQu |
| 21:23 |
|
GitHub18 |
mojo: master Sebastian Riedel * 2e6c7b8 (2 files in 2 dirs): fixed typo in example |
| 21:23 |
|
|
GitHub18 left #mojo |
| 21:26 |
|
fish_ |
sri: ;) |
| 21:33 |
|
|
GitHub94 joined #mojo |
| 21:33 |
|
GitHub94 |
[mojo] kraih pushed 1 new commit to master: http://bit.ly/kMQAfo |
| 21:33 |
|
GitHub94 |
mojo: master Sebastian Riedel * 5aab5ee (2 files in 2 dirs): simplified example |
| 21:33 |
|
|
GitHub94 left #mojo |
| 22:19 |
|
marcus |
sri: you like sushi? |
| 22:25 |
|
sri |
marcus: nope |
| 22:33 |
|
marcus |
sri: oh. you just like fish_ |
| 22:34 |
|
marcus |
perl.org still down, I see. |
| 22:36 |
|
sri |
host is pingable |
| 22:37 |
|
sri |
i think they were trying starman without proxy, that couldn't end well |
| 22:38 |
|
marcus |
sri: it's all of the develooper hosted stuff tho. think it's all hosted on one machine? |
| 22:38 |
|
marcus |
develooper.com is down too. |
| 22:38 |
|
sri |
it seems to be all the combust sites |
| 22:39 |
|
sri |
a long long time ago i had commit access there, think they were on one box |
| 22:39 |
|
sri |
would make sense if they switched all sites at once |
| 22:40 |
|
marcus |
http://log.perl.org/2011/06/po[…]ings-is-back.html |
| 22:42 |
|
sri |
http://www.downforeveryoneorju[…]nratings.perl.org |
| 22:43 |
|
marcus |
sure, I'm just saying it applies to everything else hosted by noc.perl.org |
| 22:44 |
|
marcus |
as well |
| 22:44 |
|
sri |
all pingable though |
| 22:45 |
|
marcus |
yeah. maybe their storage server is in trouble or something |
| 22:46 |
|
marcus |
effed NFS tends to make stuff stop responding. |
| 22:46 |
|
sri |
lets see |
| 22:47 |
|
marcus |
guess there will be a report on log.perl.org in a bit :) |
| 22:47 |
|
marcus |
but I really agree, they should stuff a varnish in front of all their stuff, if they don't already |
| 22:48 |
|
sri |
i can connect to port 22 (ssh) but not 80 |
| 22:48 |
|
sri |
pretty sure it's the web server |
| 22:49 |
|
marcus |
I'm pretty sure it's io :) |
| 22:49 |
|
sri |
lets make it a bet :D |
| 22:50 |
|
marcus |
notice how it's not answering connection refused |
| 22:50 |
|
marcus |
what's the stakes? :) |
| 22:50 |
|
sri |
the server/app could be broken or overloaded |
| 22:50 |
|
marcus |
smtp isn't responding either |
| 22:51 |
|
sri |
no connection refused hints at connections rotting in the queue |
| 22:51 |
|
sri |
ssh is |
| 22:52 |
|
marcus |
I think the sshd wil answer even if the fs is hanging |
| 22:52 |
|
marcus |
I've seen that on fucked servers in the past. ssh responds, and then you hang at the bash prompt |
| 22:53 |
|
sri |
hmm... i almost wanted to say the winner decides the next mojolicious codename... but that's a bit too risky with you ;p |
| 22:53 |
|
marcus |
:D |
| 22:54 |
|
marcus |
٩(-̮̮̃•̃). |
| 22:56 |
|
marcus |
http://www.fileformat.info/inf[…]ar/26a7/index.htm |
| 22:56 |
|
marcus |
even better - ⚣ |
| 22:57 |
|
marcus |
I can see why you wouldn't risk it =) |
| 22:57 |
|
sri |
i actually wouldn't mind those |
| 22:58 |
|
marcus |
Or maybe a tribute to our russian friends - ☭ |
| 22:58 |
|
sri |
http://www.fileformat.info/inf[…]r/1f4a9/index.htm |
| 22:58 |
|
marcus |
yeah. wouldn't use that one :) |
| 22:59 |
|
sri |
http://www.fileformat.info/inf[…]r/1f429/index.htm # oh, found with the same query |
| 23:00 |
|
marcus |
hmm |
| 23:00 |
|
sri |
actually, i think there are very few unicode chars i would reject |
| 23:00 |
|
marcus |
U+1F42 would make for a good one too |
| 23:01 |
|
marcus |
(not for winning a bet, but..) |
| 23:03 |
|
sri |
has no personality though |
| 23:03 |
|
sri |
U+1F43C would be cute |
| 23:05 |
|
sri |
oh, there is a whole list of animal faces |
| 23:08 |
|
sri |
http://www.unicode.org/charts/PDF/U1F300.pdf |
| 23:08 |
|
sri |
lots of good names in there |
| 23:08 |
|
marcus |
I liked the turtle |
| 23:09 |
|
* sri |
too |
| 23:09 |
|
marcus |
yeah, I was looking at http://unicode.org/~scherer/em[…]_all_20090812.pdf |
| 23:09 |
|
sri |
CROCODILE is cute too |
| 23:10 |
|
sri |
oh |
| 23:10 |
|
sri |
OCTOPUS! |
| 23:10 |
|
purl |
rumour has it octopus is _MH and nmh_ from ORA or GPL'd and available at http://www.ics.uci.edu/~mh/book/ or (second edition postscript at ftp://ftp.gw.com/pub/people/jpeek/mh/book-ps/) or delicious |
| 23:10 |
|
marcus |
HAPPY FACE WITH OPEN MOUTH |
| 23:10 |
|
marcus |
AND COLD SWEA |
| 23:10 |
|
marcus |
SWEAT even |
| 23:11 |
|
marcus |
and HAPPY AND CRYING FACE |
| 23:11 |
|
* sri |
waits for fish_ to suggest U+1F41F |
| 23:12 |
|
sri |
JAPANESE OGRE |
| 23:12 |
|
marcus |
SEE NO EVIL MONKEY |
| 23:13 |
|
sri |
3 consecutive releases :) |
| 23:13 |
|
marcus |
mm :) |
| 23:22 |
|
|
SmokeMachine joined #mojo |
| 23:33 |
|
tempire |
ok, seriously. what font do I have to install to see these characters? |
| 23:33 |
|
tempire |
CAN HAZ UNICODEZ? |
| 23:34 |
|
sri |
funny you ask, i was just researching the same |
| 23:34 |
|
sri |
http://en.wikipedia.org/wiki/Unicode_typeface |
| 23:35 |
|
tempire |
gnu unifont it is |
| 23:36 |
|
sri |
no 6.0 yet :/ |