MurphyA/hacker-news huggingface dataset:
by interstice | 2025-07-28 11:39:19+00:00
This triggered two main thoughts for me. First - this virus centric take is not so different to the one taken in Sapiens by Yuval Noah Harari in which he claims that we didn’t so much domesticate crops as become domesticated _by_ crops. While I think it’s healthy to consider less human centric views of what we are, there as here I think the value of questioning the intent of entities that don’t have end goals may not lead to very profound answers. The second thought is that I once read that the activity of our brain is dancing on the edge of chaos, and that either direction causes it to cease functioning. Similarly our immune systems are dialled close to the limit, to the point where it can take itself and its owner out by accident. All this to say our existence is already at or near the crossover between so many gradients, which most likely are in essence the pitched battles you’re referring to.
Charged $591 Instead of $5.91 on Anthropic (Claude API) – Anyone Faced Similar?
by iapi | 2025-07-28 11:39:23+00:00
Hi HN,

I ran into an issue with Anthropic (Claude API Credits) and wanted to check if anyone here has experienced something similar or can guide me.

I intended to make a $5.91 payment to settle a small negative balance and continue using Claude for a code snippet. Unfortunately, due to a misclick or input error, I was charged $591 instead.

I’ve reached out to Anthropic support explaining the situation, but I’m not sure how responsive they are or what to expect. Has anyone else dealt with accidental overcharges or refund requests from Anthropic? How was the experience?

Would appreciate any advice or insight

Thanks!
by subscribed | 2025-07-28 11:39:31+00:00
But you can, and GrapheneOS shows exactly why. And there are developers who instead of choosing fake and flaved* Google "attestation", choose to conduct hardware attestation.

*Google claims phones not updated for the last 8 years are secure merely because they have privileged Google services. Tell you what: many of them are rooted, with Google play services blind to it, and still claiming phones are "verified".
Ask HN: What are the BIGGEST Problems you'd face with a full-AI employee?
by dontoni | 2025-07-28 11:39:46+00:00
Imagine an AI agent that’s indistinguishable from a remote worker, something like Devin but for anything and whose medium of contact are email, Slack, phone calls, etc.

What would your main pain points and concerns be? I’ve come up with the following list but can’t think of any more problems:

Dream outcome (Donsir Mechas) - Create anything big & of high quality and best practices with a prompt. - Be like God: you ask for something, immediately get the full & perfect response. - 1,000 employees in your pocket. - People will look at you and say, how does he go so fast? How does he get that much done? - Like Devin, but for everything

Problems - Create an account - I will have to copy-paste stuff into my project (code) - I will have to run tests myself - I’ll have to add refinements myself - I’ll have to find bugs and fix them myself - I can’t trust what ai makes, it’s just slop - I will have to use something like Cursor to review and accept/reject the code - I will have to read and internalize what the AI did and how it links with the rest of the code - I will have to give the same large instructions every time in every prompt - I will have to learn about the platform - I’ll have to manage secrets and api keys, and know which of them to give the agent
by drtgh | 2025-07-28 11:40:53+00:00
There is a human trafficking business fuelled by huge amounts of public money given to NGOs and related, within Europe, by the hands of politicians that are lining their own pockets with this public money. And their political parties are silent about it... (maybe because they distribute part of it within the party contributions latter or who knows). We are talking about thousands of millions of euros annually.

Why are not the "journalists" in Europe investigating this? Je!

I mean, the Kremlin doesn't have such a wide area of influence over all the European borders; they only have influence over part of those borders, in a typical mob-like way (their way, their mob oligarchy). They could not be doing all what is happening alone without help from within Europe. It's all about public money and some politicians pockets within their respective countries - it is an inside job... , cut that money to those NGOs and related, process those corrupts, and see what will happen.
by MisterTea | 2025-07-28 11:41:15+00:00
> I believe that US 240V is 2 hots, neutral, and ground.

Correct. Its called split phase, a 240V transformer is center tapped and that tap is grounded to create the neutral. Either end of the transformer to neutral is 120v and end to end is 240V.

