News for hackers. Stuff that matters.

graphitout

Re:Claude Code is a vibe-coded mess. Some of it is good on Friday April 10, 2026 @12:39PM (#47720639)
For a chatbot like claude code, since the instruction prompt part (including descriptions of tools) is relatively constant for multiple users and over a long time, a lot of optimizations can be made. Even basic prompt caching gives a lot of speed and cost reduction.
We are not there yet. A bit too optimistic for today. May be in 1 year.

I added types to a python codebase (50k) using claude code and it still took some effort to make mypy happy.

Re:OpenRouter: Free Models Router on Sunday February 15, 2026 @10:38AM (#47024523)
Very nice. Just the thing I was looking for.
Re:Show HN: Vilberta: speech to speech/text chatbot on Sunday February 15, 2026 @03:40AM (#47022069)
Yes. Most of the MCP based search lookup now happens over the text stage.

voicevoyage.io looks interesting. Will keep an eye.

Re:OpenAI accuses DeepSeek of "free-riding" on American R&D on Saturday February 14, 2026 @01:35AM (#47012197)
Quite funny to see that coming from OpenAI. Nevertheless, how can they prove that?
What is the strategy to deal with pay-as-you-go services used in vibe coded apps? I am always worried about the risk of some bad loop consuming thousands of dollars in a day.
Re:Voxtral Realtime 4B Pure C Implementation on Saturday February 07, 2026 @05:27AM (#46922752)
Very interesting. The moment I saw the repo I looked for a python reference implementation and found:

https://github.com/antirez/voxtral.c/blob/main/python_simple...

Thanks a lot! Let me see if I can get it to work with pure numpy while keeping the input audio part streaming.

Re:Claude Code Is the Inflection Point on Saturday February 07, 2026 @05:19AM (#46922717)
Claude gave me $50 yesterday with the release of opus4.6 and I burned my session quota + $30 yesterday itself. The code changes were very reasonable.

It is good for handling all code changes where there are no security aspects involved.

The RAG was setup on a bunch of documents, most of them were manuals containing steps about measurements, troubleshooting, and replacing components of industrial machines.

The issue was that most of these steps were long (above 512 tokens). So the typical chunk window wouldn't capture the full steps. We added a tool calling capability by which LLM can request nearby chunks of a given chunk. This worked well in practice, but burned more $$.

Re:Ask HN: Who's Looking for Funding? on Thursday February 05, 2026 @08:24AM (#46899377)
I do not follow. Could you clarify please? Who is going to fund and what is the criteria they are using?
optimal chunk size is strongly query-dependent - very true.

Faced similar issues. Ended up adding a agentic tool call layer on the top to retrieve the nearby chunks to handle a case where a relevant answer was only partially available in a chunk (like a 7 step instruction in which only 4 were available in a chunk). It worked ok.

Nice visualization. Would be nice to also see state variables (like stack or queue) along with the graph.

Show HN: Vilberta: speech to speech/text chatbot

https://github.com/charstorm/vilberta

Vilberta is a speech-to-speech/text chatbot using a pipeline that combines voice acivity detector (VAD), speech recognition (ASR), a large language model (LLM), tool calling (via MCP) and text-to-speech (TTS). This is a standard pipeline. Initially, I was going for a more noval approach where a multi-modal LLM handled both speech recognition and LLM. But I found that the multimodal LLM...

( Read More... | 2 comments | on HN )

Show HN: Vibe coded React based flashcard app

https://github.com/charstorm/repeatrom

I wanted to test vibecoding in a less familiar territory. I have never worked with ReactJS and have limited experience with TypeScript. Therefore, trying out a small frontend-only application seemed like a good choice.I have a Claude subscription, so I went with Claude Code. Always wanted to create a flashcard application with my own ideas.Learning so far:- Use whatever chatbot...

( Read More... | no comments | 2 points | on HN )
Re:Show HN: A web-app to explore topics using LLM on Wednesday December 27, 2023 @10:05AM (#38782628)
You are right.

- llm_generate() - this is the core function which calls ollama API

- get_related() - this will give a sequence of related topics for a given topic and description

- llm_get_aspect_query() - this is tricky. The interface has a fixed set of aspects for every response. Like history, related ideas, people etc. I wanted a way to create new query based on an existing query and a given aspect. This func does the rephrasing of the query.

- App.vue: handle_related() - there is a tiny bit here. When going to another "suggested" topic, it seems we have to give it some context.

Re:The effects of grounding (earthing) on inflammation on Tuesday December 26, 2023 @08:16AM (#38771500)
Very interesting. Eight healthy subjects used for testing. I am guessing that the effect is not limited to humans alone. Shouldn't it be easier to do a larger study on animals?

Show HN: A web-app to explore topics using LLM

https://github.com/charstorm/llmbinge

Lately, I've been tinkering with llama.cpp and the ollama server. The speed of these tools caught my attention, even on my modest 4060 setup. I was quite impressed with the generation quality of models like Mistral.But I was a bit unhappy at the same time because whenever I explore a topic, there is a lot of typing involved when using the chat interface. So I needed a tool to not only give a...

( Read More... | 3 comments | 2 points | on HN )
Re:Show HN: I made a autograd library for complex numbers on Friday December 15, 2023 @06:22AM (#38653056)
Is there an example NNET to see how it is used?
First focus on inference. It is a lot costlier to have GPUs for inference.
Re:Show HN: Koelsynth – a simple FM synthesis library on Sunday November 12, 2023 @07:55AM (#38239695)
Additive synthesis was a pain to configure. I had to model and estimate the behavior of each harmonic. It was too much effort.

Subtractive synthesis didn't work that well for me either. I believe my implementation of the variable cut off lowpass filter had something to do with it.

FM Synthesis worked reasonably well without much effort. Implementation was rather straightforward.

Re:Show HN: Koelsynth – a simple FM synthesis library on Sunday November 12, 2023 @07:10AM (#38239475)
You are right.

I needed that image to explain the parameters in the ADSR configuration I used in the project. Mainly the slevel1 and slevel2 which captures the slow decay during sustain. Most ADSR diagrams show sustain as a constant which didn't really sound that natural when I tested for my projects.

Re:Show HN: Koelsynth – a simple FM synthesis library on Sunday November 12, 2023 @07:03AM (#38239447)
Sure. Audio files generated have no license. Do whatever with it.

Only the code has license, but I have no intention to enforce it.

I am playing gooberdash now.

Re:Show HN: Koelsynth – a simple FM synthesis library on Sunday November 12, 2023 @06:59AM (#38239429)
I had some fun with the strings in the karplus-stress-tester. Thank you for that link.

I am thinking of moving the core to WASM. But I may have to drop the python part and make the calls directly from javascript.

Glicol looks impressive. I will try it out.

Show HN: Koelsynth – a simple FM synthesis library

https://github.com/charstorm/koelsynth

This is part of my journey on pybind11. I wrote a tiny FM Synthesis library in C++ and a Python wrapper for that using pybind11.There is a command-line piano app in the examples directory if you want to play with it. Here is the link: https://github.com/charstorm/koelsynth/tree/main/examples/si...My next target is to attach this to some kind of physics simulation - like a bunch of balls moving...

( Read More... | 22 comments | 2 points | on HN )
I like the tool. Is there a way to make the app move to the middle. Currently all the content appears on the left side.
Re:Show HN: Generate Knowledge Graphs with LLMs on Friday October 20, 2023 @03:45AM (#37953373)
I will try it out. It looks straightforward.

For UI, I used a tiny tool I wrote: https://github.com/charstorm/linkitall/

It is the same in software development as well. I would rather take review comments from an automated AI system than from my colleagues.
Re:Link shortener with 50% odds of Rick Rolling on Thursday October 19, 2023 @02:19PM (#37946514)
Thanks. This will come very useful.
Re:Show HN: free studio quality noise reduction for music on Thursday October 19, 2023 @09:32AM (#37942643)
I did a quick test. It worked well.

Is there also a way to remove lip & mouth sounds?

Re:Show HN: Generate Knowledge Graphs with LLMs on Thursday October 19, 2023 @09:05AM (#37942342)
This is very interesting. I am working on a similar project related to generating dependency graphs (basically only type of connection is A depends on B). I tried to get the common chatbots to generate the data in the form of dependencies, but I didn't have much luck.

Example graph (hand written): https://charstorm.github.io/class-11-12-india/class11/maths/...

Older »