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

IRC log for #mojo, 2017-04-01

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

All times shown according to UTC.

Time Nick Message
00:17 kiwiroy joined #mojo
00:59 stryx` joined #mojo
01:34 tchaves joined #mojo
02:35 noganex_ joined #mojo
04:04 dboehmer joined #mojo
05:21 disputin joined #mojo
06:12 kiwiroy joined #mojo
06:16 dod joined #mojo
06:18 dod joined #mojo
07:22 ashimema joined #mojo
07:45 coolo can I run a specific minion job in foreground?
07:47 jabberwok joined #mojo
08:13 rshadow joined #mojo
08:13 kiwiroy joined #mojo
09:13 kiwiroy joined #mojo
10:35 dod joined #mojo
10:45 dod joined #mojo
11:02 Vandal joined #mojo
11:54 sri coolo: don't think so, interesting idea though
13:08 tchaves joined #mojo
13:14 dod joined #mojo
13:46 asarch joined #mojo
13:50 * sri is very very disappointed with MA Andromeda now
13:51 sri so much potential, but executed so poorly, total EA cash grab
14:37 itaipu joined #mojo
14:54 irqq joined #mojo
15:03 marcus Sad!
15:04 ribasushi Total disaster!
15:09 marcus Some people told me EA is very very cash grabby. I don't know, but that's what they tell me.
16:07 mishanti1 sri: What are the main issues with it?
16:08 sh14 joined #mojo
16:30 dod joined #mojo
16:35 PryMar56 joined #mojo
16:37 eseyman joined #mojo
16:45 cpan_mojo Mojolicious-Plugin-Log-Access-0.031 by NICZERO https://metacpan.org/release/NICZERO/Mojolicious-Plugin-Log-Access-0.031
16:57 cpan_mojo Mojolicious-Plugin-Number-Commify-0.041 by NICZERO https://metacpan.org/release/NICZERO/Mojolicious-Plugin-Number-Commify-0.041
17:24 asarch joined #mojo
17:30 irqq joined #mojo
17:44 irqq joined #mojo
17:56 kamyl joined #mojo
17:57 augensalat joined #mojo
17:57 asarch joined #mojo
18:03 simbabque joined #mojo
18:03 bobkare joined #mojo
18:04 stephan48 joined #mojo
18:12 stryx` joined #mojo
18:19 sri mishanti1: the dunkey review covers it pretty well https://www.youtube.com/watch?v=QDjci1ODoBs
18:22 irqq_ joined #mojo
18:27 asarch joined #mojo
18:27 sri just play horizon zero dawn instead
18:31 irqq_ joined #mojo
19:13 kiwiroy joined #mojo
19:40 mishanti1 sri: Ouch. Didn't know it was that bad. Sad really. Back in the day when I gamed I very much enjoyed ME.
19:48 pink_mist original trilogy of ME was great, this new one, not so much from what I hear
19:52 Grinnz it's definitely a regression, but so far I still enjoy it as long as I "look past" the odd interactions
19:53 Grinnz I can pretty clearly remember mass effect 1 had even stranger things, but then it more because the animations weren't great, now it's because the animations are trying to do too much and ending up super weird sometimes
19:53 pink_mist (you mean the same way the character's eyes can't seem to focus on very much at all? :P)
19:54 Grinnz yeah. in mass effect 1 they would focus too much, on nonsensical directions
19:54 Grinnz just as jarring, but now they look more realistic, so it's weirder
19:58 irqq joined #mojo
20:14 kiwiroy joined #mojo
20:16 sri i've finished the main story... and am disappointed
20:16 sri very lazy writing
20:17 sri in the beginning i was ignoring all the bugs hoping they put all the effort into the story... but it couldn't be more generic and flat
20:19 cpan_mojo Mojolicious-Command-replget-0.01 by SADAMS https://metacpan.org/release/SADAMS/Mojolicious-Command-replget-0.01
20:33 sri hmm
20:33 sri re https://github.com/kraih/minion/issues/24
20:33 sri think i might have made a decision about how to do it
20:33 sri the simplest solution
20:33 purl it has been said that the simplest solution is to use a Unix text editor :)
20:34 sri a separate process
20:34 sri similar to celery beat
20:34 sri script/myapp minion scheduler
20:35 sri and you have a crontab like structure in the app
20:35 pink_mist sounds like the sanest way
20:40 sri app->minion->schedule('*/5 * * * *', 'some_task', \@args, \%options);
20:41 sri a companion for the worker command you use when you need
20:42 sri of course one might ask why not just use cron at that point
20:56 sri yea, i guess making cron just work for us should be the priority
20:56 sri which brings back the unique jobs topic
21:02 sri https://github.com/kraih/minion/issues/24#issuecomment-290947017
21:04 jabberwok left #mojo
21:09 tchaves joined #mojo
21:09 sri so, the old style unique jobs are actually not so great with job dependencies
21:11 sri that said, my expiring locks solution was also not much fun to use
21:13 sri i guess we could provide an api for locks though, safe locks are pretty easy with postgres
21:13 kiwiroy joined #mojo
21:14 sri return unless $job->try_to_lock('some_unique_key', '10 minutes');
21:14 sri $job->release_lock('some_unique_key');
21:16 sri which would basically result in the idiom "return $job->finish('Another job already in progress for some_unique_key') unless $job->try_to_lock('some_unique_key', '10 minutes');"
21:16 sri to make a task unique for 10 minutes
21:19 marcus https://kubernetes.io/docs/user-guide/cron-jobs/ guess that would work well with that too.
21:24 sri basically this https://github.com/kraih/minion/issues/24#issuecomment-290948121
21:24 lincrosenbach joined #mojo
21:25 sri marcus: sure
21:29 sri safely shared locks between minion jobs is kind of a neat feature
21:30 sri you could also make jobs wait for access to a shared resource
21:31 sri sleep 1 until $job->try_to_lock('foo', '5 minutes');
21:31 asarch .wife {right : 100%; margin: 0%;}
21:31 marcus asarch: been wrong again, eh?
21:32 cng I think that css has been moved to default browser style sheets
21:32 asarch Soo much CSS3 for now ;-P
21:49 kiwiroy joined #mojo
21:52 [vlad] joined #mojo
21:54 sri btw. the expiring locks solution is what all job queues i could find also use
21:54 sri like sidekiq and resque
21:55 sri https://github.com/mperham/sidekiq/wiki/Ent-Unique-Jobs#use
23:05 sri hmm, i wonder if that can actually be done is a single query without a stored procedure
23:05 sri with upsert
23:08 sri jberger: thoughts? :)
23:22 stryx` joined #mojo
23:29 noganex joined #mojo
23:30 perlpilot joined #mojo
23:34 jnbek joined #mojo
23:34 sivoais joined #mojo
23:44 disputin joined #mojo
23:45 irqq_ joined #mojo
23:50 kiwiroy joined #mojo

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