# |
Dec 13th 2019, 14:54 |
scuadra |
it's user mark |
# |
Dec 13th 2019, 14:54 |
ricksaccous |
if they are i'd recommend $this->Number->currency(); |
# |
Dec 13th 2019, 14:53 |
ricksaccous |
@scuadra are those prices? |
# |
Dec 13th 2019, 14:53 |
ricksaccous |
just reread and that's pretty normal |
# |
Dec 13th 2019, 14:53 |
ricksaccous |
oh wait |
# |
Dec 13th 2019, 14:53 |
ricksaccous |
@scuadra that's pretty weird, i don't think i've had that happen to me |
# |
Dec 13th 2019, 14:53 |
ricksaccous |
I suppose Facebook has to comply, but they are a big target, would it even be worth pursuing a little guy? |
# |
Dec 13th 2019, 14:52 |
ricksaccous |
does GDPR work across the pond? would they really try to file a lawsuit against an American company because one person from the EU signed up and we didn't delete every single record associated with them when they wanted us to? |
# |
Dec 13th 2019, 14:51 |
challgren |
I guess its the easiest way to comply :P |
# |
Dec 13th 2019, 14:51 |
ricksaccous |
lol |
# |
Dec 13th 2019, 14:50 |
challgren |
One company I consult for just restricted it so everyone outside the US is blocked from accessing it |
# |
Dec 13th 2019, 14:50 |
ricksaccous |
i actually had to watch a video on GDPR and i don't remember half the stuff since it was last year lol |
# |
Dec 13th 2019, 14:50 |
slackebot |
the reason for this behavior? In Cake 2 I don't have this issue. |
# |
Dec 13th 2019, 14:50 |
scuadra |
Hello. I don't know if this is really a CakePHP question but I'll ask. In version 3.7 I have a field `overall_mark` which is of type decimal(4,2). In the database I have values like 5.00, 7.00, 7.25, 8.71, etc. However when I echo that field in my template and it is 3.00, 5.00 or so the output is always integer (for example 3 instead of 3.00). When I try `printf('%.2f', $row['overall_mark'])` I get 3.004 in my template. Anyone aware what's |
# |
Dec 13th 2019, 14:49 |
ricksaccous |
yeah I think so |
# |
Dec 13th 2019, 14:49 |
challgren |
Names have to be encrypted????? |
# |
Dec 13th 2019, 14:48 |
ricksaccous |
lol yeah, sometimes it's handy to be able to store people's names and stuff, especially when you have to query by them, but i guess europeans will find workarounds |
# |
Dec 13th 2019, 14:43 |
challgren |
As an american GDPR sounds like a giant PITA |
# |
Dec 13th 2019, 14:38 |
ricksaccous |
i suppose you'd really have to dissect the actual law and not the intended policies |
# |
Dec 13th 2019, 14:38 |
ricksaccous |
just a curious guy |
# |
Dec 13th 2019, 14:38 |
ricksaccous |
like store the data on a server somewhere else where GDPR is not enforced |
# |
Dec 13th 2019, 14:38 |
ricksaccous |
i wonder if a weird loophole can be used to get around GDPR |
# |
Dec 13th 2019, 14:22 |
neon1024 |
Which you could pass to TableRegistry to retrieve the instance |
# |
Dec 13th 2019, 14:22 |
neon1024 |
It’s actually the table alias https://github.com/cakephp/cakephp/blob/master/src/Datasource/EntityTrait.php#L1414 |
# |
Dec 13th 2019, 13:22 |
storkovo |
```--hard HEAD~3 -q``` |
# |
Dec 13th 2019, 13:19 |
admad |
:face_with_finger_covering_closed_lips: |
# |
Dec 13th 2019, 13:19 |
storkovo |
I dont know any more if it is even legal to mention these (or any) two companies in one sentence :P |
# |
Dec 13th 2019, 13:16 |
admad |
yeah leave the harvesting of sensitive personal data to the tech giants like FB and Google :P |
# |
Dec 13th 2019, 13:12 |
storkovo |
still, I’d rather think of solution how to have usable log records completely free of sensitive data |
# |
Dec 13th 2019, 13:09 |
storkovo |
So the point actually is to make gdpr ghosting from logs easier, right? |
# |
Dec 13th 2019, 13:08 |
jh |
I want to put logs in redis for that purpose |
# |
Dec 13th 2019, 13:08 |
storkovo |
(in case, you log sensitive data for some reason I dont know) |
# |
Dec 13th 2019, 13:07 |
storkovo |
and from logs |
# |
Dec 13th 2019, 13:07 |
jh |
Deletion from backups is |
# |
Dec 13th 2019, 13:07 |
jh |
@storkovo deletion from redis aint a problem |
# |
Dec 13th 2019, 13:05 |
storkovo |
ah, assumptions attack again, sorry to hear that |
# |
Dec 13th 2019, 13:03 |
lubos |
@storkovo well i should read the docs first > By default, PHP errors are displayed when debug is true, and logged when debug is false. from this sentence i understand there will be no log file when debug is set to true, i assumed opposite :) |
# |
Dec 13th 2019, 12:58 |
storkovo |
@lubos sounds like bug in that “doing nothing” code, missing “return” statement or something |
# |
Dec 13th 2019, 12:47 |
val |
That returns the entity alias. What I need is the reference to the table class or the name of the table class. |
# |
Dec 13th 2019, 12:41 |
Nitrogen |
afaict bake generates a fixture-entry for every model association. |
# |
Dec 13th 2019, 12:41 |
Nitrogen |
Hi, guys. What would be the preferred way to implement fixtures for models that all use the same database table? Do I create a fixture file for each of them? Or can we use aliases somewhere? |