News for hackers. Stuff that matters.

jonathan-adly

Do you know what NPS is? That's how the comment started. Patients like it. Because the alternative is to stay on hold for 20+ minutes, and then get it wrong. (Or have no pharmacies except Optum's and Express Scripts).

Good for you - I want in the ICU delivering care during COVID as a frontline clinician. You don't get to pull this line.

https://www.healthaffairs.org/doi/abs/10.1377/hlthaff.2024.0...

Of the 88,930 retail pharmacies operating during 2010–20, 29.4 percent had closed by 2021.

Very much clueless commentary. Retail pharmacies in the US are dying dozens a day. They don't have margin to support people answering the phone like tech companies with 80% margin do. Welcome to the real world where it is survival for these pharmacies not greed or shareholder value.

They literally lose money filling your branded prescription even with no labor baked in. We are their lifeline.

I know because I am not some spoiled tech worker who stumbled into this industry. I ran these pharmacies for over a decade before ever writing a line of code.

NPS typically improves because no one stays on hold for 20+ mins anymore.

People have no ideas have pharmacies work. Pharmacies don't control how much they pay for drug, or how much they get paid. The margins are terrible and you can't hire enough techs to answer the phone at peak call volume. So - most people experience are terrible as they wait on hold for a really long time.

EVEN if the AI is a little rough around the edges with relational calls, just solving for transactional calls with no hold is a massive win.

So - I run a company that does AI agents for pharmacy. We are at Series B now and growing well - series C in 9-12 months given growth. We just acquired a competitor of that vendor so very much an insider.

First, The technology works, and it scales, but the whole bottleneck is domain expertise and implementation. These are expensive, and hard to scale. We hire pharmacists as project managers, that's how important domain expertise and implementations are.

Second, the amount of noise of "Voice AI for <industry>" is incredible. Most of them are completely clueless about the industry & basically "YC-striver" type who can only sell to other yc companies. They fail hard the moment they touch critical functions of the real world.

We have hundreds of pharmacies with us now and they mostly successful and happy. Our biggest friction is customers being burned by vendors like this and writing off AI altogether as "not ready".

Re:Anthropic's Hidden Vercel Competitor "Antspace" on Wednesday March 18, 2026 @10:22PM (#47434038)
I can’t believe this has 1 point, and buried.

This is great find, very juicy, and would kill a few hot startups.

