Ned Twigg

Results 639 comments of Ned Twigg

If you're using google-java-format through Spotless, we just added support for on/off tags in `plugin-gradle 5.5.0` ([like this](https://github.com/diffplug/spotless/tree/main/plugin-gradle#spotlessoff-and-spotlesson)) and `plugin-maven 2.3.0` ([like this](https://github.com/diffplug/spotless/tree/main/plugin-maven#spotlessoff-and-spotlesson)).

You could fix that in spotless (gradle or maven) with: ```gradle spotless { googleJavaFormat() replace 'fix static-analysis', '// RULE', '//RULE' } ``` or you can use `formatter:off` blocks as per...

If you use [spotless](https://github.com/diffplug/spotless/tree/main/plugin-gradle), then you can also use its [VS Code plugin](https://marketplace.visualstudio.com/items?itemName=richardwillis.vscode-spotless-gradle).

I wonder about an image diff algorithm like this: - for each horizontal scanline - perform naive per-pixel diff - find and combine segments where diffs were within say 10...

Exactly - to take take the very hard problem of the OCR and semantic meaning of the screenshot, and turn it into an image processing problem. SSIM doesn't need neural-net...

Along the same lines, named arguments for templates would allow for default arguments. Most of my templates don't need custom CSS or JS, but some do. It would be great...

Thanks, great to know about the builder option! Rocker supports positional arguments with compile-time checking `@navbar.template(false)`, or a builder with limited compile-time checking `@(new navbar().isDiscourse(false))`. The user has a choice...

I've got a flight coming up, I cloned the source to see if I could do some tinkering and see how hard an implementation would be. ``` cmd> mvn -pl...

Thanks for the `-am -pl` tip, that works and is all I need to tinker. The gradle project still fails for me, but I don't need it. Just FYI: ```...

Sorry, I missed a spot. This one passes `mvn test` for me.