skysight-inc/HackerNews huggingface dataset:
> I'm glad someone is having fun in C++. Personally, after >20 years, I have to be done with C++. It’s just a mess.

I've spent a couple of decades working with C++, and the truth of the matter is that, as much as it pains the bandwagony types, C++ became great to work with once C++11 was rolled out. The problem is that teams need to port their projects to >C++11 and that takes an awful lot of work (replace raw pointers with smart ones, rearchitect projects to shed away C-style constructs, etc) which some product managers are not eager to take.

I firmly believe that the bulk of this irrational hatred towards C++ comes from naive developers who try to rationalize away their lack of experience by blaming everything on the tool. On top of this, cargo-cult mentality also plays a role.

What makes this quite obvious is the fact that the solution presented to all problems always comes in the form of major rewrites, even with experimental and unproven features and technologies. Writing everything again is always the solution to everything. Everyone before them knows nothing whereas these messiah, cursed with being the only ones who see the one true answer, always have a quick and easy answer to everything which always boils down to rewriting everything from scratch with the flavor of the month. Always.

Weird, huh?
Zig is great, it’s not aiming to be a replacement for C++ though. One of the awesome things about Zig is its interoperability with C. In that sense it’s more of a Typescript to C than Rust is to C++. I’m still not sure what I think about Rust personally. In my region of the world I suspect it’ll continue to struggle to find any form of adoption as the C++ people seem to have very little interest in trading their decade long experience for Rust. Zig on the other hand is winning the hearts and minds of most C programmers I know.

I hope Rust succeeds though. I say this more from a change management perspective than anything else. It’s extremely hard for us to find developers who will primarily work with garbage collected languages but occasionally have to work with either C or C++ when bottle necks appear. Rust makes that much easier, or perhaps less dangerous would be a better term. I’m not sure any of the attempts at making C++ more safe to use is going to really succeed in this regard. Maybe, but I nothing within the C++ community seems to pull in that direction so I doubt it. I’d like to mention that I’m aware that Zig isn’t helpful in this regard either as it’s not memory safe.
You can also take Parfit’s advice and just read Sidgwick over and over.
There is also `ts` from moreutils[0]. One of a few gems there. And moreutils is (probably) already in "your" distro.

[0] https://joeyh.name/code/moreutils/
We've been doing the education approach for decades.
Damage that is bad enough becomes easy to quantify, so no, "unclear" actually does put a bound on it.

Survival odds in car crashes demonstrate this nicely: count the outcomes and divide. If "the survival odds were unclear, scientifically speaking" then car accidents would have to be orders of magnitude more rare and less lethal than they are.
Cool, I have like keeping track of this site and nice to see a new release
Trump starts a trade war that impacts a small but vital part of the economy that is already struggling like agriculture. The MAGA hat crowd still supports him while scratching their heads about what they could possibly do besides wait for more govt checks (see 2017)

Elon and Trump break up in Taylor Swift style. Messy and dramatic.

Epic coin hacks.

Americans get even madder at their healthcare. Republicans respond with some Hillsdale style “market reforms” but mostly blame Obama.

AI hype peaks. Massive losses are taken as 75% off the players in the space implode. (Winners are really going to win, perplexity, etc)
one of the main ones with the tray printers is dusty rollers . the rubber rollers that roll the paper out of the tray will get dirty and the paper will slip and cause jams or miss printing. of course theirs no error code for dirty rollers so the printer would say all kinds of shit because it would end up being a paper jam. we also used labels in the pharmacy and those would peel off and end up stuck all over the inside of the printer, good times haha.
The underlying issue is that for the matches the interface relies a lot on heap allocations for the individual matches, leading to a lot of allocations of small regions to copy from the original input. Many other libraries provide a lot more control there.

In benchmarks std::regexp often is a lot slower compared to other implementations, independent from the standard library implementation of choice.

