Better HN
topnewbestaskshowjobs
Log inSign up

arunmu

50 karma · joined Mar 22, 2016 (10y ago) · 48 submissions

Submissions

comment 5d ago · link · parent

Haha..yes. It appears I can't edit anymore. I am 15 years experienced as a systems and distributed systems engineer. But last 2 years I am more focussing on designing solutions for non tech domains using AI to get the solutions out as well as understand and learn these new domains.

comment 5d ago · link · parent

> -- it means that nobody actually understands the codebase and therefore nobody can actually debug the code when things break

As a 15 year old veteren in the systems programming space I have to disagree. You do not have to understand the codebase. You need to know the expectations and the invariants. Testing is also not the same as before, knowing how the system is supposed to behave is more than sufficient for 90 to 95 percent of the jobs. What you absolutely just cannot do is to not understand the design of the code that the AI writes, and still have instructions to make sure all the best practices in software and db design you have learn all along the way which too is readily available nowadays. A proper agentic workflow can do wonders in this regard.

Yes the code written are bloated but not necessarily runtime inefficient, but that's what most of the software jobs are about.

comment 1mo ago · link · parent

Thanks. I wish you had gone into more details on why recall was bad and what scale etc so that current users could also identify their issues. Also, it seems the new index is memory based and does not scale on machines with lower memory by being built on disk data structure ?

comment 1mo ago · link · parent

Didn't these guys also write pgvectorscale which seems to be unmaintained now ? Why a new index instead of adding onto or improving pgvectorscale?

comment 5mo ago · link · parent

Were you using it for simple grep search or actually required advanced searching for eg: BM25. Clickhouse will only help you with grep like search from what I understand.

comment 1y ago · link · parent

There is pgvectorscale from timescale which uses disk ann based data structure and has support for pre and post filtering.

comment 1y ago · link · parent

Thanks. We are already using timescale postgres image for pgvectorscale with some customizations on tsvector and GIN indexes. Would be nice to have bm25 as well. Any specific reason why this was not made open source from the get go or is it the usual phased approach by Timescale (now Tigerdata)? If not, it is a worrying signal as the same could happen with pgvectorscale development as well.

Anyways really appreciate the free offerings by timescale. Really makes things easy.

comment 1y ago · link · parent

I would very much like it if it was opensourced like pgvectorscale and timescale extension itself

9.

BM25 Search in Postgres(tigerdata.com ↗)

5 points · by arunmu · 1y ago · 4 comments

comment 1y ago · link · parent

I am a big fan of cloudflare blogs. The tech blogs are usually highly detailed and there is so much to learn from those.

But this one, interesting but was not a practical choice at all from what I gather reading the blog. The reason given for not using Clickhouse which they are already using for analytics was vague and ambiguous. Clickhouse does support JSON which can be re-written into a more structured table using MV. Aggregation and other performance tuning steps are bread and butter of using Clickhouse.

The decision to go with postgres and learn the already known limitations the hard way and then continue using it by bringing up a new technology (Timescale) does not sound good, assuming that Cloudflare at this point might already have lots of internal tools for monitoring clickhouse clusters.

11.

TimescaleDB helped us scale analytics and reporting(blog.cloudflare.com ↗)

4 points · by arunmu · 1y ago · 2 comments

comment 2y ago · link · parent

Thanks. I would have preferred to use Go instead of Python, but somehow the language is not picking up a lot in terms of new LLM frameworks.

As of now, I am using very light weight abstractions over prompts in python and that gets the job done. But, it is way too early and I can see how pipelining multiple LLM calls would need a good library that is not too complex and involved. In the end it is just a API call and you hope for the best result :)

comment 2y ago · link · parent

> No LangChain, no LangGraph, no LlamaIndex, no CrewAI

Bless you. Using these over complicated abstractions (except CrewAI which I haven't yet checked out) never made sense to me. I understand that LLM is no magic wand and there is a need to make it systematic rather than slapping prompts everywhere. But these frameworks are not the solution to it. Next I will be looking at is Microsofts semantic-kernel. Anybody has any good words for it ?

14.

How not to write an async runtime in Rust(github.com ↗)

28 points · by arunmu · 2y ago · discuss

comment 2y ago · link · parent

I wonder why not clickhouse. Cloudflare has already deployed a lot of analytics services based on CH. Would have been nice if they could provide more details on that.

16.

Cloudflare Log Explorer(blog.cloudflare.com ↗)

4 points · by arunmu · 2y ago · 1 comment

comment 4y ago · link · parent

I have been a big fan of C++ and have had used it for about 8-9 years professionally as well as for side projects. The baggage that comes with it is just not worth it. My recommendation for any new project is to go either with Go or Rust as a C++ replacement unless the environment or hardware or resource constraints does not allow you otherwise.

As an individual developer, learning and being an expert in C++ intricacies is not worth the time and effort. Instead learn more about data layout in memory, hardware, language tooling etc and write code accordingly in a much better language as per the _need_ and C++ would really only qualify for very niche requirements.

comment 4y ago · link · parent

Really disappointing post from QuestDB. I would have expected them to do some research on how to design CH table schema before doing such kind of benchmark. The queries used does not take into account the primary key/order by fields. Based on query to be optimized, once could use Projections or MV. Perhaps a bit more work is needed, but that's the clickhouse way of doing it.

comment 5y ago · link · parent

Thank you. My only nit is the way the ratio (CH/TS) is shown. What is the purpose of that ? It will show a bigger percentage for cases in which TS is better, but lower percentage for cases where CH is giving better results. From the data representation perspective, I do not thinnk that is fair.

comment 5y ago · link · parent

What is the difference w.r.t the comparison done by Altinity of clickhouse with timescale ? Clickhouse performed better there for the same test. What gives ?

comment 5y ago · link · parent

Thats awseome! Thanks for sharing.

22.

ClickHouse vs. Pinot

2 points · by arunmu · 5y ago · 3 comments

23.

A lite C++ coroutine network library – Introduction(templated-thoughts.blogspot.com ↗)

4 points · by arunmu · 8y ago · discuss

24.

Designing a kind of shared pointer in C++(templated-thoughts.blogspot.com ↗)

2 points · by arunmu · 8y ago · discuss

25.

Rust: First impressions from a C++ developer(templated-thoughts.blogspot.com ↗)

3 points · by arunmu · 8y ago · discuss

26.

Python Asyncio: Basic Task Loop and We Are Done(templated-thoughts.blogspot.com ↗)

2 points · by arunmu · 8y ago · discuss

27.

Python Futures, Executors and Tasks – An Implementation Detail(templated-thoughts.blogspot.com ↗)

1 points · by arunmu · 8y ago · discuss

28.

Python Futures, Executors and Tasks(templated-thoughts.blogspot.com ↗)

3 points · by arunmu · 8y ago · discuss

12