Roger Peppe

Results 283 comments of Roger Peppe

> @rogpeppe, what are you looking to achieve? That might help prompt some ideas to guide a path Ideally I'd like it to be the case that when someone like...

> @rogpeppe have you had a chance to look at https://ttl.sh/. I'd also recommend looking at the following issue: [distribution/distribution#3178](https://github.com/distribution/distribution/issues/3178) Both interesting reads, thanks! (I will probably use ttl.sh now...

Note: in JSON Schema itself, it's possible to address subschemas by their position in the JSON using a URL fragment containing a JSON Pointer. For example, `{"$ref": "#/definitions/normalJob/properties/steps/items"}`. Solving this...

Note that this behaviour is documented in the introduction to the [CUE modules reference](https://cuelang.org/docs/reference/modules): > as a transitionary measure, the CUE tool still supports the import of packages present in...

Closing this issue as everything seems to be functioning as intended.

Currently AFAIK best approach is to use a regular expression (the first one I came across is [here](https://stackoverflow.com/questions/161738/what-is-the-best-regular-expression-to-check-if-a-string-is-a-valid-url)) but that's not ideal, clearly, given the size of it. We should...

A few thoughts: - I came up with the exact same `[...]T` notation independently, which seems like a reasonable indicator that it's a natural fit. - there's no need for...

> This proposal also allows a generic concatenation I'm fairly sure it doesn't unless the return type is a slice rather than an array (which is fine - array concat...

FWIW I see the "It may not be _ or $" sentence as just a typo; it should just be "It may not be _." instead. I don't think that...

@carlmjohnson @ianlancetaylor A problem with the solution that landed (CL 538060) is that the non-EOF error gets triggered when the amount of data is exactly the same as the limit....