The big upside compared to all others is that it's always available. But if there is a choice alternatives are often better.
That's bizarre - someone tried to scam me in a similar way literally a few minutes ago.

I am selling something on a marketplace. Someone contacted me - they want to buy the thing I am selling. Do I still have it? I say yes. They say they are sending a GLS courier to collect the item. I figure they need the item fast - we are celebrating Christmas tomorrow. Why not.

The "buyer" sends me a link to a service supposedly offered by GLS, where GLS works as an intermediary - they collected the money from the buyer; when they collect the item, they will pay me. This is happening in the Czech Republic, and services like that seem plausible here. I do not know every detail of every delivery service offered here. The page looks just like an ordinary GLS page. I am in a hurry. I do not pay that much attention. I pause and check only when redirected to my bank's authentication page (this is the phishing part, obviously). Turns out GLS offers no such service.

I was closer to giving them what they wanted than I imagined possible. I was on autopilot until the last second. Not even my bank's login page surprised me that much - we have something called "bank identity" that lets you authenticate stuff by your bank ID. It is so convenient that I got used to it and I do it carelessly.

>> I hate scammers

Yes, me too.
With age book reading gives diminishing return to me. I read two fiction books this year and solely to absorb some foreign languages vocabulary.

I read about 10 programming/devops/architecture books though. Even in 2024 I find tech books useful and I'm very grateful to the authors. Writing tech books do not make a lot of financial sense as I understand making me appreciate them even more.
I don't think so different, just the intensity. Alcohol withdrawal causing full blown auditory and visual hallucinations is also documented.
That project went nowhere and was never more than a basic kind of Hello World, it is from Windows 10 early days, when Windows Phone still mattered.

The Android variant of similar age, is what was in the genesis of WSL, after being ramped down as well.
I feel like an abused spouse after C++. I now avoid:

- Inheritance
- Reference counting
- Threading
- Templates
- Classes if possible
- Hidden memory allocation
- Anything that looks clever

Anytime I use them I get flashbacks to some mangled mess of templated threaded classes with some memory leak that shows up after 3 days.

I remember writing C++ and trying to figure out how the design would work between these classes, I would end up with something complicated and not entirely correct. Eventually, I thought, what if I did this in C? What would it look like, 90% it turns out with 90% less design and code (and bugs).
They lose their liability shield for the act of taking the content down, but that liability shield is of limited value to begin with because they'd typically be well within their rights to take any content down for any reason (or no reason).
Thank you!

Curious why the board never paid back the original principal at any point in time over the past 400 years?

If the current annual interest of 2.5% cited in the article is €13.61, that would make 1200 guilders €544.40.

Did they just forget to? Did they figure the bond would eventually disappear? Or did they at some point think it was really cool to have a piece of "living history" and want to keep the world record alive for oldest active bond? If so... when?
I built a zero-dependency-injection Prometheus metrics reporter for NestJS
I don't think the first amendment obligates companies to let you share kiddie porn via their services.
I’m a huge fan of checklists and annotating/updating them with more information (when, what, observations, etc.). I see a lot of value with checklists in managing the complexity and in making sure that something doesn’t just slip by. Even if I know several steps from memory, I’d still want a documented list to reduce/remove human error. After all, we may not have our best skills with us at all times and in all situations.

Unfortunately, the people I work with aren’t that interested in creating checklists or keeping the ones I create updated. But I trudge along hoping that sometime in the future they may get some value from it.
> then spend the rest of the day learning why I can't do what I want

There's a point when learning's fun, I think the OP is still there.

I wrote a bunch of realtime C++ in 2003, hated it. But last year, I wrote most of my code in C++ and liked it finally.

Lambda and auto was the tipping point where I stopped hating it. Some templates thrown in, but mostly to avoid writing a lot of branches for variants of the same function.

With lambdas I could now write the way I was initially taught programming, mostly by Lispy teachers channeling SICP.

