Hi HN,<p>I am reading so many horror stories about spagetthi code and errors that take down whole commercial websites, I thought it was a good idea to share some of you positive easy coding win stories?
When were you assigned a (on the surface) hard task to just google, copy paste and be done with it? I am very curious. :)
I don't know if this is what you mean but many years ago I answered a CL computer gig add from someone that wanted their static Website ported from their current host to a free host as their contract had expired.<p>With just a few wget commands and a dns redirect, $100 was sent to my Paypal account, the guy was so happy he refered me to a bunch of others needing the same thing done.
I was asked to write a fuzzy word matching algorithm that would allow for a certain number of typos/misspellings. Turns out there’s a well-known algorithm for that[0].<p>[0] <a href="https://en.m.wikipedia.org/wiki/Levenshtein_distance" rel="nofollow">https://en.m.wikipedia.org/wiki/Levenshtein_distance</a>
We had a really simple document storage component to a webapp I was working on. Customers wanted to be able to search them so we had a ticket chilling in the backlog with the maximum point value to implement Solr. I ended up implementing it in an hour by taking the raw text out of the PDF with some library, shoving it into a Postgres column, and doing a LIKE query.