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

IRC log for #mojo, 2017-11-13

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

All times shown according to UTC.

Time Nick Message
01:08 kiwiroy joined #mojo
01:24 aborazmeh joined #mojo
01:25 kiwiroy joined #mojo
01:54 kiwiroy joined #mojo
02:13 kiwiroy joined #mojo
02:28 kiwiroy joined #mojo
02:48 kiwiroy joined #mojo
02:54 ilbot2 joined #mojo
02:54 Topic for #mojo is now 🍩 nom nom | http://mojolicious.org | http://irclog.mojolicious.org | http://code-of-conduct.mojolicious.org
03:10 kiwiroy joined #mojo
03:15 noganex joined #mojo
03:29 kiwiroy joined #mojo
04:00 kiwiroy joined #mojo
04:47 jamesaxl joined #mojo
04:51 cfedde__ joined #mojo
05:00 jamesaxl joined #mojo
05:04 dboehmer_ joined #mojo
06:18 dod joined #mojo
06:22 dod joined #mojo
06:24 dod joined #mojo
06:43 geospeck joined #mojo
06:44 geospeck joined #mojo
06:50 inokenty-w joined #mojo
06:59 ashimema joined #mojo
07:02 Vandal joined #mojo
07:12 geospeck joined #mojo
08:04 geospeck joined #mojo
08:04 dod joined #mojo
08:04 geospeck joined #mojo
08:05 geospeck joined #mojo
08:06 geospeck joined #mojo
08:07 geospeck joined #mojo
08:16 hrupp joined #mojo
08:17 hrupp Hi
08:18 hrupp marcus: https://github.com/marcusramberg/AnsibleModule/pulls
08:25 trone joined #mojo
08:36 dugword joined #mojo
09:16 karjala_ joined #mojo
09:51 kiwiroy joined #mojo
10:11 geospeck joined #mojo
10:36 geospeck joined #mojo
10:38 kiwiroy sri: I'm not sure I can answer what is common.
10:39 kes joined #mojo
10:42 pink_mist what's the topic of conversation here?
10:43 kiwiroy http://miburl.com/3USH1B
10:44 pink_mist that link leads to the mibbit url shortener here 0_o
10:46 kiwiroy so do all of them apparently.https://github.com/kraih/mojo/pull/1154
10:53 tchaves joined #mojo
10:58 irqq joined #mojo
11:05 sri kiwiroy: common use cases is the most important criteria we use when adding new features
11:06 kiwiroy sri: sure, I'm aware of that, I'm just not sure I've got an intersecting set.
11:07 sri kiwiroy: perhaps your method should be a role then
11:08 Dandre joined #mojo
11:08 kiwiroy sri: that's what I'm thinking too, but gotta try to get it in core right.
11:25 CandyAngel So, strawberryperl ships with Mojolicious.. very complainy if you install a newer version :P
11:25 CandyAngel (about things being redefined in UserAgent)
11:29 sri that's unfortunate :/
11:29 CandyAngel Nevermind, silly Windows and it's case-insensitivity
11:30 CandyAngel And by that, I mean I put "use Mojo::Useragent" :P
11:33 dugword joined #mojo
11:45 geospeck joined #mojo
12:24 CandyAngel Yay!
12:24 CandyAngel My persistent cookie role is in its first bit of code :)
12:28 CandyAngel Though CookieJar doesn't emit when it has collected cookies, so the ->save is manual
12:34 CandyAngel Aha, using 'after' with collect/empty works :D
12:57 dod joined #mojo
13:29 pirateFinn joined #mojo
13:30 Mattarello joined #mojo
13:30 Mattarello joined #mojo
13:41 gizmomathboy joined #mojo
13:41 dod joined #mojo
14:28 bwf joined #mojo
14:45 gryphon joined #mojo
15:20 ChmEarl joined #mojo
15:47 Pyritic joined #mojo
16:06 Pyritic joined #mojo
16:27 geospeck joined #mojo
16:31 bjakubski joined #mojo
16:33 good_news_everyon joined #mojo
16:33 good_news_everyon [mojo] kraih pushed 2 new commits to master: https://git.io/vFoXF
16:33 good_news_everyon mojo/master 675300c Tamas TEVESZ: Fix doc typo on Mojo::IOLoop::Delay
16:33 good_news_everyon mojo/master 854d1e5 Sebastian Riedel: Merge pull request #1155 from melak/ioloop_delay_doc_fix...
16:33 good_news_everyon left #mojo
16:39 good_news_everyon joined #mojo
16:39 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/vFo1B
16:39 good_news_everyon mojo/master 8e353ae Sebastian Riedel: highlight use statements too
16:39 good_news_everyon left #mojo
17:06 dod joined #mojo
17:36 Grinnz I'm thinking of making a Mojo::Collection::Role::UtilsBy
17:37 Grinnz i could see several of the methods being useful, but don't know about useful enough for core
17:40 AirDisa joined #mojo
17:40 karjala_ joined #mojo
17:50 good_news_everyon joined #mojo
17:50 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/vFo5K
17:50 good_news_everyon mojo/master 56fdbf9 Sebastian Riedel: use a more modern syntax highlighting theme
17:50 good_news_everyon left #mojo
17:55 Seth joined #mojo
18:00 disputin joined #mojo
18:06 AirDisa_ joined #mojo
18:23 geospeck joined #mojo
18:33 eseyman joined #mojo
18:37 sri hmm, i can think of two history formats i'd like for minion that we can do without changing the data model
18:38 sri a) number of jobs added by day and hour b) number of jobs per task
18:39 sri both for the current content of the queue (two days by default)
18:49 sri i wonder what kind of history data others are interested in
18:57 gordonfish joined #mojo
18:57 eseyman joined #mojo
18:57 AirDisa_ joined #mojo
18:57 disputin joined #mojo
18:57 Seth joined #mojo
18:57 bjakubski joined #mojo
18:57 Pyritic joined #mojo
18:57 ChmEarl joined #mojo
18:57 bwf joined #mojo
18:57 gizmomathboy joined #mojo
18:57 pirateFinn joined #mojo
18:57 Dandre joined #mojo
18:57 dboehmer_ joined #mojo
18:57 cfedde__ joined #mojo
18:57 noganex joined #mojo
18:57 mohawk joined #mojo
18:57 jabberwok joined #mojo
18:57 [0xAF] joined #mojo
18:57 anon joined #mojo
18:57 Sebbe joined #mojo
18:57 Kundun joined #mojo
18:57 mtj joined #mojo
18:57 kaare joined #mojo
18:57 PsimanX1 joined #mojo
18:57 sjn joined #mojo
18:57 purl joined #mojo
18:57 maschine joined #mojo
18:57 jacoby joined #mojo
18:57 geheimnis` joined #mojo
18:57 foursixnine joined #mojo
18:57 diegok joined #mojo
18:57 Armen joined #mojo
18:57 bpmedley joined #mojo
18:57 Peppard joined #mojo
18:57 nic joined #mojo
18:57 stryx` joined #mojo
18:57 hkclark joined #mojo
18:57 CHYC joined #mojo
18:57 TBSliver joined #mojo
18:57 cfedde_ joined #mojo
18:57 cfedde joined #mojo
18:57 coolo joined #mojo
18:57 bobkare joined #mojo
18:57 Bender joined #mojo
18:57 suede joined #mojo
18:57 dustinm joined #mojo
18:57 tinita joined #mojo
18:57 pink_mist joined #mojo
18:57 crab joined #mojo
18:57 Andreas3 joined #mojo
18:57 stephanj joined #mojo
18:57 tardisx_ joined #mojo
18:57 graf joined #mojo
18:57 VVelox_ joined #mojo
18:57 bc547_ joined #mojo
18:57 mmp joined #mojo
18:57 tyldis joined #mojo
18:57 salva joined #mojo
18:57 oalders joined #mojo
18:57 xdg joined #mojo
18:57 cpan_mojo joined #mojo
18:57 jberger joined #mojo
18:57 robx joined #mojo
18:57 cosimo joined #mojo
18:57 Lee joined #mojo
18:57 iamb joined #mojo
18:57 mdom joined #mojo
18:57 stokachu joined #mojo
18:57 cng joined #mojo
18:57 [vlad] joined #mojo
18:57 erry joined #mojo
18:57 simcop2387 joined #mojo
18:57 batman joined #mojo
18:57 meredith joined #mojo
18:57 plicease joined #mojo
18:57 anparker joined #mojo
18:57 phillipadsmith joined #mojo
18:57 sri joined #mojo
18:57 Ralesk joined #mojo
18:57 odc joined #mojo
18:57 karjala joined #mojo
18:57 klapperl joined #mojo
18:57 Zx3 joined #mojo
18:57 S joined #mojo
18:57 elik joined #mojo
18:57 go|dfish joined #mojo
18:57 tempire joined #mojo
18:57 caeles_ joined #mojo
18:57 jantore_ joined #mojo
18:57 stein joined #mojo
18:57 spicyjack joined #mojo
18:57 alilles joined #mojo
18:57 kamyl_ joined #mojo
18:57 Phil21 joined #mojo
18:57 firnsy joined #mojo
18:57 matt joined #mojo
18:57 kivilahtio_ joined #mojo
18:57 tianon joined #mojo
18:57 hernan604 joined #mojo
18:57 skaji joined #mojo
18:57 mrallen1 joined #mojo
18:57 gabiruh joined #mojo
18:57 abracadaniel joined #mojo
18:57 arcanez joined #mojo
18:57 lari_ joined #mojo
18:57 ribasushi joined #mojo
18:57 mantovani joined #mojo
18:57 preaction joined #mojo
18:57 robinsmidsrod joined #mojo
18:57 CandyAngel joined #mojo
18:57 ccakes joined #mojo
18:57 Xyem joined #mojo
18:57 vinnix joined #mojo
18:57 jnap joined #mojo
18:57 cromedome joined #mojo
18:57 charsbar joined #mojo
18:57 Gedge joined #mojo
18:57 mikegrb joined #mojo
18:57 mrEriksson joined #mojo
18:57 stefan_ joined #mojo
18:57 dabudabu joined #mojo
18:57 htaunay joined #mojo
18:57 Eke joined #mojo
18:57 mbudde joined #mojo
18:57 marcus joined #mojo
18:57 Grinnz joined #mojo
18:57 da5id joined #mojo
18:57 omega joined #mojo
18:57 chansen joined #mojo
18:57 BinGOs joined #mojo
18:57 garu joined #mojo
19:01 geospeck joined #mojo
19:08 preaction jobs completed / failed, perhaps?
19:10 preaction https://www.dropbox.com/s/enlw8g2bn1e6uk9/Screen%20Shot%202017-11-13%20at%201.09.15%20PM.png?dl=0 <- this is what my minion dashboard looks like in grafana. the pending jobs chart is the most useful to me, i use that to monitor problems, but job add/finish i use to figure out if data is flowing
19:13 nicomen preaction: oooh
19:24 sri preaction: completed/failed for what timeframe and granularity?
19:25 preaction i'd say the same as jobs added: by day, by hour, for two days (per hour) and maybe 2 weeks (by day)?
19:26 sri so big changes in the data model
19:26 sri what i was thinking of could be generated from the data that's not deleted yet
19:27 preaction isn't two weeks the default cleanup for jobs?
19:27 sri no, two days
19:28 preaction oh, then i'd go with what's there by default, and people can change that cleanup timeout if they want increased data
19:29 preaction or for long-term storage they can do something like what i'm doing: reduce the data to a metric and store it in a time series database
19:32 sri guess i'll consider history graphs out of scope for hackweek for now
19:32 sri too many open questions
19:39 sri the dashboard currently btw. https://i.imgur.com/zmPs4qH.png
19:41 preaction looks nice to me
19:54 trone joined #mojo
19:56 sri i suppose it's a reasonable start
19:57 stephanj gj
19:57 * sri should focus more on job introspection now
20:03 AirDisa joined #mojo
20:04 Grinnz https://github.com/Grinnz/Mojo-Collection-Role-UtilsBy
20:04 Pyritic joined #mojo
20:04 pink_mist Grinnz++
20:04 Grinnz any suggestions?
20:04 sri Grinnz++
20:05 stephanj Grinnz++ # was suggested - but seriously good job!
20:08 bwf joined #mojo
20:09 pink_mist Grinnz: perhaps partition_by ... it's one of the more useful ones from ::UtilsBy to me, but not sure how useful it is on a Mojo::Collection
20:19 kiwiroy joined #mojo
20:19 Grinnz pink_mist: the problem with partition_by, count_by, zip_by, and unzip_by is they either don't operate on a single array or they don't return a single array/item, so the API would be unclear
20:20 Grinnz but I agree they would be useful
20:21 Grinnz maybe i can just have partition_by return a key => collection list, and count_by a key => count
20:22 CandyAngel I would like partition_by
20:25 Grinnz some of the functions in List::Util also might be useful, but that can be the job of another role
20:25 Grinnz (and most of them are already in Mojo::Collection)
20:38 AirDisa joined #mojo
20:40 Pyritic joined #mojo
20:43 kiwiroy Grinnz++, but the API isn't quite the same (not as Mojo-y) and $_ doesn't get set
20:44 Grinnz where doesn't it get set?
20:44 Grinnz the tests use $_ quite a bit
20:46 mlm joined #mojo
20:46 kiwiroy I was only look at bundle_by, so might be wrong.
20:52 kiwiroy Could add something like https://git.io/vFKsg, but I see List::UtilsBy also does "local $_ = ..." for some.
21:02 Grinnz it does it for all of them, except bundle_by because it doesn't make sense there
21:03 Grinnz also that's not correct, $_ is set to each element as the function iterates
21:03 kiwiroy yeah I see and that patch is BS.
21:03 Grinnz i just reorganized the code a bit anyway.
21:08 mtths joined #mojo
21:08 Grinnz opinions: should count_by and partition_by return a key-value list like the List::UtilsBy functions, or a hashref to be more consistent with other returns?
21:08 Grinnz the downside of the hashref is you lose ordering of keys, but I don't know if that matters
21:09 Grinnz it would let you use the result inline more easily, perhaps
21:09 kiwiroy Grinnz: key-value list please. those that care for hashref can { @result } and lose order.
21:10 pink_mist I don't have a preference one way or the other
21:28 Grinnz kiwiroy: actually partition_by and count_by return unordered keys to begin with, so maybe that's not an issue
21:31 Grinnz i think i will have it return hashrefs in that case
21:32 pink_mist there's no hashy Mojo::Collection? perhaps another role? :P
21:32 Grinnz heh
21:46 disputin joined #mojo
21:56 * Grinnz ponders if collection-of-collection zip_by and unzip_by would be worthwhile
22:04 karjala_ joined #mojo
22:06 rickbol_ joined #mojo
22:09 Grinnz simple enough, might as well
22:27 kiwiroy joined #mojo
22:46 kiwiroy joined #mojo
22:55 kiwiroy joined #mojo
23:57 kiwiroy joined #mojo

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