Roger Peppe
Roger Peppe
Note: WORK IN PROGRESS From [an idea](https://twitter.com/bradfitz/status/1387817724634492928) from Brad Fitzpatrick, this makes it possible to show source code in test failures even when the source code isn't currently available. Still...
This is cleaner, but unfortunately slower. Reusing the Hash value in KeyToHash may help there, but wouldn't get back to the original speed, so maybe this isn't a reasonable change....
### What version of CUE are you using (`cue version`)? $ cue version cue version v0.0.0-20220801114602-5a08d2f7a9a7 -compiler gc CGO_ENABLED 1 GOARCH amd64 GOOS linux GOAMD64 v1 vcs git vcs.revision 5a08d2f7a9a7595def05c5486cbb5276e66391cb...
### What version of CUE are you using (`cue version`)? $ cue version cue version (devel) linux/amd64 commit 256f1f9ee1611636fef85446ff9ea3b7d4f6b7d0 ### Does this issue reproduce with the latest release? Yes. ###...
commit 00c5ddf5e4ed1781cbf07b9b941a1c7c36a62d87 The spec [says](https://cuelang.org/docs/references/spec/#selectors) of selectors that the field selector "must be an identifier or a string literal identifying any definition or regular non-optional field". A string literal containing...
This PR suggests a change to the spec to clarify things to fix [this JIRA issue](https://issues.apache.org/jira/browse/AVRO-2647).
It would be great to be able to get an instant micro-benchmark of a function. For example: % gorram -bench math Sqrt 1000 2000000000 0.31 ns/op 0 B/op 0 allocs/op
I might have missed it, but I've been looking for proper reference docs for what can be put in the derive macro directives and all I've found is https://docs.rs/logos/0.12.0/logos/derive.Logos.html which...
Currently it's only possible to select and copy text in the Command window, but it can also be useful to copy text in other windows to the system pasteboard, particularly...
I was trying to use some newer wire features with an older version of the `wire` command. I used `wire.Struct`, and the error I got was: /home/rog/src/tstwire/wire.go:8:27: unknown pattern Although,...