Didn't hate the allocations either with unique_ptr.
I believe the car industry is somewhat competive as well and they needed allmost 10 years to become profitable.
I recall not being very effective with C++ for years, and then someone recommended the book Large Scale C++ Software Design, and that was a big unlock.

I didn’t use 80% of what’s in the book, but just having a comprehensive way of structuring the code was a massive productivity boost. Looking back, I suspect it was less that it was “the right way”, but just that it was “a way” and most of the benefit was it kept me from overthinking and got me to work.

Later with C++11, I kept having this thought, “in Python this would be way less verbose”, and I started writing C++ that looked more like Python, creating whatever helper functions Python would have (mostly simple stuff, string handling, etc).

That was one of the most productive seasons of programming I ever had, and I still get tempted to write stuff in C++ that Python is better suited for, just because the benefit of not overthinking is that significant (at least for me).
Using C++ after Rust made me appreciate the latter a lot more. You quickly learn all the footguns that the compiler stops you from doing and is generally a good learning experience.
Despite all the technical advancements, hedge funds are holding cash, or liquid. China is old, Europe has stagnated economy, america is expensive and tough to compete on, Russia is in war, Capitalist fear middle east, Korean peninsula is in chaos, japan is stagnated, Australia lacks technical advancements, low popular for manufacturing. Short term stocks in holding in India and Asia, a bit in Nordic population, and America. Manufacturing in Mexico and changed Argentina.
"Researchers can’t fully explain the growing epidemic of people suffering from psychosis, particularly younger men." - well let me take a wild guess: cannabis maybe?
jj was inspired by a bunch of internal Google tooling around their VCS, which was originally built on top of Perforce, so I'm not surprised the history shows through a little.
Zig not having operator overloading makes it suck horribly for writing any kind of vector code. If everyone had to write int a = int_add(int_mul(3, 7), 2) etc there would rightly be a riot, but since they're not 3D coders they just don't give a shit. Too bad, Zig looks great.
Notably, each item you cite involves some manner of prior government-centralized policy decision. Each forms the basis for a gross economic distortion.
Lots of older Apple hardware used soldered-in 1/2AA lithium batteries. You can replace them with a removable battery holder that was used on some later board versions.

https://www.mouser.com/ProductDetail/Keystone-Electronics/10...

https://www.mouser.com/ProductDetail/Keystone-Electronics/10...
the view you are describing could be described as (or at least, i would describe as) "newtonian" interest/inflation, where modern thinking is more "einsteinian".

the interest rate of a bond isn't just "liquidity/the time value of money", it also contains expectations for future inflation rates. However, we never know the future, so inflation risk cannot be eliminated/hedged by any means, so being "wrong" about the future might harm or reward you.

furthermore, by portfolio theory, you would have needed to reinvest all the interest received from this bond immediately upon receipt as part of your evaluation of the performance of the bond (which, that being difficult to do is why we evaluate bonds at "present value"). All those past interest payments made would have been reinvested at prevailing (e.g. so-called "inflationary") rates and might have done extraordinarily well.

If you include all factors, this bond might have been the best investment she could have made, and it would be wrong to describe it as somehow "ravaged by inflation"; with nothing any better to do with her savings, it's the idea that money is somehow "fixed" and potentially permanent unless "eroded" that we should see as damaged, not the value of this bond.
"update ... from ..." still uses that syntax and it throws me for a loop every time. I have to stop and think about it while convincing myself it is doing the same thing as "join on".

https://www.postgresql.org/docs/16/sql-update.html
Considering how much more aggressive you can get with stainless steel during cooking and cleaning versus plastic/nonstick I'd say you still did good
Switched Back to Windows After over 10 Years on Linux
I would assume that bond was made in an era of low or no inflation. The yield of 2.5% would barely cover our current levels of desired inflation.
They will need to rewrite Metal into something else, as it is Objective-C with Swift bindings.

