Better HN
topnewbestaskshowjobs
Log inSign up

curious145454

17 karma · joined Sep 22, 2022 (4y ago) · 6 submissions

Submissions

comment 3y ago · link · parent

Are there any alternatives for KDE/Wayland?

comment 3y ago · link · parent

Does anyone find "Activities" a poor naming choice? I'd rather see Gnome's logo there, or simply nothing (https://extensions.gnome.org/extension/744/hide-activities-b...).

comment 4y ago · link · parent

Yes, it pretty much depends on what and how you're trying to compile. Incremental complication helps a lot, as does keeping sbt shell open and not restarting sbt each time.

In other news: now, there's scala-cli for smaller projects — https://scala-cli.virtuslab.org/docs/guides/scala-js

comment 4y ago · link · parent

I don't see anything in ReScript that hasn't been already covered by https://www.scala-js.org

Am I missing something?

comment 4y ago · link · parent

Apparently, there's another meaning to word "simpler", of which I'm unaware :D

comment 4y ago · link · parent

> This takes a bit more code to implement, but provides a simpler API for users.

I fail to see how hiding self.send() inside of IntoFuture makes anything simpler.

StorageRequest::new().set_debug(true).send().await?;

vs

StorageRequest::new().set_debug(true).await?;

Just reading the later variant makes me wonder "What are we (a)waiting for here? For set_debug to succeed?". I'd definitely stick to the former variant.

Perhaps, it's just not the best example and there are better usages than the one chosen to illustrate it.