2,938 karma · joined Oct 16, 2020 (6y ago) · 2,885 submissions
----------------------------------------------------
comment 3mo ago · link · parent
The Gutenberg bible is rare, its content is not rare, and some would argue that the content itself is not valuable, and yet the Gutenberg bible is valuable.
Same can be said about many books.
comment 10mo ago · link · parent
From what I know, and please correct me if I am wrong; it relates to fear and cognitive dissonance. First, by creating FUD the perpetrator can cause physical narrow-mindedness within the brain, the amygdala — centre of emotions if you will — takes control which reduces reasoning capabilities. Second, by introducing multiple conflicting viewpoints in that state, you induce what we call cognitive dissonance. The brain is unable to reconcile the two opposing (or even just differing) views. This is a conflict at the circuit level of the brain, and the brain needs to reach a conclusion, and conveniently the conclusion is produced by the perpetrators of fud, those who seek to control/exploit others.
comment 11mo ago · link · parent
Edit: I asked this before I read the design decisions. Reasoning is, as far as I understand, that for simplificity no in-place operations hence accumulating it done on a new tensor.
comment 11mo ago · link · parent
In my view there's two parts to learning, creation and taste, and both need to be balanced to make progress. Creation is, in essence, the process of forming pathways that enable you to do things, developing taste is the process of pruning and refining pathways to doing things better.
You can't become a chef without cooking, and you can't become a great one without cultivating a taste (pun intended) for what works and what it means for something to be good.
From interactions with our interns and new-grads, they lack the taste, and rely too much on the AI for generation. The consequence is that when you have conversations with them, they straggle to understand the concepts and tools they are using because they lack the familiarity that comes with creation, and they lack the skills to refine the produced code into something good.
comment 11mo ago · link · parent
Because rust guarantees you won't have multiple exclusive (and thus mutable refs), you won't have a specific class of race conditions.
Sometimes however, these programs are very strict, and you need to relax these guarantees. To handle those cases, there are structures that can give you the same shared/exclusive references and borrowing rules (ie single exclusive, many shared refs) but at runtime. Meaning that you have an object, which you can reference (borrow) in multiple locations, however, if you have an active shared reference, you can't get an exclusive reference as the program will (by design) panic, and if you have an active exclusive reference, you can't get any more references.
This however isn't sufficient for multithreaded applications. That is sufficient when you have lots of pieces of memory referencing the same object in a single thread. For multi-threaded programs, we have RwLocks.