Ned Twigg
Ned Twigg
The TypeScript handbook gives [this example](https://www.typescriptlang.org/docs/handbook/unions-and-intersections.html), which also works with interfaces as such: ```typescript interface NetworkLoadingState { state: "loading"; } interface NetworkFailedState { state: "failed"; code: number; } ``` To...
## What happened? ``` Caused by: com.palantir.docker.compose.execution.DockerExecutionException: 'docker-compose -v' returned exit code 16 The output was: unknown shorthand flag: 'v' in -v at com.palantir.docker.compose.execution.Command.lambda$throwingOnError$0(Command.java:59) at com.palantir.docker.compose.execution.Command.execute(Command.java:49) at com.palantir.docker.compose.execution.DefaultDockerCompose.version(DefaultDockerCompose.java:152) at com.palantir.docker.compose.execution.DefaultDockerCompose.verifyDockerComposeVersionAtLeast(DefaultDockerCompose.java:148)...
The `pg_restore` command can take a file argument, or you can pass the file contents over stdin. In order to pass a file, you have to deal with mounting, but...
Spotless is a code autoformatter for many languages, and someone suggested [adding support for violations-lib](https://github.com/diffplug/spotless/issues/655). It would be awesome if violations-lib also supported [suggested changes](https://github.community/t/suggested-change-api/13675/5). If it did, then Spotless'...
I have been forced to set my image diff threshold pretty high: ```json customDiffConfig: { threshold: 0.3, }, failureThreshold: 0.1, failureThresholdType: "percent", ``` The thing I'm snapshotting is text rendered...
Given this class layout: ```java public class Foo {} public class FooList extends List {} ``` then if I have a rocker template: ``` @import Foo @import FooList @args(FooList list)...
I'm converting a bunch of Play 1 templates to Rocker. I *love* Rocker's typesafety, performance, and simplicity, but I wish that I could pass named arguments, rather than positional arguments....
[Spotless](https://github.com/diffplug/spotless/tree/main/plugin-gradle) is a code formatting plugin. It's main value adds are: - it lets you compose multiple formatters (e.g. black + a license header that slurps copyright info from git...
This plugin is still actively maintained, but there are a few abandoned aspects. They still work for some people, but are broken for most. We're happy to take PRs for...
In https://github.com/diffplug/durian-swt/pull/7/commits/496386ecebd023075b03a041d238af8d02a29469 I used `java-library` in a multi-module project, and I declared an `api` dependency on another module within the project. I then saw intermittent errors like [this](https://travis-ci.org/diffplug/durian-swt/builds/636211276#L237): ``` >...