Log message #3940761

# At Username Text
# Sep 30th 2016, 13:47 ypnos is there an automatic way to initialize all counts?
# Sep 30th 2016, 13:47 ypnos like, I already have comments associated to articles, and now I add the counter cache and the column in the db
# Sep 30th 2016, 13:46 ypnos is there a way to build the counters for existing data?
# Sep 30th 2016, 13:46 ypnos talking about the counter cache
# Sep 30th 2016, 13:44 birdy247 My bedtime reading usually consists of looking at the API docs :grinning:
# Sep 30th 2016, 13:44 birdy247 I wish there were a way to inherit all these little tricks
# Sep 30th 2016, 13:43 birdy247 @admad neat :slightly_smiling_face:
# Sep 30th 2016, 13:11 birdy247 similar to cakebox, I probably use it in its most basic sense, but it works for me
# Sep 30th 2016, 13:11 birdy247 I am using the @dereuromark in prod
# Sep 30th 2016, 12:58 bravo-kernel awesome :slightly_smiling_face:
# Sep 30th 2016, 12:57 admad @bravo-kernel $entity->source() will give you table name as string
# Sep 30th 2016, 12:56 bravo-kernel any way I can derive/get the Table object from an Entity?
# Sep 30th 2016, 12:44 inoas okay
# Sep 30th 2016, 12:44 bravo-kernel google should know
# Sep 30th 2016, 12:43 inoas is it like beantalkd or rabbitmq?
# Sep 30th 2016, 12:43 bravo-kernel @inoas it's actually quite simple once you get gearmand installed on your server
# Sep 30th 2016, 12:42 inoas bravo kernel gearman looks good but also heavy
# Sep 30th 2016, 12:41 admad carrieOn: easiest way would be to use counter cache behavior to maintain count of fruits for each tree then querying is trivial, just select recors where fruit_count = 3
# Sep 30th 2016, 12:22 carrieOn lets say I have the table Trees, and a tree can have many Fruits. How can I retrieve only Trees that have 3 fruits?
# Sep 30th 2016, 12:21 carrieOn Is there anyway to use a query to filter by association count?
# Sep 30th 2016, 12:21 carrieOn hellow
# Sep 30th 2016, 12:07 dereuromark It has never been a serious tool, more to explain the concepts, but running with simple worker (shorter periods) does the job well so far afaik. If we can get it to properly transaction safe pull jobs, it is of course also a good thing.
# Sep 30th 2016, 12:02 bravo-kernel nobody using https://github.com/cvo-technologies/cakephp-gearman? I find it quite impressive and... for important sites ;)
# Sep 30th 2016, 11:50 spriz 25 min lifetime, and initiate a new one every 5 - sorry :slightly_smiling_face:
# Sep 30th 2016, 11:49 spriz 4/5
# Sep 30th 2016, 11:48 spriz weâ??ve been running with a 20 minute timeout, and start a new worker every 5 minutes., so 4 parallel workers.
# Sep 30th 2016, 11:48 dereuromark Or with one worker
# Sep 30th 2016, 11:48 dereuromark Yeah but only for non important sites
# Sep 30th 2016, 11:48 spriz in terms of timeout, and how often you start a new one
# Sep 30th 2016, 11:48 spriz and if so, do you have some setting youâ??ve been running you know works?
# Sep 30th 2016, 11:37 spriz anyone using the dereuromark/cakephp-queue in prod with more than 1 worker?
# Sep 30th 2016, 11:33 unorthodox http://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html#using-variables-in-translation-messages
# Sep 30th 2016, 11:33 k4t ow, looks good, thx
# Sep 30th 2016, 11:32 unorthodox `__('Test {0} another test {1}', 'em>','</em')`
# Sep 30th 2016, 11:32 k4t What do you mean?
# Sep 30th 2016, 11:32 unorthodox With special markers @k4t
# Sep 30th 2016, 11:24 k4t What is your solution for translating strings like: Klicken Sie a href="/">hier, um zur E-Paper Startseite zu gelangen</a? I can put whole string in __() function but HTML inside looks ugly in .POT file
# Sep 30th 2016, 10:54 adityapansari ?
# Sep 30th 2016, 10:54 adityapansari I have a method in component called shortUrl. any way to use this method in .ctp file
# Sep 30th 2016, 10:53 adityapansari is there any way to use user build component method in template - .ctp ?
# Sep 30th 2016, 10:28 bravo-kernel and for quite some time as well now I believe :cake: