Better HN
topnewbestaskshowjobs
Log inSign up

62747478182

25 karma · joined Aug 18, 2017 (9y ago) · 11 submissions

Submissions

comment 6y ago · link · parent

> I also found that lm-sensors can barely see my AMD Ryzen at all, missing all core temp information.

This is fixed in Kernel 5.4, and some distros backported the fix to 5.3.

I'm using Debian stable, with a kernel from buster-backports, and I can see the temperature for my CPU (Ryzen 7) and the GPU (Radeon RX 580).

comment 7y ago · link · parent

> Literally everyone else uses prefix await, so this will be a problem.

Kotlin uses `.await()`.

comment 7y ago · link · parent

> but the widespread adoption of Go as a systems programming language is evidence alone that it is a “good” language.

Years ago PHP was the king of web development, and it was pretty awful in many ways (today is much better, though).

People usually choice languages because of convenience, not because of how good they are.

comment 8y ago · link · parent

You said [Scala] it's by far one of the language I hated the most. If you don't want to start a flame-war maybe you should change the tone of the comment.

comment 8y ago · link · parent

There is https://github.com/scala/scala-async, which is already implemented as a macro, though it is a bit limited

comment 8y ago · link · parent

go-style csp is just async/await hidden in the syntax.

comment 9y ago · link · parent

You can disable it completely in about:config

comment 9y ago · link · parent

You can type `/bin/ls -l` to skip your shell aliases.

comment 9y ago · link · parent

Maybe https://blog.martinfjordvald.com/2011/04/optimizing-nginx-fo...

comment 9y ago · link · parent

You may be interested in Crystal.

https://crystal-lang.org/

comment 9y ago · link · parent

> Come back in two years, show us how the types feel after the honeymoon is over.

I have been programming for more than 20 years, with a lot of different languages.

Until six years ago, most of my languages were on dinamic typing (PHP, Bash, Perl5, Python, Ruby, ...). I used C sometimes, but it was not the common case.

Then, 6 years ago, a friend show me Scala. I was lucky because I could use it in my daily job. Two years ago I started to use Rust for some stuff.

That said, after years using languages with good type systems, I can say dealing with a dinamic type system in a big project is a huge PITA. Almost every time I have to deal with legacy code (mostly Ruby) I really miss both Scala and Rust.

The honeymoon is over for me, and now I'm in a very stable and wonderful relationship :P