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

Interesting.

I had never gotten any spam via RCS until this year, and it's been in relatively small numbers compared to WhatsApp, Telegram, and mostly SMS which stays the top spam vector for me. In any case, Google Messages spam filtering works incredibly well.

comment 2y ago · link · parent

Ha, I admit last time I worried about custom ROMs, I was using a Nexus 5.

I think it's a lost cause and not only because of RCS, see also banking applications. On the other hand, even a $200 Galaxy A gets 4/5 years of updates today, which benefits the vast majority of customers a lot more than an unlockable bootloader.

303.

The Confusing State of RCS(substack.com ↗)

74 points · by hocuspocus · 2y ago · 85 comments

comment 2y ago · link · parent

> The naive way to do so would be via a static mapping of state to time zone but there are a few edge cases that preclude doing this

More than a few, state is really the wrong resolution here, US timezones follow counties and native reservations borders.

ZIP codes should probably be good enough but I'd be careful too. If your volume of addresses isn't too crazy, the robust way is to reverse geocode them and use a library that gets you the IANA identifier from timezone shapes.

https://github.com/RomanIakovlev/timeshape is maintained by a former coworker who could open source some of the work we did internally.

comment 2y ago · link · parent

USB-C monitors with a bunch of A ports (so, not from Apple) are pretty handy if that's important to you.

comment 2y ago · link · parent

There are initiatives like declarative Gradle or JetBrains' Amper. But I assume they'll hit a wall in real-life exactly like Maven does. Think about packaging for instance, I see at least 4 or 5 different ways that are fairly common, and that's for one target only.

comment 2y ago · link · parent

Mill's early goal was to be a saner sbt, incidentally also fixing the parts of sbt that are/were unreasonably slow due to questionable design decisions.

Maven has never been relevant to the Scala ecosystem given most of the community has pretty much moved straight from ant to sbt. Only a few Spark related projects stubbornly use Maven, which is a major pain given the lack of cross-building abilities. Slow dependency resolution and inefficient use of Zinc merely add insult to injury.

comment 2y ago · link · parent

It's clearly a niche segment...

On one hand, companies willing to spend more than $250 on monitors will rather give you a 32" ultra-wide, because that's more useful to the typical office monkey worker.

On the other, the PC enthusiast customer base is almost synonymous to gamers, who'd rather want high refresh rates than a silly 5K resolution they cannot use.

comment 2y ago · link · parent

Scala CLI has replaced the default runner since Scala 3.5, so you can effectively do `scala run`, `scala fmt`, and so on. On the Java side, I believe JBang provides a very similar developer experience.

Fundamentally it's hard to reconcile both worlds though. Building non-trivial multi-module projects on the JVM is inherently complex especially when you throw in multiple build targets, multiple toolchains, multiple platforms...

With simpler build tools (like in Go or Rust) you shift this complexity elsewhere, typically in a Makefile and/or a Docker/OCI based build pipeline, and these can get pretty complex too. Let alone distributed build tools like Bazel.

- https://scala-cli.virtuslab.org

- https://www.jbang.dev

comment 2y ago · link · parent

There is no reason it would not: https://github.com/alexarchambault/mill-native-image

comment 2y ago · link · parent

This is not ideal, because within the same occupation, not every industry can afford paying the same salaries. Such policy would disproportionally favor high margin companies: adtech, tobacco, oil, finance, ... Arguably not the ones you should help get access to top engineering talent.

If Indian IT consultancies abuse the system, maybe the US should try to understand why there's such amount of unmet demand for cheap IT labor that cannot be offshored.

comment 2y ago · link · parent

The RoR hype started to wane long before React. You're really missing a huge part of our industry:

- While most 2nd or 3rd tier tech companies don't need Google scale infrastructure, SOA in Java/C# and then Go is incredibly prevalent. Many teams never had a reason to even look at RoR and its considerably worse language and runtime.

- Good ideas from RoR were copied by pretty much every ecosystem; again, most people never wanted Ruby in the first place.

