MurphyA/hacker-news huggingface dataset:
by vjerancrnjak | 2025-06-21 11:51:10+00:00
> I didn't say the lean code doesn't prove equality, I said it proves it using exhaustion.

What is exhaustion for you? For everyone else in this thread, exhaustion means trying out all values and proving it works.

Exhaustive proof: pick 64-bits for a bit trick, run inefficient algorithm and get 64-bit outputs for all 2^64 bitsets, and then run the bit trick algorithm and exhaustively prove slow(n)==bittrick(n) for all n from 0 to 2^64-1.

Similar way you'd prove four color theorem.

Lean prover, in this case, does no such thing, it uses strong induction to prove correctness. Strong induction does not depend on the size of the input N at all, it depends on the size of the typed problem (which includes type annotations and how they relate).

Of course, proof that needs to deal with semantics of a hashmap is more complex than just dealing with lookup array, but it still proves that exponential recursive calculation can be done with a faster algorithm whose implementation is right there.

You have similar systems, where you can write a recursive quicksort and get average time complexity analysis for free. The system proves the average time complexity as O(n log n) directly from the implementation. (from memory, system would output C_n = 2 * (n + 1) * H_n - 4 * n, were C_n is the average number of comparisons of quicksort, H_n the harmonic number, average is calculated over all possible inputs of array of size N, it does not prove it exhaustively and finds the best approx for comparison counts, it proves it symbolically by computing directly on the representation of the average comparisons.)
by ptero | 2025-06-21 11:51:42+00:00
Not the poster, but the point I think that Google is engaging in a clear-cut bait and switch. First, "free email, good UX", "free video hosting, minimal ads". Then, once the dependency sets in, use a standard playbook of degrading the lower tiers and charging for removing the inconveniences.

I am not claiming that Google is the only company doing that; it is not. But there is a reason that bait and switch is illegal in most places. My 2c.
by fc417fc802 | 2025-06-21 11:51:47+00:00
My home computer has well over 20 TB of storage. I have several LLMs, easily half a TB worth. The combined logs generated by every single program on my system might total 100 GB per year but I doubt it. And that's before compression.

Would you delete a text file that's a few KB from a modern device in order to save space? It just doesn't make any sense.
by pcthrowaway | 2025-06-21 11:52:05+00:00
There's a practical reason for that; if they don't collect and store any other user information, they have no way to determine if someone trying to sign up is a bot or someone else trying to abuse the service.

I get far less spam messages on Signal than on telegram and discord, for example. There's a cost associated with setting up additional Signal accounts at the very least.
by nottorp | 2025-06-21 11:52:57+00:00
Yes but their Steam page says:

"Clair Obscur: Expedition 33 is a ground-breaking turn-based RPG with unique real-time mechanics, making battles more immersive and addictive than ever."

Turns out the real time mechanics aren't unique. Not sure I want "addictive" battles or "addictive" gameplay either. Isn't that the realm of free to play?
by AnthonyMouse | 2025-06-21 11:53:10+00:00
This is what I get for giving people the benefit of the doubt. Here's some text from that PDF the GP linked:

> Cesium will be the primary radionuclide released in a nuclear waste accident because it is present in what is called the fuel-clad gap. This gap is the space between the fuel pellets and the inside wall of the metal tube that contains the fuel. This “gap cesium” can be released in any event where the cladding is breached. Cesium is a highly reactive metal and even a small break in the seal will release significant amounts of it. Cesium burns spontaneously in air, and will explode when exposed to water.

Obviously the "highly reactive" applies to elemental cesium and is meant to imply that a collision would be a serious problem because exposing it to air would cause a big fire and release a plume of radioactive material. If that isn't the case then it seems like the thesis of the paper is rubbish?
by awongh | 2025-06-21 11:53:43+00:00
90% sounds good but the real dollar amount feels low.

Two reasons for this stick out:

- Are the multi-million dollar SV seed rounds distorting what real business costs are? Counting dev salaries etc. (if there is at least one employee) it doesn't seem worth the effort to save $20k - i.e., 1/5 of a dev salary? But for a bootstrapped business $20k could definitely be existential.

