# |
Mar 15th 2019, 01:38 |
kgb.acct.personal |
+1 for dual boot |
# |
Mar 15th 2019, 01:37 |
admad |
Then dual boot |
# |
Mar 15th 2019, 01:15 |
patox44 |
:) that's not the way how programmers should work. We need to resolve problems not dodge them. Some ideas where I don't have to buy 2 computers or change my operating system? |
# |
Mar 15th 2019, 01:14 |
kgb.acct.personal |
Have 2 different laptops. Windows for home. Linux at work. |
# |
Mar 15th 2019, 01:08 |
patox44 |
Linux as second system would not be a problem, but I will lose motivation to write code at home. I tried in the past change platform, but always when I tried to change system for ubuntu and once for debian I was mad, coz I hadn't drivers. I couldn't play computer games. I hadn't access to my windows disk drivers where I have photos for example. I can't get used to linux for home purposes |
# |
Mar 15th 2019, 00:58 |
NickBusey |
so install linux on your personal computer for everything else ;) |
# |
Mar 15th 2019, 00:53 |
patox44 |
I don't want install linux on my personal computer only for programming in PHP :) |
# |
Mar 15th 2019, 00:50 |
challgren |
IDK I avoid coding on windows at all costs |
# |
Mar 15th 2019, 00:50 |
patox44 |
I didn't had problems with it on mac os. So how can I use it for development? It's not usable. I wait 4 seconds for getting JWT :S |
# |
Mar 15th 2019, 00:48 |
challgren |
That the nature of xdebug |
# |
Mar 15th 2019, 00:38 |
patox44 |
I found what's wrong. It's because of windows :slightly_smiling_face:. I asked about it on support |
# |
Mar 15th 2019, 00:37 |
patox44 |
someone here develops in PHP on windows? I have a problem with xdebug. Apache works 100x slower with it than without it |
# |
Mar 14th 2019, 22:26 |
dereuromark |
hah, now the templates and their callback order are more readable: https://github.com/dereuromark/executionorder/blob/master/RESULTS.md#basic-action--component--helper--cell |
# |
Mar 14th 2019, 21:22 |
NickBusey |
that's the ticket |
# |
Mar 14th 2019, 21:20 |
dereuromark |
or busy not working :P |
# |
Mar 14th 2019, 20:36 |
ricksaccous |
true |
# |
Mar 14th 2019, 20:25 |
savant |
people are busy working :slightly_smiling_face: |
# |
Mar 14th 2019, 20:11 |
gabber2 |
so quiet in here |
# |
Mar 14th 2019, 16:41 |
NickBusey |
thanks! |
# |
Mar 14th 2019, 16:36 |
jeremyharris |
awesome, congrats! |
# |
Mar 14th 2019, 16:36 |
NickBusey |
Nice, I just dropped off my first competition beer this week for the NHC |
# |
Mar 14th 2019, 16:35 |
ricksaccous |
lol |
# |
Mar 14th 2019, 16:35 |
jeremyharris |
I haven’t brewed in a while since my extra fridge died, but I’m planning on starting up again this spring/summer |
# |
Mar 14th 2019, 16:34 |
NickBusey |
No worries, let me know if you try the code out. Got the Tap List display working yesterday. You homebrew? You should stop into #homebrew on freenode |
# |
Mar 14th 2019, 16:33 |
jeremyharris |
awesome, thanks! |
# |
Mar 14th 2019, 16:29 |
NickBusey |
On twitch yea, same username. App code is here: https://gitlab.com/NickBusey/mashio |
# |
Mar 14th 2019, 16:16 |
jeremyharris |
also if the app is somewhere let me know, I’ll be looking for something new now that brewtoad closed |
# |
Mar 14th 2019, 16:13 |
jeremyharris |
on twitch nick? if so yeah, I may drop in :slightly_smiling_face: |
# |
Mar 14th 2019, 16:06 |
NickBusey |
I've started streaming my work integrating a cake backend with a react front end for my open source brewing app 3 times a week if anyone is curious |
# |
Mar 14th 2019, 15:51 |
this.impetus |
@jeremyharris hrmm, yep I'll try that |
# |
Mar 14th 2019, 15:50 |
jeremyharris |
@this.impetus perhaps you can add it to your inflector so it inflects as you expect: https://book.cakephp.org/3.0/en/core-libraries/inflector.html#inflection-configuration |
# |
Mar 14th 2019, 15:47 |
this.impetus |
I have a model, 'Supervisedtheses'. Cake cannot seem to inflect this properly—the automatically baked views are throw errors. I'm happy to change the model name, but, throughout the project, I still need "Supervised Theses" to appear when printing the model name. In older versions of cake I know you could create a model alias to achieve this. Playing with the 'alias' property of the table just seemed to break everything. |
# |
Mar 14th 2019, 15:41 |
marek.sebera |
:rolling_on_the_floor_laughing: |
# |
Mar 14th 2019, 15:40 |
dereuromark |
it's actually the same, it was an accidental include with some dependency. |
# |
Mar 14th 2019, 15:39 |
marek.sebera |
geez, wanted to greet the one who made the nice clicky black-green dump() in cakephp, and it's just wrapped Symfony VarDumper :zipper_mouth_face: |
# |
Mar 14th 2019, 15:27 |
ricksaccous |
just ask ;) |
# |
Mar 14th 2019, 15:25 |
this.impetus |
@admad tyvm, will do; got time for one more quick one? |
# |
Mar 14th 2019, 15:22 |
admad |
@this.impetus check the methods of relevant bake task |
# |
Mar 14th 2019, 14:21 |
this.impetus |
hopefully this is a quick question... making custom bake templates for the first time. Copied and am editing twig files in a custom plugin, works great. Wondering where I can see a list of the vars passed to the template. See things like `groupedFields[]` etc.. whence these? |
# |
Mar 14th 2019, 12:27 |
slackebot |
$serverSoftwareVersionQuery is defined earlier return $serverSoftwareVersionQuery ->select(['server_id', 'software_name', 'version', 'state_date']) ->where(['state_date' => $subQuery]) ->order(['state_date' => 'DESC']); ``` |
# |
Mar 14th 2019, 12:27 |
tunafish |
@ricksaccous Thanks, I did check that out, but wasn't sure how to add the aliases. In the end I got it working like this: ```php $subQuery = $this->Servers->getConnection()->newQuery(); $subQuery->select("MAX(aliasedTable.state_date)") >from('server_software_versions aliasedTable') ->where('ServerSoftwareVersions.software_name = aliasedTable.software_name AND ServerSoftwareVersions.server_id = aliasedTable.server_id'); // |