Show HN: A Pure SQL Raytracer
github.com
github.com
Is there a list of these types of projects? Or a competition for the most wrong tool for a given complex job? (DAFTCON?)
I don’t know why I find these things so interesting, but I’d love to see more (the PowerPoint Turing machine comes to mind).
[1] https://codegolf.stackexchange.com/ [2] https://www.ioccc.org/
I worked with a programmer that inadvertently re-invented tf-idf in SQL, without being familiar with solutions in full-text indexing. He created tables mapping words to documents, kept counts, and came up with simple algorithm to rank documents based on word frequency weighted by overall word scarcity of the words across all documents.
He also re-discovered stemming during this process, different heuristics for splitting words, and other pre-processing methods that come with experience.
This would have been mid-2004, so Lucene wasn't omni-present and Apache Solr hadn't made it's debut. He was half-way to rediscovering n-grams when Solr was released and he stumbled upon it.