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

Unicomp had piqued my interest when the first rumors about a new SSK were brought up 10+ years ago. Today I'm a bit with other posters in this thread, regarding the design and build quality. When it finally comes out, I don't think I'll buy one.

In 2021 you can buy much, much better keyboards. I really enjoy my Leopold with PBT keycaps and Cherry silent red switches, even more than my expensive Topre Realforce

comment 5y ago · link · parent

From what I've gathered when interviewing and the public data you can find on levels.fyi, Spotify doesn't pay their Stockholm employees very well, even by European standards.

comment 5y ago · link · parent

The core difference is that Cats Effect is a fairly extensible effect type, with a full type class hierarchy. It's easy for compatible libraries to use and provide only what they need.

JDG argues against the "tagless final" pattern and brings some valid points, but in practice they aren't a problem if you don't overdo it. So in my case, I don't see the appeal in switching to a less mature ecosystem, at least based on this premise alone.

Before using Cats Effect/http4s/fs2/... I worked a few years using the Akka ecosystem (Play and then Akka http, streams, clustering, event-sourcing, ...) and while the underlying technology is solid, I was not a big fan of the experience overall. To me, the Typelevel ecosystem has mostly figured out what Scala should look like today.

If people find an answer in Zio, that's great, it doesn't have to be zero-sum.

comment 5y ago · link · parent

One big reason, maybe the biggest, to write Spark jobs in Scala and (not move to pyspark) is code reuse between different components. My team maintains a fairly sizeable library that is common to our Spark jobs and several web services. Spark is a library dependency if you do anything remotely complex with it and it can easily creep up everywhere if you aren't careful.

Decoupling modules isn't always obvious in a codebase that's grown organically for 6-7 years now (long before I joined) and the cohabitation with Spark is inevitably going to cause some pains. A couple examples:

- Play-json codecs aren't serializable (ironically enough, Circe, the "hardcore Scala" library is).

- Any library that depends on Jackson is likely to cause binary compatibility issues due to the ancient versions shipped with Spark. Guava can be a problem too. Soon enough you'll need to shade a bunch of libraries in your Spark assembly.

- We have a custom sparse matrix implementation that fits our domain well, it was completely broken by the new collections in Scala 2.13. It makes cross-publishing complicated if I don't want to be stuck to Scala 2.12 because of Spark.

comment 5y ago · link · parent

I have no problems building the things I want using libraries based on Cats Effect.

comment 5y ago · link · parent

This is a false dichotomy. You'll run into all sorts of pain and frustration as soon as Spark touches your codebase, no matter what kind of Scala you're writing.

comment 5y ago · link · parent

Nowadays many libraries in and around the Typelevel ecosystem work well together.

There seems to be a real demand for the Zio ecosystem and I wish it all the success it deserves, but its opinionated approach doesn't necessarily solve a problem that people have.

comment 5y ago · link · parent

> Just specify URL and let your build tool download library there.

All build tools let you do just that. Many companies set up internal mirrors and encourage/force employees not to use Maven central and third party repositories. In fact, Maven central will blacklist IPs that generate too much traffic.

comment 5y ago · link · parent

Here you go:

`import cats.implicits._`

Done.

And once you start understanding the typeclass hierarchy a little bit, finding the specific syntax and instances comes pretty naturally.

comment 5y ago · link · parent

1) You probably cannot borrow from the central bank.

2) Your retail bank has to make money in one way or another, we haven't seen negative effective rate on personal loans yet, especially on small loans.

comment 5y ago · link · parent

In recent Java versions, there's roughly 20% of external contributions:

https://blogs.oracle.com/java-platform-group/the-arrival-of-...

Oracle seems to pursue GraalVM EE as a way to monetize Java. It would be insane for them to change the license, piss off companies with deep pockets, risk a hard fork and see most employees working on the JDK leave.

comment 5y ago · link · parent

The infrastructure for fast charging is expensive and the ROI isn't obvious, EVs being charged at home/work most of the time.

comment 5y ago · link · parent

The story is a little bit confusing.

Leaving the EEA, the interchange paid to debit and credit card* issuers is indeed not capped to respectively 0.2 and 0.3% anymore. Banks can decide to charge more, but that is not different from say, purchases with Swiss or US credit cards that happen in the EU. Merchants and payment processors have to deal with that. Whether they can pass on the fee to specific consumers, I believe that depends on countries and competition laws. The issue here is that the EU prohibits card payment surcharges, which makes MC and VISA very happy.

But back to the initial topic, what's MasterCard's real involvement in pushing for interchange increase? Their own fee isn't concerned by this cap anyway. And from what I understand, it's very small compared to the part going to payment processors. Why would they initiate the move? I'm sure banks are very well aware of regulations going away and opportunities to charge more fees.

