MurphyA/hacker-news huggingface dataset:
by limaodev123 | 2025-12-13 03:48:36+00:00
Hi HN! I'm the creator of this tool.

I built this because I was frustrated that most "random number generators" create invalid phone numbers (e.g., US area codes starting with 0 or 1) which kept breaking my QA validation logic.

Key features:

- Validates Area Codes & Exchange Codes (US, UK, CN, etc.)

- 100% Client-side (Privacy focused, no data sent to server)

- Bulk Export to CSV, JSON, and TXT

It's built with Next.js. I'm actively looking to improve the validation rules for more countries (as noted by quadVision below!), so any feedback is welcome!
by limaodev123 | 2025-12-13 03:49:01+00:00
Thanks for the great feedback!

1. You are totally right about the Hungarian area codes. I relied on some generic regex patterns, but I will refine the Hungary logic to exclude the '07' prefix.

2. And thanks for the heads-up on the Next.js security patch! I'll check my dependencies and update the version today.

Really appreciate you taking the time to test it out!
by mindslight | 2025-12-13 03:49:41+00:00
It goes deeper than that - the Supreme Council will issue non-binding "guidance" on the "shadow docket", so that when/if the fascists/destructionists [0] lose the Presidency, they can go back to being obstructionists weaponizing high-minded ideals in bad faith. As a libertarian, the way I see it is we can disagree politically on what constitutes constructive solutions, but it's time to unite, stop accepting any of the fascists' nonsense, and take back the fucking government - full support for the one remaining mainstream party that at least nominally represents the interests of the United States, while demanding they themselves stop preemptively appeasing the fascists. The Libertarian, Green, or even new parties can step up as the opposition. Pack the courts with judges that believe in America first and foremost, make DC and PR states to mitigate the fascists' abuse of the Senate, and so on. After we've stopped the hemorrhaging, work on fundamental things like adopting ranked pairs voting instead of this plurality trash.

[0] I'd be willing to call them something else if they picked an honest name for themselves - they are most certainly not "conservatives"
by archargelod | 2025-12-13 03:50:31+00:00
If a script is simple - I use posix sh + awk, sed, etc.

But if a script I write needs to use arrays, sets, hashtable or processes many files - I use Nim[0]. It's a compiled systems-programming language that feels like a scripting language:

- Nim is easy to write and reads almost like a pseudocode.

- Nim is very portable language, runs almost anywhere C can run (both compiler and programs).

- `nim r script.nim` to compile and run (cached on subsequent runs) or use a shebang `#!/bin/env -S nim r`

- Nim programs are fast to compile (use debug mode and tcc compiler for almost instant compile times)

- Nim scripts run very fast <10ms (something that was very annoying to me with bash and Python)

- good chances you don't need external dependencies, because stdlib is batteries included and full of goodies.

- if you need external deps - just statically link them and distribute a cross-compiled binary (use zigcc[1] for easy Nim cross-compilation).

[0] - https://nim-lang.org

[1] - https://github.com/enthus1ast/zigcc
by inkyoto | 2025-12-13 03:51:46+00:00
> You could own a microwave, but there doesn't have to be a button that makes it run with the door open. The UI of devices doesn't let just anything happen.

And where is the UI capability that prevents microwave users from putting liquids (e.g. grape juice) that generate plasma storms inside the microwave and often result in fires? Or, as a bonus, crinkled foil.

To state the matter bluntly – the entire diatribe concerning the system’s role in defining capabilities is as constructive as insisting that every computing device and appliance on the planet must implement B2-level RBAC and capability-based controls – an argument so unmoored from practical reality that one wonders whether its proponent has ever been burdened by implementation.
by ahefner | 2025-12-13 03:54:14+00:00
If gRPC overhead is critical to your system, you've probably already lost the plot on performance in your overall architecture.

You make a fair point about smart pointers, and median "modern C++" practices with STL data structures are unimpressive performance-wise compared to tuned custom data structures, but I can't imagine that idiomatic Java with GC overhead on top is any better.
by mhalle | 2025-12-13 03:54:25+00:00
I have found that scripts, and the environment that runs them, are the skills' superpower.

