4,277 karma · joined Feb 29, 2012 (14y ago) · 994 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
There are other reactions one can pursue that produce charged particles instead of neutrons. With these reactions, there are alternative energy conversion pathways that turn the kinetic energy of these charged particles directly into voltage, and you can skip the turbine. Of the fusion startups, Helion is probably the most prominent pursuing this kind of approach, with a D-He3 reaction. See https://en.wikipedia.org/wiki/Direct_energy_conversion for more info on this general approach.
comment 3y ago · link · parent
comment 3y ago · link · parent
I think what they were pointing out (and I agree with) is that the mixing of combinators and imperative-style for loops that's going on in the post doesn't feel very natural. Typically if you would _either_ do
blah
.into_iter()
.filter(|x| x.some_condition())
.for_each(|x| x.do_something());
or for x in blah {
if !x.some_condition() {
continue;
}
x.do_something();
}
But `for x in blah.into_iter().filter(...` is a bit unusual.comment 3y ago · link · parent
So, to more directly answer your second question: other cities absolutely also suffer here, but New York has been at it the longest, and so is perhaps best known for this issue.
For more background, Reply All did a two-parter a few years ago exploring the history here, which is quite good. This is the first part: https://gimletmedia.com/shows/reply-all/o2hx34
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
I don't, and I'm well aware of Gell-Mann amnesia, but I'm also not going to personally interview every witness of every event, or personally become an expert in every subject so as to be able to independently have a well-informed opinion about all of them. I accept that this means that sometimes I will not be perfectly informed, but even if it were possible to do all those things (and it isn't), it's not the way I would choose to spend my life. There are other ways to spend my time that I find more fulfilling, and I accept that that means outsourcing the work fact-finding to people who do it for a living, even if I know they're imperfect, and even if I know that at least in certain domains, I might be able to do it better if I tried.
> Danger, Will Robinson
To you, the danger is not knowing that there are, in fact, lizard people controlling the government. To me, the danger is in ending up spending my free time poring over fringe lizard-people Twitter. Personally I'm perfectly willing to accept the former danger to avoid the latter. I think we just have different priorities.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
> He is not a rocket scientist.
That might well be a pro, not a con. Rocket scientists' core competency is designing rockets, not teaching, and subject matter experts often make poor teachers. If this were a case of some kind of hucksterism, where he's an ignorant layperson making shit up and passing it off as true in his educational content, I'd say there was some concern, but while he's apparently said some dumb shit on Twitter, it doesn't seem like you or most other commenters are pointing to anything factually inaccurate _in this article_, nor indeed do people tend to on his researched, long-form stuff generally (vs. some off-the-cuff tweet). In that sense, it seems like this content is as good a place as any for laypeople to learn about this topic, that it doesn't obviously suffer from his lack of formal training, and maybe benefits if it means his better able to translate technical content to non-technical audiences.
comment 3y ago · link · parent
Seems like a neat idea, but as another commenter said, the usecases where it's the best choice seem pretty narrow.
comment 3y ago · link · parent
Neat concept though!
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 4y ago · link · parent
for i in 0..v.len() {
println!("{:?}", v[i]);
}
you check the length at the top (the `v.len()`) and also for each `v[i]`. The first is unavoidable, but the second can be skipped when using an iterator instead, because it can be statically guaranteed that, even if you don't know at compile time what concretely the length is, whatever it ends up being, the index will never exceed it. Rust specifically differs from C++ in this respect, because nothing in that language prevents the underlying vector's length from changing while the iterator exists, so without per-access bounds checks it's still possible for an iterator to walk past the end.comment 4y ago · link · parent
comment 4y ago · link · parent