MurphyA/hacker-news huggingface dataset:
Show HN: Our command line tool to transpile AI Inference from Python to C++
by olokobayusuf | 2026-01-29 16:39:36+00:00
Hey all! We're a small (semi-stealth) team that's been working on a tool to rewrite AI inference code from Python to C++ (similar to llama.cpp, whisper.cpp, and so on). Today, we're launching `muna transpile`.

It takes a Python function and generates a self-contained, header-only C++ library and a corresponding CMakeLists.txt file. It pulls in required libraries automatically (e.g. llama.cpp, onnxruntime, mlx, and so on). You can then use it to build and ship an application or library.

Try it yourself on Kokoro TTS:
```
$ pip install muna
$ muna transpile https://github.com/muna-ai/muna-predictors/blob/main/text-to... --trust-remote-code --install-deps
$ cd cpp && cmake -B build && cmake --build build
$ ./kokoro_tts --text "Hello Hacker News!" --voice af
```

The command above will transpile our Kokoro sample from Python to C++, compile it, and run the example (which uses the generated header-only lib).

Taking a step back: on-device AI is becoming a hot topic, but we think the dominant thought of cloud vs. on-device is misguided. If you look deeper, you'll realize that the key is portability. ggerganov proved this by building llama.cpp, which developers have deployed on everything from Blackwell GPUs to raspberry pi. The first step is always creating a bare-metal, hardware-optimized C/C++ implementation. `muna transpile` automates this for anything you can fit into a Python function.

Note that this is free and freely-usable: your Python source code goes in, it's still your source code when it comes out (just converted to C++). We're working on building more stuff on top of this (e.g. choosing where inference runs in one line of code; and agent skills that run AI models locally), so we're using this as an opportunity to expand support for different kinds of AI models / Python functions.

Try it out and lmk what you think.
by kranner | 2026-01-29 16:39:48+00:00
Similar story here but for ADHD and Atomoxetine.

I finally went and got diagnosed at age 46 for what had been an childhood-onset issue in retrospect. All the signs were there: inability to start work until enough challenge or novelty or a state of crisis had come about, etc. When I spoke to friends about considering treatment, they said they thought of me as a hyperfocus kind of person. But they didn't see how many support systems I had put in place to function normally, how I saw others around me just doing things while I had to work myself up to start and then keep checking and double-checking for the silly inattentive mistakes I knew from experience I would keep making.

I've had a meditation practice for a long time and it has helped with anxiety but it hasn't really helped with getting started on tasks, especially those perceived as boring. I even had to psych myself up to sit down and start meditating, even though I knew I would enjoy it.

I didn't know until a year or two ago that non-stimulant medication existed to treat ADHD. I always thought it was only Adderall and the like, and I couldn't risk anything that would ramp my anxiety up, or take additional treatment for the anxiety with SSRIs because I have severe hemophilia and any additional risk of bleeding from SSRIs was an untenable proposition.

After sitting on the idea for some time and just hoping that I could fix it with more meditation, I finally decided to see a psychiatrist. The doctor suggested Atomoxetine, but said it doesn't work for most people and even then takes 3-4 weeks to take full effect. I started on the absurdly low dose of 10mg/day for the first month to be sure it wouldn't cause additional bleeds. By day 3 I could see a huge improvement in my working memory and ability to perform tasks. It gave me insomnia for a bit but I would wake up at 3 AM, sit down happily to work and write the best code I've written in years. I could not believe the difference it made. There were quite a few side effects initially but I was willing to put up with them because of how smoothly my brain was functioning. I became a nicer person to deal with. I felt this sense of possibility and freedom that I haven't felt since my 20s. My only regret is not having done this sooner.

So yeah, please don't avoid medication based on internet reading.
by ibejoeb | 2026-01-29 16:39:49+00:00
Agreed, but this is about to be a special case if it's not already. We're contending with compulsory digital IDs and cashless economies that must be used on authorized devices, and Apple is one of the two makers. While it's certainly not necessary to use Patreon, not having it or something like it is an actual barrier to individual trade. I don't think I can get behind a schema that means Apple can take whatever portion it wants from a transaction initiated on a device that it creates and that is otherwise fairly necessary for day-to-day life in the developed world.
by maxglute | 2026-01-29 16:39:52+00:00
"Credible" critics (as in least noncredible) i.e. YiFuxian undercount in <10% range, which comports with bureaucratic incentive to overcount before digitization when head count hard to track.

