Better HN
topnewbestaskshowjobs
Log inSign up

j0selit0

286 karma · joined Nov 18, 2022 (4y ago) · 37 submissions

Submissions

comment 2mo ago · link · parent

I need changes I can understand and review

2.

I don't need 100s of Codex agents(lighthousenewsletter.com ↗)

2 points · by j0selit0 · 2mo ago · 1 comment

comment 3mo ago · link · parent

that makes me even more humbled :)

comment 3mo ago · link · parent

author here - apologies for it not being clear. the idea here is:

step 1: sparse index retrieval (FTS/BM25) - say with k = 10 step 2: re-rank the 10 records using embeddings

the difference in this approach is during step 2, you convert text to embeddings on the fly - when you're running the retrieval pipeline, meaning you don't need to have all of your corpus pre-embedded in a vector db

comment 3mo ago · link · parent

you would also need to maintain multiple indexes in multiple languages. I never had to do that - but I assume it's a pain

comment 3mo ago · link · parent

good one. yes, that's pretty much my experience with query rewriting as well

comment 3mo ago · link · parent

to be fully transparent, I used LLM to review my draft yes. and interestingly enough, this article had tens of thousands of more views and estimulated significantly more discussions than my other, non-LLM written articles. so there's that.

comment 3mo ago · link · parent

and for the record, my last employer was still using gpt-4o and gpt-4o mini last year. and they are an F500 (not that it means anything, just for context).

comment 3mo ago · link · parent

sorry if it came across as name dropping - the point I wanted to make is actually that F500s are chasing RAG (as in pure semantic search without any care for chunking strategies, evals etc) instead of starting with the basics.

and for the record, my last employer was still using gpt-4o and gpt-4o mini last year. and they are an F500 (not that it means anything, just for context).

comment 3mo ago · link · parent

this is quite nuanced. in financial markets you have a combination of natural language questions that involve technical keywords / slang / acronym. and for these specific terms, an off-the-shelf embeddings model fails miserably.

comment 3mo ago · link · parent

my personal experience - I have been involved with such projects for the last 2 years. interestingly enough, a lot of times such initiatives didn't take off because people/stakeholders were overcomplicating things and wanting to use semantic search for everything - without having a minimum knowledge of chunking strategies, pros/cons etc

comment 3mo ago · link · parent

I work on a really similar scenario. We ended up having to create a so-called "semantic layer" containing metadata (table and schema descriptions) and glossary terms. Still, there is a lot of work involved maintaining glossary terms since some of them are ambiguous and people have different understanding/interpretations for some of them.

13.

Spice-ts: a TypeScript-native SPICE circuit simulator(github.com ↗)

1 points · by j0selit0 · 3mo ago · discuss

14.

Performance Excuses Debunked(computerenhance.com ↗)

4 points · by j0selit0 · 3mo ago · discuss

comment 3mo ago · link · parent

I wish everyone thought like you, in my experience unfortunately it's not the case

comment 3mo ago · link · parent

author here - that's an amazing idea. would be an insanely large article though - maybe will write up a series

comment 3mo ago · link · parent

author here - thank you!

comment 3mo ago · link · parent

author here - thanks, I'm honored you would use my agents :)

comment 3mo ago · link · parent

I'm sorry is this ironic or not? doesn't sounds simple at all

comment 3mo ago · link · parent

author here. at most companies I've worked for recently (F500) RAG is still quite trendy. this was what frustrated me a bit and motivated to write this article - along with other experiences that definitely relate with some of the folks in the comments above

21.

RAG Is Simpler Than You Think(lighthousenewsletter.com ↗)

516 points · by j0selit0 · 3mo ago · 218 comments

22.

Benchmarking Agentgateway vs. LiteLLM's Rust Mode(agentgateway.dev ↗)

2 points · by j0selit0 · 3mo ago · discuss

23.

Distributed micro-LLM inference across three ESP32-S3 N16R8 boards with ESP-NOW(github.com ↗)

1 points · by j0selit0 · 3mo ago · discuss

24.

Cosine similarity is dead. Long live cosine similarity (2025)(lighthousenewsletter.com ↗)

17 points · by j0selit0 · 3mo ago · 2 comments

comment 3mo ago · link · parent

Follow-up to my previous Copilot/mitmproxy post.

While looking at the traffic I noticed Copilot’s own LLM requests used X-initiator: agent and didn’t consume premium quota. That made me curious what would happen if I changed my own requests from user to agent.

Turns out the model still responded, but those requests didn’t decrement my premium quota or show up in the billing analytics.

26.

GitHub Copilot trusted a client header for premium-request billing(lighthousenewsletter.com ↗)

3 points · by j0selit0 · 3mo ago · 1 comment

comment 3mo ago · link · parent

thanks! corrected in the article

28.

We migrated the database behind every Vercel build(vercel.com ↗)

2 points · by j0selit0 · 3mo ago · discuss

comment 3mo ago · link · parent

I was curious to understand how Copilot implements its harness, and also how I was exhausting my quota so quickly. End up going down a rabbit hole of intercepting its network traffic with mitmproxy.

A few interesting things I found along the way:

- watched model/capability discovery and routing happen in real time - looked at what gets injected into context and sent with ghost completions - found that recent edits can pull in context from files other than the one you're currently editing (including infamous .env) - found the SQLite session store behind Chronicle, including previous prompts/responses - watched the model query that history through tool calls

I then went through the VS Code source to reconcile some of what I was seeing on the wire with the actual implementation.

Overall some interesting lessons around how their harness is implemented.

12