MurphyA/hacker-news huggingface dataset:
by firesteelrain | 2025-07-09 13:11:53+00:00
Sure, 23 hours on average is generous if the goal is honest implementation. But the issue isn’t the time. It is that companies don’t want this button to exist at all. They are not stalling because it's hard; they’re stalling because friction equals profit. That’s why you get weaponized complexity, endless “design reviews” and inflated estimates. The FTC did their job, sort of. They got “cancelled” (hehe) because of a bureaucratic hurdle.

The industry just doesn’t want to play fair.
by evilduck | 2025-07-09 13:12:08+00:00
The FTC have no say in choosing to exist or not exist, or what laws are passed that they are supposed to enforce. In some cases, an agency intentionally choosing to not carry out their duties would even be breaking the law and subject to penalty or punishment. How the FTC goes about interpreting their duties and then the court system correcting their behavior when they disagree or misbehave is the system working as intended. If they don't have laws to interpret for an issue though, that's a legislative problem.

The real question is why isn't congress doing their job? They control both the existence and funding of the FTC and additionally the laws the FTC are tasked with interpreting and enforcing. If congress is unfit for purpose they should be replaced.
by cess11 | 2025-07-09 13:12:57+00:00
"Claude is aware of that, but it struggled to write correct code based on those rules"

It's actually not, and unless they in some way run a rule engine on top of their LLM SaaS stuff it seems far fetched to believe it adheres to rule sets in any way.

Local models confuse Python, Elixir, PHP and Bash when I've tried to use them for coding. They seem more stable for JS, but sometimes they slip out of that too.

Seems pretty contrived and desperate to invent transpilers from quasi-Python to other languages to try and find a software development use for LLM SaaS. Warnings about Lisp macros and other code rewrite tools ought to apply here as well. Plus, of course, the loss of 'notation as a tool of thought'.
by Imustaskforhelp | 2025-07-09 13:13:13+00:00
Yes, The amount of traffic that youtube can sustain is really wild.

But yea one of the smallest nitpicks I have with them is the algorithm since its a hit or miss. Sure you can remove the algorithm completely but I would really wish if I could ask something like their SOTA AI models (Gemini) to make my algorithm for me right within youtube and I can say things like No clickbait etc.
Crowdsourced List of Festivals
by festivalgrade | 2025-07-09 13:13:17+00:00
I created a list of festivals that I'm making public

Anyone and everyone can add to it, so we can have a comprehensive list of all festivals Its open and free for anyone to use

https://docs.google.com/spreadsheets/d/1EH9S6Hk1cum6vJUJawOy...

I was motivated by the fact i need to endlessly search the internet for festivals and communities

feel free to add to it or ask question, thanks!
by bluGill | 2025-07-09 13:13:45+00:00
The "other side" does not consider themselves anti-consumer. You disagree with them on what anti-consumer means, but they have their own reasons to consider their position pro-consumer and you are doing debate a disservice by ignoring that.

They do consider themselves anti-regulation and anti-government in general, but they are not (mostly) anarchists, they do agree with some regulation and government, they just want the minimum possible and thus place a high bar on how bad the alternatives must be before they will agree to regulation/government.
by axus | 2025-07-09 13:14:16+00:00
Of course now that the FTC rule is well known, anyone designing a new system would require click-to-cancel. The new burden is low, but at the time the big companies probably spent millions to fix it.

A more extreme example would be the US Clean Air Act and how the EPA extended the rules to regulate carbon dioxide emissions. Obviously going to cost a lot of money, but a necessary change to dodge climate disaster. That rule had to wait for Congress to pass the Inflation Reduction Act to become legal. Hopefully this minor consumer protection rule will be supported by Congress as well.
by immibis | 2025-07-09 13:14:17+00:00
I don't think Haskell needs 'if' to be a construct for compiler optimization reasons; it could be implemented easily enough with pattern matching:

if' :: Bool -> a -> a -> a

if' True x _ = x

if' False _ y = y

The compiler could substitute this if it knew the first argument was a constant.

