back
user profile
dmit
6,674karma·537submissions·February 21, 2011
recent activity (537 total)
comment
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?
comment
(2017) The language has come a long way since this writeup.
comment
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.
comment
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 …
comment
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 …
comment
Ha, fair enough. But hey, this is a personal side project and I don't mind kicking the tires of a couple upcoming features before they get stabilized. Gotta help out oli-obk on his quest to const…
comment
All of these have workarounds (obviously), but here are the unstable features I'm using in my most recent (<10kloc) project: #![feature(bound_cloned)]
#![feature(const_float_classify)]
…
comment
Shut up, Steve. (Great article btw! As always.)
comment
> Applications of Java and Rust do not overlap. Both are general purpose languages, so of course they overlap. > Good luck rewritting all the big data tools from Java (Elasticsearch, Spark, Kafk…
comment
Working for a company that creates life-saving vaccines, or builds homes for underprivileged people, or increases yields of crops to match the demands of a growing population doesn't make you a g…
comment
One of the reasons why it's hard to compare the two is that the standard metric is time/loc, and it varies hugely depending on which language features are used. Both languages have features …
comment
Do you have a webring? :)
comment
I'm not sure what the difference is between sites "not working" and "breaking", but as a counter point, I've seen neither in the past three or four years of exclusively u…
comment
The relationship between RBG and Scalia served as inspiration for one of the most beloved post-Sorkin episodes of The West Wing. The Supremes, 5x17.
comment
You're right! I should have phrased that better. I didn't mean splitting `DateTime` into timezone-aware `Date` and `Time`. I meant two different `DateTime`s. Sometimes you need "Wake me…
comment
This is it. In my head the code file I'm working on is closer to a (geographic) map than to a Table of Contents in a book. There are large islands and small ones, some of the small ones form arch…
comment
Others have already covered it, but it's mostly about limiting things that can go wrong. The single-threaded nature of JavaScript means data races are not an issue, but you can still get situatio…
comment
Yes, thank you! I've seen this before and forgot. Looks like it's at Stage 2 right now, so still a ways to go until shipping, but should resolve all my gripes when it does.
comment
Please pardon this drive-by assessment of JS calendar libraries by a casual user. moment.js: Mutable. Thank you, next. Luxon: Takes the effort to implement `Interval`, which would be `Range<DateTim…
comment
What if the other six had enough plutonium on them to collectively trigger a nuclear blast? What if one of the Nazis had super powers and wasn't fully committed to the Reich's agenda? What i…
comment
> Gamers are actually probably the consumers with the most complex audio pipelines because you're mixing a lot of sound sources in real-time with low latecy, reverb, and other spatial effects.…
comment
> If, <...>, my first thought would be <...> > Of course, when <...>, you would never consider <...> Presented without comment.
comment
There won't be a lawsuit. There was never intended to be a lawsuit. There are no grounds for a lawsuit! This is all about getting exposure and perhaps channeling wallets towards his Patreon (or S…
comment
If I invited a dozen guests to a party at my house and half of them objected to having #7 on the guest list because he's a shitbag, it would not bother me one bit to have him disinvited. If, on t…
comment
Azul's Gil Tene has a nice talk about the various JDKs available and why one would want to keep up with the recent (more frequent than usual) releases. https://www.infoq.com/prese…
comment
I have. Purescript doesn't have typeclass derivation. BS technically does, but the time I tried it the compiler plugin was so raw it was basically useless to me. BS/Reason don't support…
comment
I think that's the question most people starting to learn Rust ask. The answer is a bit hairy because of how much modern garbage-collected languages normalized data sharing. Whether you're w…
comment
I see your point, but I think it only exposes the weakness of the terms "high-level" and "low-level" when used to describe programming languages. Rust is both low-level in that it …