News for hackers. Stuff that matters.

curious145454

Re:Vim-like “jump” cursor for Mac OS Window Management on Wednesday April 05, 2023 @10:30AM (#35454883)
Are there any alternatives for KDE/Wayland?
Re:GNOME 44 on Thursday March 23, 2023 @08:30AM (#35273669)
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...).
Re:ReScript 10.0 on Thursday September 29, 2022 @07:55AM (#33019324)
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

Re:ReScript 10.0 on Thursday September 29, 2022 @07:35AM (#33019146)
I don't see anything in ReScript that hasn't been already covered by https://www.scala-js.org

Am I missing something?

Re:Rust 1.64.0 on Thursday September 22, 2022 @11:29AM (#32940286)
Apparently, there's another meaning to word "simpler", of which I'm unaware :D
Re:Rust 1.64.0 on Thursday September 22, 2022 @11:03AM (#32939819)
> 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.