skysight-inc/HackerNews huggingface dataset:
You can't repatch all the calls. The OS/standard library provides a set of global operator new and delete implementations, and for largely historical reasons they are _required_ to allow processes to override them with their own implementations.

Now when a program does decide that they're going to override the global operator new and delete functions the standard library is required to default to them instead. So generally the standard library exposes them as weak symbols, and the OS and stdlib links to them by symbol name. That way on program launch the program's version of the operator new/delete symbols are what win. So that's how the OS and standard library are able to interact with the program despite it overriding what is ostensibly the system allocator.

So in principle the OS could simply make sure that the user provided operator new, delete, etc are always directed to the system allocator routines. The problem is that when compiling user code there's no obligation to call the user provided new, delete, etc through a symbol, and in general won't. Instead the calls will generally be compiled down to PC relative loads and branches as those are significantly faster. The net result is that while the OS _could_ force the symbols to always resolve to the system functions, things would break due to the user code still using the user specified functions, but those functions then would not be compatible and the result would be sadness. Hence the user defined operator implementations have to win.

The problem is what happens when not all of the operators are overloaded. This historically hasn't been a problem: there's the plain and [] variants, which can be overloaded independently, and the no_throw variants of each which have in practice not been an issue because the way those are implemented by default is essentially

try { return ::operator new(size); } catch(...) { return nullptr; }

So does just directly the operator new that people override.

The problem that operator new(size_t, align_val_t) is that depending on your compiler flags you will get different versions of ::operator new being called, and because of the alignment requirements the aligned operator new can't just forward to the default new implementation. So introducing it is the first time failure of a program to implement the full suite of operators results in an actual runtime error vs minor inefficiency.

The reality is that the minimally correct solution is for all programs and libraries that overload the global allocation operators to override all of them. The better solution is for these programs and libraries to stop overloading the global allocators.

Many years ago (talking >a decade at this point) when webkit first adopted a non-default allocator it overloaded the global operators. Perhaps unsurprisingly this caused issues, and now webkit (and presumably blink) do the correct thing: there's a standard base class (FastAllocated or something) that defines operator new, delete, and the [] variants, and using that as a base class results in the non-default allocator.
Any good guides like this for MySQL? Unfortunately having to use it instead of Postgres at my current job.
What you are describing is called an amorphous computer https://groups.csail.mit.edu/mac/projects/amorphous/
You are talking to strangers on the internet right now and seem to find it worthwhile.

