Log message #4114315

# At Username Text
# Feb 5th 2018, 01:32 smell ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL HALFTIME SHOW ON SUPERNETS!! tjdkg: kitcat711 ScottO_1 abed ▄▄▄▄▄▄▄▄▄▄▄▄
# Feb 5th 2018, 00:05 spencdev @bird87_za I would think it depends on *what* they were building. If it were just websites, no. If they are building applications, and using CakePHP as a framework for applications, I would say yes.
# Feb 5th 2018, 00:03 spencdev Well okay then
# Feb 4th 2018, 23:44 SUPERNETS shinnya theWhisper_ dariolap {DV8} Scott0_ hmic ferdna HumanG33k kitcat711 mikesmoniker burzum Alina-malina sab orangey HeN juvenal_ candybar mglinski Werring abed ypnos ScottO_1 WyriHaximus nplus JelmerD tapout floreo [Batch] TheRec r0kc4t Astraeus storkovo|away xvifr pips veve marlinc NeoThermic Megan dakotairene bigbluehat petris jhill_ nate jschwartz jantede AlexMax styks1987 barlas m
# Feb 4th 2018, 23:44 SUPERNETS WE TAKE CHATS TO A NEW LEVEL, SOMETHING YOU'VE NEVER SEEN BEFORE
# Feb 4th 2018, 23:44 SUPERNETS                                                              
# Feb 4th 2018, 23:44 SUPERNETS                                                               
# Feb 4th 2018, 23:44 SUPERNETS YOUR IRC NETWORK IS TERRIBLE NO ONE CHATS THERE COME CHAT HERE 
# Feb 4th 2018, 23:44 SUPERNETS                                                             
# Feb 4th 2018, 23:44 SUPERNETS                                                               
# Feb 4th 2018, 23:44 SUPERNETS IRC.SUPERNETS.ORG #SUPERBOWL BEST IRC NETWORK FUCK YOUR NETWORK
# Feb 4th 2018, 22:55 waspinator I can't seem to get translated strings to show up. I have a `src/Locale/fr_FR/default.po` file with the `msgid` and translated `msgstr` and I call `I18n::setLocale('fr_FR');`. Right next to the element I call `debug(I18n::getLocale());` and I get `fr_FR`, but the message is still in English. I ran `bin/cake cache clear_all` but it still shows up in English. What's the best way to debug?
# Feb 4th 2018, 19:27 itamer this is in findAuth
# Feb 4th 2018, 19:27 itamer @turkles no results are duplicated. I can repeate the results if I remove the second join statement from the query - yet when I see the sql statement the second join is clearly in there. Is there any way I can see the actual query that gets run?
# Feb 4th 2018, 18:06 bedo2991 And with the same technique I have realized " <= NOW()", without fighting with any php datetime function.
# Feb 4th 2018, 18:06 bedo2991 They both work :slightly_smiling_face:
# Feb 4th 2018, 18:05 hmic ['field IS' => null] actually
# Feb 4th 2018, 17:58 chris-andre ‘MyControlle.dateTimeAttribute IS NULL’
# Feb 4th 2018, 17:53 bedo2991 I am currently using: $this->MyController->find('all', [ 'conditions'=>['MyController.dateTimeAttribute'=> null]]);
# Feb 4th 2018, 17:52 bedo2991 Hi, how do I make cakephp3 generate "IS null" instead of "= null"?
# Feb 4th 2018, 16:26 birdy247 or si there a better buzz word for this type of "software"
# Feb 4th 2018, 16:25 birdy247 would you describe them as developing software?
# Feb 4th 2018, 16:25 birdy247 If a company specialises in building cake php projects
# Feb 4th 2018, 16:25 birdy247 off topic question
# Feb 4th 2018, 15:31 kitcat711 trying to create a search form: when the user types several keywords, how do I create my query to get the results matching all the words (in a post title)?
# Feb 4th 2018, 11:12 kitcat711 when matchning, the relation is based on the belongsToMany => I dont retrieve the authors
# Feb 4th 2018, 11:11 kitcat711 Users hasMany ForumPosts (as an Author) and Users belongsToMany ForumPosts (as subscribers)
# Feb 4th 2018, 11:10 kitcat711 help with matching not workinas expected
# Feb 4th 2018, 10:35 turkles Are the results duplicated in any way? Not much to go on there..
# Feb 4th 2018, 07:26 itamer I have two tables in the join array, both get displayed in the sql but it's as if the second join and the order() get stripped off the query.
# Feb 4th 2018, 07:22 itamer I've got a findAuth function so that the login function applies the correct rules. Within that function I have some debugging. If I run the query sql I get 3 results, if I look in the results of toArray() I have about 20 results. Any ideas what might be happening or how to debug? ob_start(); debug($query); debug($query->toArray()); $str = ob_get_contents(); ob_end_clean();
# Feb 4th 2018, 03:56 turkles a class outside of cakephp?
# Feb 4th 2018, 03:52 admad I would suggest moving the fetch and processing logic in separate class.
# Feb 4th 2018, 03:50 turkles at the moment I have a behaviour that handles the data grab in a generic fashion which I can then use in various models. I am struggling more with where I put the logic side, ie. initiate a fetch, process, and save, so that I can use in both a controller and a shell
# Feb 4th 2018, 03:45 admad Checkout muffin/webservice plugin if you want to implement ORM type access to the webservice
# Feb 4th 2018, 03:45 admad @turkles you can ake your own classes under a custom App\Webservice namespace.
# Feb 4th 2018, 02:49 turkles Hi all, where would I keep code which fetches external API data, processes and stores the response in my database? I want to perform this from either a shell or a controller - as in some cases it will be cron driven, and in others a user on my website may request it?
# Feb 4th 2018, 01:55 itamer Either way, the sql that gets shown when I debug isn't the sql that's getting run
# Feb 4th 2018, 01:54 itamer I find contain works well for belongsTo but not hasMany
# Feb 4th 2018, 01:50 ricksaccous table class*
# Feb 4th 2018, 01:50 ricksaccous and then use contain