Nope. Such comments are interesting to see the shared experiences and thoughts while writing code, and others are for snickering at the irony, especially when it's not a demo.
While vastly entertaining ( personal fav is "Call Me Maybe" ) does this create a moral obligation to audit some of these repos that might be in prod and alert the owners of possible security flaws?
Is anyone else getting tired of these github search posts? It would be nice if they were all in just one post. Actually the comment threads on this post are all that are needed.
Yup, tried to get a critical mass going here because, well, there are so many phrases that could be posted individually. I think we've proven that interesting phrases exist in code on Github, and now let's let people discover that on their own and free up space for other types of submissions. (https://news.ycombinator.com/item?id=11399790)
42 comments
[ 3.6 ms ] story [ 86.7 ms ] thread1: https://github.com/search?utf8=%E2%9C%93&q=%22remove+in+prod...
[1] - https://github.com/search?utf8=%E2%9C%93&q=remove+before+pro...
Let's max out this concept.
1. "Fire me": https://github.com/search?utf8=%E2%9C%93&q=%22Fire+me%22&typ...
2. "This will break": https://github.com/search?utf8=%E2%9C%93&q=%22This+will+brea...
3. "Never do this": https://github.com/search?utf8=%E2%9C%93&q=%22never+do+this%...
4. "This is evil": https://github.com/search?utf8=%E2%9C%93&q=%22this+is+evil%2...
5. "This is insane": https://github.com/search?utf8=%E2%9C%93&q=%22this+is+insane...
6. "Insanity will follow": https://github.com/search?utf8=%E2%9C%93&q=%22insanity+will+...
7. "Why?": https://github.com/search?utf8=%E2%9C%93&q=%22why%3F%22&type...
8. "For the love of god": https://github.com/search?utf8=%E2%9C%93&q=%22for+the+love+o...
9. "If I could do": https://github.com/search?utf8=%E2%9C%93&q=%22if+i+could+do%... (the hopeful ones)
10. "What the hell am I doing?" : https://github.com/search?utf8=%E2%9C%93&q=%22what+the+hell+... (the confused ones)
11. "Why doesn't this work?": https://github.com/search?utf8=%E2%9C%93&q=%22why+doesn%27t+... (more confusion)
12. "Call me": https://github.com/search?utf8=%E2%9C%93&q=%22call+me%22&typ...
13. "Call me maybe": https://github.com/search?utf8=%E2%9C%93&q=%22call+me+maybe%...
14. "Terrible idea": https://github.com/search?utf8=%E2%9C%93&q=%22terrible+idea%...
15. "This code is awful": nostrademons ↗ Two of my favorites from Google code I used to work on (one that I wrote myself, and one that I ended up reviewing) were: dpflan ↗ Heh, those are two rarer phrases: Zikes ↗ "abandon all hope": https://github.com/search?utf8=%E2%9C%93&q=%22abandon+all+ho... auntienomen ↗ I once encountered the following helpful comment in some (dys)functional code, next to a particularly inscrutable car crash of lambdas: xlm1717 ↗ You should have milked it for all it's worth and submitted separate posts for all these links! dpflan ↗ "Let's not do that": https://github.com/search?utf8=%E2%9C%93&q=%22Let%27s+not+do... :) shade ↗ My personal favorite that I've used on occasion: "I am a horrible monster and I pray for death". phaed ↗ "Why does this work?": https://github.com/search?utf8=%E2%9C%93&q=%22why+does+this+... cthulhujr ↗ Thar be dragons: https://github.com/search?utf8=%E2%9C%93&q=%22thar+be+dragon... dpflan ↗ We've got another one: "No idea" https://news.ycombinator.com/item?id=11399852 [deleted] ↗ (comment deleted) rcarmo ↗ The strangest hit for me was this bit of C#: dpflan ↗ That indeed looks like some dark magic. szatkus ↗ "hold my beer" ryanmaynard ↗ Scraped all from the page. http://gitoops.xyz/
"I am going to hell for this."
"If this is not removed by xx-xx-2008, beat me over the head with a shovel." (Seen and removed in 2010.)
1. "I am going to hell for this": https://github.com/search?utf8=%E2%9C%93&q=%22i+am+going+to+...
2. "Beat me over the head with a shovel": https://github.com/search?utf8=%E2%9C%93&q=%22beat+me+over+t...
Was an image of a shovel emailed to the committer? :)
"Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
7,463 code results for 'fhtagn'. Probably best not to look.
Though it's definitely fun when things like this emerge and people share stories.
https://github.com/search?utf8=%E2%9C%93&q=%22i+am+a+horribl...
https://github.com/search?utf8=%E2%9C%93&q=%22hold+my+beer%2...
Oops I did it again: https://github.com/search?utf8=%E2%9C%93&q=%22oops+i+did+it+...
https://github.com/search?utf8=%E2%9C%93&q=%22remove+from+pr...
"Should be big enough" https://github.com/search?utf8=&q=%22should+be+big+enough%22...
https://github.com/search?utf8=&q=%22ugly+but+works%22&type=...
filename:id_rsa: https://github.com/search?utf8=%E2%9C%93&q=filename%3Aid_rsa
filename:secring.gpg: https://github.com/search?utf8=&q=filename%3Asecring.gpg
extension:.pem BEGIN https://github.com/search?utf8=&q=extension%3A.pem+BEGIN
And others said "WILL remove this in production" - i.e. basically a TODO in code which is quite normal for code in development.
Pitchforks down.
proprietary and confidential: https://github.com/search?utf8=%E2%9C%93&q=%22proprietary+an...
do not distribute: https://github.com/search?utf8=%E2%9C%93&q=%22do+not+distrib...
https://github.com/libgit2/libgit2/blob/7adca53ed65380266309...