Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_answ
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
_answ
2y ago
A list is a monad, but not because it wraps another type. What you're describing is higher kinded types. A monad is a specific variant of a higher kinded type whose primary property lies in the fact that its value can be "evolved&
2.
▲
by
_answ
2y ago
Simple != idiomatic. It's perfectly idiomatic to `Arc<Mutex<Box>>` in Rust, and it is more complex because it deals with more concerns than a simple reference, namely being thread-safe. Sometimes you need that, sometimes no
3.
▲
by
_answ
2y ago
I have a feeling that most of the clarity you find in your example comes from better use of whitespace. Consider: pub fn read<P>(path: P) -> io::Result<Vec<u8>> where P: AsRef<Path>, {
4.
▲
by
_answ
2y ago
The lossy vs lossless distinction loses its meaning in the absence of provenance. You can compress a bitmap into a .jpg q=1, and then save it as a .png. The .png is technically lossless, but that clearly doesn't tell much about the ima
5.
▲
by
_answ
2y ago
Speaking from the experience of building small web apps for personal use, trying to follow semantic HTML in good faith has been nothing but a source of frustration. The rules are clearly molded around static, primarily text-based documents
6.
▲
by
_answ
4y ago
I'm sure the visually impaired users appreciate that a lot. "Show, don't tell" is good advice for creative writing, which this website isn't. As a potential customer, it shouldn't be my job to cut through the m
7.
▲
by
_answ
4y ago
I have used Linear on a couple of my hobby projects and it's a great tool to quickly capture features and bugs. My one gripe about the new website (and it's something I notice many projects stumble at) is that the written copy fai