2,676 karma · joined Nov 28, 2019 (7y ago) · 1,131 submissions
comment 2y ago · link · parent
The thing is, companies are composed of people, and those people can just go to another company. Real people are composed of organs, but those organs can't just move to other bodies and commit the same crimes.
So, companies are just not people and the whole idea is stupid.
comment 2y ago · link · parent
Anyway, you can smell the bad chemicals in plastics? I've never thought about it, but you're right there is a certain smell.
comment 2y ago · link · parent
So now, instead, I just type my password to begin with, and it's all gravy. I'd have to type it anyway.
comment 2y ago · link · parent
Gaming I don't even attempt on Linux, though I've met two or three people now who are convinced you can 100% do it these days with Wine-based platforms and the right drivers.
Docks, in my limited experience, are a shit show on any system. I use Lenovo's thunderbolt dock (the expensive one) with my X1 Carbon Gen 6. It mostly works. I've been having problems with HDMI lately, no idea why.
FWIW, I used to have a super duper high end MacBook from work. It had similar problems. :shrug:
comment 2y ago · link · parent
You can't convince them that to others, or in the future, they might be seen as the bad guys. Because that just isn't true -- they're the good guys.
comment 2y ago · link · parent
1. The battery is one of the most expensive parts of the car. People won't want to swap it for some random battery, and you risk an illicit market for swapped out "good" batteries. Sure, if swapping is very common, then batteries are fungible and maybe it all evens out. I doubt it, though.
2. Batteries are large, heavy, and not necessarily centrally placed. You'd need some sort of winch/harness/crane system, which is dangerous and expensive to automate. Even if you figure it out, swappable batteries might be a negative design constraint for electric cars (e.g. "what if we want to put battery cells throughout the body of the car?").
I also like the model, but how could it be made to work well?
comment 2y ago · link · parent
- Hippocrates?[1]
[1]: https://old.reddit.com/r/AskLiteraryStudies/comments/68zg38/...
comment 2y ago · link · parent
comment 2y ago · link · parent
I do like writing Javascript that way, though:
function Thing(otherThing) {
const self = otherThing || {};
self.method1 = function () { /* ... */ };
// self. [...]
return self;
}
function main() {
// no `new`, no `this`
const thing = Thing();
// ...
}comment 2y ago · link · parent
Changing "c" is different from just changing your units.
comment 2y ago · link · parent
comment 2y ago · link · parent
No, they need know only the size and alignment of "class Foo". Unfortunately, in C++, either a client has to see every type definition recursively down to the primitives, or you give them an opaque pointer and hide all of the internals in the implementation (all they know about "sizeof(Foo)" is "it contains a pointer to something on the heap, probably").
edit: Ok, there's also the copy constructors and other possibly auto-generated value semantic operations, but pretend you've defined those explicitly, too.