Computability (scripts) means being able build documents, access remote data, retrieve data from packaged databases and a bunch of other fundamentally useful things, not just "code things". Computability makes up for many of the LLM's weaknesses and gives it autonomy to perform tasks independently.

On top of that, we can provide the documentation and examples in the skill that help the LLM execute computability effectively.

And if the LLM gets hung up on something while executing the skill, we can ask it why and then have it write better documentation or examples for a new skill version. So skills can self-improve.

It's still so early. We need better packaging, distribution, version control, sharing, composability.

But there's definitely something simple, elegant, and effective here.
by xeonmc | 2025-12-13 03:56:22+00:00
Is the graphics rendering modified to output actual barrel projection to match the display, or did you just take the original perspective projection and stick it on a distorted screen?

Consider making the screen panoramic around a larger radius rather than just around the head, perhaps on the order of ball diameter. This reduces the visual stereodisparity mismatch and lowers the cognitive load for habituation.

Consider also making the trigger chin- or bite-activated to allow simultaneous shooting and moving.
by drzaiusx11 | 2025-12-13 03:59:19+00:00
I'd argue every git-backed loadable page in a web forge should be "that fast", at least in this particular use-case.

Hitting the backing git implementation directly within the request/response loop seems like a good way to burn cpu cycles and create unnecessary disk reads from .git folders, possibly killing you drives prematurely. Just stick a memcache in front and call it a day, no?

In the age of cheap and reliable SSDs (approaching memory read speeds), you should just be batch rendering file pages from git commit hooks. Leverage external workers for rendering the largely static content. Web hosted git code is more often read than written in these scenarios, so why hit the underlying git implementation or DB directly at all? Do that for POSTs, sure but that's not what we're talking about (I think?)
Show HN: Tandem – Real-time collaborative editor with AI attribution tracking
by Lmanchu | 2025-12-13 04:00:04+00:00
I built Tandem to solve a problem I kept running into with Claude Code: *How do you collaborate on documents with AI while maintaining proper attribution?*

Current tools (Google Docs, Notion, etc.) were designed for human-to-human collaboration. When I copy-paste Claude's suggestions into a doc, all attribution is lost. My team can't tell which parts I wrote vs AI-generated. In open source, this creates trust issues.

*Tandem's approach:* - Every edit is tagged as Human or AI - Git-based version control (full history, not just "last modified") - Real-time collaboration using Yjs CRDT - MCP integration (AI can directly edit documents using tools)

*Tech stack:* React 19, TipTap, Yjs, Hono, Bun, MCP

*Live demo:* https://tandem.irisgo.xyz

Think "Google Docs meets Git" but designed for human-AI teams. I'm treating this as a bottom-up approach to building an AI-native workspace (inspired by Sam Altman's recent comments about needing an "AI-native Slack").

Currently in MVP stage. Looking for feedback from the HN community: - Does this solve a problem you have? - What features would make this indispensable? - Concerns about AI attribution?

Happy to answer technical questions about the implementation!
by butvacuum | 2025-12-13 04:00:05+00:00
Just so people this far down can look it up the term is Canonicalization, and its cousin collation.

These are non-trivial issues that, thankfully, some very smart and/or experienced people have usually handled for us. However, they still frequently lead to all sorts of vulnerabilities. "Stuffing" attacks sometimes rely on these issues, as have several major crypto incidents.
by mkagenius | 2025-12-13 04:00:11+00:00
If anyone wants to use skills with any other model or tool like Gemini CLI etc. I had created open-skills, which lets you use skills for any other llm.

Caveat: needs mac to run

Bonus: it runs it locally in a container, not on cloud nor directly on mac

1. Open-Skills: https://GitHub.com/BandarLabs/open-skills
by paulcole | 2025-12-13 04:00:16+00:00
> I said "without risk of lawsuits", and that phrase is doing a lot of work.

It is like saying that it is hard to go swimming without risk of shark attack.

Mostly wrong until you share a bunch of cherry-picked scenarios to support your own beliefs.

