The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2014-02-24

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

All times shown according to UTC.

Time Nick Message
00:08 skullbocks joined #mojo
00:19 skullbocks joined #mojo
00:19 jack joined #mojo
00:31 putolov|2 joined #mojo
00:33 Adurah joined #mojo
00:44 jberger__ joined #mojo
00:59 laouji_ joined #mojo
01:20 putolov joined #mojo
01:22 klapperl joined #mojo
01:23 ka2u joined #mojo
01:31 d4rkie joined #mojo
01:32 d4rkie joined #mojo
01:44 dsteinbrunner joined #mojo
01:50 * sri kinda wishes he had used $delay->begin(1) instead of $delay->begin(0)
01:50 sri then $delay->begin(0) would be free for "don't capture any arguments and just wait for the non-blocking operation to be finished"
01:54 Stefan joined #mojo
02:19 klapperl_ joined #mojo
02:20 Adurah_ joined #mojo
02:25 Adurah_ joined #mojo
02:47 sri on the other hand, i suppose we could just do $delay->begin('foo') and throw the arguments into $delay->data('foo')
02:47 * sri shrugs
03:12 lucs My  <input type="button" ...>  appear not to be seen by param(); is it me doing something stupid?
03:19 preaction it's not a submit button, so my guess is that the browser doesn't add it to the form contents because you're sending the form via javascript
03:21 lucs That's not very nice of it, is it :/
03:25 Stefan joined #mojo
03:35 jberger__ bpmedley: interestingly, on mobile browser I can add characters to the code box but I cannot remove/edit the ones that are there initially
03:45 klapperl joined #mojo
03:49 alnewkir1-xxx joined #mojo
03:54 Adura joined #mojo
04:21 bpmedley jberger__: Yes, mobile needs some attention.
04:29 laouji_ joined #mojo
04:37 lukep joined #mojo
05:05 ka2u joined #mojo
05:07 arpadszasz joined #mojo
05:15 mattastrophe joined #mojo
05:16 ka2u joined #mojo
05:51 sujithm joined #mojo
05:58 sujithm_ joined #mojo
06:21 Vandal joined #mojo
06:34 gnephiak joined #mojo
06:35 sujithm joined #mojo
06:52 mire__ joined #mojo
07:03 basiliscos joined #mojo
07:03 batman bpmedley: haha! the most important things was actually the FAQ. but thanks anyway. looks pretty good on the phone as well. (a bit buggy landing page though)
07:04 bpmedley batman: Creatiion time for an image is ina few seconds now.
07:07 batman wow! that's excellent :)
07:07 batman so the creation time reflect the description text on the web page ;)
07:07 batman almost too fast! i can't see my animation :D
07:07 batman haha
07:07 batman bpmedley++
07:08 bpmedley I'm still working out some kinks.
07:08 batman http://liveperl.us:8002/
07:08 bpmedley lol
07:08 batman hehe
07:11 batman i wonder if the "Which version of perl is running" answer is wrong in /about... i've using $^V and Mojolicious->VERSION, but not from the docker image.
07:11 batman maybe that need fixing bpmedley ...
07:11 * batman need to go to work *ttyl*
07:11 bpmedley Understood, cool.  ttyl
07:17 nicomen Good news everyone! We are looking for speakers! Call for Papers for mojoconf 2014 found here: http://mojoconf.org/mojo2014/news/1160
07:52 robinsmidsrod joined #mojo
08:04 eseyman joined #mojo
08:08 arpadszasz joined #mojo
08:13 rem_lex joined #mojo
08:28 odc joined #mojo
08:30 zivester_ joined #mojo
08:30 zivester__ joined #mojo
08:30 trone joined #mojo
08:30 sujithm_ joined #mojo
08:37 mire__ joined #mojo
08:43 rawler joined #mojo
08:52 mudler joined #mojo
08:55 mudler joined #mojo
08:55 maxhq joined #mojo
08:56 trone joined #mojo
09:00 mudler joined #mojo
09:04 ka2u joined #mojo
09:04 mudler joined #mojo
09:06 denisboyun joined #mojo
09:14 Stefan joined #mojo
09:22 nicomen hm, I think I posted two different things to the mojo users google groups but they disappeared or aren't showing?
09:34 fhelmber_ joined #mojo
09:35 dpetrov_ joined #mojo
09:49 arthas joined #mojo
10:01 Andy2 joined #mojo
10:04 bowtie_ joined #mojo
10:06 GabrielVieira joined #mojo
10:22 Jonneh joined #mojo
10:32 sujithm joined #mojo
10:42 sujithm_ joined #mojo
10:53 sujithm joined #mojo
11:02 sujithm_ joined #mojo
11:05 ver joined #mojo
11:14 Tiger joined #mojo
11:14 mtths joined #mojo
11:33 sujithm joined #mojo
11:37 skullbocks joined #mojo
11:38 GabrielV_ joined #mojo
11:43 dsteinbrunner joined #mojo
11:47 skullbocks joined #mojo
11:48 laouji_ joined #mojo
11:52 skullbocks joined #mojo
11:59 skullbocks joined #mojo
12:14 ryozi joined #mojo
12:34 mire__ joined #mojo
12:38 ka2u joined #mojo
12:54 sh4 joined #mojo
13:06 denisboyun joined #mojo
13:07 marcus https://www.evernote.com/shard/s22/sh/e5768975-6705-4632-86fc-5f406cd164a1/ba89d75edcf1da3bb13e789b878c5a60/deep/0/LivePerl---Hello-World.png :(
13:08 marcus batman / bpmedley ^^
13:08 marcus Fixed itself when I started editing tho.
13:08 bpmedley marcus: Sorry, I've been trying to figure out a way to stop fork bombs without killing everything.
13:09 sh4 joined #mojo
13:09 marcus It looks frickin' awesome tho :)
13:09 marcus Are you saying I shouldn't be forking forever in my lite app? ;-)
13:10 bpmedley Thanks.. :)
13:13 batman marcus: if you fork forever then it will only damage your self: your instance will not respond so you can't edit.
13:15 batman bpmedley: it would be really cool if we would use websockets (if the client supports it) to drop all the setTimeout() javascript code.
13:15 batman saving could potentially be done a lot faster.
13:15 batman but that's for later...
13:19 nicomen would be cool to "prefork" docker images too
13:19 nicomen nice work all involved
13:19 bpmedley nicomen: Prefork?
13:19 purl it has been said that Prefork is like having multiple people in a room, and having a phone ring
13:20 nicomen [fork bombs] normally people running code like that just time out, but I guess that would be against the purpose in this case
13:20 batman nicomen: i think creating docker images are so fast now that it's not required
13:20 nicomen bpmedley: pre-make an image for the next visitor
13:20 bpmedley nicomen: At present we can make a docker image in under 3 seconds
13:20 btyler joined #mojo
13:20 batman and i like the animation ;)
13:21 nicomen oh, ok, when I tried it, it felt like a little while (not too much, but enough to not be awesome)
13:21 bpmedley A few hours ago it was 15-30 seconds.
13:21 nicomen I see like a perfect tool for live demos in presentations
13:21 nicomen bpmedley: ah ok ;)
13:21 nicomen (I tried it several hours ago)
13:24 nicomen oh wow, it's superfast now
13:24 batman :)
13:26 nicomen bpmedley: doesn't ulimit allow you to protect most issues with fork bombs?
13:26 bpmedley Yes; however, the way docker is running morbo it has been difficult to get the ulimit applied.
13:27 btyler bpmedley: re forkbombs - this isn't a full solution, but you can limit the amount of memory a container can consume by passing "-m 50m" (or whatever) to "docker run". likewise you can do "-c 100" to set CPU shares. the CPU share isn't a hard limit: it works like 'nice'-ing a process, but better than nothing
13:27 btyler http://docs.docker.io/en/latest/reference/run/#runtime-constraints-on-cpu-and-memory
13:27 bpmedley btyler: Both are currently done.  I haven't found that sweet spot that limits everything.
13:28 btyler oh! I must have been looking at the wrong dockerfile in the repo :)
13:28 bpmedley docker_start.pl
13:28 batman bpmedley: is there a way to kill the image if it has too much load?
13:28 batman s/image/container/
13:28 bpmedley Sort of, one sec.
13:28 btyler sweet, sorry to repeat it at you then
13:29 bpmedley btyler: No, thank you for the interest.  Hopefully we'll get the issue taken care of.
13:30 sh4|2 joined #mojo
13:32 skullbocks joined #mojo
13:35 jberger_ joined #mojo
13:35 rawler1 joined #mojo
13:37 rawler2 joined #mojo
13:40 Stefan joined #mojo
13:50 Stefan joined #mojo
13:58 d4rkie joined #mojo
13:59 bpmedley The fork bomb nonsense should be better taken care of.  We have successfully served around 850 people a container.
14:08 jberger_ bpmedley++
14:08 jberger_ where are you hosting?
14:08 bpmedley digital ocean
14:09 jberger_ Cool
14:12 skullbocks joined #mojo
14:12 skullbocks joined #mojo
14:14 jberger_ tt?
14:14 purl i think tt is only a default in so far as that's what the tutorial shows you how to use or the least bad option
14:14 bpmedley jberger_: Sorry, it's what I knew.
14:14 Stefan joined #mojo
14:15 d4rkie joined #mojo
14:15 * jberger_ forgives bpmedley (for now) :-P
14:15 bpmedley :)
14:15 batman bpmedley: yeah. i want to drop the .tt. i can give you a hand if you will let me.
14:16 bpmedley Ok; I don't know ep very well.
14:16 batman it's perl with <% %> around :)
14:16 jberger_ The good thing about ep is that it's just perl
14:16 batman i can show you. but work is currently killing me :(
14:17 bpmedley It's fine.  I'll read your code when it's done.
14:17 * jberger_ too
14:17 batman :)
14:17 bowtie_ joined #mojo
14:25 Stefan joined #mojo
14:48 gryphon joined #mojo
14:51 mattastrophe joined #mojo
15:07 marty joined #mojo
15:16 kej joined #mojo
15:21 michael joined #mojo
15:40 Stefan joined #mojo
15:50 meshl joined #mojo
16:03 rem_lex|pivo joined #mojo
16:07 sawtooth joined #mojo
16:14 sawtooth joined #mojo
16:24 bpmedley http://liveperl.us <-- We got around ~1200 visitors and ~900 containers in approximately 1 day.. :)
16:28 basiliscos joined #mojo
16:33 dotan nicomen: I think you mailed the mojoconf mails to the google mailing list using Bcc instead of To, which confuses mail filters
16:43 BenGoldberg joined #mojo
16:51 kej joined #mojo
17:18 sujithm joined #mojo
17:20 jzawodn joined #mojo
17:21 jzawodn joined #mojo
17:37 ka2u joined #mojo
17:49 denis_boyun joined #mojo
17:52 kej joined #mojo
18:16 Stefan joined #mojo
18:21 arpadszasz joined #mojo
18:40 doby joined #mojo
19:29 denis_boyun_ joined #mojo
19:35 sri oh, tpf is a gsoc organization again
19:35 sri so put up some gsoc project ideas ;p
19:41 skullbocks joined #mojo
19:49 Stefan joined #mojo
19:54 sri wow, this year ruby has been rejected from gsoc :o
19:59 skullbocks joined #mojo
20:03 stephan48 hue?
20:03 purl rumour has it hue is a vietnamese place around canada water
20:26 lukep joined #mojo
20:29 sri http://wiki.enlightenedperl.org/gsoc2014/ideas
20:40 punter joined #mojo
20:41 punter I have a tiny Mojolicious website that keeps crashing because server goes out of RAM because of it (according to dmesg). Is there any perly tool you know that could help me profile the webserver's memory usage?
20:41 punter looks like a memory leak
20:42 punter "webapp's memory usage" is more likely what I want to track
20:43 maxhq1 joined #mojo
20:47 nicomen dotan: it was on purpose to not disclose some mail addresses. It did show up in the UI though. hm
20:47 mgrimes joined #mojo
20:51 nicomen punter: maybe this helps? https://metacpan.org/pod/Dash::Leak
20:51 punter nicomen: thanks, I will look at that
20:54 mgrimes Hi all. I'm upgrading a Mojolicious app from v3 to v4. Is there any upgrade guide?
21:13 mattastrophe joined #mojo
21:29 jberger_ mgrimes just the changes file I expect
21:33 mgrimes Thanks jberger. I've been using that but it doesn't go into much detail.
21:34 mgrimes It would be nice if things like secret() -> secrets([]) and render_partial() -> render(..,partial=>1) were documented somewhere.
21:38 jberger_ Many of the render methods were consolidated
21:39 cfedde joined #mojo
21:42 moritz q
21:43 moritz sorry, wrong terminal in focus
22:04 hummeleBop joined #mojo
22:14 mattastrophe joined #mojo
22:40 basiliscos joined #mojo
22:49 paladinn joined #mojo
22:57 kmx joined #mojo
22:59 Stefan joined #mojo
23:03 russum joined #mojo
23:21 dsteinbrunner joined #mojo
23:37 russum joined #mojo

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