6,122 karma · joined Nov 5, 2013 (13y ago) · 1,854 submissions
comment 11h ago · link · parent
That's a fundamentally wrong way of thinking. You can't take a formula, replace all occurences of one number with another number, and expect the formula to hold. For example, if we replace the "10" in "10^3 ~ 2^10" with "5", we get "5^3=125" on the left side and "2^5=32" on the right side, which isn't even close – that's off by a factor of almost 4!
Edit: On second reading I have no idea how you got to "2.1"
comment 5d ago · link · parent
Unlikely, because it would mean that you're also "lulling" your customers and your investors into believing that you're only slightly better than your competitor ("enemy" isn't the right term here), and you don't want that. Especially not shortly before your IPO.
comment 1w ago · link · parent
I know that many people would disagree with me on this, but thankfully I'm free to choose what license I consider "free".
comment 1w ago · link · parent
That's what panic::set_hook is for. [1]
> And maybe one thread shouldn't lead to process death.
That's what panic::catch_unwind is for. [2]
[1] https://doc.rust-lang.org/std/panic/fn.set_hook.html
[2] https://doc.rust-lang.org/std/panic/fn.catch_unwind.html
comment 1w ago · link · parent
I would go so far as to say that an out-of-bounds index is always a logic error (to be handled by panicking), not an input error (to be handled with Result). And if the out-of-bounds access was caused by invalid input, then logic error consists of not checking the input before indexing.
comment 1w ago · link · parent
Then you have a very uncommon definition of the term "intelligent", because that's roughly what I would expect an intelligent, conscientious developer to do. Many, many bugs stem from developers who believe themselves to be too "intelligent" to need an extensive test suite.
comment 1w ago · link · parent
This is decidedly not a "questionable" decision. I really, really shouldn't be held accountable for the conduct of any company in my ETF portfolio, as I have zero influence on their operations and zero insight into them (beyond what any member of the public has).
comment 2w ago · link · parent
comment 3w ago · link · parent
That's because your imagination is bounded by being a monkey that has spent its entire life in a finite environment — no offense. The universe, however, isn't bounded the limits of our imagination or intuition.
comment 3w ago · link · parent
Why not? An infinitely large universe goes against our intuitions, but our intuitions were formed by the experience of living on a finite planet and have no bearing on what's true on a galactic scale – just like they have no bearing on what's true at the quantum scale. There is no objective reason to assume that the universe isn't infinite.
comment 3w ago · link · parent
comment 3w ago · link · parent
comment 3w ago · link · parent
comment 3w ago · link · parent
I suspect that's because they're working on projects that are several orders of magnitude more complex and demanding than a "todo app".
comment 3w ago · link · parent
Why take on a job when you have to pay income tax? Because you'll still have much more left over than if you didn't. And this answers your question: because you'll still have much more left over than if you didn't start a business.