Hence why Metal-Cpp has a mini Objective-C interop layer.
Once Claude gave me the query, I read it, asked questions about how it works and asked about potential changes. “Why is this bit here? Couldn’t we do it like this instead?” And so on. We went through about 5 variants of the same query, Claude and I. They didn’t all work.

I’m still no expert. But I have a lot more confidence in that query & how it works than I would have from cobbling something together from stackoverflow.
It's not even close to that simple. Nobody is really questioning if the data contains the copyrighted information, we know that to be true in enough cases to bankrupt open ai, the question is what analogy should the courts be using as a basis to determine if it's infringement.

It read many works but can't duplicate them exactly sounds a lot like what I've done, to be honest. I can give you a few memorable lines to a few songs but only really can come close to reciting my favorites completely. The LLMs are similar but their favorites are the favorites of the training data. A line in a pop song mentioned a billion times is likely reproducible, the lyrics to the next track on the album, not so much.

IMO, any infringement that might have happened would be acquiring data in the first place but copy protection cares more about illegal reproduction than illegal acquisition.
>But, C++ kept evolving, and the standards committee seemed to realize that if they don't do something they'll become an obscure language only used by a single 10 trillion dollar industry. How pathetic!

Which industry is this referring to?
> don't trust Nobel laureates or even winners

Nobel laureate and winner are the same thing.

> Linus Pauling was talking absolute garbage, harmful and evil, after winning the Nobel.

Can you be more specific, what garbage? And which Nobel prize do you mean – Pauling got two, one for chemistry and one for peace.
Since this is getting upvoted, I will put forth a suggestion I've made to the people who've paid me to help with this sort of subterfuge: turn your 404 handler into search. Then a human who goes there has a way out. But absolutely, load it up with garbage and broken links.
Don't build walls, Redirect lightning
I guess at the current market cap you may be right about 2x being "a lot", but the crypto market is no stranger to multiple increases.

And the valves are fully open now with a ton of Bitcoin/Crypto ETFs across the planet and in the US in particular. Even at these prices it won't take that much to raise the price drastically.
The original piece was on developing with a long-scale time horizon (10 years), so you could go with software that has been very stable over comparable time scales.

For example, there are corners of the Perl ecosystem that have been really stable for a long time. Perl itself is very conservative with backwards-incompatible changes, and DBI, the module that abstracts away database interactions, has been around for a long time (the oldest changelog entry is from 1995, but that was for version 0.58, I'd be surprised if it weren't even older).

Of course, then you don't get the fancy, modern libraries, but going with DBI plus DBD::Pg is probably more efficient than coding your own, and stable enough for a ten-year horizon.

Another approach might be to move the really critical pieces of your software to a much simpler interface. For example, HTTP/2 looks much more complicated than HTTP/1.1, so your software might only implement (a subset of) a HTTP/1.1 server, and then you can use an off-the-shelf reverse proxy to expose it to the "modern" internet. This reverse proxy then is easier to replace, because it doesn't handle the core logic of your application.

Or you go really old-school and use CGI, which is an even simpler interface than writing a HTTP server, and any HTTP server that implements CGI would do as a frontend.
So if their available interest rates had ever dropped below 6.25% then the issuers should have bought it back?
Many terrific books have been published in the past 500 years. The median book is not worth your time, however, and neither is the top 10%. You cannot possibly read everything so you have to be very selective or you will read only dreck. This is the opposite of being anti-science or anti-education.
I imagine most C programmers are still using C99 or older anyway, particularly in the embedded space.
Presumably people who get into math going forward will feel differently.

For myself, chasing lemmas was always boring — and there’s little interest in doing the busywork of fleshing out a theory. For me, LLMs are a great way to do the fun parts (conceptual architecture) without the boring parts.

