Jack Grigg

Results 896 comments of Jack Grigg
trafficstars

> AFAICT the code in pkg/js/helpers.js handles things correctly, This is probably actually just by accident. I think the core issue here is that 0 in the TTL field _is_...

These are all the spots in the Go code that map `0` to `DefaultTTL`: https://github.com/StackExchange/dnscontrol/blob/5b3bb312ea99853d1741d838d5a789cbc5eec1fb/models/record.go#L377-L379 https://github.com/StackExchange/dnscontrol/blob/5b3bb312ea99853d1741d838d5a789cbc5eec1fb/pkg/normalize/validate.go#L352-L354 https://github.com/StackExchange/dnscontrol/blob/5b3bb312ea99853d1741d838d5a789cbc5eec1fb/pkg/prettyzone/prettyzone.go#L88-L90 https://github.com/StackExchange/dnscontrol/blob/5b3bb312ea99853d1741d838d5a789cbc5eec1fb/pkg/prettyzone/prettyzone.go#L103-L105 Commenting out the first two is sufficient to invert the meaining of...

So, there are a few directions this could go: - Implicit "provider-default TTL". - Use that default for that provider if it exists, instead of the global DNSControl default. -...

Another useful UX thing before, or in addition to, the above: change the way colour highlighting works, to only highlight the changed parts instead of the whole `MODIFY` line. That...

I implemented "Remove the non-zero restriction on TTL" in #2475, which AFAICT (as a non-Go developer) was the simplest approach.

I achieved this in my own code (where I wanted the comma-inserting list variant) with the following extra definitions: ```c++ #define MAP_PAIR_LIST0(f, x, y, peek, ...) f(x, y) MAP_LIST_NEXT(peek, MAP_PAIR_LIST1)(f,...

Out current CompactBlock approach is "pretend the AEAD is just a stream cipher and only decrypt the first X bytes", to avoid downloading the memos during scanning. However, that means...

@nuttycom and I discussed this a few weeks back, to figure out some design requirements. - Memos continue to be added to the transaction in 512-byte segments (providing the same...

For the encryption scheme, I think something like STREAM (from [Online Authenticated-Encryption and its Nonce-Reuse Misuse-Resistance](https://eprint.iacr.org/2015/189)) would be suitable here. To decrypt a memo, the recipient would initialize a counter...