>perhaps by 100's of millions

More than 10%, i.e. PRC actually only 800m-1000m (20-30% undercount) is when claims become statistically retarded. There's proxy indicators like PRC ag imports, especially animal feed (soybeans), if they were 100s of millions short then per capita caloric consumption reach biologically impossible levels (like 200 grams of protein / 5000 calories per capita) meanwhile key policy CCP (Xi personally) hammers is food security / wastage. This when demographic skepticism becomes unhinged.

TBH PRC over reporting pop, UNDER reporting GDP is sensible. PRC entire history has been trying to underreport GDP (specifically per capita gdp) using accounting methods to stay under high income status for development perks, literally since initial IMF negotiations to set PRC per capita baseline, PRC insisted on something like 50% lower than what IMF calculated. Of course the anti PRC faction won't accept the logical out come is that PRC that is much richer it claims, with less people than it claims, i.e. PRC per capita much higher than it claims only makes PRC system look stronger. Then factor in demographic income disparity (i.e. tertiary educated newer gen make multiples more) and realize as PRC demo phases out undereducated/unproductive elders in next few generations and PRC per capita is statistically locked into doubling/tripling. Then factor in PPP / potential future FX moves, i.e. PRC appreciating rmb is another multiplier on PRC per capita. Not many "honest" economist talks about how PRC is actually incentivized to look statistically weak (somehow people forgot about hide/bide when it comes to economy), because muh authoritarians like to look strong, leading to plenty of PRC doomer economists who keep being wrong.
by 542354234235 | 2026-01-29 16:40:04+00:00
As much as I want to assume this is a trolling response, I'll pretend it is in good faith. The person you replied to is not speaking about nebulous dangers of "the patriarchy". They are talking about the risk of being verbally harassed, or physically/sexually assaulted by the driver during or directly after the ride.

https://www.wctv.tv/2026/01/14/rideshare-driver-arrested-aft...

https://www.wkrn.com/news/local-news/nashville/woman-shares-...
by Bayart | 2026-01-29 16:40:13+00:00
I've been telling myself that for has long as 3D-printing has been consumer tech (about 20 years ?) and now it's shifted to "I'll borrow one my friends' printers if needs be".

In truth every time an issue fit for 3D printing has come up in my life, I solved it easily with wood and cardboard. I'm starting to recognize I might be a craftsman at heart.
by butlike | 2026-01-29 16:40:28+00:00
I didn't read their comment as insinuating libido is 1:1 to hyper-sexuality. I read it as: "consider if you have a libido, and depression, you may also be hyper sexually."

The situation is PersonA has determined they need an anti-depressant. So one thing is 'wrong.' It stands to reason that they may be using sex as a painkilling mechanism. After all, sex feels great. When the anti-depressant kicks in, the body may determine it doesn't have to use that painkilling method anymore, hence, the decreased libido. It doesn't mean having a libido is bad, it means that the person potentially was overdriving it.
by pixl97 | 2026-01-29 16:40:35+00:00
There are a few particular problems with this, and that is you're thinking like a first worlder.

What we consider developing nations can quite often just go without these items. Economies in these countries can have rapid swings that cause massive changes in consumption. Shortages of medicines in one year can massively increase child deaths in the first year, where as the next 5 years don't have an issue with that.

With the last one, maybe there is a tik-tok trend that makes beans popular for a year, and then it dies out and half as many beans are consumed. This also isn't counting the average calorie consumption in a country. 10 cans of beans in the US might feed 20-30 people in another country when supplemented from locally grown items.

Shit's hard, yo.
by finalkk | 2026-01-29 16:41:05+00:00
Hi HN,

I’ve spent the last 3 months building Kandle because I was frustrated with the status quo of ML on the Web.

Currently, if you want to run models in the browser, you’re mostly stuck with ONNX Runtime or WebLLM. They are incredible for production, but they are "Blackboxes." You have almost zero control over the intermediate tensors, and implementing custom logic or hooks between layers is a nightmare.

I missed the "PyTorch vibe"—the transparency and the flexibility of Eager Mode. While TensorFlow.js exists, its API has always felt "off" for those of us coming from the Torch ecosystem.

So I built Kandle from scratch. It’s a Web-native ML framework designed to bring the true PyTorch experience to JavaScript/TypeScript:

* Deeply aligned with PyTorch’s ATen/c10 architecture: I’ve implemented a complete tensor system with stride mechanisms, broadcasting, and zero-copy view operations like transpose, permute, and slice.

* Whitebox Framework: Unlike static graph engines, Kandle is Eager Mode. You can pause execution at any layer, inspect every tensor, and register forward hooks.

* Ecosystem: It includes 200+ operators, a full nn.Module system, and partial torchaudio functionality for complex pre-processing.

* Native Safetensor support: Load weights directly without painful conversions.

It’s still in the early stages (Autograd is coming next!), but the forward pass is stable enough to run models like Qwen3 and Whisper.

Interactive Demo: http://kandle-demo.vercel.app

I built a "Logit Lens" and "Attention Link" visualizer in the demo to show the unique advantage of using a whitebox framework for model interpretability in the browser. You can literally see the model's "thoughts" evolve through each layer.

Note for the Demo: Since quantization is not yet implemented, the demo currently only supports the original Qwen3-0.6B pre-trained weights in bf16 format (model.safetensors).

GitHub: https://github.com/final-kk/kandle

I’m really curious to hear what you think. Does the JS ecosystem need a "Torch standard" API, or is the current "Inference-only" path enough?
by trimbo | 2026-01-29 16:42:20+00:00
In 2008, the app store was launching, and physical software was still sold at Targets, Walmarts and other large retailers. A 30% margin was roughly what retailers would make off of physical software sales. By setting the App Store to be the same, Apple was signaling to retailers that they were not trying to undercut their margin, and keep a healthy relationship with them.
by palmotea | 2026-01-29 16:42:21+00:00
> It’s incredible how some engineers assume they understand economics, then proceed to fail on some of its most basic premises. This tends to happen when engineering-style certainty is applied to systems that are driven by incentives and uncertainty.

Software engineers are stupid, often because they think they are very smart (which breeds arrogance). And on top of that, they often have many biases that they often fail to account for (e.g. a preference for neat-and tidy-systems, leading them to get seduced by oversimple neat-and-tidy explanations, e.g. Econ 101).
Launch HN: AgentMail (YC S25) – An API that gives agents their own email inboxes
by Haakam21 | 2026-01-29 16:42:33+00:00
Hey HN, we're Haakam, Michael, and Adi. We're building AgentMail (https://agentmail.to), the email inbox API for agents. We’re not talking about AI for your email, this is email for your AI.

Email is an optimal interface for long-running agents. It’s multithreaded and asynchronous with full support for rich text and files. It’s a universal protocol with identity and authentication built in. Moreover, a lot of workflow critical context already lives in email.

We wanted to build email agents that you can forward your work to and get back a completed task. The agents could act entirely autonomously as you wouldn't need to delegate your identity. If they did get stuck they could just send you, or anyone else, an email.

Using Gmail, we kept getting stuck on the limitations of their API. No way to create inboxes programmatically. Rate and sending limits. OAuth for every single inbox. Keyword search that doesn't understand context. Per-seat pricing that doesn't work for agents.

So we built what we wished existed: an email provider for developers. APIs for creating inboxes and configuring domains. Email parsing and threading. Text extraction from attachments. Realtime webhooks and websockets. Semantic search across inboxes. Usage-based pricing that works for agents.

Developers, startups, and enterprises are already deploying email agents with AgentMail. Agents that convert conversations and documents into structured data. Agents that source quotes, negotiate prices, and get the best deals. Agents that emulate internet users for training models on end-to-end tasks.

Here's demo of Clawdbots communicating using AgentMail: https://youtu.be/Y0MfUWS3LKQ

You can get started with AgentMail for free at https://agentmail.to

Looking forward to hearing your thoughts and feedback.
by rootnod3 | 2026-01-29 16:43:01+00:00
Sorry what?

"You can't measure my Cloud Service's performance correctly if my servers are overloaded"?

"Oh, you just measured me at bad times each day. On only 50 different queries."

So, what does that mean? I have to pick specific times during the day for Claude to code better?

Does Claude Code have office hours basically?
by wolvoleo | 2026-01-29 16:43:13+00:00
Interesting. It will also cause geopolitical changes because lithium is a rare earth mineral. And Sodium is obviously abundant.

This sounds still very academic though and be aware that these things take time to industrialise. Also sometimes it doesn't pan out in the end.

The fire hazard might be reduced but of course any battery storing so much energy in a small place has some kind of hazard. Hopefully the runaway fire providing its own oxygen is solved here though, this is the main reason it's so hard to put the lithium battery fires out.
by Arnt | 2026-01-29 16:43:56+00:00
If you pay someone 3x for work/service/product, x is the price and 2x is what you pay to encourage them to make/do the things instead of the people who could/would do it for x.

However, you're not paying 3x. I assume you're not really paying anything notably higher than x, right? So the encouragement is nearly zero.
by jaredcwhite | 2026-01-29 16:44:44+00:00
> You’ve built a space that looks like focus but feels like depletion. And you’ve been blaming yourself for the fatigue. The room is the problem. Not you.

I see this kind of weird pacing and dumb "it's not X, it's Y" stuff ALL the time with slop posts on LinkedIn. Classic LLM tells.
by abeppu | 2026-01-29 16:45:04+00:00
It is a mess. I've spent some time trying to convert some academic oss projects and some removed features really force large redesigns.
I think rather than funding the stuff on this announcement, I wish they would fund a team of experts to work on migration of a prioritized list of projects. This would both provide example patterns of migrating substantial projects and unblock projects who have been saying "we would like to try migrating but library X we use still hasn't"
by keepamovin | 2026-01-29 16:45:10+00:00
Yes, these are technically RSA numbers (they are semiprimes ie, product of two prime numbers). However, they are much smaller. THe game lets you set the size (and the radix!) but due to the "hardness" of "RSA // factoring semiprimes" you will not be able to progress beyond the easier levels.

Oh well... Too bad! But still a lot of fun and an interesting visual representation of a multiplication, carry adder circruit.
by bjourne | 2026-01-29 16:45:44+00:00
> I won the SSRI lottery I guess, the side effect are sweaty feet, vivid dreams and a dry mouth. That's all.

Yes, you did. Had the same medication and got tremors and stiffness so bad I thought I had early-onset Parkinson. Could hardly unlock the door without dropping the keys five or six times. Fortunately, it ceased when I stopped the SSRI.
by stared | 2026-01-29 16:45:54+00:00
Nope, these are no random dice rolls.
Some times are solved each run, a few - occasionally (so here would be meaningful to try a few times - and metrics of pass@1 and pass@3 would be different), but most are never solved.

See e.g.:
https://quesma.com/benchmarks/otel/models/claude-opus-4.5/
by jeyjeyemem | 2026-01-29 16:46:25+00:00
Definitely! There's no limit on what configuration formats Externalized Properties can support as you can implement custom `Resolver`s to retrieve from any source and format e.g.

public class PklResolver implements Resolver {
public Optional<String> resolve(InvocationContext context, String propertyName) {
return getFromPklConfig(propertyName);
}
}

// Register custom resolver when building ExternalizedProperties

ExternalizedProperties externalizedProperties = ExternalizedProperties.builder()
.resolvers(new PklResolver(...))
.builder();

AppProperties appProperties = externalizedProperties.initialize(AppProperties.class);

// Resolves config from PklResolver

String myConfig = appProperties.myConfig();
by Noaidi | 2026-01-29 16:46:26+00:00
Yes. Made me manic. You know we make niacin in our own bodies, from tryptophan, down the kynurenine pathway. Sine many of the enzymes that are in this pathway need B6 and B2, being low in these may lower endogenous niacin in the body.

https://www.researchgate.net/publication/353319033/figure/fi...

Many people I know, when tested, were low in B6. That is more important to me than niacin.
by lysace | 2026-01-29 16:46:29+00:00
https://en.wikipedia.org/wiki/Madhu_Gottumukkala

He was the 'CTO' of South Dakota and later the CIO/Commissioner of the South Dakota Bureau of Information and Telecommunications under governor Kristi Noem.

Edit: From a European perspective it seems like the southern states took over the US establishment. Correct/incorrect?
Show HN: Argus-seal – Forensic-ready log integrity using Merkle Trees
by gamer-null | 2026-01-29 16:46:44+00:00
I built Argus-seal because standard log hashing (like SHA256 on a flat file) makes it impossible to pinpoint which specific entry was tampered with in a massive dataset.

It uses a Merkle Tree structure to "seal" log batches. The core value-add is the "Strict Mode" verification: it doesn't just return a boolean, but traverses the tree to identify the exact index of the compromised log entry in O(N *log N) time.

Key Technical Highlights:

- Deterministic Canonicalization: Ensures that JSON/Dict entries produce identical hashes regardless of key ordering.

- Granular Diagnostics: Pinpoint specific tampered leaves without re-hashing the entire historical log.

- Lightweight & FOSS: Zero-dependency Python implementation designed for easy integration.I’m looking for feedback on the tree traversal logic and whether this approach satisfies real-world compliance (SOC2/HIPAA) requirements.

I'd love to hear your thoughts or "roasts" on the implementation!

GitHub: https://github.com/gamer-null/argus-seal
by Ericson2314 | 2026-01-29 16:46:44+00:00
Jon has showed me this before, and I'm very exited!

Multiple kernels, one filesystem is the dream. We'll restore competition between kernels by lowering switching costs to zilch, finally solving the problem in the infamous Rob Pike paper (which is that the switching costs make the path dependency of "just keep working on the same legacy-constrained OS" too powerful).

FreeBSD is just the first non-Linux kernel to be done this way --- OpenBSD has been NixOS-ified too (a bit bitrotted atm though) too. Your favorite kernel can be NixOS-ified too!
by vindin | 2026-01-29 16:46:47+00:00
Heartbreaking. They were a pioneer and laid the foundation for countless artists over the last 20 years. Especially in the early 2010s, their products like Massive played a key role in shaping what modern electronic music would eventually sound like. Ever since they got acquired and merged with izotope, they’ve been spiraling. Another textbook example of how private equity destroys innovative companies.
by fsloth | 2026-01-29 16:46:54+00:00
Their blog post about this subject is really good https://www.ondsel.com/blog/goodbye/

They chose maybe one of the toughest imaginable combinations for a business model. Viable open source businesses are hard (since you don’t own your ip in closed form, hard to explain to investors what the actual value is). 3D businesses are hard.

So it’s hard x hard.

Clearly their _tech_ worked. I guess there is a lesson here - better mousetrap is almost never enough for a viable business.
by htek | 2026-01-29 16:46:56+00:00
The problem with antidepressants are that while we know, more or less, what they do, we don't know why they work for some and not for others. Escitalopram (Lexapro) was a vast improvement for me over Citalopram. Then it plateaued and a year later, left me anhedonic. Tried an SNRI that would give me brain zaps every day a few hours before my next dose and it was horrendous to quit using. It also messed with my ability to meditate for a long while. Basically, I could put myself in a mental state that would trigger the same kind of painful brain zaps that withdrawal from the SNRI caused.
by Shocka1 | 2026-01-29 16:47:02+00:00
Of course things can change and I wholeheartedly agree with you. If a plan goes bad you adapt and overcome. Also, I've experienced being poor and lived in warzones/slept in terrible places, which gave me a very positive look at life in the USA. No need to worry about me as I assure you I'll be good either way.

Life is actually very good here and there is a lot of mobility if you have even a small amount of motivation. I feel like I'm preaching to the choir here though jacquesm - if I recall correctly (I'm not going to look at your comment history), I feel like I read once that you come from a family of first gen immigrants that experienced conditions similar to what I did when I was younger, and I would love to hear more about their/your perspective on being in a place like the USA and the opportunities it did/didn't bring.
by mothballed | 2026-01-29 16:47:16+00:00
OK so you import less American stuff. While still wanting to export the stuff you made to America.

So now you're tied up to Trump even more than before. Because you either traded your goods for US investments, or just pieces of paper that only continue to be worth something insofar as the US doesn't bungle their economic and geopolitical policies. Because those are the primary alternatives to settling the trade by getting goods/services back.

Why wouldn't you want to cash out and actually get stuff back from the US for the stuff you make for them, if you think the US is headed south? It's not like you're exporting to the US as a charity.