back
user profile
dmit
6,674karma·537submissions·February 21, 2011
recent activity (537 total)
comment
Here's one case. Instead of let letters = word.chars().filter(|ch| ch.is_alphabetic());
you can just write let letters = word.chars().filter(is_alphabetic);
since the difference bet…
comment
You linked to serde_json and not serde, which this story is about. And the crate sizes listed include not just the source, but also test code and other project files.
comment
A --small flag would provide approximately the same amount of information - you'd still need to read the description to figure out what it does. And thanks for the UWU.md idea, love it!
comment
We might have different definitions of "usability." Tooling, package management, compiler messages, language documentation. Those are some of the things I think of when I hear "usabilit…
comment
I mean, https://www.libcinder.org and https://openframeworks.cc have been mainstays of the creative coding industry for a long time now. A Rust take on the problem shouldn'…
comment
You know this, but a tiny nit: it resets to a clean state after every prompt and then replays recent chat history to catch up. The distinction is important in cases like asking it to play a guessing…
comment
> film produces a much better overall look than digital To add one more data point to all the other sibling comments, Vince Gilligan (a self-described huge fan of film) talked on one of the Better …
comment
>> GPT-3 took 355 years to train > Could this be distributed? Put all those mining GPUs to work. Nope. It's a strictly O(n) process. If it weren't for the foresight of George Patric…
comment
And when all else fails, you reach for Intel VTune. :) Which has provided a free community version for a couple years now, I might add.
comment
> If you're not paying for numbers, what are you paying for then? Oh honey...
comment
Yes, Europe absolutely detests having a phone that fits in your hand.
comment
In presentation form: https://www.infoq.com/presentations/life-after-java-8/ …
comment
Well, here’s your first lesson then: if you prepend (: to your comment it will become a valid XQuery document! (: XQuery comments are marked by mirrored smilie faces, like this. :)
comment
Yep, the two missing features are `usize::MAX` (stabilized in Rust 1.43, April 2020), and control flow in const fns (stabilized in Rust 1.46, August 2020).
comment
Awkward ad intermission Tired of all the "404 Not Found: /favicon.ico" log messages from your local test server? Fret no more! Just add this minor incantation to your HTML and you…
comment
> she's the "perpetrator" and he gives consent If "he gives consent", then she isn't a perpetrator. By definition. If one of the parties gets drunk, they can't …
comment
> So the victim has no responsibility if blood alcohol level is too high for good judgment, but the perpetrator is responsible no matter their blood alcohol level and judgment? Exactly. That's…
comment
> If you gave consent because you were drunk, that's not really rape, it could be poor judgment. No, it's lack of judgement. Total inability to judge, in fact. > The perpetrator might …
comment
> I don't want to victim blame here And yet
comment
How come? Wasm is only at ~92% browser adoption right now (per https://caniuse.com/?search=wasm ), but certain classes of apps can easily take that 8% hit for all the benefits over the…
comment
I submitted a patch to support decimal commas when parsing timestamps in Go in 2013. I thought this was a slam dunk because while major users of decimal dots include USA, China, India, and Japan, the …
comment
> Some people prefer not to read Twitter threads as individual posts. That's great, but Twitter already does that by default. Is this about padding between paragraphs (in the CSS sense)?