“Well yes I knew a guy who liked to splash around in the ocean at sunset wearing his seal costume after ladling chum into the water all afternoon.”
by squigz | 2025-12-13 04:01:03+00:00
"Some aspects of the Formula One handover were not transfer- able to the medical handover process. When the consultant from Formula One went to GOSH and looked at the whole handover process, he said it would be best to engineer out parts and get new equipment. He noted the complex technical problems with the handover ... The Formula One consultant asked, “Why don’t you just have one thing that does both and has its own power supply and its own ventilator?” This was obviously what needed to be done, but it turned out not to be feasible since manufacturers were not interested in producing the needed equipment. They were not interested because the market is very small (only children) and hospitals would never be able to replace all its beds at the same time due to the exorbitant cost of the proposed new equipment. While the Formula One crew can count on using technology to improve their handover process, the hospital team could not; they had to rely more on human beings and less on state-of-the-art technology."
by Lmanchu | 2025-12-13 04:01:11+00:00
*Why I built this:* Working with Claude Code transformed my coding workflow, but document collaboration was still broken. The copy-paste dance between AI and docs loses all attribution. In teams, this creates trust issues. In open source, it looks like plagiarism.

*Technical details:*

*Architecture:* - Frontend: React 19 + TipTap (collaborative editor) - Sync: Yjs CRDT over WebSocket - Backend: Hono on Bun (3x faster than Node) - Storage: Git for version control - AI: MCP protocol for tool integration

*The key innovation* is treating AI as a first-class participant in Yjs's CRDT. Each client (human or AI) gets a unique `clientID`, allowing per-character attribution.
by _heimdall | 2025-12-13 04:01:28+00:00
I wouldn't personally want companies to be punished without evidence of collusion. A company isn't doing anything wrong by earning market share, and companies aren't doing anything wrong if they happen to move in a similar direction based on market incentives.

If we think free markets are generally going to move in the right direction, we should just want companies to want to fill market gap and outcompete. I don't agree we should make companies do anything though, at most governments should be tweaking incentives to attempt to push companies down a path without directly making them go there (even them I'm not sold that approach is worth it).
by nickpsecurity | 2025-12-13 04:02:21+00:00
More than anything, they need to match and then exceed Singapore's text and data mining exception for copyrighted works. I'll be happy to tell them how since I wrote several versions of it trying to balance all sides.

The minimum, though, is that all copyrighted works the supplier has legal access to can be copied, transformed arbitrarily, and used for training. And they can share those and transformed versions with anyone else who already has legal access to that data. And no contract, including terms of use, can override that. And they can freely scrape it but maybe daily limits imposed to avoid destructive scraping.

That might be enough to collect, preprocess, and share datasets like The Pile, RefinedWeb, uploaded content the host shares (eg The Stack, Youtube). We can do a lot with big models trained that way. We can also synthesize other data from them with less risk.
by devmor | 2025-12-13 04:02:31+00:00
> Going back to the Industrial Revolution the United States has been 100% gas pedal all the time on innovation and disruption, which has in turn created millions of jobs that didn't exist before and led to the US running the world's largest economy.

Where did you get the idea that this was the cause that created millions of jobs and lead to the US running the world's largest economy, and not say - the knock-on effects of the US joining WW2 relatively late and unscathed, making it the only major world power left with a functioning enough industrial complex to export to war-ravaged Europe?
by kazinator | 2025-12-13 04:02:40+00:00
cp version.template build/version.txt sed -i "s/@VERSION@/${COMMIT_TAG:-dev}/" build/version.txt sed -i "s/@BUILD_DATE@/${BUILD_DATE}/" build/version.txt

Eww! Mutating a file in place, and needing a GNU extension for it.

sed \ -e "s/@VERSION@/${COMMIT_TAG:-dev}/" \ -e "s/@BUILD_DATE@/${BUILD_DATE}/" \ < build/version.template > build/version.txt
by Defletter | 2025-12-13 04:02:46+00:00
> You're conflating legitimate criticism with incitement.

You should tell the right wingers that. Here's some of the right-wing sources I found when searching Ground News for some articles about Lucy Connolly, the woman who publicly advocating for the burning down of hotels housing asylum seekers:

- "British Mother Jailed for Tweet: ‘I Was Starmer’s Political Prisoner’" (The European Conservative) (https://europeanconservative.com/articles/news/british-mothe...)

- "Lucy Connolly considers legal action against police after being jailed for race hate tweet" (LBC) (https://www.lbc.co.uk/article/lucy-connolly-first-interview-...)

- "‘Silencing the right!’ Free speech boss rages over Lucy Connolly’s ‘absolutely heartbreaking’ admission" (GB News) (https://www.gbnews.com/news/free-speech-lucy-connolly-admiss...)

You may notice a theme amongst these articles about how "it was just a tweet" and "she's a political prisoner" and "calculated move to suppress conservative viewpoints on immigration". This is what the right does. I'm not conflating legitimate criticism with incitement, they are, and they're using their massive media empires to spread this conflation.

This is just going to fix itself with more speech, right?
by apitman | 2025-12-13 04:03:04+00:00
I did a brief comparison a while back, specifically WASM vs libriscv for. I decided to go with WASM, primarily because it was much more closely designed for this sort of thing, and it works in browsers. libriscv is really cool and impressive though.

EDIT: Found this link in my notes as well: https://news.ycombinator.com/item?id=24900376
by pentagrama | 2025-12-13 04:03:11+00:00
> Every time I published a new post, I would go to GSC and request indexing for the post URL, and my post would be on Google search results shortly after, as expected.

I doubt this is the actual cause, but I can’t think of any other plausible explanation. One possibility is that repeatedly requesting manual indexing in GSC (Google Search Console), while the same URLs were also being discovered automatically through the sitemap, may have unintentionally triggered a spam or quality signal in Google’s indexing system.

This kind of duplicated or aggressive indexing behavior could be misinterpreted by the algorithm, even if the content itself was legitimate.
by aceazzameen | 2025-12-13 04:04:46+00:00
We're running a solution that isn't perfect and isn't for everyone. We have a nice Sony Android TV along with a pihole. But on the TV itself I installed f-droid and netguard. Netguard's UI sucks on a TV, but it's workable. I use it to block Internet access to everything including Google. Only a few streaming apps have internet access. There was some trial and error with a handful of dependencies too.

If I need to update an app, I temporarily allow Google services access. All the streaming apps work well, except for HBO Max which takes a few minutes to load. I suspect it has a long timeout/retry count for something I'm blocking. But once it loads, it's fine.

I also use a different and basic home launcher so we can open the apps we want immediately, without having to deal with shifting algorithm-based icons. But even if we use the Google launcher, it's mostly empty and free of ads because it can't connect. It does still capture what I recently watch though.

Overall it's a decent experience, mainly because we're not being bombarded by more ad algorithms.
by simonw | 2025-12-13 04:05:09+00:00
Visit this link and click on the "Thought for 11m38s" text: https://chatgpt.com/share/693ca54b-f770-8006-904b-9f31a58518... - that will show you exactly what it spent those 11 minutes doing, most of which was executing Python code using the reportlab library to generate PDF files, then visually inspecting those PDF files and deciding to make further tweaks to the code that generates them.
by lucas_membrane | 2025-12-13 04:06:06+00:00
Not exactly. For example, Major League Baseball has been granted an anti-trust exemption by the US Supreme Court, because they said it was not a business. In some cases in which firms have been found guilty of violating the anti-trust laws, they were fined amounts minuscule in relation to the profits they gained by operating the monopoly. Various governments in the US outsource public services to private monopolies, and the results have sometimes amounted to a serious restraint of trade. The chicanery goes back a long way. For the first decade or so after the passage of the Sherman Act, it was not used against the corporate monopolies that it was written to limit; it was invoked only against labor unions trying to find a way to get a better deal out of the firms operating company stores and company towns etc, etc. Then Teddy Roosevelt, the so-called trust-buster, invoked it under the assumption that he could tell the difference between good and bad monopolies and that he had the power to leave the good monopolies alone. 120 years later, we are in the same sorry situation.
by kstrauser | 2025-12-13 04:06:41+00:00
That’s right. And forget about the existing rustc compiler implement. If you have something in Rust like

let a: HashMap = immutable_map.iter().map(…);

then you can infer from the semantics that the ordering doesn’t matter and whether it can be parallelized. C doesn’t have the ability to express what you want to happen, just how to do it. That gives Rust far more opportunity for optimization than C possibly can have.
by simonw | 2025-12-13 04:08:22+00:00
Yes, but it's also true: OpenAI have said almost nothing in public about their support for skills (there's one tweet about the Codex CLI implementation https://x.com/thsottiaux/status/1995988758886580349 and that's it) while rolling out a pretty major feature - invented by their competitor - to their core 800m+ user product in the past 24 hours.

I think "quietly" is fair.
by Terretta | 2025-12-13 04:08:33+00:00
Epic founder and CEO Tim Sweeney said he believes those should be “super super minor fees,” on the order of “tens or hundreds of dollars” every time an iOS app update goes through Apple for review. That should be more than enough to compensate the employees reviewing the apps to make sure outside payment links are not scams and lead to a system of “normal fees for normal businesses that sell normal things to normal customers,” Sweeney said.

Tens to hundreds every time an app goes through review is "super supor minor"... This is how you know Epic has the backs of all the indie devs who fret about $100/year dev membership.
by sandspar | 2025-12-13 04:10:56+00:00
Totally unrelated but what’s up with the word “quietly”? Its usage seems to have gone up 5000%, essentially overnight, as if there’s a contagion. You see the word in the New York Times, in government press releases, in blogs. ChatGPT 5.1 itself used the word in almost every single response, and no amount of custom instructions could get it to stop. That “Google Maps of London restaurants” article that’s going around not only uses the word in the headline, but also twice in the closing passage alone, for example. And now Simon, who’s an excellent writer with an assertive style, has started using it in his headlines. What’s the deal? Why have so many excellent writers from a wide range of subjects suddenly all adopted the same verbal tic? Are these writers even aware that they’re doing it?
by AdieuToLogic | 2025-12-13 04:11:14+00:00
> "This is just semantics" is a set phrase in English and it means that the issue being discussed is merely about definitions of words, and not about the substance (the object level).

I understand the general use of the phrase and used same as an entryway to broach a deeper discussion regarding "understanding."

> And generally the point is that it does not matter whether we call what they do "understanding" or not. It will have the same kind of consequences in the end, economic and otherwise.

To me, when the stakes are significant enough to already see the economic impacts of this technology, it is important for people to know where understanding resides. It exists exclusively within oneself.

> A simulated cake is useless, I can't eat it. But simulated understanding can have real world effects of the exact same sort as real understanding.

I agree with you in part. Simulated understanding absolutely can have real world effects when it is presented and accepted as real understanding. When simulated understanding is known to be unrelated to real understanding and treated as such, its impact can be mitigated. To wit, few believe parrots understand the sounds they reproduce.
by DoctorFreeman | 2025-12-13 04:11:53+00:00
Thanks for the feedback. My guess is that the part about destroying the random secrets is easier to understand, but the later part about a key pair and how its signing of the photo log can help with a persistent network outage is harder to understand? It does need a specific mental picture to see how it makes sense. I'll try to have more diagrams to explain.

But yeah the "random mosaic" with rice and beans is a great defense. My view is that these together can form a defense in-depth.
by roenxi | 2025-12-13 04:11:56+00:00
I don't know why you think that graph is contradicting me, if wages and productivity aren't linked having people do make-work is even more stupid! They're already doing work that they aren't even being compensated for, fighting to preserve that when the work doesn't need to be done is legitimately crazy. It'd be fighting for the right to do work that isn't being compensated for and isn't useful. One of the rare situations that is even worse than just straight paying people to not do anything. I'm seeing a scenario where we have such high individual productivity that everyone can live a very comfortable life. If in practice the way it is working is a couple of people do all the work and the benefits are divvied up among everyone else then that hardly undermines the vision.

Although if we're talking the optimum way of organising society, y'know, re-linking wages and productivity is a probably a good path. This scheme of not rewarding productive people has seen the US make a transition from growth hub of the world to being out-competed by nominal Communists. They aren't exactly distinguishing themselves with that strategy.