Re:Are OpenAI and Anthropic Losing Money on Inference? on Thursday August 28, 2025 @09:24AM (#45051872)
Basically- the same math as modern automated manufacturing. Super expensive and complex build-out - then a money printer once running and optimized.

I know there is lots of bearish sentiments here. Lots of people correctly point out that this is not the same math as FAANG products - then they make the jump that it must be bad.

But - my guess is these companies end up with margins better than Tesla (modern manufacturer), but less than 80%-90% of "pure" software. Somewhere in the middle, which is still pretty good.

Also - once the Nvidia monopoly gets broken, the initial build out becomes a lot cheaper as well.

Re:Malleable Software Will Eat the SaaS World on Wednesday August 27, 2025 @10:23AM (#45040149)
We have been running this playbook for the last 2 years in healthcare, and we have been super successful. Doubling every quarter over the last year. 70%+ profitability, almost 7 figures of revenue. 100% bootstrapped.

People are still mentally locked in to the world where code was expensive. Code now is extremely cheap. And if it is cheap, then it makes sense that every customer gets their own.

Before - we built factories to give people heavy machinery. Now, we run a 3d printer.

Everyday I thank SV product-led growth cargo cults for telling, sometimes even forcing our competition to not go there.

Re:Locality of Behaviour (2020) on Thursday July 03, 2025 @12:34PM (#44456773)
One of the most pleasant experiences I had writing code, is early AI days when we did hyperscript SSE. Super locality of behavior, super interesting way of writing Server Sent Events code.

eventsource demo from http://server/demo

    on message as string
        put it into #div
    end

    on open
        log "connection opened."
    end

    on close
        log "connection closed."
    end

    on error
        log "handle error here..."
    end
end https://hyperscript.org/features/event-source/
Re:How did Soham Parekh get so many jobs? on Wednesday July 02, 2025 @05:38PM (#44449129)
Lots of YC companies copy each other process and selection criteria. Basically- they all have the same blind spots and look for the same type of engineer.

So, super easy to scam all of them with the same skillset and mannerism.

Re:The Grug Brained Developer (2022) on Tuesday June 17, 2025 @06:34PM (#44304715)
I send this article as part of onboarding for all new devs we hire. It is super great to keep a fast growing team from falling into the typical cycle of more people, more complexity.
The “equivalent” here would be Jina-Clip (architecture-wise), not necessarily performance.

The ColPali paper(1) does a good job explaining why you don’t really want to directly use vision embeddings; and how you are much better off optimizing for RAG with a ColPali like setup. Basically, it is not optimized for textual understanding, it works if you are searching for the word bird; and images of birds. But doesn’t work well to pull a document where it’s a paper about birds.

1. https://arxiv.org/abs/2407.01449

So, there is a whole world with vision based RAG/search.

We have a good open-source repo here with a ColPali implementation: https://github.com/tjmlabs/ColiVara

Great work! Honestly it helps so much just explaining these metrics for folks.

Early on RAG was an art, now when things are stabilized a bit, it’s more of a science - and vendors should at a minimum have some benchmarks.

Re:Nvidia-Ingest: Multi-modal data extraction on Friday January 10, 2025 @03:52PM (#42660057)
I would like to through our project in the ring. We use ColQwen2 over a ColPali implementation. Basically, search & extract pipeline: https://docs.colivara.com/guide/markdown

Show HN: ColPali as an API

https://github.com/tjmlabs/ColiVara

Hi HN,We recently launched ColiVara - a state of the art RAG API that is based on vision LLMs with a state of art performance on both text-heavy documents and visually-complex pages.It outperforms OCR-based pipelines by up to 30%+ on public benchmarks Benchmark Comparison ChartWe thought it might be of interest to you. If you're looking/exploring or know others who are we'd love for you to try...

( Read More... | no comments | on HN )
Here is a nice use-case. Put this in a pharmacy - have people hit a button, and ask questions about over-the-counter medications.

Really - any physical place where people are easily overwhelmed, have something like that would be really nice.

With some work - you can probably even run RAG on the questions and answer esoteric things like where the food court in an airport or the ATM in a hotel.

Re:Hybrid search vs. Token pooling benchmarking on Friday December 06, 2024 @08:59AM (#42339846)
Hi HN!

We benchmarked two ways to improve the latency in RAG workflows with a multi-vector setup. Hybrid search using Postgres native capabilities and a relatively new method of token pooling. Token pooling unlocked up to 70% faster latency with <1% performance cost.

Re:VectorChord: Store 400k Vectors for $1 in PostgreSQL on Thursday December 05, 2024 @09:55AM (#42328776)
So - the synthetic QAs datasets in the Vidore datasets are exactly like that 90% text, 10% charts/tables. OCR + BM25 is at ~90% NCDG@5 which is pretty decent. ColPali/Ours is at ~98%.

It is a small upgrade, but one nonetheless. The complexity, and the cost of multi-vectors *might* not make this worth it, really depends on how accuracy-critical the task is.

For example, one of our customers who does this over FDA monographs, which is like 95%+ text, and 5% tables - they misses were extremely painful - even though there weren't that many in text-based pipelines. So, the migrations made sense to them.

Re:VectorChord: Store 400k Vectors for $1 in PostgreSQL on Thursday December 05, 2024 @09:18AM (#42328440)
I would like to throw our project in the ring that solves this problem: https://github.com/tjmlabs/ColiVara

1. Uses half-vecs, so you cut down everything by half with no recall loss 2. Uses token pooling with hierarchial clustering at 3, so, you further cut down things by 2/3rd with <1% loss 3. Everything is on Postgres and pgvector, so you can do all the Postgres stuff and decrease corpus size by document metadata filtering 4. We have a 5000+ pages corpus in production with <3 seconds latency. 5. We benchmark against the Vidore leaderboard, and very near SOTA

You can read about half-vecs here: https://jkatz05.com/post/postgres/pgvector-scalar-binary-qua...

Hierarchical token pooling: https://www.answer.ai/posts/colbert-pooling.html

And how we implemented them here: https://blog.colivara.com/

I will do it - you are right. Lots of materials in the space is basically people selling their complex tools w/ learning as a lower priority
I would strongly advise against people learning based on LangChain.

It is abstraction hell, and will set you back thousands of engineers hours the moment you want to do something differently.

RAG is actually very simple thing to do; just too much VC money in the space & complexity merchants.

Best way to learn is outside of notebooks (the hard parts of RAG is all around the actual product), and use as little frameworks as possible.

My preferred stack is a FastAPI/numpy/redis. Simple as pie. You can swap redis for pgVector/Postgres when ready for the next complexity step.

I would check out vision models as a technique to go around OCR errors.

ColPali is the standard implementation & SOTA. Much better than OCR. We maintain a ready to go retrieval API that implements this: https://github.com/tjmlabs/ColiVara

Show HN: Using VLLMs for RAG – skip the fragile OCR

https://github.com/tjmlabs/ColiVara

Hi HNWe wanted to show Colivara! It is a suite of services that allows you to store, search, and retrieve documents based on their visual embeddings and understanding.ColiVara has state of the art retrieval performance on both *text* and visual documents, offering superior multimodal understanding and control.It is a api-first implementation of the ColPali paper using ColQwen2 as the vLLM...

( Read More... | no comments | 2 points | on HN )
Re:Async Django in Production on Saturday November 23, 2024 @07:40PM (#42225089)
We have traditionally used Django in all our projects. We believe it is one of the most underrated, beautifully designed, rock solid framework out there.

However, if we are to be honest, the history of async usage in Django wasn't very impressive. You could argue that for most products, you don’t really need async. It was just an extra layer of complexity without any significant practical benefit.

Over the last couple of years, AI use-cases have changed that perception. Many AI products have calling external APIs over the network as their bottleneck. This makes the complexity from async Python worth considering. FastAPI with its intuitive async usage and simplicity have risen to be the default API/web layer for AI projects.

I wrote about using async Django in a relatively complex AI open source project here: https://jonathanadly.com/is-async-django-ready-for-prime-tim...

tldr: Async django is ready! there is a couple of gotcha's here and there, but there should be no performance loss when using async Django instead of FastAPI for the same tasks. Django's built-in features greatly simplify and enhance the developer experience.

So - go ahead and use async Django in your next project. It should be a lot smoother that it was a year or even six months ago.

If you are interested in that space, would throw our project in the mix which uses ColPali under the hood transparently.

https://github.com/tjmlabs/ColiVara

The main benchmark for this is the Vidore leaderboard. Where we would love to see where VoyageAI performs compared to the more open-source implementations.

Older »