{"id":16,"date":"2006-11-11T02:37:00","date_gmt":"2006-11-11T09:37:00","guid":{"rendered":"http:\/\/sp2hari.com\/?p=16"},"modified":"2020-06-20T09:00:21","modified_gmt":"2020-06-20T09:00:21","slug":"fscked-up-coz-of-coding-p","status":"publish","type":"post","link":"https:\/\/sp2hari.com\/index.php\/2006\/11\/11\/fscked-up-coz-of-coding-p\/","title":{"rendered":"Fscked up coz of coding :P"},"content":{"rendered":"<p>Sometime back, taggy showed me  <a href=\"http:\/\/www.google.com\/codesearch\">Google code search <\/a>where one can search inside the source code.<br \/>\nAnd not surprisingly , the first thing he searched in source code was for &#8220;fsck&#8221; , &#8220;bitch&#8221;, and &#8220;porn&#8221; .<br \/>\nActually both of us were not surprised with the results. Taggy infact went to the extent of creating a graph to compare the occurence of these words in the source code. \ud83d\ude42<\/p>\n<p>Seems the coders and getting more and more frust when there code does not work and they show all their frust in their source code . Maybe a grep for &#8220;fsck&#8221; will give more shocking results :P.<\/p>\n<p>If you wann to see the stats of the occurence , check out taggy&#8217;s blog <a href=\"http:\/\/freeshell.in\/%7Etaggy\/blog\/?p=249\">here<\/a><\/p>\n<p>Some of the strange and nice things which i saw in the search were<\/p>\n<p>1. <a href=\"http:\/\/www.google.com\/codesearch?q=+fuck+show:FrR7Vpe15OA:6Ey9J-HlQns:C4lQ_A2K3Gg&amp;sa=N&amp;amp;amp;amp;amp;cd=11&amp;ct=rc&amp;cs_p=http:\/\/ftp.osuosl.org\/pub\/gentoo\/distfiles\/sofia-sip-1.11.8.tar.gz&amp;cs_f=sofia-sip-1.11.8\/libsofia-sip-ua\/su\/sofia-sip\/su_wait.h#a0\">sofia-sip-1.11.8\/libsofia-sip-ua\/su\/sofia-sip\/su_wait.h<\/a><br \/>\n88: #define SU_WAIT_CONNECT (FD_CONNECT)<br \/>\n#define SU_WAIT_ERR     (0)     \/* <b class=\"hl\">fuck<\/b> this shit *\/<br \/>\n#define SU_WAIT_HUP     (FD_CLOSE)<\/p>\n<p>2. <a href=\"http:\/\/www.google.com\/codesearch?q=+fuck+show:zDdy-FN5-4I:AnEDQX7Nmcw:jburfq2u_hI&amp;sa=N&amp;cd=12&amp;ct=rc&amp;cs_p=http:\/\/www.kernel.org\/pub\/linux\/kernel\/v2.4\/linux-2.4.33.3.tar.bz2&amp;cs_f=linux-2.4.33.3\/lib\/vsprintf.c#a0\">linux-2.4.33.3\/lib\/vsprintf.c<\/a><br \/>\n8: \/*<br \/>\n* Wirzenius wrote this portably, Torvalds <b class=\"hl\">fuck<\/b>ed it up \ud83d\ude42<br \/>\n*\/<\/p>\n<p>3. <a href=\"http:\/\/www.google.com\/codesearch?q=+fuck+show:AEcIcVFBbrA:VzjmdL7ajo4:HckzNhELcME&amp;sa=N&amp;amp;amp;amp;amp;cd=13&amp;ct=rc&amp;cs_p=http:\/\/search.cpan.org\/CPAN\/authors\/id\/L\/LD\/LDS\/CGI.pm-3.23.tar.gz&amp;cs_f=CGI.pm-3.23\/t\/lib\/Test\/More.pm#a0\">CGI.pm-3.23\/t\/lib\/Test\/More.pm<\/a><br \/>\n381:   else {<br \/>\n# Can&#8217;t use fail() here, the call stack will be <b class=\"hl\">fuck<\/b>ed.<br \/>\nmy $ok = @_ == 3 ? ok(0, $name )<\/p>\n<p>4. <a href=\"http:\/\/www.google.com\/codesearch?q=+fuck+show:MCQi7v9zDwk:-Yo9wISwoEs:BfsXVoM2sqY&amp;sa=N&amp;cd=14&amp;ct=rc&amp;cs_p=svn:\/\/svn.twistedmatrix.com\/svn\/Twisted\/trunk&amp;cs_f=twisted\/names\/authority.py#a0\">twisted\/names\/authority.py<\/a><br \/>\n239:       ORIGIN = line[1]<br \/>\nelif line[0] == &#8216;$INCLUDE&#8217;: # XXX &#8211; oh, <b class=\"hl\">fuck<\/b> me<br \/>\nraise NotImplementedError(&#8216;$INCLUDE directive not implemented&#8217;)<\/p>\n<p>5. <a href=\"http:\/\/www.google.com\/codesearch?q=+fuck+show:59PhxeDvAOw:EZKDtneWmW0:VeRcHO149s4&amp;sa=N&amp;amp;amp;amp;amp;cd=1&amp;ct=rc&amp;cs_p=http:\/\/www.k5n.us\/files\/htmlarea-3.0rc1.zip&amp;cs_f=includes\/htmlarea\/plugins\/SpellChecker\/spell-check-ui.js#a0\">includes\/htmlarea\/plugins\/SpellChecker\/spell-check-ui.js<\/a><br \/>\n36:   }<br \/>\n\/\/ we should use innerHTML here, but IE6&#8217;s implementation <b class=\"hl\">fuck<\/b>s up the<br \/>\n\/\/ HTML to such extent that our poor Perl parser doesn&#8217;t understand it<\/p>\n<p>6.<a href=\"http:\/\/www.google.com\/codesearch?q=+fuck+show:Q5KgoNg1iJQ:kBBkN3DGmT8:tqe2wJYpEaw&amp;sa=N&amp;cd=3&amp;ct=rc&amp;cs_p=http:\/\/www.geeklog.net\/nightly\/geeklog-pear.tar.gz&amp;cs_f=HTTP\/Request.php#a0\">HTTP\/Request.php<\/a><br \/>\n613:   \/\/ magic quotes may <b class=\"hl\">fuck<\/b> up file uploads and chunked response processing<br \/>\n$magicQuotes = ini_get(&#8216;magic_quotes_runtime&#8217;);<\/p>\n<p>7. <a href=\"http:\/\/www.google.com\/codesearch?q=+fuck+show:a75EP75Buxw:bNst17FGaI8:WsIzQBLiEzc&amp;sa=N&amp;amp;amp;amp;amp;cd=5&amp;ct=rc&amp;cs_p=http:\/\/gentoo.osuosl.org\/distfiles\/Guppi-0.40.3.tar.bz2&amp;cs_f=Guppi-0.40.3\/src\/libguppidata\/guppi-data-tree.h#a0\">Guppi-0.40.3\/src\/libguppidata\/guppi-data-tree.h<\/a><br \/>\n40:    should be treated as *read-only*.  If you change them, you could<br \/>\nreally <b class=\"hl\">fuck<\/b> things up. *\/<br \/>\ntypedef struct _GuppiDataTreeNode GuppiDataTreeNode;<\/p>\n<p>8. <a href=\"http:\/\/www.google.com\/codesearch?q=+fuck+show:G0rWiC8Y7Ns:hvuGfOALsck:w0vsz7txy2Y&amp;sa=N&amp;amp;amp;amp;amp;cd=30&amp;ct=rc&amp;cs_p=http:\/\/www.cpan.org\/authors\/id\/D\/DC\/DCANTRELL\/Acme-Scurvy-Whoreson-BilgeRat-1.1.tar.gz&amp;cs_f=Acme-Scurvy-Whoreson-BilgeRat-1.1\/lib\/Acme\/Scurvy\/Whoreson\/BilgeRat.pm#a0\">Acme-Scurvy-Whoreson-BilgeRat-1.1\/lib\/Acme\/Scurvy\/Whoreson\/BilgeRat.pm<\/a><br \/>\n59:         ($backend &amp;&amp; $backend-&gt;isa(&#8220;Acme::Scurvy::Whoreson::BilgeRat::Backend::$params{language}&#8221;)) ||<br \/>\ndie(&#8220;For <b class=\"hl\">fuck<\/b>&#8216;s sake, the <b class=\"hl\">fuck<\/b>ing backend&#8217;s <b class=\"hl\">fuck<\/b>ed&#8221;);<\/p>\n<p>48:   die(&#8220;Read the <b class=\"hl\">fuck<\/b>ing manual you shitwit and at least use the constructor right!&#8221;)<br \/>\nif(!$class || join(&#8221;, keys %params) !~ \/^(language)?$\/);<\/p>\n<p>9. <a href=\"http:\/\/www.google.com\/codesearch?q=+fuck+show:TY9Xtld0UPc:0mbw3gueopE:xWIbo_9gEks&amp;sa=N&amp;amp;amp;amp;amp;cd=35&amp;ct=rc&amp;cs_p=http:\/\/gentoo.osuosl.org\/distfiles\/directory_administrator-1.4.tar.gz&amp;cs_f=directory_administrator-1.4\/src\/main.c#a0\">directory_administrator-1.4\/src\/main.c<\/a><span style=\"\"><br \/>\n<\/span>48:   \/\/ diradmin_user * <span style=\"font-weight: bold;\" class=\"hl\">fuck<\/span> = NULL;<br \/>\n83:   gtk_widget_show (mainwindow);<br \/>\n\/\/  <span style=\"font-weight: bold;\" class=\"hl\">fuck<\/span>you ();<\/p>\n<p>10. <a href=\"http:\/\/www.google.com\/codesearch?q=+fuck+show:BTuyYi0c0os:n1bEPsKNGRc:rWUJoJJhLiM&amp;sa=N&amp;amp;amp;amp;amp;cd=40&amp;ct=rc&amp;cs_p=http:\/\/pdp10.nocrew.org\/gcc\/download\/gcc-pdp10-20020611.tar.bz2&amp;cs_f=src\/libstdc%2B%2B-v3\/testsuite\/27_io\/ofstream_members.cc#a0\">src\/libstdc++-v3\/testsuite\/27_io\/ofstream_members.cc<\/a><br \/>\n88:   bool test = true;<br \/>\nconst char* strlit01 = &#8220;<span style=\"font-weight: bold;\" class=\"hl\">fuck<\/span> war&#8221;;<br \/>\nconst char* strlit02 = &#8220;two less cars abstract riot crew, critical mass\/SF&#8221;;<\/p>\n<p>Ofcourse i cannot copy paste all the <span style=\"font-weight: bold;\">32,600<\/span> search results here \ud83d\ude42<\/p>\n<p><span style=\"font-weight: bold;\">So do i swear when i write code ?? <\/span><br \/>\nOf course i do , even i am a programmer right. While testing the sms code for the spider server, it used to creash often.  Though i found out that i have not read the mysql manual properly , this is the source code i wrote to find the error.<\/p>\n<p>cout &lt;&lt; &#8220;Mysql Connected Successfully\\n &#8220;;<br \/>\nupdate_query = Query(&#8220;INSERT INTO hari_feedback VALUES (&#8221;,&#8217;a&#8217;,&#8217;b&#8217;,&#8217;c&#8217;,&#8217;d&#8217;,&#8217;e&#8217;,&#8217;f&#8217;)&#8221;);<br \/>\ncout &lt;&lt; &#8220;INSERT INTO hari_feedback VALUES (&#8221;,&#8217;a&#8217;,&#8217;b&#8217;,&#8217;c&#8217;,&#8217;d&#8217;,&#8217;e&#8217;,&#8217;f&#8217;)&#8221;;<br \/>\ncout &lt;&lt; &#8220;Query Returned &#8221; &lt;&lt; update_query &lt;&lt; endl;<br \/>\nif (update_query == NULL ) {<br \/>\n<span style=\"font-weight: bold;\">    cout &lt;&lt; &#8220;Fuck\\n&#8221;;<\/span><br \/>\n}<\/p>\n<p>mysql_affected_rows (&amp;sqlHandle);<br \/>\nif (pid == -1)<br \/>\n{ cout &lt;&lt; &#8220;Query Failed\\n&#8221;;}<br \/>\nelse<br \/>\n{ cout &lt;&lt; &#8220;Success\\n&#8221;;}<\/p>\n<p>And ofcourse a ls in the \/tmp folder in the nosip folder shows this<\/p>\n<p>fileXo1MAJ<br \/>\nfucku.py<br \/>\nfucku.xml<br \/>\nfuckyouman.py<br \/>\nfuckyouman.xml<br \/>\nfuckyou.py<br \/>\nfuckyou.xml<br \/>\ngcalc.py<br \/>\ngcalctool_log.xml<br \/>\ngcalctool.py<br \/>\ngcalctool.py~<br \/>\ngcalctool_run.xml<br \/>\ngcalctooltemp_log.xml<br \/>\ngcalctooltemp.<\/p>\n<p>Seems even i am fscked up sometimes when it comes to coding \ud83d\ude1b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometime back, taggy showed me Google code search where one can search inside the source code. And not surprisingly , the first thing he searched in source code was for &#8220;fsck&#8221; , &#8220;bitch&#8221;, and &#8220;porn&#8221; . Actually both of us were not surprised with the results. Taggy infact went to &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-code"],"_links":{"self":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":2,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":1456,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/16\/revisions\/1456"}],"wp:attachment":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}