> EU 400V (380V) is 3 hots, neutral and ground.

Three phase 230/400: 400V is line (hot) to line with 230V line to neutral. More for industrial use but I hear some homes can have this service for whatever reason.

> None of this is cross-compatible.

Not really. A 230/400 volt system also supplies 230v single phase. A 230 volt European device will work fine on 240V split phase unless it has a motor which will run faster on 60 Hz which could overload it. Though I have a machine with a three phase 380 volt 50 Hz motor running happily on 230/400 60 Hz from an autotransformer supplied by 120/208 60 Hz. Just runs 20% faster.
by akimbostrawman | 2025-07-28 11:42:19+00:00
>Why would stores have wares that people won't buy?

Because online shops and across border shipping exists.

>Google services

As other people pointed out and 5 second of research shows they exist and they are even securely sandboxed unlike any other android os.

>Do you have any references for the spyware claim

You really asking if android OEMS are spying? Whats next asking if windows does it too?

https://www.computerworld.com/article/1671913/samsung-sellin...

https://www.sammobile.com/opinion/why-is-everyone-freaking-o...

https://www.sammobile.com/news/samsung-pay-new-privacy-polic...

I don't understand how anybody could question this when they literally install data harvesting apps like tiktok on there devices

https://www.youtube.com/watch?v=qPipXaaN7hg

>A software whose focus isn't privacy isn't necessarily spyware. This is a false dichotomy.

Never claimed that but any superficial research would show how data harvesting and invasive any stock android os (proprietary for profit software in generally really) are.
by pm215 | 2025-07-28 11:42:41+00:00
It's actually still pretty heavily used in some niches, which mostly amount to "running legacy binaries on an x86-64 kernel". LWN had an article recently about the Fedora discussion on whether to drop i386 support (they decided to keep it): https://lwn.net/Articles/1026917/

One notable use case is Steam and running games under Wine -- there are apparently a lot of 32 bit games, including still some relatively recent releases.

Of course if your main use case for the architecture is "run legacy binaries" then an ABI change is probably inducing more pain than it seeks to solve, hence the exception of it from Debian's transition here.
by spankalee | 2025-07-28 11:43:07+00:00
The constructor is a part of the lifecycle, and always has been. It wasn't abandoned.

The lifecycle of custom elements reflects the behavior of the HTML parser and DOM APIs. Attributes aren't consistently available in the constructor because the HTML parser is streaming and may yield to the main thread at any time. So the element is constructed first, possibly before attributes are parsed. Attribute also aren't available because when element are constructed imperatively they will never have attributes at first, ie:

// ctor is called, no attributes! const el = document.createElement('my-element'); // now there will be an attribute: el.setAttribute('width');

You also shouldn't ever consider attributes to be fixed in a web component, since they may be added and removed at any time, and of course may never be set in the first place. You should implement attributeChangedCallback() and give your element defined behavior for any set of possible attributes.

Or you can use a helper library like Lit which does let you declare and consume your attributes via decorators.
by delichon | 2025-07-28 11:43:11+00:00
I wasn't. A fellow programmer bought the doomsday scenario and went full prepper on us. To stock up his underground bunker he bought thousands of dollars worth of MREs. After 2k came and went with nary a blip, he started bringing MREs for lunch every day. I tried one and liked it. Two years later when I moved on he was still eating them.
by suttontom | 2025-07-28 11:43:21+00:00
Before people let their confirmation biases go wild about how terrible Gemini is, the original author was completely wrong. His files were never deleted: https://github.com/google-gemini/gemini-cli/issues/4586#issu.... He is a technically incompetent PM "vibe coding" who created a false story:

"Okay, my bad. I did find these files in the C:\ root upon a deeper search. Apologies for raising such an alarm about the file deletion, but the gemini CLI responses and the subsequent 'analysis' by gemini and claude really sent me down a bad rabbit hole. I should have searched my system more thoroughly. Thank you for flagging this @amensel

