{"id":349,"date":"2008-06-12T21:02:54","date_gmt":"2008-06-13T04:02:54","guid":{"rendered":"http:\/\/journal2.alanv.org\/?p=349"},"modified":"2012-10-07T22:18:52","modified_gmt":"2012-10-08T02:18:52","slug":"epic-epic-fail","status":"publish","type":"post","link":"https:\/\/journal2.alanv.org\/?p=349","title":{"rendered":"Epic, epic fail"},"content":{"rendered":"<p>So today I checked in a changelist containing (what I thought were) relatively minor changes to 40 files.<br \/>\nTurns out I had switched two parameters in a function call (so what should have been call(String a, String b) instead was call(String b, String a). If I had run *any* test at all, I would have caught it. But I didn&#8217;t, assuming that the changes were simple enough (and I had had someone else look over the code with me and it looked fine to both of us). Result: everything broke, hard.<br \/>\nTook me about 30 minutes to get things back in a happy state (fixing up 40 separate files) and then another 3 hours or so to properly revert out everything.<br \/>\nIt was an incredibly dumb thing of me to do (submit any change, even a seemingly minor and trivial one, without testing first).<\/p>\n<p>Also, I managed to rip the green shirt I really like.<\/p>\n<p>I&#8217;m so upset with myself :-\\<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So today I checked in a changelist containing (what I thought were) relatively minor changes to 40 files. Turns out I had switched two parameters in a function call (so what should have been call(String a, String b) instead was &hellip; <a href=\"https:\/\/journal2.alanv.org\/?p=349\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,11],"tags":[],"class_list":["post-349","post","type-post","status-publish","format-standard","hentry","category-code","category-salesforce"],"_links":{"self":[{"href":"https:\/\/journal2.alanv.org\/index.php?rest_route=\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/journal2.alanv.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/journal2.alanv.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/journal2.alanv.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/journal2.alanv.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=349"}],"version-history":[{"count":0,"href":"https:\/\/journal2.alanv.org\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions"}],"wp:attachment":[{"href":"https:\/\/journal2.alanv.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/journal2.alanv.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/journal2.alanv.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}