Logs for #cakephp

Page 6 of 36,061, showing 100 records out of 3,606,097 total, starting on record 501, ending on 600

# At Username Text
# Mar 15th, 10:51 half2me I want to make a hasOne association on Articles, which always returns the last comment posted for that article
# Mar 15th, 10:51 half2me Suppose you have Authors, Articles, Comments (comments have a posted date)
# Mar 15th, 10:50 half2me @berarma back to my previous question, I'll explain the scenario I have, which could be a pretty common use case, but I'm unsure of the best way to implement it
# Mar 15th, 10:39 dereuromark mixing input from URL params as arguments with this seems like a really bad idea.
# Mar 15th, 10:39 dereuromark I dont like how controller actions are injected here, I would expect only the controller to have the service as attribute.
# Mar 15th, 10:36 dakota if it was done at a cakefest
# Mar 15th, 10:36 dakota vaguely. It should be on the youtube channel
# Mar 15th, 10:36 dakota For users, there is http://github.com/cakedc/users, for mail just use a service like mailgun and for invoicing integrate into something like freshbooks :slightly_smiling_face:
# Mar 15th, 10:36 neon1024 Anyone remember the talk that @lorenzo did about implementing a DI container? I’m certain he used https://github.com/lorenzo/piping-bag
# Mar 15th, 10:34 dakota because buying random scripts always works so well :,)
# Mar 15th, 10:25 acosonic They say it's same thing for them switching from cake 2 -> Cake 3, or cake 2 -> Laravel, I have 2 seniors and 1 medior, medior does not care, but seniors want to give Laravel a try, since they were "testing" cake 3 yesterday and decided to migrate cake 2 code, now they want to just buy laravel scripts and try to merge them into 1 system...
# Mar 15th, 10:23 half2me @acosonic is that the only reason why they want to switch to Laravel?
# Mar 15th, 10:21 narendravaghela @acosonic Same happened with me, my past agency started to adopt Laravel and I left the agency :)
# Mar 15th, 10:18 acosonic I say it's just good marketing, we will regret it when it comes to some advanced debugging... https://codecanyon.net/item/classic-invoicer/6193251 and https://codecanyon.net/item/acelle-email-marketing-web-application/17796082 also https://codecanyon.net/item/vanguard-advanced-php-login-and-user-management/14521866 perhaps there are cake 3 clones of that?
# Mar 15th, 10:16 acosonic I know, but they are now purchasing some 3 stuff from codecanyon to test it, they say they will pay from their own pocket... I can share what exactly are they purchasing, if you care...
# Mar 15th, 10:10 dakota But Cake is so much better :slightly_smiling_face:
# Mar 15th, 10:03 acosonic Now my team wants to ditch cake 3 and go to Laravel :( they say they don't think that learning curve is too much different, and they insist on Laravel
# Mar 15th, 09:53 half2me that explains a lot, thanks @berarma
# Mar 15th, 09:52 berarma Have you read https://book.cakephp.org/3.0/en/orm/associations.html#default-association-conditions ?
# Mar 15th, 09:52 half2me but I think it might be the same for hasMany as well
# Mar 15th, 09:52 half2me hasOne
# Mar 15th, 09:52 berarma @half2me, which association type?
# Mar 15th, 09:52 half2me or anyone :slightly_smiling_face:
# Mar 15th, 09:52 dereuromark ping @lorenzo
# Mar 15th, 09:51 dereuromark I am not the god of ORM :slightly_smiling_face: dunno
# Mar 15th, 09:51 half2me @dereuromark?
# Mar 15th, 09:51 half2me Is this intended behavior, or a bug?
# Mar 15th, 09:51 dereuromark Mint at least looks close to windows, so I guess that will help you :)
# Mar 15th, 09:51 half2me then it works
# Mar 15th, 09:51 half2me I have to change the `strategy` option from join to select
# Mar 15th, 09:50 half2me If I use `orderDesc()` or `limit()` in the finder, it doesn't show up in the generated query
# Mar 15th, 09:50 dereuromark Mint
# Mar 15th, 09:49 half2me When defining an association, there is the option to specify a `finder`
# Mar 15th, 09:49 berarma No
# Mar 15th, 09:49 kgb.acct.personal Not the Ubuntu one?
# Mar 15th, 09:49 berarma Debian
# Mar 15th, 09:48 kgb.acct.personal What distro are you using?
# Mar 15th, 09:47 berarma It's a pain having to writing one-shot shells for such small tasks.
# Mar 15th, 09:46 berarma From Windows? It's totally worth it if you like it. I couldn't work on Windows.
# Mar 15th, 09:45 kgb.acct.personal Is it worth switching to linux for development?
# Mar 15th, 09:45 dereuromark I have shell commands for all these things, once run I can remove them
# Mar 15th, 09:44 dereuromark every use case is different
# Mar 15th, 09:44 berarma Thanks @dereuromark, I had that solution in mind. Just wondering if I'm skipping some already built solution for this.
# Mar 15th, 09:42 dereuromark build a shell and run it over night^^
# Mar 15th, 09:42 berarma Adding columns is no problem. Populating those columns is the problem since it involves joins with big tables.
# Mar 15th, 09:40 acosonic Migrate data as in add/remove columns, or as in move data...?
# Mar 15th, 09:39 berarma Hi. How do you migrate data in big tables? I need to update some new fields in a table with thousands of records with data taken from multiple big tables with millions of records. Is there some toolkit to help with this?
# Mar 15th, 09:06 neon1024 Morning all
# Mar 15th, 09:05 acosonic @challgren what's this, desktop show-off? :) btw, check my Linkedin article if you want to properly run windows with linux simultaneously... https://www.linkedin.com/pulse/use-your-windows-10-instantly-inside-ubuntu-linux-from-pavic/
# Mar 15th, 02:51 challgren Ty @markstory
# Mar 15th, 02:11 challgren Yeah, when I first built it I was going to use it as a linux server but I think I got downgraded to desktop
# Mar 15th, 02:11 admad That's a valid reason then, though the driver's might have caught up by now
# Mar 15th, 02:10 challgren I think my issue was the RAID on the mobo wasn’t supported in Linux but that was like 5 years ago
# Mar 15th, 02:08 admad So install Linux on that box :slightly_smiling_face:
# Mar 15th, 02:07 challgren My windows box is a lot more powerful than the Mac Mini
# Mar 15th, 02:07 admad Windows VM is the answer for that
# Mar 15th, 02:06 challgren I do QB Desktop accounting thats is the only reason I have a windows box
# Mar 15th, 02:05 admad @challgren you could replace both with a single Linux box :slightly_smiling_face:
# Mar 15th, 02:01 admad @patox44 dual boot means you select which OS to is at boot up time. Only one of them runs at a time
# Mar 15th, 01:42 slackebot <challgren>
# Mar 15th, 01:40 challgren I run 2 computers side by side. Mac Mini and a Windows Tower. I use Synergy to allow to me use my windows computer from my mac. So its like I have 3 monitors
# Mar 15th, 01:40 patox44 computer wouldn't be slower after it? I don't understand how it works, but if I good understand you have run at once 2 systems?
# Mar 15th, 01:39 patox44 @admad ooo. That's interesting. I'll try it
# Mar 15th, 01:38 kgb.acct.personal +1 for dual boot
# Mar 15th, 01:37 admad Then dual boot
# Mar 15th, 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, 01:14 kgb.acct.personal Have 2 different laptops. Windows for home. Linux at work.
# Mar 15th, 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, 00:58 NickBusey so install linux on your personal computer for everything else ;)
# Mar 15th, 00:53 patox44 I don't want install linux on my personal computer only for programming in PHP :)
# Mar 15th, 00:50 challgren IDK I avoid coding on windows at all costs
# Mar 15th, 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, 00:48 challgren That the nature of xdebug
# Mar 15th, 00:38 patox44 I found what's wrong. It's because of windows :slightly_smiling_face:. I asked about it on support
# Mar 15th, 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, 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, 21:22 NickBusey that's the ticket
# Mar 14th, 21:20 dereuromark or busy not working :P
# Mar 14th, 20:36 ricksaccous true
# Mar 14th, 20:25 savant people are busy working :slightly_smiling_face:
# Mar 14th, 20:11 gabber2 so quiet in here
# Mar 14th, 16:41 NickBusey thanks!
# Mar 14th, 16:36 jeremyharris awesome, congrats!
# Mar 14th, 16:36 NickBusey Nice, I just dropped off my first competition beer this week for the NHC
# Mar 14th, 16:35 ricksaccous lol
# Mar 14th, 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, 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, 16:33 jeremyharris awesome, thanks!
# Mar 14th, 16:29 NickBusey On twitch yea, same username. App code is here: https://gitlab.com/NickBusey/mashio
# Mar 14th, 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, 16:13 jeremyharris on twitch nick? if so yeah, I may drop in :slightly_smiling_face:
# Mar 14th, 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, 15:51 this.impetus @jeremyharris hrmm, yep I'll try that
# Mar 14th, 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, 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, 15:41 marek.sebera :rolling_on_the_floor_laughing:
# Mar 14th, 15:40 dereuromark it's actually the same, it was an accidental include with some dependency.
# Mar 14th, 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, 15:27 ricksaccous just ask ;)
# Mar 14th, 15:25 this.impetus @admad tyvm, will do; got time for one more quick one?