- The important number would be the savings as percent of net revenue. Is the business suddenly 50% more profitable? Then it's definitely worth it. But in terms of thinking about positively growing ARR doing cost/benefit on dropping AWS vs. building a new (profitable) feature I could see why it might not make sense.

Edit to add: it's easy to offhand say "oh yeah easy, just get to $2M ARR instead of saving $20k- not a big deal" but of course in the real world it's not so simple and $20k is $20k. The prevalent SV mindset of just spending without thinking too much about profitability is totally delusional except for like 1 out of 10000 startups.
by jillesvangurp | 2025-06-21 11:54:22+00:00
Actually both Xbox and Playstation use AMD GPUs; and so does the Steam Deck. So there's that. For the narrow niche of gaming PCs, I think there are a lot of kids buying what they can afford and getting creative about what works. AMD isn't doing horrible in that market either.

And for AI, CUDA is already becoming less relevant. Most of the big players use chips by their own designs: Google has its TPUs, Amazon has some in house designs, Apple has it's own CPU/GPU line and doesn't even support anything nvidia at this point, MS do their own thing for Azure, etc.

You are basically making the Intel will stay big because Intel is big for Nvidia. Except of course that stopped being true for Intel. They are still largish. But a lot of data centers are transitioning to ARM CPUs. They lost Apple as a customer. And there are now some decent windows laptops using ARM CPUs as well.
by randomtoast | 2025-06-21 11:54:25+00:00
> $24,000 annual bill felt disproportionate

>> That's around 1-2 months of time for a decent devops freelancer. If you underpay your devs, about 1/3rd of an FTE per year. And you are not going to get 24x7 support with such a budget.

In terms of absolute savings, we’re talking about 90% of 24k, that’s about 21.6k saved per year. A good amount, but you cannot hire an SRE/DevOps Engineer for that price; even in Europe, such engineers are paid north of 70k per year.

I personally think the TCO (total cost of ownership) will be higher in the long run, because now every little bit of the software stack has to be managed by their infra team/person, and things are getting more and more complex over time, with updates and breaking changes to come. But I wish them well.
by jlouis | 2025-06-21 11:54:50+00:00
It's not very novel. There's far better ways of solving this than allowing a random string to be embedded as aux information to a struct field. Examples: F# type providers, or OCamls PPX system for extending the language in a well defined way. Macro rewriting systems also allow for better safety in this area.

This allows you to derive a safe parser from the structural data, and you can make said parser be really strict. See e.g., Wuffs or Langsec for examples of approaches here.
by ACCount36 | 2025-06-21 11:56:05+00:00
Modern "coding assistant" AIs already get to write code that would be deployed to prod.

This will only become more common as AIs become more capable of handling complex tasks autonomously.

If your game plan for AI safety was "lock the AI into a box and never ever give it any way to do anything dangerous", then I'm afraid that your plan has already failed completely and utterly.
by tim333 | 2025-06-21 11:57:43+00:00
Many companies have been trying to make solid state batteries for years but it's hard to make anything that works at scale as opposed to some 2mm sample on a lab bench. I guess the likes of BYD got there first because they have put a lot of investment dollars and engineers in, being the world's second largest battery maker. I think CATL the largest are also working on it. And Toyota. I'm not sure any have been able to manufacture in quantity at an acceptable price though. Soon probably.
by romanovcode | 2025-06-21 11:58:30+00:00
I would not trust Anthropic on these articles. Honestly their PR is just a bunch of lies and bs.

- Hypocritical: like when they hire like crazy and say candidates cannot use AI for interviews[0] and yet the CEO states "within a year no more developers are needed"[1]

- Hyping and/or lying on Anthropic AI: They hyped an article where "Claude threatened an employee with revealing affair when employee said it will switch it offline"[2] when it turned out it was a standard A or B scenario was given to Claude which is really nothing special or significant in any way. Of course they hid this info to hype out their AI.

[0] - https://fortune.com/2025/05/19/ai-company-anthropic-chatbots...

