<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Work and Workings of a Nerd &#187; personal</title>
	<atom:link href="http://kevinleung.com/archives/category/person/feed/" rel="self" type="application/rss+xml" />
	<link>http://kevinleung.com</link>
	<description>A personal blog about what&#039;s on Kevin&#039;s mind.</description>
	<lastBuildDate>Wed, 16 May 2012 05:15:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Two Unrelated Stories</title>
		<link>http://kevinleung.com/archives/two-unrelated-stories/</link>
		<comments>http://kevinleung.com/archives/two-unrelated-stories/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 04:26:11 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://kevinleung.com/?p=792</guid>
		<description><![CDATA[Story 1 A few weeks ago, I was a little hungry late in the afternoon at work. I wasn&#8217;t hungry enough to even eat a granola bar, but definitely needed something to nibble on. While wandering through the mini-kitchen, I spotted a single fortune cookie sitting on the counter, left over from lunch a day ...]]></description>
			<content:encoded><![CDATA[<p><strong>Story 1</strong></p>
<p>A few weeks ago, I was a little hungry late in the afternoon at work. I wasn&#8217;t hungry enough to even eat a granola bar, but definitely needed something to nibble on. While wandering through the mini-kitchen, I spotted a single fortune cookie sitting on the counter, left over from lunch a day or two before.</p>
<p>It was the perfect snack. I unwrapped it as I was walking to my desk and thought about the story my sister once told me about fortune cookies. If you grab the two halves and snap it along the major fold, the fortune won&#8217;t come true. Open it any other way, however, and your future presumably will be set in stone. Well, seeing as most fortunes nowadays aren&#8217;t even fortunes (how does &#8220;Jealously is a useless emotion&#8221; predict anything about my future?), I now snap my fortune cookies in half. I did so, popped half in my mouth, and happily chomped away. I set aside the other half for later as I had by that point gotten back to my desk and was back to coding.</p>
<p>A minute or two later, I reached for the other half of the fortune cookie. Before putting it in my mouth, however, I noticed a corner of a piece of paper in it. Remembering the &#8220;fortune&#8221; part of the cookie, I tried to pull it out.</p>
<p>And all I found in there was that corner of the fortune.</p>
<p>I spent the next few minutes wondering whether I actually had a papery feeling in my throat or was just imagining things.</p>
<p><strong>Story 2</strong></p>
<p>Over this past weekend, the weather warmed up tremendously, and I swapped out my pants for shorts in honor of the spring. Although shorts are fine during the day, I wondered whether they would be appropriate for my bike ride to work. I leave relatively early: the sun is up, though it&#8217;s usually still cloudy, and pretty chilly in any case. Seeing as I was already wearing shorts, however, I determined that I would retire my jeans and velcro pants clip in positive thinking for a warm spring.</p>
<p>My ride in on Monday morning was nice. My legs didn&#8217;t feel cold, and my fleece kept my core just warm enough. It was colder than it was last summer, when I could get away without even a jacket, but I didn&#8217;t mind it at all. Having bike through wind, rain, and temperatures cold enough to see my breath, this was no problem. My bike ride went smoothly, and I arrived at work without a sniffly nose and on schedule. As usual, I put all of my non-working supplies into my helmet on the shelf to retrieve at the end of the day, then brought my backpack to my desk for a day of work.</p>
<p>Monday came and went, and at the end of the day, I went to my helmet to get ready to go. I stuffed my gloves in my backpack since I wouldn&#8217;t need them, then put my backpack on. I then noticed my velcro pants clip in my helmet, which I clearly didn&#8217;t use while wearing shorts on my bike ride in. Thinking back, I often leave my pants clip in my helmet at home for storage. Now, I only wish that my helmet didn&#8217;t give me such bad helmet hair so I could have observed a different indentation in the shape of my hair that day.</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinleung.com/archives/two-unrelated-stories/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My Thoughts on the Diablo 3 Beta</title>
		<link>http://kevinleung.com/archives/my-thoughts-on-the-diablo-3-beta/</link>
		<comments>http://kevinleung.com/archives/my-thoughts-on-the-diablo-3-beta/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 06:47:54 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[games]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://kevinleung.com/?p=789</guid>
		<description><![CDATA[Hopefully those of you who also spent years in Diablo 2 didn&#8217;t miss the big news last weekend that Diablo 3 was in open beta for stress testing. The servers were up and down as Blizzard presumably was testing various capacities and training staff responses, but it was a tremendous opportunity for many fans of ...]]></description>
			<content:encoded><![CDATA[<p>Hopefully those of you who also spent years in Diablo 2 didn&#8217;t miss the big news last weekend that Diablo 3 was in <a href="http://us.battle.net/d3/en/blog/4963739/Diablo®_III_Open_Beta_Weekend-4_19_2012">open beta</a> for stress testing. The servers were up and down as Blizzard presumably was testing various capacities and training staff responses, but it was a tremendous opportunity for many fans of the series, like me, to jump in and try out the game.</p>
<p>For the unfamiliar, Diablo 3 is the 3rd installment in a fantasy hack-n-slash RPG. It&#8217;s set in a medieval world full of magic, where you wield swords, bows, fireballs, and more in a series of dungeons to defeat the Lords of Hell. The basic gameplay involves killing lots of monsters, which, to an inexperienced observers, looks like running around and clicking on monsters until they die. The slightly more observant will note that the game takes place from an top-down 3rd person view, and to defeat the monsters, you must run up to them and click them until they die. The final component to the game is roleplaying: you focus on developing a single hero over the course of the game and becoming stronger (by killing monsters) so that your character has more skills, better statistics, and better equipment, so you can kill more monsters.</p>
<p>Despite the relatively simple premise, the game is tremendously addictive. Although there are major quests to complete, the world map transitions you from one area to the next, where hordes of monsters have nothing better to do than to wait around for you to walk past. Moreover, the game is constantly rewarding you for playing: every monster killed means more experience (to get you stronger) and possible dropped items that make be useful to you.</p>
<p>As I mentioned, Diablo 2 had a large influence on my development, so I sprung at the opportunity to play this weekend. In the beginning, I was hoping to play through all 5 available classes (Barbarian, Monk, Demon Hunter, Wizard, and Witch Doctor), though I fortunately had better things to do with my time. I started with the Barbarian and quickly became comfortable with the format. Thanks to things such as reddit, work, and email, my clicking skills remained top notch despite being out of the game for years, and I had no problem with that.</p>
<p>Blizzard tweaked the gameplay to make some things easier: gold is automatically picked up when dropped by nearby monsters, statistics about your character are presented in a useful manner, and potions are largely replaced by health orbs that appear from dead monsters. They also changed gameplay aspects to focus more upon gameplay choices: skills are automatically gained (with builds being dependent on &#8220;loadouts&#8221; of  currently available skills), the environment like falling chandeliers can be triggered to deal damage, and crafting items has become much more relevant. Overall, Blizzard has done a good job of cleaning up the game and making changes that may seem detrimental, but actually really improve the experience.</p>
<p>But let&#8217;s face it: most of the time is spent clicking monsters, and in that respect, this game is a solid follow-up to its predecessors. And it&#8217;s for precisely that reason that I think I&#8217;ll pass on playing Diablo 3.</p>
<p>Unlike in &#8220;MacGruber&#8221;, the game is the same, but the players have changed. As snobby as it sounds, Diablo just doesn&#8217;t have quite enough to it to make me feel that it&#8217;s worth my time. Among my current interests, video games should be a low priority. And among video games, it doesn&#8217;t have the plot line of other RPGs like Mass Effect or the strategic depth that makes you feel like you&#8217;re learning like StarCraft. Out of Diablo, I get slightly better stats on my character and a worn-out mouse. Walking away from a game of Diablo frankly feels a little worse than I started because I&#8217;m only left with the desire to keep playing and feel the incremental improvement of a game that is purely <a href="http://en.wikipedia.org/wiki/Grinding_(video_gaming)">grinding</a> (that&#8217;s video game &#8220;grinding&#8221;. You better hope there&#8217;s no dancing grinding in this game).</p>
<p>The one thing that might convince me to jump back in is if there&#8217;s sufficient desire from my friends to play: it&#8217;s a half-decent social experience. But given the choice, I might push to do something else.</p>
<p>Overall, well done, Blizzard: you&#8217;ve improved the experience of a tried and true game. Sorry that I&#8217;m no longer part of your target audience.</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinleung.com/archives/my-thoughts-on-the-diablo-3-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Potlucking Like It&#8217;s Your Job</title>
		<link>http://kevinleung.com/archives/potlucking-like-its-your-job/</link>
		<comments>http://kevinleung.com/archives/potlucking-like-its-your-job/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 04:58:54 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[food]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://kevinleung.com/?p=784</guid>
		<description><![CDATA[My friends and I have a lot of potlucks. We haven&#8217;t had as many recently, but last summer, we had them weekly on Friday nights, and I thought it was a great way to hang out. It&#8217;s cheaper than going to a restaurant, exposes you to interesting creations, and hopefully gives you something to be ...]]></description>
			<content:encoded><![CDATA[<p>My friends and I have a lot of potlucks. We haven&#8217;t had as many recently, but last summer, we had them weekly on Friday nights, and I thought it was a great way to hang out. It&#8217;s cheaper than going to a restaurant, exposes you to interesting creations, and hopefully gives you something to be proud of. Having done a few, I have a few suggestions for potlucks, both in planning and cooking.</p>
<p>In terms of planning, I think the most important thing is to have a theme. This might range from something conventional, such as &#8220;Chinese food&#8221; to something quirky, such as &#8220;food that looks like other food.&#8221; Great potlucks often involve a lot of discovery, and constraints often generate very creative results. Otherwise, potluckers may fall back onto their tried-and-true recipes and not take advantage of the opportunity to explore their next big dish.</p>
<p>Second, it helps to either assign or publicize choices for courses. Horror stories of potlucks usually involve little diversity in food, and unless you were planning a lasagna cook-off, you might get tired of lasagna by your 4th serving. My friends and I used a Google Spreadsheet, where we could record location, time, theme, attendance, and dishes in advance to help out with organization. Other than the token amount of trolling that must come with the internet, it worked well to keep the meals diverse.</p>
<p>Once the logistics are out of the way, you can focus on your personal contribution to the meal. Although you might be shooting for creating the perfect meal, potlucks have unusual constraints that make some meal choices better or worse than other. Specifically, you want to serve food to many people after carrying it to the desired location. Depending on your choice of dishes, these constraints may be detrimental.</p>
<p>First, you need to be able to feed everyone who attends. You might have a great recipe for creme brulee, but when you only have 6 ramekins, you might end up a little short. On the other hand, remember that everyone will be bringing food, so you actually don&#8217;t need to contribute that much. The rule of thumb to make as much as you could eat personally doesn&#8217;t really work, since at least I don&#8217;t have a good sense for how many a meal&#8217;s worth of cocktail shrimp is. It all depends on what the distribution of courses is, but factor that into how much you make.</p>
<p>Second and furthermore, your meal should be easily distributable to those who like your meal more and less. Even if you have enough to feed everyone, personal-sized portions may leave many bread bowls half-eaten and burger-loving stomachs partially sated.  In general, food that requires a serving utensil are good, and food that is taken whole is suspect.</p>
<p>Third, your meal should be okay if left to sit for an hour or more. Between transportation, late arrivals, and general merriment, it can often be a long wait before your dish gets eaten, and that shouldn&#8217;t be a problem. I myself have failed this test many times, and although I feel industrious cooking while others are chatting, it&#8217;s a bummer to not be involved in the party that a potluck is. So, things that can get cold and can&#8217;t be revived by the microwave, such as most things crispy or a lot of meat, may not turn out very well by serving. You&#8217;ll get sympathy for your meal, but wouldn&#8217;t you rather have a delicious dish. The rules here obviously vary, depending on what the kitchen situation is at the potluck location. Most salads are fine if plopped in the fridge, it&#8217;s usually not a problem to bake something on the spot (as long as it doesn&#8217;t require too much checking), and soups can be kept at a simmer.</p>
<p>So those were a lot of rules, and I haven&#8217;t given you many good choices. Here are a few that I think work well:</p>
<ul>
<li>just about any cold salad. Leave the nuts, other toppings, and salad dressing to mix in just before serving</li>
<li>soups and stews. You&#8217;re supposed to let them sit anyways, and most can be warmed on the stove or nuked at the last minute</li>
<li>cookies. I&#8217;ve found that by dessert, most people are usually stuffed, and cookies are a small enough offering that everyone will take at least 1</li>
<li>do it yourself foods of any variety. Offloading cooking to the consumer makes your life easier, allows everyone to customize as they desire, and usually means that the components can be left to sit for awhile beforehand</li>
</ul>
<p>Happy potlucking!</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinleung.com/archives/potlucking-like-its-your-job/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>From Marshmallows to Tracking in the American West</title>
		<link>http://kevinleung.com/archives/from-marshmallows-to-tracking-in-the-american-west/</link>
		<comments>http://kevinleung.com/archives/from-marshmallows-to-tracking-in-the-american-west/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 05:20:35 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[psychology]]></category>

		<guid isPermaLink="false">http://kevinleung.com/?p=781</guid>
		<description><![CDATA[I&#8217;m currently reading Jonah Lehrer&#8217;s &#8220;Imagine&#8221;, a new book on what creativity is and where it comes from in the brain. He explores many, often contradictory, concepts and elucidates parts of creativity, which may be the quintessentially mysterious force of the universe. He talks about artists, such as Bob Dylan, who needed to retreat from ...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently reading Jonah Lehrer&#8217;s &#8220;Imagine&#8221;, a new book on what creativity is and where it comes from in the brain. He explores many, often contradictory, concepts and elucidates parts of creativity, which may be the quintessentially mysterious force of the universe. He talks about artists, such as Bob Dylan, who needed to retreat from a hectic tour to the middle of nowhere in Woodstock, New York to escape the musical world and reach his creative genius. He talks about academics and inventors, such as Paul Erdos, who needed amphetamines and caffeine tablets to focus intensely upon the problem at hand to be creative. Altogether, the book really is a great exploration of topics that can truly affect your approach to life, so even if you don&#8217;t get around to reading it, I recommend you listen to<a href="http://www.kqed.org/a/forum/R201204041000"> this hour-long segment</a> on the local NPR affiliate where Jonah talks through many ideas and answers questions about creativity.</p>
<p>I&#8217;m a big fan of Jonah&#8217;s work, and as hipster cred, I was reading his blog, The Frontal Cortex, since before he published his first book, &#8220;Proust was a Neuroscientist&#8221;. His work is everywhere and is serious enough that I got a reference to it from my cognitive psychology class. We were talking about cognitive control, and psychologists love to use the <a href="http://en.wikipedia.org/wiki/Stanford_marshmallow_experiment">marshmallow test</a> as an accessible example of its importance. The test is simple: put a child in a room in front of a marshmallow and tell them that if they can resist eating it for 15 minutes, they will receive another marshmallow for 2 in total. Then, leave the room and see what happens.</p>
<p>They recently replicated the experiment, and you can watch<a href="http://www.youtube.com/watch?v=QX_oy9614HQ"> a fun video</a> of children squirming and sometime succumbing. Jonah had quite a good, albeit somewhat long, <a href="http://www.newyorker.com/reporting/2009/05/18/090518fa_fact_lehrer">article in the New Yorker</a> about the marshmallow test, where he goes into further detail for why people still care about a study done decades ago. Walter Mischel, who conducted the original test, surveyed the participants decades later, and discovered that those who could keep themselves from devouring the single marshmallow had higher SAT scores, better social skills, and a bunch of other presumably good traits. For a 15 minute test, it had incredible predictive power.</p>
<p>Upon analysis, they determined that the key was self-control. The ability to delay gratification and resist temptation was how those children avoided the trap of the marshmallow and kept up their study skills years later. Although these lasting effects from a young age may sound like a genetic predisposition, psychologists (last I heard) didn&#8217;t have a conclusive answer on whether self-control could be effectively trained as well. For the children in the test, the trick to success was some tactic other than sheer will. That might be imagining a glass box around the marshmallow or sitting on one&#8217;s hands.</p>
<p>A few years ago, self-control was the chic, super-finding in cognitive psychology that would make us all geniuses. All we had to do was figure out how to teach self-control. But psychology, being a common topic in popular science, has its own fads. Being a fad doesn&#8217;t necessarily make the finding any less true, but it may mislead the casual reader. For example, I think bilingualism was a psychology fad awhile ago: it&#8217;s still good for you, but it just isn&#8217;t the big new secret right now.</p>
<p>Right now, I think Jonah continues to lead the charge, and grit is up and coming. <a href="http://en.wikipedia.org/wiki/Grit_(personality_trait)">Grit</a> is the fixation on a difficult goal, the will to overcome failure many times over, the constant push to learn against adversity. Jonah discusses it in &#8220;Imagine&#8221; as the flip side to classic notions of creativity. Exciting creativity is the moment of insight, like turning falling apples into a theory of gravity and burrs in clothing into velcro. Prosaic creativity is Beethoven rewriting the same bit of music dozens of times and Steve Jobs iterating through many designs of Apple products. It&#8217;s the latter case of single-mindedness where grit produces creativity.</p>
<p>So Jonah argues that grit is good for creativity, but he cites <a href="http://www.sas.upenn.edu/~duckwort/">Angela Duckworth</a>&#8216;s work on it. She started in grit by trying to find the best predictor for the retention rate of West Point cadets through the first 2, very intense summer months of training. And as you might predict by my setup, <a href="http://www.sas.upenn.edu/~duckwort/images/Grit%20JPSP.pdf">grit best predicted success</a>. It was a better predictor than SAT scores, self-control, school rank, leadership potential, and physical aptitude. These measures, which intuitively seem like the exact talents one needs to be successful, somehow don&#8217;t pan out as well as the ability to just &#8220;stick with it&#8221;, and further research by Duckworth has extended this finding into other domains.</p>
<p>This finding, at first glance, sounds like psychologists again telling us something we already knew. We&#8217;ve all heard the story of Michael Jordan getting cut from his high school team, practicing hard, and becoming the greatest ever. But even as we all agree, we still determine college admission by SAT scores, NFL draft picks by the Scouting Combine, and job offers from short technical questions in an interview. Clearly we need to refocus our society towards grit, and <a href="http://www.nytimes.com/2011/09/18/magazine/what-if-the-secret-to-success-is-failure.html?pagewanted=all">teach children to become grittier</a>. Grit and self-control sound so similar; we should be able to roll it all into one.</p>
<p>But they&#8217;re not quite the same. Duckworth found a correlation of .66 between self-control and grit scores in National Spelling Bee contestants, which is strong, but not perfect. The difference between them is time. Self-control keeps you from reaching for an extra scoop of ice cream. Grit keeps you on your diet for years. It&#8217;s subtle, and I myself didn&#8217;t quite believe the difference until I reflected upon myself and saw them come apart.</p>
<p>I think I&#8217;m a pretty disciplined person. I don&#8217;t have any difficulty waking up with my alarm in the morning and don&#8217;t mind doing chores before it becomes critical. Like the children who best resisted the marshmallows, I use tricks to keep myself honest. My general approach is to be cynical about my future self. Today, I want to be productive tomorrow. Tomorrow, I&#8217;ll want to be lazy. To avoid falling into those traps, I put a lot of effort into tying my hands on things. I&#8217;ll make plans for a meal to force myself to go grocery shopping, put reminders all along my path, write extensive to do lists, or simply do things ahead of time. Overall, it works to keep me on-track day to day.</p>
<p>As proud as I am about that fact, it was a somewhat disappointing realization that I&#8217;m not a gritty person. I&#8217;m fortunate that I have been successful and happy with a lot of things that I do, yet I have let myself drop many passions after encountering adversity.</p>
<p>I was naturally gifted at tuba when my band director asked to consider switching freshmen year of high school, and I had a good run. I almost immediately got promoted to 1st chair in the top band and subsequently made region band the next 3 years, narrowly missing area my senior year. But then I came to college, auditioned for both the orchestra and wind ensemble, and made it to neither of them. I dallied around with jazz bass trombone, vaguely kept practicing tuba, and even played in the orchestra for a summer. But I mostly gave that up after those auditions.</p>
<p>In high school, I studied for the AP psychology exam out of interest and nailed that one. I came to college interested in psychology, only took my first psychology course junior year, then did research that summer. I applied for PhD programs the following winter, and was rejected from either 6 or 7 different programs. Now, I&#8217;m a software engineer who loves psychology but can&#8217;t really imagine enduring the same grad school application process again.</p>
<p>In a better life, I would be a grittier person, and even now, I feel as though simply being aware of this problem makes me better prepared to deal with adversity in the future. I know that this trait is a weakness of mine, and when things get tough, I just need to steel my mind with the discipline I have to do push through.</p>
<p>The close to this post is going to be somewhat awkward and may seem like a rationalization, but it&#8217;s mostly just rage at the half-truths of science journalism.</p>
<p>I gave you an amazing story about the importance of grit. Particularly, the West Point part had grit triumph over the classic winners (smarts and raw talent) as well as the recent incumbent (self-control) as the best predictor for success. Well, the study actually said that it was the best predictor for getting through the 2 months. The rest of the story takes a little more explaining.</p>
<p>In <a href="http://www.sas.upenn.edu/~duckwort/images/Grit%20JPSP.pdf">the study, Duckworth et al.</a> measured performance not only on summer retention, but also on GPA the following spring and Military Performance Score, or MPS. MPS was aggregated from performance ratings on military-related activities, both academic and non-academic. The 3 different predictors used were grit, self-control, and Whole Candidate Score (or WCS, an acronym that unusually was not used in the original paper), which combined school rank, SAT scores, leadership potential, and physical aptitude.</p>
<p>As reported, grit best predicted summer retention, with self-control coming in next, and WCS being non-predictive. On GPA and MPS, however, grit was not the best predictor. WCS, which aggregates measures of aptitude, was substantially more predictive of these 2 measures, with self-control coming in 2nd on both (but not very strongly), and grit not correlating for much.</p>
<p>This isn&#8217;t a deathblow to grit: there are several other studies in the paper that demonstrate the importance of grit, and nothing said so far is untrue. The point here is that it&#8217;s important not to compare apples and oranges, and if you do, not to overstate what the results mean. Grit predicted retention because that&#8217;s what grit is: it&#8217;s hanging tough. WCS predicted MPS and GPA because that&#8217;s what WCS is: a weighted measure of past GPA and other performance ratings. Whether one result is a better definition for &#8220;success&#8221; is beyond me, but it&#8217;s important to know what the science says.</p>
<p>This post has wandered a lot, but I guess the short version is to be gritty, but don&#8217;t get too excited about it. It&#8217;s a funny feeling for me to find out that it took science to convince me to be a better person. Although I had questioned my persistence before, I only really believed it to be important when I read a paper that gave me specific results. I guess the self-help section dominates the popular psychology section in bookstores for a reason, but I think I&#8217;ll keep telling myself that I&#8217;m just in it for the science.</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinleung.com/archives/from-marshmallows-to-tracking-in-the-american-west/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A Brief Introduction to Arkham Horror</title>
		<link>http://kevinleung.com/archives/a-brief-introduction-to-arkham-horror/</link>
		<comments>http://kevinleung.com/archives/a-brief-introduction-to-arkham-horror/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 04:00:06 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[games]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://kevinleung.com/?p=772</guid>
		<description><![CDATA[(Note: post was started last weekend, so the dates are a little off) As of a week and a half ago, I&#8217;m done with school. I took my last final, graded a ton of exams, and promptly got on with all of the things that I didn&#8217;t do because of classes. The most concrete of ...]]></description>
			<content:encoded><![CDATA[<p><em>(Note: post was started last weekend, so the dates are a little off)</em></p>
<p>As of a week and a half ago, I&#8217;m done with school. I took my last final, graded a ton of exams, and promptly got on with all of the things that I didn&#8217;t do because of classes. The most concrete of those was that I started work at Zanbato the following Monday, but more importantly, I&#8217;ve been playing lots of games. I played Magic: The Gathering for the first time in perhaps a year, and Friday night, several friends and I met to spend 4 hours losing horribly at Arkham Horror, yet absolutely enjoying it. It&#8217;s a slow game, but let me give you the pitch for why you should come by to play with me. Simply, Arkham Horror is a cooperative, adventure board game based on the works of H.P. Lovecraft where you fight monsters, close gates to other worlds, and try to avoid going insane before The Ancient One comes to devour Earth. Let me break that up.</p>
<p>First, Arkham is a town in Massachusetts that&#8217;s at the center of many of H.P. Lovecraft&#8217;s horror stories. If you don&#8217;t know Lovecraft&#8217;s work, you are perhaps familiar with the Cthulhu, which has become part of pop culture since he was writing in the early 20th century. His style is somewhat hard to describe, but in his world, there are horrors beyond the ability of humans to comprehend, and the characters of his story often encounter extraterrestrial and fantastic creatures in the course of their adventures. My friends and I often joke about how unoriginal he is between his works, with his descriptions at best being as explanatory as &#8220;eldritch&#8221; or &#8220;non-euclidean&#8221;, or more typically of the &#8220;horrors beyond all description&#8221; variety. Even so, he developed a rich mythos that should capture your imagination and shouldn&#8217;t leave you scared out of your wits if that&#8217;s not your preference. All of his work is now apparently free and available <a href="http://www.hplovecraft.com/writings/texts/">online</a> or in <a href="http://cthulhuchick.com/free-complete-lovecraft-ebook-nook-kindle/">ebook</a> format.</p>
<p>This mythos gets compacted into a board game, where the monsters you fight are all Lovecraft classics, and various encounters are pulled straight out of his stories. I played Arkham Horror before reading his work, and now having read it, I find the game much more amusing as I recognize the references.</p>
<p>Second, it&#8217;s a cooperative board game, which means that all of the players are working together to &#8220;beat the board.&#8221; Unlike many other board games that require you to go after and knock other players out of the game, this game has a common goal for everyone. This makes it easier to get into the game as there is no conflict of interest in players helping newer players to learn. Like in Craps, everyone around you is on your side as you roll the dice, and at the end of the game, there&#8217;s either a sense of shared triumph or shared humility.</p>
<p>Third, it&#8217;s an adventure game, so you play as an investigator running around between various locations in Arkham and temporarily through gates into other worlds. Every turn, new monsters appear on the board as gates open from Arkham locations to other worlds, and your goal as a team is to close all of the gates by traveling to other planes, hopefully before the Ancient One comes for the final showdown. Along the way, you have encounters at each location, typically inspired by actual Lovecraft stories. The game can be very capricious and is typically very cruel, where you must roll a dice to determine whether you receive the pretty bad or very bad outcome. Although the rules are quite complex, the actual choices can be made without needing to think too hard about it. On the other hand, it requires a lot of coordination of actions, and you&#8217;re welcome to strategize as much as you want.</p>
<p>Once, Arkham Horror might have been categorized as a serious board game, but I get the sense that it&#8217;s become a bit too mainstream for true board game snobs. But that&#8217;s probably for the best, and it&#8217;s at least a good vote of confidence in the accessibility of the game. The main downside to the game is that it is slow. Games can easily take 3-4 hours, especially if you&#8217;re either new or not playing particularly quickly. But even 4 hours of crushing defeat can be fun as a shared experience among friends. If you&#8217;re around, let me know if you want to try it out. I hope you&#8217;ll enjoy it as much as I do.</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinleung.com/archives/a-brief-introduction-to-arkham-horror/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Purchasing the Right Mouse</title>
		<link>http://kevinleung.com/archives/purchasing-the-perfect-mouse/</link>
		<comments>http://kevinleung.com/archives/purchasing-the-perfect-mouse/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 01:53:12 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://kevinleung.com/?p=757</guid>
		<description><![CDATA[Low motivation to do schoolwork and being caught up in work caused me to spend an hour and a half of researching about computer mice this evening*. The result is a feeling of satisfaction, decent knowledge of mice, and 3 notifications on slickdeals for mice that I will instantly buy. Like most things I do, ...]]></description>
			<content:encoded><![CDATA[<p>Low motivation to do schoolwork and being caught up in work caused me to spend an hour and a half of researching about computer mice this evening*. The result is a feeling of satisfaction, decent knowledge of mice, and 3 notifications on <a href="http://slickdeals.net/">slickdeals</a> for mice that I will instantly buy.</p>
<p>Like most things I do, I simmered on the idea of buying a mouse for a few weeks as I found more and more reasons to do something about it. My current mouse is a <a href="http://www.amazon.com/Logitech-MX700-Cordless-Optical-930754-0403/dp/B00006HZ0L">Logitech MX700</a>, an apparently decade-old piece of hardware that I&#8217;ve used for just over half that time. I got it as a peripheral to a computer I was supposed to fix up and reallocate, and it was a great change. Previously, I had used a cheap, dependable Microsoft optical mouse without any particular concern about how it felt. This mouse, however, felt much better: it was larger to fit my hand better, it had a thumb indentation for better grip, it was much heavier, and overall, it was just much more comfortable to use. I&#8217;m using it for this post right now, and it still feels good.</p>
<p>But I also use a <a href="http://www.logitech.com/en-us/mice-pointers/mice/devices/5845">Logitech Performance Mouse MX</a> at the office, and it&#8217;s also awesome. Found in a random pile of peripherals, its shape has the same indentation and feel that I like about this mouse, but it&#8217;s better in other ways, too. I thought I liked the heft of my MX700, but it turns out that the much lighter Performance Mouse also works: the size was more important. According to <a href="http://www.razerzone.com/mouseguide">Razer</a>, I&#8217;m a palm grip guy, and I like tall mice that fit into my palm. And while I have to charge my mouse every few days, I used the Performance Mouse on low battery for 6 months. And it also doesn&#8217;t have a huge dock/receiver, like my MX700. So given how many hours a day I use my mouse, it&#8217;s time to upgrade.</p>
<p>It&#8217;s honestly been awhile since I&#8217;ve needed to do serious shopping research. I&#8217;ve been contemplating my next computer setup, but since I&#8217;m a Mac user, there are actually very few choices, and the deciding factors are larger usage questions. In looking at mice, there are tons of small questions: optical or laser? Wired or wireless? How many DPI? What about the shape? Ultimately, most of these choices aren&#8217;t going to matter too much to me, and as overwhelming as it seemed, I think I&#8217;ve figured it out in about an hour.</p>
<p>My primary concern is to get a comfortable mouse. First, it should be a full-sized (not a mobile/compact) mouse. Second, it should be shaped for my hand, which would include a mouse indentation. Finally, it shouldn&#8217;t be light, as I have developed a preference for slightly heavier mice. Oddly, I discovered that this meant that I need to look at gaming mice. Nowadays, the best computer peripherals are gaming devices, and although I certainly do get my game on, I primarily want a good mouse for daily use. I&#8217;m already an emacs user who will develop carpal tunnel from how I need to <a href="http://en.wikipedia.org/wiki/Editor_war#Humour">use the keyboard anyways</a>, so I might as well be as comfortable as possible with my mouse. So, all the details about DPI and extra random buttons weren&#8217;t particularly important.</p>
<p>Research went relatively quickly. I had previously accumulated a few links from random browsing, so I put all of those into a spreadsheet. In total, I had 11 mice with some basic spec and price points. From there, I used Google product search to find reviews for each and sorted them according to my preferences given all details. This narrowed me down to a list of 3 mice that seemed roughly equivalent and worth buying: the <a href="http://www.logitech.com/en-us/mice-pointers/mice/devices/optical-gaming-mouse-g400">Logitech G400</a>, the <a href="http://store.razerzone.com/store/razerusa/en_US/pd/productID.169416100/parentCategoryID.35208800/categoryId.35210600">Razer DeathAdder</a>, and the <a href="http://www.logitech.com/en-us/mice-pointers/mice/devices/gaming-mouse-g500">Logitech G500</a>. All of them appear to have roughly the shape I want, aren&#8217;t too expensive when on-sale ($30 or $40), and are well-reviewed. At that point, I googled direct comparisons between them, which yielded a ton of forum threads on exactly this choice. As I figured, the preferences there were a wash as various people spoke up for personal preferences and mentioned their own particular malfunctions with each device.</p>
<p>I think this is where I call it a draw and let price and chance decide for me. I have deal notifications on slickdeals setup for each mouse, and when a good deal comes up on any of them, I&#8217;ll be upgrading. Sadly, I saw the G500 come and go less than a week ago while I was still deliberating whether to researching buying a nice mouse or not.</p>
<p>Anyways, that&#8217;s about it. This post ended up being a lot drier than I was shooting for, but that&#8217;s okay. I have 2 takeaways from the experience, which you might consider as well.  First, a lot of shopping research is really easy nowadays. The number of choices and unimportance of most of them can be overwhelming, but a combination of a well-deliberated system and a ton of opinions from others got me through the process in almost no time.</p>
<p>Second, it&#8217;s worth thinking about computer and desk peripherals if you spend as much time at a computer as I do. At the beginning of college, my desk was my Macbook Pro 15-inch screen, its built-in keyboard, and my MX700. Now, I&#8217;m on a 23-inch LCD screen and an external keyboard, looking to buy a new mouse, and more comfortable than I&#8217;ve ever been before. So if you haven&#8217;t thought about your mouse much until reading this post, I recommend it. Even if it makes you feel like a tool or a nerd, I recommend looking at the <a href="http://www.razerzone.com/mouseguide">Razer Gaming Mouse Advisor</a>, which can help you think through what you should look for in a mouse.</p>
<p>Or if you can wait, there will be a Logitech MX700 coming onto the market as soon as one of my deal alerts fires. It&#8217;s in fine condition, will come with rechargeable batteries, and may be more comfortable than any mouse you&#8217;ve ever used before. There might even be a blog-reader&#8217;s discount.</p>
<p>* not actually written this evening. I backlog and space out my blog posts nowadays. As of this evening, I have already bought the G400. Anyone want a MX700?</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinleung.com/archives/purchasing-the-perfect-mouse/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Perfect System for Grading Problem Sets</title>
		<link>http://kevinleung.com/archives/the-perfect-system-for-grading-problem-sets/</link>
		<comments>http://kevinleung.com/archives/the-perfect-system-for-grading-problem-sets/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 04:25:48 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://kevinleung.com/?p=753</guid>
		<description><![CDATA[I have been TA-ing for Computer Science theory classes for the past 3 quarters, and the work is mostly grading. The assignments are almost all problem sets where students write proofs to show that an algorithm works, how to solve a particular type of problem, or something of that sort. I have mostly avoided needing ...]]></description>
			<content:encoded><![CDATA[<p>I have been TA-ing for Computer Science theory classes for the past 3 quarters, and the work is mostly grading. The assignments are almost all problem sets where students write proofs to show that an algorithm works, how to solve a particular type of problem, or something of that sort. I have mostly avoided needing to read through mathematical derivations, but I do need to read through a lot of logical reasoning.</p>
<p>Each quarter has also been a different class with a different professor with a different system for problem sets. I certainly don&#8217;t have the years of experience that they do, but in my limited experience, ease of grading can vary tremendously based on the system. Here is my proposal for the perfect setup.</p>
<p>First, all problems have page length recommendations and maximums (e.g. the solution to problem 1 must be less than a page). There are definitely forces pulling in opposite directions for proofs. For students, it&#8217;s best to write as much as possible so that the right answer might appear somewhere. For graders, it&#8217;s best for it to be as short as possible to reduce the amount to read. Moreover, many problems are intended to have relatively elegant answers. To work towards this, all problems should have a maximum page limit as well as a recommendation for how complex a problem generally is. This forces students to be concise and construct good proofs.</p>
<p>Second, there are no late days allowed on assignments, but the lowest score will be dropped at the end of the quarter. Dealing with late days is a mess. It&#8217;s one more thing to keep track of. There are inevitably problems determining exactly when students submit. And you can&#8217;t grade all of the assignments early in one sitting if some are still out there. Hard deadlines are easiest, but there are always tricky circumstances, so it&#8217;s best to be flexible. And the hard deadline even benefits students, as it guarantees that graders can return assignments sooner.</p>
<p>Third, all assignments must be written up in <a href="http://www.latex-project.org/">LaTeX</a> and submitted electronically. Bad handwriting is bad news. It&#8217;s frustrating for graders and hurts a student&#8217;s grade if something is indecipherable. Typesetting gets around this problem quite easily as anything short of Wingdings is easy to read. To make it easier for students, a problem set template should be offered, as well as the .tex for the problem set itself, so they can easily copy the necessary symbols and formatting. Typesetting is a good skill for academics to have, and especially in a theory class, it&#8217;s the closest that many, often programming-oriented, students are going to get o code.</p>
<p>Fourth, all assignments are submitted electronically via a site that accepts the .pdfs generated by TeX. We&#8217;ve done submission via email for the past 2 quarters, and it&#8217;s a mess. It&#8217;s annoying to deal with the flood, and there&#8217;s a surprising amount of ambiguity in pairing up students and their work (especially when splitting grading by the alphabet). To get around this, the script should automatically identify students by their school ID and route the assignments appropriately.</p>
<p>Fifth, some application exists to grade easily. Optimally, it allows the grader to click through assignments and pull up the pdf in turn. Graders can easily flip back and forth between that, the problem description, and the solution. Annotations can be made directly into the pdf, and the grade can be inputted on the same page. Those get compiled into a database/spreadsheet, and problem sets are returned by a click of the button: students are emailed back marked up versions of their assignment with the score also there. Somebody do this: it&#8217;ll be awesome.</p>
<p>Sixth, each grader is responsible for grading a different problem, not a subset of problem sets. This ensures consistency in grading and is easier for the grader to not have to switch mindset between problems. I&#8217;m somewhat ambivalent on the use of error codes or rubrics: I have one in mind when I grade, but I like to be able to ding more or less points depending on the severity of the mistake made.</p>
<p>I think that&#8217;s about it. Given my current workflow for problem sets, I think this has a few small improvements over a pretty good system now. It might seem like a very grader-biased process, but remember: happy graders are nice graders.</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinleung.com/archives/the-perfect-system-for-grading-problem-sets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Supporting brick and mortar stores</title>
		<link>http://kevinleung.com/archives/supporting-brick-and-mortar-stores/</link>
		<comments>http://kevinleung.com/archives/supporting-brick-and-mortar-stores/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 04:05:33 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://kevinleung.com/?p=737</guid>
		<description><![CDATA[I was raised on shopping malls. Living in the surburbs of sprawling metropolitan areas my entire childhood meant being brought along on various trips. My mom would often deposit me at the bookstore, or better yet, the toy store, while she went off and took care of real shopping. During that time, I became familiar ...]]></description>
			<content:encoded><![CDATA[<p>I was raised on shopping malls. Living in the surburbs of sprawling metropolitan areas my entire childhood meant being brought along on various trips. My mom would often deposit me at the bookstore, or better yet, the toy store, while she went off and took care of real shopping. During that time, I became familiar with the entire line of Legos, learned the rules of D&amp;D, and played the first 10 minutes of countless video games at demo stations.</p>
<p>Over time, I grew up. A little. I could stand to shop with my mom when she was looking at pants for me (instead of her needing to find me after having scouted out the prices). But now, I rarely go to malls. I&#8217;m of the impression that they aren&#8217;t quite as important here in the Bay Area as they were back in Katy, Texas, but on the whole, I don&#8217;t do much shopping in-person anymore. Part of that is not having a car to get to such places, but even that&#8217;s okay, because the internet lets me do all the shopping I want from home.</p>
<p>Apparently I&#8217;m not alone, according to <a href="http://www.nytimes.com/2012/02/06/business/making-over-the-mall-in-rough-economic-times.html">this article</a>. Shopping malls, once thought to be the great center of commerce, have been dying around the United States. The article doesn&#8217;t focus too much on the reasons why this has been happening, but it does point out 2 main reasons.</p>
<p>First, we apparently rediscovered our roots in stores and restaurants that can be entered from the street. I think there&#8217;s something classy in imagining ourselves poking into independent boutiques, looking through storefront windows on a sunny day, and living it up in the city. That&#8217;s something I can get behind.</p>
<p>The second reason, however, is the bigger culprit in this situation, and that&#8217;s online shopping. It&#8217;s so easy. I remember coming down for breakfast on Sunday mornings and seeing my parents trawling over ads, trying to pick out the best deals. My mom had her stacks of coupon clippings that would get sorted into piles. And for important things like big electronics, this could go on for weeks. Now, it&#8217;s really tidy. All available products are easily found via search engines. The search engines even compare prices for you, making it easy to find the lowest cost seller. And in moments of confusion, there are many forums and buying guides to help out.</p>
<p>But like a lot of conveniences, there&#8217;s something lost, and I think it&#8217;s the whole &#8220;shopping&#8221; thing. I don&#8217;t think of myself as much of a shopper, but I do enjoy looking at junk. I&#8217;m sure that attitude is frustrating enough to storeowners, but I&#8217;ve managed to make things even worse for them as I see things in stores that I later by online because it&#8217;s cheaper and gets me out of impulse buys. Yikes.</p>
<p>Somewhere in the economics of purchases, I&#8217;ve lost the value of the shopping experience. Sure, I can buy the exact same book on Amazon for $5 cheaper than at Barnes &amp; Noble, but I didn&#8217;t spend a half-hour perusing books, walking through ranges of shelves, and discovering new reads online. For myself, the economics as is work out perfectly: I can browse in-person for free and buy for less online. But the physical store deserves the final price I pay for the book for having helped me find it, as well as the retail premium above online prices for the shopping experience.</p>
<p>Honestly, this will be a tough fight. My mom&#8217;s coupon-clipping ways and exhaustive (and exhausting) deal-hunting make it hard for me to believe that it&#8217;s right to not go for the cheapest option. I&#8217;m sure I&#8217;ll lose it many times, but at least I&#8217;m conscious of it. I won&#8217;t suddenly buy more than I do now, but when I see that kitchen gadget in-person, I&#8217;ll try not to let myself out of the purchase because I&#8217;ll buy it online later.</p>
<p>And I&#8217;ll try to do that everywhere. I have enough elitist, yuppie guilt to support the mom &amp; pop shops and small, unique businesses, but I think I need to push to keep it in mind for the big retailers, too. I have too much nostalgia for Fairview Mall, Katy Mills, the Target at I-10 and Fry Road, and other to not give back for some of it.</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinleung.com/archives/supporting-brick-and-mortar-stores/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Be a Secure Computer User (Within the Bounds of Convenience)</title>
		<link>http://kevinleung.com/archives/how-to-be-a-secure-computer-user-within-the-bounds-of-convenience/</link>
		<comments>http://kevinleung.com/archives/how-to-be-a-secure-computer-user-within-the-bounds-of-convenience/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 04:34:51 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://kevinleung.com/?p=746</guid>
		<description><![CDATA[It&#8217;s an old paradox to wonder why there are any doctors that smoke. It&#8217;s somewhat hypocritical, but mostly just confusing that the people who know the most about the effects of smoking should partake in it as well. I would like to say that I know better, but until a few days ago, I didn&#8217;t. ...]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s an old paradox to wonder why there are any doctors that smoke. It&#8217;s somewhat hypocritical, but mostly just confusing that the people who know the most about the effects of smoking should partake in it as well. I would like to say that I know better, but until a few days ago, I didn&#8217;t. Until then, my passwords for computer accounts and online services were all stored in plain text in a GMail draft. Were you to know that you could find it there, it would be very easy to steal all of them.</p>
<p>Using computers securely is a big battle for experts and users, and the best practices really depend from person to person. Every person needs to decide what their tradeoff between security and convenience is. On the completely secure side, one can remember long, random, unique strings of characters for every account. This, however, is extremely inconvenient to remember. On the completely convenient side, one can use &#8220;password&#8221; for every password. This, however, is extremely easy for hackers to break. Everyone&#8217;s practices lies somewhere in-between, using known methods and a little bit of personal construction.</p>
<p>That personal construction, however, is where we really get ourselves into trouble. Security is very hard, and most methods of compromising aren&#8217;t good. For example, I know that I should have long, unique, hard-to-guess passwords for everything. Because I couldn&#8217;t remember that, I decided it would be okay to record them in an easily accessible place for me. Unfortunately, that happened to be a really awful practice.</p>
<p>Most people aren&#8217;t security experts and don&#8217;t know the best way to use computers securely. Given that, I think that a lot of bad practices can be rooted out with a quick 2 question quiz:</p>
<ol>
<li>If a hacker knew where you store your passwords, could they guess your passwords easily?</li>
<li>If a hacker knew a subset (none, one, a few) of your passwords, could they guess any of your other passwords easily?</li>
</ol>
<p>The first question mostly deals with people <a href="http://en.wikipedia.org/wiki/Security_through_obscurity">securing their passwords by obscurity</a>. This is mostly how my old system worked, and it&#8217;s a bad idea. The United States National Institute of Standards and Technology (NIST) thinks it&#8217;s a bad idea. It&#8217;s unlikely that you&#8217;ll come up with a method on your own that no one else has thought of, and if you&#8217;re borrowing someone else&#8217;s system, you&#8217;re already screwed. And even if you hide things, they can be found easily.</p>
<p>The second question deals with bad security design. In a world where you create passwords for many different services, some of which are well-built and some of which aren&#8217;t, it&#8217;s not hard to imagine that one of your passwords might be leaked to a hacker. That itself is somewhat unavoidable. If knowing that password, however, allows them to determine the rest of your passwords (either as a straight copy or by design), you&#8217;re in trouble.</p>
<p>Let me walk through a few common methods I&#8217;ve heard from friends recently (and a few trivial examples) and point out the possible problems with each of them:</p>
<ol>
<li>Use &#8220;password&#8221; for all passwords. This password is very common and not hard to guess. By question 2, a hacker could guess your password knowing a subset of size 0 of all of your passwords. This is an awful idea, as you can imagine.</li>
<li>Use a small set (maybe 3) of passwords for everything. This is also a problem for question 2. If a hacker gets 1 of your passwords, they can now guess 1/3 of your accounts fairly easily.</li>
<li>Store passwords in a (unencrypted) document on your computer. Even if you name it something other than &#8220;passwords.txt&#8221;, it&#8217;s not hard for a hacker who gets read access to your computer to find the file and copy it. At that point, this method fails on question 1.</li>
<li>Start with a base password and modify it slightly for each service. For example, Google might be &#8220;abc123GoogleRocks&#8221; and Facebook might be &#8220;abc123FacebookSucks&#8221;. This ensures that each password is unique and somewhat long. Unfortunately, this is still a problem for question 2 because other passwords are deducible from a single password. In the example above, even though &#8220;Rocks&#8221; and &#8220;Sucks&#8221; are different suffixes that you can remember, it&#8217;s still a systematic method that doesn&#8217;t ultimately leave that many possibilities.</li>
</ol>
<p>As you might have guessed, some of the above are better than others, but assuming you&#8217;re okay with the level of security each will give you, they&#8217;re all fine if they work for you. You should just be aware of the risks associated with it.</p>
<p>Given all this talk, I need to support my claims, so my new method is using a password manager (specifically, <a href="https://agilebits.com/onepassword">1Password</a>). Essentially, I have a single master password for an encrypted database that stores all of my other passwords. With that, I only need to type in my master password, copy the specific account password into the box (or use the auto-fill feature), then lock my manager again. Like other methods that aren&#8217;t memorized, random, long, unique strings, it&#8217;s not perfectly secure, but it&#8217;s good.</p>
<p>It isn&#8217;t susceptible to the flaw of question 1. Because the database is encrypted (using tested methods), it is presumed to be secure*, so even though I have announced that I&#8217;m using 1Password and the file is not hidden on my computer, a hacker shouldn&#8217;t be able to get my passwords without knowing my master password. Question 2 is a problem: if a hacker knows my master password, my world is open to them. Otherwise, my passwords can be arbitrarily complex.</p>
<p>The caveat to all this is that I trust that the creators of the password manager are honest people using secure methods of security. If they&#8217;re sending all of my passwords out to their secret server, of if they screwed up the implementation of some security protocol, I&#8217;m in trouble. But that&#8217;s the line I draw for myself between convenience and security: I believe that my master password cannot be guessed and that 1Password is honest and secure, and this is the furthest I&#8217;m willing to go to be secure.</p>
<p>So maybe a password manager is a solution for you, or maybe it isn&#8217;t. I just wanted to write about it since I had thought about it so much recently and think it&#8217;s worth it for everyone to evaluate the ways that they are being secure. Again, it&#8217;s a tradeoff between convenience and security. Just be aware and comfortable with the consequences of your method, keeping in mind these 2 questions:</p>
<ol>
<li>If a hacker knew where you store your passwords, could they guess your passwords easily?</li>
<li>If a hacker knew a subset (none, one, a few) of your passwords, could they guess any of your other passwords easily?</li>
</ol>
<p>* I say presumed because even security experts don&#8217;t know if any construction is completely secure, but it&#8217;s the best that anyone knows. The limit of that is whether P=NP, for the CS literate among you, so it&#8217;s pretty certain.</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinleung.com/archives/how-to-be-a-secure-computer-user-within-the-bounds-of-convenience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How I Blog</title>
		<link>http://kevinleung.com/archives/how-i-blog/</link>
		<comments>http://kevinleung.com/archives/how-i-blog/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 03:33:11 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://kevinleung.com/?p=729</guid>
		<description><![CDATA[I really enjoy blogging. I also really enjoying talking about how much I enjoy blogging. Because of the few comments I get, I&#8217;m always surprised whenever my blog comes up in conversation, and I always take the opportunity to gush about it. The amount I have to say about it has indicated to me that ...]]></description>
			<content:encoded><![CDATA[<p>I really enjoy blogging. I also really enjoying talking about how much I enjoy blogging. Because of the few comments I get, I&#8217;m always surprised whenever my blog comes up in conversation, and I always take the opportunity to gush about it. The amount I have to say about it has indicated to me that I have now thought about blogging enough to blog about it. In fitting with the conversational setting by which this topic arose, I&#8217;m going to do a first and write this in a FAQ/interview style.</p>
<p><strong>Hi Kevin.</strong></p>
<p>Hi there.</p>
<p><strong>Now that we&#8217;re introduced, I would like to hear a bit more about how you got started blogging.</strong></p>
<p>I started blogging probably about 6 or 7 years ago during high school. I caught the tail end of the Xanga fad and instead started posting on Blogger. I started out doing a mix of anecdotes from the day and some fiction, but fortunately, I&#8217;ve moved away from that.</p>
<p><strong>How has your blog changed?</strong></p>
<p>Dramatically. At some point, I moved into a longer form where I would focus more on a particular idea instead of just random events. I&#8217;ve gone through some ups and downs with my blogging, including a few quarters where I didn&#8217;t post much, or just posted stuff that I was writing for class, but I&#8217;ve never taken a long enough break to say that I ever stopped blogging. Along with that, I&#8217;ve also had some periods where I felt like my writing was really good, and others where I was pretty embarrassed about the stuff I was writing.</p>
<p><strong>Why would you post something that you don&#8217;t think is good?</strong></p>
<p>Because it&#8217;s a blog, not a book. What you see usually comes from me sitting down for a half hour and typing until I run out of more things to say. That means that it&#8217;s unedited, and the topic and material often drifts very far away from where I thought it was going. For example, I thought my last post was pretty bad for exactly that reason. In any case, if I&#8217;ve taken the time to write it, I&#8217;m going to post it.</p>
<p><strong>So how does that evolution of the topic happen?</strong></p>
<p>Sometimes good, sometimes bad. I&#8217;ve noticed a few things about my style of speaking that affect how I write. First, I often explain things by explaining other things. If you ever hear me start a sentence 3 or 4 times, that&#8217;s me adding a new level each time to explain the previous start I almost had. After I&#8217;m done with each, I&#8217;ll get back to the previous idea I had, kind of like a stack of topics. I think my writing has that quality too as my writing usually has a more circular instead of linear quality to it. I start somewhere, go deeper and deeper, then find my way back to where I started.</p>
<p>Second, I&#8217;m also really bad at explaining what I consider my more thoughtful ideas in the moment. I apologize if you&#8217;ve ever been in a discussion class with me, because I&#8217;ll have a spark that turns into the first sentence of my comment, then ramble and repeat myself for another 3 or 4 sentences. By that point, I&#8217;m lost, everyone else is lost, and my original point is lost. Sad times.</p>
<p>Given that, I think my writing style is overall very different from my speaking style.</p>
<p><strong>So how do you come up with topics for your blog that go through this transformation in writing?</strong></p>
<p>I usually have a few thoughts on my mind as I&#8217;m going about life. Truth be told, my life isn&#8217;t that exciting. In fact, most people&#8217;s lives are that exciting. There&#8217;s certainly a bias for writers to have amazing lives as the basis for stories, but that&#8217;s not me. Instead, I like to observe life as it is and think deeply on everyday things. If you take a moment to think about any of my posts after reading, you&#8217;ll probably find that you can summarize it in one sentence. The rest is just essay.</p>
<p><strong>I&#8217;m really impressed. I don&#8217;t think I would be able to keep writing a blog for so long.</strong></p>
<p>Okay, so first, that statement is confusing, because you, the interviewer, are me, who has managed to write a blog for exactly as long as I have.</p>
<p>Getting past that, I don&#8217;t think I&#8217;ve ever heard a reason that I personally have not gotten past in keeping a blog for so long. One reason I&#8217;ve heard is, &#8220;My life isn&#8217;t that interesting.&#8221; I think I covered that above: my life isn&#8217;t interesting, either, but that doesn&#8217;t stop me from expanding a detail into 1000 words.</p>
<p>Another is, &#8220;I don&#8217;t write very well.&#8221; I have 2 responses to that. First, writing gets better with practice. My blog was awful at the beginning, but over the years, I think it&#8217;s improved enough that I&#8217;m not actively embarrassed by it at all times. Second, I don&#8217;t think I write very well either. Were I to spend some time editing my work, I would feel better about it, but that&#8217;s not the style of it. I emailed back and forth with Grandpa Leslie Whipp (former English professor) for awhile, and we talked a bit about one point where I spent 3-4 days revising my blog. I mentioned that I was still dissatisfied with it, and his response was simply that it was only as good or bad as the context. A blog isn&#8217;t supposed to be amazing if it&#8217;s just a bunch of random posts, and the writing itself is a learning process regardless of editing. So you kind of get a pass based on the context.</p>
<p>I think those are the main 2 reasons I&#8217;ve heard. I&#8217;ve also had similar conversations about journals: a lot of people have had journals for maybe a few weeks, then failed to keep it up. I&#8217;ve kept a journal for a very long time, and I strongly believe that it&#8217;s been very important to my personal development. Some of the content is blogworthy (those are the few posts that receive any editing as I move words around while transcribing), but most of it is definitely not for wandering eyes. It&#8217;s healthy and is another good way to keep up with writing.</p>
<p><strong>Aren&#8217;t you worried about posting so much about your personal life online?</strong></p>
<p>Not really. In fact, I think my blog might be some of the least personal stuff that I have put on the internet. At least in its current form, my blog is observations about life around me without too many specifics. Compared to my facebook friends lists, resume, and various profiles, this is pretty risk-free.</p>
<p><strong>So what do people usually have to say about your blog?</strong></p>
<p>As I stated in the intro, it doesn&#8217;t come up much, but when it does, usually it&#8217;s been someone who&#8217;s been excited to have been mentioned in my blog. That&#8217;s about it. And just to keep the game afoot, let&#8217;s throw out a mention for RJ since he&#8217;s the next friend I&#8217;m going to see (as of when I&#8217;m writing, not posting, this post)</p>
<p><strong>How are you so sexy?</strong></p>
<p>I get this a lot, especially from random people in the grocery store and crashing their cars as they turn their heads distractedly when they see me on the sidewalk. I&#8217;m not really sure. I guess a childhood of computer games and math competitions just builds a physique like this.</p>
<p><strong>Do you have a favorite blog?</strong></p>
<p>I think the <a href="http://dilbert.com/blog/">Dilbert Blog</a> by Scott Adams is pretty good as he takes crazy and extreme positions on random issues and ideas, just to make us think. Gigi, a blogging colleague from TUSB, has <a href="http://gemsofgigi.blogspot.com/">a personal blog</a> that I happen to like a lot as she find a really amusing way to reflect on daily life that I wish I had. There are a slew of other blogs that I really like, but in the interests of staying close to the call for a single favorite, I&#8217;ll finish it at that. If you&#8217;re sad that I didn&#8217;t just blogroll you, remember: you can&#8217;t be my favorite if you don&#8217;t write regularly for me to enjoy regularly.</p>
<p><strong>Any last thoughts, since you&#8217;re prone to rambling?</strong></p>
<p>Blogging in general has been a really great thing for me as it&#8217;s spared me my pride in my ability to compose English sentences. After a few years of writing essays for high school and college courses, I was very close to &#8220;giving up&#8221; writing as much as possible having been thoroughly thrashed for the quality of my writing in multiple classes. Despite that, I&#8217;m still blogging and am very proud of the fact that even if it doesn&#8217;t really stand up to critical analysis, I am capable of sitting down, starting with nothing, and writing 1000+ words on a topic in a pretty short time. In-class essays and papers started the night before never got me to that point, so I guess this is how I got the education I really wanted.</p>
<p>And finally, blog! And by that, I mean &#8220;blog&#8221; as an imperative, not an exclamation. I enjoy reading almost as much as I enjoy writing, and the utility per hour is definitely way higher, so take a stab at it.</p>
<p><strong>Thanks for you time, Kevin!</strong></p>
<p>No, thank you. Or me. I&#8217;m kind of confused.</p>
<p><strong>Me, too. In fact, I think this artificial interview was a bad structure for this post.</strong></p>
<p>Really? Since when did the interviewer become the critical blogger?</p>
<p><strong>Well, I blame it all on you, because I as the interviewer exist only as a construction for this post. But I&#8217;m also you. Is it possible to talk imaginary people to death via paradox, like Kirk did to supercomputers in the original &#8220;Star Trek&#8221;?</strong></p>
<p>This interview is over.</p>
]]></content:encoded>
			<wfw:commentRss>http://kevinleung.com/archives/how-i-blog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