Maybe it was needed in early versions. Or maybe they just didn't know they wouldn't need it yet. The early versions of Haskell had pretty terrible I/O, too.
by themdonuts | 2025-07-09 13:16:22+00:00
Yeah, this resonates with me. My side project for 6 years was generating very, very little. Enough for a few pints a month.

Fun fact: The project survived a total destruction of the datacenter where it was hosted (remember the ovh incident?) which took it offline for maybe 4 months (no backups at the time). Luckily the server it was on didn't get melted.

Also at some point I started questioning why was I still working on it for so little. My wife convinced me to keep going and to be honest I still enjoyed working on it.

Then on year 7 things started to change, and on year 8 I was able to quit my daily job! I'm on year 10 now. It's not a 7 figure business, but I enjoy every single day. Also the flexibility it gives me is excellent.
by jchw | 2025-07-09 13:17:04+00:00
Honestly, I'm just trying to understand why people want to return to CGI. It's cool that you can fork+exec 5000 times per second, but if you don't have to, isn't that significantly better? Plus, with FastCGI, it's trivial to have separate privileges for the application server and the webserver. The CGI model may still work fine, but it is an outdated execution model that we left behind for more than one reason, not just security or performance. I can absolutely see the appeal in a world where a lot of people are using cPanel shared hosting and stuff like that, but in the modern era when many are using unmanaged Linux VPSes you may as well just set up another service for your application server.

Plus, honestly, even if you are relatively careful and configure everything perfectly correct, having the web server execute stuff in a specific folder inside the document root just seems like a recipe for problems.
by akoboldfrying | 2025-07-09 13:18:10+00:00
I think it should be the other way round: In an ideal world, everyone, including doctors and executives, should expect to have to demonstrate their skills when applying for a new job.

It's just unfortunate that there isn't (TTBOMK) an easy way of measuring, in a few hours, how good an executive is at executive-ing. Which is why the field is crammed with useless pretenders who nevertheless manage to flit from job to job, soaking up fat compensation packages before their incompetence is exposed.

I'm curious why there doesn't seem to be the same market for lemons for doctors. Or is there? How does a person actually know if a doctor is good?
by jeroenhd | 2025-07-09 13:18:24+00:00
You need the .deb files to match your architecture and to have the necessary dependencies available, but for programs like Google Chrome, Discord, and VSCode, those dependencies seem to come down to "any recent version of glibc and openssl" and the .debs themselves are available for multiple architectures.

You're not going to be installing random Debian packages from the Debian FTP server, but for most proprietary software that resorts to "install this .deb", it'll work most of the time, which beats many other distributions.

On the other hand, installing software this way is a great way for upgrades to the next major version to fail spectacularly halfway through, so I'm not so sure if it's a feature or not.
by maest | 2025-07-09 13:18:32+00:00
I think there is a reason for this, but maybe not a good one.

1. Function application should be left to right, e.g. `sqrt 4`

2. Precedence order should be very simple. In k, everything has the same precedence order (with the exceptions of brackets)

1 + 2 forces you to have this right to left convention, annoyingly.

Fwiw, I think 2 is great and I would rather give up 1 than 2. However, writing function application as `my_fun arg` is a very strong convention.
by chuckadams | 2025-07-09 13:19:15+00:00
It might be using the Safari engine underneath, but the issues they're describing are the sort of thing that would surface with a bad integration like a corrupted profile. Profile management on FF has always been a bit of a crapshoot. Personally speaking, it hasn't bit me in the last few years, but I've probably jinxed it now 8-/
by jbhoot | 2025-07-09 13:20:18+00:00
Almost every Indian I know (including me) mixes at least two languages in their daily conversations seamlessly, that too within a sentence. Westerners may find that Indians talking among themselves in their native language(s) drop English words out of nowhere. Again, I can't imagine this to be a uniquely Indian phenomenon. Multilingual people would be doing this.

Lingual purists may find it irritating, but I love such mix-ups!
by nchmy | 2025-07-09 13:20:30+00:00
The difference, it seems to me, is that astro is a framework and, specifically, meant for server side generated static pages with a bit of dynamic elements in them. I don't think it is all that capable of doing highly dynamic SSR apps (though their server Islands might make that possible? https://docs.astro.build/en/guides/server-islands/)

