MurphyA/hacker-news huggingface dataset:
by whizzter | 2025-12-27 09:29:04+00:00
I doubt he would, goto heavy code really jumped all over the place in incomprehensible manners. Labelled break/goto is used in perhaps 1% of loops due to actually implementing some algorithm that would've needed extra flags,etc. and EVEN THEN don't break the scoped readability.

There's a huge difference between reining in real world chaos vs theoretical inelagancies (ESPECIALLY if fixing that would introduce other complexity to work around the lack of it).
by int_19h | 2025-12-27 09:29:07+00:00
For what LangChain does, yes, handrolled code. There won't be much of it because it doesn't actually do all that much.

As for "import openai", that's actually somewhat orthogonal, but if what you want is a common API for different providers then there are many options around that do just that. But then again at that point you probably also want something like OpenRouter, which has its own generic API.
by Terr_ | 2025-12-27 09:29:09+00:00
As pessimistic about it as I am, I do think LLMs have a place in helping people turn their text description into formal directives. (Search terms, command-line, SQL, etc.)

... Provided that the user sees what's being made for them and can confirm it and (hopefully) learn the target "language."

Tutor, not a do-for-you assistant.
by watwut | 2025-12-27 09:29:10+00:00
> Sam and Frodo walk across the plain towards Mt. Doom. They're both really tired.

This does not set a mood and thus does not convey the same information. This removes the information about mood and setting away while keeping only rough plot point in.

The outcome in terms of how reader interpret the situation is massively different. The thing you wrote implies that all they need is to go to sleep an hour sooner and rest, all will be fine.
by chychiu | 2025-12-27 09:29:20+00:00
I think the product was just too early for its time, and there is not much demand for it.
For what it's worth, the founder (Ren Ng) went back to academia, and was highly instrumental in computer vision research, e.g. being the PI on the paper for NeRF: (https://dl.acm.org/doi/abs/10.1145/3503250)
by webdevver | 2025-12-27 09:29:58+00:00
i am quietly waiting for the "bitter lesson" to hit compilers: a large language model that speaks in LLVM IR tokens that takes unoptimized IR from the frontend, and spits out an optimized version that works better than any "classical" compiler.

the only thing that might stand in the way is a dependence on reproducibility, but it seems like a weak argument: We already have a long history of people trying to push build reproducibility, and for better or worse they never got traction.

same story with LTO and PGO: I can't think of anyone other than browser and compiler people who are using either (and even they took a long time before they started using them). judged to be more effort than its worth i guess.
by dwattttt | 2025-12-27 09:32:04+00:00
In the abstract, it's the inverse of the argument that "configuration formats should be programming languages"; the more general something can be, the less you can assume about it.

A way to express the operations you want, without unintentionally expressing operations you don't want, would be much easier to auto-vectorise. I'm not familiar enough with SIMD to give examples, but if a transformation would preserve the operations you want, but observably be different to what you coded, I assume it's not eligible (unless you enable flags that allow a compiler to perform optimisations that produce code that's not quite what you wrote).
by godelski | 2025-12-27 09:33:00+00:00
I have plenty of responses to an angry comment I made several months ago that supports your point.

I made a slight at Word taking like 10 seconds to start and some people came back saying it only takes 2, as if that still isn't 2s too long.

Then again, look at how Microsoft is handling slow File Explorer speeds...

https://news.ycombinator.com/item?id=44944352
by f1shy | 2025-12-27 09:33:16+00:00
I have explained it already in other comments, but let me break it down for you again:

The “liability”, “scrutiny”, “regulation” only generate “cover your ass” measures, bureaucracy, red tape, costs, and hardly any real measure to increase quality or safety. My work is in such a critical mission systems company, and they don’t give a shit about safety, just are interested in coming out clean or not waste too much money in settlement with dead people relatives.

> but good luck convincing a court that your family deserves restitution for you installing a random script you found on the internet into your insulin pump.

And good luck fighting a Pharma corporation for whatever did wrong. BTW, you bring the CPAP topic. Maybe you can read this at leisure [1] in this case, because it was a huge scandal, they pay. But 90% of the time, they don’t. And even if this case, with legal cost deducted, and divided by all people, is not a real compensation (spoiler alert: it never ever is!).

Please note in this case they DID KNOW about the issue, and did nothing. So much for liability and scrutiny.

[1] https://www.drugwatch.com/philips-cpap/lawsuits/
by dllu | 2025-12-27 09:34:15+00:00
When converting video to gif, I always use palettegen, e.g.

ffmpeg -i input.mp4 -filter_complex "fps=15,scale=640:-2:flags=lanczos,split[a][b];[a]palettegen=reserve_transparent=off[p];[b][p]paletteuse=dither=sierra2_4a" -loop 0 output.gif

See also: this blog post from 10 years ago [1]

[1] https://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html
by moffkalast | 2025-12-27 09:34:17+00:00
I agree. A programmer has to take responsibility for the generated code they push, and so do police officers for the reports they file. Using a keyboard does not absolve you of typos, it's your responsibility to proofread and correct, this is no different, just a lot more advanced.

Of course the problem is also that police often operates without any real oversight and covers up more misconduct than workers in an under-rug sweeping factory. But that's another issue.
by beilabs | 2025-12-27 09:34:43+00:00
I really enjoyed Leaders Eat Last and Careless People.

2025 brought me to:

The Mom Test - Rob Fitzpatrick

Leaders Eat Last - Simon Sinek

A Knight of the Seven Kingdoms

The Time Machine - H.G. Wells

What They Don’t Teach You at Harvard Business School - Mark McCormack

The Promise of a Pencil: How an Ordinary Person Can Create Extraordinary Change - Adam Braun

Neuromancer - William Gibson

Blood of Elves - Andrzej Sapkowski

We Were Eight Years In Power - Ta-Nehisi Coates

Mort - Terry Pratchett

I’m Glad My Mom Died - Jennette McCurdy

The Dark Tower: The Gunslinger - Stephen King

American Gods - Neil Gaiman

The Boy’s in the Boat - Daniel James Brown

Can’t Hurt Me - David Goggins

Rocket Fuel: The One Essential Combination That Will Get You More of What You Want from Your Business - Gino Wickman

Source Code - Bill Gates

Mythos - Stephen Fry

Educated - Tara Westover

Leaving Microsoft to Change the World - John Wood

Careless People: A Cautionary Tale of Power, Greed, and Lost Idealism is a memoir - Sarah Wynn-Williams

Hail Mary - Andy Weir

Slaughterhouse-Five - Kurt Vonnegut

The War of the Worlds - H. G. Wells

Do Androids Dream of Electric Sheep? - Phipip K. Dick

The Blade Itself - Joe Abercrombie
by mft_ | 2025-12-27 09:35:23+00:00
> Also, that video is really making me want to get an OP-1 haha.

From experience, I get you. There are many videos on the internet that do the same.

I bought one and found it... a little constraining for my taste. My observation was that most of the music creation was 'live' (i.e. you had to play something perfectly, to time, and record that) and for what is fundamentally a computer, it has very limited 'sequencing' ability. Also, a lot of the cutesy interface ideas that are so charming on someone else's video grate over time. Luckily I bought mine second-hand and the residuals on these things are insane, so I made a marginal profit reselling it.

All I'd say is that before pulling the trigger, do some research (YouTube reviews especially) on the term "groove box" - there are many, that come with different abilities, strengths, and weaknesses. The OP-1 is cool but limited, and comes with the Teenage Engineering price tag.
by adrian_b | 2025-12-27 09:35:25+00:00
A long term calorie restriction that is so great has a few beneficial effects, i.e. a lower risk of cancer and a good probability of a longer life, but only if you live in very sheltered conditions, e.g. when being a lab rat or mouse or when having servants who would do everything for you.

However there are significant undesirable effects, caused by a reduced muscular mass and adipose tissue. You would become one of the weak and frail old people, who easily fall and break some limb. The resistance to any infectious diseases is also likely to be very weak.

Unfortunately, many choices that you could do about your lifestyle have both advantages and disadvantages, so it may be difficult or impossible to find an optimum. Few decisions are simple, like the decision that smoking is bad.

Someone with a sedentary lifestyle would need to eat around 1200 to 1300 kcal daily to achieve such a calorie restriction, e.g. 2 meals per day of around 600 kcal each. Of this amount of calories per day, around 400 kcal should come from protein, around 350 kcal from fat and around 450 to 550 kcal from starch. It is feasible, but it may be difficult to not be hungry between meals. Sweets would have to be mostly excluded, as they would prevent satiety and they would cause hunger soon after a meal. Protein would have to be provided mostly by pure sources, e.g. chicken/turkey breast, gelatin or protein powders, to avoid extra calories.
by bitsignal | 2025-12-27 09:36:15+00:00
I appreciate this insightful article on Hyperliquid. It's important that people are informed about the potential risks associated with this Exchange.

When the Hyperliquid decentralized exchange launched, I was intrigued and decided to test it out. Here’s a summary of my experience:

1. Initial Transaction: I made a test transaction, which unfortunately got stuck in the process.

2. Support Interaction: I contacted customer support regarding the issue. A few hours later, the swap successfully went through.

3. Follow-Up Questions: I had some follow-up questions about the platform’s operations:

- How can it be labeled as an automated decentralized exchange if moderators can interfere with transactions?

- Why is the source code of the DEX kept private?

4. Response from Support: The support team explained that they keep the source code private to maintain a competitive edge.

This experience raised concerns about the true decentralization and automation of the exchange. I am not sure why Coinmarketcap & Coingecko label Hyperliquid as a DEX.
The power of box dimension attacks on the Epstein files
by fusionlove | 2025-12-27 09:37:37+00:00
A box dimension attack involves finding possible likely strings that would fit exactly under a redaction box.

The constraints are the number of characters, variable kerning, and any spacing or line break decisions made by the word processing software.

Use of a variable-width font massively prunes the search space, since far fewer strings will match redaction box length pixel-perfectly.

Suggesting matching solutions requires a forward model of the string to pixel transformation, and a probabilistic model assigning probabilities to redacted strings. The forward model requires domain knowledge of the word processing software's kerning and layout process. It should also take into account the redaction process (do boxes exactly cover redacted text and is there noise in their lengths?). The probabilistic model looks at the known text and predicts the redacted text. A transformer (large language model, with or without contextual fine-tuning) would be perfect for this.

If we guess some redactions and use them to predict other redactions, we have another huge search space problem, but it is highly parallelisable. However, evaluating the joint probability of matches across multiple redactions greatly reduces the probability of false matches, making any discovered solutions more convincing.

This requires some programming, however as far as I can see it has not been implemented in the public domain. I would imagine that well-resourced intelligence organisations have already had access to approaches like this for some years, and that black boxes will soon be seen as an ineffective approach to redaction.

https://www.schneier.com/blog/archives/2024/03/using-llms-to-unredact-text.html

https://arxiv.org/pdf/2206.02285
Show HN: One Minute News: Your Minimalist Anti-Clickbait News Platform
by zfoong | 2025-12-27 09:38:43+00:00
This is a minimalist news digest site that helps readers understand the biggest news happening around the world in one minute.

We work on this as a side project. So why are we doing this? Welp, I myself am a clickbait hater. Sometimes I click into a news story on Facebook just to find out the content is nothing as the title suggests. Born from pure hatred, we have created One Minute News to make sure every headline literally says what the content is about. This helps readers save tons of time filtering out unimportant news just by scanning through the honest headlines.

So far, here are the current features One Minute News is offering:
- Rewrite clickbait headlines into honest, straightforward, and literal titles.
- Filter out unimportant news.
- Rank news importance with a rubric-based, time-decayed scoring system
- Allow readers to filter news with preferred tags.
- Compile periodic digests/briefings that summarize high-scoring articles every 6 hours.
- Display the source link back to the original article.
- Bookmark news.
- Saved preferred tags.

Please let me know if there are any future features you want to see.

For now, we only have the website version and 0 experience in journalism. If you want to be a part of this anti-clickbait adventure too, let me know.
Show HN: Doculearn – How much of your Gen-AI code do you understand?
by williamai_ | 2025-12-27 09:38:52+00:00
Hey HN,

I built Doculearn after watching my team (and myself) ship faster than ever with Claude, Cursor, and Copilot—but understand less and less of what we were actually deploying.

The vibe coding problem:

We'd accept a 200-line AI suggestion, tests pass, PR approved, merged. Two weeks later: "Wait, how does this authentication flow work again?" No one knew. The person who approved it just trusted the AI. The person who merged it moved on to the next feature.

Sound familiar?

What Doculearn does:

It watches your GitHub activity and automatically generates flashcards from YOUR code. Not generic "what is a closure?" cards—actual flashcards about the authentication middleware you merged yesterday, the API endpoint you refactored, the algorithm you copy-pasted from Claude.
When you push code, Doculearn:

Generates spaced-repetition flashcards from your commits

Updates your team board automatically (no more manual Jira)

Creates "Context Cards" that surface when you're working on related code

Sends daily/weekly LogLetters showing what everyone shipped

Why this matters in the AI era:

You can ship 10x faster with AI. But if you don't understand
what you shipped, you can't:

Debug it when it breaks at 2am
Extend it for the next feature
Explain it in code review
Onboard new teammates

We're optimizing for velocity at the cost of understanding.

Doculearn tries to bridge that gap.

How it works:

Connect your GitHub repo
Doculearn analyzes commits, PRs, code changes
Azure AI agents generate personalized flashcards
Review cards in your workflow (web, mobile, CLI coming)
Team stays synced on what everyone actually knows

The stack:

Next.js + Django on Azure Container Apps
Azure AI Foundry for flashcard generation
GitHub Apps for real-time monitoring
PostgreSQL for persistence

Current features:

AI-generated flashcards from commits
Context Cards (study while you build)
Auto-updating team/work boards
Bug tracker with AI-suggested fixes
LogLetters (changelogs from GitHub)
Social login (GitHub, LinkedIn, X, Microsoft)

Things I'm wondering:

Do you find yourself shipping code you don't fully understand?

How do you currently retain knowledge about your codebase?
Would flashcards feel like homework or helpful?
Is "team knowledge sync" a problem you experience?

Try it: doculearnapp.com – Live now with 7-day free trial

I've been testing this with early teams for the past month.

The most common feedback: "I didn't realize how much I forgot until the flashcards reminded me."

Would love HN's feedback. Is this solving a real problem or am I overthinking the vibe coding phenomenon?
by zwnow | 2025-12-27 09:39:29+00:00
Unfortunately, publishing work in my region requires me to dox myself through an imprint.

Usually this only applies to business related websites, but lawyers could even argue a personal blog is business related due to the possibility existing for me to advertise products.

So yea, while I would love to share my work publicly, its simply not feasible due to medieval laws in place.
by riedel | 2025-12-27 09:39:34+00:00
Yes. Allowing officers to blame AI creates a major accountability gap. Per e.g. the EU AI Act’s logic, if a human "edits" a draft, they must be held responsible and do not need to disclose the use of AI.

To ensure safety, those offerings must use premarket red teaming to eliminate biases in summarization. However, ethical safety also requires post-market monitoring, which is impossible if logs aren't preserved. Rather than focusing on individual cases, I think, we must demand systemic oversight in general and access for independent research (not only focussing on a specific technology)
by chrisjj | 2025-12-27 09:40:14+00:00
They are the same problem, since the actions are saying.

"AI-generated messages making commitments no one explicitly approved. Refunds implied. Discounts promised. Renewals renegotiated."

And if you can't block bad advice, you have a bigger problem since you cannot block resultant contractual action by the recipient e.g. termination.
by jacquesm | 2025-12-27 09:40:36+00:00
Oh! I only worked with it commercially prior to that so I never got the memo. What an insanely stupid move. That was one of their USPs.

In general QnX was commercially mismanaged and technically excellent. I'm imagining a world where they clued in early on that an open source real time OS would have run circles around the rest of the offerings and they'd have cleaned up on commercial licensing. Since the 80's they've steadily lost mind and marketshare though I suspect they'll always be around in some form.
by abelitoo | 2025-12-27 09:41:33+00:00
I'd do the same thing I'd do with anyone that has a different opinion than me: try my best to have an honest and open discussion with them to understand their point of view and get to the heart of why they believe said thing, without forcefully tearing apart their beliefs. A core part of that process is avoiding saying anything that could cause them to feel shame for believing something that I don't, even if I truly believe they are wrong, and just doing what I can to earnestly hear them out. The optional thing afterwards, if they seem open to it, is express my own beliefs in a way that's palatable and easily understood. Basically explain it in a language they understand, and in a way that we can think about and understand and discuss together, not taking offense to any attempts at questioning or poking holes in my beliefs because that is the discovery process imo for trying something new.

Online is a little trickier because you don't know if they're a dog. Well, now a days it's even harder, because they could also not have a fully developed frontal lobe, or worse, they could be a bot, troll, or both.
by Ferret7446 | 2025-12-27 09:41:45+00:00
In my experience pre-commit hooks are most often used to generate a starting commit message.

To put it more bluntly, pre-commit hooks are pre-commit hooks, exactly what it says on the tin. Not linting hooks or checking hooks or content filters. Depending on what exactly you want to do, they may or may not be the best tool for the job.

To put it even more bluntly, if you are trying to enforce proper formatting, pre-commit hooks are absolutely the wrong tool for the job, as hooks are trivially bypassable, and not shared when cloning a repo, by design.
by jacquesm | 2025-12-27 09:43:30+00:00
Show me another OS that you can undress to the kernel, a console, a file system and a disk driver and then build it all up again without missing a beat.

The kernel processes are actual processes so each of the drivers is fully sandboxed, an error in one bit of code can not cause any other processes to be affected unless you explicitly declare that it should be so (shared memory, for instance) and of course you don't do that.

The reduction of scope alone is worth at least 30 IQ points.

Absolutely rock solid. I built some specialized network devices using QnX and those things ran for a decade+ after first installation. Not a single reboot.
by msylvest | 2025-12-27 09:46:36+00:00
Some of all this gold is still on display in Spain. Earlier this year my wife and I visited Granada in southern Spain. Vast amounts, truely impressive, of gold are exposed in its Cathedral and in the burial place of Emperor Karl (Charles/Carlos) and his wife, Isabella. Alhambra is still the #1 sight there but if you can spare the time, do visit these two places. They are co-located in central Granada.
by exidy | 2025-12-27 09:47:58+00:00
It’s a broad subject. You have the existence of the Philippines itself, which is the only majority Christian nation in Asia, and given it passed from Spain to the USA, this influences everything from US force projection in the Pacific to the prevalence of BPO outsourcing to the sectarian conflicts in Mindanao.

More directly from the trade itself and the silver it brought permanently altered the demographics, flora and fauna of the region. Southern Chinese traders migrated in greater numbers throughout the region, new world fruits and vegetables such as sweet potato and pineapple are introduced. Chinese merchants in the region are producing Christian religious art for export back to the old world, giving rise to a unique hybrid artistic style.[0] The region as a whole becomes more attractive for the Dutch and the British, which had its own set of downstream consequences …

I’m sorry I don’t have a single source that pulls this all together, you would probably need to pick an area and start reading!

[0] https://artsandculture.google.com/story/ivories-from-macau-a...
by wvbdmp | 2025-12-27 09:48:39+00:00
Is some kind of smear campaign against Torvalds going on? For some reason I’ve been seeing a lot of this old stuff make the rounds. This one is actually quite harsh (the “moron” bit) and I don’t particularly agree with the hard-wrapping, but I detest the indignation and moral panic that invariably follows… I also detested it back then, but it’s especially disgusting now that he’s mellowed out a bit.
by JohnLocke4 | 2025-12-27 09:48:52+00:00
I think the obvious thing to do here is to say "Always bet on symbolics".

What separates text from images is that text is symbolic while images are visceral or feelings based. In the same way, text comes in short when it comes to the feeling you get when seeing an image. Try to put in to text what you feel when you look at Norman Rockwell's Freedom of Speech or a crappy 0.5MB picture of your daughter taken on an iPhone 3. Hard isn't it? Visual and symbolic are not isomorphic systems.

Examples of symbolic systems like text are sheet music and Feynman diagrams. You would be hard pressed if you tried to convey even 2KB of sheet music in a book
by sixhobbits | 2025-12-27 09:49:13+00:00
Thanks! Would be interesting to compare with a looser approach, I use shorter prompts that take me a few seconds to write and it's also built some impressive stuff for me, I've mainly been using claude code and a bit of Gemini/Amp/Droid so I'll add Codex to the mix this week. So far I don't really feel the difference much between tool or model.