I think the bug is still valid from a user experience perspective, but obviously not nearly as severe."

Yes, "not nearly as severe" as in "never actually happened."
by curiouscoding | 2025-07-28 11:43:24+00:00
Some questions/remarks:

- in the initial `Contains` code snippet (and all early-break variants), most performance is probably lost by branch misses on which element returns true. Probably much better is something like `table[0] == fp | table[1] == fp | table[2] == fp | table[3] == fp` (which might actually get optimized to int/SIMD anyway; who knows).

- What is shown in the table with benchmarks? I assume 'operations' is the number of lookups, but how large is the array? Memory latency is probably one of the big effects on overall runtime? - It's probably more useful to show time per lookup than mean 'total time'.

- Also, how do you run the benchmarks? If you make a fixed array of queries and query those many times, the same cachelines will be hit and you won't measure memory latency. Also, in this case the branchpredictor might learn all branches, so best is to only do each query once in your benchmark.

- You don't really comment on the differences between benches with different number of 'operations'. Are there any takeaways from this? (otherwise just don't show them?)

- Maybe you could try with some `u8x8` SIMD instructions as well? Although the bitmasking is also cute as-is :)
by jbotz | 2025-07-28 11:43:50+00:00
I see everybody talking about the nitrate, but there is another substance in beets that might be relevant... betaine, also known as trimethylglycine HCL. I take about 800mg of this pure in my orange juice in the mornings and it gives me a very noticeable boost. But it is possible that this effect is specific to me and maybe other people who are "under-methylators" (which I think is a somewhat pseudo-scientific concept, but it led me to try betaine and I got results).

Betaine was first isolated from beets, hence the name, and as the other name, trimethylglycine, hints it has 3 easily donated methyl groups, so if you do need those for some reason it may be useful to you. It's also pretty cheap and unlikely to be harmful.

Edit: I found this... https://www.strongerbyscience.com/betaine/
by pjc50 | 2025-07-28 11:44:11+00:00
Eh, nobody wants to transfer rows to DTOs by hand.

My personal opinion is that ORMs are absolutely fine for read provided you periodically check query performance, which you need to do anyway. For write it's a lot murkier.

It helps that EF+LINQ works so very well for me. You can even write something very close to SQL directly in C#, but I prefer the function syntax.
by os2warpman | 2025-07-28 11:45:30+00:00
> I've never understood why the fire department doesn't acquire and dispatch small vehicles for all those medical calls instead of a giant fire truck.

Staffing.

Almost every call requires more than two people and ambulances are typically only staffed with two people.

If there is a second call (fire, rescue, or anything that requires the larger apparatus) while the fire engine is out assisting the EMS crew and the crew has taken a smaller vehicle, they have to drive back to the station, get on the engine, and then respond to the second call. This is not uncommon-- for my department I'd say it's routine.

In smaller volunteer departments like mine, there aren't enough people to go around.

In larger paid career departments, the cost of the extra personnel needed to staff smaller vehicles very quickly exceeds the cost of the wear and tear on the larger apparatus. You have to account for more than just their salaries, but also insurance, training costs, any equipment issued, and retirement contributions.

There's also the matter of equipment. Larger apparatus carry tools and equipment that smaller vehicles can't or don't.

Many jurisdictions do have a mix of resources where EMS crews can get the additional resources they need on a call without an engine or truck responding, and it does work for the most part. Most jurisdictions can't afford that.

It seems common in Europe to not send fire apparatus, but I'm willing to bet they deal with many fewer bariatric patients so most calls don't need six guys.
by v3ss0n | 2025-07-28 11:45:37+00:00
Rules? well .. we don't even have a real government now. The country is in revolution. Who writes the Rule is whoever who have more firepower or whoever who is closer to Junta. None of the rules works, everything can be bribed to junta.

None of the thing that rational government does works here anymore.

