MurphyA/hacker-news huggingface dataset:
by zerocool0101 | 2025-07-25 15:25:36+00:00
this is a snippet of the structure of the JSON file for this website if it helps: { "provider_id": 6, "provider": 7, "input_price_per_1m_tokens": 8, "output_price_per_1m_tokens": 9, "response_time_ms": 10, "actual_cost_usd": 11, "input_cost_per_word_usd": 12, "output_cost_per_word_usd": 13, "has_tiered_pricing": 14 }, "anthropic:claude-opus-4", "Anthropic Claude Opus 4", 15, 75, 1443.85168793832, 0.045, 0.00006, 0.0003, false, { "provider_id": 16, "provider": 17, "input_price_per_1m_tokens": 18, "output_price_per_1m_tokens": 8, "response_time_ms": 19, "actual_cost_usd": 20, "input_cost_per_word_usd": 21, "output_cost_per_word_usd": 12, "has_tiered_pricing": 14 }, "anthropic:claude-sonnet-4", "Anthropic Claude Sonnet 4", 3, 1568.72692800385, 0.009, 0.000012, { "provider_id": 23, "provider": 24, "input_price_per_1m_tokens": 25, "output_price_per_1m_tokens": 26, "response_time_ms": 27, "actual_cost_usd": 28, "input_cost_per_word_usd": 29, "output_cost_per_word_usd": 30, "has_tiered_pricing": 14 }, "anthropic:claude-haiku-3.5", "Anthropic Claude Haiku 3.5", 0.8, 4, 2141.1094386851, 0.0024, 0.0000032, 0.000016, { "provider_id": 32, "provider": 33, "input_price_per_1m_tokens": 8, "output_price_per_1m_tokens": 9, "response_time_ms": 34, "actual_cost_usd": 11, "input_cost_per_word_usd": 12, "output_cost_per_word_usd": 13, "has_tiered_pricing": 14 }, "anthropic:claude-opus-3", "Anthropic Claude Opus 3", 2538.34107347902, { "provider_id": 36, "provider": 37, "input_price_per_1m_tokens": 18, "output_price_per_1m_tokens": 8, "response_time_ms": 38, "actual_cost_usd": 20, "input_cost_per_word_usd": 21, "output_cost_per_word_usd": 12, "has_tiered_pricing": 14 }, "anthropic:claude-sonnet-3.7", "Anthropic Claude Sonnet 3.7", 2513.9738537193, { "provider_id": 40, "provider": 41, "input_price_per_1m_tokens": 42, "output_price_per_1m_tokens": 43, "response_time_ms": 44, "actual_cost_usd": 45, "input_cost_per_word_usd": 46, "output_cost_per_word_usd": 47, "has_tiered_pricing": 14 }, "anthropic:claude-haiku-3", "Anthropic Claude Haiku 3", 0.25, 1.25, 2874.71054013884, 0.00075, 0.000001, 0.000005, { "provider_id": 49, "provider": 50, "input_price_per_1m_tokens": 51, "output_price_per_1m_tokens": 52, "response_time_ms": 53, "actual_cost_usd": 54, "input_cost_per_word_usd": 55, "output_cost_per_word_usd": 56, "has_tiered_pricing": 14 }, "open-ai:open-ai-gpt-4.1-mini", "Open AI Open AI GPT-4.1-mini", 0.4, 1.6, 2903.77470624506, 0.001, 0.0000016, 0.0000064, { "provider_id": 58, "provider": 59, "input_price_per_1m_tokens": 60, "output_price_per_1m_tokens": 51, "response_time_ms": 61, "actual_cost_usd": 62, "input_cost_per_word_usd": 63, "output_cost_per_word_usd": 55, "has_tiered_pricing": 14 }, "open-ai:open-ai-gpt-4.1-nano", "Open AI Open AI GPT-4.1-nano", 0.1, 2650.13976342621, 0.00025, 4e-7, { "provider_id": 65, "provider": 66, "input_price_per_1m_tokens": 9, "output_price_per_1m_tokens": 67, "response_time_ms": 68, "actual_cost_usd": 69, "input_cost_per_word_usd": 13, "output_cost_per_word_usd": 70, "has_tiered_pricing": 14 },
by camgunz | 2025-07-25 15:25:43+00:00
I feel like I'm defending Go constantly these days. I don't even like Go!

Go can already ensure "consistency of multi-word values": use whatever synchronization you want. If you don't, and you put a race into your code, weird shit will happen because torn reads/writes are fuckin weird. You might say "Go shouldn't let you do that", but I appreciate that Go lets me make the tradeoff myself, with a factoring of my choosing. You might not, and that's fine.

