Viewing profile — aratakareigen
aratakareigen
HN member- Joined
- Wed, Dec 11, 2019, 8:14 PM UTC
- HN karma
- 79
- Public activity
- 43 items
- HN profile
- View on Hacker News ↗
About aratakareigen
No profile information was provided.
Recent public activity
-
comment
Comment #22481678
For example, if I could push to a Vec while holding a slice to it, that would obviously lead to horrible behavior if the Vec needed to reallocate. Another example is if someone tri…
-
comment
Comment #22481642
Right, but the question was: > doesn’t Rust refuse to compile even when you use non-concurrency safe objects in a single thread? and given that most types (Vec, HashMap, etc.) aren…
-
comment
Comment #22464792
Rust types have markers (Send, Sync) that tell the compiler whether they can be moved across threads, and whether they can be simultaneously accessed across threads. These markers …
-
comment
Comment #22464024
Yep, you can't implement UnsafeCell yourself without running into undefined behavior.
-
comment
Comment #22463986
Right. The main advantage of Rust is that its thread safety is opt-out (unsafe) rather than opt-in (remember to use the right data structures / locks).
-
comment
Comment #22422058
It is a convention, not a rule, in mathematics to use (+) to represent operations that are commutative (i.e. abelian) groups. But this convention is not at all respected in program…
-
comment
Comment #22331015
Literally no "non-tech-savvy" person I know backs up anything at all. I seriously doubt that backup / transfer is on anyone's mind at all when deciding to use a new messenger.
-
comment
Comment #22268908
Really? I mean, either a few drug dealers slip through the cracks, you fill the nice fun stadium with creepy surveillance cameras to cover your own ass, or the stadium simply doesn…
-
comment
Comment #22255553
Why? I can't think of an alternative that users wouldn't complain about.
-
comment
Comment #22249224
Great, but this reads like a particularly blunt Amazon ad. Is there a way to achieve "high scalability" without selling my soul to Amazon?
-
comment
Comment #22235952
For many lying is already a deeply ingrained habit, and for them honesty will take practice.
-
comment
Comment #22235932
> Reading a few top research papers in a field you're interested in and work through them Why reading a research paper rather than the more standard approach of reading a textbook?…
-
comment
Comment #22217224
I just started reading, but why does it say "(semi)group" instead of "semigroup / monoid"? I've never heard of inversion being used to perform a fold.
-
story
Ask HN: How do people with extreme social anxiety get internships?
Hi HN, I'm a third-year Computer Science student and all my friends already have multiple internships and jobs under their belt. I want to intern but the fear of rejection is overw…
-
comment
Comment #22207104
How does TypeScript ensure encapsulation if it doesn't have nominal types? Edit: The article says "magical hidden properties".
-
comment
Comment #22201728
SO(3) is definitely three-dimensional, and rotations don't involve magnitudes.
-
comment
Comment #22201701
The space of rotors and rotation quaternions are both three dimensional because the coordinates are restricted to unit magnitude. Quaternions and rotors are exactly the same in pra…
- comment
-
comment
Comment #22197400
He means an ecosystem where 99% of the work needed to build yet another CRUD app is done for you.
-
comment
Comment #22197382
Yep, Stack has an atrocious UX that does nothing but cause progressively increasing amounts of pain. I wish someone would just write the Cargo or NPM of Haskell already.
-
comment
Comment #22197325
> Rust and go eventually will be facing same issues Isn't Rust's workaround their "edition" system? It seems to be working pretty well for them, but it sounds like it could end up …
-
comment
Comment #22134728
The age, gender, etc. distributions of the people who visit your website. I don't know anything about GA, but I'm guessing they'd know this from the currently signed in Google acco…
-
comment
Comment #22116517
Return position impl Trait also exists so that you can change the actual return type without making a breaking change.
-
comment
Comment #22110874
That line is extremely simple to me. What makes it seem like a "mix-match" of symbols to you? The equivalent in Haskell would be "compose :: (a -> a) -> (a -> a) -> a -> a", which …
-
comment
Comment #22099891
See also: https://en.m.wikipedia.org/wiki/Adaptive_sort Another example application of adaptive sorts is the sweep-and-prune broadphase collision detection algorithm that's somewha…