And, also, "php" in your question could be ruby, go, C or anything else that runs on the server.

I prefer htmx or, better yet, Datastar which are both small, backend agnostic, js libraries for making ssr html interactive to varying degrees. You could, in theory, use astro with them but probably better to just use something else.
by Cthulhu_ | 2025-07-09 13:20:40+00:00
> cheap energy is will power the next AI boom

This is already happening, that and the crypto boom from a few years ago.

> and lift the poor and middle class up

But this is not happening; the ones doing AI stuff, crypto stuff, energy stuff have no interest in lifting any classes up. Energy prices are not going down, because demand is going up alongside supply, to the point where in some places the energy grid can't keep up. At-home solar and EVs are putting strain on the residential grids, even the newly built ones that have been reinforced 4x compared to the power grid of 10, 20 years ago.

Thorium reactors will cost billions and decades to build, even if you can find a location, get past the legal hurdles, the societal outrage, NIMBYism, etc. Meanwhile, you can get solar panels from your local DIY store, or order a pallet of them off the internet for cheap. Anyone with roof or field space can build themselves a solar farm, but nuclear or thorium reactors are huge, nationwide and political investments.
by sgarland | 2025-07-09 13:20:45+00:00
Please read source docs instead of relying on LLMs, especially for RDBMS. I’ve found they quite often get something subtly wrong; for example, recommending that the PK be added to a secondary composite index in MySQL - this is entirely unnecessary, because all secondary indices in MySQL implicitly include the PK.

> lookup table worth it

Is not doing it worth the risk of referential integrity violations? How important is your data to you? You can say, “oh, the app will handle that” all you want, but humans are not perfect, but RDBMS is as close as you’re ever going to come to it. I have seen orphaned rows and referential violations at every company I’ve been at that didn’t enforce foreign key constraints.

There is a performance hit at scale to not doing it, also: imagine you have a status column with some ENUM-esque values, like CANCELED, APPROVED, etc. If stored as TEXT or VARCHAR, that’s N+(1-2 bytes) per string. At the hundreds of millions or billions of rows scale, this adds up. Storage is cheap, but memory isn’t, and if you’re wasting it on repeated text strings, that’s a lot fewer rows per page you can fit, and so more disk access is required. JSON objects are the same, since both MySQL and Postgres only shift large blob-type objects off-page after a certain threshold.
by scrubs | 2025-07-09 13:20:57+00:00
It's not clear to me that China is batting that well. I do not wish bad upon the Chinese citizenry, and China has done well in its own day since the 1960s.

But don't forget at the same time where China was during the end of the British power, nor Chinese revolutions, nor the state control over the Chinese populace.

Although the US vastly overweights what we think non-US-democracies would do (think Middle East and our meddling there) given the chance for US like freedom, I do not think we're seeing China in the natural so to speak. HK, for example, was not pleased with the "two systems one country" rule the CPP landed on.

Add in the fact that trade can no longer be assumed to be Chinese central, and China is slowly getting dragged into wars through Russia, and China still hasn't tried its mettle with Taiwan. A post invasion China will hit different. It's got internal issues of employment, real estate, have v. have nots ... it's got its hand full.

My guess is that China, like the US is seeing now on stretches, will be the master of its own demise. In the US a major contributing factor to Trump is the fact the US Congress has become an institutional zero especially since Gingrich. That power vacuum has been filled by the Executive branch under Trump. There's more to it of course, but this two-part crisis is an important matter to keep in mind.

China takes its state craft more seriously in some sense, but that seriousness may get it into trouble. And in fact, several articles in the Economist have argued that if China wants to keep 5%+ YOY GDP growth, the CCP will have to take a back seat which is the one thing it will not do. CCP political power is foremost; good economy is damn nice to have to when you can get it -- and the CCP will go after it hard -- but there are limits ...
by RedShift1 | 2025-07-09 13:21:04+00:00
Yep. ERP vendors are the worst offenders. Last deployment for 40-ish users "needed" an 22 CPU cores and 44 GB of RAM. After long back and forths I negotiated down to 8 CPU cores and 32 GB. Looking at the usage statistics, it's 10% MAX... And it's cloud infra so paying a lot for RAM and CPU sitting unused.
by cbeach | 2025-07-09 13:21:29+00:00
Great job on this webapp, it's a really easy-to-use platform. I've toyed with the same startup idea myself, having tracked my personal finances and life projection for years now using Google Sheets, Grafana and other tools.

