MurphyA/hacker-news huggingface dataset:
by bccdee | 2026-01-09 02:15:38+00:00
> There is good reason why even the languages that support defined error sets have trended back to using open-ended constructs.

Rust does it that way & has never trended in any other direction. The generally-accepted wisdom is "thiserror¹ for libraries, anyhow² for applications"—i.e., any error that's liable to be handled by a machine should be an enum of exhaustively-matchable error kinds, whereas anything that's just being propagated to the user should be stringified & decorated with context as it bubbles up.

Certainly, unified error types which wrap and erase more specific errors are sometimes desirable, but equally they often are not. Languages which support exhaustive matching support both, permitting us to choose based on context.

[1]: https://docs.rs/thiserror/latest/thiserror/

[2]: https://docs.rs/anyhow/latest/anyhow/
by dangus | 2026-01-09 02:16:37+00:00
No, you’re not making an argument in the context of political economy. You’re making an argument based on nothing: no data, no studies, just anecdote and personal opinion.

I don’t take seriously your attempt to hide it behind a supposed “observed factual reality.” This is similar to how eugenicists made up their own fake science to try to justify racism.

People are well within their rights to take xenophobic hate personally.
by hdoMRIphysics | 2026-01-09 02:16:45+00:00
A study published on [Jan 06, 2026, in RADIOLOGY](https://doi.org/10.1148/radiol.252105) demonstrated that the GPT-4o model selected optimal abdominal and pelvic CT protocols *more frequently than radiologists*. The study also found that fine-tuning did not further improve GPT-4o's performance.
by hypeatei | 2026-01-09 02:18:06+00:00
> talk with them and learn

No. Democrats always take the high road and what has that gotten them? A fascist regime and a political movement (MAGA) that floods the zone with bullshit when the gestapo does something bad.

Republicans stormed the capitol, killed police officers, and delayed the election process. What happened to them? Some lackeys got put in jail, and no one at the top faced consequences. Trump then pardoned all of those criminals for their service. Crickets from MAGAts and Republicans.

Laying your weapon down while someone keeps hitting literally just results in you ceasing to exist. Trump and all of his cabinet members are openly vile and called the woman who was shot a domestic terrorist before her body was even cold. Same situation with Charlie Kirk: they were calling the shooter a radical leftist before the body was cold. Meanwhile Dems are asked to disavow every action if it's even somewhat related to them and to "talk and learn"... yeah no that window has passed.

Hold your side accountable for the insane lies, corruption, and awful things they do first then maybe we can talk about reaching across the aisle.

EDIT: stop deluding yourself into thinking you're a "center right" voter too. It's obvious from previous interactions and your post history that you're drinking the MAGA koolaid.
by sheepscreek | 2026-01-09 02:18:13+00:00
Not OP, but I don’t think it’s accurate to say racism is “more or less eradicated” in the US. People’s experiences vary a lot by region, by urban vs rural areas, and even by neighbourhood and institution within the same city. Some places are clearly more inclusive than others, and disparities still show up in things like housing, policing, and employment within the city. So it’s hard to generalize.
by Tachyooon | 2026-01-09 02:18:19+00:00
The first time I heard of it was in this Matt Parker video where he helped do this with a school-sized group of kids [0]. An "AI player" made of matchboxes, run by schoolkids, is a fantastically fun idea.

[0] https://www.youtube.com/watch?v=R9c-_neaxeU
by wilg | 2026-01-09 02:19:00+00:00
The argument is very simple, Elon Musk's decision led to hundreds of thousands of deaths, and will result in millions more. Auditing government programs for efficacy is not a scam, but Elon Musk did not do that. He said he would do that but did not.

The USG spend is higher than it ever has been, most of the savings cited were fake, and thus he killed a lot of people for no reason.

Eliminating USAID led to deaths. Just because you don't like that it existed did not mean it was preventing deaths. Pulling the plug on someone is killing them, even if you didn't give them the disease and paying for their healthcare was expensive for you.
by travisgriggs | 2026-01-09 02:19:11+00:00
I certainly won't.

I wonder if it's because they don't see other relevant low-cost/overhead solutions. "Follow me on facebook" certainly isn't going to be a win. "Follow me on Bluesky or Mastadon" is going to be ignored. "You can see my comments on insta" won't be relevant. "My TikTok is where it's at" might get you some young followers.

Other solutions (your own blog, medium, substack, etc), all come with more overhead and setup.
by aizk | 2026-01-09 02:20:02+00:00
Manim is a python library created by Grant Sanderson to create really great math animations - if you've seen his YouTube channel 3Blue1Brown, he built Manim specifically with that in mind.
There's two versions, the version on his github specifically for his videos, and a community version that is more maintained.
The community version is the one that got hacked.
by clanky | 2026-01-09 02:20:57+00:00
Why am I supposed to root against Iran when the United States used peace negotiations as a ruse to assassinate their scientists and then help Israel launch an unprovoked sneak attack?

The "terror in the Middle East" you're referring to, is that just them helping Palestinians to resist the relentless Israeli onslaught? Helping Afghans and Iraqis to expel American occupiers?

Libya and Syria are lawless hellscapes forged by the United States and Israel. Their allied Arab satraps in the region use slave labor to construct luxury towers and playplaces for the uber rich. Where does that figure in your formulation?
by hallole | 2026-01-09 02:21:12+00:00
Vegan D3 is derived from algae, I believe.

My vegan diet involves a lot of beans, rice, ..., which all require considerably less input than meat does. A bag of beans costs so very little, lasts so long, and is healthy. Meat and dairy are luxuries that come at the cost of pretty horrific treatment for a great number of animals.
by Stagnant | 2026-01-09 02:21:49+00:00
The system prompt of claude code changes constantly. I use this site to see what has changed between versions: https://cchistory.mariozechner.at/

It is a bit weird why anthropic doesn't make that available more openly. Depending on your preferences there is stuff in the default system prompt that you may want to change.

I personally have a list of phrases that I patch out from the system prompt after each update by running sed on cc's main.js
by andrekandre | 2026-01-09 02:22:08+00:00
> I MUST start using AI ("or else...")

fear of missing out, and maybe also a bit of religious-esque fever...

tech is weird, we have so many hype-cycles, big-data, web3, nfts, blockchain (i once had an acquaintance who quit his job to study blockchain cause soon "everything will be built on it"), and now "ai"... all have usefulness there but it gets blown out of proportion imo
by japhyr | 2026-01-09 02:22:52+00:00
Like so many others, I've gotten into birding in the last few years. I've known so many people who choose eBird over iNaturalist because it's "easier to use". But that's exactly why I don't really enjoy eBird. So many people are just running Merlin, and dumping whatever it picks up to eBird.

There are way fewer observations on iNaturalist, but I know how much to trust every one of them.
by hopelite | 2026-01-09 02:23:48+00:00
So I realized who you are. Of course it’s you, living so far away from any and all effects or impacts of those people you have no problem thrusting on others. You’re really a bad person just alone for that mentality, a pure narcissist, prescribing for others that which you want nothing to do with just so you can live a delusional fantasy of being a good person.

Again, if you’re so convinced of how wonderful foreign nationals themselves on Americans against their will, how about you just put up a sign welcoming them all to squat in your house and live on your property and freeload off you; instead of prescribing that misery on others. You’re really a sick and evil person, you know that. How about you do unto yourself first, what you do unto others.
by conz | 2026-01-09 02:24:03+00:00
I can't tell if you're missing the key information or merely trolling.

Steam on Linux went from 1.4% at the start of 2025 and hit 3.58% at the end of that year. That's a 156% increase in device adoption in a single year. Most platforms would be happy with such growth.

The more important point is this: look at the growth trajectory. Windows11 and - I'm being told they've changed their name to Microslop, can anyone confirm? - are on the nose. Linux growth at the current rates would see a ~10% adoption rate in 2026. That then establishes a serious threat to the current gaming platform hegemony.
by westurner | 2026-01-09 02:24:26+00:00
Does this mean that revisions to for example, the OAuth2 and OIDC protocols will be needed; or shouldn't there at least be a note about the concerns of "HTTP Redirect Headers" draft-hardt-httpbis-redirect-headers ? https://github.com/dickhardt/redirect-headers/blob/main/draf...

Open issues:

- "Use of unsafe/unsecure headers (under Fetch)"
https://github.com/dickhardt/redirect-headers/issues/2 :

> All headers with the Sec- and Proxy- prefixes are forbidden request-headers. This rule also provides backwards compatibility as it ensures that newly introduced forbidden request-headers are forbidden in older browser. So, you probably want to rename Request-Origin to `Sec-Request-Origin`, at least

How to review this as an IETF RFC?
by FilosofumRex | 2026-01-09 02:25:18+00:00
> my ex was Iranian...

Dude you got scammed by her deceit and married her for Green Card! Iranian diaspora, and in particular, women are very conniving and manipulative, and make up sad stories of how they'll be persecuted and oppressed in Iran, in order to get nerds and geeks to marry them.

> "extremist islamist radicalism" in Iran graduates more women than men from universities and produces more engineers and scientists annually, than the rest of Middle East combined.

Iran GDP (PPP) ~ $2T (same as Australia) about 1% of world economy
GDP/cap (PPP) ~ $22K, (twice as much as India)
which puts Iran in top 25 economies and an upper-middle income country!
https://www.imf.org/en/countries/irn#countrydata
https://www.imf.org/en/countries/aus
by dcreater | 2026-01-09 02:25:41+00:00
The reason web apps and electron based apps became the de facto standard was that it removed the pain of building separately for each platform. A cost that understandably devs and companies want to avoid. Many years of this phenomenon also meant that TS/JS skills are widely available in the market but C/Swift etc. are relatively rare. LLMs completely upend this status quo as they can write in whatever language you want them to and perhaps more powerfully, can rewrite any app into whatever target language you want at effectively 0 cost/time. So a dev can decide to write in Swift for mac and ask LLMs to make a Windows version and so forth.
by hayley-patton | 2026-01-09 02:25:44+00:00
This is the Lisp-2 mark-compact algorithm shuffled around [0]. The Lisp-2 algorithm doesn't need semispaces, because if you compute forwarding pointers and rewrite references before moving objects, you can compact in the one space just fine. The next field of the GC header isn't necessary as the next object will always be immediately after when bump allocating [1], and rewrite_nested doesn't need to recursively call itself, since the heap traversal will fix references in all objects anyway.

About "Since allocations are expensive due to them requiring a system interaction via syscalls" and "For this only bump allocation is an option, simply because syscalls are slow, multiple for many small objects are even slower and hot paths would explode" there's no reason that a free-list allocator has to do more syscalls than a bump allocator; any malloc under the sun is going to have at least one layer of caching before it makes a syscall for more memory. You could do a doubling scheme like with the bump allocator, or allocate a lot at a time; mimalloc for example requests segments of 4MiB from the kernel [2].

[0] It's approximately steps #1 and #3 fused together, then #2 in https://en.wikipedia.org/wiki/Mark%E2%80%93compact_algorithm...

[1] Something like for (void *object = segment->start; object < segment->end; object += size_in_words(object))

[2] https://www.microsoft.com/en-us/research/wp-content/uploads/...
by zamadatix | 2026-01-09 02:26:41+00:00
My dumb ass sat there for a good bit looking at the example in the first link thinking "How does a 30-60 Hz webcam have enough samples per cycle to know it's 77 BPM?". Then it finally clicked in my head beats per minute are indeed not to be conflated with beats per second... :).

