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 5y ago · link · parent

I deleted my comment that was essentially saying the same. For once, USD's extra-territorial jurisdiction could definitely be put to good use. I don't understand why big political parties haven't thought of that. It's an easy win, and it would bother an insignificant portion of their voter base.

comment 5y ago · link · parent

All high-end monitors very much have DP ports. Same with graphics cards.

comment 5y ago · link · parent

Who would want four HDMI ports but zero (mini)DP?

comment 5y ago · link · parent

The business plan submitted by OVH to the bankruptcy court says the monthly subscription will need to be raised to $25 in hope for profitability within 3 years.

It seems inherently complicated to provide the required CPU and GPU resources in an elastic way, when most gamers play at the same peak hours.

comment 5y ago · link · parent

It isn't for the sake of it, breaking source compatibility would have been a major annoyance.

comment 5y ago · link · parent

It is still completely irrelevant to Java's evolution since Java 7.

comment 5y ago · link · parent

I think it's less true nowadays. You have beginner's books (Scala from Scratch, Hands-on Scala) that assume nothing, and more advanced libraries (in the Typelevel or ZIO ecosystems) that provide high-level abstractions for real world projects. You can't entirely avoid being exposed at some point to the JVM inner workings and/or Java libraries that don't necessarily play well, but this doesn't have to happen right away.

comment 5y ago · link · parent

And they were in Scala, Groovy, C# ... before Kotlin was even a thing. There's zero evidence people on the OpenJDK governing board care about Android at all, rather the opposite.

comment 5y ago · link · parent

I still don't see how Kotlin is involved. People drafting JEPs are well aware of how modern languages, including the ones running on the JVM, have evolved in the past decades. Kotlin is pretty late to the party and hasn't really brought anything new to the JVM (by choice), except for coroutines maybe.

Edit: see pron's comment below.

comment 5y ago · link · parent

http://dotty.epfl.ch/docs/reference/metaprogramming/inline.h...

But it's there for meta-programming purposes, not micro-optimizations. I don't think trying to outsmart the JVM at inlining is worth it.

comment 5y ago · link · parent

How so? Kotlin doesn't even have proper pattern matching.

comment 5y ago · link · parent

In no particular order:

- If you're at least a little familiar with Java, Scala for the Impatient is pretty good, though a little dated (I think the last edition covers Scala 2.12).

- Daniel Westheide's blog: https://danielwestheide.com/books/the-neophytes-guide-to-sca...

- https://www.scala-exercises.org (at least the part on the standard library).

- https://www.handsonscala.com

Note: Scala 3 introduces quite a bit of new syntax that is specifically designed to make intimidating features less so. But at the beginner/intermediate level it won't matter too much, for instance if you learn how to implement typeclasses the old way, you'll easily understand the new syntax. Also the Scala Center has committed to providing a lot of training material along with the Scala 3 release.

comment 5y ago · link · parent

So, some VP at a fraud prevention company recommends merchants to avoid using 3DS and use a fraud detection platform, got it.

I don't know if we can find better data somewhere else but I would assume that abandonment rates will decrease thanks to PSD2:

- SMS tokens are finally on their way out; more and more people are installing their bank's mobile app, which is used as the second factor (you get a push notification, you have to unlock and accept the transaction).

- We'll see some harmonization across EU/EEA merchants. No more cases of "the German website doesn't trigger 3DS but the French one does".

comment 5y ago · link · parent

Their nominal tax rates is not the issue. Allowing entire profits realized in EU to leave to the Bahamas through layers of companies incorporated in Luxembourg/Ireland/Netherlands is.

765.

HubiC (OVHcloud) acquires Shadow [fr](nextinpact.com ↗)

1 points · by hocuspocus · 5y ago · discuss

comment 5y ago · link · parent

> €42k

Note that a competent full-stack Scala developer like Thibault can easily make €70-80k at a French company while working mostly/fully remote. And even more so going into contracting and/or working for foreign clients.

He has his own reasons, working on his own thing being a huge one obviously, but he could definitely make more and keep a similar lifestyle.

comment 5y ago · link · parent

Plenty of things are simpler and easier to read in Scala really: lambdas, constructors, case classes, named and default arguments, for comprehensions, collections, operators on non-primitive types, ...

Sure, you can find libraries using complex type-level machinery, macros and so on. But wading through complex Java libraries that overuse OO design patterns isn't particularly approachable either.

comment 5y ago · link · parent

> - Korean names. Unless they're into trendy foreign names, both the given name and surname will have hanja chosen.

Not necessarily true anymore. My wife has a completely made up given name that has nothing foreign: just two plain hangul characters without meaning on their own.

comment 5y ago · link · parent

For most people, not really. You don't study how to solve leetcode questions on a whiteboard during a typical DS & algo class. The more serious and advanced the class, the farther it'll be from interview questions really. And even if you prepared well at some point, how long can you be good at it without regular practice? The day job of a software developer rarely requires reaching for clever algorithms.

comment 5y ago · link · parent

And how much public and private debt creation was needed behind these growth numbers?

comment 5y ago · link · parent

IT services companies that work on government contracts in Switzerland are much smaller.

And they're usually pretty competent, especially the few ones that work for the federal government.

comment 5y ago · link · parent

Are there big companies still doing untyped JS at scale out there?

I'm not a frontend person and I always disliked dynamic type systems. But I vaguely remember the skepticism when Angular moved to TS. To me it made a lot of sense that most projects at Google, MS and the like would hugely benefit from a language that is kind of a C# on the JS runtime. And in 2021 I see TS pretty much everywhere, but maybe I'm missing something?

comment 5y ago · link · parent

Networking is also a binary world, yet nobody is using binary prefixes.

Storage manufacturers have been using decimal prefixes for decades, you should probably get over it at this point.

comment 5y ago · link · parent

Go to a car dealership or real-estate agent and tell them they'll now have to pay $30 on every transaction, and see how it goes.

comment 5y ago · link · parent

No, it is not. I've lived in several countries/continents in the past decade. So did many friends. We used traditional banks and newer players like Transferwise. Using BTC or any other shitcoin would have been less practical, riskier and more expensive, when not downright illegal (some countries control and limit capital outflows).

comment 5y ago · link · parent

> A small town in Africa is hard and costly.

And what does BTC solve in this case exactly? You think places that lack the infrastructure to receive a SWIFT transfer will use BTC for anything practical?

comment 5y ago · link · parent

It certainly matters. Wiring 50k to buy a car or 500k to buy a house costs me literally zero, and maybe a few cents on the receiving end. Why would anyone be willing to pay 100x more?

comment 5y ago · link · parent

I believe you can be fairly experienced and realize there are many parts of the language and its ecosystem that you don't completely understand. For instance in Scala, I've never written any macro or used something like Shapeless in depth.

Spring is a good example too. I used it quite a bit in my junior years and felt like I would never come to master a framework that is so broad (and that felt over-engineered).

This doesn't mean you cannot be productive using a subset of the language. There's a balance in what you should allow in a codebase being maintained by a team of varied skillset. Maybe Haskell is on the extreme end here, but the other way (like Python, JS, Go) is even worse in my opinion.

comment 5y ago · link · parent

Thanks, I didn't know!
1
252627
49