263 karma · joined August 1, 2019
https://twitter.com/furstenheim
Maven and Java is simply broken when dealing with transitive dependencies.
I've been hit so many times with running time exception "MethodNotFound" cause two libraries have the same transitive dependency and one version gets picked over the other one.
Btw, even using psql directly allows binding parameters https://www.postgresql.org/docs/current/app-psql.html
But const enum seems to have several pitfalls. https://www.typescriptlang.org/docs/handbook/enums.html
However I never managed to understand how it works.
https://en.m.wikipedia.org/wiki/Floyd%E2%80%93Rivest_algorit...
Do client server rendering. Send HTML, then query backend for content. Something like p.textContent = ... It's safe.
It's pretty much the same as what a prepared statement does in SQL, send data and code in different channels
https://engineering.atspotify.com/2018/01/testing-of-microse...
A part of me suffers everytime someone uses that expression
What's the measure of the set of real numbers whose square is between 1 and 4.
The set of real numbers whose square is between 1 and 4 is known as the square root of the interval [1, 4]. It is represented by the notation √[1, 4].
To find the measure of this set, we can take the square root of each endpoint of the interval and then subtract the smaller value from the larger value. In this case, the measure of the set is √4 - √1 = 2 - 1 = 1.
Alternatively, we can rewrite the set as the union of two intervals: the set of real numbers whose square is between 1 and 2, and the set of real numbers whose square is between 2 and 4. The measure of the first interval is √2 - √1 = 1, and the measure of the second interval is √4 - √2 = 1. Therefore, the measure of the set of real numbers whose square is between 1 and 4 is 1 + 1 = 2.
It's important to note that the set of real numbers whose square is between 1 and 4 is not the same as the set of real numbers between 1 and 4. The set of real numbers whose square is between 1 and 4 consists only of the positive real numbers 1 and 2, while the set of real numbers between 1 and 4 includes all real numbers between 1 and 4, including negative numbers
Having one commit merges is overrated