Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
general_pizza
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
general_pizza
4y ago
It’s not text but there’s a podcast with Simon Peyton Jones (Haskell person) talking about his new job at Epic working on verse. Starts around 50s in: https://podcasts.apple.com/us/podcast/the-haskell-interlude
2.
▲
by
general_pizza
6y ago
Not original commenter but I think jackric already alluded to the increased cynicism that develops from clickbait. Personally, when I see so many ppl giving up honest and nuanced statements/opinions for hyperbole in order to gain view
3.
▲
by
general_pizza
8y ago
Totally agree, cargo makes it easy. Honestly it’s just that the level of laziness is so high when I’m programming on something personal after work that even having to switch to chrome to check a version number on crates.io will be avoided.
4.
▲
by
general_pizza
8y ago
The docs are a tad misleading but the important piece is to look at the signature. The `where P: Pattern<'a>` portion states that split needs a type that implements the Pattern trait. If you follow the link to the Pattern trait t
5.
▲
by
general_pizza
8y ago
I also thought regex seemed overkill and didn't feel like adding an extra crate to my Cargo.toml. Luckily for the days I attempted I was able to get by on just the split method for str's[0] which was nice and concise. So for your
6.
▲
by
general_pizza
8y ago
If you think of it more like “how do I want to handle something bad happening?” instead of “what category does this fall under?” then I believe electrograv‘s point of not being clear-cut becomes more clear. For example in rust most code tha
7.
▲
by
general_pizza
8y ago
There’s a great Welcome to Macintosh podcast episode[1] that interviews Jim Reekes about this history, highly recommend it. Fun fact, in addition to the iconic startup sound Jim is also responsible for the camera shutter sound on iPhones. [
8.
▲
by
general_pizza
8y ago
Hmm I’m seeing the opposite. The last graph shows Google’s hash table outperforming in all but a few places, including at 400k. Perhaps you mixed the axes up, lower is better here. I also just want to comment that skepticism to high claims
9.
▲
by
general_pizza
9y ago
Hmm, I've got both Bluetooth File Exchange.app and Bluetooth Explorer.app on my mac which are both from Apple and I think what you're looking for. Not sure if they came default or when I downloaded the bluetooth dev kit years ago.
10.
▲
by
general_pizza
9y ago
> From what I understand, the definition of a transpiler is one which almost exclusively performs syntax-syntax transforms, and doesn't delve into the semantics with e.g. dataflow or control flow. A counter example to this is the ty
11.
▲
by
general_pizza
9y ago
I've heard of sentence diagrams[0] which are tree-like structures used for checking grammatical correctness. [0] https://en.m.wikipedia.org/wiki/Sentence_diagram
12.
▲
by
general_pizza
9y ago
Exactly. Some of the points just seem ridiculous and make me wonder what this person expected to get out of the book. For example: > Halliday’s character combines the worst traits of Elon Musk, Mark Zuckerberg and Kim Dotcom. Do you thin
13.
▲
by
general_pizza
9y ago
This explains pretty well: https://doc.rust-lang.org/beta/nomicon/races.html
14.
▲
by
general_pizza
9y ago
This is heavily influenced by personal taste, but I don't understand the value of having so many elements of the output colorized. File type seems a useful case, everything else in the output of `exa -l` just looks distracting to me. J
15.
▲
by
general_pizza
9y ago
This a really good point that I've realized just recently. I'd also like to add that integrating your build system with your editor can be a great productivity boost. If you watch someone like Gary Bernhardt program, you can see t
16.
▲
by
general_pizza
9y ago
The method they're describing is only permanent for devices without a removable startup disk, right? If they run this on my raspberry pi, for example, just reformatting the sd card and following the same process as when I first got it
17.
▲
by
general_pizza
10y ago
Interesting. Out of curiosity, what's a case where tmp = a.b(); tmp.c() works but a.b().c() doesn't? I'm still learning rust and the online book's Methods chapter doesn't say anything about such restrictions.