Just an annecdotal bit of feedback: I would like to continue using ProjectionLab but $109/year is beyond what I'm willing to spend, especially given ProjectionLab doesn't integrate with any live tracking of property prices / investment portfolio valuation etc.

If it were $40/year I probably would subscribe. But $109 is too much to justify (and I am reasonably well off).

Have you A/B tested different pricing levels to find the sweet spot that maximises revenue?
by pcthrowaway | 2025-07-09 13:22:02+00:00
Take the paywalled URL: https://www.newyorker.com/news/annals-of-a-warming-planet/46...

Add archive.is in front of it

https://archive.is/https://www.newyorker.com/news/annals-of-...

If you get an nginx page (I seem to get one pretty often), you can try archive.today, archive.li, or any of the alternates in the URL section on https://en.wikipedia.org/wiki/Archive.today

If the article has already been archived, you can select one of the snapshots which the archive site will show you.

If it hasn't, click to archive it and wait ~5 minutes for it to finish. You'll get access to the snapshot and a URL you can share.
by naasking | 2025-07-09 13:22:46+00:00
> To make truly discoverable API you need to specify protocol for endpoints discovery, operations descriptions, help messages etc. Then you need clients that understand your specification, so it is not really a generic client.

Generic clients just need to understand hypermedia and they can discover your API, as long as your API returns hypermedia from its starting endpoint and all other endpoints are transitively linked from that start point.

Let me ask you this: if I gave you an object X in your favourite OO language, could you use your languages reflection capabilities to discover all properties of every object transitively reachable from X, and every method that could be called on X and all objects transitively reachable from X? Could you not even invoke many of those methods assuming the parameter types are mostly standardized objects or have constructors that accept standardized objects?

This is what discoverability via HATEOAS is. True REST can be seen as exporting an object model with reflection capabilities. For clients that are familiar with your API, they are using hypermedia to access known/named properties and methods, and generic clients can use reflection to do the same.
by ljf | 2025-07-09 13:22:51+00:00
While that may be true - I can invest in home solar and have zero or near zero electricity costs at reasonable prices with a 5 to 7 year payback period. Near me solar farms run at a profit here in England, and yet I don't believe any nuclear power plant has run at a profit without government assistance, or subsidies, and none are yet expected to fund their own decommissioning and clean up - society will bear these costs.
by trjordan | 2025-07-09 13:23:09+00:00
The core argument here is: LLM docbots are wrong sometimes. Docs are not. That's not acceptable.

But that's not true! Docs are sometimes wrong, and even more so if you could errors of omission. From a users perspective, dense / poorly structured docs are wrong, because they lead users to think the docs don't have the answer. If they're confusing enough, they may even mislead users.

There's always an error rate. DocBots are almost certainly wrong more frequently, but they're also almost certainly much much faster than reading the docs. Given that the standard recommendation is to test your code before jamming it in production, that seems like a reasonable tradeoff.

YMMV!

(One level down: the feedback loop for getting docbots corrected is _far_ worse. You can complain to support that the docs are wrong, and most orgs will at least try to fix it. We, as an industry, are not fully confident in how to fix a wrong LLM response reliably in the same way.)
by ivan_gammel | 2025-07-09 13:23:13+00:00
>the HATEOAS detail ends up having no practical value and creates more problems than the ones it solves.

Many server-rendered websites support REST by design: a web page with links and forms is the state transferred to client. Even in SPAs, HATEOAS APIs are great for shifting business logic and security to server, where it belongs. I have built plenty of them, it does require certain mindset, but it does make many things easier. What problems are you talking about?
by zamadatix | 2025-07-09 13:23:24+00:00
3.1 (1993) - KAFFINITY bitmask

