3,034 karma · joined Jan 27, 2014 (12y ago) · 1,459 submissions
comment 1y ago · link · parent
Private banks create money by extending credit, that's it. They worry later about reserve requirements, which in the case of USD or EUR are extremely low.
And I still don't understand how this relevant in any way to the topic.
comment 1y ago · link · parent
The point of a CBDC is government control over an increased share of the money supply. Pretty irrelevant to USD balances held by other central banks.
The point of a stablecoin for an entity with an American banking license is... nothing?
comment 1y ago · link · parent
comment 1y ago · link · parent
- Only your outermost application entry-point will need to stack all effects; you'll wire the server, client, DB and so on in your `main` method that returns Unit \ (IO & Abort & Result & Transaction & Env ...). In specific modules individual functions should use only the narrowest effect.
- Good ergonomics for type polymorphism and type inference are obviously paramount to adding algebraic effects in a way that is minimally invasive. It's obviously not trivial and mostly a PL research field at this point, but existing implementations show that there's potential for better DX compared to alternatives (monadic effect systems, mostly).
comment 1y ago · link · parent
But at least if you move to Japan, you can essentially get a Japanese flavored Pixel at the small cost of a factory unlock/relock.
comment 1y ago · link · parent
So really, Sun and Oracle could have definitely moved faster around Java 6 and 7, the Java 8 release took a long time given the feature set.
I feel that records could have come quicker, their implementation isn't exactly ground breaking. Avoiding the async/await route was a smart call though, and Loom could probably not have happened much earlier.
Valhalla is another can of worms entirely
comment 1y ago · link · parent
Aside from early versions being rushed, I feel that Java's success and adoption were the bigger issue. While Microsoft could iterate quickly and break backwards compatibility with major versions of C# and the .NET runtime, Java was deliberately moving at a much slower pace.
comment 1y ago · link · parent
They do.
Google's Authenticator is as close as it gets to a native Android app, and your secret keys are sync'ed in Google's cloud for a while now (it's a shame they waited so long).
Apple's Keychain has supported TOTP for ages too.
That said OTPs over RCS instead of SMS are a major improvement if you don't mind your phone number being used as an identifier.
comment 1y ago · link · parent
> Trustless - even this part isn' true for most blockchain systems.
Blockchains are immutable, trustless, permissionless. Otherwise it's called a database.
comment 1y ago · link · parent
The type system is very powerful and a few concepts have complex semantics, there's no way around it. But in my experience what really hurt inexperienced developers is the mix and match of Java constructs and more functional or Scala specific ones. And in my opinion, the Kotlin ecosystem is even a bigger offender nowadays, while best practices in Scala have somewhat converged, as a direct consequence of its decline in popularity, i.e. because people have stopped trying to use Scala as a better Java.
comment 1y ago · link · parent
The modern Scala ecosystem has mostly converged towards one style even though it's fully compatible with the more questionable Java/JVM constructs like runtime reflection, annotation processing and so on. Sure you have to understand a few FP concepts that might be alien at first, but there's a fairly straight and clear path unlike hybrid languages that evolved in too many directions at once.
Meta-programming features have also been completely overhauled with Scala 3 and are more approachable, especially if you're just an end user that needs a library doing generic derivation for instance.
Odersky is also on a crusade against monadic effect systems and we might get something like algebraic effects, direct-style.
comment 1y ago · link · parent
comment 1y ago · link · parent
https://blogs.oracle.com/java/post/free-java-license
Any company using Java should be willing to read and understand Oracle's terms, whether they use third party OpenJDK distributions or Oracle's builds.
If you're leaving significant performance gains on the table because you can't read, that's on you.