Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Maxatar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
181.
▲
by
Maxatar
9mo ago
If you need to store the value then you have no choice but to take in a dyn trait.
182.
▲
by
Maxatar
9mo ago
Static analysis is about proving whether the code emitted by a compiler is actually called at runtime. It's not simply about the presence of that code. Code can be emitted but never executed.
183.
▲
by
Maxatar
9mo ago
I have to disagree with you about MMX. It's possible a lot of software didn't target it explicitly but on Windows MMX was very widely used as it was integrated into DirectX, ffmpeg, GDI, the initial MP3 libraries (l3codeca which w
184.
▲
by
Maxatar
9mo ago
Huh? This guy just declared he'll never buy another Tesla again. How is that giving it praise?
185.
▲
by
Maxatar
9mo ago
No one disputes that C++ accepts some invalid programs, I never claimed otherwise. I said that C++'s type system will reject some programs that are in principle correct, as opposed to what Spivak originally claimed about C++ acceptin
186.
▲
by
Maxatar
9mo ago
I'm not sure what your replying to, but it can't be my comment because what you're saying has absolutely nothing to do with it. But kudos to you on writing an irrelevant wall of text.
187.
▲
by
Maxatar
9mo ago
Lifetimes are the input to the borrow checker, so it doesn't make much sense to say you have never been bothered by the borrow checker but you are bothered by lifetimes.
188.
▲
by
Maxatar
9mo ago
>C++ says that all correct programs are valid but the trade is that some incorrect programs are also valid. C++ does not say this, in fact no statically typed programming language says this, they all reject programs that could in princip
189.
▲
by
Maxatar
9mo ago
So don't use it. Rust is not intended to be used by everyone. If you are happy using your current set of tools and find yourself productive with them then by all means be happy with it.
190.
▲
by
Maxatar
9mo ago
Why is this a footgun? This seems no different than using a try/catch. try { throw new IllegalStateException("Critical error"); } catch(Exception) { return "Move along, nothing to see here"; }
191.
▲
by
Maxatar
9mo ago
I don't see how you could have read the article and come to this conclusion. The first few sentences of the article even go into detail about how a cheap $1200 consumer grade computer should be able to handle 10,000 concurrent connecti
192.
▲
by
Maxatar
9mo ago
The term is absolutely ambiguous and I know I've run into confusion in my own work due to the ambiguity. For the purpose of the C10K, server is intended to mean server process rather than hardware.
193.
▲
by
Maxatar
10mo ago
By itself it's not a problem, but it's certainly useless. Perhaps you can tell me what use "3 ∩ 4 = 3" has. The problem is that these properties get in the way of proving arithmetic theorems because if you are being abso
194.
▲
by
Maxatar
10mo ago
This happened about 15 years ago back in the Windows 8 era.
195.
▲
by
Maxatar
10mo ago
My statement was specific to recursive descent parsing.
196.
▲
by
Maxatar
10mo ago
You're going to have a very hard time parsing a language using recursive descent if you don't understand some formal language theory. Recursive descent algorithms have a lot of trouble with left-recursion, and can result in arbitr
197.
▲
by
Maxatar
10mo ago
So unless I'm mistaken, the TL;DR is that GPTs inherently can not be Turing complete because they always terminate, ie. there is always a non-zero probability of the end-of-token character to be generated. Seems like a fair argument to
198.
▲
by
Maxatar
10mo ago
The voices used in the trailer will not be the same as the finished game.
199.
▲
by
Maxatar
10mo ago
So I wouldn't go so far as to say that I'd fire someone for copying and pasting code, but it's definitely part of my company's culture that copying and pasting code off of a website, and especially executing it, is somet
200.
▲
by
Maxatar
10mo ago
Isnt the point of the article that blindly copying and pasting this code leads to the wrong answer? I agree many developers do blindly copy and paste things off the Internet, but I don't think that's something to desire or celebra
201.
▲
by
Maxatar
10mo ago
Is it really faster to run the code than to just answer it? Like are people struggling to answer this question?
202.
▲
by
Maxatar
10mo ago
If you have a test that can identify a good candidate quickly then you have honestly struck gold and can genuinely use that to start your own company. I mean this with absolute sincerity. One of the absolute hardest part of my business is r
203.
▲
by
Maxatar
10mo ago
Type deduction is a form of type inference, a very restricted/crude form of type inference that only considers the type of the immediate expression. The term is used in C++ because it predates the use of auto and was the term used to d
204.
▲
by
Maxatar
10mo ago
The comment you're replying to is also a joke, with some interesting bits and details.
205.
▲
by
Maxatar
10mo ago
I didn't ask about what I should or shouldn't do and don't really care about your opinion on what I should read. I was surprised by how short and superficial the article was as originally linked and wanted to know if that was
206.
▲
by
Maxatar
10mo ago
I only see three fairly superficial paragraphs. Is there more to the article behind a paywall?
207.
▲
by
Maxatar
10mo ago
The trade-off is intended to make it easier for people to write software. Garbage collected languages make it easier for people to write memory safe code at the expense of performance, significantly greater memory usage, and heavy dependenc
208.
▲
by
Maxatar
10mo ago
I also prefer that and in fact I enable "visible whitespace" in every text editor that supports it, such as VS Code.
209.
▲
by
Maxatar
10mo ago
That's precisely the argument I'm making. A company's stock price can be undervalued, which exactly means that the stock price can increase without any change in the company's revenue or profitability. The stock price ca
210.
▲
by
Maxatar
10mo ago
I just think you are the other person who replied to me are making the same mistake, which is mixing the means of accomplishing a goal with the goal itself. This is a mistake I see a lot (especially in software development), where people ge
More ›