MurphyA/hacker-news huggingface dataset:
by scripper1 | 2025-09-22 17:41:23+00:00
Personally, I’m of the view that the internet is like a bulletin board: If you post your content publicly then it can be read publicly. Paywalls and required log-ins are perfectly OK.

I think what Cloudflare is advocating for is preservation of a “public+Ads” bundle where ads are viewed by a human. So they want to disentangle a computer reading something (the core premise of the internet) from a human putting eyes on it.

I wouldn’t mind see a world in which more content is private and the creator can decide how to monetize. It feels like Cloudflare stepping in to say public != public is an overreach.
by scubbo | 2025-09-22 17:41:32+00:00
100% this. I'm increasingly of the opinion that "ability to evaluate how often/extensively a chunk of logic may need to be changed in the future; and to design accordingly" is one of the most underrated skills in software development:

* If it's "write once, run a few times, discard", go ahead and throw together whatever you want

* If it's "write once, run a bazillion times at the very core of your logic with very few changes over time", optimize for efficiency over legibility

* If it's going to be written and rewritten and evolved and tweaked many times, optimize for readability and flexibility
Show HN: Chat with Any YouTube Video
by TunePaw | 2025-09-22 17:41:34+00:00
I built a Chrome extension that lets you chat with the transcript of any YouTube video. Instead of sitting through like a 2 hour video, you can just ask a question and get an instant answer.

The Problem:

I built it mainly for myself: I often watch long-form videos like lectures or tutorials on YouTube, and I want a fast way to extract the information I need without scrubbing through timestamps or rewatching sections. For example, I recently used it with a 3.5-hour lecture and got the exact answers to my questions in seconds.

Another example is that nowadays YouTubers often create videos around one or two key ideas, and I can now figure out whether a video is worth watching by asking what those key ideas are in advance.

How it works:

1. The extension gets the video transcript. 2. An AI model summarises it, and makes the content ready for chat 3. You can switch between chat mode and auto-generated summaries depending on how deep you want to go.

What’s different:

1. It’s not just a summarizer: you can interact with the content in real time and ask follow-up questions 2. It saves a huge amount of time if you’re studying or just watching a long video and curious about a specific part of it.

Feedback: If you find it useful, I’d really appreciate your feedback on your experience with it and what you’d improve.

Thanks!
by mothballed | 2025-09-22 17:41:41+00:00
A couple that some people might not like

1) Execution for drug trafficking without violence

2) A slight majority of the populace eligible for public housing gets it via essentially a regressive tax system where a gigantic slice of the populace (immigrants) fund the housing they can't use, creating a very bizarre government-imposed scenario where housing actually becomes radically cheaper the better positioned you are to be wealthy.

Of course there are arguments for both.
Show HN: Devbox – Ephemeral containers for clean dev environments
by TheRealBadDev | 2025-09-22 17:41:42+00:00
I've been frustrated with dependency hell and clutter on my VPS from dev, so I built Devbox: a lightweight, open-source CLI tool that spins up isolated development environments using Docker. Each project runs in its own container, but your code stays in simple flat folders on the host machine—no messing with volumes or sync issues. Environments are disposable, so you can nuke and recreate them without losing your work.

Key features:

- Instant setup: `devbox init my-project` and you're in a fresh env with `devbox shell`.

- Configurable via JSON: Define packages, services, and more in a `devbox.json` file. Share it in your repo for reproducible setups—teammates just run `devbox up`.

- Docker-in-Docker by default: Build and run containers inside your env without extra config.

- Host-friendly: Edit code directly on your machine; the container handles the runtime.

- Templates for quick starts: Built-ins for Python, Node.js, Go, web dev, etc.

- Advanced options: Port mapping, env vars, resource limits, and even mounting your dotfiles.

It's FOSS (MIT license), Linux-focused (Debian/Ubuntu, or WSL2 on Windows), and super easy to install: `curl -fsSL https://devbox.ar0.eu/install.sh | bash`.

Check out the launch page and docs at https://devbox.ar0.eu, or the repo at https://github.com/itzCozi/devbox. I'd love some feedback, stars, or contributions to help grow this into a solid community tool!
by aanet | 2025-09-22 17:42:19+00:00
Yeah - no doubt on the eventual productivity gains due to AI/ML (which are real, of course, just like the real gains due to telecom infra buildup), but must an economy go through a bubble first to realize these productivity gains??

