Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Omin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
Omin
6y ago
This Rust function has badly chosen single-letter type parameters that confused someone on my team recently: https://doc.rust-lang.org/stable/std/result/enum.Result.html... Result<T,E> uses T for a gene
32.
▲
by
Omin
6y ago
I let google translate pronounce it and the tone with which it does so fits perfectly.
33.
▲
by
Omin
6y ago
>I don't mind the callout that you need to use unsafe for recursive structures You don't, really. Recursion is not the important part. The ownership model is hierarchical. If your structure is a directed tree with all links (po
34.
▲
by
Omin
6y ago
Not by default, no. The street must have a sign allowing it ("Radfahrer frei"). Many have them but quite a few which should don't.
35.
▲
by
Omin
6y ago
Far worse than the presentation is that they often don't even match. And it's not that they are leaving out words (which is already horrible for language learning), but the subtitles are phrased entirely different than the spoken
36.
▲
by
Omin
6y ago
If you look at the repo's tags, they also include `clap`, which is the most popular Rust argument parsing library and the one that the original structopt is built upon. I don't think this coincidence. This looks like it's dir
37.
▲
by
Omin
7y ago
As the article states, this system uses waste heat from a power plant transported via water.
38.
▲
by
Omin
7y ago
Do you have a link (or screenshot) of that comment?
39.
▲
by
Omin
7y ago
restrict is so rarely used that optimizations based on non-aliasing data are broken in both major compilers. A fact which has bitten Rust repeatedly.
40.
▲
by
Omin
11y ago
costs are falling, prices aren't