Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Maxatar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
391.
▲
by
Maxatar
2y ago
I don't think your premise is true, that cheap food means poor nutrition. Also the actual website doesn't have anything remotely unhealthy or lacking in nutrition, on the contrary, with the exception of the first day, it's ac
392.
▲
by
Maxatar
2y ago
I think blame should be taken to mean "root cause" as opposed to a moral culpability. The degree to which a parent takes an active role in their child's education is incredibly important, more important than their teachers or
393.
▲
by
Maxatar
2y ago
Perhaps this implementation works that way, but in principle if the game is strictly determined based on a random seed and player input, then the server can verify that the player's inputs do in fact result in the correct outcome.
394.
▲
by
Maxatar
2y ago
Canada has one of the lowest home vacancy rates among the OECD countries and currently at the lowest rate it's been in 40 years: https://www.oecd.org/content/dam/oecd/en/data/datasets/affor
395.
▲
by
Maxatar
2y ago
This doesn't hold up to a cursory analysis of Carlsen's rating. You can see Carlsen's historical ELO score on FIDE's website and look at it year over year and the difference between Carlsen and the #2, #3, #4, etc... is
396.
▲
by
Maxatar
2y ago
It looks like he was disqualified from one event and then withdrew for the other related event. He said he would change his pants for tomorrow but was told that he had to change before the start of the next game which was scheduled for toda
397.
▲
by
Maxatar
2y ago
It's okay to admit you were wrong.
398.
▲
by
Maxatar
2y ago
It's the optimization that C++ is unable to perform, not the immutability.
399.
▲
by
Maxatar
2y ago
Yes you did and I literally quoted it, here it is, your words: "I don't think this is true. I don't think it has anything to do with null pointers , it is a standard way to return a type that might not be constructed/va
400.
▲
by
Maxatar
2y ago
Iterating over an array in Rust does not involve bounds checking every access since Rust guarantees immutability to the container over the course of the iteration. Hence all that's needed is to access the size of the array at the start
401.
▲
by
Maxatar
2y ago
One is undefined behavior which may manifest as entirely unpredictable side-effects. The other has semantics that are well specified and predictable. Also while what you wrote is technically valid, it's not really idiomatic to write it
402.
▲
by
Maxatar
2y ago
>I don't think this is true. I don't think it has anything to do with null pointers The paper that proposed std::optional literally uses examples involving null pointers as one of the use cases that std::optional is intended to
403.
▲
by
Maxatar
2y ago
Engineer does not come from engine, rather both words are derived from the Latin word ingeniator, which means to devise.
404.
▲
by
Maxatar
2y ago
How can someone saying that both are possibilities and to not jump to conclusions off of such little info be uselessly speculating? And then you use it as an excuse to exclaim a mostly empty gesture as if all you were interested in was virt
405.
▲
by
Maxatar
2y ago
Yes I think some people get very depressed and stressed and act out in a way they think might improve their situation. When it becomes clear that it will only end up making their situation a lot worse, they take their own life.
406.
▲
by
Maxatar
2y ago
If you find it truncating output, enter the word "continue".
407.
▲
by
Maxatar
2y ago
It's trendy for accomplished people to talk down about themselves as a way to sound cute. It's similar to software developers who like to say "I don't know what I'm doing, I just Google and Stackoverflow all day.&qu
408.
▲
by
Maxatar
2y ago
Not at all incompetence, it's just a very open ended UI for a tool that is best used for specific use cases. It can be tempting to try to get it to solve very broad problems since the UI lets you do that, but where it excels is when yo
409.
▲
by
Maxatar
2y ago
Not even the people who implement C++ compilers can agree on how certain C++ features are supposed to work.
410.
▲
by
Maxatar
2y ago
Thanks for pointing this out. It's an absolute myth that C++ move semantics are due to backwards compatibility. The original paper on move semantics dating back 2002 explicitly mentions destructive move semantics by name: https:/
411.
▲
by
Maxatar
2y ago
The move and copy constructors are implicit.
412.
▲
by
Maxatar
2y ago
Exactly, thinking about things in terms of their implementations is usually not a good way to actually understand what that thing is. By arguing that std::string is just the struct itself, which consists of who knows what... you fail to app
413.
▲
by
Maxatar
2y ago
There is nothing in the standard or definition of C++ that states that undefined behavior renders a program invalid. On the contrary the actual C++ standard explicitly states that permissible undefined behavior includes, and I quote "b
414.
▲
by
Maxatar
2y ago
Refactoring C++ is an absolute nightmare due to templates and overloading. If you rename a function for example, tools can't propagate that change through a template because there's no way to know if that template is only ever use
415.
▲
by
Maxatar
2y ago
There are plenty of things between C++11 and C++23 that have been removed and hence won't compile: Implicit capture of this in lambdas by copy. std::iterator removed. std::uncaught_exception() removed. throw () exception specification
416.
▲
by
Maxatar
2y ago
catch2 has become fairly bloated. doctest takes all of the best parts of catch2 without all the bloat and the end result is a test framework that is literally over 10x faster than catch2. It's also like 90% compatible with catch2 so po
417.
▲
by
Maxatar
2y ago
Because it can also be called with any class that doesn't have the bar method, and good luck deciphering the compiler error for it when it's nested 3 levels deep into some far corner of the STL.
418.
▲
by
Maxatar
2y ago
None of the things you mention ended badly though. I think all of those approaches you list are incredibly useful and important concepts and I am very happy that I not only know them, but that because of how universal they are I can leverag
419.
▲
by
Maxatar
2y ago
XBox's irrelevance is thanks to Don Mattrick for ruining the XBox One release. It is fair to point out that XBox continues to stagnate and despite many billions of dollars that Microsoft has pumped into gaming and acquiring numerous st
420.
▲
by
Maxatar
2y ago
My understanding is that Azure became an incredibly profitable cloud platform once it became open to Linux, which was something done after Ballmer had stepped down and Nadella became CEO.
More ›