Recently, the house judiciary committee held hearings on the social and economic power of the tech giants: Online Platforms and Market Power, Part 6: Examining the Dominance of Amazon, Apple, Facebook, and Google. The hearings were held on 2020-07-29 from about 12:00 to about 17:30, US/Eastern. Testimony was offered by…
Kotlin’s reflection support uses a dynamic strategy and so interacts poorly with dependency optimizers like the
shadow Gradle plugin’s
minimize. To make sure it gets included in your optimized release build, you can take a shortcut and exclude all Kotlin standard library dependencies from minimization:
Gradle/Kotlin JVM projects are just a five short lines away from building self-contained, executable
.jars, using the
application and Shadow Gradle plugins:
After reading quite a few articles with much longer solutions, I was pleasantly surprised to see it was really this easy. Note that the Shadow plugin doesn’t have to be configured at all — it relies on the
application plugin to figure out the details, and in particular the main class.
I hate Scala. Its tools, while good, are often surprisingly resource intensive and sometimes crash my little MacBook. The syntax and feature-set, while amazingly expressive, are bewildering to most programmers and complicate on-boarding and even just reading your own code. …
NULL values are present, a row can both not match a predicate, and not match its opposite.
It can be confusing to remember the consequences of SQL’s three-valued logic. One hears that
NOT NULL can be good for query performance — it allows the database to make certain optimizations…
There are too many special snowflake systems in DevOps. One way we see this is in the proliferation of DevOps data stores: databases and search engines intended specifically for metrics and logs. Another is the way in which “infrastructure as code” always ends up as stuff that’s not code.