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

I think we can reasonably assume RCS is used by Google to attack on both fronts: iMessage in the US and other countries with high iOS penetration, Whatsapp and other cross-platform messenger services in the rest of the world.

But while carriers and Android OEMs might be on board, I don't really see why Apple would bother, short of being forced. Maybe that's part of the strategy.

comment 6y ago · link · parent

Is it fascinating, or concerning and scary?

Tell me if I'm wrong, but low quality papers get published all the time, in all domains. But nobody cares about Rust vs Go in the current crisis.

Then the media take results at face value because they're constantly looking for breaking news, they give a platform to people with strong opinions rather than nuanced ones (good scientists probably don't have time for that anyway). It seems only logical that the general population has a misguided and emotional interest in the topic, especially when it has disrupted the life of so many.

comment 6y ago · link · parent

> “It is hard to find an example of quackery that has spread so far, influencing the public health response to a deadly pandemic and creating widespread confusion across the entire globe.”

It isn't hard: the Lancet has published a completely made-up study written by an unknown team, before they retracted the paper. If I wanted to fuel conspiracy theories, I don't think I could come up with anything better.

comment 6y ago · link · parent

Java is mostly ready, Microsoft and Azul have published builds and they're in the process of pushing the patches upstream to OpenJDK.

comment 6y ago · link · parent

It doesn't seem to be rich vs poor countries in this case. The Moderna vaccine is expensive. Too expensive, even for some developed countries that rejected it as an option.

If the US government is happy to hand out billions in funding and then pay a high price for the doses, why would a private company not take advantage of this?

Somehow the EU/UK convinced AstraZeneca to sell the Oxford vaccine at production cost.

comment 6y ago · link · parent

> It is by far the most advanced operating system which serves newbies and professionals alike. I know people who use it to browse Facebook and use Messages/Music/Safari etc and those who use it to manage servers, build apps, and more.

Advanced according to what metric exactly? And your second sentence can be said about Windows or any modern OS really.

comment 6y ago · link · parent

I don't understand your argument at all. You realize Apple does put dedicated AMD GPUs in their Macbook Pros?

The Radeon Pro 5600M with 8GB of HBM2 has a pretty significant power envelope, and is coupled to 6 or 8 core Intel H series that are equally power hungry.

The fact 16" MBPs are undercooled is beyond the point. Apple ships laptops with a ~95W TDP. Why would they not ship a SoC with 16/24/32 graphics units for high-end laptops and iMacs?

comment 6y ago · link · parent

I haven't said anything about Apple GPU architecture being a miracle fanless technology. Right now they ship SoCs with 7 or 8 graphics units, what happens when they put 64 of them?

Look at the architecture of AMD SoCs in the PS5 and Xbox. Obviously Apple cannot get away with unified memory in the higher-end machines, but what would make them prefer an AMD dGPU when it seems they have everything they need internally. Again, assuming the GPU scales well.

comment 6y ago · link · parent

> I also await their on dGPU solution.

Genuine question from someone who doesn't know hardware architecture that well:

It seems clear that we'll see non-PoP variants of their SoC's, for instance to support multiple RAM configurations in the high-end models.

However, at this point, if Apple's own GPU scales well, should we except 3rd party dGPU at all? Can't Apple ship SoCs with multiple times the M1 core count and graphics units, package 8 or 16GB of fast memory (GDDR or HBM), and call it a day? They're going to push their own software stack anyway, why bother with AMD GPUs fabbed on a previous generation TSMC process.

comment 6y ago · link · parent

The bootloader and GPU mostly.

comment 6y ago · link · parent

What newer version are you thinking about?

Intel 11th gen H series are nowhere near available.

comment 6y ago · link · parent

Both JetBrains and the Scala center have invested in the tooling experience in the past 2-3 years, you should give it a try again!

And I don't think I've encountered implicit conversions that often in the ecosystem.

comment 6y ago · link · parent

> How does my editor let me know that function receives that parameter without me going "???" and having to go into its definition?

IntelliJ has been able to do that for a while now.

> Implicit conversions fall into the same category, of making code pretty to look at, quick to write, and a nightmare to understand when you're new to a codebase.

Don't do it, and don't allow it in your codebase.

comment 6y ago · link · parent

I think Lucid (the charts, not EVs) use these internally: https://github.com/higherkindness/rules_scala

And they support Scala 2.13

comment 6y ago · link · parent

I was curious about the availability of a 5700X but it's just a typo in the headline. I'm waiting for a 65W 8C/16T variant.

