# |
Sep 3rd 2019, 15:15 |
alexdd55976 |
the framework helped him doing that |
# |
Sep 3rd 2019, 15:14 |
alexdd55976 |
its the developers fault |
# |
Sep 3rd 2019, 15:13 |
admad |
@alexdd55976 I wouldn't be too hasty in blaming the framework. Often it's the develop's fault |
# |
Sep 3rd 2019, 15:07 |
jeremy.halin |
@admad I get my entity with `find('translations')`. My default locale is `en_US`, so in database it's saved directly in table's row. But when I get entity, I only have for example `es_ES` in `translations` and no `en_US` even if column is not empty. For example say I have a `name` column, in `en_US` it's `apple` saved directly to table's row. `I18n::getLocale() === 'fr_FR'`, I have no translation for that |
# |
Sep 3rd 2019, 15:05 |
slackebot |
<alexdd55976> |
# |
Sep 3rd 2019, 15:05 |
alexdd55976 |
and @dereuromark was concerned about a long login sequence ... |
# |
Sep 3rd 2019, 15:05 |
alexdd55976 |
takes 12 secs to execute... |
# |
Sep 3rd 2019, 15:04 |
slackebot |
<alexdd55976> |
# |
Sep 3rd 2019, 15:03 |
neon1024 |
Wowzer! |
# |
Sep 3rd 2019, 15:03 |
alexdd55976 |
infos coming from 3 tables... easy join |
# |
Sep 3rd 2019, 15:02 |
alexdd55976 |
i have a table with 22 results... 346 sql queries are made |
# |
Sep 3rd 2019, 15:02 |
neon1024 |
:grimacing: |
# |
Sep 3rd 2019, 15:02 |
alexdd55976 |
no idea how to call it |
# |
Sep 3rd 2019, 15:02 |
alexdd55976 |
sub-model should be set in air quotes |
# |
Sep 3rd 2019, 15:01 |
alexdd55976 |
a model, that is --- do not ask why --- into multiple files in different folders |
# |
Sep 3rd 2019, 14:56 |
neon1024 |
What’s a sub-model? |
# |
Sep 3rd 2019, 14:54 |
spriz |
>"Oh that project? Yeah, I dunno what happened to it. I guess it went down the drain when X or Y left the company..." |
# |
Sep 3rd 2019, 14:54 |
alexdd55976 |
they guy who coded it, made so many methods in sub-models, that he was not ablte to make one single request to get a list of projects |
# |
Sep 3rd 2019, 14:54 |
spriz |
:) |
# |
Sep 3rd 2019, 14:53 |
spriz |
:cold_sweat: delete it quickly and never mention it again |
# |
Sep 3rd 2019, 14:51 |
alexdd55976 |
:boom: |
# |
Sep 3rd 2019, 14:51 |
alexdd55976 |
project still not live |
# |
Sep 3rd 2019, 14:51 |
alexdd55976 |
btw... last commit: 9 month ago. before that: 2 years ago. inital commit: 5 years ago. |
# |
Sep 3rd 2019, 14:50 |
alexdd55976 |
this is the longterm plan... if you see the million methods, classes, objects divided in like 100 folders... writing it new will save weeks and weeks of migrationwork |
# |
Sep 3rd 2019, 14:49 |
dereuromark |
breath, port it to cake. :slightly_smiling_face: enjoy your cake slice. |
# |
Sep 3rd 2019, 14:49 |
dereuromark |
looks like it is stuck somewhere in 2009 or sth. |
# |
Sep 3rd 2019, 14:48 |
alexdd55976 |
and additionally to that codeception is somehow required.. no idea why... f*uckf*ck*fu*ck |
# |
Sep 3rd 2019, 14:47 |
alexdd55976 |
i need to... we need to write some tests on logic behind it. but composer can not install sh*t... literally no version met any requirements of this project... |
# |
Sep 3rd 2019, 14:45 |
dereuromark |
why are you even looking at it? :slightly_smiling_face: `php: >=5.1.0` looks very modern |
# |
Sep 3rd 2019, 14:45 |
alexdd55976 |
some dev who worked here coded an application with yii and created a mess with code, folders, whatever... |
# |
Sep 3rd 2019, 14:44 |
alexdd55976 |
here is some off topic: why the f*ck is yii such a piece of horse crap? and why is composer not able to fullfill the requirement on packages... :horse: :shit: |
# |
Sep 3rd 2019, 14:43 |
dereuromark |
jep, async for the win |
# |
Sep 3rd 2019, 14:43 |
jotpe |
most non devs will probably hit the "refresh" button :slightly_smiling_face: |
# |
Sep 3rd 2019, 14:43 |
alexdd55976 |
generating those e.g. json files should be triggered through cronjobs.. or changing parent files whatever. on login just loading the content into the user/auth object is fast. |
# |
Sep 3rd 2019, 14:41 |
admad |
devs can always change |
# |
Sep 3rd 2019, 14:41 |
admad |
i guess not really stupid, normal users would find them more useful |
# |
Sep 3rd 2019, 14:41 |
dereuromark |
hehe |
# |
Sep 3rd 2019, 14:41 |
admad |
although all these new laptops have those stupid media keys enabled by default for the function keys in bios |
# |
Sep 3rd 2019, 14:40 |
ricksaccous |
lolll |
# |
Sep 3rd 2019, 14:40 |
admad |
you are make it show a message after 5 min "We admire your patience by now it's time to hit F5" |
# |
Sep 3rd 2019, 14:39 |
ricksaccous |
I've heard of such a case |