Camelia, the Perl 6 bug

IRC log for #mojo, 2013-07-27

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:02 good_news_everyone joined #mojo
00:02 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/-ZrsTg
00:02 good_news_everyone mojo/master 4b38124 Sebastian Riedel: improved Mojo::UserAgent connection management to be fork-safe
00:02 good_news_everyone left #mojo
00:03 sri oh well, then i dictate fork safety! ;p
00:12 sri i stumbled over it while working on the job queue, where both the manager and worker process use the same Mango instance
00:13 sri instantiating a new Mango every time a new worker gets spawned was rather annoying
00:15 sri marcus: basically, before you couldn't do "app->config->{whatever} = app->ua->get('some.site/wh​atever.json')->res->json;"
00:16 sri *if* there's a chance you will perform requests against the same server in multiple workers
00:17 sri which should be pretty common if your database speaks http
00:21 sri (because the master connection will end up n the keep alive queue, where it gets duplicated whenever a worker is spawned)
00:21 sri and as we all know, sockets can't be used by multiple processes
00:50 btyler joined #mojo
00:59 ryozi joined #mojo
01:24 cooper joined #mojo
02:12 trone joined #mojo
02:45 mattastrophe joined #mojo
03:23 basic6_ joined #mojo
03:29 preflex_ joined #mojo
03:57 btyler joined #mojo
05:13 bzero joined #mojo
05:15 yko joined #mojo
05:24 jnbek joined #mojo
05:36 d4rkie joined #mojo
05:44 jwang joined #mojo
05:51 trone joined #mojo
06:22 Britzel_ joined #mojo
06:25 TheAthlete joined #mojo
06:26 wk joined #mojo
06:28 Mike-PerlRecruiter_ joined #mojo
06:34 keedi joined #mojo
06:37 marcus Sri: +1 for your dictatorship then.
07:12 * nic makes a note to vote for dictatorship
07:46 Vandal joined #mojo
08:05 basiliscos joined #mojo
08:20 rem_lex|pivo joined #mojo
08:50 jzawodn joined #mojo
09:12 KindTwo joined #mojo
10:08 dod joined #mojo
10:22 mattastrophe joined #mojo
10:27 * marcus reads bradslides http://talks.golang.org/2013/oscon-dl.slide
10:31 bpmedley joined #mojo
10:38 Moataz-E joined #mojo
11:03 sh4 joined #mojo
12:46 TheAthlete left #mojo
12:49 jast joined #mojo
12:51 russum joined #mojo
12:54 russum left #mojo
13:40 preflex joined #mojo
14:05 Britzel_ joined #mojo
14:05 espent joined #mojo
14:14 btyler joined #mojo
14:18 tm joined #mojo
14:35 punter joined #mojo
14:36 punter Is Mojolicious better than node.js?
14:36 punter j/k (I know it is)
14:38 basic6_ Not sure if this is the right place to ask. I'm working on a webapp (Mojolicious). Now it dies at some point where I had a die Dumper... like an hour ago. How could I find out WHY code is being executed that I have REMOVED an hour ago?
14:38 sri nope, node.js is ver...ALL GLORY TO THE HYPNOTOAD!
14:40 sh4|2 joined #mojo
14:40 sh4 joined #mojo
14:41 basic6_ maybe someone has a hint for me where i could ask, as I don't know what's going on
14:47 Paul_V joined #mojo
14:57 tholen42 joined #mojo
14:57 tm joined #mojo
14:57 marty basic6_:  Two things I can think of are 1) you have not restarted mojolicous to pick up code changes or 2) you have path/router issues.
14:57 tm left #mojo
14:58 basic6_ marty: Well I'm running Mojolicious as CGI in Apache, so I'm going to restart Apache now. As for 2, well I have tried die "TEST" in the beginning of my startup subroutine but it still dies with something i have removed an hour ago
14:59 basic6_ also it doesn't always dies with the same error - i keep reloading the page and get a different error each time
14:59 basic6_ but most of those errors refer to stuff that i have changed / doesnt exist anymore
15:02 basic6_ marty: Wow - I have restarted Apache and now it's actually using the code from the files and giving me error messages that make sense.
15:02 basic6_ marty: How is this possible, is there some sort of caching within Apache itself?
15:05 marty basic6_:  I'm not that familiar with apache.
15:06 marty If you think it is apache then I would recommend testing via mojolicious daemon or morbo and see what happens.
15:07 basic6_ marty: ok thanks anyway, i'll see if i can find something about caching in apache...
15:20 basic6_ for the record, there is EnableMMAP (on by default), which might be the issue. i'm going to try to turn that off
15:26 sri basic6_: cross posting and not informing both channels about it is not cool
15:27 basic6_ sri: i have just informed this channel, havent i?
15:27 sri basic6_: consider this a final warning
15:28 basic6_ sri i'm really sorry, i certainly don't want to break any rules. i have just posted "for the record ..." here, so i have now changed my config and will post it here if i have any result, is that better?
15:29 sri you're talking about the same problem in multiple channels now, that's just rude
15:30 basic6_ sri is this because someone in #perl just replied me, suggesting Apache2::Reload? it's a discussion in #perl, he is helping me there, am I supposed to copy the dicussion in here? wouldnt that be worse?
15:30 sri just say you're already getting help in another channel and don't waste peoples time
15:31 basic6_ sri ok i thought when i wrote " for the record, there is EnableMMAP (on by default), which might be the issue. i'm going to try to turn that off" was sayiing "i already got help". but i understand that i didnt say that someone is helping me in another channel, so i'll say that next time
15:32 basic6_ if anyone in this channel feels like i wasted his time by not saying that someone is helping me in #perl - i'm deeply sorry.
15:39 sri just do the right thing next time and it's fine
15:39 gryphon joined #mojo
15:40 mst basic6_: no, we suggested not usi9ng mod_perl actually
15:42 tm joined #mojo
15:45 mst sri: standard approach is 'morbo for dev, hypnotoad for prod, stick nginx in front for static stuff' right?
15:50 basiliscos joined #mojo
15:55 eggypot joined #mojo
15:59 sri mst: ye
15:59 mst basic6_: ^^ see, my instructions are confirmed.
16:00 Zx3 btw. is hypnotoad not behind anything a bad thing?
16:01 mst Zx3: it's fine so long as you don't discover it's spending most of its time serving static files
16:01 mst Zx3: at that point, stick a webserver in front to do that
16:01 mst Zx3: but, uh, if it's -not- ... then I don't really see the problem
16:12 Zx3 mst: thanks
16:13 Britzel joined #mojo
16:32 btyler joined #mojo
17:00 Vandal joined #mojo
17:18 d4rkie joined #mojo
17:18 hummeleBop joined #mojo
17:26 gryphon joined #mojo
17:31 sri ETOOMUCHICECREAM
17:35 marcus tempire: Got yourself some ink?
17:35 tempire thought about it. it would be something like that.
17:35 tempire but I fear commitment
17:36 marcus It looks nice.
17:36 marcus tempire: It's not so bad on your chest, you can hide it with a tshirt.
17:37 marcus Except it might look bad if you get old and your boobs sag :)
17:37 marcus That's why I put mine on the back.
17:37 basiliscos joined #mojo
17:38 tempire back? or backside?
17:39 tempire 'cause one of them might droop
17:39 marcus from the spine to my left arm. Big turtle
17:44 gryphon joined #mojo
17:50 sri needs more unicorns
17:52 marcus uniturtle
17:52 marcus http://x83.xanga.com/66ff64e5​14c33274053028/m218488027.jpg
17:53 dod joined #mojo
17:55 * sri approves
18:20 marcus tempire: http://db.tt/9QgY69xN
18:20 tempire needs more glitter
18:21 marcus it's not so badly worn after 11 yr tho
18:29 Mike-PerlRecruiter_ joined #mojo
18:32 russum1 joined #mojo
19:01 Adura joined #mojo
19:20 russum1 left #mojo
19:29 dod joined #mojo
19:45 russum joined #mojo
19:47 punter joined #mojo
19:55 eggypot joined #mojo
19:57 basiliscos joined #mojo
20:11 btyler_ joined #mojo
20:19 cosimo joined #mojo
20:32 moltar joined #mojo
20:37 moltar joined #mojo
20:48 tm joined #mojo
20:50 basiliscos joined #mojo
20:56 TitanOfOld joined #mojo
21:32 marcus Under the dome just keeps getting better so far.
21:32 marcus Guess it
21:32 marcus has to start sucking at some point :)
22:19 btyler joined #mojo
22:44 jnbek joined #mojo
22:54 sri http://www.emojitracker.com # 😎😆😂😵
22:58 batman sri: that's crazy :)
22:59 batman or maybe crazy cool... not sure, hehe
23:09 * sri wonders if ember and angular are just fads and backbone might turn out to be the winner in the end
23:25 tempire marionettejs is really nice
23:25 tempire backbone by itself is nearly useless
23:41 jberger joined #mojo

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary