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

IRC log for #mojo, 2014-08-23

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

All times shown according to UTC.

Time Nick Message
00:12 GabrielVieira joined #mojo
00:18 jberger sri: i would happily take a pr to my fork
00:18 jberger Otherwise in a few hours i can chat w you and do it
00:19 jberger I just got home from a long day at $work
00:19 jberger It's so humid here i might need another shower
00:29 woz joined #mojo
00:57 sri i don't run those benchmarks, so i have no clue what would actually work, just throwing around some ideas in case you want to try things
01:05 jberger I don't have any way to profile against their hardware
01:06 jberger I could configure several different combinations
01:13 woz joined #mojo
01:22 sujithm joined #mojo
01:37 Adurah joined #mojo
01:38 KCL joined #mojo
01:41 cpan_mojo joined #mojo
01:57 GabrielVieira joined #mojo
02:06 GabrielVieira joined #mojo
02:14 woz joined #mojo
02:22 klapperl joined #mojo
02:24 sujithm_ joined #mojo
02:42 noganex joined #mojo
02:45 sujithm joined #mojo
02:57 sujithm joined #mojo
03:01 disputin1 joined #mojo
03:15 woz joined #mojo
03:23 disputin joined #mojo
04:06 jberger sri: I just asked, the app is passed the concurrency level that wrk will use to test it
04:07 jberger well the app setup python method, by which I write the config json
04:16 woz joined #mojo
04:18 jberger so yeah, I will know the max_threads (-t on wrk) and max_concurrency (-c)
04:27 jberger sri: and I can get the number of cpus from multiprocessing.cpu_count() so I'm going to use that
04:27 jberger what formula do you suggest for concurrency tuning then?
04:28 jberger I am setting up workers = 2*cpu_count()
05:17 woz joined #mojo
05:36 basiliscos joined #mojo
05:59 basiliscos joined #mojo
06:18 woz joined #mojo
06:41 KCL_ joined #mojo
07:19 woz joined #mojo
07:24 basiliscos joined #mojo
07:58 Vandal joined #mojo
08:00 marcus Be sure to upvote PostgreSQL Workload Analyzer  on hackernews - It's a mojolicious project.
08:02 marcus Also I have to say it looks pretty damn good.
08:17 irq joined #mojo
08:20 woz joined #mojo
08:21 dp_ joined #mojo
08:29 batman marcus: https://news.ycombinator.com/item?id=8212072 ?
08:33 batman marcus: http://demo-powa.dalibo.com/statement/powa this demo page doesn't look good imo :(
08:44 sujithm joined #mojo
09:07 basiliscos joined #mojo
09:21 woz joined #mojo
09:34 woz joined #mojo
09:49 denis_boyun joined #mojo
10:02 basiliscos joined #mojo
10:10 punter joined #mojo
10:28 d4rkie joined #mojo
10:42 d4rkie joined #mojo
11:47 punter joined #mojo
11:47 sawtooth joined #mojo
12:04 basiliscos joined #mojo
12:32 irq joined #mojo
12:41 berov joined #mojo
13:07 basiliscos joined #mojo
13:13 jberger I see a use of partial
13:13 jberger I wonder if I should send a pr
13:15 punter joined #mojo
13:21 basiliscos joined #mojo
13:25 sujithm joined #mojo
13:39 punter joined #mojo
13:51 good_news_everyon joined #mojo
13:51 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/IlEKSg
13:51 good_news_everyon mojo/master b78471e Sebastian Riedel: stringify and perform boolean checks with Mojo::ByteStream twice as fast
13:51 good_news_everyon left #mojo
13:55 sawtooth joined #mojo
13:56 jberger sri: any leads on tuning formulae?
13:57 sri got nothing else
13:58 jberger hmmm, I know the numbers, but I have no idea how to use them
14:25 berov joined #mojo
14:35 cpan_mojo Mojolicious-Plugin-Qooxdoo 0.7 by Tobias Oetiker - http://metacpan.org/release/OETIKER/Mojolicious-Plugin-Qooxdoo-0.7
14:43 woz joined #mojo
15:03 woz joined #mojo
15:12 cpan_mojo Mojolicious-Plugin-Qooxdoo 0.8 by Tobias Oetiker - http://metacpan.org/release/OETIKER/Mojolicious-Plugin-Qooxdoo-0.8
15:22 marcus batman: I meant more: It looks like a very useful tool.
15:22 batman i agree :)
15:33 preaction_ joined #mojo
15:34 go|dfish joined #mojo
15:41 sri https://gist.github.com/anonymous/2ac7896cd82c10dd9d87 # a patch to increase Mojo::Date precision, not sure i like it... but pasting it here for future reference and in case someone cares about it
15:45 sri applying it would actually be bad for me :) since i've added a Mango::BSON::Time::to_datetime method that depends on the current behavior http://mojolicio.us/perldoc/Mango/BSON#bson_time
15:45 espen joined #mojo
15:48 jberger batman: the github embedding in convos seems much improved
15:48 jberger I don't know if that was updates in convos or in linkembedder
15:49 jberger but whichever way, I like it
15:51 batman it's convos
15:52 batman jberger: the linkembedder part allow high level of customization
15:52 jberger convos++ batman++
15:52 batman i still don't like it :(
15:52 jberger I'm glad I updated
15:52 jberger really?
15:52 batman it takes up too much space
15:52 jberger what don't you like
15:53 jberger I don't especially think so
15:53 batman it's ok-ish for one file, but it's awful for multifile gist and always awful on cellphone imo
15:53 jberger hmmmm, cell might be a different story
15:53 * jberger checks
15:53 batman https://github.com/Nordaaker/convos/blob/master/public/js/convos.chat.js#L3 <-- allow customization of embedded gist
15:54 jberger truth is I think I like it even more on the cell
15:54 jberger browsing away is harder on the cell, I like that I see the gist there and it is readably sized
15:55 batman hehe. thanks :)
15:55 jberger if you want, maybe some toggle button in the corner to hide it
15:55 jberger but otherwise, if I had a vote I would leave it as is
15:55 batman maybe. i hope some day i will suddenly understand how to do it proper :)
15:56 batman yeah, not doing any changes, unless "someone" comes up with an improved alternative...
15:56 batman (just hiding something by default is not very improved imho)
15:56 jberger no, don't hide by default
15:57 jberger but you could allow the thing to be hidden, if you don't care about it and would rather see more chat history
15:58 batman there's more reasons to hide on cellphone though: save bandwidht, faster load time, less jumpy
15:59 jberger default to hidden on the cell?
16:00 batman i want to answer "yes" to your question, but i don't actually get the question :/
16:01 jberger the full question would have been "should it maybe default to hidden on the cell?"
16:01 jberger again, though, I don't mind it as is
16:01 batman then the answer is "yes" or "maybe" :)
16:02 batman i don't want to toggle the decision on each version, so i'm leaving it as-is.
16:02 cpan_mojo Mango 1.07 by Sebastian Riedel - http://metacpan.org/release/SRI/Mango-1.07 (depends on Mojolicious)
16:03 batman still got this though: https://github.com/Nordaaker/convos/issues/34
16:05 jberger hmmmm, yeah nsfw would be a problem
16:05 jberger but I'll have to think about it later, gotta get ready for a thing this afternoon
16:09 batman that's fine :(
16:09 batman :)
16:09 batman s/:\(/:)/gggg
16:23 sujithm joined #mojo
16:25 cpan_mojo Mojo-Redis2 0.08 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mojo-Redis2-0.08
16:28 denis_boyun joined #mojo
16:30 basiliscos joined #mojo
16:34 sujithm joined #mojo
17:40 sri btw. KEEP LOOKING FOR PERFORMANCE OPTIMIZATIONS!!!1
17:40 * sri cracks the whip
18:07 marcus Whip it.
18:07 purl Whip it good!
18:11 rofl_ ship it
18:12 good_news_everyon joined #mojo
18:12 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/lwmQug
18:12 good_news_everyon mojo/master ea11ecb Sebastian Riedel: epoch attribute should have a real default value
18:12 good_news_everyon left #mojo
18:28 woz joined #mojo
18:38 lipizzan joined #mojo
18:41 KCL joined #mojo
18:43 denis_boyun joined #mojo
19:01 woz joined #mojo
19:10 disputin joined #mojo
19:19 good_news_everyon joined #mojo
19:19 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/_4xjQQ
19:19 good_news_everyon mojo/master 4ba2df0 Sebastian Riedel: improved Mojo::Date to be able to handle higher precision times
19:19 good_news_everyon left #mojo
19:20 sri i've looked through REST apis... and quite a few actually do use fractional seconds
19:22 sri i was a little worried about the epoch regex and as it turns out for very good reason
19:22 sri https://github.com/kraih/mojo/commit/4ba2df041961206e8f24041fa142a6bbbf4f1c5b#diff-13b15adfdbedecfc27586a15b4d29687R25
19:23 sri that one has almost no performance loss, while /^\d+(?:\.\d+)?$/ slows us down 50%
19:24 sri oh fun
19:24 sri https://travis-ci.org/kraih/mojo/jobs/33378152
19:24 sri it doesn't work on 5.10 :O
19:30 sri turns out Time::Local didn't do fractional seconds in that version
19:30 sri in 5.12 someone fucked up the version number... so we have to depend on the one from 5.14 and bump the dep free installation to require 5.14 :D
19:33 stephan48 sounds okey
19:34 good_news_everyon joined #mojo
19:34 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/v5bK0A
19:34 good_news_everyon mojo/master ea12f3e Sebastian Riedel: higher precision times require Time::Local 1.2000
19:34 good_news_everyon left #mojo
19:35 woz joined #mojo
19:39 sri i actually like making the installation a little more painful for anyone using something older than 5.14 :)
19:40 sri odds are with signatures we'll have to depend on 5.14 or 5.16
19:44 woz_ joined #mojo
19:53 Gedge joined #mojo
19:56 zivester joined #mojo
20:14 woz joined #mojo
20:26 good_news_everyon joined #mojo
20:26 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/Zb1uWQ
20:26 good_news_everyon mojo/master 51f9346 Sebastian Riedel: just append the Z
20:26 good_news_everyon left #mojo
20:46 woz joined #mojo
20:49 mgrimes Hi all. I'm just starting to play with Minion. Very cool!
20:50 mgrimes Is is possible to use one worker app to process the Minion queue and do some recurring maintenance via an IOLoop->recurring sub?
20:51 denis_boyun joined #mojo
21:12 punter joined #mojo
21:18 woz joined #mojo
21:19 woz_ joined #mojo
21:35 irq_ joined #mojo
21:41 preaction_ joined #mojo
21:49 Adura joined #mojo
21:50 woz joined #mojo
21:51 woz joined #mojo
22:01 good_news_everyon joined #mojo
22:01 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/D8tkLg
22:01 good_news_everyon mojo/master 2619394 Sebastian Riedel: use shorter version numbers
22:01 good_news_everyon left #mojo
22:05 Gedge joined #mojo
22:06 eddy85br joined #mojo
22:23 woz joined #mojo
22:23 good_news_everyon joined #mojo
22:23 good_news_everyon [mojo] kraih tagged v5.33 at 46b89d9: http://git.io/BFVj0A
22:23 good_news_everyon left #mojo
22:26 cpan_mojo Mojolicious 5.33 by Sebastian Riedel - http://metacpan.org/release/SRI/Mojolicious-5.33
22:26 woz_ joined #mojo
22:27 cpan_mojo Mango 1.08 by Sebastian Riedel - http://metacpan.org/release/SRI/Mango-1.08 (depends on Mojolicious)
22:58 woz joined #mojo
23:00 woz_ joined #mojo
23:08 preaction joined #mojo
23:12 btyler joined #mojo
23:31 woz joined #mojo
23:32 woz_ joined #mojo
23:49 fitnerd_ joined #mojo
23:51 Gedge joined #mojo

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