[1] - https://www.entrepreneur.com/business-news/anthropic-ceo-pre...

[2] - https://www.axios.com/2025/05/28/ai-jobs-white-collar-unempl...
by sltkr | 2025-06-21 11:58:55+00:00
This is too simplistic. Youtube started as an ad-supported service and today ads still generate the lion share of Youtube's revenue. Youtube ads are some of the most expensive to buy; Google has no incentive to push viewers off the ad-supported tier.

Google wants you to watch ads OR pay for a subscription, but it doesn't necessarily care which; they make money off you either way.

The reason Youtube offers a premium tier at all is to cater to the minority market of time-poor money-rich users who would rather pay than watch ads, which is just a smart move to broaden their audience and diversify their revenue streams. But it's not the primary way Youtube makes money and likely never will be.
by kule | 2025-06-21 11:59:01+00:00
“Except the Terminal”…

Of course in the Mac you have the same shortcut in every app because you use cmd+c/v

It really bugged me that by default you use ctrl+shift+c/v on Linux but only in the terminal.

Found a lovely feature in kitty term that does the right thing for ctrl+c depending on if you have text selection or not. Works great for me.
by felineflock | 2025-06-21 11:59:39+00:00
I appreciate the effort that went into writing the article but it conflates different concepts missing some historical context and technical distinctions.

For example, TUI (text user interface) and CLI (command-line interface) are quite different. "CLI Text Editor" sounds more like someone editing a file using ECHO commands.

This new editor is actually a reimplementation of the classic MS-DOS 5 EDIT program from 1991. At that time, VIM was still very new, so "VIM memes" weren't yet part of the tech landscape.

Before VIM, there was vi. In Usenet posts - about 15 years before Google - people used to add a pithy humorous sentence at the bottom called "tagline" - here is one: "How do you exit vi? Reboot the system."

And Notepad was not the only option for Windows devs. We've had EDIT, DR-DOS EDITOR, Brief, WordPad, EditPad, Notepad++, and more.
by ACCount36 | 2025-06-21 11:59:39+00:00
Good luck with that.

We have a non-insignificant amount of people doing the #1 already, and the amount of people doing the #2 is only going to increase as more and more AIs are designed to be good at autonomous agentic behavior specifically.

The ship has long sailed on "just never let AIs do anything dangerous". If that was your game plan on AI safety, you need a new plan.
by eesmith | 2025-06-21 12:00:53+00:00
Which treaty or convention defines what 'enough precision' means?

How have you determined the "8km dispersion radius"? https://www.npr.org/2024/10/04/nx-s1-5140058/satellite-image... shows "about 32 points where missiles landed around Nevatim Airbase in southern Israel" last year. https://www.npr.org/2024/10/04/nx-s1-5140058/satellite-image... says the longest airstrip there is 4km, so the dispersion radius in that case was at most 4km - assuming they all had the same target.

FWIW, https://en.wikipedia.org/wiki/Shahab-3 says that missile has an accuracy: "2,500 m Circular error probable", which is also well under 8km.

Article 58 of Additional Protocol I to the 1949 Geneva Conventions, adopted on 30 November 1993, is fully cognizant that perfect precision is not possible, which is why military objectives - note, not "military infrastructure", because taking out an oil refinery can be a military objective even it's not a military infrastructure - should not be placed in or near densely populated areas:

> The Parties to the conflict shall, to the maximum extent feasible:

> a) without prejudice to Article 49 of the Fourth Convention, endeavour to remove the civilian population, individual civilians and civilian objects under their control from the vicinity of military objectives;

> b) avoid locating military objectives within or near densely populated areas;

> c) take the other necessary precautions to protect the civilian population, individual civilians and civilian objects under their control against the dangers resulting from military operations

Now, Article 49 is not well followed, but that's a different topic. My question again is, where are the treaty obligations for how accurate one must be to execute a retaliatory attack?

Is the use of large, high-explosive bombs in an urban environment which cause extensive collateral damage ispo facto a treaty violation or even possibly a war crime?