* Only 4-party schemes, non-business/corporate cards.

comment 5y ago · link · parent

They don't even need Carrier IQ, they can use Minimization of Drive Tests, it's part of 3GPP standards.

But even using timing advances, if the cells aren't too big, you get a pretty reasonable accuracy.

comment 5y ago · link · parent

I assume they cannot even supply enough parts to fill the demand from laptop OEMs .

I also wish I could replace my desktop PC with an H-class CPU setup. The iGPU is enough for my needs, but I could definitely use the 8C/16T in a reasonable power envelope. Intel might do it, but it's probably be going to be a very expensive NUC platform targeted at gamers that also want a dGPU. In the end it's cheaper and easier to build a mini-ITX setup using desktop parts...

comment 5y ago · link · parent

Netflix won't but I wouldn't take my chance with the average Germany company.

I assure you that an insurance or telco will send unpaid bills to collection agencies. Especially if we are talking about one or two years of service.

comment 5y ago · link · parent

> You often don’t subscribe by credit card but by bank account (you authorize them to pull money from your account)

It's a good thing actually, reverting a SEPA debit takes two clicks. But indeed, cancelling payments is definitely not a way to get out of a contract.

comment 5y ago · link · parent

> But unpaid subscriptions don't magically become debt.

There are things called debt collection agencies. They are widely used by service providers.

comment 5y ago · link · parent

In many European countries the infection curve literally plummeted in May, long before anyone could have possibly replenished their levels naturally, some being under strict lockdown.

comment 5y ago · link · parent

See Jevons paradox. More car traffic is not something that the average city resident wishes for.

comment 5y ago · link · parent

If you live in a city, more cars isn't a dream, sorry.

comment 5y ago · link · parent

The self-driving taxi fleets of tomorrow are just today's Uber without the exploitation of gig workers.

As many cities have observed, cheap on-demand rides are not an improvement on traffic congestion, quite the opposite.

comment 5y ago · link · parent

I don't think many people who got a job at these companies used CLRS to prepare for the interviews. At least not the ones I know. There's a reason leetcode is so popular. In my own experience you really need to know how to solve the typical easy/medium questions quickly, interviewers themselves don't really want to ask hard questions. The infamous CTCI covers them, EPI is better from what I've heard.

comment 5y ago · link · parent

They did charge iOS users a one-time fee, iirc.

But yes as an early Android adopter, I was a bit surprised I never had to pay the yearly $1.

comment 5y ago · link · parent

The volume tied to mortgages is high compared to other countries because you can essentially keep 2/3rd of the debt forever, and even more if you indirectly amortize through your pension fund.

comment 5y ago · link · parent

The housing market in Japan is very different:

- There's no shortage, rather the opposite, even in urban areas that are still growing in population.

- Housing value typically only depreciates over time.

In Switzerland, real-estate mostly belongs directly or indirectly to pension funds. This creates all sorts of wrong incentives.

comment 5y ago · link · parent

If my memory serves well, when 40+ GB HDDs started being common, you were either using Windows 2000 and NTFS already, or it was probably a good practice to have several partitions, given the overall unreliability of Windows 9x and the not so infrequent clean reinstallations. And then came Windows XP and the issue was moot.

It's a bit of a shame Microsoft didn't push and open up exFAT earlier and allowed FAT32 to become an issue again, only with removable flash drives and memory cards this time.

comment 5y ago · link · parent

Ericsson.

SKT: https://www.ericsson.com/en/cases/2019/sk-telecom-has-switch...

KT: https://www.ericsson.com/en/cases/2019/korea-telecom-has-swi...

LG U+: https://www.ericsson.com/en/press-releases/2019/10/koreas-lg...

comment 5y ago · link · parent

I don't really see how that would work. The Sony XM3 and Bose QC35 II were regularly under €180 (VAT included) in the past days. Who's going to suddenly pay more than twice for the same?

And the original Nexus was expensive. So was the original Pixel. You can't really draw any conclusions from Google's inconsistent smartphone lineup and pricing over the past decade.

Cheap Nexus phones: 4, 5, maybe the 5X if you waited a bit.

Expensive Nexus phones: 1, S, Galaxy, 6, 6P.

Expensive Pixel phones: all of them except the 'a' line, sometimes ridiculously so given the poor experience.

comment 6y ago · link · parent

Maybe it simply doesn't economically make sense for Qualcomm and even less so for Samsung. Their SoCs equip a lot more entry-level or mid-range low-margin phones, compared to Apple.

There might be the need to make more powerful, desktop-class SoCs in the future if Google and Microsoft push for that. But I imagine the real competition will come mostly from the server market for now. Unless Nvidia starts making beefier SoCs, maybe the upcoming Orin.

1
262728
49