Better HN
topnewbestaskshowjobs
Log inSign up

hocuspocus

3,034 karma · joined Jan 27, 2014 (12y ago) · 1,459 submissions

Scala dev in Switzerland.
Submissions

comment 4y ago · link · parent

> and some tricky generics simply don't compile with Scala

What? Do you have any example that wasn't fixed years ago?

Any non-trivial Scala app will consume dozens if not hundreds of Java libraries, without any issue.

comment 4y ago · link · parent

You don't need mobile reception with modern SCA.

Presumably if you're initiating an online purchase, you have access to WiFi?

comment 4y ago · link · parent

I meant neither by phone (SMS tokens don't meet the DSP2 requirements) nor a mobile app.

The card issuer can send you a one time link to a web portal by email or using an iframe, where you log in and confirm the transaction.

comment 4y ago · link · parent

SCA is a big improvement for most people.

Some card issuers don't require it done via a phone if that's important for you.

comment 4y ago · link · parent

Well, good for you. Not my experience. Last thing that bit me, in a long list of annoyances and bugs: https://www.reddit.com/r/macbook/comments/ehcjya/comment/fcm...

As for hardware failures, again, good for you. Here it's more like 3-4 days before getting it fixed or replaced.

comment 4y ago · link · parent

You must not use macOS a lot if you think it doesn't get in the way.

comment 4y ago · link · parent

And it's not only on the client side, but also server side. There are carriers who implemented Universal Profile on their own and cannot connect to the ones running Jibe. So much for a federated protocol.

So today it's either Google or Samsung messages and Jibe, otherwise RCS is essentially useless. From what I know Facebook wanted to get on board at some point, I'm not sure why this didn't work out.

The fact Google publicly whining about the iMessage lock-in is pretty rich.

comment 4y ago · link · parent

13 years into my professional career I'm still seeing Spring everywhere.

comment 4y ago · link · parent

> all wired competition that wasn’t CATV or fiber

That isn't entirely true, G.fast is a pretty decent alternative here, unlimited 4G/5G is too unreliable for a lot of people.

comment 4y ago · link · parent

> You're supposed to put your phone on airplane mode in a train or subway too,

That's a pretty insane claim in most of the world. Lots of people expect and enjoy full coverage on train or subway rides. I work at a carrier and the signal strength and cell capacity on trains are part of the top metrics we use to benchmark the quality of our network and the customer experience.

521.

Iliad launches its own payments processing platform Stancer(techcrunch.com ↗)

2 points · by hocuspocus · 4y ago · discuss

comment 4y ago · link · parent

How much of that demand is driven by the fact USD-pegged stablecoins allow to evade US jurisdiction?

> Maybe this is what gets us to <1h settlement ACH transfers?

You can have that without involving the central bank.

comment 4y ago · link · parent

> Say I want to hire a dev in Germany/Chile/Nigeria, I could go through the cumbersome and expensive process of wiring money, which incurs taxes on money being exchanged, broker fees in the form of a spread and so on, or I could use a cryptocurrency to just send the money and avoid all of that.

Or you could use Wise.

comment 4y ago · link · parent

[0] "A network fee of 2.5% (with a cap of $500) will be deducted from your investment amount for settlement, custody, and trading costs associated with your payment in USDC". Very cheap indeed.

[1] [2] Blockchains offer no guarantees off-chain. Everything that happens in the real world boils down to the oracle problem. You need trusted third parties in supply chains, a cryptographic signature would essentially achieve the same thing.

comment 4y ago · link · parent

It literally has nothing to do with sbt. Gradle won't save you from binary compatibility conflicts caused by diamond dependencies.

comment 4y ago · link · parent

> I'm sorry, but that's just you being in denial

Have fun rewriting history then. Google picked Gradle, JetBrains, Kotlin, that's just the way it is. If they had been interested in Scala on Android in any way, they'd put a couple of people behind it when it came out, or at least encouraged some 20% projects. That never happened.

And it's perfectly fine. Nobody cares about the TIOBE index. Scala faces plenty enough of challenges within its core ecosystem, nobody would gain anything from targeting the Android runtime and SDK on top of that. Exactly the same way Spring developers don't give a damn about Android.

> Apparently not via investing in tooling, though?

That's a pretty ignorant comment given the amount of work that was delivered since the creation of the Scala Center.

> What do you mean?

There's a big difference between having to convert all the common data structures between Scala and Java, or simply reusing them, like Kotlin does. Plus, Scala's idiomatic usage of Option is fundamentally incompatible with libraries taking and returning nulls everywhere. Google made Kotlin first-class without having to break the entire SDK. That's a pretty huge reason Scala never stood a chance.

comment 4y ago · link · parent

It's unfair to put that on Typelevel, but anyone can look up why it exists and judge for themselves.

However, Li Hayoi's libraries aren't a silver bullet. I could also argue something like "if I wanted to write exeception-throwing Java code, I can do it in Java." I use http4s/fs2/CE because of the better ergonomics, and I never needed to learn what a Free monad is.

comment 4y ago · link · parent

I'm not going to try to explain why developing and maintaining tooling takes resources.

However, a few things:

- Lightbend isn't involved in Scala 3.

- Martin Odersky has taught students for decades and knows how to make Scala more accessible. He wasn't afraid of stirring controversy with new keywords and the brace-free syntax. He also has enough industry experience and connections to realize what matters for the ecosystem in the long run. Server middleware and big data frameworks are the perfect fit for Scala on the JVM. There's no evidence for some kind of missed opportunity between Android and Scala.

- Scala's standard library is rich, heavy, focused on immutability, and not always interoperable with Java's. Kotlin's standard library is very small and heavily inlined in comparison. On a mobile platform, this matters.

comment 4y ago · link · parent

I think you're vastly underestimating the amount of work required to support a platform like Android. How many people are directly employed by either JetBrains or Google to work on the Android + Kotlin story, vs the total number of Typesafe/Lightbend employees at its peak... which has always been burning through VC money and is financially struggling even after focusing on their core knowledge domain.

> (Also, what do you mean about convincing Google?)

Google decides what Android becomes or not. What makes you think they would have been interested in Scala in the first place? Even if someone did the integration work for free (which is an insane premise), Google likes boring languages. Plus, Scala's standard library is somewhat at odds with a fast and lean mobile runtime.

comment 4y ago · link · parent

It is.

comment 4y ago · link · parent

Highly academic libraries, because of course companies like Comcast or Disney Streaming are universities.

comment 4y ago · link · parent

I really wonder why every time Scala is discussed on HN, someone wants to rewrite history about some mythical synergy with the Android ecosystem. This is so bizarre.

In what world would Typesafe/Lightbend have found the money and resources to pull off even a fraction of what Jetbrains did with Kotlin? Let alone convince Google.

On the other hand I'm very happy Scala isn't tied to the Android runtime.

comment 4y ago · link · parent

I don't think the community was allowed to move on. JdG has repeatedly behaved like an asshole and poured fuel on the fire with Typelevel people who never cared about that original LambdaConf drama and his feud with Travis. Instead of moving on, he decided to make more ennemies, to the point several library maintainers don't want to touch anything even remotely related to Zio.

comment 4y ago · link · parent

The irony here is that the dependency hell within pure Scala libraries has improved tremendously and is not really a problem anymore, yet we need to deal with many binary compatibility issues due to transitive Java dependencies.

Things that regularly cause issues, for instance when assembling JARs that get shipped to a Spark cluster at work: Guava, Jackson, Kryo, Log4j, Hadoop's transitive dependencies (like Netty) ... not Scala's fault.

comment 4y ago · link · parent

Give Mill a try.

You need to realize the Scala ecosystem is not monolithic. Things are mostly fine if you stay within a corner, but can get complicated when you start mixing dependencies from multiple domains. I think that is true for many languages. The JVM ecosystem is rich, and that comes at a price.

comment 4y ago · link · parent

From what I read about the EPR fiasco in France, Finland and the UK, there are always many contractors and subcontractors involved. Some delays were due to a real lack or loss of industrial knowledge and tooling (many components of the EPR are considerably larger than those of previous reactor designs) which can explain poor procurement choice, others are more easily explained by construction companies that were just not up to the task, when it's "just" faulty concrete or welding.

comment 4y ago · link · parent

Certainly, but this is mostly a self-inflicted problem in the EU. Everything that is procured through a public tender gets done by the lowest bidder.

comment 4y ago · link · parent

Taishan proved you can build EPRs near cost and time estimates. EDF has promised a simplified design for the EPR2 (after learning from 20 years of mistakes) but it's probably not going to fix the sad state of our nuclear industry in Europe, suffering from a lot of internal and external inefficiencies.

comment 4y ago · link · parent

€100/MWh surely beats having to choose between recent gas spot prices or shutting down your economy.

comment 4y ago · link · parent

It's an issue everywhere you rely on data that's not purely static, but evolving too slowly to treat it as dynamic.

The Y2K problem was entirely preventable in comparison. Timezones will keep changing erratically.

1
171819
49