(NB: the authors of these conventions were well aware of the mass bombings of the Second World War, which dropped large unguided bombs that caused mass collateral damage, justified in part by noting the war effort necessarily involved most of the civilian population.)
by devilbunny | 2025-06-21 12:01:29+00:00
Financially savvy people are much more likely to have a desktop, I would think.

Mu mother-in-law does not have a laptop or desktop. She barely uses her iPad. If it’s not on the phone, it might as well not exist. My father-in-law has a PC at work and a Mac laptop, but he uses them only for work - his casual internet use is entirely on the phone. My wife uses multiple iPads and her phone, but only uses a desktop at work or when working at home.

Most people I know don’t actually own personal computers other than their phone or tablet.
by Theodores | 2025-06-21 12:02:04+00:00
I fully approve of this app. My use case is CSS, more specifically SVG. I put SVG in custom properties for things like icons, then use them as pseudo elements, thereby keeping decoration out of the HTML and avoiding downloads for SVG specified in CSS. My SVG is always human readable and simple.

The slight problem with this is that I don't like having to escape the '#' character for colours. I prefer the nearest name, e.g. 'Chocolate' (which is orange).

Hence I have bookmarked this page.

One observation, I have now moved to oklch for everything else. I only do named colours and oklch, hex codes have gone the way of CMYK for me.

Are there any plans to make this tool oklch-friendly?
by chongli | 2025-06-21 12:02:16+00:00
No it’s using the common usage of the word irrelevant rather than the ad industry term of art. In common usage, almost all ads are irrelevant unless they simply help you find what you were already looking for (like a search ad leading to the exact website you were searching for).

The ad that convinces you to buy something you hadn’t thought of before (while watching a video related to that topic) would be considered relevant by the ad industry. But that’s still irrelevant in common usage because you were watching a video, not shopping.
by xg15 | 2025-06-21 12:02:25+00:00
If you want to promote alternative bootloaders or OSes for wider, nontechnical audiences (like LineageOS etc), then absolutely.

I think it's a difference in mindset whether you view custom firmware as a grudging exception for techies (with the understanding that "normal" people should have a device under full control of their respective vendor), or whether you want an open OS ecosystem for everyone.
by heavyset_go | 2025-06-21 12:02:52+00:00
People were trashing the beach long before bag bans. Even when they had ample access to plastic bags in every size, people would elect to leave their garbage on the beach because they just don't care enough to pick it up and bring it to a garbage can 20 yards away.

It took enforcement of carry-in/carry-out policies with tickets to make some progress on that. Possibly getting fined and having to go to court for littering or illegal dumping changes behavior.

Source: I live on the beach in a place where a bag ban went through.
by entropie | 2025-06-21 12:03:43+00:00
> Or just pay for it? I have my whole family on my plan.

Thats exactly what some mobster would say to you when asking/forcing you for some money to buy protection for his etablisment.

I see that you can argue that you use a service that costs money. Yes. But the advertising is unacceptable not only because it is advertising, but also because of its content AND the way it is delivered. You can't support that.
by sureglymop | 2025-06-21 12:04:21+00:00
It makes sense to keep a high fidelity history of what happened and why. However, I think the issue is more that this data is not refined correctly.

Even when it comes to logging in the first place, I have rarely seen developers do it well, instead logging things that make no sense just because it was convenient during development.

But that touches on something else. If your logs are important data, maybe logging is the wrong way to go about it. Instead think about how to clean, refine and persist the data you need like your other application data.

I see log and trace collecting in this way almost as a legacy compatibility thing, analog to how kubernetes and containerization allows you to wrap up any old legacy application process into a uniform format, just collecting all logs and traces is backwards compatible with every application. But in order to not be wasteful and only keep what is valuable, a significant effort would be required afterwards. Well, storage and memory happen to be cheap enough to never have to care about that.
by AnthonyMouse | 2025-06-21 12:04:24+00:00
> So the solution is private corruption where nameless corporations and CEOs get to take public money with 0 oversight instead?

