Log message #4179192

# At Username Text
# Mar 11th 2019, 14:32 martin hmm ok so then I always have to contain all parents of store with the prices
# Mar 11th 2019, 14:31 ricksaccous you'll have to handle the situation where the models aren't contained though
# Mar 11th 2019, 14:30 ricksaccous sounds like you'll have to contain multiple models and you can do the price logic in the entity if you want
# Mar 11th 2019, 14:28 slackebot parent. I believe there is no default relation for that so that I can simple contain the price to query?
# Mar 11th 2019, 14:28 martin Hello world! I’ve a question, I’ve a products database, and a database with prices per store. Stores are a tree. the group (or subgroup) of a store can have a price of a product, and we will have a price on group, or a direct on the store. Now I’ve have to find the closest price by a product for the store, So I have to search the tree up for the price, does store not have it, check if parent has it, does parent does not have a price chec
# Mar 11th 2019, 14:27 neon1024 :drooling_face:
# Mar 11th 2019, 14:27 neon1024 Stroopwaffel!
# Mar 11th 2019, 14:21 josbeir gmt+1 over here tho :P
# Mar 11th 2019, 14:20 ricksaccous top it up with mad syrup this morning in my honor
# Mar 11th 2019, 14:20 josbeir :cookie:
# Mar 11th 2019, 14:20 ricksaccous Hello! my waffle eating friend :relieved:
# Mar 11th 2019, 14:19 josbeir HELLO @ricksaccous ! :shrug:
# Mar 11th 2019, 14:17 ricksaccous shnappppppp
# Mar 11th 2019, 14:17 ricksaccous what's up homies i'm back up in the mixxxxxxxxxxx
# Mar 11th 2019, 14:16 ricksaccous :face_with_hand_over_mouth:
# Mar 11th 2019, 14:06 neon1024 :man-gesturing-ok:
# Mar 11th 2019, 13:29 josbeir :shrug:
# Mar 11th 2019, 13:29 alexdd55 :man-shrugging:
# Mar 11th 2019, 13:29 alexdd55 i guess he means something like weight 7 is closest to 5 out of [ 11, 7, 37456, 1]
# Mar 11th 2019, 13:28 josbeir sort the collection by weight and 'take' an item from it
# Mar 11th 2019, 13:27 josbeir what do you mean by closes weight
# Mar 11th 2019, 12:30 rudy1976s I need some help with collection: I have a collection containg some values, let's think about weights: I have a weight and to find the closest in the collection: is there something alreay available or need to create somethin
# Mar 11th 2019, 12:29 rudy1976s good afternoon to all!
# Mar 11th 2019, 11:58 inoas jose_zap back
# Mar 11th 2019, 11:58 alexdd55 and copy phpunit.xml.dist -> phpunit.xml
# Mar 11th 2019, 11:58 alexdd55 downgrading the phpunit version helped
# Mar 11th 2019, 11:58 neon1024 :thumbsup:
# Mar 11th 2019, 11:57 alexdd55 @neon1024 @challgren thanks for your help. no error message anymore
# Mar 11th 2019, 11:57 alexdd55 \o/
# Mar 11th 2019, 11:56 alexdd55 something happens
# Mar 11th 2019, 11:56 alexdd55 HA!
# Mar 11th 2019, 11:56 neon1024 Can we see this error message?
# Mar 11th 2019, 11:55 alexdd55 hm.. same error message
# Mar 11th 2019, 11:54 alexdd55 because its not a feature they can sell
# Mar 11th 2019, 11:54 alexdd55 always easy to deny this work
# Mar 11th 2019, 11:54 alexdd55 of course
# Mar 11th 2019, 11:54 neon1024 Hah, always the way. They want to do it much later when it’ll take three times as long and cost twice as much
# Mar 11th 2019, 11:53 alexdd55 a colleague is preaching this for years, even wrote a book about TDD… but management never wanted to do it… now they they agreed… and there we are
# Mar 11th 2019, 11:53 neon1024 .and say don’t be afraid to refactor to make testing easier
# Mar 11th 2019, 11:53 neon1024 All I can do is wish you luck!
# Mar 11th 2019, 11:52 neon1024 You’ll end up with complex tests, which are fragile