Non-paywalled version of the second link https://archive.is/NeBzJ
by kcplate | 2026-01-09 02:27:10+00:00
Just because people are demanding outrage doesn’t mean I have to shut off my brain and go along with it. Perhaps that is the way you want to operate, and good for you—you do you—but I don’t let my emotions overwhelm me about things like this.

You and others are essentially demanding that I believe a crafted narrative here and get all pissed off about it. It’s not a narrative that appears to supported by all of the confirmed information right now (and newsflash, I am not buying every detail the government is peddling either). I have seen a few comments on here purporting some “facts” that now appear to be in contradiction to some witness statements (non-ice/government and are protestors) on video that have even come out today.

That is the problem with crafting a narrative…sometimes information comes out and gets in the way of the story you want to tell. Lots of things being claimed in this crafted narrative (both yours and the governments) are easily proven or disproven and I am sure will be before this issue reaches a conclusion.

Bear in mind what I initially did here was posted was an assessment of what I observed in a video and how what was present within that video will likely make it difficult to get that agent’s qualified immunity waived and explained why. I have also responded to others who are suggesting violence as a response, countering that using your vote to change is the better way to go. You have probably seen me comment that when valid laws are being enforced, that interference with that enforcement can create problems for those doing the interference. You have seen me comment that we are where we are because America voted how it voted.