comment 6y ago · link · parent

I don't exactly see how Rust can replace Scala where Scala is mostly used today. Or even Swift, despite Apple being more serious on the server-side roadmap lately and hiring a bunch of people from the JVM world.

Kotlin doesn't bring anything new and is full of ad-hoc design decisions, and Java itself is catching up (and even potentially surpassing it, see pattern matching for instance). I don't think it's a huge threat. Sure you'll see people who didn't really understand the point of Scala move to Kotlin because they just wanted a better Java really, and Kotlin does that well. But I think it's been clear that Scala shouldn't try to pursue this goal, for the past 5 years at least, after the hype around Spark cooled off.

I'm happy that Scala 3 is focusing on the biggest pain points. I'm also quite happy with the resources that have been added behind the tooling and ecosystem lately. The Scala center wouldn't exist if there wasn't a real demand for improvements in the mid to long-term future.

comment 6y ago · link · parent

> For example, using Http/JSON/Database libraries have always been a lot harder than they need to be due to a die hard approach to pure FP.

Hu? There are plenty of alternatives to the pure FP ecosystem.

HTTP: Dispatch, Requests-Scala, literally any Java client if that's still too FP for you

JSON: uPickle, Play JSON, or simply Jackson

DB: ScalikeJDBC. Quill and Slick do a lot more but are not particularly die-hard FP either.

comment 6y ago · link · parent

Of course, general purpose languages have their limits and I'm not arguing that Scala can do everything. But it certainly can do a lot more than Rust (and its C/C++ interop) at the moment.

And I have no problem with the JVM interop. As long as you don't try to write Scala libraries that need to be consumed by Java applications, everything just works really.

comment 6y ago · link · parent

> Rust which simply has a wider applicability area

Rust is a great language but that's a pretty insane statement. The ecosystem is still tiny compared to the JVM.

comment 6y ago · link · parent

Yet plenty of big companies manage to ship software written in Scala just fine.

comment 6y ago · link · parent

It seems they are supplied by CATL, like all western automotive groups that are manufacturing in China.

comment 6y ago · link · parent

Is the Spring assembled in Romania though? Or is it simply a rebranded City K-ZE? I assume that at the very least, batteries are made in China.

comment 6y ago · link · parent

Edit: hum, I think that clear case does have magnets in the circular strip?

But the bezels don't look particularly narrow to me... Why would it be harder to make a case for the new iPhones that slightly wraps around the edges, compared to a 2017 Essential phone for instance?

comment 6y ago · link · parent

I see at least two: boot loader and GPU drivers. Who's going to write them?

comment 6y ago · link · parent

The Blue Brain Project belongs to EPFL and is entirely funded internally; it's about 2% of EPFL's budget.

I'm not qualified to speak of the science behind the HBP but I know that a few labs in China and in the US (like the Allen institute) see some value in it. It's a big engineering project and maybe the end goal and result isn't what's important here. Pretty much like CERN.

comment 6y ago · link · parent

In practice we're pretty far from that. Most statically typed languages, even fairly recent ones that took on LSP compatibility early, are still better supported by JetBrains' IDEs.

comment 6y ago · link · parent

If you live in a touristic city, it's not the main reason, no... But even if it were, how's that supposed to be an argument in favor of AirBnB?

Of course residents want tourists and visitors to stay in hotels or serviced apartments, and the city to collect taxes.

comment 6y ago · link · parent

The biggest competitor to IntelliJ IDEA Ultimate is their own Community Edition; I don't think they're seriously afraid of VS Code in the JVM languages space (JS is another story obviously).

comment 6y ago · link · parent

This is a pretty one-sided recollection of events. The main issue was caused by actix-web's adoption outgrowing the original author's goals. It should have been a good thing and there were better ways to deal with the situation, like encouraging the community to fork the project. (And what happened in the end is the opposite, he forked his own projects and clearly labeled them as being personal).

You cannot have it both ways, if you create an org on GitHub, a website, speak as a team "we"... seeing adoption will bring some expectations from your users and contributors, that are typically not just to beat other frameworks at TechEmpower benchmarks. I don't think many people want to use a performance experiment.

To be clear, I'm sure he also received a lot of unwarranted criticism, but that happens everywhere. It doesn't justify being hostile to legit contributions.

comment 6y ago · link · parent

Oracle doesn't offer a standalone JRE anymore. Several OpenJDK distributions do (Adopt, Azul, RedHat, Debian, ...) and I assume the version 15 builds will be available soon.
1
272829
49