News for hackers. Stuff that matters.
Re:Show HN: I wrote a full text search engine in Go by Copenjin on Thursday October 09, 2025 @04:03PM (#45532385)
Did you vibe code this? A few things here and there are a bit of a giveaway imho.
Re:Show HN: I wrote a full text search engine in Go by fatty_patty89 on Thursday October 09, 2025 @04:22PM (#45532631)
What makes you think so?
Re:Show HN: I wrote a full text search engine in Go by niux on Thursday October 09, 2025 @04:36PM (#45532786)
Probably the commit history.
Re:Show HN: I wrote a full text search engine in Go by novocayn on Thursday October 09, 2025 @04:42PM (#45532852)
Yayiee, the “cant prove it” Doakes Dexter meme, making it to HN
Re:Show HN: I wrote a full text search engine in Go by throwaway7783 on Thursday October 09, 2025 @09:07PM (#45534586)
You are neither confirming nor denying, why won't you just tell if you vibe-coded it or not?
Re:Show HN: I wrote a full text search engine in Go by ludicrousdispla on Friday October 10, 2025 @12:36AM (#45535404)
you posted the Dexter meme earlier, why are you acting surprised?
Re:Show HN: I wrote a full text search engine in Go by Copenjin on Friday October 10, 2025 @01:42AM (#45535657)
I wonder if I should really explain or if that would provide a list of things to sanitize before publishing stuff.

If someone has ever written any code is well aware of what can be done in a weekend and especially that no one doing something "in a weekend" will ever add all those useless comments everywhere, literally a few thousand lines of comments. That takes more time than writing code. Comments in Claude style. Other claude-isms all around.

It's ok to vibe things, but just say so, no shame.

And yes, after 5 minutes of looking around I had enough evidence to "prove it". Any moderately competent engineer could.

Re:Show HN: I wrote a full text search engine in Go by novocayn on Thursday October 09, 2025 @04:39PM (#45532810)
On my way to make a Dexter meme on this

When you think OP vibe-coded the project but can’t prove it yet

https://x.com/FG_Artist/status/1974267168855392371

Re:Show HN: I wrote a full text search engine in Go by Imustaskforhelp on Thursday October 09, 2025 @08:57PM (#45534535)
OH YES! I Love it/this meme lol!!

Dexter's memes have been popping up recently and I am loving them

I don't know who bay harbor butcher is though :sob: but I don't want spoilers, I will watch it completely some day

My friend says that he watched complete dexter just via clips lol.

Re:Show HN: I wrote a full text search engine in Go by novocayn on Thursday October 09, 2025 @10:33PM (#45534943)
ohh boy, second this :D
Re:Show HN: I wrote a full text search engine in Go by haute_cuisine on Thursday October 09, 2025 @04:52PM (#45532943)
I put Overview section from the Readme into an AI content detector and it says 92% AI. Some comment blocks inside codebase are rated as 100% AI generated.
Re:Show HN: I wrote a full text search engine in Go by novocayn on Thursday October 09, 2025 @05:06PM (#45533086)
> comment blocks inside codebase

Is vibe-commented a thing yet? :D

Wanted to give fellow readers a good on-ramp for understanding the FTS internals. Figured leaning into readability wouldn’t hurt

For me this makes the structure super easy to grok at a glance

https://github.com/wizenheimer/blaze/blob/27d6f9b3cd228f5865...

That said, totally fair read on the comments. Curious if they helped/landed the way I intended. or if a multi-part blog series would’ve worked better :)

Re:Show HN: I wrote a full text search engine in Go by haute_cuisine on Friday October 10, 2025 @04:46AM (#45536623)
Thanks for the link, very interesting data structure.

I'm wondering is it really worth dumping a general knowledge articles into code comments? To me it feels like the wrong place. Would just the wikipedia link be enough here?

I also notice a lot of comments like this

  // IsEnd checks if this is the EOF sentinel
  //
  // Example usage:
  //
  // if pos.IsEnd() {
  //     // We've reached the end, stop searching
  // }
  func (p *Position) IsEnd() bool {
      return p.Offset == EOF
  }
Is it really necessary to have a text description for a code like "a == b"? It would be really annoying to update comment section on every code change.

This is one of the typical issues when AI creates "code comments", because it always describes "What" is happening. A good comment should answer the question "Why" instead.

For the linked skip list module, a good comment could say why skip list was chosen over b-tree or other data structure and which trade offs were made. AI will never know that.

Re:Show HN: I wrote a full text search engine in Go by novocayn on Thursday October 09, 2025 @04:55PM (#45532977)
Claude: "You're absolutely right" :D
Re:Show HN: I wrote a full text search engine in Go by ge96 on Thursday October 09, 2025 @05:01PM (#45533036)
Another possible tell (not saying this is vibe coded) is when every function is documented, almost too much comments
Re:Show HN: I wrote a full text search engine in Go by novocayn on Thursday October 09, 2025 @05:09PM (#45533117)
Ohh, I thought that inline comments would make it grokkable and be a low-friction way in. Seems this didn’t land the way I intended :'

Should a multi-part blog would've been better?

Re:Show HN: I wrote a full text search engine in Go by ok_dad on Thursday October 09, 2025 @07:54PM (#45534226)
I like it, I comment exactly like you do. Comments are free, storage is plentiful, why not add comments everywhere?!
Re:Show HN: I wrote a full text search engine in Go by Shraal on Friday October 10, 2025 @06:24AM (#45537221)
Time and risk of comments/docs becoming outdated and doing more harm than good.

I'm impartial in this discussion but that's usually how the counter argument goes.

Re:Show HN: I wrote a full text search engine in Go by ok_dad on Saturday October 11, 2025 @05:30PM (#45552876)
The counter argument is bunk, you change the comments when you change the code. It’s not hard. If you forget, them a reviewer will notice. If not, then you aren’t focusing enough attention on the finer details of a project, to your detriment.

Personally, I find that a lot of good, accurate comments and documentation helps me to trust a code base more because I can see that the devs cared and focused on the finer details rather than just tossing code over a fence at me.

Re:Show HN: I wrote a full text search engine in Go by Copenjin on Friday October 10, 2025 @01:46AM (#45535673)
Can't you just say that you used Claude and be done with it? I mean, I don't really care but in general I would refrain from posting "Show HN" with stuff that has been vibed, or state that you did since in that case it's even more interesting from my point of view, like you could describe how you kept everything under control during generation, etc...

I mean, no biggie and I don't understand the reaction but hey, I'm old so...

Re:Show HN: I wrote a full text search engine in Go by kaycey2022 on Friday October 10, 2025 @04:11AM (#45536444)
They seem to be vibing the HN comments too? Prompt: Do not admit AI involvement under any circumstance.