# |
Oct 4th 2018, 22:35 |
sppkyBr |
crestfallen: it gets a bit rabbit-holy if you dont already have a fairly decent amount of math under the belt. |
# |
Oct 4th 2018, 22:35 |
sppkyBr |
Hi there! Is there a way to pass DNS records along to reverse proxy applications? I'm using IPFS and it relies on a _dnslink TXT record |
# |
Oct 4th 2018, 22:00 |
dereuromark |
maybe @lorenzo knows a neat trick here |
# |
Oct 4th 2018, 20:12 |
dereuromark |
is there an easier way than $this->...->hasOne('NoTags', ['className' => 'Tags.Tagged', 'foreignKey' => 'fk_id', 'conditions' => ['fk_model' => 'Records']]); $query = $query->contain(['NoTags'])->where(['NoTags.id IS' => null]); |
# |
Oct 4th 2018, 19:13 |
dereuromark |
find('untagged') so to speak |
# |
Oct 4th 2018, 19:13 |
dereuromark |
Did anyone ever do the opposite of https://github.com/dereuromark/cakephp-tags/blob/master/src/Model/Behavior/TagBehavior.php#L286 ? All records where there is no tag yet at all? (without using counter) |
# |
Oct 4th 2018, 17:54 |
der_AlteBV |
Hi! I'm having trouble with defining custom completions |
# |
Oct 4th 2018, 17:54 |
der_AlteBV |
i guess it hasn't been updated. |
# |
Oct 4th 2018, 17:54 |
der_AlteBV |
get a better idea |
# |
Oct 4th 2018, 16:39 |
GlennS |
bobdobbs: desktop publishing as? |
# |
Oct 4th 2018, 16:39 |
GlennS |
works over here, just checked |
# |
Oct 4th 2018, 16:38 |
GlennS |
the switch has been great actually |
# |
Oct 4th 2018, 16:38 |
GlennS |
Q[²cQÔ÷ìلq!u-Zóý½WWeósÃäêayû3¥K |
# |
Oct 4th 2018, 16:38 |
GlennS |
are you asking how to redirect output of specifically the xtrace logging in bash? |
# |
Oct 4th 2018, 16:38 |
GlennS |
Wafficus: yup |
# |
Oct 4th 2018, 16:03 |
ricksaccous |
or vice versa |
# |
Oct 4th 2018, 16:03 |
ricksaccous |
i don't think cake can automatically determine the relationships from two keys to one |
# |
Oct 4th 2018, 16:03 |
ricksaccous |
@rudy1976s you could always add another key field to attachments to use it to relate composite keys and split the value for one field to item_id and the other value for the other field |
# |
Oct 4th 2018, 15:58 |
lagman |
12:45 <+solar> >not using regular panties |
# |
Oct 4th 2018, 15:58 |
lagman |
less enter more spacebar |
# |
Oct 4th 2018, 15:58 |
lagman |
patury, in that case, you might want to try github also; https://github.com/openbsd/src/blob/master/sys/net/if_pflog.h |
# |
Oct 4th 2018, 15:56 |
rudy1976s |
I would but just associate it makes it breaking |
# |
Oct 4th 2018, 15:53 |
wyrihaximus |
@dereuromark yeah you can, can write up an example how to do that later |
# |
Oct 4th 2018, 15:43 |
ricksaccous |
on the other table? |
# |
Oct 4th 2018, 15:43 |
ricksaccous |
the composite key |
# |
Oct 4th 2018, 15:43 |
ricksaccous |
of |
# |
Oct 4th 2018, 15:43 |
ricksaccous |
so in this particular case you are making item_id a concatenation |
# |
Oct 4th 2018, 15:43 |
ricksaccous |
i see |
# |
Oct 4th 2018, 15:43 |
rudy1976s |
every model on my app has a hasMany relation with Attachments |
# |
Oct 4th 2018, 15:42 |
rudy1976s |
yes |
# |
Oct 4th 2018, 15:42 |
rudy1976s |
it's a typed table |
# |
Oct 4th 2018, 15:42 |
ricksaccous |
based on model and plugin fields? |
# |
Oct 4th 2018, 15:42 |
ricksaccous |
so you are grabbing the association based on conditions as well |
# |
Oct 4th 2018, 15:42 |
rudy1976s |
yes |
# |
Oct 4th 2018, 15:42 |
rudy1976s |
then there is model and plugin to type it |
# |
Oct 4th 2018, 15:42 |
ricksaccous |
so item_id relates to many tables at once? |
# |
Oct 4th 2018, 15:41 |
rudy1976s |
then hash,size etc |
# |
Oct 4th 2018, 15:41 |
rudy1976s |
the attachments table has some rows : item id which is a varchar 255 where I normally store the associated foreign key |
# |
Oct 4th 2018, 15:41 |
ricksaccous |
lol |
# |
Oct 4th 2018, 15:41 |
ricksaccous |
that's why i want to see the rows |
# |
Oct 4th 2018, 15:40 |
ricksaccous |
how does that even work then... |