{"id":8,"date":"2001-10-30T15:14:26","date_gmt":"2001-10-30T20:14:26","guid":{"rendered":"https:\/\/www.goer.org\/wordpress\/deadlock_victim"},"modified":"2001-10-30T15:14:26","modified_gmt":"2001-10-30T20:14:26","slug":"deadlock_victim","status":"publish","type":"post","link":"https:\/\/www.goer.org\/Journal\/2001\/10\/deadlock_victim.html","title":{"rendered":"Deadlock Victim"},"content":{"rendered":"<blockquote>\n<p>\nYeah, I just stare at my desk, but it looks like I&#8217;m working. I do that for probably<br \/>\nanother hour after lunch too&#8230; I&#8217;d say in a given week I probably only do about fifteen<br \/>\nminutes of real, actual, work. &#8211; Peter Gibbons, &#8220;Office Space&#8221;\n<\/p>\n<\/blockquote>\n<p>\nI had an interesting conversation with <a href=\"\/Mike\/\" title=\"uber-lawyer\">Mike<\/a> the other day about billable<br \/>\nhours.  Lawyers at his firm bill in increments of<br \/>\n0.1 hours.  That forces him to be highly conscious of his time.\n<\/p>\n<p>\nSo I thought it would be interesting to try recording what I did in a day at work.  Just as<br \/>\nan experiment.\n<\/p>\n<p>\nThe results were less than inspiring.  Once I subtracted lunch, websurfing, non-work related<br \/>\nemails, walks around the building, and office chit-chat, I discovered that I had worked for<br \/>\na whopping 4.2 hours.  Now I&#8217;d had a vague feeling for a while that I haven&#8217;t been working<br \/>\ntoo hard lately, but to see it in such a cold, quantitative form was very unsettling.\n<\/p>\n<p>\nMy Tuesday night poker buddies put this into perspective.  Justin is a UI team manager for<br \/>\nEbay.  &#8220;You know, Evan,&#8221; Justin said, &#8220;when I was a consultant, I worked about fifteen<br \/>\nminutes a day.  I just worked at home, swam in the pool, and answered a few emails.  For<br \/>\nabout a year. But now that I&#8217;m a manager&#8230; I have no time for chit-chat.  I do at least<br \/>\n12 hours of real work a day.  No goofing off at all.&#8221;\n<\/p>\n<p>\nAha!  So the lesson here is, don&#8217;t goof off too much, or they just might turn you into a<br \/>\nmanager, and God help you then.\n<\/p>\n<p>\nSo I shall endeavor to do better.  In the meantime, let me leave you with this error<br \/>\nmessage that I received today from Sun&#8217;s internal bug tracking tool (edited slightly<br \/>\nto remove uninformative numbers and process IDs):\n<\/p>\n<blockquote>\n<p>\n<CODE>SQL Server error: Your server command was deadlocked with another<br \/>\nprocess and has been chosen as deadlock victim.  Re-run your command.<\/CODE>\n<\/p>\n<\/blockquote>\n<p>\n&#8220;Deadlock victim&#8221;.  I love it.  As far as I can tell, this means:  I submitted<br \/>\na command.  Some chump elsewhere in the company submitted a command at about<br \/>\nthe same time.  And the other guy&#8217;s process totally kicked my process&#8217;s ass.<br \/>\nThat if nothing else tells me that I need to shape up, and fast.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;You know, Evan,&#8221; Justin said, &#8220;when I was a consultant, I worked about fifteen minutes a day. I just worked at home, swam in the pool, and answered a few emails. For about a year. But now that I&#8217;m a manager&#8230;&#8221;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-personal"],"_links":{"self":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":0,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}