News for hackers. Stuff that matters.

panpan2

Show HN: A Wordle implementation in pure SQL

https://github.com/panispani/wordle.sql

Hi HN,I made a Wordle clone where the game runs inside PostgreSQL. The game state lives in tables, and a SQL function acts as the game engine — you pass in an input, and it returns the new state.Other than the game loop to feed inputs, everything happens in SQL. This was a fun project in pushing SQL beyond its usual use case, sharing in case others find it interesting too.I guess you could...

( Read More... | no comments | 2 points | on HN )
Re:Sanitext – Remove LLM-Generated Text Fingerprints on Wednesday March 12, 2025 @07:37AM (#43342153)
Thanks for catching this, changed to "hyphen".

> And while AI watermarking and fingerprinting is real, using typographically-correct Unicode instead of base ASCII isn't really it (though I guess anything that transforms text in a way which reduces variety like this does will make some of it less effective.)

I disagree. Your "writing signature" changes when you go from never using proper typography to suddenly using it perfectly. If you don't typically follow typography rules, LLM-generated text can make your writing inconsistent and detectable-especially in notes, where some parts follow your natural style while others suddenly have perfect punctuation (e.g., now you need to search for both your usual punctuation and the LLM's version to find something). Also, if you use an LLM to help rewrite a sentence within a longer piece, the output might include typographic details (like curly quotes or en-dashes) that don't match the rest of your writing.

Re:Sanitext – Remove LLM-Generated Text Fingerprints on Wednesday March 12, 2025 @07:26AM (#43342085)
Just try it :) I’ve definitely come across random variation selectors now and then. Otherwise, the most common case is typography: like em-dashes instead of hyphens, curly apostrophes, etc. But if you're feeding LLM output into a search tool, these subtle differences might not be helping you!
Re:Sanitext – Remove LLM-Generated Text Fingerprints on Wednesday March 12, 2025 @07:19AM (#43342039)
That's right! The same goes for en-dashes, em-dashes, and some other punctuation. While these aren’t ASCII, you can enable them with `--allow-chars` if you want to keep them. I imagine the average person doesn't know when to use which.
Re:Sanitext – Remove LLM-Generated Text Fingerprints on Wednesday March 12, 2025 @07:14AM (#43342009)
Another viewpoint is that it's about privacy (e.g., unwanted tracking) and security (e.g., homograph attacks). As LLMs are increasingly used everywhere, this provides a way to normalize text as it moves between different systems.