Whoever come inspect the buildings can be bribed with a few hundreds dollars.
by npteljes | 2025-07-28 11:46:18+00:00
This fully matches my experience, and my conclusions as well. I'd add that I often don't get to pick whether the logic will be more on the ORM side, or on the DB side. I end up not caring either - just pick a side. Either the DB be dumb and the code be smart, or the other way around. I don't like it when both are trying to be smart - that's just extra work, and usually one of them fighting the other.
by sofixa | 2025-07-28 11:46:39+00:00
> In our case, having a full history of all opinions, interactions, locations, and behavior linked to full identity of people is what we are ultimately talking about here. It's already well on its way, but it will make it worse.

Well, not really. Age verification doesn't have to, and IMO should not, lead to a linked identity. Just a blind check "are you a real human older than X years old? Yes! OK". That way you get the benefits of age restrictions and real human validation, without any of the potential privacy ramifications.

But to be clear, most real people's online presence is under their own names (or linked trivially to their own names, like a cutesy turn on their name for an instagram handle that is linked to their Facebook account which has their full name). It's already possible, and done, to track your public social media presence and interactions. Places like HN and even Reddit are much more niche than that.
by indemnity | 2025-07-28 11:46:50+00:00
I care about how something is done and doing it in the most simple and idiomatic manner I can.

However, when I am learning a new space (teaching myself SwiftUI, coming from a Java/infra background), Claude lets me preserve my forward momentum, which helps with motivation.

I tend to go back and rewrite a lot of the first iterations, but it has proved super useful unblocking me when I don’t yet understand how to tackle something I want to do in this new space, or sparking some ideas.
by pilif | 2025-07-28 11:47:25+00:00
I wasn't discounting VMs with my initial statement. I can totally imagine quite a few VMs still being around, either migrated from physical hardware or even set up fresh to conserve resources.

Plus, keeping i386 the same also means any still available support for running 32 bit binaries on 64 bit machines.

All of these cases (especially the installable 32 bit support) must be as big or bigger than the amount of ARM machines out there.
by svpk | 2025-07-28 11:47:51+00:00
This is an article that I came across a while ago that speaks to a number of instances in Germany and the UK of people arrested for speech that would be considered acceptable in the states.

Things like calling politicians idiots, giving the middle finger to someone, and insinuating government policy is ineffective.

https://thedispatch.com/article/europe-germany-britain-free-...
by rdm_blackhole | 2025-07-28 11:48:25+00:00
A while ago, when the topic of the EU digital ID was brought up, I said clearly that this was going to be shit-show and that the intent was going to use this as tool to muzzle the population.

It turns out I was right. This is the intent. First require digital ID to access content/post anything on social media, then make it impossible to use said ID outside of the walled garden of Android and Apple, then tie this digital identity to your real world ID and make sure it can be revoked at anytime by the powers that be.

Bonus point, make sure everything you say or do is stored for unlimited access by law enforcement to protect the democracy(TM) or protect the children(TM).

If that is not a slippery slope, then I don't know what it is.

I also pointed out that creating a database of everyone in the EU containing a lot of PII in terms of religious preferences, sexual preferences and so on is a the stupidest idea that anyone could have considering that this tool could be used by the next parties in power to hunt down political/religious opponents.

Nobody can say that they did not know.
by rickdeckard | 2025-07-28 11:48:55+00:00
It is really a pity, as this means Android OS is closing down.

Without supported Consumer Hardware available on the market in sufficient volume, even less end-users will use an alternative OS, which will affect quality and size of the alternative OS-market and fragment the remaining users even more.

This will put the future of the entire alternative-OS ecosystem firmly back into the hands of Google. If they start further restricting BL-unlock on the Pixel-series to e.g. only Google Developer Account-Holders, the whole ecosystem will finally close down.
by Lio | 2025-07-28 11:49:03+00:00
Ah, I see the confusion. I think you've missed the word "from" there, as in some item taken from a car not the car itself.

Where I live using the words Grand Theft Auto, with that capitalisation, implies the video game of the same name. We don't have the crime of the same name (we call it Taking without Consent).

Since there's been quite a bit in the news about video game censorship, including GTA, I mistook your comment as trying to change the topic to that. My appologies.
by tiendil | 2025-07-28 11:49:51+00:00
These days, it's nearly impossible to find a good game that can't be criticized for something. The Witcher, Doom, Fallout, Baldur's Gate, Diablo, Cyberpunk, GTA, Counter-Strike, etc. — all these games can be accused of anything from excessive violence to sexism, not to mention that many of them contain "adult elements".

If we allow uneducated hypocrites to decide what is allowed and what isn't, there will be nothing left that is allowed.

For heaven's sake, even in the politically correct mainstream pop game Baldur's Gate 3 there is a whole "god of masochism" mentioned, and the player can go through a mmm… ritual with one of his followers. Not to mention The Bear.

The essence of many games, especially RPGs, is not only in entertainment but also in raising complex and sensitive questions; in safely exploring our culture, ethics, and morality. The same applies to literature, cinema, and all other forms of art.

If we let hypocrites and hypocritical corporations dictate what is allowed and what isn't, the world will quickly descend into dystopia — one of the kinds about which our favorite RPGs are. Only in RPGs we play as all-powerful protagonists who save the world, whereas in real life, we'll be crushed one by one, just like people are in many less fortunate countries today.

*We must unite and resist.*
by sofixa | 2025-07-28 11:50:44+00:00
> while some other parties choose to suppress that viewpoint as being right wing propaganda and that in reality there are no issue with open borders

To start with, there is no such thing as open borders (unless you mean Schengen?).

Second, saying someone is spouting nonsense isn't "suppression". Especially when the "suppressed" viewpoint is being proudly repeated almost daily on TV, radio and online on media sponsored by billionaires investing heavily into passing this message (like Bolloré).

Third, Le Pen isn't governing in France, but her party (reminder, she was banned from standing for office for corruption and stealing public money to enrich herself and her family, so it's no longer her), which has around 1/3 of the votes is crucial in maintaining the current ruling government. Without their support, the government has ~1/3 and fails a vote of no confidence immediately (the other 1/3 hates them both and would happily bring it all down in the hopes of new elections). So they are de facto exercising a lot of control.
by sunshine-o | 2025-07-28 11:50:46+00:00
A few decades ago, Europeans would usually learn another European language, often for economic migration purpose. But the "Internet generations" learned English early and ... on the Internet.

I only mentioned Joe Rogan because it is the most popular, but all the big american podcasts are very popular in Europe.

Also the lines between entertainment and politics have been blurred and Europeans follow much more what Trump says than let's say Ursula.

Also, why do you think the Macrons are suing Candace Owen? She is an niche podcaster with a show on Rumble (a platform which in a way blocked in France). Would Helmut Kohl have been threatened in his own country by what Alex Jones was saying in the 90s?
by sethammons | 2025-07-28 11:51:51+00:00
My life is this in django. Querysets have been passed around everywhere and we've grown to 50 teams. Now, faced with ever slower dev velocity due to intertwined logic, and reduced system performance with often wildly non performant data access patterns, we have spent two years trying to untangle our knot of data access, leading to a six month push requiring disruption to 80% of team's roadmaps to refactor to get the ORM objects not passed around, but to use plain types or DTOs, which will only then allow us to migrate a core part of our database which is required for both product development and scaling needs.

Here's the thing. In five of six companies I have worked at, this story is the exact same. Python, Ruby, Elixir. Passing around ORM objects and getting boundaries mixed leading to more interdependencies and slower velocities and poor performance until a huge push is required to fix it all.

Querysets within a domain seems fine, but when you grow, domains get redefined. Defining good boundaries is important. And requires effort to maintain.
by Asooka | 2025-07-28 11:52:22+00:00
Well, there are only so many ways to design a split mirrored keyboard that fits the shape of the human hand. The other "natural" keyboards that are a standard PC keyboard cut down the middle seem entirely pointless to me - you are already making people adapt to the split form factor, why not give them something a tad more ergonomic? Or are there other patents at play that prevented it before ErgoDox etc.?