I stand by all of that no matter what the eventual conclusion of this event turns out to be.
by seanmcdirmid | 2026-01-09 02:27:39+00:00
The USA can also hammer them from nearby island based airbases. It isn’t easy to just saturate them with ships. Maybe if they can make breakthru with drones. Right now their best strategy is just be exposed less by making people drive EVs instead of gasoline vehicles. It also has other benefits like getting the rest of the world off of oil, and being able to sell the cars and clean energy production needed to do that, and also cleaner air. China wins 3 way here, so it’s really a very smart choice for them, and it gives them even more money to draw on to continue building a modern military.
by lanchiii | 2026-01-09 02:28:15+00:00
I've been benchmarking Byterover CLI's Context Tree against standard Vector RAG, specifically using Gemini Flash on a ~1,300 file codebase.

The consensus is usually that Gemini is chaotic or lazy compared to Claude. My theory was that "context stuffing" was the main cause, causing context dilution.

Byterover moves the retrieval logic client-side: it builds a dependency tree locally (AST-based) and prunes irrelevant files before sending the prompt. This contrasts with Vector RAG, which often retrieves the wrong Auth implementation files in my tests.

The Result: With the Context Tree cleaning the window, Gemini Flash stopped hallucinating imports and outperformed Claude 3.5 Sonnet on the "Refactor Auth Controller" task.