5.0 (1999) - NUMA scheduling

6.1 (2009) - Processor Groups to have the KAFFINITY limit be per NUMA node

Xeon E7-8800 (2011) - An x86 system exceeding 64 total cores is possible (10x8 -> requires Processor Groups)

Epyc 9004 (2022) - KAFFINITY has created an artificial limit for x86 where you need to split groups more granular than NUMA

If x86 had actually hit a KAFFINITY wall then the E7-8800 even would have occured years before processor groups because >8 core CPUs are desirable regardless if you can stick 8 in a single box.

The story is really a bit reverse from the claim: NT in the 90s supported architectures which could scale past the KAFFINITY limit. NT in the late 2000s supported scaling x86 but it wouldn't have mattered until the 2010s. Ultimately KAFFINITY wasn't an annoyance until the 2020s.
by myth_drannon | 2025-07-09 13:23:33+00:00
The parent submission is off-topic and spreads Jew hatred (attack on a person because Robbie Gibb is Jew and should be removed from board, similar to Columbia University president Claire Shipman comments). As someone who's grandparents experienced similar attacks during Stalinism because they were Jewish aka "zionists", this is extremely scary and totalitarian.

I just don't understand how this is allowed.
Show HN: CamelAI – Embeddable AI data analyst for your SaaS
by illiana | 2025-07-09 13:24:10+00:00
Hey HN, we're the co-founders of camelAI (https://camelai.com). We're building an embeddable AI data analyst that lets developers add natural language data exploration to their apps in minutes. Our API handles the complexity of AI-powered analytics, so you can focus on your core product. Here's a demo: https://camelai.com/docs/dev_api/introduction

With AI becoming table stakes for SaaS, every company wants "chat with your data" features. But building this properly is harder than it looks. Many developers think they can just pipe user questions through GPT to generate SQL and call it done. Turns out that's nowhere near sufficient for production use.

Real data analysis requires iterative exploration, consistent metric definitions, proper visualizations, and handling of complex schemas. Without these, users get frustrated with wrong answers, inconsistent results, and raw data dumps instead of insights. Teams end up spending months building what should be a solved problem.

We solve this by using an agentic approach where the AI explores your data iteratively, maintains context across queries, and automatically generates interactive visualizations.

camelAI connects directly to your database (Postgres, MySQL, Snowflake, BigQuery, ClickHouse, Supabase, and more). You teach it your metrics through reference queries and knowledge base entries. We handle row-level security through session variables, so each user only sees their data. Everything is delivered through a customizable iframe - no backend work required.

We created a playground using the entire Hacker News dataset so you can see what the embed looks like (no signup needed): https://camelai.com/hackernews/. Try asking things like "What are the most discussed AI companies this year?" or "Show me posting patterns for Show HN posts".

We're currently in beta and it's free while we gather feedback. Our planned pricing will be usage-based at 25% markup on tokens used, plus a monthly fee for iframe embed. Setup takes about 5 minutes with our quickstart guide: https://docs.camelai.com/dev_api/camel-api-quickstart

Early customers include fintech and retail analytics platforms who use us to handle ad-hoc data requests from their users.

We're excited to see what the HN community builds with this and would love feedback on the agent's performance and what features you'd need!
by throw0101d | 2025-07-09 13:24:42+00:00
> You can use ZSTD with ZIP files too!

Support for which was added in 2020:

> On 15 June 2020, Zstandard was implemented in version 6.3.8 of the zip file format with codec number 93, deprecating the previous codec number of 20 as it was implemented in version 6.3.7, released on 1 June.[36][37]

* https://en.wikipedia.org/wiki/Zstd#Usage

So I'm not sure how widely deployed it would be.
by gizmo686 | 2025-07-09 13:25:34+00:00
Hebrew is still written sequentially in Unicode. The right-to-left aspect there is simply about how the characters get displayed. On mixed documents, there is U+200E and U+200F to change the text direction mid stream.

From the perspective of a LLM learning from Unicode, this would appear as a delimeter that needs to be inserted on language direction boundaries; but everything else should work the same.