<?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>Booberfish.com &#187; Geek</title>
	<atom:link href="http://www.booberfish.com/blog/category/geek/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.booberfish.com</link>
	<description>From physics to philosophy</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:37:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The false drama of Gametime Canada</title>
		<link>http://www.booberfish.com/blog/2011/08/the-false-drama-of-gametime-canada/</link>
		<comments>http://www.booberfish.com/blog/2011/08/the-false-drama-of-gametime-canada/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 21:05:53 +0000</pubDate>
		<dc:creator>GP</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[gametime canada]]></category>
		<category><![CDATA[late night television]]></category>
		<category><![CDATA[mazel]]></category>
		<category><![CDATA[scams]]></category>

		<guid isPermaLink="false">http://www.booberfish.com/?p=1010</guid>
		<description><![CDATA[I&#8217;ve had cable for a couple months now (only because it is included in my new monthly rent) and I&#8217;m discovering all sorts of weird things that you don&#8217;t come across when only watching on demand over the internet. One in particular has caught my attention a couple times now. It features rather simple looking [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had cable for a couple months now (only because it is included in my new monthly rent) and I&#8217;m discovering all sorts of weird things that you don&#8217;t come across when only watching on demand over the internet.</p>
<p>One in particular has caught my attention a couple times now. It features rather simple looking puzzles on the screen and large cash prizes of several hundred dollars. It is hosted by a blond British woman (or at least someone with a non-North American English accent) encouraging viewers to call in and try solving the puzzle of the moment. It is rather amusing watching her trying to come up with new things to say after 20 solid minutes without a single caller. How many new ways can she describe the puzzle? How many new ways can she ask me to call in? How many times can she say that time is running out?</p>
<p>The absolutely maddening thing is that these puzzles are always <em>so easy</em>. At least, they seem easy enough that it is absolutely mind bogglging that someone hasn&#8217;t called in yet. Last night&#8217;s game: name a car brand with 5 letters starting with M-A-Z and win $2500. And nobody is calling in to answer! All the while the background music gets more and more pressing, alarms start going off, and countdowns start appearing on screen, all designed to make me think that I only have a few seconds to call in and be handed this bounty just for not being a complete idiot. </p>
<p>But last night I finally found the complete rules online and found out how this ruse works. Though they work hard to give the impression that nobody is calling, that the puzzle really is that easy, and that there really are no tricks associated with the cash prize, it&#8217;s all BS. When you enter by calling in (all calls cost $2) or sending in a text message (again, at the cost of $2) you&#8217;re only registering your name as a contestant. It is then at the producer&#8217;s discretion when to actually call people, how many people to call, and how long to run the game. So they could run the entire thing with people furiously texting and calling thinking that it is a sure thing and why the hell aren&#8217;t I getting through because nobody else is calling and it&#8217;s almost over so I have to try again and again and again and&#8230;.. and then only at the end let someone on the air with a guess they know is wrong and not have anybody win the prize. The rules basically say that they can put up this ruse of easy money as much as they want, collecting their $2 fees with each registration sent in, while having no obligation to actually let anybody even <em>try</em> to win.</p>
<p>In any case, the answer to last night&#8217;s puzzle was MAZEL, the Spanish concept car design studio. I doubt anybody would have won even if they had given them a chance.</p>
<img src="http://www.booberfish.com/?ak_action=api_record_view&id=1010&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.booberfish.com/blog/2011/08/the-false-drama-of-gametime-canada/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Note to Self: Recording audio from microphone</title>
		<link>http://www.booberfish.com/blog/2010/03/note-to-self-recording-audio-from-microphone/</link>
		<comments>http://www.booberfish.com/blog/2010/03/note-to-self-recording-audio-from-microphone/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 15:13:00 +0000</pubDate>
		<dc:creator>GP</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[alsamixer]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[microphone]]></category>
		<category><![CDATA[qarecord]]></category>
		<category><![CDATA[record]]></category>

		<guid isPermaLink="false">http://www.booberfish.com/?p=984</guid>
		<description><![CDATA[This is a note to myself because I will forget how to do this. This is in Ubuntu on an HP Pavilion dv4. In a terminal, run &#8216;alsamixer&#8217;. Towards the bottom right, there are two items labeled &#8216;Digital&#8217;. For the system to recognize the built in microphone, the first needs to be set to &#8216;Digital&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>This is a note to myself because I will forget how to do this. This is in Ubuntu on an HP Pavilion dv4.</p>
<p>In a terminal, run &#8216;alsamixer&#8217;.</p>
<p>Towards the bottom right, there are two items labeled &#8216;Digital&#8217;.</p>
<p>For the system to recognize the built in microphone, the first needs to be set to &#8216;Digital&#8217; and the second to &#8216;Analog I&#8217;. For the system to recognize the audio input jack on the front, they must both be &#8216;Analog I&#8217;.</p>
<p>Then, open System > Preferences > Sound, or double-click on the volume in the task-bar and open preferences. Under the &#8216;Input&#8217; tab, switch to whichever device shows some input levels. For the external, this is &#8216;Microphone 2&#8242; but not &#8216;Microphone 1&#8242;. Adjust gain as necessary.</p>
<p>Then you can run qarecord to record wav files.</p>
<p>Now all I need is something that can play LP records and I&#8217;ll be in business.</p>
<img src="http://www.booberfish.com/?ak_action=api_record_view&id=984&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.booberfish.com/blog/2010/03/note-to-self-recording-audio-from-microphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Most common coins</title>
		<link>http://www.booberfish.com/blog/2010/01/most-common-coins/</link>
		<comments>http://www.booberfish.com/blog/2010/01/most-common-coins/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 03:12:11 +0000</pubDate>
		<dc:creator>GP</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[coin rollers]]></category>
		<category><![CDATA[coins]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[probability]]></category>
		<category><![CDATA[rollers]]></category>
		<category><![CDATA[two dollar bill]]></category>

		<guid isPermaLink="false">http://www.booberfish.com/?p=946</guid>
		<description><![CDATA[I&#8217;ve been diligently putting all my coins into rollers as soon as I get enough. Some time ago I bought a big bag of coin rollers and have just now run out of quarter rolls. So I wondered to myself, do quarters turn up more often than other denominations? So I broke out my spreadsheet [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been diligently putting all my coins into rollers as soon as I get enough. Some time ago I bought a big bag of coin rollers and have just now run out of quarter rolls. So I wondered to myself, do quarters turn up more often than other denominations?</p>
<p>So I broke out my spreadsheet program and worked it out. I assumed you always get the minimum number of coins (e.g., one quarter and one nickel instead of three dimes), and that each value from $0.00 to $4.99 has equal probability of turning up. This second assumption is the one I&#8217;m least sure of, as pricing practices and the effect of taxes may favor an uneven distribution. But that&#8217;s a project for another day.</p>
<p>The results are that for any transaction, you should expect to get:</p>
<ul>
<li><strong>0.8</strong> toonies *</li>
<li><strong>0.4</strong> loonies *</li>
<li><strong>1.5</strong> quarters</li>
<li><strong>0.8</strong> dimes</li>
<li><strong>0.4</strong> nickels</li>
<li><strong>2.0</strong> pennies</li>
</ul>
<p>I basically used brute force because copy-and-paste is easy, but the same patterns that make copy-and-paste easy mean you don&#8217;t really need brute force, and I could probably have done it all in my head. For pennies, you&#8217;ll get 1, 2, 3, 4, or 0, and then the pattern repeats. So from just 5 transactions, you can already tell that the average for pennies will be (1+2+3+4+0)/5=2. Loonies are used only for values in the 1 and 3 dollar ranges, and none for 0, 2, and 4, so the average will be (0+1+0+1+0)/5=0.4. The rest are left as an exercise for the reader.</p>
<p>I would have thought I&#8217;d run out of penny rollers first. I guess the coin roller people compensated for that but not the rest. When I go buy a new bag I&#8217;m going to check what the ratio of denominations is. &#8216;Cause I&#8217;m a dork like that.</p>
<p>&#8212;</p>
<p><small>* For American folk, replace &#8220;loonie&#8221; and &#8220;toonie&#8221; with &#8220;one dollar bill&#8221; and &#8220;the two dollar bill you should have&#8221;. With only a one dollar bill, they&#8217;re just like pennies&#8212;you should expect two every single goddamn time. With a two dollar bill, you&#8217;d average just over one bill per transaction. Sure you could use that logic to argue for 3 and 4 dollar bills too, but let&#8217;s not get crazy.</small></p>
<img src="http://www.booberfish.com/?ak_action=api_record_view&id=946&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.booberfish.com/blog/2010/01/most-common-coins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Topology for Breakfast</title>
		<link>http://www.booberfish.com/blog/2010/01/topology-for-breakfast/</link>
		<comments>http://www.booberfish.com/blog/2010/01/topology-for-breakfast/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 03:25:02 +0000</pubDate>
		<dc:creator>GP</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Happiness]]></category>
		<category><![CDATA[bagel]]></category>
		<category><![CDATA[delicious]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[sculpture]]></category>
		<category><![CDATA[topology]]></category>

		<guid isPermaLink="false">http://www.booberfish.com/?p=920</guid>
		<description><![CDATA[I discovered this great trick for serving up my breakfast as a twisty linked bagel chain. After one slightly mangled failure, I was able to produce this: And from the other side: It was all the more delicious for the effort. It&#8217;s great being home at Christmas, when food just keeps reappearing in the kitchen [...]]]></description>
			<content:encoded><![CDATA[<p>I discovered this great trick for serving up my breakfast as a <a href="http://www.georgehart.com/bagel/bagel.html">twisty linked bagel chain</a>. After one slightly mangled failure, I was able to produce this:</p>
<p align="center"><img src="/blog-img/linked-bagel-1.jpg" /></p>
<p>And from the other side:</p>
<p align="center"><img src="/blog-img/linked-bagel-2.jpg" /></p>
<p>It was all the more delicious for the effort. It&#8217;s great being home at Christmas, when food just keeps reappearing in the kitchen no matter how much you play with it.</p>
<img src="http://www.booberfish.com/?ak_action=api_record_view&id=920&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.booberfish.com/blog/2010/01/topology-for-breakfast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How your horoscope could be right</title>
		<link>http://www.booberfish.com/blog/2009/09/how-your-horoscope-could-be-right/</link>
		<comments>http://www.booberfish.com/blog/2009/09/how-your-horoscope-could-be-right/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 02:44:11 +0000</pubDate>
		<dc:creator>GP</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Musings]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[astrology]]></category>
		<category><![CDATA[astronomy]]></category>
		<category><![CDATA[fallacy]]></category>
		<category><![CDATA[horoscopes]]></category>
		<category><![CDATA[logic]]></category>
		<category><![CDATA[precession]]></category>
		<category><![CDATA[signs]]></category>
		<category><![CDATA[thought experiment]]></category>
		<category><![CDATA[zodiac]]></category>

		<guid isPermaLink="false">http://www.booberfish.com/?p=905</guid>
		<description><![CDATA[A friend of mine posted a link to a description of why astrological star sign may not be what you think it is. The basic story is that the sun is no longer in the same place at the same time as when the astrological signs were decided. According to the newspapers I&#8217;m a Cancer, [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of mine posted a link to a description of <a href="http://www.livescience.com/strangenews/your-astronomical-sign.html">why astrological star sign may not be what you think it is</a>. The basic story is that the sun is no longer in the same place at the same time as when the astrological signs were decided. According to the newspapers I&#8217;m a Cancer, but <em>astronomically</em> (note the spelling) I&#8217;m a Gemini. I kind of wish I was born in early December so I could tell people my sign is Ophiuchus.</p>
<p>However, this precession of the signs does not necessarily mean that astrology is complete nonsense. One can imagine a world in which astrology really did work, despite the fact that the signs don&#8217;t match up anymore. It&#8217;s not hard. In fact I&#8217;ll do it right now.</p>
<p>It&#8217;s not hard to imagine that the time of year of one&#8217;s birth actually did affect one&#8217;s behaviour. Maybe our gestation period was more heavily influenced by ambient temperature, such that a developing embryo&#8217;s body chemistry was altered in specific and predictable ways. Isn&#8217;t there some species of reptile in which whether you become a boy or a girl depends on the temperature at which your egg develops? That&#8217;s what I&#8217;m talking about here. Even less crazy would be that a child&#8217;s first few months of development influence their behaviour. You might imagine a person born in December would be tougher than someone born in May because of various environmental things. I think there have even been proper studies on this kind of thing. Early childhood psychology and the like.</p>
<p>People would notice this kind of predictor. Except instead of noticing that the changes in behaviour are correlated with seasons, they notice that they&#8217;re correlated with the position of the sun at birth. These are really pretty much the same thing, and it seems like seasons would be an easier connection, but hey, everybody loves astronomy, right? So, instead of saying &#8220;babies raised in the first month of winter tend to be tough and have a high threshold for cold&#8221; (or whatever) they say &#8220;people who were born under Capricorn (Dec 23 to Jan 19) tend to&#8230;&#8221; etc.</p>
<p>And this system works. The people who have worked it out have just made a mistake in assuming that correlation equals causation (which it does not). But that doesn&#8217;t really matter since their mistake takes many lifetimes to become obvious, and by that point astrologers have stopped bothering to check if the Sun is in the same place it&#8217;s been in for the last hundred years. Another simple mistake.</p>
<p>But before you know it, the Sun has moved quite a lot, and the constellations don&#8217;t match up very well anymore, just as we see today. The seasons that caused this whole mess, on the other hand, are still right where they were before. People born in the first month of winter are still tough and cold (or whatever), and that still matches the description of Capricorn even though the Sun isn&#8217;t in Capricorn anymore. The system still works, we just have an outdated naming scheme.</p>
<p>So the claim that astrology is complete rubbish because the names of the signs don&#8217;t match up with the sun anymore is fallacious. You might as well claim that modern electronics can&#8217;t possibly work because current actually flows the other way. Unfortunate naming conventions don&#8217;t invalidate the thing they describe.</p>
<p>However, all of this is not to say that we live in a world where astrology is true. There are, I&#8217;m sure, dozens of other reasons why your newspaper horoscope can&#8217;t possibly be true, but I&#8217;m not going to address them here. The point is, astrology may be nonsense, but it&#8217;s not necessarily <em>a priori</em> nonsense.</p>
<img src="http://www.booberfish.com/?ak_action=api_record_view&id=905&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.booberfish.com/blog/2009/09/how-your-horoscope-could-be-right/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Maps Geometry Challenge</title>
		<link>http://www.booberfish.com/blog/2009/06/google-maps-geometry-challenge/</link>
		<comments>http://www.booberfish.com/blog/2009/06/google-maps-geometry-challenge/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 00:40:42 +0000</pubDate>
		<dc:creator>GP</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Toronto]]></category>
		<category><![CDATA[CN Tower]]></category>
		<category><![CDATA[geometry]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[quiz]]></category>
		<category><![CDATA[satellite photos]]></category>
		<category><![CDATA[satellites]]></category>
		<category><![CDATA[trigonometry]]></category>

		<guid isPermaLink="false">http://www.booberfish.com/?p=876</guid>
		<description><![CDATA[Remember those math questions in trigonometry and geometry about calculating the heights of trees and lengths of shadows and so on? Here&#8217;s one for you: I saw this picture on Google Maps and wondered how much information you could get from it. We know the CN Tower is 553.33 metres tall (with the SkyPod at [...]]]></description>
			<content:encoded><![CDATA[<p>Remember those math questions in trigonometry and geometry about calculating the heights of trees and lengths of shadows and so on? Here&#8217;s one for you:</p>
<p align="center"><img src="/blog-img/cn-tower-shadow.jpg" alt="CN Tower casting a shadow on downtown Toronto" /></p>
<p>I saw this picture on <a href="http://maps.google.ca/?ie=UTF8&#038;ll=43.641821,-79.384868&#038;spn=0.008525,0.019269&#038;t=k&#038;z=16">Google Maps</a> and wondered how much information you could get from it. We know the <a href="http://www.torontoplace.com/attractions/CNtower.htm">CN Tower</a> is 553.33 metres tall (with the SkyPod at 447 m), and located at coordinates 43.476667 N, 79.3875 W.</p>
<p>Questions:</p>
<ul>
<li>How high is the sun in the sky?</li>
<li>What time was the photo taken?
<li>
<li>What are the coordinates of the satellite that took the photo?</li>
<li>Others&#8230;?</li>
</ul>
<p>Yes more information is required, but nothing you can&#8217;t look up or make a reasonable guess at. At least I don&#8217;t think so. I wonder if anybody will notice if I work out this geometry for my summer project instead of exoplanet orbit geometry like I&#8217;m supposed to. Are there other big landmarks we could do this for?</p>
<img src="http://www.booberfish.com/?ak_action=api_record_view&id=876&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.booberfish.com/blog/2009/06/google-maps-geometry-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forgive my indulgences</title>
		<link>http://www.booberfish.com/blog/2009/02/forgive-my-indulgences/</link>
		<comments>http://www.booberfish.com/blog/2009/02/forgive-my-indulgences/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 01:40:27 +0000</pubDate>
		<dc:creator>GP</dc:creator>
				<category><![CDATA[Daily Life]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[chapati]]></category>
		<category><![CDATA[delegating]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[juggling]]></category>
		<category><![CDATA[pancake day]]></category>
		<category><![CDATA[procrastination]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[self-indulgence]]></category>
		<category><![CDATA[shrove tuesday]]></category>

		<guid isPermaLink="false">http://www.booberfish.com/?p=790</guid>
		<description><![CDATA[As it turns out, today is pancake day. The closest thing I&#8217;m getting to pancakes today is chapati. I&#8217;m current far away from home in Toronto, working a research project which requires juggling about a dozen different lines of thought at once. Everything is time critical and every job conflicts with others fighting for scarce [...]]]></description>
			<content:encoded><![CDATA[<p>As it turns out, today is pancake day. The closest thing I&#8217;m getting<br />
to pancakes today is chapati.</p>
<p>I&#8217;m current far away from home in Toronto, working a research project<br />
which requires juggling about a dozen different lines of thought at<br />
once. Everything is time critical and every job conflicts with others<br />
fighting for scarce resources. I didn&#8217;t realize over 50 terabytes of<br />
disk space still counted as scarce, but 90 hours of observing a pulsar<br />
with a half-second period builds up.</p>
<p>Of course since everything work related requires so much attention and<br />
juggling and delegating, I&#8217;ve been toying with this blog in the<br />
background. There are at least three improvements I&#8217;ve made, all for<br />
the hell of it and none of it appreciated by anybody but me I&#8217;m sure.<br />
But really, why else would I be doing this if not to entertain myself.<br />
I&#8217;m posting this by email right now! Wheeee!</p>
<img src="http://www.booberfish.com/?ak_action=api_record_view&id=790&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.booberfish.com/blog/2009/02/forgive-my-indulgences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Astrophysical Pokemon</title>
		<link>http://www.booberfish.com/blog/2009/02/astrophysical-pokemon/</link>
		<comments>http://www.booberfish.com/blog/2009/02/astrophysical-pokemon/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 05:29:18 +0000</pubDate>
		<dc:creator>GP</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[astrophysics]]></category>
		<category><![CDATA[computing cluster]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[gdb]]></category>
		<category><![CDATA[pokemon]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[segmentation fault]]></category>
		<category><![CDATA[video games]]></category>

		<guid isPermaLink="false">http://www.booberfish.com/?p=780</guid>
		<description><![CDATA[I&#8217;ve spent a lot of the last few months working on some research that mostly amounts to running lots of black-box type computer code. I spent weeks just getting the stuff to compile, then weeks getting all the data files positioned in the right places so the programs could find them. This stuff is all [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent a lot of the last few months working on some research that mostly amounts to running lots of black-box type computer code. I spent weeks just getting the stuff to compile, then weeks getting all the data files positioned in the right places so the programs could find them. This stuff is all home-brewed, hacked together a lot of the time without comments and in unintuitive structures. The priority was being able to put data in one end and get something out the other, not user-friendliness. The only documentation that exists is the brain of the post-doc and her supervisor in the offices down the hall.</p>
<p>So, when we try to improve one of these programs, you can count on a lot of debugging before anything gets fixed. Often the things just won&#8217;t compile, or there&#8217;s a typo so it looks for the wrong input file. Recently one of these programs was rewritten, and was tested a little to see that it actually worked. On a small scale it worked fine, but when we started submitting jobs with it on our big computing cluster, 100 gigabytes of data would go in and exactly 0 bytes would come out. Segmentation fault.</p>
<p>It was not the size of the data we were putting through that caused the segmentation fault, but the number of processes we were running. It turned out the segmentation fault was not repeatable when running one copy fo the program at once, but when you run dozens of copies simultaneously, when one fails they all die.</p>
<p>The only way I could really deal with this was run the program in a debugger and just hope to catch the fault. For about a week I had a terminal window open with gdb running my program. Every few hours I would check to see that it succeeded in its job and then would run it again, hoping for that elusive seg fault. Days went by. Program exited successfully. Program exited successfully. Program exited successfully. My supervisor would ask if I had solved the program yet. I would look at him and say, &#8220;Program exited successfully.&#8221;</p>
<p>Until finally I decided to give up. I told my supervisor, &#8220;If this run doesn&#8217;t die, then I&#8217;m giving up and going back to the old code.&#8221; Within two minutes of that conversation&#8230;. segmentation fault! Like the rarest of pokemon in an Ultra Ball, my debugger had finally succeeded in capturing the bug in my program.</p>
<p>And that, children, is why playing video games will help you do well in school. All the time my boyfriend made me play pokemon with him back in senior year of undergrad was well spent after all.</p>
<img src="http://www.booberfish.com/?ak_action=api_record_view&id=780&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.booberfish.com/blog/2009/02/astrophysical-pokemon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You know you&#8217;re a physics nerd when&#8230;</title>
		<link>http://www.booberfish.com/blog/2008/07/you-know-youre-a-physics-nerd-when/</link>
		<comments>http://www.booberfish.com/blog/2008/07/you-know-youre-a-physics-nerd-when/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 02:36:40 +0000</pubDate>
		<dc:creator>GP</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[galaxies]]></category>
		<category><![CDATA[gravity]]></category>
		<category><![CDATA[Lee Smolin]]></category>
		<category><![CDATA[LHC]]></category>
		<category><![CDATA[Super Mario Galaxy]]></category>
		<category><![CDATA[The Trouble with Physics]]></category>
		<category><![CDATA[WALL-E]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://www.booberfish.com/?p=764</guid>
		<description><![CDATA[you become a fan of Physics on facebook; you read The Trouble with Physics in the lunchroom while co-workers read the latest Wal-Mart flyer; you spend most of the day singing the chorus from Large Hadron Rap (LHCb sees where the antimatter&#8217;s gone&#8230;); you spend an inordinate amount of time playing Super Mario Galaxy thinking [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>you become a fan of <a href="http://www.facebook.com/pages/Athens-Greece/Physics/13399710118">Physics</a> on facebook;</li>
<li>you read <a href="http://www.amazon.com/Trouble-Physics-String-Theory-Science/dp/0618551050">The Trouble with Physics</a> in the lunchroom while co-workers read the latest Wal-Mart flyer;</li>
<li>you spend most of the day singing the chorus from <a href="http://www.youtube.com/watch?v=j50ZssEojtM">Large Hadron Rap</a> (<em>LHCb sees where the antimatter&#8217;s gone&#8230;</em>);</li>
<li>you spend an inordinate amount of time playing <a href="http://www.nintendo.com/sites/supermariogalaxy/">Super Mario Galaxy</a> thinking that those are nothing like actual galaxies&#8212;they&#8217;re more like planetary systems, at best;</li>
<li>and during the final, climactic scene in <a href="http://disney.go.com/disneypictures/wall-e/">WALL-E</a>, when everybody is gathered in the main room of the ship, all you can do think, &#8220;That&#8217;s not how gravity works!&#8221;</li>
</ul>
<p>All of which I&#8217;ve done.</p>
<img src="http://www.booberfish.com/?ak_action=api_record_view&id=764&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.booberfish.com/blog/2008/07/you-know-youre-a-physics-nerd-when/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What the frak!?</title>
		<link>http://www.booberfish.com/blog/2008/06/what-the-frak/</link>
		<comments>http://www.booberfish.com/blog/2008/06/what-the-frak/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 03:50:02 +0000</pubDate>
		<dc:creator>GP</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[battlestar galactica]]></category>
		<category><![CDATA[cylon]]></category>
		<category><![CDATA[earth]]></category>
		<category><![CDATA[final five]]></category>
		<category><![CDATA[finale]]></category>
		<category><![CDATA[Kara Thrace]]></category>
		<category><![CDATA[sci-fi]]></category>
		<category><![CDATA[space]]></category>
		<category><![CDATA[television]]></category>

		<guid isPermaLink="false">http://www.booberfish.com/?p=752</guid>
		<description><![CDATA[Damn you Battlestar Galactica and your mid-season finale! Here I was, sure that since it was only ten episodes into the final season, BSG would last me through the summer, building up to its grand series finale. Then, they had to go start airing a promo on Space saying &#8220;THE LAST EPISODE UNTIL 2009!&#8221; Spoilers [...]]]></description>
			<content:encoded><![CDATA[<p>Damn you Battlestar Galactica and your mid-season finale!</p>
<p>Here I was, sure that since it was only ten episodes into the final season, BSG would last me through the summer, building up to its grand series finale. Then, they had to go start airing a promo on Space saying &#8220;THE LAST EPISODE UNTIL 2009!&#8221;</p>
<p><strong>Spoilers below!</strong><br />
<span id="more-752"></span></p>
<p>Interestingly, almost everything that I expected would get drawn out over the whole season happened this episode. Especially interesting was the sprint to Earth in the last ten minutes. It all came across as very rushed and not well thought out. I think the whole Cylon-Human relationship at that point is not well explained, with one group threatening the other at every turn. I see no reason for the humans to trust the Cylons enough to bring them to Earth, no matter how good Apollo seems to thing is oratorical skills are.</p>
<p>I&#8217;m a little sad to see that BSG arrives on Earth in a post-apocalyptic state. <a href="http://www.booberfish.com/blog/2008/05/battlestar-galactica-music-and-timeline/">As I said before</a>, I hoped to see Earth in the near-future, with Cylon-like technology, having been trying to reach out to their Twelve Colony brothers. But, that&#8217;s not the kind of material that fills half a season. BSG is about refugees finding a new home and re-establishing the human race, not hanging out on Earth. (That&#8217;s why I didn&#8217;t like the New Caprica section of the show.) The state we were left with at the end of this episode brings up a lot of questions. I suspect the Earth-Cylon connection is still going to be very important. The Final Five haven&#8217;t lost their significance now that we know where Earth is.</p>
<p>(Also note that in this episode, they have acknowledged that the final five Cylons are different from the first ones, since Adama has known Tigh for thirty years and has watched him age, which the other Cylons do not do.)</p>
<p><!--adsense-->But, aside from all that, I think the most interesting thing was Diana&#8217;s statement that <em>only four of the final five are in the fleet</em>. This explains why four and not five cylons came together when they started hearing the music. If true, it also means that <em>Kara Thrace is not a Cylon</em>, against the majority of fan guesswork to date. It could, of course, have been a lie. It might also have meant that the Final Cylon was <em>already on the basestar</em> when the Three said that. It&#8217;s the latter I favour, if only because it would be a huge let down to come this far only to find out that the final Cylon isn&#8217;t any of the characters we already know. </p>
<p>So, where is the final Cylon? If they are someone in the fleet, why haven&#8217;t they been hearing the music too? And what happened to Earth? Where does the season go from here? I guess we&#8217;ll have to tune in next year&#8230;. frak.</p>
<img src="http://www.booberfish.com/?ak_action=api_record_view&id=752&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.booberfish.com/blog/2008/06/what-the-frak/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

