Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Maxatar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
361.
▲
by
Maxatar
2y ago
This is the one major stumbling block for profiles right now that people are trying to fix. C++ code involves numerous templates, and the definition of those templates is almost always in a header file that gets included into a translation
362.
▲
by
Maxatar
2y ago
C++ does have ways to force heap allocation, but frankly it's just an antipattern. It's easier to reason about value semantics than reference semantics. If you want a class with a stable address that is heap allocated, then do so
363.
▲
by
Maxatar
2y ago
By your standard C++11 isn't backward compatible with C++98.
364.
▲
by
Maxatar
2y ago
Circle is 100% backward compatible with C++. That is a technical property of the language. You are welcome to take your millions of lines of C++ code and it will compile without change using Circle as any valid C++ code is valid Circle code
365.
▲
by
Maxatar
2y ago
What you say doesn't in and of itself, have any effect on this. If what you say is true then it's always the case that crime is underreported, always the case that crime is deleted from reported crime numbers, always the case that
366.
▲
by
Maxatar
2y ago
Didn't President Reagan fire almost every air traffic controller in thr 80s? Weren't they unionized as well? My understanding is that the consequences of that decision is being felt even to this day. I only know about it because o
367.
▲
by
Maxatar
2y ago
The collect_lines example won't even compile, it's not valid C++, but there's undefined behavior in one of the examples? I'm very surprised and would like to know what it is, that would be truly shocking.
368.
▲
by
Maxatar
2y ago
>the full bower checker in C++ approach is incompatible with all current C++ Circle is an implementation of C++ that includes a borrow checker and is 100% backwards compatible with C++: https://www.circle-lang.org/site&#x
369.
▲
by
Maxatar
2y ago
No this is untrue. Independent creation is an affirmative defense against copyright infringement. You'd never convince a jury that you independently wrote the exact same article as a New York Times article, but in principle you can arg
370.
▲
by
Maxatar
2y ago
Modules don't treat templates any differently than non-modules so no, they don't prevent duplicate template instantiations.
371.
▲
by
Maxatar
2y ago
1. Anyone can get all of NYT's articles for free along with CNN and every other major news site, this isn't in dispute, it's available here in a single 93 terabyte compressed file: https://data.commoncrawl.org/
372.
▲
by
Maxatar
2y ago
NYT's statement of claims is here: https://nytco-assets.nytimes.com/2023/12/NYT_Complaint_Dec20... And OpenAI's defense is here: https://fingfx.thomsonreuters.com/gfx/legaldocs/
373.
▲
by
Maxatar
2y ago
Don't see how it could introduce bugs. The point of replacing a variable is precisely to make a value that is no longer needed inaccessible. If anything introducing new variables with new names has the potential to introduce subtle bug
374.
▲
by
Maxatar
2y ago
The Rust compiler would complain in this case that the initial i variable is unused. Unused variables should be named with an underscore, _.
375.
▲
by
Maxatar
2y ago
No, the reason I hold them in my tax-free investment account is because you can't trade on margin in those accounts. So the closest thing to margin you can get is a leveraged ETF. I never have to worry about getting margin called, or g
376.
▲
by
Maxatar
2y ago
I've been holding it for close to 10 years, it's my best performing holding by a long shot. I like to hold leveraged ETFs in my tax-free investment account and TQQQ along with UPRO are the ETFs of choice for me.
377.
▲
by
Maxatar
2y ago
It should not come as a surprise. While it's a bit of a simplification, index funds are effectively a representation of the average surviving investor...that is among all investors, index funds are the average of those who have not yet
378.
▲
by
Maxatar
2y ago
2% over 30 years is inconsequential. At an average rate of 7%, that mean you'll grow your investment by 759% over 30 years instead of 761%.
379.
▲
by
Maxatar
2y ago
No it's not, even with MSVC on Windows dereferencing a null pointer is not guaranteed to do anything: Here's a classic article about the very weird and unintuitive consequences of null pointer dereferencing, such as "time tra
380.
▲
by
Maxatar
2y ago
In case you're not trolling (and it's really hard to tell), those makefiles are for building projects whose source code is written using C or C++. The projects they are building are things like the Java runtime, Go runtime, or the
381.
▲
by
Maxatar
2y ago
Buying dogecoin or any crypto, security or asset can not be deducted though. Losses can be deducted, and the depretiation of various assets can be deducted, but the purchase itself isn't considered an expense and can't be deducted
382.
▲
by
Maxatar
2y ago
Exactly, there is a huge difference, that's the point! You seem to think the original claim is that someone took code from CDO and built AWS off of it, and no one said that. The simple claim which is reinforced in the very Quora link y
383.
▲
by
Maxatar
2y ago
But none of those claims contradict the point that was made. It's not really clear what you're disputing. AWS exists because Amazon had already developed the know-how and expertise in how to deliver computing infrastructure as a s
384.
▲
by
Maxatar
2y ago
The Quora link reinforces OP's point though, it doesn't contradict it at all. The only myth listed in your link is that Amazon made AWS to sell off excess computing capacity during periods of downtime. This is from the CTO of Amaz
385.
▲
by
Maxatar
2y ago
My understanding is that all of the functions found in the C compatibility headers that the C++ standard defines can not be made constexpr. sqrt is among them, as are a lot of the math functions.
386.
▲
by
Maxatar
2y ago
The Wikipedia article does not flag Giuliani as being a member of Russian organized crime, but someone who Giuliani's law firm represents, an individual by the name of Dmytry Firtash. Furthermore the timeline for this is over a decade
387.
▲
by
Maxatar
2y ago
I'm surprised that ChatGPT is able to answer questions directly unlike on StackOverflow where so many questions are met with "But why would you want to do that? Clearly what you want to do is <insert over-engineered architectur
388.
▲
by
Maxatar
2y ago
It's totally cool if you want to argue what you're arguing about the value of investing early to unlock long term compounding gains but... don't call it the time value of money. Time value of money means something different t
389.
▲
by
Maxatar
2y ago
He agreed to extend to TikTok an executive order that grants it a 90 day extension, as the law explicitly allows the President to do.
390.
▲
by
Maxatar
2y ago
I don't have much of a horse in this race, and I wouldn't consider myself pro or anti-China but I do a significant amount of business in China just shy of 9 figures annually in terms of revenue and I have never once dealt with the
More ›