And I expect we’ll such much the same change as with physics: computers increase the complexity of the objects we study, which tend to be rather simple when done by hand — eg, people don’t investigate patterns in the diagrams of group(oids) because drawing million element diagrams isn’t tractable by hand. And you only notice the patterns in them when you see examples of the diagrams at scale.
You appear to have forgotten the license for your open source alternative
Combine it with prolog to prove reasoning.
Shouldn’t ChatGPT be smart enough to know to do this automatically, based on context?
It’s just one of those areas where we weren’t quite fast enough to catch up with the U.S. in copying their mistakes. Though I think it is true that the tea bag used to be a German idea.
The nostr tech itself is great.

The problem with nostr is that 95% of the conversations are about crypto.
Yes, sometimes it takes a long time—which is still much better than authoritarian approaches.
Which is why they would get 10 browser extensions out of nowhere.
For those like me that didn't know

"The Legal Entity Identifier (LEI) is a reference code — like a bar code — used across markets and jurisdictions to uniquely identify a legally distinct entity that engages in a financial transaction."
> Infiniband is an industry standard

Infiniband is not an industry standard lol.

Maybe it used to be, but it definitely is not anymore. Most Infiniband vendors are dead. The only product from those days that endures is Cornelis' Omnipath, and even that only emulated the Infiniband API back with its first gen, and then evolved to be its own thing.

At this point, Infiniband is as good as a proprietary interconnect only sold by Nvidia/Mellanox.
I take a few features from C++ in my C++/SDL2 Ultima spinoff project -- never completed sadly. Class, std::function, std::unordered_map, std::string, std::unique_ptr<type> are the only ones that I could recall.

I can't imagine reading other people's code though, unless it's in a similar style. I did find that the most difficult part is to get past the programming patterns (such as Visitor pattern) as I don't write large programs professionally.

I wish C++ stopped at C++/11. The committee seems to want to include everything into it at the moment. Maybe C++ is sort of ULTRA programming language that supports every niche programming style.
I think we can start with "C++ is not popular enough to attract the weirdos".

Presumes C++ is not popular and also popularity attracts weirdos. If anything, weirdos are attracted to languages that are not popular at all. I remember once I was on a small language project and this guy on the mailing list wouldn't stop going on about how our language had to support vorpal math.
I don't know what you mean by timing (relative to what?) or "simple indexing" (they scanned the complete contents of books), but I am, and was already aware, of the wiki article and the role of recaptcha.

Maybe I wasn't clear, but I was interested in the consequences of the legal stuff. It's not clear from the wiki article what any of this means with respect to the suitability of scans for AI training.
It's not necessarily just heat.

Salt, acid, alkaline solutions could potentially lower the temperature at which hexavalent Chromium appears.
Not really. IME, it's by far the exception that gets a tech job without a degree. If it were common, no one would bother mentioning it.
https://www.lightdims.com/
A friend of mine just bought this for his mom, I thought it was really cool apparently it can recognize if the same bird comes multiple times and stuff like that

https://www.birdfy.com/products/birdfy-feeder

But I just saw it has a subscription fee lol. I understand but no way would I get that.
Analgesic Use and the Risk of Hearing Loss in Men (2010)
Wow, that's ridiculous.

I wonder if Xcode does any better with them. Now that would be something.
Even if you didn't have to move it, getting a taxi to some meeting place would exceed the interest payments, let alone traveling to Europe.
How is synthetic data supposed to work? Broadly speaking, ML is about extracting signal from noisy data and learning the subtle patterns.

If there is untapped signal in existing datasets, then learning processes should be improved. It does not follow that there should be a separate economic step where someone produces "synthetic data" from the real data, and then we treat the fake data as real data. From a scientific perspective, that last part sounds really bad.

Creating derivative data from real data sounds, for the purpose of machine learning, like a scam by the data broker industry. What is the theory behind it, if not fleecing unsophisticated "AI" companies? Is it just myopia, Goodhart's Law applied to LLM scaling curves? Some MBA took the "data is the new oil" comment a little too seriously and inferred that data is as fungible as refined petroleum?