<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>b.kocik</title>
	<atom:link href="http://bkocik.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://bkocik.net</link>
	<description>renaissance man</description>
	<pubDate>Tue, 26 Aug 2008 04:26:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Hi, no. (adventures in recruiting me)</title>
		<link>http://bkocik.net/2008/08/25/hi-no-adventures-in-recruiting-me/</link>
		<comments>http://bkocik.net/2008/08/25/hi-no-adventures-in-recruiting-me/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 04:16:33 +0000</pubDate>
		<dc:creator>bkocik</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<category><![CDATA[employment]]></category>

		<category><![CDATA[recruiters]]></category>

		<guid isPermaLink="false">http://bkocik.net/?p=21</guid>
		<description><![CDATA[I&#8217;ve been using the word &#8220;no&#8221; an awful lot lately. For some reason over the past few months there&#8217;s been a lot of interest shown in my resume (which apparently is out there somewhere, though I don&#8217;t remember where) and my LinkedIn profile. I get all sorts of random emails, LinkedIn messages, and even phone [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using the word &#8220;no&#8221; an awful lot lately. For some reason over the past few months there&#8217;s been a lot of interest shown in my resume (which apparently is out there somewhere, though I don&#8217;t remember where) and my LinkedIn profile. I get all sorts of random emails, LinkedIn messages, and even phone calls from recruiters. My favorites are the ones who call me to ask if it&#8217;s okay to email me a job description. You know what? Take a chance, skip the phone call. I&#8217;d much rather deal with an unwanted email.</p>
<p>Most of them get a very quick &#8220;no&#8221; out of me. Like, for example, Google. I got an email from a Google recruiter a while back, something along the lines of &#8220;We have some great opportunities here at Google, and I just wanted to see if you have any interest!&#8221;</p>
<p>He actually used an exclamation point, as if as soon as I saw the words &#8220;Google&#8221; and &#8220;opportunities&#8221; used in the same sentence I would nearly wet myself with excitement. Finally, the great GOOG is calling on me, after all these years of quiet desparation and yearning! My actual response was, and I quote, &#8220;No, thanks.&#8221; Google has a reputation for not paying very well, and for having something of an elitist, hipper-than-thou culture that I want no part of. I can&#8217;t imagine the shock this recruiter experienced when he discovered&#8211;probably for the first time&#8211;that <em>everyone</em> isn&#8217;t dying to go to work there.</p>
<p>Another didn&#8217;t survive past the first question. &#8220;How much experience do you have writing web apps in Perl?&#8221; &#8220;None. I know better.&#8221; Where on my resume does it say I have ever written a web application in Perl? I think the very act of being willing to admit I ever had would show a significant lack of judgment that would turn any potential suitor away.</p>
<p>A few recruiters get a little further with me than that. But almost inevitably, they (or the company they represent) find some creative way to lose my interest shortly thereafter. Like the company I won&#8217;t name that hounded me more than a year ago. I had occasion to be in the same room with one of their employees on a semi-regular basis, and every time I did he would try to get me to talk to one of their recruiters. Finally I caved, and a technical interview was set up. Fair warning to all recruiters: I&#8217;m a terribly lazy person (it&#8217;s part of why I write software), and if I&#8217;m really not interested in your position I <strong>am</strong> going to half-ass your interview. Just so you know.</p>
<p>Oh, and if you set me up with someone who has no business conducting interviews I am not going to rise to the occasion and shine like a pro, I&#8217;m going to toy with him. That&#8217;s what this company did. Within two minutes of the start of the interview I could tell the interviewer had no idea what he was doing. He&#8217;d ask me questions like, &#8220;So, do you know how to use threads?&#8221; and I would respond with informative, thorough, clearly thought-out responses like, &#8220;Yes.&#8221; About ten minutes into the thing I was about to terminate the interview myself (which I will do&#8211;and have done&#8211;if I get bored enough), when he beat me to the punch. Later I got a phone call from the recruiter telling me, &#8220;Yeah, we&#8217;re looking for someone with some stronger Java skills.&#8221;</p>
<p>I replied, &#8220;Given who you have now, I would be, too.&#8221;</p>
<p>I have walked out of interviews, like I did when an interviewer asked me to come up with an algorithm to solve a sudoku board. With a marker. On a whiteboard. Seriously. In that case I was already squarely on the fence about the position anyways for other reasons (if you&#8217;re trying to woo a potential employee, try not telling them that you&#8217;re not sure if you have a sustainable business, or if you yourself will even be sticking around), and that question shoved me right off of it on the side of &#8220;I&#8217;m going home now.&#8221; They had even paid for plane fare to get me there, which I sort of felt guilty about.</p>
<p>That last mistake was actually a pretty common one, it turns out, and at its core it is this: Do not ask me to jump through hoops until you&#8217;ve given me really good reason to want to jump through them. That sounds snobby, but I honestly get anywhere from five to nine random inquiries per week from different recruiters. If you&#8217;re one of them, you need to remember that I&#8217;m not looking for you, you were apparently looking for me. If you give me the slightest reason to turn you down I&#8217;m going to do it, because there&#8217;s a whole line of recruiters right behind you and I have to weed through you somehow. One of the surest ways to get me to terminate the process is to make the mistake of thinking that I need (or want) a job, and am therefore motivated to go through a bunch of process to get to an interview. I&#8217;m not, and I won&#8217;t.</p>
<p>I don&#8217;t really like to interview to begin with, so if you happen to get me to agree to an interview, for heaven&#8217;s sake do NOT blow it by sending me a job application with instructions to &#8220;make sure I fill it out before the interview.&#8221; I&#8217;m not going to. You know what I will take the time to do, though? Compose a short email cancelling the interview, and making it clear that I will not be seeking to reschedule it. (Don&#8217;t believe me? I did exactly that not two hours ago. I&#8217;ll give you the recruiter&#8217;s contact information if you want to verify.)</p>
<p>It&#8217;s not that I&#8217;m a prima donna, nor do I have illusions of grandeur concerning my worth as an engineer. Please. I know my station. But since you came to me, it&#8217;s really sort of unrealistic (maybe even rude) to expect me to do a bunch of leg work in order to talk to you when I really didn&#8217;t ask to in the first place. And besides, a job application? Really? What is this, Arby&#8217;s? Sometimes I&#8217;m tempted to fill them out with a bunch of fictitious babysitting and fast-food jobs. Reason for leaving: Mom said if my grades didn&#8217;t improve I couldn&#8217;t work school nights anymore.</p>
<p>I have a carefully-constructed resume and an even more carefully-constructed 11-year track record in the industry. Don&#8217;t ask me to write out my employment history in long hand, outlining my &#8220;responsibilities&#8221; for a 6.5-year position in a tiny little box. It&#8217;s just not going to happen.</p>
<p>I found out recently that people actually do read this blog (which made me briefly consider taking it down and letting the domain expire). I don&#8217;t know how many of them are recruiters (though some of them have told me this is how they found me; why on earth anyone would read my drivel and still want to contact me afterward is a profound mystery). But if you&#8217;re a recruiter and you see yourself or your company reflected in this post, do me a big favor: Don&#8217;t call me. I&#8217;d appreciate it.</p>
]]></content:encoded>
			<wfw:commentRss>http://bkocik.net/2008/08/25/hi-no-adventures-in-recruiting-me/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Monsters are real</title>
		<link>http://bkocik.net/2008/06/24/monsters-are-real/</link>
		<comments>http://bkocik.net/2008/06/24/monsters-are-real/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 17:06:44 +0000</pubDate>
		<dc:creator>bkocik</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<category><![CDATA[firearms]]></category>

		<category><![CDATA[gun control]]></category>

		<category><![CDATA[gun laws]]></category>

		<guid isPermaLink="false">http://bkocik.net/?p=20</guid>
		<description><![CDATA[On July 23, 2007, two career criminals broke into the home of a prominent Connecticut doctor, intent on robbing it. When they entered, they discovered the family was at home - the doctor, his wife, and their two daughters, 11 and 17. They beat the doctor. They tied the 11-year-old girl to her bed, and [...]]]></description>
			<content:encoded><![CDATA[<p>On July 23, 2007, two career criminals broke into the home of a prominent Connecticut doctor, intent on robbing it. When they entered, they discovered the family was at home - the doctor, his wife, and their two daughters, 11 and 17. They beat the doctor. They tied the 11-year-old girl to her bed, and raped her. They raped and strangled the wife. Then they poured gasoline on their victims, and set the house on fire with three people still alive inside. The doctor is the only survivor.<sup>1</sup></p>
<p>On December 18, 2005, a 37-year-old woman who was mother to three children answered her door, and was greeted by a man who claimed he was having car trouble, and needed to use her phone. She was later found shot and hanged to death in the basement of her home, near Culpeper, VA.</p>
<p>On New Year&#8217;s Day, 2006, a family of four were found beaten, stabbed, and bound in the basement of their house in Richmond, VA. The two daughters were 9 and 4 years of age. None of them survived. One of the two men who slaughtered them was the same man who had killed the woman near Culpeper. The pair went on to kill another family of three only five days later.<sup>2</sup></p>
<p>Monsters are real.</p>
<p>I tell you this because, of late, I&#8217;ve been hearing from a lot of people who seem genuinely puzzled as to why I feel the need to own a gun. Some have made me the subject of jokes about &#8220;violent tendencies&#8221; (which I do not have, and as a matter of fact, those of you who do not possess concealed carry permits are statistically 5.5 times more likely to be arrested for a violent crime than those of us who do<sup>3</sup>). Some have even gone so far as to pay me the insult of questioning my intelligence, my background, and my mental competence. Since so many of you have been so forthright in sharing your opinions about my choice to keep a firearm, I&#8217;m going to be very blunt about one of my own:</p>
<p>I am completely dumbfounded that any of you seem to have to have this explained to you. I am shocked that so many of you who are otherwise sharp, intelligent, reasonable people have been so snowed by the anti-gun crowd that you appear to actually believe their myths, when the truth is so easily discovered. I am honestly disconcerted to have found that several of you are so naive as to believe that in this day and age, no one needs to possess or conceal such a weapon.</p>
<p>Following are some of the fallacies I have heard put forth by some that honestly causes me to question their own intelligence and mental competence.<br />
<span id="more-20"></span></p>
<p><strong>You&#8217;re more likely to be killed with your own gun than the criminal is.</strong></p>
<p>No I&#8217;m not. That simply isn&#8217;t true. I dare any of you to cite a single document that can back this claim with real data. The truth is that every single day, 550 rapes, 1,100 murders, and 5,200 various other violent crimes are prevented because the intended victim, or some samaritan nearby, had a gun. In less than 0.9% of those cases is the weapon actually fired.<sup>4</sup></p>
<p>In Britain, where private gun ownership is almost completely forbidden, 59% of burglaries are committed against residences while the occupants are at home. In the United States, where many more law-abiding citizens are armed (and criminals know this), that rate is only 13%.<sup>5</sup> The adage that &#8220;criminals prefer an unarmed public&#8221; is not just a bumper sticker slogan.</p>
<p>Your odds of remaining uninjured in a violent attack if you choose not to resist are 75%. WIth a knife, your chances are 60%. If you attempt some form of non-violent resistance, you have a 55% chance of coming out alright. If you use a gun to defend yourself, your odds of not only surviving the encounter, but of remaining unharmed, are 94%.<sup>6</sup></p>
<p>You cannot convince me - nor should any sane, logical, intelligent person be convinced - that if someone enters my home with the intent to inflict harm upon myself or my family that I am somehow safer if I do not have an effective means with which to defend myself. You cannot convince me that any of the people mentioned at the top of this post (except for the criminals themselves) are better off because none of the family members was prepared to defend the home with deadly force. Imagine how different the outcome might have been if any of them had been.</p>
<p><strong>You can&#8217;t have a gun in your house, you have kids!</strong></p>
<p>Yes. Also I have bleach, pesticides, anti-freeze, and dozens of other chemicals and substances that are very deadly to children. Not to mention the knives we keep in our kitchen. Must I get rid of those, as well? No. What I do with them is the very same thing I do with my gun - I store it such that they cannot access it.</p>
<p>If you don&#8217;t believe that you&#8217;re competent enough to safely store a firearm, then don&#8217;t. And while you&#8217;re at it, get rid of all of your kitchen knives and potentially harmful substances, because you probably shouldn&#8217;t be trusted to keep your kids safe from those, either. But don&#8217;t try to tell me that I&#8217;m as incompetent as you fear you are. I assure you that I am not.</p>
<p>There&#8217;s one other thing I really don&#8217;t want in my home, because of the fact that they are very dangerous to children: violent criminals. But since I don&#8217;t really get a say as to whether or not they&#8217;ll be present (and don&#8217;t fool yourself into thinking that you do, either), then it would be highly irresponsible of me not to be prepared to keep my children safe from them, wouldn&#8217;t it?</p>
<p>What&#8217;s your excuse?</p>
<p><strong>Only the police should have guns.</strong></p>
<p>If there were a way to make sure that happened, that no criminal could ever gain access to a firearm, and if it could be guaranteed that an armed officer would always be around when needed, I might almost be inclined to agree. However, there are many who have guns for purposes other than self-defense (competition matches, target shooting, hunting, etc.) who would not agree, and I can think of no good reason to disarm these folks. The reality is, though, that the average duration of a violent encounter is under a minute. Unless there&#8217;s an officer standing next to you when the nightmare scenario unfolds, who is going to save you? As Tom Palmer, one of the plaintiffs in the landmark Heller vs. The District case currently before the Supreme Court says, &#8220;If someone gets into your house, which would you rather have, a handgun or a telephone? You can call the police if you want, and they&#8217;ll get there, and they&#8217;ll take a picture of your dead body. But they can&#8217;t get there in time to save your life. The first line of defense is you.&#8221;<sup>7</sup></p>
<p>The &#8220;only the police should have guns&#8221; rhetoric is really part of a much larger, completely illogical (and yet, oddly popular) fallacy, which is that gun control somehow reduces violent crime. It has been proven over, and over, and over again that this is not at all true. Washington DC banned gun ownership in 1976, and has for many years enjoyed the status of being the murder capital of the world. In reality, it has been shown that gun control laws result in a marked increase in violent crimes in the areas in which they&#8217;re enacted, while the loosening of restrictions around firearms ownership and increased availability of concealed carry permits consistently send crime rates tumbling.</p>
<p>Yet, it is far easier to keep the blinders on, and repeat the mantra that &#8220;guns are bad.&#8221; Firearms are used 60 times more often to protect life than to take it.<sup>8</sup> But no, we shouldn&#8217;t be allowed to have them.</p>
<p>Please.</p>
<p><!--more--></p>
<p>Gun owners have to face these questions all the time, even though they&#8217;ve been answered very clearly by plenty of data. When tragedies like the VA Tech massacre happen, the knee-jerk reaction is inevitably a cry for more stringent gun laws. People always want to take the guns away from those of us who didn&#8217;t do it. It somehow never occurs to them to notice that these things always happen in so-called &#8220;gun-free safe zones&#8221; where it is already illegal to possess a gun. The folly is, of course, that the criminal isn&#8217;t terribly concerned as to whether or not he&#8217;s legally allowed to possess the weapon with which he&#8217;s about to slaughter random, innocent people. What he often does know, however, is that none of his targets will be armed - because it&#8217;s a gun-free safe zone. And it is, indeed, a very safe place for him.</p>
<p>When asked the question, &#8220;Why do you own a gun?&#8221; or &#8220;Why do you carry a gun?&#8221; the answers often given range from the whimsical (&#8221;Because I cannot carry a cop.&#8221;), to the trite, but practical (&#8221;For the same reason you wear a seatbelt when you&#8217;re in a car.&#8221;), to the ideological (&#8221;Because it is my right to do so.&#8221;) My answer is this:</p>
<p>Monsters are real. But the real ones are not bulletproof.</p>
<p>References:</p>
<p>1. <a href="http://http://www.nytimes.com/2007/08/07/nyregion/07slay.html" target="_self">http://www.nytimes.com/2007/08/07/nyregion/07slay.html</a><br />
2. <a href="http://en.wikipedia.org/wiki/Harvey_family_murder" target="_self">http://en.wikipedia.org/wiki/Harvey_family_murder</a><br />
3, 4. National Crime Victimization Survey, 2000, Bureau of Justice Statistics, BATF estimates on handgun supply<br />
5. Dr. Gary Kleck, Criminologist, Florida State University (1997) and Kopel (1992 and 1999)<br />
6. British Home Office<br />
7. <a href="http://www.youtube.com/watch?v=qyoLuTjguJA" target="_self">http://www.youtube.com/watch?v=qyoLuTjguJA</a><br />
8. Fall 1995, Journal of Criminal Law and Criminology</p>
<p>Want more truth? <a href="http://www.gunfacts.info">http://www.gunfacts.info</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bkocik.net/2008/06/24/monsters-are-real/feed/</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;abcdab&#8221; or, why I don&#8217;t work for Yahoo</title>
		<link>http://bkocik.net/2008/04/08/abcdab-or-why-i-dont-work-for-yahoo/</link>
		<comments>http://bkocik.net/2008/04/08/abcdab-or-why-i-dont-work-for-yahoo/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 17:20:40 +0000</pubDate>
		<dc:creator>bkocik</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bkocik.net/2008/04/08/abcdab-or-why-i-dont-work-for-yahoo/</guid>
		<description><![CDATA[As many of you know (because I have no internal filter), I was recently in talks with Yahoo, who were talking about relocating me to California to go to work for them. The title of this post refers to an interview question they asked me, which was, &#8220;Can you think of an efficient algorithm to [...]]]></description>
			<content:encoded><![CDATA[<p>As many of you know (because I have no internal filter), I was recently in talks with Yahoo, who were talking about relocating me to California to go to work for them. The title of this post refers to an interview question they asked me, which was, &#8220;Can you think of an efficient algorithm to detect the first repeated character in this string?&#8221; My answer was, essentially, not really. I&#8217;ve made my career writing web applications in Java, Ruby on Rails, and even occasionally PHP (I&#8217;m not proud). I&#8217;ve never had to find an efficient way to detect the first repeated character in an arbitrary string, except maybe in some college class I no longer remember. If it ever comes up, then I&#8217;ll know that Yahoo was wise to try to make sure I could do it, and I&#8217;ll turn in my developer&#8217;s cap and take up carpentry or something. At least until someone asks me if I can dream up a clever way to build bookcases using only a pipe wrench and toothpaste, and exposes me for the non-carpenter that I am.</p>
<p>But that I couldn&#8217;t satisfactorily answer that question is not why I don&#8217;t work for Yahoo (and I don&#8217;t really begrudge them asking such algorithmic questions, even if I think they&#8217;re mostly contrived and silly). In fact, almost all of my interviews could not have gone better than they did. There was one at the end of the day that completely derailed, but it was actually unimportant (long story). My first interview, which was with the lead architect of the group, ended with her saying &#8220;Well, I like you. I&#8217;m gonna tell them to hire you.&#8221; Much of the rest of them went about as well.<br />
<span id="more-19"></span><br />
In the end, that became the general sentiment. The hiring manager assured me that the position was very senior, and that he and his team were convinced that I was the guy for the job. Shortly after my trip, Yahoo made me an offer. That&#8217;s where things began to head south.</p>
<p>It really started much earlier when, during my phone interviews, the subject of salary came up. This was the second time I had been asked about it, and I gave the same range as I had the first time. Yahoo&#8217;s offer, though, didn&#8217;t fit within that range - and by that I don&#8217;t mean they erred on the high side. They also knew that I had a standing offer on the table from one of their top competitors. What they didn&#8217;t know was that I wasn&#8217;t really interested in it. Hey, you can&#8217;t put all your cards on the table right?</p>
<p>Yahoo&#8217;s offer was good, and it did beat their competitor&#8217;s, but only barely, and without any cost-of-living adjustment. This was a problem, given that the cost-of-living difference between here and California is not insignificant. They also offered a nice relocation package, decent stock benefits, an annual bonus, and even a well-thought-out &#8220;poison pill&#8221; package they&#8217;ve put in place in case of a takeover by Microsoft or anyone else. What it did not include was a salary that was sufficient for me to be able to afford to support my family in California.</p>
<p>I pointed this out to them, and also noted that their offer was not within the range I had given them (twice). The hiring manager gushed about the seniority and importance of the position, and about how convinced they were that I was their guy (which, by the way, doesn&#8217;t entice me to accept it so much as it convinces me we should be negotiating salary). I asked if they could bring their salary offer into my range, which really wasn&#8217;t all that much higher. After a few days deliberation, their answer came back: No.</p>
<p>Okay, well, since I did want to go back to California, and so does my wife, we were willing to make some sacrifices if we had to in order to make it work out. I was willing to move there by myself until we could get our house ready to go on the market if Yahoo were willing to allow me to fly back here and work from home for one week each month. I didn&#8217;t want them to pay for it, only to allow it.</p>
<p>Nope.</p>
<p>Yahoo, or at least this team, doesn&#8217;t allow telecommuting. Between you and me, I&#8217;m pretty sure that this whole Internet thing is going to be pretty big one day, but they seem rather unconvinced.</p>
<p>Essentially they told me over and over that I&#8217;m the one for them, and that the position is very important, and that they&#8217;re sure I&#8217;m the one who can take the project from inception to launch successfully, but then stubbornly refused to budge on any of the merits of their offer.  I got the impression that Yahoo thought they were shopping in the Saturn dealership of talent markets, complete with &#8220;No-Haggle Pricing.&#8221; Their take-it-or-leave it approach, however, completely turned me off, and strongly suggested that they weren&#8217;t taking me as seriously as they claimed to be. As they say, talk is cheap.</p>
<p>In the end, the recruiter wished me luck in my job search (and I took the opportunity to remind her that I hadn&#8217;t been searching; Yahoo approached me, unsolicited), and  suggested that I get back with them if my situation changes.</p>
<p>I think she&#8217;s referring to that situation in which I require the ability to feed and house myself and my family, but since I didn&#8217;t ask I can&#8217;t be sure. I&#8217;m not sure that one&#8217;s going to change soon. Perhaps if we decide the homeless lifestyle appeals to us.</p>
<p>I also made sure to let it be known that I felt some of my time had been wasted: &#8220;As for my job search, I&#8217;m not really on one; Yahoo approached me. I regret that that has led to the expenditure of so much time for no real reason.&#8221;</p>
<p>If you were ever wondering how to eloquently torch a bridge, there&#8217;s one example.</p>
<p>Yahoo has a pretty good team over there, and it was fun to meet them. I&#8217;m sure they&#8217;re going to do great things. But what I&#8217;m not sure they realized was that I already work with a pretty great team here, and you&#8217;re not going to lure me away with a sub-par salary offer and a rigid, non-negotiable stance. Maybe they know it now, maybe they don&#8217;t.</p>
<p>I do feel better, at least, knowing that I&#8217;m not the only one who has been unable to get them to negotiate.  I hear Microsoft can&#8217;t do it, either.</p>
]]></content:encoded>
			<wfw:commentRss>http://bkocik.net/2008/04/08/abcdab-or-why-i-dont-work-for-yahoo/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Face it, Northern VA - there&#8217;s nothing northern about you</title>
		<link>http://bkocik.net/2007/12/28/face-it-northern-va-theres-nothing-northern-about-you/</link>
		<comments>http://bkocik.net/2007/12/28/face-it-northern-va-theres-nothing-northern-about-you/#comments</comments>
		<pubDate>Fri, 28 Dec 2007 16:21:03 +0000</pubDate>
		<dc:creator>bkocik</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<category><![CDATA[northernva]]></category>

		<category><![CDATA[northernvirginia]]></category>

		<category><![CDATA[nova]]></category>

		<category><![CDATA[southern]]></category>

		<category><![CDATA[virginia]]></category>

		<guid isPermaLink="false">http://bkocik.net/2007/12/28/face-it-northern-va-theres-nothing-northern-about-you/</guid>
		<description><![CDATA[I recently learned that people in Virginia - that&#8217;s people in general, certainly not every one of them - have a keen distaste for the state of Maryland and its contents. I don&#8217;t know why this is, much as I cannot explain to you why people from Michigan look south to Ohio with disdain, even [...]]]></description>
			<content:encoded><![CDATA[<p>I recently learned that people in Virginia - that&#8217;s people in general, certainly not every one of them - have a keen distaste for the state of Maryland and its contents. I don&#8217;t know why this is, much as I cannot explain to you why people from Michigan look south to Ohio with disdain, even though I myself hail from Michigan. In Ann Arbor, directions to Toledo are typically given as &#8220;South until you smell it, then east until you step in it.&#8221;</p>
<p>What I find more amusing, though, is the animosity between Virginia and West Virginia. I hear a lot about this, given that I have now lived in West Virginia and worked in Virginia for years. When Virginians hear that I live in West Virginia, they often have all manner of hilarious comments for me. I&#8217;m sometimes asked if I have a &#8220;yard car&#8221; or not (I don&#8217;t). Once, on a business conference call (yes, really) a woman who shall remain nameless (though who I&#8217;ll tell you I secretly referred to as &#8220;Scout Finch&#8221;, because that&#8217;s who she reminded me of) took a shot at West Virginia. I told her, as I&#8217;ve told others, &#8220;Being from the north, the thing I don&#8217;t understand is why you Virginians act like there&#8217;s some sort of a difference.&#8221; Clearly, this touched a nerve, because she shot back with some hostility, &#8220;There is a difference - we don&#8217;t chase our brothers and sisters around.&#8221; In a fit of quick thinking the likes of which I have experienced neither before nor since that moment, I replied &#8220;That&#8217;s only because they don&#8217;t run.&#8221;</p>
<p>She didn&#8217;t even try to recover. Someone tried to come to her aid with some dumb comment about ice fishing in Michigan that sort of fell flat, the awkward silence passed, and the world moved on.</p>
<p>You see, the thing is, I really work in <em>Northern</em> Virginia, most of the inhabitants of which it would seem consider themselves a completely separate state from not only West Virginia (which they are), but also from the rest of Virginia (which, of course, they are not). You will almost never hear anyone from <em>Northern</em> Virginia say they live in Virginia; they almost invariably will tell you they&#8217;re from <em>Northern</em> Virginia. But I remember in 5th grade having to learn all the states in alphabetical order - you know, for that song? - and I&#8217;m pretty certain there&#8217;s no <em>Northern</em> Virginia anywhere on it. Just plain old Virginia. In fact, there&#8217;s no Northern anything on the list. It goes straight from North Dakota to Ohio, with no stops in between.</p>
<p>When I think about <em>Northern</em> Virginia&#8217;s identity crisis, I&#8217;m both saddened and amused.  <em>Northern</em> Virginia is like the south&#8217;s very own Quebec. If you&#8217;re not familiar, Quebec is the province of Canada where everyone speaks French, acts French, thinks of themselves as French, and looks down upon the rest of the country for not being as French as they are. As far as Quebec is concerned, they&#8217;re more French than they are Canadian. What they don&#8217;t seem to grasp, though, is that France doesn&#8217;t claim them. France will happily tell them they are, in fact, a bunch of Canadians in denial. Similarly, <em>Northern</em> Virginians seem to fancy themselves part of the north (hence the <em>Northern</em>).</p>
<p>Sadly, as a genuine, bona fide, dyed-in-the-wool, has-forgotten-more-about-being-cold-than-<em>Northern</em>-Virginians-will-ever-know northerner,  I&#8217;m afraid I have some bad news. If you&#8217;re reading this and you&#8217;re from <em>Northern</em> Virgina, first, sorry for all the multi-syllabic words and complex sentence structures, and second: You&#8217;re southern. No, really. I know news like this is hard for you to hear, but you had to hear it. You are southern. The north does not claim you. Never has, never will. Our collective advice to you is to embrace your southern brethren before it&#8217;s too late and they refuse to take you back. You don&#8217;t want to be a land-locked island nation all on your own, do you? Probably not. You&#8217;ve got a pretty nice place here, actually. It would be a shame to see it wind up that way.</p>
<p>Besides, the only thing worse than a southern redneck is a southern redneck disguised in a 3-series BMW or Mercedes C-class. So embrace your southernness. Do what comes natural, whether it be buying a pickup truck with huge wheels and CB antennae tall enough to hit traffic lights as you pass beneath them, or wearing one of those tight tank-top style undershirts (commonly referred to as a &#8220;wife beater&#8221;) while you peruse the aisles of Wal-Mart in search of such trendy home decor items as Billy Bass, the singing fish. Go ahead, drink Budweiser from the can, I know you want to. Free yourselves from these senseless charades!</p>
<p>I mentioned that in addition to being saddened by the plight of the indigenous peoples of <em>Northern</em> Virginia, I&#8217;m also amused. It&#8217;s because - and it took me a while to realize this - their shots at West Virginia (which, by the way, is a real state separate from the rest of Virginia (lucky them); I looked it up) are really just self-deprecating humor. It used to bother me a little when <em>Northern</em> Virginians waxed disparagingly about the state I now live in (even though it&#8217;s not my home), but not now that I&#8217;ve realized they&#8217;re just lashing out at what they see in themselves like chickens attacking a mirror. Whenever a <em>Northern</em> Virginian asks me if I have a yard car yet, I know it&#8217;s because he secretly yearns for one of his own, and wishes to live vicariously through me. I also now realize this is why Scout Finch so vehemently reacted to my gentle suggestion that, from the viewpoint of real northerners, there&#8217;s not much difference between the hillbillies from West Virginia and the hillbillies from Virginia (nor those from <em>Northern</em> Virginia, since we&#8217;re on the subject).</p>
<p>I wonder if it was a brother or a sister she&#8217;d have chased after, if only they&#8217;d had the decency to run.</p>
]]></content:encoded>
			<wfw:commentRss>http://bkocik.net/2007/12/28/face-it-northern-va-theres-nothing-northern-about-you/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bluetooth Imports says &#8220;We&#8217;re among the most expensive&#8221;</title>
		<link>http://bkocik.net/2007/09/08/bluetooth-imports-says-were-among-the-most-expensive/</link>
		<comments>http://bkocik.net/2007/09/08/bluetooth-imports-says-were-among-the-most-expensive/#comments</comments>
		<pubDate>Sat, 08 Sep 2007 22:11:21 +0000</pubDate>
		<dc:creator>bkocik</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bkocik.net/2007/09/08/bluetooth-imports-says-were-among-the-most-expensive/</guid>
		<description><![CDATA[Sometimes you run across someone so profoundly dumb you do a mental double-take before realizing that, yes, they really did just do something that stupid.
Case in point: Today I was browsing around doing a little research on a Bluetooth headset I&#8217;ve had my eye on  when I stumbled across a site belonging to a [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you run across someone so profoundly dumb you do a mental double-take before realizing that, yes, they really did just do something <em>that</em> stupid.</p>
<p>Case in point: Today I was browsing around doing a little research on a Bluetooth headset I&#8217;ve had my eye on  when I stumbled across a site belonging to a company called <a href="http://www.bluetoothimports.com/">Bluetooth Imports</a>. Like so many online retailers, Bluetooth Imports purports to bring you and me &#8220;the best             products at the lowest prices possible&#8221;. I love a good deal as much as anyone, so I thought I&#8217;d check their price on the particular device I&#8217;m interested in.</p>
<p>According to their site,  they do offer a pretty good deal on the Aliph Jawbone I&#8217;m pondering. According to their site, they&#8217;ve knocked $30 off the regular price of $169.95, and will part with it for a paltry $139.95.</p>
<p>That is, according to their site. And I say &#8220;according to their site&#8221; because according to reality, that unit retails for $119.99, and can be had for significantly less than that all over the web.</p>
<p>Also according to their site, they offer the $169.99 Plantronics Discovery 665 for a mere $149.95. What a bargain! Except . . . the Discovery 665 is not regularly $169.99, it&#8217;s $149.95 at full retail, and can also be found for a lot less than that at dozens of sites around the web. Puzzled why a site that boasts &#8220;the lowest prices possible&#8221; would be so ridiculously overpriced, I wrote them a note. Unfortunately I used their web form to send the note, so I don&#8217;t have what I sent to them verbatim, but I recall pointing out these pricing disrepancies and asking the question, &#8220;Why are online sites that say they offer the lowest prices always the most expensive?&#8221;</p>
<p>They had an answer. They wrote me back, using a subject line of &#8220;Becuase&#8221; (their spelling, not mine), and this pubic relations pearl as the entire body of the message - save for their boiler-plate signature:</p>
<p>&#8220;We are online stores trying to make money please get over it and choose the cheapest.&#8221;</p>
<p>There you have it, folks. If you&#8217;re an online store trying to make money, it&#8217;s okay to mislead the public into thinking you&#8217;re giving them a discounted price on merchandise you&#8217;re actually charging full retail - or more - for. Bluetooth Imports said so. The thing that I love most about this response is that, essentially I asked them why they are among the most expensive merchandisers on the web for the products they&#8217;re selling, and they actually provided a reason. They didn&#8217;t refute it, they explained it. Oh, sure, they explained it with all the tact and language skills of a 7th grade drop-out, but the point is they explained it. They agree that they are amongst the most expensive out there; they have a reason for being so.</p>
<p>Yes, they really did just do something <em>that</em> stupid.</p>
]]></content:encoded>
			<wfw:commentRss>http://bkocik.net/2007/09/08/bluetooth-imports-says-were-among-the-most-expensive/feed/</wfw:commentRss>
		</item>
		<item>
		<title>8 Things</title>
		<link>http://bkocik.net/2007/09/06/8-things/</link>
		<comments>http://bkocik.net/2007/09/06/8-things/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 02:07:24 +0000</pubDate>
		<dc:creator>bkocik</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://bkocik.net/2007/09/06/8-things/</guid>
		<description><![CDATA[I&#8217;ve been tagged. I&#8217;m supposed to tell you (in case there is a you) eight things you (probably) don&#8217;t know about me.

I first attended college at the ripe old age of 12. I thought I was 14, but last Christmas the topic came up and my parents convinced me I was 12 (and of course [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been <a href="http://blog.kgiff.com/2007/09/tag_im_it.html">tagged</a>. I&#8217;m supposed to tell you (in case there is a you) eight things you (probably) don&#8217;t know about me.</p>
<ol>
<li>I first attended college at the ripe old age of 12. I thought I was 14, but last Christmas the topic came up and my parents convinced me I was 12 (and of course they&#8217;re right; it was 1987).</li>
<li>I can sing.</li>
<li>I used to be a locksmith.</li>
<li>I grew up in a house on a lake in Michigan. I&#8217;ve forgotten more about being cold than many of you will ever know, I believe that hockey is a religion, not a sport, and every once in a while you can still catch my accent (I&#8217;m told it sounds vaguely Canadian).</li>
<li>I am very mechanically inclined, and can fix all kinds of stuff.</li>
<li>I can do a killer Arlo Guthrie impression. I didn&#8217;t know this about myself until today.</li>
<li>I am staunchly opposed to capital punishment. If you want to know why, ask me.</li>
<li>I have been with my wife since we were teenagers. We both turned 32 this year (her 3.5 months more recently than I).</li>
</ol>
<p>I&#8217;m supposed to tag 8 people, but I only know so many people with personal blogs, and some of them are already tagged. So I&#8217;m tagging <a href="http://alankeister.wordpress.com/">Alan</a>, <a href="http://ultranormal.com">Kevin</a>, <a href="http://sixtwothree.org/blog/">Jason</a>, <a href="http://www.livejournal.com/users/r_riggs">Randy</a>, and <a href="http://15meanings.com">Will</a>. I have no idea how I&#8217;m supposed to alert them.</p>
]]></content:encoded>
			<wfw:commentRss>http://bkocik.net/2007/09/06/8-things/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BarCamp!</title>
		<link>http://bkocik.net/2007/08/13/barcamp-2/</link>
		<comments>http://bkocik.net/2007/08/13/barcamp-2/#comments</comments>
		<pubDate>Tue, 14 Aug 2007 03:17:37 +0000</pubDate>
		<dc:creator>bkocik</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bkocik.net/2007/08/13/barcamp-2/</guid>
		<description><![CDATA[
This is me trying to look like I know what I&#8217;m talking about at Barcamp in Washington, DC this past Saturday, August 11. This day was the most fun I&#8217;ve had in a long time, and I managed to learn a few things, too. I immediately went home and fixed some of my code based [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/groups/barcampdc/pool/" title="BarCamp DC Pool on Flickr"><img src="http://farm2.static.flickr.com/1359/1098806597_1167312748_m.jpg" title="Photo by Joe Loong" alt="Photo by Joe Loong" height="180" width="240" /></a></p>
<p>This is me trying to look like I know what I&#8217;m talking about at Barcamp in Washington, DC this past Saturday, August 11. This day was the most fun I&#8217;ve had in a long time, and I managed to learn a few things, too. I immediately went home and fixed some of my code based on things I learned there.</p>
<p>The event was very well run, which is due in no small part the outstanding efforts of <a href="http://sixtwothree.org" title="sixtwothree">Jason Garber</a>, <a href="http://oatmealstout.wordpress.com/">Justin Thorp</a>, and <a href="http://jounce.net/">Jackson Wilkinson</a>. The space to hold the event was graciously provided by <a href="http://www.fleishman.com/">Fleishman-Hillard</a>, and funding was provided by a number of generous sponsors, listed on the <a href="http://barcampdc.org/">BarCampDC home page</a>.</p>
<p>But by nature, the success of a BarCamp relies largely on its participants. I&#8217;m happy to say that the participants at this event were a great bunch. The presenters at all the sessions I attended knew their subject material exceptionally well, and they shared their knowledge willingly and eagerly.  The audiences were great, too, asking lots of good questions and contributing their own knowledge to the sessions.</p>
<p>The after party was a blast, which you have to expect when you put that many cool people in that small an area. Even though I spent most of the day and evening with folks <a href="http://blog.kgiff.com/" title="Kelly Gifford">I</a> <a href="http://www.tonycode.com/blog/" title="Tony Primerano">know</a> <a href="http://lawver.net" title="Kevin Lawver">from</a> <a href="http://www.g9g.org/" title="Porter Glendenning">work</a>, I also met several people I otherwise might not have. Everyone was friendly and just all-around <a href="http://dayofawesomeness.com" title="International Day of Awesomeness">awesome</a> (as Kevin might say).</p>
<p>As Mr. Garber said the other night, I, too, am in awe of the organizers and participants of this event.  I&#8217;m already looking forward to the next one with great anticipation.</p>
<p>I can&#8217;t say it enough - thank you organizers, thank you sponsors, thank you presenters, thank you Fleishman-Hillard, and thank you participants. Thank you everyone!</p>
]]></content:encoded>
			<wfw:commentRss>http://bkocik.net/2007/08/13/barcamp-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>habtm and the :id field</title>
		<link>http://bkocik.net/2007/07/26/habtm-and-the-id-field/</link>
		<comments>http://bkocik.net/2007/07/26/habtm-and-the-id-field/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 21:22:37 +0000</pubDate>
		<dc:creator>bkocik</dc:creator>
		
		<category><![CDATA[Ruby and Rails]]></category>

		<guid isPermaLink="false">http://bkocik.net/2007/07/26/habtm-and-the-id-field/</guid>
		<description><![CDATA[I spent all day today discovering something that&#8217;s both useful, and frustrating. To put it shortly, having a primary key on  the join table for your habtm relationship will cause you problems. But having an :id field that isn&#8217;t a primary key does something useful. Want details?
I was trying to figure out how, even [...]]]></description>
			<content:encoded><![CDATA[<p>I spent all day today discovering something that&#8217;s both useful, and frustrating. To put it shortly, having a primary key on  the join table for your habtm relationship will cause you problems. But having an :id field that isn&#8217;t a primary key does something useful. Want details?</p>
<p>I was trying to figure out how, even though my join table only defined a relationship between two records, ActiveRecord appeared to know which direction that relationship was created in.  I have two classes, Product and Language, which have a habtm relationship with one another. If I take a Product p, and a Language l, and do first &#8220;p.languages &lt;&lt; l&#8221; and then &#8220;l.destroy&#8221;, the row in the join table  holding this association survives. But, if I do &#8220;p.destroy&#8221;, the association goes away with p. It makes sense - but how the heck did ActiveRecord know that the relationship had been declared as &#8220;p having l&#8221; instead of the other way around? For the answer, follow this bouncing ball:</p>
<p>We begin with a language whose ID in the database is 1, and a product whose ID is 2 (just so we can tell them apart). When I do &#8220;p.languages &lt;&lt; l&#8221;, Rails does this in the database:</p>
<p>INSERT INTO languages_products (`product_id`, `<font color="#ff0000">id</font>`, `<font color="#3333ff">language_id</font>`) VALUES (2, <font color="#ff0000">1</font>, <font color="#3333ff">1</font>)</p>
<p>The color coding is there for a reason, and is a big hint as to what&#8217;s going on. Now, when I do &#8220;l.products &lt;&lt; p&#8221;, watch what Rails does:</p>
<p>INSERT INTO languages_products (`<font color="#3333ff">product_id</font>`, `<font color="#ff0000">id</font>`, `language_id`) VALUES (<font color="#3333ff">2</font>, <font color="#ff0000">2</font>, 1)</p>
<p>Do you see the trick? Watch what happens when I execute &#8220;p.languages.delete(l)&#8221;:</p>
<p>DELETE FROM languages_products WHERE product_id = 2 AND language_id IN (<font color="#3333ff">1</font>)</p>
<p>. . . and when I run &#8220;l.products.delete(p)&#8221;:</p>
<p>DELETE FROM languages_products WHERE language_id = 1 AND product_id IN (<font color="#3333ff">2</font>)</p>
<p>If you haven&#8217;t figured it out yet, what Rails is doing is cleverly using the id field in the languages_products table to tell it which side of the relationship holds the reference to the other side; in other words, which is acting as the &#8220;belongs_to&#8221;. Once it knows that, it knows whether or not it should delete the relationship. (Well, it doesn&#8217;t really &#8220;know&#8221; any of this - it&#8217;s using clever SQL to make it happen automatically).</p>
<p>Pretty slick if you ask me. But then it occurred to me to wonder - if ActiveRecord is (ab)using the id field to track the side of the relationship that holds the reference, what would happen if you tried to, for example, state that two products had a particular single language in their collection? The answer is, not surprisingly, this:</p>
<p>Mysql::Error: #23000Duplicate entry &#8216;2&#8242; for key 1: INSERT INTO languages_products (`product_id`, `id`, `language_id`) VALUES (3, 2, 2)</p>
<p>Since the id field on the join table is a primary key, you get a collision. So you have two options - you can either remove that field altogether (in which case all that smartness about the relationships goes away, which can be desirable if you want the relationship to be destroyed regardless of which side goes away), or you can include it, but not allow it to be a primary key. Remember that migrations create a primary key by default, and you have to explicitly tell it not to when you create your join table. In the case of Products and Languages:</p>
<p>create_table :languages_products, :id =&gt; false do |t|</p>
]]></content:encoded>
			<wfw:commentRss>http://bkocik.net/2007/07/26/habtm-and-the-id-field/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Accidental flight of the bird</title>
		<link>http://bkocik.net/2007/07/05/accidental-flight-of-the-bird/</link>
		<comments>http://bkocik.net/2007/07/05/accidental-flight-of-the-bird/#comments</comments>
		<pubDate>Fri, 06 Jul 2007 05:46:31 +0000</pubDate>
		<dc:creator>bkocik</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bkocik.net/2007/07/05/accidental-flight-of-the-bird/</guid>
		<description><![CDATA[Â 
Captured this on the Ohio Turnpike. I admire the guyâ€™s chutzpah, showing the world what he thinks of it even as heâ€™s passed out in the back seat of a car.
]]></description>
			<content:encoded><![CDATA[<p>Â <a href="http://bkocik.net/wp-content/uploads/2007/07/bird.jpg" title="Bird"><img src="http://bkocik.net/wp-content/uploads/2007/07/bird.jpg" alt="Bird" /></a></p>
<p>Captured this on the Ohio Turnpike. I admire the guyâ€™s chutzpah, showing the world what he thinks of it even as heâ€™s passed out in the back seat of a car.</p>
]]></content:encoded>
			<wfw:commentRss>http://bkocik.net/2007/07/05/accidental-flight-of-the-bird/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Reality</title>
		<link>http://bkocik.net/2007/07/05/9/</link>
		<comments>http://bkocik.net/2007/07/05/9/#comments</comments>
		<pubDate>Fri, 06 Jul 2007 05:39:54 +0000</pubDate>
		<dc:creator>bkocik</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bkocik.net/2007/07/05/9/</guid>
		<description><![CDATA[
Spotted these on a store shelf in Michigan. I wonder if &#8220;Reality&#8221; means that the box is actually empty.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://bkocik.net/wp-content/uploads/2007/07/reality.jpg" title="Reality"><img src="http://bkocik.net/wp-content/uploads/2007/07/reality.jpg" alt="Reality" /></a></p>
<p>Spotted these on a store shelf in Michigan. I wonder if &#8220;Reality&#8221; means that the box is actually empty.</p>
]]></content:encoded>
			<wfw:commentRss>http://bkocik.net/2007/07/05/9/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