It appears that the answer is "more likely yes than not".

Counting some examples:

- self driving / autonomous vehicles (seeing real deployments now with Waymo, but 99% deployment still ahead; meanwhile, $$$ billions of value destroyed in the last 10-15 years with so many startups running out of money, getting acquihired, etc)

- Humanoid robots... (potential bubble?? I don't know of a single commercial deployment today that is worth any solid revenues, but companies keep getting funded left / right)
by tzs | 2025-09-22 17:42:55+00:00
The best selling model counts for something, but even with that Tesla just isn't a big car company when compared to the other major car companies.

They have the best selling vehicle by a little under 1%, with the Tesla Model Y just edging out the Toyota Corolla. But Toyota also has the 3rd best selling model (RAV4) that is about 7% behind the Model Y. And they have a third model in the top 10, the Camry, at a little over half the Model Y sales.

Just those 3 Toyota models combined sell about 30% more than all Tesla models combined.

Across all models Toyota sells 6 times as many cars as Tesla.

By number of cars sold per year Tesla is the 15th biggest car maker. The list is Toyota, Volkswagen, Hyundai-Kia, GM, Stellantis, Ford, BYD, Honda, Nissan, Suzuki, BMW, Mercedes-Benz, Renault, Geely, and then Tesla.

If we go by revenue from sales rather than units sold it is 12th. The list is: Toyota, Volkswagen, Hyundai-Kia, Stallantis, GM, Ford, Mercedes-Benz, BMW, Honda, BYD, SAIC Motor, and then Tesla.

Yet Tesla has something like 6 times the market cap of Toyota and around 30 times the market caps of VW and Honda. That's pretty much all hype.
by opo | 2025-09-22 17:42:59+00:00
>...After all it was the only counter-balance that instilled a baseline fear of violent uprising from the workers class in the heart of the wealthy class.

Are people claiming that the USSR provided a valid counter-balance for the working class? At any rate, if the chances of political violence have actually decreased in democracies due to the end of the USSR, isn't that a good thing?
by bitmasher9 | 2025-09-22 17:43:01+00:00
Nvidia is giving OpenAi money (through investment) to buy Nvidia chips. The bubble is that Nvidia got that money from its crazy high stock price, the extra investment raises OpenAi’s evaluation and the increased sells raises Nvidia’s evaluation. If the valuations see a correction then spending like this will decrease, further decreasing valuations.

Bubble collapsing looks like enshittification of OpenAI tools as they try to raise revenues. It’ll ripple all throughout tech as everyone is tied into LLMs, and capital will be harder to come by.
by concavebinator | 2025-09-22 17:43:17+00:00
Reminds me of a 2D puzzle I solved using Haskell https://github.com/concavegit/tile-placement-puzzle

IIRC it kept a list of board states, updated the list of board states by taking each one and applying possible moves, then removed congruencies or any state that did not have a valid next move.

The pattern seems similar to your approach that deals with rotations, though in 3D
by dguest | 2025-09-22 17:43:22+00:00
Monaco is 2 km^2 [1].

I'm confused because if I assume each rack takes up 1 square meter I get a much smaller footprint: around 12 hectares or 17 football fields.

And that assumes that the installation is one floor. I don't know much about data centers but I would have thought they'd stack them a bit.

Am I the only person who had to look up how big Monaco was?

[1]: https://en.wikipedia.org/wiki/Monaco

[2]: https://www.wolframalpha.com/input?i=10+GW+%2F+%2880kw+%2F+m...
by onlyrealcuzzo | 2025-09-22 17:43:33+00:00
I dunno.

Google is pretty useful.

It uses >15 TWh per year.

Theoretically, AI could be more useful than that.

Theoretically, in the future, it could be the same amount of useful (or much more) with substantially less power usage.

It could be a short-term crunch to pull-forward (slightly) AI advancements.

Additionally, I'm extremely skeptical they'll actually turn on this many chips using that much energy globally in a reasonable time-frame.

Saying that you're going to make that kind of investment is one thing. Actually getting the power for it is easier said than done.

VC "valuations" are already a joke. They're more like minimum valuations. If OpenAI is worth anywhere near it's current "valuations", Nvidia would be criminally negligent NOT to invest at a 90% discount (the marginal profit on their chips).
by mothballed | 2025-09-22 17:44:43+00:00
2 is not at all like the USA. USA has an ostensible progressive taxation for public housing -- the people on section 8 / public housing are poorer population than even the legal immigrants that can't get it.

Singapore's is regressive; they tax their massive % of population of ineligible immigrants so the citizens can have it essentially without means testing. It functions largely as a transfer of wealth from less rich to more rich.
by beckford | 2025-09-22 17:44:54+00:00
Not OP, but I think it does run Postgres as a process. However, IMHO the general use case for SQL is for external actors (humans, machines) to get access to the underlying data in a structured way. So I see a benefit for a true in-process embedding of Postgres if the process exposed a Postgres TCP/IP port 5432, etc. (Hook your software up to a query tool, a reporting interface, etc.)

Beyond that, why care whether the "embedding" involves a spawned process? It still works great for integration tests which I suspect is the main use case, and for specialized data analysis software where a spawned process is no big deal.
by dh2022 | 2025-09-22 17:45:24+00:00
For me it is not a trick question. I would like to understand the motivation of tech leaders who line at Trump's feet. What is the worst that may happen to them if they would ignore Trump? All of them already have their underground bunkers in islands far away from US....

Is it worth groveling at the White House just for Trump to turn around and take 15% of your sales in tariffs anyway?
by pavel_lishin | 2025-09-22 17:45:53+00:00
> Imagine a future business model of the Internet that doesn't reward traffic-generating ragebait but instead rewards those content creators that help fill in the holes in our collective metaphorical cheese. That will involve some portion of the subscription fees AI companies collect, and some portion of the revenue from the ads they'll inevitably serve, going back to content creators who most enrich the collective knowledge.

Reminds me of that bit of Snow Crash, where the freelancers sell data to the Library of Congress.
by noone_youknow | 2025-09-22 17:45:54+00:00
Sorry for the confusion, I was referring to the putchar not being implemented in OPs code, I got yours working right away (nice work btw).

What you mention about VGA being common on x86 was what got me curious, since it’s not a thing on riscv. In my own OS project I’m using a framebuffer to show a graphical terminal on both x86 and riscv64 so I wondered if OP was doing similar or was really using SBI output.
by 1vuio0pswjnm7 | 2025-09-22 17:46:31+00:00
"Make no mistake, the Internet has never been free."

Honestly, this sounds like a Mozilla press release. The spin is absurd

Before ISPs existed, someone else paid. Universities, governments, selected corporations, etc.

After ISPs (post-UUNet), internet subscribers have always had to pay

Who finances the data collection, i.e., the transfer of data from/about subscribers to the so-called "tech" company for commercial exploitation. Hint: It is not the so-called "tech" companies

When I first accessed the internet, and later the www, the term "creators" was never used to describe people who used it

Methinks "creators" is SillyCon Valley speak for "unpaid independent contractors". Why not use the term "producers"

The gigantic websites comprised of other peoples' work, today's so-called "platforms", are not "creators", they produce nothing. Despite billions of dollars at their disposal, and vast amounts of published material, their production costs are small. This is because production costs are outsourced to unpaid independent contractors. The material the "platforms" publish does not belong to them, they are only third party intermediaries (middlemen)

In the original internet, people publishing on the internet via websites produced the website content themselves

Today, "platforms" are not creating anything except a baited trap for people using the internet, whether they are "creators" (producers) or consumers, where internet users can be spied on for advertising purposes. And the targets of this surveillance and subsequent targeted advertising will even pay for sending the surveillance data collected to the interlopers

Today's "creators" may be paid (if they are lucky, like winning a lottery) or not (the other 99%, their free contributions serve as bait). But "make no mistake", it is not the third party intermediary "platforms" that pay "creators", it is advertisers, but only after the "platforms" (middlemen) take a cut

SillyCon Valley calls this an "ecosystem". But today's internet, cf. the original one, IMHO looks more like a toxic waste dump
by okanat | 2025-09-22 17:47:07+00:00
Servo was a side-project. Mozilla laid off the Servo team. Its development then stopped. It eventually found a home in Linux Foundation but it lost the initial acceleration. It lost the ambition. Many key developers moved on. Whatever nature your project is, closed or open source, when you lose key people and stop training new ones, the project slowly dies. People matter much much more than the license or the parent organization.

Ladybird didn't lose its initial speed. There is a leader with strong vision. There is no shenanigans from half-assed management. There is clear and responsible funding. It attracts similarly ambitious people. All of that ends up with visible and real progress.
by criemen | 2025-09-22 17:47:51+00:00
> because the LLMs are able to look up bug fixes in the project git repository

That's not the (only) problem: Even if you take the internet away, we know/assume that all LLMs are heavily trained on public GitHub repositories. Therefore, they know/remember details of the code and organization in a way they can't for your private (or new, past knowledge cut-off date) code.
by srameshc | 2025-09-22 17:48:37+00:00
One of our web apps need a small subset of data from Postgres and we use DuckDB WASM to keep it clost to front end. Yes, I agree with not using it for for OLTP workloads. But instead of installing like author mentions in the post, this is a light replacement that works perfectly if you need a Postgres like DB in your app. Just have to add a new file, INSTALL postgres, LOAD postgres,

ATTACH 'dbname=mydb user=dbname host=25.25.25.25 password=aaaa AS db (TYPE postgres, READ_ONLY);

You can CREATE TABLE my_duck_table_stream AS SELECT * FROM db.table_stream;

It's just fun
by bbourn | 2025-09-22 17:48:54+00:00
From all of our customer interviews, almost everyone used Digikey and the occasional manufacturer website to find parts.

Because of that, we're seeing many people put the parameters they're looking for directly into the search. After a few searches, it starts to be clear that you can add more information directly into the search, so queries get a little more complex.

We're getting ready to add features to the AI to help you (interactively) navigate the range of available parts to narrow down your choices and understand what's available when you don't know where to look or what parameters to use. You should be able to ask 'I need to convert a parallel RGB display bus into MIPI' and the AI will show you different families of parts that could do that.
by throwaway346434 | 2025-09-22 17:49:08+00:00
It's such a weird thought process to have gone through, to write this. The sentiments expressed are basically:

"I WANT to apologize ... that I feel awful."

"How can you possibly talk to someone about changing access, when multiple people tell you no, you are wrong?! A coup is the only way!"

"Because funding deadline, we executed a coup, which will keep everyone safe from hostile actors... Taking over accounts and access"
by tialaramex | 2025-09-22 17:49:39+00:00
While the North Sea continues to produce a relatively large amount of the world's fossil fuels because most countries produce none or hardly any, in terms of the UK it's not enough.

Even if this wasn't a capitalist country where a million pensioners dying in unheated homes so that one billionaire can charge 10% more to sell their fuel abroad might be justified as "market forces" there simply isn't enough to heat homes and make electricity.

Twenty years ago, if we had the relatively modest need we do today, it would work because the gas production was much greater than today.

But actually twenty years ago we were still burning a lot of coal. We'd stopped burning it in the middle of our biggest cities by then, but a huge percentage of UK electricity was coal fired. Makes CCGT look fucking instant in terms of responsiveness does coal, but that's what we did, very little renewable back then.

If we could magically extract gas only for our own use, and as needed rather than with limited scale, we'd run dry before 2029. We'd get this Xmas, and the next, the one after would be scary as headlines about imminent loss of heat would be on every paper and then it'd be gone by spring and we're screwed.

In reality, we're extracting much more slowly and apparently we're (well, huge foreign companies who pay scarcely any tax) are happy to keep doing that for years.
by BrandoElFollito | 2025-09-22 17:50:16+00:00
I was offered a CHEF'S CHOICE 15XV a few years ago and this is what I use to sharpen the knives at home (very ordinary knives).

I never knew if this was the summum of how sharp my knives could be, or where I bring them on a "sharpness" scale of 1 to 5 for a given knife.

I was also wondering if this depends on the knife - with some knives being better for such electrical sharpener and some worse.
by oisdk | 2025-09-22 17:50:33+00:00
Generally speaking, it means that the effect is derived from an algebraic theory (in a specific and structured way). While equations are definitely part of most theories, you can absolutely have a theory without equations, and furthermore you can define an effect with equations that isn't algebraic. The full definition of "algebraic theory" unfortunately doesn't really fit in a comment, but I did want to push back on the idea that "an effect becomes algebraic if you add equations to it".

In the effects literature, you often also see the definition that an operation (of an effect) is "algebraic" if the operation commutes with `>>=`. This definition is actually the same as the one above, just stated in a different way.
Ask HN: How much of your code is AI writing?
by bmau5 | 2025-09-22 17:50:37+00:00
I'm trying to figure out where we're at in the hype cycle - purely for curiosity and to settle some discussions. My takeaway from reading many threads on here is that code gen platforms are still too weak to be reliably used in Enterprise settings due to security and bloat - but I could be wrong.
by rcrowley | 2025-09-22 17:50:47+00:00
PlanetScale always maintains three (or more, if you want) copies of the data and only acknowledges writes after they've been written to at least two cloud provider availability zones. Durability is provided via replication at the database layer rather than hidden in the slow network-attached block device. Most of our largest customers use Metal for their most critical data and all of them saw their 99th percentile latency plummet when they migrated.

I did an interview all about PlanetScale Metal a couple of months ago: <https://www.youtube.com/watch?v=3r9PsVwGkg4>
by sc68cal | 2025-09-22 17:50:47+00:00
This story is missing any context around what occurred. The only thing I was able to find was by searching, and I came to this PDF statement.

https://pup-e.com/goodbye-rubygems.pdf

> On September 9th, with no warning or communication, a RubyGems maintainer unilaterally:

> renamed the “RubyGems” GitHub enterprise to “Ruby Central”,

> added non-maintainer Marty Haught of Ruby Central, and

> removed every other maintainer of the RubyGems project.

> On September 18th, with no explanation, Marty Haught revoked GitHub organization membership for all admins on the RubyGems, Bundler, and RubyGems.org maintainer teams

Which is important context that was left out of this board member's statement.
by mtrovo | 2025-09-22 17:51:05+00:00
The section on how they solved arrays is fascinating and terrifying at the same time https://blog.cloudflare.com/capnweb-javascript-rpc-library/#....

> .map() is special. It does not send JavaScript code to the server, but it does send something like "code", restricted to a domain-specific, non-Turing-complete language. The "code" is a list of instructions that the server should carry out for each member of the array.

> But the application code just specified a JavaScript method. How on Earth could we convert this into the narrow DSL? The answer is record-replay: On the client side, we execute the callback once, passing in a special placeholder value. The parameter behaves like an RPC promise. However, the callback is required to be synchronous, so it cannot actually await this promise. The only thing it can do is use promise pipelining to make pipelined calls. These calls are intercepted by the implementation and recorded as instructions, which can then be sent to the server, where they can be replayed as needed.
by marklubi | 2025-09-22 17:51:33+00:00
Thanks for taking the time to respond. Ultimately though, most of those aren't required from the beginning, but the syntactic sugar, abstractions, and performance gains from them are amazing.

You probably already know, but I'll opine a little bit about extension methods. I use them a lot.

Entities > Repositories > Functionality. All split out.

- Entities (pretty much just gets and sets, nothing more than necessary).

- Repositories via extensions to determine where the data comes and goes from (some data comes from SQL, some from Redis, some from Postgres, doesn't matter since it's split out) and any particular queries you need for optimizing things.

- Functionality via more extensions without adding additional code to the entities.

Separation of purpose/use.

I may or may not have completely replaced our data layer in the middle of the height of our season with no interruption. Little bit passionate about this one.
by dmitrygr | 2025-09-22 17:51:35+00:00
I get you are outraged. It hurts to hear things you dislike, but please, simply go talk to a store owner in CA. Ask them the last time they bothered to call police for shoplifting. Sit down. Think what statistics would show when people GIVE UP on law enforcement.

Or, simply google it, check it on reddit, facebook, nextdoor. It is well understood that police in CA do not respond to thefts and do not care about them. It is internalized to point that nobody bothers to call.