Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dmit
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
dmit
3y ago
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.
92.
▲
by
dmit
3y ago
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!
93.
▲
Waiting for go1.21: Execution Tracing with < 1% Overhead
(blog.felixge.de)
12 points
by
dmit
3y ago
|
0 comments
94.
▲
by
dmit
4y ago
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 "usability" - and those are all top notch. W
95.
▲
by
dmit
4y ago
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't be too surprising.
96.
▲
by
dmit
4y ago
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 game ("think of a number/pers
97.
▲
by
dmit
4y ago
> 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 Call Saul podcasts about how they did a
98.
▲
by
dmit
4y ago
>> 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 Patrick Turnbull in 1668, we would not be anyw
99.
▲
by
dmit
4y ago
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.
100.
▲
Data-driven performance optimization with Rust and Miri
(medium.com)
88 points
by
dmit
4y ago
|
51 comments
101.
▲
by
dmit
4y ago
> If you're not paying for numbers, what are you paying for then? Oh honey...
102.
▲
by
dmit
4y ago
Yes, Europe absolutely detests having a phone that fits in your hand.
103.
▲
Simulating Wind on Procedural Terrain Using Lattice Boltzmann Method
(nickmcd.me)
194 points
by
dmit
4y ago
|
21 comments
104.
▲
by
dmit
5y ago
In presentation form: https://www.infoq.com/presentations/life-after-java-8/
105.
▲
by
dmit
5y ago
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. :)
106.
▲
by
dmit
5y ago
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).
107.
▲
Entropy coding in Oodle Data: the big picture
(fgiesen.wordpress.com)
45 points
by
dmit
5y ago
|
3 comments
108.
▲
by
dmit
5y ago
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're set! <link rel="icon&qu
109.
▲
by
dmit
5y ago
> 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 give consent. Again, by definition.
110.
▲
by
dmit
5y ago
> 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 why they're called 'victim&#x
111.
▲
by
dmit
5y ago
> 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 reasonably think you're sober enoug
112.
▲
by
dmit
5y ago
> I don't want to victim blame here And yet
113.
▲
by
dmit
6y ago
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 status quo languages that Rust brings.
114.
▲
by
dmit
6y ago
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 decimal comma is used by pretty much ev
115.
▲
by
dmit
6y ago
> 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)?
116.
▲
by
dmit
6y ago
Well, if you split "language" into 1) syntax, 2) semantics, 3) standard library, then why would you think that #1 (syntax) is the only part that can't be improved upon?
117.
▲
by
dmit
6y ago
(2017) The language has come a long way since this writeup.
118.
▲
by
dmit
6y ago
Classic devops trick. Schedule your jobs at prime intervals - this way it's much less likely to get concentrated waves of traffic at 0:00, or 12:00, or in exact 15-minute increments.
119.
▲
by
dmit
6y ago
On the off-chance you didn't know: the `fs-err` crate is a drop-in replacement for `std::fs` that provides more friendly error messages. https://docs.rs/fs-err
120.
▲
by
dmit
6y ago
I used to use Ruby for small (100-500 loc) scripts to parse various CSV/JSON documents. You craft a couple perfect stanzas of immaculate code to do what you need and you feel great. Then you run it and turns out you forgot an `end` som
More ›