Hacker Newsnew | past | comments | ask | show | jobs | submit | gmassman's commentslogin

Usually these were the developers who said their code didn’t need tests because it’s obviously correct/too simple to need them. And then their bug causes a crash that needs to be fixed over the weekend :/


I guess the joke is you can scale a file system or a fish, but can only tune a file system?


Tuna is a type of fish so the joke is that they sound the same.


There was also the record You Can Tune a Piano, but You Can't Tuna Fish by REO Speedwagon, I had assumed that's what the tunefs man page was referencing as that was a best-selling record at around the time Unix was being developed.


Yes. It had been a popular joke in the US, I believe about a generation before. (Probably the joke came in around the same time as canned tuna.)


Very exciting! Congrats on the release, this will be a huge benefit to all folks building RAG/rerank systems on top of Postgres. Looking forward to testing it out myself.


If you have the indexing built into postgresql, you can do some pretty nifty things inside of postgres. One thing that comes to mind is doing reciprocal rank fusion as part of a complex query. RRF is a popular strategy for implementing hybrid lexical and vector search. It simply reranks the results in both result sets based on the position of results in both lists. If vector search and lexical search (BM25 or otherwise) produce the same result in a high place, it gets ranked higher. Results missing from one or the other rank lower. Etc.

It's also a great way to combine fuzzy search with stricter phrase or term matching. As opposed to fiddling with boosts or otherwise trying to combine results.

Elastic has a decent explanation of how RRF works.

https://www.elastic.co/docs/reference/elasticsearch/rest-api...

Simple enough that you can just hack this into a select statement. Or do some easy post processing.

My own querylight-ts library implements bm25, vector search, rrf and more for in browser search. I've been experimenting with that in the last few weeks. Very effective if you want to add a bit more advanced search to your website. Having decent bm25 indexing in postgresql opens a lot of new possibilities. They already had vector search and trigram support. And of course traditional wild card based matching, normalization functions, etc. Bm25 adds a big missing piece.

There's still value to having your search index separated from your main datastore. What you query is not necessarily what you store. That's why people have ETL pipelines to extract, transform (crucial) and load. Even if your search index is going to be postgresql, you might want to think about how to pump data around and what happens when you change your mind about how you want to query and index your data. Migrating your single source of truth is probably going to be an anti pattern there. Honestly, ETL is the one thing I see a lot of companies architect wrong when they consult me on how to improve/fix their search solutions. Classic probing question "When is the last time you reindexed your data?". If the answer is "a long time ago", they have no effective ETL capability basically. That's usually the first problem to sort out with clients like that. Even if it's just a separate table in the same DB, how you rebuild that is crucial to experimenting with new querying and indexing strategies.


This is pretty much my case right now. BM25 is so useful in many cases and having with with postgres is neat!


Seems like an anti-pattern to me to run AI models without user’s consent.


? The whole idea of a coding assistant is to send all your interactions with the program to the llm model.


To the provider you select in the UI, I agree. But OpenCode automatically sends prompts to their free "Zen" proxy, even without choosing it in the UI.

Imagine someone using it at work, where they are only allowed to use a GitHub Copilot Business subscription (which is supported in OpenCode). Now they have sent proprietary code to a third party, and don't even know they're doing it.


This is exactly me considering what I might have leaked to god knows who via grok. I was hyped by opencode but now I’m thinking of alternatives. A huge red flag… at best irresponsible?


I’ve been using a zenbook for about 8 years now. Hardware and battery are still surprisingly solid, although one of the hinges is starting to fail…


Fiction can reveal a lot of real wisdom if you’re open to receiving it.


I’ve been migrating our services off of Azure slowly for the past couple of years. The last internet facing things remaining are a static assets bucket and an analytics VM running Matomo. Working with Front Door has been an abysmal experience, and today was the push I needed to finally migrate our assets to Cloudflare.

I feel pretty justified in my previous decisions to move away from Azure. Using it feels like building on quicksand…


All the clouds hav had major outages this year.

At this point I dont believe that any one of them is any better or reliable than the others.


> I feel pretty justified in my previous decisions to move away from Azure

I felt this way about AWS last week


Never let a good disaster go to waste ;)


The BEAM is an amazing piece of technology. It’s built to scale massive concurrent systems and has great developer ergonomics. I’ve used it with Elixir and it’s really a breath of fresh air as far as running a webserver goes. Much more flexible and simpler to manage than a python or nodejs runtime, and also capable of scaling up with far fewer resources than you would think. Highly recommend giving it a go!


My band is playing a small bluegrass festival this weekend. We’ve been recording an album since last year and are starting the work of promoting it by playing more gigs!


Would we consider the calculator useful if it sometimes told us 2+2=22? Would this at all be considered a sign of creativity or abstract thought?


LLMs are a calculator for language, but not for reasoning.

When you realize that language and reasoning are in fact two separate skills, only one of which an LLMs is good at, they make much more sense.

Until now, language skill and reasoning skill have been correlated - people with greater skill using language are usually better skilled at reasoning. Put another way, we typically discount poorly written material regardless of it's actual content.

LLMs turn this on its head - great at language, poor at reasoning. So the crutch, the heuristic, we used before no longer applies. We MUST recognize that language ability and reasoning ability are now independent.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: