Better HN
topnewbestaskshowjobs
Log inSign up

gmdrd

12 karma · joined Jun 22, 2022 (4y ago) · 10 submissions

Submissions

1.

Master Hexagonal Architecture in Rust(howtocodeit.com ↗)

2 points · by gmdrd · 2y ago · discuss

comment 2y ago · link · parent

> Or you protect your citizens as best as possible by entering the game.

It doesn't seem reasonable to me to assume that the main objective of any government is to protect its citizens.

comment 2y ago · link · parent

There is a typo in the docs:

    Notice that when executing a single expression, Amber automatically includes it's standard library for you.

comment 2y ago · link · parent

I'm taking one of the tests and the feedback seems strange: although it appears I got it right, because the selected answer turns green, many of the other answers turn red (which usually indicates a failure) and other unselected answers also turn green. It's confusing.

comment 2y ago · link · parent

It seems there is a correlation between appearing at the beginning of the list of candidates to endorse and having a last name that starts with "A".

comment 2y ago · link · parent

Equivalent code in Python:

  from typing import NewType

comment 2y ago · link · parent

Is there something wrong with creating opaque types using this method?

  type ObjectId = string & { 
  readonly __tag: unique 
  symbol }
This way, we don't need to use `never`, but we still prevent the creation of a structurally equivalent type by mistake.

comment 2y ago · link · parent

That paragraph outlines the findings of previous research, findings that this paper challenges.

comment 3y ago · link · parent

I find it an interesting point of view on the current risks of AI, and on how the current development of LLMs interacts with our own biases and our economic system, generating potentially serious problems.

10.

Transformative AI issues (not just misalignment): an overview(cold-takes.com ↗)

1 points · by gmdrd · 3y ago · discuss