The post includes the full benchmarks and reproduction steps.
by dredmorbius | 2026-01-09 02:28:33+00:00
I'm describing the system as I understand it. (I'm not a mod, or a founder, just a long-time participant in HN and observer of it, as well as numerous other fora over the past 40-odd years.)

The Minnesota ICE murder story has had multiple submissions and discussion. The Palantir-founder tweet-based story only one AFAIU. HN deprecates repeated discussion of a given topic.

(Dang and other mods discuss this point often.)

Again, I'm describing HN's dynamics, and how to intervene effectively should you care to do so. I'm not defending it, though I'll grudgingly admit it works pretty well much of the time. Politics (of virtually any stripe or national focus) tends to be far more failure-prone, however.
Show HN: Executable Markdown files with Unix pipes
by jedwhite | 2026-01-09 02:29:12+00:00
I wanted to run markdown files like shell scripts. So I built an open source tool that lets you use a shebang to pipe them through Claude Code with full stdin/stdout support.

task.md:

#!/usr/bin/env claude-run

Analyze this codebase and summarize the architecture.

Then:

chmod +x task.md

./task.md

These aren't just prompts. Claude Code has tool use, so a markdown file can run shell commands, write scripts, read files, make API calls. The prompt orchestrates everything.

A script that runs your tests and reports results (`run_tests.md`):

#!/usr/bin/env claude-run --permission-mode bypassPermissions

Run ./test/run_tests.sh and summarize what passed and failed.

Because stdin/stdout work like any Unix program, you can chain them:

cat data.json | ./analyze.md > results.txt

git log -10 | ./summarize.md

./generate.md | ./review.md > final.txt

Or mix them with traditional shell scripts:

for f in logs/\*.txt; do

cat "$f" | ./analyze.md >> summary.txt

done

This replaced a lot of Python glue code for us. Tasks that needed LLM orchestration libraries are now markdown files composed with standard Unix tools. Composable as building blocks, runnable as cron jobs, etc.

One thing we didn't expect is that these are more auditable (and shareable) than shell scripts. Install scripts like `curl -fsSL https://bun.com/install | bash` could become:

`curl -fsSL https://bun.com/install.md | claude-run`

Where install.md says something like "Detect my OS and architecture, download the right binary from GitHub releases, extract to ~/.local/bin, update my shell config." A normal human can actually read and verify that.

The (really cool) executable markdown idea and auditability examples are from Pete Koomen (@koomen on X). As Pete says: "Markdown feels increasingly important in a way I'm not sure most people have wrapped their heads around yet."

We implemented it and added Unix pipe semantics. Currently works with Claude Code - hoping to support other AI coding tools too. You can also route scripts through different cloud providers (AWS Bedrock, etc.) if you want separate billing for automated jobs.

GitHub: https://github.com/andisearch/claude-switcher

What workflows would you use this for?
by contingencies | 2026-01-09 02:29:41+00:00
If you don’t like the way your data is used to train AI models, you can’t currently move your data to a non-AI service while still contributing to and using iNat data, even if such a service existed. But you should be able to do that.

100x yes! I was disgusted to learn that while the very non-profit status iNaturalist enjoys demands that they share their output, the organization thinks keeping its models secret is legitimate. https://github.com/inaturalist/inatVisionAPI No, it isn't. I am a big contributor to iNaturalist and will be sharing my concerns at the next local meeting. I tried to raise the question through the forums and was censored.

Frankly, it seems to me that iNaturalist is to open science as Android is to open source. That is to say in name only, not in spirit, because "legalese" and "market position" and "lack of enforcement". Not surprised to learn Google's money is assisting with corrupting them.

If you contribute to iNaturalist, COMPLAIN. If you want to start a class action, count me in.
by xethos | 2026-01-09 02:31:37+00:00
The point about de-Google'd Android vs your insistence on GrapheneOS is that by the time you are using Google's libraries, like Maps, Play Services, or their notification service (Firebase, IIRC), you've already lost. GrapheneOS is not dramatically better than de-Google'd Android if you're still sending all your notifications through Google, as well as your location and things like contacts

The point is you have to leave Google with both for it to do much good
by xethos | 2026-01-09 02:34:08+00:00
Then you're going to take it home for >8 hours per day, and to your job several hours per day, and likely call at least one or two of your important contacts. At which point that's the ball game - the pool of people that live in the immediate vicinity of your building, and work in the immediate vicinity of your job site, and call your partner / parents / kid, is made up of pretty well exclusively you
by ebbi | 2026-01-09 02:35:08+00:00
Exactly. It's usually the Zionist sources themselves that are unabashedly genocidal and supportive of ethnic cleansing.

More recent example is Bari Weiss, who wrote in 2021:

"The results of this mess, as always, are especially bad for the Palestinians who live under Hamas rule. Casualty reports are hard to verify because Hamas controls the media (even the international press) inside the Gaza Strip, but it appears that more than 50 Palestinians have been killed. Some of these people are entirely innocent non-combatants, including children. This is an unspeakable tragedy. It is also one of the unavoidable burdens of political power, of Zionism's dream turned into the reality of self-determination."

So according to Bari Weiss, the mass slaughter of children is one of Zionism's political responsibilities of power.
by mannanj | 2026-01-09 02:35:44+00:00
So I got excited and used Replit because I heard about it in a Diary of a Ceo podcast. Spent days working on my project, it was working in their unique tech stack and when I did local git commits it locked some files and conflicted with their replit agent also doing git operations and got stuck in a loop where the fix was to do a git reset --hard and reset the state.

Unfortunately their tooling locks me out from doing that and I wouldn't get help from their team after asking twice and getting moved to several different support members of their team. They just ghosted me and so I left and took my business elsewhere. Doesn't seem like it was made for advanced users.

Unfortunate.
by compounding_it | 2026-01-09 02:36:22+00:00
The one thing I’d love to have is repairable Bose headphones. I’ve used different ones but Bose with proper EQ settings are extremely good. The comfort levels on those is exceptional. In my entire life I’ve never seen headphones this comfortable. But once the battery wears out getting it repaired seems to include soldering. Should’ve been easily swappable. Also their Bluetooth can be finicky. One more area that needs improvement.