Presumably the solution looks something like rounding up all of the public officials who officiated over anything that even hints a whiff of personal advantage and sticking their heads in a guillotine.

> Public transport should be a public good, and we should not expect it to be profitable.

Whether something is profitable or not and whether it's provided by direct government employees or not are two independent things. You could very easily pay a private company to operate a transit system while subsidizing fares with tax dollars.

Meanwhile at some point the government is going to be buying something from the market. If they operate the trains, are they also going to design and manufacture the trains? Are they going to manufacture the steel that goes into the trains? What about the energy used to make the steel, or the trucks used to transport it?

But as soon as you have the government buying something from anyone, you need to start lopping off the heads of the public officials whenever there is anything fishy going on with the bidding process or you get what we've got.
by Eddy_Viscosity2 | 2025-06-21 12:04:41+00:00
> Usually faster and clearer to communicate with an employee via voice in person

That's because the communication is going from a person to a person and both are very highly tuned to not only hear the words, but the tone, context, subtext, and undertones. There can be all kinds of information packed in a few words that have nothing to do with the words.

Machines, even LLMs, can't do this. I don't think they every will. So typing and shortcut commands and the like are far more efficient interacting with a computer.
Show HN: Amsflow Global Stock Screener – 550 metrics and AI-driven queries
by xdkershu | 2025-06-21 12:05:08+00:00
Hi HN, I’m Ajay Thakur, founder & CEO of Amsflow.

Why I built this. Most stock screeners I have used are over complicated, full of nested dropdowns and endless options and force you to remember arcane syntax. I never really got into any screener, so I built one that just works.

What this is. Amsflow Global Stock Screener unifies 550 plus financial metrics and approximately 8,000 filters across all major markets in one seamless interface. You can perform natural language AI queries via our Lisa agent (for example, “Find fintech firms with more than 5 B revenue, 20 percent year on year growth, sorted by P E TTM”). You can use our world class inline query builder that auto suggests metrics and filters as you type.

What is different. Truly global: one screener for the US, Europe, Asia and beyond. Hybrid query: switch between natural language and precise filter chains.

Jump right in here: [https://amsflow.com/stock-finder]. Zero signup barrier. Try up to five Lisa queries and twenty inline filters immediately. No email required.

I would love your feedback on the UI flow, query accuracy and any edge cases you uncover. Thanks!
by ACCount36 | 2025-06-21 12:06:14+00:00
I swear, people like you would say "it's just a bullshit PR stunt for some AI company" even when there's a Cyberdyne Systems T-800 with a shotgun smashing your front door in.

It's not "hype" to test AIs for undesirable behaviors before they actually start trying to act on them in real world environments, or before they get good enough to actually carry them out successfully.

It's like the idea of "let's try to get ahead of bad things happening before they actually have a chance to happen" is completely alien to you.
by bmacho | 2025-06-21 12:06:34+00:00
Tangential, but Firefox still supports "search engine" as a bookmark with SHORTCUTURL (as in a Netscape bookmark file). I managed to come up with the following hybrid search engine/bookmarklet, to get archive.md of paywalled articles:

javascript:{ param='%s'; if (param=='%' + 's') { /* bookmarklet clicked */ window.location.href = 'https://archive.md/oldest/' + window.location.href ; } else if (param =='') { /* called without argument */ window.location.href = 'https://archive.md/oldest/' + window.location.href ; } else { /* called with a parameter*/ window.location.href = 'https://archive.md/oldest/' + param ; }; }

Copy-paste it as a bookmark URL, and set up a keyword 'ar' or what you want.

It supports 3(!) different usages at once. When you are at paywalltimes.com/article you can use it as a bookmarklet, and click on it with mouse. Or you can write 'ar' in the URL bar, and hit enter. Or, if you are not on paywalltimes.com/article, you can write 'ar paywalltimes.com/article' and hit enter (even on a newtab).

It's probably not much better than separate entries for each use cases. Also I don't even use Firefox, and Edge doesn't support bookmarks with shortcuts with parameters anymore, even when imported from Firefox. Anyway, I just shared it, maybe someone finds the template usable for something.