<?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>Independent Thought Alarm</title>
	<atom:link href="http://blog.davidhalperin.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.davidhalperin.com</link>
	<description>by David Halperin</description>
	<lastBuildDate>Mon, 24 Oct 2011 03:09:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Postponing my theme post to next week</title>
		<link>http://blog.davidhalperin.com/2011/10/postponing-my-theme-post-to-next-week/</link>
		<comments>http://blog.davidhalperin.com/2011/10/postponing-my-theme-post-to-next-week/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 03:09:24 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.davidhalperin.com/?p=350</guid>
		<description><![CDATA[This week&#8217;s theme was to try something new and write about it.  I actually really like the idea and will definitely do it next week.  I&#8217;m sure I&#8217;ve tried some new thing this week but nothing that really warrants writing &#8230; <a href="http://blog.davidhalperin.com/2011/10/postponing-my-theme-post-to-next-week/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This week&#8217;s theme was to try something new and write about it.  I actually really like the idea and will definitely do it next week.  I&#8217;m sure I&#8217;ve tried some new thing this week but nothing that really warrants writing about.  I haven&#8217;t been 100% this week so I&#8217;ve been trying to rest.  I&#8217;m putting this one off until next week so I don&#8217;t have to write some sort of lame cop out.  Expect 4 posts total next week to make up for this, stay tuned&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhalperin.com/2011/10/postponing-my-theme-post-to-next-week/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple vs Easy</title>
		<link>http://blog.davidhalperin.com/2011/10/simple-vs-easy/</link>
		<comments>http://blog.davidhalperin.com/2011/10/simple-vs-easy/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 03:02:46 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.davidhalperin.com/?p=347</guid>
		<description><![CDATA[The product I&#8217;ve been working on for my new job is in Perl.  I&#8217;m really into programming languages but I&#8217;m probably never going to pick a job based off of which one the company uses, partially because virtually no one uses any &#8230; <a href="http://blog.davidhalperin.com/2011/10/simple-vs-easy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The product I&#8217;ve been working on for my new job is in Perl.  I&#8217;m really into programming languages but I&#8217;m probably never going to pick a job based off of which one the company uses, partially because virtually no one uses any of the ones I like.  I&#8217;ve never been a huge fan of Perl and my opinion of it has been going down since using it more substantially.  There are lots of fiddly things I could explain about why I don&#8217;t like it but I haven&#8217;t been able to pin to the overarching, philosophical issue I have with its design.  I came across <a href="http://www.infoq.com/presentations/Simple-Made-Easy">this fantastic talk</a> earlier by the creator of the <a href="http://clojure.org/">Clojure</a> programming language which really helped me nail it down.</p>
<p>In that talk, Rich Hicky draws a distinction between simple and easy.  Even though they seem to have very similar meanings he goes back into their etymologies and uses them to talk about two different ideas.  Easy meaning a much more subjective sort of thing and much more based of the familiar.  Using the tools we know is easy but using the right tools will result in a program which is simpler.</p>
<p>According to Perl&#8217;s creator Larry Wall, Perl makes &#8220;easy things easy and hard things possible.&#8221;  Lots of things about Perl will be familiar to those coming from a background in unix scripting, with some C based influence as well.  Perl often seems to make things easy in a very complex sort of way.  Take a look at <a href="http://savage.net.au/Perl/html/interpolation.html">all the rules for how Perl&#8217;s string interpolation works</a>.  Perl started by taking the convenient ability to do that with variables in unix shell and took it the logical extreme.  String interpolation can certainly be nice but worth the cognitive load in trying to figure out those corner cases?  The whole language is full of this kind of stuff.</p>
<p>I&#8217;ll take it over debugging seg faults in C++.  Also, it does have some support for first class functions and some other nice stuff I always miss in C++ and Java.  So far though, I need to devote way too much of my mental power figuring out what in the world Perl will do in various cases and that detracts from my ability to focus on the program.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhalperin.com/2011/10/simple-vs-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gyokuru Tea</title>
		<link>http://blog.davidhalperin.com/2011/10/gyokuru-tea/</link>
		<comments>http://blog.davidhalperin.com/2011/10/gyokuru-tea/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 02:00:01 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.davidhalperin.com/?p=344</guid>
		<description><![CDATA[For anyone out there who&#8217;s not aware, I&#8217;m a big tea drinker and do the whole free leaf tea thing.  Gyokuru is my personal favorite kind of tea.  It&#8217;s the highest grade of Japanese green tea and has a very &#8230; <a href="http://blog.davidhalperin.com/2011/10/gyokuru-tea/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For anyone out there who&#8217;s not aware, I&#8217;m a big tea drinker and do the whole free leaf tea thing.  Gyokuru is my personal favorite kind of tea.  It&#8217;s the highest grade of Japanese green tea and has a very strong flavor.  If you like green tea, you&#8217;ll probably like it a lot, if you don&#8217;t you won&#8217;t.  If you&#8217;re not sure, start with sencha and if you get hooked, you can give gyokuru a try when you&#8217;re ready to move onto the hard stuff.  It&#8217;s an expensive tea, although not quite as bad as it seems at first glance because you can generally get many infusions out of the same set of leaves.  Also, while it may look expensive next to the other loose teas, in the scheme of things tea leaves are pretty cheap, even something top shelf like this works out to less than $1 per cup.</p>
<p>Brewing gyokuru correctly is a tricky.  It is very easy to end up with a glass of undrinkable, bitter green liquid.  Before you get started, I would have a thermometer and a stopwatch or watch with a second hand to try to get things right.  If it ends up being bitter, you know next time to either steep it shorter or at a lower temperature.  It may take some experimentation.  You should also have something to steep the leaves where they have room to expand.  Gyokuru leaves expand a lot when steeped.</p>
<p>The highest grades of gyokuru, which are only available in Japan are generally steeped for several minutes at very low temperatures (120-140 degrees).  For lower grades it should be steeped for a shorter time at a higher temperature.  I haven&#8217;t had any luck getting it to come out right with temperatures that low with what I can get in Boston.  Here&#8217;s what seems to work well for me:</p>
<p>1.  Steep the first infusion at around 150 degrees for just 45 seconds.</p>
<p>2.  Steep the second infusion again at around 150 degrees for just 30 seconds.  The leaves have opened up during the second infusion and will steep much more quickly the second time.</p>
<p>3.  Steep the third infusion at around 160 degrees for 1 minute.</p>
<p>4.  Steep the forth infusion at around 170 degrees for 2+ minutes.  At this point it&#8217;s much less sensitive and you don&#8217;t need to be so exact.</p>
<p>Gyokuru should be brewed at double strength (2 teaspoons per cup) because it&#8217;s brewed with such low temperatures and or short times.  If you are using a teapot, make sure to warm up the cups before pouring it into them because it&#8217;s already at such a low temperature, if the cups are cold it will cool down very quickly.</p>
<p>If you done it right, the tea should have a very strongly umame taste with natural light sweetness (without having to add any sweetener) and a complex grassy character.  I realize grassy doesn&#8217;t necessarily sound like an appetizing flavor profile but it&#8217;s good!  Or at least I think it&#8217;s good.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhalperin.com/2011/10/gyokuru-tea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NaNoWriMo</title>
		<link>http://blog.davidhalperin.com/2011/10/nanowrimo/</link>
		<comments>http://blog.davidhalperin.com/2011/10/nanowrimo/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 02:15:11 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.davidhalperin.com/?p=342</guid>
		<description><![CDATA[Hmm, third post of the week on Wednesday.  Not sure what&#8217;s wrong with me this week.  Something must be off&#8230; The week&#8217;s theme: NaNoWriMo.  That&#8217;s short for National Novel Writing Month.  It happens every November and the challenge is to &#8230; <a href="http://blog.davidhalperin.com/2011/10/nanowrimo/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hmm, third post of the week on Wednesday.  Not sure what&#8217;s wrong with me this week.  Something must be off&#8230;</p>
<p>The week&#8217;s theme: <a href="http://aberrospecus.wordpress.com/2011/10/11/a-nanoing-we-will-go/">NaNoWriMo</a>.  That&#8217;s short for National Novel Writing Month.  It happens every November and the challenge is to come up with a first draft of a novel.  Specific you &#8220;win&#8221; NaNo if you hit 50,000 words by the end of the month.  Most of the members of the Blogenning participate.  I don&#8217;t so I guess to fulfill the theme this week, I&#8217;m forced to explain myself.</p>
<p>I guess what it really comes down to is that I don&#8217;t really like writing and I don&#8217;t aspire to be a writer.  I make myself write this blog, among other reasons, because I think being able to write well is an important skill and one that should be practiced.  I think it is too often neglected in this day and age, especially among technical people like me.  If you can&#8217;t communicate with others, I don&#8217;t know how you expect to get much of anything else worthwhile done.  Still, it&#8217;s a chore for me.  While I do think 50,000 words over a month is more doable than most people would think at first glance, I lack the inspiration or motivation to try to get through it.</p>
<p>When I listen to a great piece of music, I find myself instinctively going, man I wish I could do that.  I find a similar motivation for many other things as well.  Not so with writing though.  I admire many great writers and there are are many novels that I absolutely love to death.  When I find even my deepest level of enjoyment from reading though, it doesn&#8217;t inspire me to write.</p>
<p>I have a lot of hobbies and there are only so many hours in the day.  Given 100 lifetimes I would want to write a novel.  Given the one I have, I&#8217;m ok with not getting around to it.  There are too many other things I&#8217;d rather do with my time.</p>
<p>Don&#8217;t get me wrong, NaNo is a really cool thing.  A bunch of awesome people around Boston do it.  It&#8217;s great for them.  All else being equal, I&#8217;d love to spend November hanging out with them more.  It&#8217;s not though.  I wish them all best of luck, hope they all have a great time and hope they all get their 50,000 words done.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhalperin.com/2011/10/nanowrimo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grandmother doesn&#8217;t know best about IBD</title>
		<link>http://blog.davidhalperin.com/2011/10/grandmother-doesnt-know-best-about-ibd/</link>
		<comments>http://blog.davidhalperin.com/2011/10/grandmother-doesnt-know-best-about-ibd/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 03:08:04 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.davidhalperin.com/?p=338</guid>
		<description><![CDATA[Talking a bit about healthcare here so I should start out by saying these are my own opinions and do not necessarily reflect the views of my employer and they do not endorse the view here in any way, etc, etc. Anyone &#8230; <a href="http://blog.davidhalperin.com/2011/10/grandmother-doesnt-know-best-about-ibd/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Talking a bit about healthcare here so I should start out by saying these are my own opinions and do not necessarily reflect the views of my employer and they do not endorse the view here in any way, etc, etc.</p>
<p>Anyone who doesn&#8217;t want to hear about digestive disorders can feel free to skip this post.  I wouldn&#8217;t blame you.  I guess I&#8217;ll get this out there for anyone who doesn&#8217;t know, I have <a href="http://en.wikipedia.org/wiki/Ulcerative_colitis">ulcerative colitis</a>.  It&#8217;s about as much fun as it sounds like.  I don&#8217;t usually talk much about it, as it&#8217;s not a pleasant to bring up in conversation.  I don&#8217;t mind doing so in private, if you&#8217;re interested, if you&#8217;re concerned, feel free to reach out.  I&#8217;m making an exception and talking about it in public because I read <a href="http://boingboing.net/2011/10/10/seth-roberts-grandmother-knows-best-about-crohns-disease.html">this article</a> on <a href="http://boingboing.net">Boing Boing</a> yesterday and it really pissed me off and I need to get this off my chest.  I normally enjoy that blog that post is spreading things which are possibly going to be actively harmful to people with serious medical conditions.</p>
<p>The whole thing has a tone like there&#8217;s this dark conspiracy among doctors to keep people from curing their IBD.  So first of all, my personal experience with my disease. I have my symptoms mostly under control and lead normal life.  I&#8217;m 25 and I will probably take pills every day for the rest of my life, barring some medical breakthrough.  That&#8217;s not great but it pretty seriously beats the alternative of not taking the pills though.  There&#8217;s scene in Firefly where Mal finds out they&#8217;ve stolen a town&#8217;s medicine.  The sheriff, not knowing that Mal was the thief, tells him that if you get the medicine regularly you can &#8220;live like a person.&#8221;  I don&#8217;t think many people can appreciate the realitly of that line the way I do.  I&#8217;ll leave it at that and spare you the unpleasant details of the what it was like between when I got sick and when I was finally diagnosed and got medicine.</p>
<p>So what&#8217;s the subject of that article&#8217;s experience with medication:</p>
<blockquote><p>Pentasa barely worked. It gave him a few more seconds to get to the bathroom. Reid saw his doctor a few months after starting it. <em>Doing better?</em> the doctor asked. <em>Yeah, doing better</em>, said Reid. The doctor did not ask for details. He ordered various lab tests but never learned how little Pentasa helped. Reid saw him regularly for several years, but never told him.</p>
<p>After high school, Reid went to college at the Rochester Institute of Technology. During college, he had diarrhea about six times per day.</p></blockquote>
<p>Is it his doctor&#8217;s fault that he wasn&#8217;t clear that his medicine wasn&#8217;t working?  When you&#8217;re having diarrhea 6 times a day, you go to your gastroenterolist and you tell him your symptoms, and you ask what your options are.  If he doesn&#8217;t give you other options, your doctor is an asshole and you find a better doctor.  There are lot of different treatment options for IBD, many of which are stronger than Pentasa, though have more serious side effects.  I can tell you that steroids are no picnic, but the sure as hell beat diarrhea 6 times a day.</p>
<blockquote><p>Reid started having extreme abdominal pain. It would be really intense for a few seconds, then die down, then return. He wanted to go to the hospital but was in too much pain to drive.</p></blockquote>
<p>Important point, when you have IBD and you&#8217;re in too much abdominal pain to drive to the hospital, that&#8217;s when you should DEFINITELY FIND A WAY TO GET TO THE HOSPITAL.  Call an ambulance if you need to.  Ignoring that is how you end up dead from a ruptured colon.  Have I gotten the point across that this guy wasn&#8217;t properly utilizing the western medicine that he seems to write off?</p>
<p>At this point in the article, Reid discovers a diet that&#8217;s supposed to help with his condition.  I&#8217;ve done a lot of research and there are dozens of diets that supposedly help with IBD.  They&#8217;re all mutually contradictory and none of them are backed by medical science.  There is actual medical literature which that you can go read, which tries to find a culprit but doesn&#8217;t come up with anything conclusive.  I do think the change in diet helped his condition, but not anything specific about the diet he chose.</p>
<blockquote><p>He had been eating Hungry Man TV dinners, Cookie Crisp cereal, Papa John&#8217;s pizza, Mountain Dew soda, potato chips, gummy bears, and so on.</p></blockquote>
<p>When they say IBD doesn&#8217;t have a dietary cause the mean there isn&#8217;t a specific thing you should avoid.  For instance, with Celiac&#8217;s disease you avoid gluten.  Just because IBD doesn&#8217;t have a dietary cause doesn&#8217;t make it a good idea to eat garbage when you have diarrhea 6 times a day.  I&#8217;m sort of at a loss for how a person wouldn&#8217;t realize that.  When I&#8217;m having a flare up I live off of bland, easy to digest foods.  It&#8217;s not rocket science.  When I&#8217;m not having a flare up I take eating healthy very seriously without being on any particular diet for my condition.</p>
<blockquote><p>His symptoms were gone. A few months later, he saw his gastroenterologist. I&#8217;m doing great, he said, and showed the doctor a list of what he was eating. The doctor showed no interest. Reid asked if he could stop taking Pentasa. (He had already stopped Flagyl.) The doctor said no, let&#8217;s wait six months. On rare occasions, maybe once every four months, diarrhea returned. It seemed to be caused by eating out, perhaps by bread crumbs in the hamburger. He stopped taking Pentasa. Nothing changed.</p></blockquote>
<p>IBD can go into remission and come back later on.  Generally doctors keep patients on low doses of medication to prevent it from coming back.  Also, perhaps his doctor wasn&#8217;t interested in the diet because there&#8217;s no statistical evidence that it works, while there have been studies that show that the medication works.</p>
<p>IBD is a mysterious disease.  The cause remains unknown and for any given person it will flare up and go into remission, throughout their lives, for no apparent reason.  Obviously this one guy&#8217;s anecdotal case about how he got his into remission is statistically significant and a cure and we should all stop taking our meds and go on the diet that</p>
<p><a href="http://xkcd.com/552/"><img class="alignnone" src="http://imgs.xkcd.com/comics/correlation.png" alt="" width="459" height="185" /></a></p>
<p>&nbsp;</p>
<p>Listen, western medicine isn&#8217;t perfect.  It doesn&#8217;t always get everything right the first time.  Maybe there are legitimately better, simpler ways to treat my illness out there.  Maybe there is a bias towards using drugs rather than diet or other more nature things.  For thousands of years medicine worked the way this guy wants.  People went with their guts, they did things that worked anecdotally or intuitively.  As often as those sorts of remedies made things better, they made them worse.  Raise your hand if you want to go back to the days when bloodletting was considered a legitimate treatment for all kinds of things.  I don&#8217;t know about you but I think I&#8217;ll trust the professionals and stick with the treatments that have scientific backing.</p>
<p><a href="http://xkcd.com/54/"><img class="alignnone" src="http://imgs.xkcd.com/comics/science.jpg" alt="" width="500" height="389" /></a></p>
<p>Should you experiment with your diet or other alternative treatments if you have IBD?  Sure, talk to your doctor about it.  Make sure they don&#8217;t think it will be actively harmful or leave you malnourished or anything.  It should definitely not be instead of traditional treatment.  Doctors are there to help you.  There is no shadowy conspiracy of MDs hiding the well know simple, natural diet based cure for IBD and making us all suffer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhalperin.com/2011/10/grandmother-doesnt-know-best-about-ibd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dart</title>
		<link>http://blog.davidhalperin.com/2011/10/dart/</link>
		<comments>http://blog.davidhalperin.com/2011/10/dart/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 22:56:54 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.davidhalperin.com/?p=336</guid>
		<description><![CDATA[A memo from Google got leaked a few weeks ago that they were internally developing a potential replacement for Javascript.  It would cross-compile to javascript and potentially be supported directly in chrome.  They released the details today.  I&#8217;ll skip the &#8230; <a href="http://blog.davidhalperin.com/2011/10/dart/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A memo from Google got leaked a few weeks ago that they were internally developing a potential replacement for Javascript.  It would cross-compile to javascript and potentially be supported directly in chrome.  They released the <a href="http://www.dartlang.org/">details</a> today.  I&#8217;ll skip the controversy over what this means for web standards and also whether or not will be actually be better than Javascript.  Since I&#8217;m a PL geek, I&#8217;ll talk a little about how it is as a language.</p>
<p>Well, I was hoping for something more.  Google has a lot of smart people and some first rate PL people, but as it stands, Dart is extremely conservative.  It&#8217;s Javascript with a little less script and a little more Java.  There are a few neat syntactic tricks.  One bit that I do like is that it makes the default visibility public and enforces that identifiers that start with underscores are private.  Java can get really noisy with all the public, private, static, final, etc. all over the place.  Java picked a bad default here, package visible is almost never used in my experience.  A lot of languages that don&#8217;t have an equivalent of private use underscores like this as a convention but it looks like Dart actually enforces this.</p>
<p>One major feature that it has, that no mainstream language I&#8217;m aware of has, is optional static typing.  At a glance it looks watered down to the point of being useless.  The following doesn&#8217;t result in any kind of error or warning:</p>
<pre>String a;
var b = 1;
a = b;</pre>
<p>The also made a conscious choice to make generics covariant, so a List&lt;X&gt; is a subtype of a List&lt;Y&gt; if X is a subtype of Y.  That sounds great at first glance but it&#8217;s unsafe and will result in run time error.  I&#8217;d really like to see a language that does the hybrid static/dynamic thing well but I don&#8217;t think Dart is going to be it.  There is <a href="http://wadler.blogspot.com/2009/01/well-typed-programs-cant-be-blamed.html">research</a> on doing this sort of thing really rigorously but it wasn&#8217;t applied here.</p>
<p>I know a main goal of here is to make a language with better performance than Javascript.  It remains to be seen how much faster Dart programs interpreted by Chrome will be compared to modern Javascript engines.  Unless the performance advantage is enormous I don&#8217;t see what is going to get people to make the transition.  Every language I can think of has pushed some feature that wasn&#8217;t mainstream at the time the language was introduced.  As vanilla as Java seems today, it brought garbage collection into the mainstream (garbage collection had been around for a long time, of course).  Getting people to change programming languages is hard and I don&#8217;t see what in Dart, as it currently stands, is going to get people interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhalperin.com/2011/10/dart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sleep</title>
		<link>http://blog.davidhalperin.com/2011/10/sleep/</link>
		<comments>http://blog.davidhalperin.com/2011/10/sleep/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 03:46:38 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.davidhalperin.com/?p=334</guid>
		<description><![CDATA[I&#8217;ve always had some mild insomnia.  Never really bad but always a nuisance.  It&#8217;s a viscous cycle that I&#8217;ve been trying to break.  I don&#8217;t get enough sleep so I sleep in so I&#8217;m not tired when I should go to sleep. &#8230; <a href="http://blog.davidhalperin.com/2011/10/sleep/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always had some mild insomnia.  Never really bad but always a nuisance.  It&#8217;s a viscous cycle that I&#8217;ve been trying to break.  I don&#8217;t get enough sleep so I sleep in so I&#8217;m not tired when I should go to sleep.  A few things I&#8217;m trying:</p>
<p>1.  Being more disciplined about the snooze button.  I&#8217;m still not perfect at this.  It&#8217;s so tempting to do every morning when my will is the weakest.  Still, you&#8217;re not going to get any meaningful rest in those 10 minutes so it&#8217;s an utter waste of time.  I really want to get in the habit of just getting out of bed and get moving every morning.</p>
<p>2.  Not eating or drinking after dinner.  Obviously this doesn&#8217;t apply if I&#8217;m at a party or out at a bar or something but generally speaking, I&#8217;m trying to stop the late night snacking.</p>
<p>3.  Meditation.  Just before going to bed I&#8217;m trying to take a minute and get my mind at rest.</p>
<p>4.  Turning off the main lights in my room in the evening.  Hopefully that&#8217;ll get my body to recognize the time better and start releasing some melatonin.</p>
<p>I seem to be keeping a saner sleep schedule lately so it seems that at least some of that is working for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhalperin.com/2011/10/sleep/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Costumes</title>
		<link>http://blog.davidhalperin.com/2011/10/costumes/</link>
		<comments>http://blog.davidhalperin.com/2011/10/costumes/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 00:57:03 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.davidhalperin.com/?p=331</guid>
		<description><![CDATA[This week&#8217;s theme: costumes.  Some people really like to get into Halloween and put together really awesome costumes.  Personally I don&#8217;t like to put a lot of money or effort into something I&#8217;m only going to wear once.  So last &#8230; <a href="http://blog.davidhalperin.com/2011/10/costumes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This week&#8217;s theme: <a href="http://www.timewithtom.com/?p=1247">costumes</a>.  Some people really like to get into Halloween and put together really awesome costumes.  Personally I don&#8217;t like to put a lot of money or effort into something I&#8217;m only going to wear once.  So last year I went to the <a href="http://www.garmentdistrict.com/">Garment District</a>, to see what I could put together easily and cheaply.  See if you can spot what I came up with:</p>
<p><a href="http://blog.davidhalperin.com/wp-content/uploads/2011/10/67690_559954484883_32201483_32758394_7582786_n.jpg"><img class="aligncenter size-medium wp-image-332" title="Waldo" src="http://blog.davidhalperin.com/wp-content/uploads/2011/10/67690_559954484883_32201483_32758394_7582786_n-300x225.jpg" alt="" width="300" height="225" /></a>I found this prepackaged Waldo costume and just had to get it.  It was a lot of fun, I got to find my way into the background or edges or pictures all night.  It&#8217;s an interesting challenge to find the edge of picture taken from in front of the camera.  I got in some nice photo bombs.  It seemed to be a pretty big hit at the party too.    Walking around Cambridge in this costume last year I also got a kick out of all the people who claimed to have found me.</p>
<p>I&#8217;m not sure what I&#8217;m going to dress up as this year but hopefully I can come up with something as good.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhalperin.com/2011/10/costumes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Neti Pots</title>
		<link>http://blog.davidhalperin.com/2011/10/neti-pots/</link>
		<comments>http://blog.davidhalperin.com/2011/10/neti-pots/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 00:28:49 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.davidhalperin.com/?p=329</guid>
		<description><![CDATA[I frequently suffer from upper respitory issues.  Allergies, colds, sinus infections, all that fun stuff.  I was skeptical about neti pots when they were first suggested to me.  They seemed weird and gross.  Pouring saline solution into one nostril out &#8230; <a href="http://blog.davidhalperin.com/2011/10/neti-pots/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I frequently suffer from upper respitory issues.  Allergies, colds, sinus infections, all that fun stuff.  I was skeptical about neti pots when they were first suggested to me.  They seemed weird and gross.  Pouring saline solution into one nostril out of another?  I gave in and decided to give them a try a few months ago.  Long story short, they&#8217;re pretty much the best thing ever.</p>
<p>I don&#8217;t buy into alternative medicine much but the mechanism of action here is pretty straight forward.  Literally flushing the bad stuff out using brute force.  Also, there have been actual <a href="http://www.medpagetoday.com/MeetingCoverage/ACAAI/16870?userid=227287&amp;impressionId=1257836779807&amp;utm_source=mSpoke&amp;utm_medium=email&amp;utm_campaign=DailyHeadlines&amp;utm_content=GroupD">studies</a> on the effects of their usage.  It turns out that if you use it every day, regardless of whether you&#8217;re having issues, they&#8217;ll actually increase your risk for sinus infections.  Used over the course of a few days, they are actually very effective.</p>
<p>You pick one up at your local drug store, along with salt packets portioned out with the right amount of salt for one usage.  You can also just use regular salt and measure it yourself.  Fair warning, the first time you try it, prepare for like a 10 minute sneezing fit.  That&#8217;s what happened to me anyway.  That doesn&#8217;t happen anymore after you get more used to it.</p>
<p>I was starting to get a cold on Thursday.  Thanks to my neti pot, I&#8217;m not stuffed up and even if I still feel some effects of the cold, I&#8217;m about 90% normal today.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhalperin.com/2011/10/neti-pots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing Bass Lines</title>
		<link>http://blog.davidhalperin.com/2011/10/writing-bass-lines/</link>
		<comments>http://blog.davidhalperin.com/2011/10/writing-bass-lines/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 02:05:26 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.davidhalperin.com/?p=323</guid>
		<description><![CDATA[I&#8217;ve mentioned some of this in the posts about the individual demos but I thought I&#8217;d write a broader post about how I put lines together in general rather than looking at any particular one.  A lot of putting a &#8230; <a href="http://blog.davidhalperin.com/2011/10/writing-bass-lines/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve mentioned some of this in the posts about the individual demos but I thought I&#8217;d write a broader post about how I put lines together in general rather than looking at any particular one.  A lot of putting a song together comes down to feel but it&#8217;s very useful to have a framework to use.  It&#8217;ll come down to feel to figure out which technique to use where.  Having an intellectualized idea of what to do when the feel is telling you something helps put a better part together faster.  As the computer scientist, <a href="http://www.cs.yale.edu/quotes.html">Alan Perlis</a> said &#8220;Get into a rut early: Do the same processes the same way. Accumulate idioms. Standardize. The only difference (!) between Shakespeare and you was the size of his idiom list &#8211; not the size of his vocabulary.&#8221;  Lots of rock bass players have a vocabulary that consists of &#8220;pound root notes&#8221; but I endeavor to do better than that when I can.  I thought I&#8217;d share a bit of the idioms I&#8217;ve worked out so far as a bass player.  None of this is new to music theory although I stumbled upon much of this on my own before reading up on it.  I&#8217;m sure I subconsciously picked up many of these techniques from the music I listen to.</p>
<p>There&#8217;s a dichotomy I&#8217;m going to use throughout this of strong notes vs. weak notes.  Strong is not a synonym for good here.  Part of a bass player&#8217;s role is to outline the harmony, when the bass plays a note that fits with the rest of the harmony, it creates a strong foundation.  Often, though, strategically, the bass will play notes that clash with the harmony to destabilize it.  The strongest note for the bass to play is the root, followed by the fifth, followed by other notes that are actually in the chord.  A weak note is one that clashes with the chord.  This doesn&#8217;t really apply to most other instruments and keeping this in mind is one of the big differences between writing a melody and writing a bass line, even if bass lines can be melodic.</p>
<p>Typically on the first beat of the measure the bass should play a strong note.  Not playing at all on the 1 on bass sounds really weird and should only be done under specific circumstances, like a coordinated break in the music where other instruments are stopping too.  Typically I play the root on the 1 when the chord changes.  If a chord lasts more than 1 measure, I often end up on the 5th of the following measure to add some movement.  Other than playing the first beat of the measure, I listen to what the rest of the band is playing and try to hear what rhythm I should play.  I don&#8217;t really have much analysis of what to do rhythm wise, that, I think, you really just need to feel.</p>
<p>One of my favorite techniques on bass is leading notes.  The time I wrote a bass line I threw these in instinctively.  This technique involves playing a weak note or a run of notes, some of which are weak, at the end of a measure.  Typically the notes lead towards the next chord.  More often than not, the last note of the measure will be the one half step below the chord the next measure starts on.  If it&#8217;s a run it&#8217;ll usually be chromatic.</p>
<p>When I feel like the bass should accent a note, I&#8217;ll pick a strong note that above the lowest root note I&#8217;ve been playing to make it stand out.  I usually go for the 5th, sometimes an octave sounds better.  If there are several accented notes in a short span, I&#8217;ll go back and forth to keep it interesting.</p>
<p>Another use for strong notes is when it feels like the bass should be moving but the harmony should not, that&#8217;s a good time to move through chord tones.  That&#8217;s a good time to use arpeggios.</p>
<p>That&#8217;s mostly how I choose which notes to play, I try to apply those ideas in ways that results in something melodic.  I&#8217;m always looking for new patterns to use but that&#8217;s what I&#8217;ve got so far.  Sometimes I get an idea that doesn&#8217;t correspond to any of this but I can&#8217;t classify it so it ends up being a one off thing.</p>
<p>A lot of the rest of writing my parts is figuring out where to play.  Sometimes I just play root notes along with a part so it will sound as strong as possible.  Sometimes the guitar part is busy and there&#8217;s no room to add anything interesting.  Other times there&#8217;s big gaping hole where you need to add some movement to keep things interesting.  Other times there&#8217;s something interesting going on above the bass but there&#8217;s a good way to compliment it, without stepping on its toes, those are my favorites.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davidhalperin.com/2011/10/writing-bass-lines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