But like, this effort to blow data races up to the level of C/C++ memory safety issues (this is what is intended by invoking "memory safety") is polemic. They're nowhere near the same problem or danger level. You can't walk 5 feet through a C/C++ codebase w/o seeing a memory safety issue. There are... zero Go CVEs resulting from this? QED.

EDIT:

I knew I remembered this blog. Here's a thing I read that I thought was perfectly reasonable: https://www.ralfj.de/blog/2021/11/18/ub-good-idea.html. Quote:

"To sum up: most of the time, ensuring Well-Defined Behavior is the responsibility of the type system, but as language designers we should not rule out the idea of sharing that responsibility with the programmer."
by motorest | 2025-07-25 15:25:53+00:00
> perhaps lot of european people need to have a wake up call.

You haven't been paying attention. Even to this thread.

Let me be very clear: The US proved to be a very unreliable and outright hostile partner. At this point, it is not clear whether the US is more hostile to the collective west than the likes of China.

Therefore, let the US keep their backyard TSMC. It changes nothing. It helps nothing. It is not to be trusted.

That is the wake-up call.
by ysnp | 2025-07-25 15:27:05+00:00
It may be permanent and I think this was the official indirect response:

"AOSP needs a reference target that is flexible, configurable, and affordable — independent of any particular hardware, including those from Google." [0]

Emphasis on independent of any particular hardware.

Current speculation/inference suggests it is because of the antitrust case against them, preparing for the possibility that they may be divested of Android (or at least to decouple in meaningful ways [1]).

[0]: https://www.androidauthority.com/google-not-killing-aosp-356...

[1]: https://www.bloomberg.com/news/articles/2024-11-18/doj-will-...
by Barrin92 | 2025-07-25 15:27:10+00:00
>Paid or unpaid. That's the normal nature of democracy;

It isn't in Europe. Most European countries have limits on how much can be spend on political campaigning and when campaigning takes place, and the difference between the smallest and largest parties is within the same order of magnitude, this is so because if one can simply buy an election this has nothing to do with democracy, an equal competition of ideas unrelated to one's financial resources.

