silverwind

Results 1259 comments of silverwind

I'd just use https://github.com/js-cookie/js-cookie personally and it seems that rule agrees, so I'd say working as intended.

> > I'd just use https://github.com/js-cookie/js-cookie personally and it seems that rule agrees, so I'd say working as intended. > > the library I'm using is used on both backend...

Yes, but as for the rule being the default, I'd still vote to keep it so users are aware of the problems of `document.cookie`. In your case with the special...

We run Icinga (without Redis currently) along with another application (which interfaces with Icinga) and in this application already uses Redis, currently on DB 0. We are looking to upgrade...

Ah, so as per https://icinga.com/docs/icinga-db/latest/doc/05-Distributed-Setups/, Redis is local to each Icinga master node, so in essence Redis is used as a local in-memory database similar to [badger](https://github.com/dgraph-io/badger). If above is...

Not sure I'm motivated enough, Python is not my lingua franca. We definitely feel the pain of this import time thought, as it's used during short-lived processes, so I'm not...

FWIW, one can monkey-patch the module to eliminate the HTML escaping: ```python pybars._compiler.escape = lambda s: s ```

Regarding mysql charset: some columns specify deprecated `utf8` charset: https://github.com/PowerDNS/pdns/blob/bb10ed912e06ee33b501dc38e9fcfb1ca99a6707/modules/gmysqlbackend/schema.mysql.sql#L52 There was https://github.com/PowerDNS/pdns/pull/8622 that would have fixed. Keep note that future MySQL will likely [re-alias](https://dev.mysql.com/doc/refman/8.2/en/charset-unicode-utf8.html) `utf8` to `utf8mb4`: > utf8...

Should add [OPTIONS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/OPTIONS), [TRACE](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/TRACE) and [CONNECT](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/CONNECT): > Request has body: No

> These doesn't thows > > ``` > fetch('/', {method: 'OPTIONS', body: 'foo'}) > fetch('/', {method: 'TRACE', body: 'foo'}) > fetch('/', {method: 'CONNECT', body: 'foo'}) > ``` > > The...