- Plenty of small web shops simply stuck to PHP.

comment 2y ago · link · parent

Ah, good point, I agree regarding the taste, I enjoy proper espresso or go the other extreme (filter, pour-over).

Over extracted, pressurized espresso with capsules or even most semi-autos is disappointing.

comment 2y ago · link · parent

Following Nespresso's own recommendations, the shortest program is still pulling 25 ml through <6g of coffee.

A far cry from a proper 1:2 espresso, let alone ristretto.

comment 2y ago · link · parent

I haven't really seen those in the wild yet.

On the other hand there are plenty of cheap original Nespresso machines pretty much everywhere in Switzerland. In some countries Nestlé was virtually giving them away around 2010~2015. Shortly after, some patents expired and third party brands started selling plastic capsules, and Nestlé had to fight back and make their machines work poorly with these!

As far as I know all patents have expired now, and a few third party brands sell 100% compatible aluminium capsules.

comment 2y ago · link · parent

They're serious about recycling, but many consumers are not.

I'm in Switzerland where recycling Nespresso pods couldn't be easier, and we barely reach a 2/3 recycling rate. US and global rates are much lower.

If Nestlé hadn't crippled their machines on purpose, I'd think third party plastic capsules might be a better option in Europe at least, since they end up in waste co-processing.

comment 2y ago · link · parent

> All of Big Tech

Define all? Because that looks more like maybe half to me, at best.

comment 2y ago · link · parent

If you're looking for more modern notebooks supporting Scala (and Spark):

- https://almond.sh

- https://polynote.org

Toree is mostly dead but might also get a Scala 2.13 release now that Spark 4.0 is approaching.

comment 2y ago · link · parent

Then why doesn't Elon push back against blocklists from the UAE, Turkey, Russia, ... Are those governments less authoritarian than Brazil?

comment 2y ago · link · parent

What are the obscure methods in the standard library?

Kotlin has grown into a much quirkier language overall, its grammar is significantly bigger than that of Scala.

comment 2y ago · link · parent

Regarding structured concurrency: https://github.com/softwaremill/jox

Some part of the Java (and C#) mindset won't change but you can keep the annotation soup to a minimum with modern compile-time libraries (see Avaje, Helidon, ...)

I personally have a bigger issue with how annotations are used in Spring for instance, I don't understand why so many people tolerate stringly typed configuration that gets loaded at runtime.

comment 2y ago · link · parent

... which is the exact opposite of being "the first".

comment 2y ago · link · parent

Kotlin isn't the first language offering any of these features, not even remotely.

Even if you look only at the JVM: Scala is much older.

comment 2y ago · link · parent

Great languages don't exist in isolation.

Kotlin without its main platforms (JVM and Android) and the ecosystem of Java libraries doesn't stand a chance against the current landscape of modern hybrid languages. Unless something major happens on the WebAssembly front maybe, but even there I don't see how Kotlin would be particularly well positioned.

comment 2y ago · link · parent

That's not a thing. Do you seriously believe OEMs would ship a 4G/5G modem and bundle an unlimited data plan with low margin consumer electronics, just to earn a few dollars per year from ads?

comment 2y ago · link · parent

Funnily enough when my infra team talked to AWS solution architects about this topic, it seems they were very upfront: don't touch CodeCommit, AWS/Amazon teams mostly use GitLab internally. And we do have a partnership plus discounts conditional to minimum usage volumes.

comment 2y ago · link · parent

His salary is more like €55k though.

It's comfortable outside of Paris and other expensive cities. But he could easily double that given his background. Before quitting his job he already worked with Play and the Typesafe (now Lightbend) stack before the peak of its hype, when companies were paying top dollar for consultants.

comment 2y ago · link · parent

I am not, that's why I said employees not devs.

comment 2y ago · link · parent

I don't know him personally but from the talks he's given, he seems to be ideological about Lichess and his own lifestyle, in a way that would be considered fairly anti-capitalistic by most of the HN crowd :)

comment 2y ago · link · parent

/li:/ as in libre.
1
101112
49