Do you mean Secure Scuttlebutt? "Scuttlebot" seems to be the old name for the primary Secure Scuttlebutt server implementation (https://handbook.scuttlebutt.nz/glossary), though its website is still https://scuttlebot.io/.
Not sure what this is arguing besides 'might makes right.' Google's Play Store is more open and more dominant, anyhow. Apple succeeds on the strength of their exclusive hardware.
$ORIGIN has been pretty well-known and documented for a very long time
It's fascinating how creepy and manipulative the innards of these products look when you have to implement them with natural language instead of code.
REST API example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/t...

Template example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/m... & https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/d...

Dynamic C++ page example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/d...

Action based view example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/d... & https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/d...

XML driven configuration example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/d...

Annotation (#pragma) driven example - https://github.com/sumeetchhetri/ffead-cpp/tree/master/web/m...

ORM example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/d...

Caching example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/d...

Script execution example - https://github.com/sumeetchhetri/ffead-cpp/tree/master/web/d...

Programming language integration examples - https://github.com/sumeetchhetri/ffead-cpp/tree/master/lang-...

OS Build scripts - https://github.com/sumeetchhetri/ffead-cpp/tree/master/docke...

Cross compiling (android, mingw54, dockcross) - https://github.com/sumeetchhetri/ffead-cpp/tree/master/docke...

ffead-cpp modules - https://github.com/sumeetchhetri/ffead-cpp/tree/master/src/m...

ThreadPool - https://github.com/sumeetchhetri/ffead-cpp/tree/master/src/m...

Backend Server integration - https://github.com/sumeetchhetri/ffead-cpp/tree/master/src/s...

Server modules (apache/nginx/openlitespeed*) - https://github.com/sumeetchhetri/ffead-cpp/tree/master/modul...

Websocket example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/d...

Wefilter example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/d...

Webcontroller example - https://github.com/sumeetchhetri/ffead-cpp/blob/master/web/d...

Cron Jobs module - https://github.com/sumeetchhetri/ffead-cpp/tree/master/src/m...

SOLR-Zookeeper/Elasticsearch (Search module) - https://github.com/sumeetchhetri/ffead-cpp/tree/master/src/m...

Toy/Useless interpreter - https://github.com/sumeetchhetri/ffead-cpp/tree/master/src/m...

Solaris/BSD vagrant builds - https://github.com/sumeetchhetri/ffead-cpp/tree/master/vagra...

A Dumb code autogenerator - https://github.com/sumeetchhetri/ffead-cpp/blob/master/ffead...

All github workflows for build validations - https://github.com/sumeetchhetri/ffead-cpp/tree/master/.gith...
I guess chemical treatment or the suggested "heat to 60 degrees celsius" might work. But the f*** are pretty mobile and escape or call security / police.
This seems to be a paid advertisment of New Hot Thing
Didn't downvote, but the constant mixing up of criticism against XML nonsense (justified) with criticism of annotations (why? Have so many people seen code bases that abuse them?) might be one reason.
To explore how businesses may create a productive system for managing their contract-related data throughout the contract lifecycle, keep reading our blog.
Classifying Constructive Comments
Sadly, WebAuthn is also becoming a victim in the same way (at least on iOS).

The expectation is that WebAuthn private keys are stored in the secure enclave, which would be a comparable security guarantee to YubiKeys and other hardware devices.

"Passkeys" are now forcibly synced via iCloud, you can't use WebAuthn on iOS without enabling iCloud Keychain.
Charity starts with abundance.
Many nations with better democracies than the US don't publicize arrest record photographs.
Anyone who uses Apple Pay knows it is the way payments get made in the future. The narrative that it is some sort of failure is completely wrong.
I agree. I think the discussion has been in a better place. Many discussions are heavily polarized with no room in the middle. Maybe it’s the layoffs, maybe it’s the war, maybe it’s AI, maybe it’s the golem that Tim Urban talks about in his latest book, or maybe it’s all of these and more.

I don’t know the cause, but I would surely like a more open discussion where most viewpoints can be openly discussed.
I have the opposite experience. Touch ID doesn't work well in regions that experience cold dry winters -- when my fingers are dry, Touch ID doesn't read. (I have 5 fingerprints from different angles stored -- no dice). Not to mention it doesn't work when wearing gloves.

Face ID on the other hand works almost all the time, even with a face mask on (iPhone 13 and later only)
> If you've had this all your life then it's reasonable that you would assume everyone's vision works like that

I just can't possibly imagine vision that has zero noise at all. That can't be physically possible. Surely people who think their vision is completely 100% noise-free are just unable to tell that it's there? Or am I just crazy? I mean this is literally the same reason why photos taken by digital cameras have noise in them...

> maybe you could try using that website to compare your experiences with some friends

The website just isn't accurate to what I see for some reason. It's not nearly that obvious. It's just how solid colors are constructed. I'm fairly sure that everyone has this and just doesn't notice.

But... "fairly sure" isn't completely sure. I would be so surprised if I'm wrong, but I have no idea, honestly.
NFC is NFC. Tap to pay with the physical cards is what convinced me to finally start using the same thing on my phone. If I had a watch... I'd probably still use the phone? I'm not entirely clear on why or how Dick Tracy inverted, yet again.

Note that I have no problem with others liking the watch. I just don't see what makes it so much more convenient than a phone. Curious what will pull me over.
If stuff in is less than stuff out for long enough, the organism will fail. This is regardless of capitalism or communism or any other -ism.
It would help if we knew what you meant by "unuseable for me" and "works on old machines". What is an old machine? Do you want to run your own blogging server on your own hardware, or have an account on a hosted blogging site?

https://en.wikipedia.org/wiki/Category:Blog_software --
https://en.wikipedia.org/wiki/Comparison_of_microblogging_an...
I think it comes down to Deming really being a master of his trade. It reminds me of Bruce Lee's quote: “Before I learned the art, a punch was just a punch, and a kick, just a kick. After I learned the art, a punch was no longer a punch, a kick, no longer a kick. Now that I understand the art, a punch is just a punch and a kick is just a kick.”.
What are the advantages over OpenLens?
Chip payments remain awful. Mag stripe worked much, much better. Much cheaper "terminals". Could use in many more places.

The awfulness of chip payments makes Apple Pay possible.
How does that work with GDPR right to be forgotten? Many users here are EU residents. YC undoubtedly has accounts with banks that have a presence in the EU, making judgements enforceable.

Stylometry will be an identifying characteristic soon if it isn't already.
>> and classist; you're clearly saying between the lines that you think poor people are fat/lazy.

Uhh… I’m from one of the poorest parts of Appalachia & am myself disabled (and living on a corresponding income) - do not know just how you came to this conclusion from what I’ve said. Nothing was structured in a way that I’m wanting people to “read between the lines”

Where did I say anything about walking?

Please google “obesity rate”

I’m referring to Americans - not just poor people. Americans are, nearly on average, fat. I didn’t make any mention of laziness.

I am very curious whether or not you’ve ever spent any significant amount of time in a rural/impoverished/blighted part of the USA. A lot of people are too out of shape to operate a riding mower. Heart attacks spike during the beginning of winter from shoveling snow & whenever people first start to use a push lawnmower again.
You are objecting reality & I’m not sure why. Maybe you could email the group in the article to ask their opinion on whether or not I’m making this up.

Anyways, your comment is part of the reason I like to repeatedly bring things like this up on HN. For some reason a significant amount of people on here just seem to have no clue of the quality of life/lifestyles many people have & very openly try to reject the reality surrounding it. You’re never going to see much societal progress when you reject reality.

and if you’d really want to indulge in a hot take of mine - poor people tend to not be lazy. Maybe intellectually lazy if I’m trying to entertain many non-poor peoples opinions on the poor, but the impoverished typically have to work much harder in many facets of life to earn the most meager of a living. People born into the middle class & sheltered by affluence really have no clue, & seem to not care to ever get a clue.
"Linux" is trademarked - https://en.wikipedia.org/wiki/Linux_Mark_Institute

OpenAI is anything but open, but IMHO trademarking their product names is one of their more reasonable actions.
Suica (used for transit in Japan) has been supported on Apple Watch in Japan since the Apple Watch Series 2 way back in 2016

On the London Underground since 2014 you can use any regular EMV NFC debit/credit card to tap in and out of turnstiles. Since Apple Pay just implements the EMV standard, it works just fine as well with any credit card you have added in there.
The SEC / current administration declared war on crypto, and Coinbase in particular, for unclear reasons. This is one of the few ways Coinbase can fight back a little.

[Some speculate the reason is the FTX debacle, and the political donations of its founder, and the politicos wanting to be seen "taking care of that crypto problem"].
I don't know if the product has the same name in the US but here we have this spot-on products against parasites for pets called "Frontline". It's pretty effective against ticks, fleas etc. and so far my cats and dogs still seem OK.
What do you mean their (developers') bottom line wouldn't be affected? Their revenue from iOS would go to 0. They would definitely jump ship, and users would follow.

If you think Apple could do increase their fees to 100% without any consequences why are they not doing it? Do they not like money?
You don’t recall correctly. There is no such a thing as “monopoly power”. A monopoly is a situation in which a market is controlled by a single company. It is a purely descriptive term, unrelated to whether that companies abuses that situation or not.

What you are saying seems closer to “abuse of dominant position”, which is the cornerstone in EU antitrust law, but not so clear in US law where the bar to prove abuse is higher. This does not require a monopoly, just a market share large enough to steer the market. It’s hard to allege this when a company has a minority market share, though.
For anyone uninformed, during discovery for the case, many messages were found belonging to Fox News people and Tucker Carlson.

Tucker conveyed his dislike of Trump and also knew he and Fox News were lying about Dominion.

He was fired because you cannot have a person on the payroll that dislikes Trump or disagrees with the Fox News narrative. He is now considered a traitor to the audience Fox News caters to.
I have a checking account that pays 5.9% APY, I wouldn’t trust sofi with my money.
Wall Street Is Finally Going to Make Money Off the Permian
This returns us to the problem of defining the market, however. Platforms, specifically, exploit this ambiguity by escaping straightforward definitions of market share.
I wonder if the friction comes from holding the phone too far away when you're doing the Face ID scan.

I double-tap and Face ID scan right in front of me first, then I hold it out and tap on the reader. It always works and there's hardly any delay. Fishing my credit card out of my back wallet takes 2 seconds longer.

That said, nowadays I use my Apple Watch and that's even faster -- double click the side button, and tap. (No Face ID at all)
Micropayment rates are usually much lower, think 4 to 5 cents plus 5% for small dollar transactions with a normal merchant processor that actually underwrites your account upfront unlike Stripe.

The Visa/MasterCard auth fee can be below 10 cents for larger payments as well, and depending on card type and brand program the percentage can be below 1%
That was such a joy to read. But then, I have a strange fascination with etymology.
Yup, a lot of people are stuck with 2005-era ideas of how Linux is. A lot of time has been spent on polishing UI and UX to the point Windows and macOS feel clunky in comparison.

You also get a lot of high quality apps from people who take pride in their craft versus apps published by companies who want to spend the least amount of money to get the most amount of $0.99 subscriptions as they can out of an app.
My main intention was always to learn new things about C++ and hence I always tried to choose the path of maximum resistance and hence tried to work on lower level concepts with my limited abilities. So there is select, poll, dev/poll, event ports, kqueue, epoll, io_uring and i/o completeion ports, on various operating systems that you can use to build something to send/receive bits in/out of the wire. So this was more of a learning and building exercise rather than going with the best option available out there.
Yes, they did. The fine was a lot less than they profited from planned obsolescence.
There are a few dependencies that can not be easily vendored (At least not recommended). Mesa is probably the biggest example (An this case was caused by a mesa dependency). You can vendor them technically or even static link them but then you might end up with limited hardware support. The only alternative is to setup a mini opengl distro.
Did the Smithsonian really need that long winded introduction to bed bugs?

Tl;dr Eastern Europe had a technique with bean plants that caught bed bugs, scientists are trying to recreate the technique and failing so far
Will the email providers setup email servers listening on IPv6?
I would say yes, but I'm not pushing it exceptionally hard. I would say it makes a good default unless/until you run into a problem with it.
AMD's AM4 and AM5 Chips Are Frying Themselves
Quick summary:

- Multiple Reddit users have reported both AM4 and AM5 chips that are dying with a bulge on the CPU and a burn mark (video covering an AM4 failure here: https://www.reddit.com/r/Amd/comments/12xxg91/der8auer_i_mis...

- GamersNexus bought a couple of these failed motherboards/processors from Reddit users to do an investigation

- The core issue seems to be over-voltage with some folks believing it's related to AMD's EXPO being turned on, but I don't think there's been any confirmation

- ASUS and Gigabyte have both removed older versions of their BIOS updates

- ASUS has released a statement to Der8aur saying that their recent BIOS update has new voltage protections: https://i.imgur.com/pM358j6.jpg
Japanese manufacturers are somewhat famous for driving workers, including engineers and managers to suicide. Conversely, Costco, clearly a data-driven org, focuses at least partly on employee happiness. Measure what matters.
It's unclear that the river in the article is a river in the conventional sense, either: it seems to be routed underground for long stretches of tunnel at points.

(The longest tunnel in the world is also a water tunnel, and supplies NYC with water[1].)

[1]: https://en.wikipedia.org/wiki/Delaware_Aqueduct
Australia went basically overnight from magstripe to chip and pin without issue. There was something uniquely awful about how the U.S. did it.
Here's the Petition for Mandamus: https://assets.ctfassets.net/c5bd0wqjc7v0/5PWsXaPsqQ61gA9wlF... [PDF]

Key quote:

Coinbase brings this mandamus action to seek modest, but meaningful and time-sensitive, relief: a writ requiring the Securities and Exchange Commission (SEC or Commission) to act on Coinbase’s pending rulemaking petition to provide clarity for the crypto industry. Coinbase does not ask the Court to instruct the agency how to respond. It simply requests that the Court order the SEC to respond at all. The Commission has repeatedly demonstrated that its mind is made up to deny the petition. But the Commission’s delay in formally announcing that decision has enabled it to improperly delay judicial review at a critical moment for the industry.

(As an aside, I consider it journalistic malpractice to publish a news story about a court filing without including a link to the filing itself.)
Do you think there is content that is inappropriate for 9 to 14 year olds? What would that be?
Minor pedantic point: there is sometimes a distinction made between profit and surplus, where the former is a surplus that is allocated wholly at the whims of the employer/capitalist. In this sense of the word, cooperatives are not necessarily profit-seeking, as the decision of what to do with the surplus is democratically (rather than dictatorially) controlled.
> Apple users are happy to pay a premium to be able to carry around a device with an Apple logo on it for everyone around them to see.

Or maybe they just don’t like paying for an Android device that actively spies on literally every moment of their life so other companies can buy the marketing data.
> 9: Compare indexed columns with IS NOT DISTINCT FROM

Does anybody know why this is the case? Usually, an index is not used if the semantics of the index do not match the semantics of the query, so "using" it cannot ever produce correct results. But the workaround presented seems to have identical semantics to IS DISTINCT FROM and still uses the index, so why isn't IS DISTINCT FROM using the index then?
Thank you for the suggestion, I’ll check it out.
Why would you label your backup codes as to what they go to? Of course that's silly. But if someone does get your wallet they still need to know the website they are for as well as your login and password. It is low risk.

Or just ignore the backup codes altogether. We mostly have "fake 2fa" - where you can reset your 2fa auth if you lose your device because otherwise customer support would be impossible. Almost every service allows this.
Oooooh, you don't understand how google authenticator works!
Updated Readme as suggested on the project page, thanks again
https://github.com/sumeetchhetri/ffead-cpp/blob/master/READM...
Let's not let that get in the way of a snippy sarcastic comment though... ;)
i heard at some party then when u got a bedbug problem, its time to change your life.
They seem pretty generic, the same ideas/concepts can probably be taken over to mysql.
I don't think I am entitled to anything. You can provide me with your email, or not. Up to you.
Pertinent:
https://wiki.postgresql.org/wiki/Don%27t_Do_This
Supreme Court rejects computer scientist's lawsuit over AI-generated inventions
This is garbage. For an application so sensitive, telemetry should be opt-in if present at all.
They may want you to call ¨GPT¨ simply ¨GPT®¨ (registered trademark).
They need to figure out your email and password from your wallet contents, which is improbable. Anyone who takes your wallet just wants the cash and credit cards - and they toss the rest.
Wizards of the Coast Raids YouTuber’s House to Take Back Magic Cards
No matter how safe this thing actually is, the regulatory environment isn’t set up to have nuclear reactors showing up to disaster zones on trucks.

Social licence to operate is likely to be an even bigger problem.
How would you deduplicate on the client at all?

If I have multiple copies of the same file in different subdirectories, and I need all of them for work, there's no way around storing all of them as multiple copies on my machine, right? Unless you do some symlinking or hardlinking magic, but that will likely break platform and software compatibility so I wouldn't want it to happen either...

Similar with history, how can I have my cake (not have previous versions occupy space locally) and eat it too (have them readily available locally without download)?

Or do you mean something like chunking binary files and then deduping chunks? Is it an LFS limitation, or simply that no Git LFS client/server implementation does it yet? It's still fairly new after all.
Why didn’t you simply answer the question?