Democracy isn't a contact sport, it's not even a sport, it's intentional deliberation between ordinary people at an appropriate place and time. Turning politics into 24/7 live TV bread and circus entertainment is exactly what's destroying it.
by cpeterso | 2025-07-25 15:27:34+00:00
Google’s own services generate goo.gl short URLs (Google Maps generates https://maps.app.goo.gl/ URLs for sharing links to map locations), so I assume this shutdown only affects user-generated short URLs. Google’s original announcement doesn’t say as such, but it is carefully worded to specify that short URLs of the “https://goo.gl/* format” will be shut down.

Google’s probably trying to stop goo.gl URLs from being used for phishing, but doesn’t want to admit that publicly.
by yyyk | 2025-07-25 15:27:35+00:00
X withering away was inevitable once you consider the 'economic' situation - very few people worked on it once the commercial Unix vendors went down. There was little practical enthusiasm for a common layer. Even before Wayland, its role was reduced more and more. Wayland is natural evolution of this where most of the work is offloaded to more resourced Desktop environments and the org mostly sets standards.
by hombre_fatal | 2025-07-25 15:27:41+00:00
I suppose the use case for using Notes to back a website is the same reason you'd use Notes over Notion, Obsidian, Todo apps, Evernote, and everything else:

Notes are built-in to your Macbook and iPhone, and they sync across them, and you're probably already using it.

Every time I try to use a new tool, I end up going back to Notes.
by Findecanor | 2025-07-25 15:27:45+00:00
Are you sure those weren't using RS-232 over TCP/IP over Ethernet?

That is quite common in the pro audio/video installation world, where RS-232 is common but needs extenders for longer distances.

Within A/V, the norm for local RS-232 lines is actually not DE9 but 3-pin terminal blocks! (RX/TX/GND) I've seen those even on Cisco video codecs, priced $10'000+.
by StableAlkyne | 2025-07-25 15:28:08+00:00
> It's about reading about a personal experience written by an actual person

This seems to be the dividing line in the AI writing debate.

If one cares about the interpersonal connection formed with the author, generally they seem to strongly dislike machine-generated content.

If one cares about the content in isolation, then generally the perceived quality is more important than authorship. "The author is dead" and all that.

Both points are valid IMO. It's okay to dislike things, and it's okay to enjoy things.

> I want new and genuine insights that only another human can create.

This is a good illustration of what I mean: you personally value the connection with the author, and you can't get a human connection when there was never a human to begin with.

If you take a look at the others in the thread who had a positive view of the work, they generally focused on the content instead.
by alnwlsn | 2025-07-25 15:28:11+00:00
There's a lot of things like this, especially when the connector is commonly used for just one thing. One is "composite video" which at one point or another I have heard items on this list used interchangeably (though not always at the same time):

composite video - RS-170 - monochrome video - EIA-170 - NTSC - black and white video - CVBS - B&W video - RS-170A - analog video - PAL - yellow RCA plug - just plain "video"

These don't even all refer to the same thing, and some are definitely more correct than others, but all are used even by technical people.

Here's another one: "Amphenol connector", "Cannon connector" or "Molex connector". It's the same as saying "Ford car".
Show HN: Narev – Open-Source FinOps for AI and Cloud Spend
by osquar | 2025-07-25 15:28:24+00:00
Hey HN,

I've been working on unifying SaaS billing data using FOCUS 1.2 from the FinOps Foundation. Started with cloud providers (AWS, Azure, GCP) and OpenAI.

Narev ingests billing data, normalizes it with FOCUS 1.2, and gives you one dashboard for everything. Self-hosted so your data stays private.

Try it:

docker run -d \ --name narev \ -p 8000:8000 \ -v $(pwd)/data:/app/data \ -e DEMO="true" \ ghcr.io/narevai/narev:latest

Then hit http://localhost:8000

This is v0.1.0—stage, early but functional. Looking for feedback on which SaaS integrations to prioritize next, bug reports, and contributors.

GitHub: https://github.com/narevai/narev
by mckravchyk | 2025-07-25 15:28:50+00:00
I'm using typed IDs in TypeScript with template literal types. I.e. `type UserId = `user_${string}` I've written a blog post about it a while ago [1] One can argue that this pollutes runtime, however, it is a feature to me. When the ID pops up in the logs, it is instantly obvious what the object is, error messages are more meaningful. You can notice that Stripe uses such approach in their API.

[1] https://www.velopen.com/blog/adding-type-safety-to-object-id...
by PaulHoule | 2025-07-25 15:28:51+00:00
I hate to share AI content but I get this as a translation:

"Hello! My team and I are building a platform where people can send written questions to verified doctors or lawyers and receive answers online. No appointments, no calls.

The platform is already live and we've had hundreds of users so far. But we're noticing a pattern that's making us think: people visit the experts' profiles (they look, they read)... and then leave without sending anything.

There are no errors, no bugs. Just hesitation. We're wondering: is it a lack of trust? They don't know what to ask? Uncertainty about the price? Something else?

If you've experienced this kind of behavior on B2C platforms or marketplaces, I'd really love to hear your thoughts. What helps, in your experience, to build trust and encourage action?"
by throwaway-blaze | 2025-07-25 15:30:25+00:00
Not trying to start a flame war, but Mac laptops are pretty much best in class across screen, keyboard (now, no comment on previous gen), battery, and weight. There are PC laptops that compete with individual parts of the lineup (the Dell XPS was competitive with the MacBook Pros for a while), but overall Macs are generally a great choice.

If you're an iOS user, the integration with the OS across devices can be pretty great (Messages on desktop, Airdrop, Tethering).

If you're an iOS dev, you have nowhere else to do your work.
by mohamin1995 | 2025-07-25 15:30:36+00:00
DoubleStar is an AI-powered learning platform designed for anyone who wants to grow in their professional career. With DoubleStar, you can learn complex topics in a simple, interactive way , guided by an AI instructor who talks to you just like a personal tutor. And here’s the twist: unlike traditional online courses, you can interrupt the teacher at any time, ask your question, and get a real-time, personalized response. But that’s not all, you can also assess your technical skills, receive instant feedback, and get tailored resources to improve even faster. We’d love for you to check it out, try it, and share it with your friends. We’re adding new topics every week and improving the experience with your feedback.
by Atreiden | 2025-07-25 15:31:09+00:00
> Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.

> Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.

I don't think this is an example of curious, good-faith comment. If you'd like to have a substantive discussion on the practical merits/drawbacks of a program like this, I'd be happy to.
by aliljet | 2025-07-25 15:31:10+00:00
I see the term 'local inference' everywhere. It's an absurd misnomer without hardware and cost defined. I can also run a coal fired power plant in my backyard, but in practice, there's no reasonable way to make that economical beyond being a toy.

(And I should add, you are a hero for doing this work, only love in my comment, but still a demand for detail$!)
by SirMaster | 2025-07-25 15:31:14+00:00
This seems pretty irrelevant now. This article is from 2017 which is before we had proper real HDR support in Windows 10 and much better HDR support now in Windows 11.

And before we had OLED gaming monitors which can actually now display good HDR at 1000+ nits.

This was definitely during a transitional phase with mostly fake HDR techniques that needed tone-mapping. Now we have real HDR that doesn't need tone-mapping, or only a small amount of tone-mapping above the display peak nits point.
by vimy | 2025-07-25 15:31:23+00:00
China is actively supporting the Russian army. They don't want Russia to lose. The Russians won't stop in Ukraine. It can't be more clear than this which country is a greater danger to the West.

> Chinese Foreign Minister Wang Yi told the European Union’s top diplomat that Beijing can’t accept Russia losing its war against Ukraine as this could allow the United States to turn its full attention to China, an official briefed on the talks said, contradicting Beijing’s public position of neutrality in the conflict. https://edition.cnn.com/2025/07/04/europe/china-ukraine-eu-w...
by rob_c | 2025-07-25 15:31:25+00:00
Don't worry they're just upset that the cheap toys from foxcon suicide plants are going to get out of reach. Once everything dies down the people complaining will find something else to moan about. Prices will normalise regardless of where things are manufactured that's the result of supply and demand. If people aren't willing to pay a bit extra maybe they never really needed luxury good X. Ofc there's fools who over optimized their supply chain in the name of "modern economics of growth" and they'll get a wake-up call about stability and not bowing to shareholders. It's just a shame for most that that lesson will be in the form of layoffs and bankruptcy vs a CEO digging deep and personally reinvesting back in the company they're supposed to believe in.
Ask HN: What does the ideal programming language look like in the age of LLMs?
by xlbuttplug2 | 2025-07-25 15:31:53+00:00
What language - current or hypothetical - is optimal for LLM assisted/produced code?

I have a couple preliminary thoughts:

- Prioritize human readability: With LLMs progressively taking over more of the coding responsibility, and developers being relegated to more code reviewing, we might as well make life easier. It’s ok for syntax to be verbose since it comes at no cost (to LLMs, anyway). Information dense code is fun to write but not so much to read. Perhaps something close to pseudocode.

- Ability to self verify: Reduce the burden on the developer of validating that the produced code is correct and not riddled with hallucinations. Code that compiles is a good baseline. Then we have static analysis like what Rust does. Then comes formal verification and being able to prove that the logic meets the spec.

I’m also curious how well LLMs will be able to write code in such an ideal language, given that they haven’t been trained on such.
by charleshmartin | 2025-07-25 15:31:56+00:00
We present a SemiEmpirical Theory of Learning (SETOL) that explains the remarkable performance of State-Of-The-Art (SOTA) Neural Networks (NNs). We provide a formal explanation of the origin of the fundamental quantities in the phenomenological theory of Heavy-Tailed Self-Regularization (HTSR): the heavy-tailed power-law layer quality metrics, alpha and alpha-hat. In prior work, these metrics have been shown to predict trends in the test accuracies of pretrained SOTA NN models, importantly, without needing access to either testing or training data. Our SETOL uses techniques from statistical mechanics as well as advanced methods from random matrix theory and quantum chemistry. The derivation suggests new mathematical preconditions for ideal learning, including a new metric, ERG, which is equivalent to applying a single step of the Wilson Exact Renormalization Group. We test the assumptions and predictions of SETOL on a simple 3-layer multilayer perceptron (MLP), demonstrating excellent agreement with the key theoretical assumptions. For SOTA NN models, we show how to estimate the individual layer qualities of a trained NN by simply computing the empirical spectral density (ESD) of the layer weight matrices and plugging this ESD into our SETOL formulas. Notably, we examine the performance of the HTSR alpha and the SETOL ERG layer quality metrics, and find that they align remarkably well, both on our MLP and on SOTA NNs.
by armchairhacker | 2025-07-25 15:32:10+00:00
Furries making their own 00s-themed site website for chat/art/games powered by crypto would be the greatest thing. Small bonus if the website is open-source and provides data dumps, big bonus if it’s federated.

It would alleviate censorship concerns. It sounds practical, my understanding is that furries are statistically much more tech-savvy and willing to spend money and effort. Copyright and CSAM are issues that must be addressed, but hopefully small enough to be manageable, since it’s primarily furries (not realistic, not in aggressively copyrighted pop culture). And it seems like something many people would like, at least the nostalgic people in online spaces like HN. If it gets popular enough to extend to other niches I would join and help fund.
by PaulHoule | 2025-07-25 15:32:22+00:00
I'd be interested in seeing AI dialog in video games or game-adjacent experiences.

In particular, VR worlds could really use an NPC you share the space with and have a conversation with like you do in real life or in VRChat. One reason Horizon Worlds is so daft is that if a business wanted to create an experience where you could interact meaningfully business it would have to staff the space with a real employee.

I'm not sure if I would trust an LLM to play a major character ("you are dan!"), but could it be like one of the cast members at Disney or Colonial Williamsberg, I think yes.
by aatd86 | 2025-07-25 15:32:34+00:00
Why does it segfault? Because you have not used a sufficiently clever value for the integer that wouldn't when used as an address?

Just wondering.

Realistically that would be quite rare since it is obvious that this is unprotected shared mutable access. But interesting that such a conversion without unsafe may happen. If it segfaults all the time though then we still have memory safety I guess.

The article is interesting but I wish it would try to provide ideas for solutions then.
by WorldMaker | 2025-07-25 15:32:47+00:00
> two American companies should not be able to dictate the moral standards of censorship for the world. They have too much power and too little oversight. Let's start with that.

To be fair, it's more than just two companies (and not all of them are US based). It's an ecosystem of companies with two major choke points.

Groups like Collective Shout work because Visa and MasterCard have deeply conservative Terms & Conditions and you can whine to them enough legally that they aren't taking their T&Cs correctly and "must" do a thing.

Visa and MasterCard's T&Cs are heavily conservative not just because they are conservative banking companies, but because they are conservative banking middlemen. A lot of their T&Cs also reflect all the Merchant Banks that these networks rely on to float the liquidity of the networks. Those Merchant Banks want a minimal risk on their high volume of investments in micro-loans. They express that minimal risk desire in strict, conservative T&Cs.

(It's a fun hypocrisy of the US-based Merchant Banks especially to want such minimal risk given they have the ability to use Federal Reserve 0% loans to back their portfolio of payment network loans. They have almost nothing but upside and surprisingly minimal risk naturally from that. But these are business-to-business banks that make their money the lowest risk ways.)

Visa and MasterCard get squeezed at both ends with what the Merchant Banks want and what these groups like Collective Shout want and become the easy chokepoint to attack. If the Merchant Banks backed off some Visa and MasterCard could potentially loosen their T&Cs.

Unfortunately as business-to-business banks, most of the biggest Merchant Banks (which often don't have recognizable consumer brands), several of which are not US-based, have very little interest in hearing from us and I don't see an easy strategy to encourage them to take more risks in the same way that a vocal minority team can encourage Visa and MasterCard to take fewer risks because their T&Cs already say so.

I can still blame Visa and MasterCard for being cowards on these and related subjects and not pushing back against loud complainers and highly conservative Merchant Banks, while also respecting that their position on some of this is between a rock and a hard place, as much "just a middleman" as a controlling character in what is happening.
by PaulHoule | 2025-07-25 15:33:22+00:00
I don't think you'd get a lot of replies in a language that isn't English, particularly one which is not so international as, say, French.

My take overall is that it's normal for the fraction of people who really engage which something as opposed to just taking a look to be small, maybe a few percent -- the counter would be when you are getting highly motivated visitors.
by coldpie | 2025-07-25 15:33:49+00:00
Hmm, maybe, I haven't thought about it much. The angle I'm taking is, as a private citizen I choose not to do business with entities I think are immoral, such as Amazon and Home Depot and Hobby Lobby and Uline and Tesla. If I were a business owner, I would prefer to continue to not to do business with those entities and I'd be pretty pissed if I was forced to by the government. That does seem to agree with your "same rights as private citizens" framing, yes, though I'm not sure I'd go so far as to defend the CU decision. I dunno. Interesting question, I'd welcome your thoughts on this.
by FuriouslyAdrift | 2025-07-25 15:33:52+00:00
It was called silicon valley for a reason. From the 1950s until the 1980s, the US was the dominate manufacturer of integrated circuits and the the origin of most fo the technology.

Everything started to globalize starting in the late 1970s to early 1980s which really kicked off with the end of the gold standard and the Volker Shock.

The Japanese and Germans, which had IC industry already, picked up steam and started to export as the economics changed.

China, Korea, Vietnam, etc. are recent entries (2000s)