4,901 karma · joined Sep 13, 2020 (6y ago) · 1,641 submissions
comment 5y ago · link · parent
https://trends.google.com/trends/explore?q=Orwell,Rowling,Sh...
comment 5y ago · link · parent
[1]: <https://en.wikipedia.org/wiki/Counterexamples_in_Topology>
comment 5y ago · link · parent
comment 5y ago · link · parent
- appreciation of backwards-compatibility (here it wins with Python);
- great debuggers and performance tools (e.g. Java Flight Recorder or Eclipse Memory Analyzer);
- easy deployment - you can just give someone a fat JAR (here it wins with all scripting languages, so Python, Ruby, PHP, or any other flavour of the month);
- industry-grade garbage collectors;
- publicly-available standard spec (here it wins with all the defined-by-implementation languages such as Python, PHP, Rust, basically most languages, and with languages which are standardized, but their specs aren't public: C, C++, Ruby);
- kind of like the previous point, but anyway: multiple implementations to choose from;
- I've been told it has good performance. I've never seen a real-world Java application which felt fast, but I've heard people put it at the pedestal and the Debian programming languages benchmarks game seems to corroborate that story;
Besides, the question wasn't about which technologies we like, but which we believe are entrenched so much, they aren't going to go away for a very long time. I don't see Java going away for another 100 years, no matter how much I would or wouldn't like to work with it.
comment 5y ago · link · parent
And this for grid: <https://cssgridgarden.com/>
comment 5y ago · link · parent
I also think you're taking it too seriously. Internet drama is a relatively unimportant thing in life. Wars on the other hand... Internet drama has the importance of celebrity gossip.
> Have you never taken any interest in the history of the tools you use or the Internet generally?
I did take interest in the history of some of the tools. It doesn't mean I explore the history of all of them, or that this history is particularly valuable knowledge. What you learn this way is mostly just shallow trivia. E.g. knowing why strncpy works the way it works with regard to '\0' isn't knowledge that deepens your understanding of anything; it's just trivia. But sometimes it's a pleasant way to mindlessly, idly spend your time.
comment 5y ago · link · parent
comment 5y ago · link · parent
In particular, it seems that "site" isn't precisely defined. It seems to be based on domains, but backed by a human-curated list of "sites": <https://github.com/publicsuffix/list>.
So it's different than Chrome's "every webpage gets a separate process".
comment 5y ago · link · parent
comment 5y ago · link · parent
[1]: <https://notmuchmail.org/>
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
I'd happily apply for a "C/Rust" job as well.
comment 5y ago · link · parent
Meanwhile we should blame Israel for building effective missile defense systems...
comment 5y ago · link · parent
That's because Israel is better at defending from attacks by Hamas and also prioritizes the defense higher than Hamas. Saying that one side has fewer casualties, implying that they are "the bad ones", is smoke and mirrors.
comment 5y ago · link · parent
What I mean is, with the "strum" crate I can use a proc macro to automatically generate an "EnumDiscriminant" enum for an "Enum" enum, where "Enum" is defined as:
enum Enum {
A(u32),
B,
}
and "EnumDiscriminant" is defined as: enum EnumDiscriminant {
A,
B,
}
However, the only thing linking those two is a naming convention. I would like to have a universal name for such discriminants.The Rust standard library already has such a discriminant type for any enum - mem::Discriminant<T>, where T is the enum type. However, in order to get the discriminant of Enum::A(5) I need to write mem::discriminant(Enum::A(5)), which introduces noise (especially with bigger tuples or structs) - this 5 here is irrelevant. The mem::discriminant() function is useful for contexts where I have a variable of type Enum and want to get its discriminant, but when I just want to pick a particular discriminant, it's too noisy. I would like to be able to name the discriminant directly. I.e. I would like the standard library type Discriminant<T> be defined for each enum the same way EnumDiscriminant above is defined for Enum. So I could just write Discriminant::<Enum>::A.