<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Programming, Table Top Games, and Food Snobbery</description><title>d20 + 1</title><generator>Tumblr (3.0; @d20plus1)</generator><link>http://d20plus1.tumblr.com/</link><item><title>Sweet Jegus</title><description>&lt;p&gt;&lt;a class="tumblr_blog" href="http://dorkening.tumblr.com/post/18918469660"&gt;dorkening&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I just used Jegus in a conversation without even trying.&lt;/p&gt;
&lt;p&gt;WHAT IS HAPPENING TO ME!?&lt;/p&gt;
&lt;p&gt;I used to speak eloquently and now a mere fandom has corrupted my brilliant speech. &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;At least you&amp;#8217;re not snickering whenever someone brings out a bucket.&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/18918632444</link><guid>http://d20plus1.tumblr.com/post/18918632444</guid><pubDate>Wed, 07 Mar 2012 17:10:04 -0500</pubDate></item><item><title>I gave up fried food for Lent...</title><description>&lt;p&gt;&amp;#8230;and mozzarella sticks have never before sounded so appetizing.&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/18918506537</link><guid>http://d20plus1.tumblr.com/post/18918506537</guid><pubDate>Wed, 07 Mar 2012 17:07:56 -0500</pubDate><category>Food</category><category>Fried Food</category><category>Lent</category></item><item><title>Theft in the Magic Community</title><description>&lt;a href="http://klugalters.blogspot.com/2012/03/theft-in-magic-community.html?spref=fb"&gt;Theft in the Magic Community&lt;/a&gt;: &lt;p&gt;&lt;strong&gt;&lt;span&gt;Just reprinting an important message:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong id="internal-source-marker_0.579323917394504"&gt;&lt;span&gt;“To thieves:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="internal-source-marker_0.579323917394504"&gt;&lt;span&gt;My name is Justin Parnell. I don’t think we’ve met. Well, actually, we probably have. That’s too bad I didn’t know who you were at the time. If I did, I doubt I would be writing you this letter.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You took my blue and grey Vans backpack from me on Sunday, February 26th around 6:45 at Grand Prix Baltimore. You were able to grab it in the moments I had my eyes off of it, while I was just feet away around a group of people I know and trust. You must be good at what you do, because that was the only time it foolishly left my touch or sight all weekend. Just in case you’ve forgotten, let’s go over everything you’ve taken from me.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;Well, you certainly got my bag, which I’ve loved for many years because it was secure and sturdy enough to hold my most prized possession. It has a tear in the right shoulder at the strap from lovingly caring me on my journeys around the country to play the game I love. You probably dumped my bag in a trashcan somewhere.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You got several of the notes from a project I was working on with my best friend, which we’ve put hundreds and hundreds of hours into. Those notes meant everything to me and my friend, and nothing to everyone else in the world.  You probably scanned over them before realizing that and discarded them too.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You got my extra sleeves and favorite dice, including some of each that I was holding for a friend. The dice are an assorted variety, collected from trading with generous people to finally get all of the shapes and sizes I needed. There’s only about one of each kind, so those probably got tossed in the trash with my bag.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You got 95% of my Legacy and Modern staples. Those mean something to you for sure. Maybe you can sell them like I was going to. I was going to use the large portion of the money from those cards to put towards a new car for my girlfriend. We really can’t afford it, but we can afford even less for her current car to break down. I’m sure she’ll understand why we’ll have to wait several months longer and work a little bit harder at our average paying jobs. I guess we can just cross our fingers.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You’re probably licking your chops now, because you know what’s coming next. It’s likely why you grabbed my bag in the first place.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You took my cube from me. My entirely foiled cube, you know, aside from stuff like Mana Drain, Library of Alexandria, or dual lands. The single most valuable thing I own. It’s taken me over four years to get it completely foiled, but of course I couldn’t do it alone. I’ve had tons of people donate cards, as well as their time to locate hard to find items for me. Even dealers have gone out of their way to make sure I got the best deals possible, because they know how much this cube means to me and how much a player’s happiness in Magic means to them. This cube was more than a collection of cards. It was an extension of me, and representation of what I stand for in the Magic community. I had thousands of hours sharing that cube with hundreds of people. I’ve touched the community and helped countless others discover what they loved about the game. All the way from a kid who starting playing Magic because cubing looked so much fun to our current National Champion.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You most likely spent a few minutes figuring out how to sell it the quickest way.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;Really, you’ve take this cube from the community. I can no longer share what I love most about this game with anyone. I’ll have to cancel my weekly cube event at my local store. A place where the love for cube drafting has become so strong I have had to tell people there isn’t enough room on multiple occasions. I won’t be able to share my joy on the Open Series or at any Grand Prixes, bringing people together to do what we all love. You’ve stolen a peg in both the cube and Magic community.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;What’s taken me so long to craft and perfect through time, money, and dedication was destroyed in seconds. I’ve had an average job with average pay since I was sixteen, and Magic is where I’ve choose to put the little excess funds I’ve had.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You even have my favorite lands that are each worth no more than any foil basic lands. I’ve been collecting them since the release of &lt;/span&gt;&lt;span&gt;Invasion&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;My worst nightmare in the hobby that I deeply love has become a reality.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You won’t find anything else in that bag, but you’ve taken incredibly so much more that you can’t possibly see.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You stole a moment away from one of my best friends, who had just secured a Pro Tour invite by Top 4ing the Grand Prix. In what would have been the best moment in his career and an awesome celebration you managed to turn into hours of panic and despair for our close group of friends. We’ll just have to wait until he does it again to celebrate.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;While my friends were helping me in my search, you broke into their car and stole their bags, containing a computer used to run a business and the portion of a collection, minus the cards that he was loaning me for use in my cube. You know, which you have as well.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You’ve taken the thing that allowed me to meet my best friends, travel to fantastic places, create amazing memories, and grow as a person.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;You stole Magic from me. &lt;/span&gt;&lt;span&gt;If fourteen years ago, when I first opened that pack of Urza’s Legacy, someone had told me that eventually everything that I held dear would be stripped away by some immoral slime who never made anything of himself, I would have never gone on this incredible journey.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;I am not alone. At GP Baltimore more than 25 backpacks were taken by you. Some of you were caught, most of you were not. These people you stole from had, in large part, come to this Grand Prix to have a wonderful time with the people they enjoy and playing the game they love. How many people have you hurt? How many days, weeks, months, years have you ruined? Every night since has been sleepless for me, and I can only imagine what you’ve done to thousands of others. How many have quit this game, with tears, anger, and frustration, to fuel your greed?&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;This problem you cause has become absolutely ridiculous. I speak for the community when I say that this is the tipping point, where we say no more. We will watch out for each other’s bags, boxes and decks. Not just watch for you walking off with them, but taking the time to know what our friends are carrying. We will be sure to never let our bags leave our grasps, even for sixty seconds. That was all it took for you to take a huge part of my life.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;We’ll know it is not enough to simply acknowledge that theft exists. We have to actively seek you out, and let everyone know who you are. You and I both know that the tournament organizers are not doing enough to curb your appetite for crime, and I hope that changes. We do not deserve to be fearful of our property vanishing.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;Luckily, the community has been more amazing than you could ever imagine. We are coming together to stop this from happening to anyone else. This is the breaking point. We have had enough of you. There is no place for you in our community. Every player, vendor, tournament organizer, and Wizards employee will come together to stop you.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;So what do I do now that you’ve taken everything from me? I can’t build decks, trade, sell my cards, or cube. It looks like I’ll have to use my time doing something else.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;I will dedicate my new found time to finding you.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;Once you are found, I am going to put every necessary resource into prosecuting you to the fullest extent of the law. I am going to take from you everything you have taken from me. As much as I can from all of you will all be given back to the community, to help them move forward as they have helped me to do.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;I want justice, and I will not stop until I get it. I hope you understand exactly what you’re up against. You are a few fighting against thousands. You will not win. You will not deter us. This is only the beginning.&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;The Baltimore PD doesn’t take grand larceny lightly. Neither will any other city you are in.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;The community is fighting back. &lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;Justin Parnell&lt;/span&gt;&lt;br/&gt;&lt;strong&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;Please reshare this message.&lt;/span&gt;&lt;br/&gt;&lt;span&gt;&lt;/span&gt;&lt;br/&gt;&lt;span&gt;Please contact me at jparnell.101@gmail.com or through Facebook or Twitter (@JParnell1) directly with any information on my case, or any other case you would like me to share. Getting every bit of information shared with our amazing community, the city’s convention center staff and the local police for ANY case involving belongings stolen at events helps prevents future theft and will help lead to these criminals. Any piece of concrete evidence helps in these situations. Thanks for listening and sharing, you guys are all truly amazing.”&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/18916799103</link><guid>http://d20plus1.tumblr.com/post/18916799103</guid><pubDate>Wed, 07 Mar 2012 16:38:31 -0500</pubDate><category>Magic</category><category>magic the gathering</category><category>magic: the gathering</category><category>magic cards</category><category>MtG</category><category>Magic Community</category><category>Grand Prix Baltimore</category></item><item><title>To Anyone who follows me because of my occasional MTG posts:</title><description>&lt;p&gt;A good friend of mine, who is a much better card player than I am (he actually just finished a 0-4 thrashing of me) recently started tumbling.  His tumblog is almost exclusively about deck building, and he&amp;#8217;s known as &amp;#8220;The Innovator&amp;#8221; around the card shop where he hangs out.  Check him out at &lt;a href="http://gendrizzit.tumblr.com/"&gt;&lt;a href="http://gendrizzit.tumblr.com/"&gt;http://gendrizzit.tumblr.com/&lt;/a&gt;&lt;/a&gt;.&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/18687973747</link><guid>http://d20plus1.tumblr.com/post/18687973747</guid><pubDate>Sat, 03 Mar 2012 17:42:32 -0500</pubDate><category>Magic</category><category>magic: the gathering</category><category>magic the gathering</category><category>recommended blogs</category><category>magic cards</category><category>MtG</category><category>magic deck</category></item><item><title>Test Tube Cheeseburgers?</title><description>&lt;a href="http://singularityhub.com/2012/02/28/lab-grown-burger-to-be-served-in-six-months/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+SingularityHub+%28Singularity+Hub%29"&gt;Test Tube Cheeseburgers?&lt;/a&gt;: &lt;p&gt;Sounds delicious.&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/18444187753</link><guid>http://d20plus1.tumblr.com/post/18444187753</guid><pubDate>Tue, 28 Feb 2012 13:12:07 -0500</pubDate><category>Meat Production</category><category>Science!</category><category>Hamburger</category><category>Beef</category><category>In Vitro Meat</category><category>Meat</category><category>Cheeseburgers</category><category>Factory Farm</category></item><item><title>Photo</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_m03b1oLXw81qzado8o1_500.gif"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://25.media.tumblr.com/tumblr_m03b1oLXw81qzado8o2_500.gif"/&gt;&lt;br/&gt; &lt;br/&gt;</description><link>http://d20plus1.tumblr.com/post/18443058185</link><guid>http://d20plus1.tumblr.com/post/18443058185</guid><pubDate>Tue, 28 Feb 2012 12:41:50 -0500</pubDate><category>funny</category><category>politics</category><category>Rick Santorum</category><category>John Stewart</category><category>truth</category></item><item><title>Goodness of Guinness</title><description>&lt;p&gt;There really hasn&amp;#8217;t been much food snobbery on this blog, and I fully intended for that to occur more often.  So, I&amp;#8217;ll go with this:&lt;/p&gt;
&lt;p&gt;Bud, Coors, Miller, and Pabst all suck. Terribly. &lt;/p&gt;
&lt;p&gt;So, what do I drink when the occasion calls for something alcoholic?  Pretty much anything from the Guinness brewery.  From the original to the foreign extra stout, I pretty much love all of them.  Even Smithwicks (pronounced SMITH - ICKS, the W is silent) and Harp have their place.  Recently, I&amp;#8217;ve been on a kick for the Guinness Black Lager.  All of the good parts of cool, refreshing lager, with the smooth deliciousness of a Guinness.&lt;/p&gt;
&lt;p&gt;Seriously though, nothing really beats the original.  Starting when it&amp;#8217;s first poured and you stumble into that alternate reality where bubbles sink to the bottom, followed by the first drink of froth and dark liquid.  The only thing to dislike is that the best temperature to drink a Guinness at is not the ice cold one that it is most often served at.  In fact, it is claimed that the optimal temperature can be found by mixing half a cold Guinness with half a room temperature one.  At most bars that I&amp;#8217;ve ever been to that isn&amp;#8217;t an option, so you end up having to wait a few minutes.  In the end I think they&amp;#8217;re worth it though.  Besides, it gives you a chance to watch the cool nitrogenated bubbles float down in frothy waves.&lt;/p&gt;
&lt;p&gt;So, the next time you come across the dilemma of what beer to drink, take a Guinness.  It may be a little more expensive, but far and again I will take one Guinness stout over 20 Miller Lites.&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/17626198208</link><guid>http://d20plus1.tumblr.com/post/17626198208</guid><pubDate>Tue, 14 Feb 2012 18:09:05 -0500</pubDate><category>food</category><category>beer</category><category>20plus1</category><category>alcohol</category><category>Guinness</category></item><item><title>mtgfan:

“I’m a glassworker and I designed and sandblasted my...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lzd1kzF35O1qc29lyo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a class="tumblr_blog" href="http://mtgfan.tumblr.com/post/17584756610/im-a-glassworker-and-i-designed-and-sandblasted"&gt;mtgfan&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;“I’m a glassworker and I designed and sandblasted my own Magic table. What do you think?”&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Do want.&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/17584952336</link><guid>http://d20plus1.tumblr.com/post/17584952336</guid><pubDate>Mon, 13 Feb 2012 21:03:49 -0500</pubDate></item><item><title>LeonsBuddyDave: The entire idea of space is scary as hell</title><description>&lt;a href="http://leonsbuddydave.tumblr.com/post/17567727287/the-entire-idea-of-space-is-scary-as-hell"&gt;LeonsBuddyDave: The entire idea of space is scary as hell&lt;/a&gt;: &lt;p&gt;&lt;a class="tumblr_blog" href="http://leonsbuddydave.tumblr.com/post/17567727287/the-entire-idea-of-space-is-scary-as-hell"&gt;leonsbuddydave&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The idea that technology built by our greatest minds can see only a PATHETIC distance into the void of space is more than disconcerting, it’s terrifying&lt;/p&gt;
&lt;p&gt;think about how small you are relative to your own house&lt;/p&gt;
&lt;p&gt;now relative to the city you live in&lt;/p&gt;
&lt;p&gt;now your country&lt;/p&gt;
&lt;p&gt;now the world&lt;/p&gt;
&lt;p&gt;and then think…&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Unless of course you are Zaphod Beeblebrox&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/17569642630</link><guid>http://d20plus1.tumblr.com/post/17569642630</guid><pubDate>Mon, 13 Feb 2012 17:01:41 -0500</pubDate></item><item><title>Tools for Project Euler:  Prime Factorization</title><description>&lt;p&gt;I started doing Project Euler a few weeks ago, and have noticed several techniques that have come up time and again to help solve the problems.  So, rather than post solutions (which you can actually find mine on my github, linked in an earlier post) I decided I&amp;#8217;d post some helpful functions.&lt;/p&gt;
&lt;p&gt;The function I&amp;#8217;m going to go over in this post, is an easy way to find the prime factorization of a number, something that is generally not an easy feat.&lt;/p&gt;
&lt;p&gt;Basically, there are two things you want to check when you do this:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Make sure that you number is prime&lt;/li&gt;
&lt;li&gt;Make sure that it goes into whatever you&amp;#8217;re factoring&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;Whenever I think of prime factorization, I think of that tree they made us draw out whenever they first introduced the concept (I honestly don&amp;#8217;t remember if it was elementary or middle school).  You start at the top and work down to find the prime factors.  As it turns out, that is no where near the best way to do it.&lt;/p&gt;
&lt;p&gt;In fact, if you start at the bottom, and work up, you can cut out the primality test from you two checks.  By starting at two and working up, you guarantee that the first number you find that is a factor of your number is prime.  There are no smaller integers that can go into it, because otherwise you would have found them first to go into your big number.  So, we start with 2 (the smallest prime), find out if it goes into your number.  If it does, we divide the big number by two, and continue with the now smaller number, if it doesn&amp;#8217;t we increment.  So:&lt;/p&gt;
&lt;pre&gt;&lt;code class="javascript"&gt;def prime_factors(big_num):
    num = big_num
    x = 2
    list_primes = []
    list_exponents = []
    while x &amp;lt; big_num
        if num % x == 0
            num = num / x
            if x in list_primes
                list_exponents[len(list_exponents) - 1] ++
            else
                list_primes.append(x)
                list_exponents.append(1)
        else
            x ++
    factorization = [list_primes, list_exponents]
    return factorization&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This seems ok, but still has lots of room for improvement.  First, we&amp;#8217;ll work with our while loop&amp;#8217;s condition.  While it won&amp;#8217;t be wrong to go all the way to the number, you are looking at a lot more numbers than you need to be.  An obvious boundary is big_num/2.  That effectively halves the numbers you need to look at.  Better yet, we can stop at the square root of big_num, and if num is greater than 1 at the end of the look, add it to the list of factors.  Something else to be aware of:  every time you iterate through a while loop, the condition on top must be recalculated.  This means, that you can speed up your run time considerably by storing the square root in a variable, and then setting that as the limit, rather than calculating the square root every iteration.  So now, we end up with:&lt;/p&gt;
&lt;pre&gt;&lt;code class="javascript"&gt;def prime_factors(big_num):
    num = big_num
    x = 2
    root = big_num ** 0.5
    list_primes = []
    list_exponents = []
    while x &amp;lt; root:
        if num % x == 0:
            num = num / x
            if x in list_primes:
                list_exponents[len(list_exponents) - 1] ++
            else:
                list_primes.append(x)
                list_exponents.append(1)
        else:
            x ++
    if x != 1:
        list_prime.append(x)
        list_exponents.append(1)
    factorization = [list_primes, list_exponents]
    return factorization&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Ok, we&amp;#8217;re almost done, and the above code will probably be good enough for most problems, but there is one more speed up that I know about.  Once again, we&amp;#8217;re going to try and cut down the number of times we need to iterate.  After you get past 2, there are no more even numbers that are prime, so we shouldn&amp;#8217;t even bother checking them.  So, what we need to do is find out how many times 2 goes into the number, then, run the loop starting at three and iterating with x += 2.  So our final code snippet for this function is:&lt;/p&gt;
&lt;pre&gt;&lt;code class="javascript"&gt;def prime_factors(big_num):
    num = big_num
    x = 2
    root = big_num ** 0.5
    list_primes = []
    list_exponents = []
    while x == 2:
        if num % x == 0:
            num = num / x
            if x in list_primes:
                list_exponents[len(list_exponents) - 1] ++
            else:
                list_primes.append(x)
                list_exponents.append(1)
        else:
            x ++
    while x &amp;lt; root:
        if num % x == 0:
            num = num / x
            if x in list_primes:
                list_exponents[len(list_exponents) - 1] ++
            else:
                list_primes.append(x)
                list_exponents.append(1)
        else:
            x += 2
    if x != 1:
        list_prime.append(x)
        list_exponents.append(1)
    factorization = [list_primes, list_exponents]
    return factorization&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This function returns a list of lists, the first one has all of the prime factors of a number, and the second one has how many times those factors appeared.  There are probably better ways to do this, but this is how I do it, and so far it&amp;#8217;s always been fast enough to for my function to beat the 1 minute mark.&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/17567983733</link><guid>http://d20plus1.tumblr.com/post/17567983733</guid><pubDate>Mon, 13 Feb 2012 16:35:00 -0500</pubDate><category>project euler</category><category>programming</category><category>coding</category><category>math</category><category>prime factorization</category></item><item><title>Considering a Battle Herald</title><description>&lt;p&gt;So, my group is about to start this semester&amp;#8217;s campaign, and, much to my delight, we decided to stick with Pathfinder.  I&amp;#8217;m considering starting the campaign as a cavalier, then grabbing a level of bard later on so that I can grab the Battle Herald prestige class.  Does anyone have any experience with cavalier&amp;#8217;s or battle heralds? I&amp;#8217;ve only ever played arcane casters and have no real experience with them.  Thoughts and suggestions would be greatly appreciated.&lt;/p&gt;

&lt;p&gt;(Adding a question mark to allow answers&amp;#8230;)?&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/17323057600</link><guid>http://d20plus1.tumblr.com/post/17323057600</guid><pubDate>Thu, 09 Feb 2012 12:13:52 -0500</pubDate><category>Pathfinder</category><category>Cavalier</category><category>Battle Herald</category><category>Bard</category><category>Role Playing Games</category><category>Table Top RPG</category><category>RPGs</category></item><item><title>Candy</title><description>&lt;p&gt;My professor gave us candy in class again today.  I think this makes 4 times in the past 6 classes.  I think he plans on eating us before the semester ends&amp;#8230;&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/16930595602</link><guid>http://d20plus1.tumblr.com/post/16930595602</guid><pubDate>Thu, 02 Feb 2012 14:40:00 -0500</pubDate><category>school</category><category>candy</category><category>joke</category></item><item><title>Project Euler</title><description>&lt;p&gt;Started doing Project Euler last Wednesday, so far I&amp;#8217;ve gotten through the first 11 problems.  I may start posting my answers, but if I don&amp;#8217;t they&amp;#8217;re located at &lt;a href="https://github.com/rpkelly/Project-Euler"&gt;&lt;a href="https://github.com/rpkelly/Project-Euler"&gt;https://github.com/rpkelly/Project-Euler&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/16821465068</link><guid>http://d20plus1.tumblr.com/post/16821465068</guid><pubDate>Tue, 31 Jan 2012 11:10:56 -0500</pubDate><category>programming</category><category>math</category><category>Project Euler</category><category>coding</category></item><item><title>Anybody know a good image processing library for Python 3.2?</title><description>&lt;p&gt;I was working through &lt;a href="http://pythonchallenge.com" title="Python Challenge"&gt;pythonchallenge.com&lt;/a&gt; and got to level 7 which requires image processing.  I really don&amp;#8217;t want to have to switch to 2.7, mostly because I&amp;#8217;m somewhat stubborn.&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/16482657900</link><guid>http://d20plus1.tumblr.com/post/16482657900</guid><pubDate>Wed, 25 Jan 2012 16:59:47 -0500</pubDate><category>Python</category><category>programming</category><category>coding</category></item><item><title>SOPA EMERGENCY LIST.</title><description>&lt;a href="http://hallucinationslovemagic.tumblr.com/post/15948137398/sopa-emergency-list"&gt;SOPA EMERGENCY LIST.&lt;/a&gt;: &lt;p&gt;&lt;a class="tumblr_blog" href="http://mooojo.tumblr.com/post/16065220432/sopa-emergency-list"&gt;mooojo&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;SOPA Emergency IP list:         &lt;br/&gt;&lt;br/&gt;So if these ass-fucks in DC decide to &lt;br/&gt;ruin the internet, here’s how to access your favorite sites&lt;br/&gt; in the event of a DNS takedown&lt;br/&gt;&lt;br/&gt;        tumblr.com 174.121.194.34&lt;br/&gt;        wikipedia.org 208.80.152.201&lt;br/&gt;&lt;br/&gt;        # News&lt;br/&gt;        bbc.co.uk 212.58.241.131&lt;br/&gt;        aljazeera.com 198.78.201.252&lt;br/&gt;&lt;br/&gt;        # Social media&lt;br/&gt;        reddit.com 72.247.244.88&lt;br/&gt;        imgur.com 173.231.140.219&lt;br/&gt;        google.com 74.125.157.99&lt;br/&gt;        youtube.com 74.125.65.91&lt;br/&gt;        yahoo.com 98.137.149.56&lt;br/&gt;        hotmail.com 65.55.72.135&lt;br/&gt;        bing.com 65.55.175.254&lt;br/&gt;        digg.com 64.191.203.30&lt;br/&gt;        theonion.com 97.107.137.164&lt;br/&gt;        hush.com 65.39.178.43&lt;br/&gt;        gamespot.com 216.239.113.172&lt;br/&gt;        ign.com 69.10.25.46&lt;br/&gt;        cracked.com 98.124.248.77&lt;br/&gt;        sidereel.com 144.198.29.112&lt;br/&gt;        github.com 207.97.227.239&lt;br/&gt;&lt;br/&gt;        # Torrent sites&lt;br/&gt;        thepiratebay.org 194.71.107.15&lt;br/&gt;        mininova.com 80.94.76.5&lt;br/&gt;        btjunkie.com 93.158.65.211&lt;br/&gt;        demonoid.com 62.149.24.66&lt;br/&gt;        demonoid.me 62.149.24.67&lt;br/&gt;&lt;br/&gt;        # Social networking&lt;br/&gt;        facebook.com 69.171.224.11&lt;br/&gt;        twitter.com 199.59.149.230&lt;br/&gt;        tumblr.com 174.121.194.34&lt;br/&gt;        livejournal.com  209.200.154.225&lt;br/&gt;        dreamwidth.org  69.174.244.50&lt;br/&gt;&lt;br/&gt;        # Live Streaming Content&lt;br/&gt;        stickam.com 67.201.54.151&lt;br/&gt;        blogtv.com 84.22.170.149&lt;br/&gt;        justin.tv 199.9.249.21&lt;br/&gt;        chatroulette.com 184.173.141.231&lt;br/&gt;        omegle.com 97.107.132.144&lt;br/&gt;        own3d.tv 208.94.146.80 &lt;/pre&gt;
&lt;pre&gt;        megavideo.com 174.140.154.32&lt;br/&gt;&lt;br/&gt;        # Television&lt;br/&gt;        gorillavid.com 178.17.165.74&lt;br/&gt;        videoweed.com 91.220.176.248&lt;br/&gt;        novamov.com 91.220.176.248&lt;br/&gt;        tvlinks.com 208.223.219.206&lt;br/&gt;        1channel.com 208.87.33.151&lt;br/&gt;&lt;br/&gt;        # Shopping&lt;br/&gt;        amazon.com 72.21.211.176&lt;br/&gt;        newegg.com 216.52.208.187&lt;br/&gt;        frys.com 209.31.22.39&lt;br/&gt;&lt;br/&gt;        # File Sharing&lt;br/&gt;        mediafire.com 205.196.120.13&lt;br/&gt;        megaupload.com 174.140.154.20&lt;br/&gt;        fileshare.com 208.87.33.151&lt;br/&gt;        multiupload.com 95.211.149.7&lt;br/&gt;        uploading.com 195.191.207.40&lt;br/&gt;        warez-bb.org 31.7.57.13&lt;br/&gt;        hotfile.com 199.7.177.218&lt;br/&gt;        gamespy.com 69.10.25.46&lt;br/&gt;        what.cd 67.21.232.223&lt;br/&gt;        warez.ag 178.162.238.136&lt;br/&gt;        putlocker.com 89.238.130.247&lt;br/&gt;        uploaded.to 95.211.143.200&lt;br/&gt;        dropbox.com 199.47.217.179&lt;br/&gt;        pastebin.com 69.65.13.216&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Here’s a tip for the do-it-yourself crowd: &lt;br/&gt;Go to your computer’s Start menu, and either go to&lt;br/&gt; “run” or just search for “cmd.” &lt;br/&gt;Open it up, and type in “ping [website address],” &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Once you have the IP for a website, all you really &lt;br/&gt;need to do is enter it like you would &lt;br/&gt;a normal URL nd hit enter/press go. Typing in&lt;br/&gt; “208.85.240.231” &lt;br/&gt;should bring you to the front page of AO3,&lt;br/&gt; for example, just as typing “174.121.194.34/dashboard” &lt;br/&gt;should bring you straight to your Tumblr dashboard. &lt;br/&gt;Since we’re obviously bracing for the worst case scenario &lt;br/&gt;which would involve you not being &lt;br/&gt;able to access the internet regularly, you should,&lt;br/&gt; save this list.&lt;/pre&gt;
&lt;blockquote&gt;
&lt;p&gt;Dear Tumblr-ers, -ites, ettes, and whatever other things you may prefer,&lt;/p&gt;
&lt;p&gt;Please reblog the crap out of this. Add to it if you feel there is stuff necessary but missing.&lt;/p&gt;
&lt;p&gt;P.S. Thank you to the lovely who wrote this up.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;Here’s a few more:&lt;/p&gt;
&lt;p&gt;4chan.org 141.101.124.244&lt;/p&gt;
&lt;p&gt;blogger.com 209.85.145.191&lt;/p&gt;
&lt;p&gt;deviantart.com 199.15.160.100&lt;/p&gt;
&lt;p&gt;imageshack.com 208.94.0.21&lt;/p&gt;
&lt;p&gt;4walled.org 91.229.174.218&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/16067427067</link><guid>http://d20plus1.tumblr.com/post/16067427067</guid><pubDate>Wed, 18 Jan 2012 12:39:54 -0500</pubDate><category>SOPA</category><category>Worst Case Scenario</category><category>The Internet as we know it</category><category>PIPA</category><category>censorship</category></item><item><title>That Moment...</title><description>&lt;p&gt;&amp;#8230;when you realize you need to restart the terminal for your new alias&amp;#8217;s to take effect.&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/15785887149</link><guid>http://d20plus1.tumblr.com/post/15785887149</guid><pubDate>Fri, 13 Jan 2012 14:59:10 -0500</pubDate><category>Linux</category><category>Terminal</category><category>Programming</category><category>Bash</category><category>Between the chair and the keyboard...</category></item><item><title>My Love Life</title><description>&lt;p&gt;Ubuntu, sweetheart, you were my first, and nothing can take that away.  Oh, those were happy days in 8.04.  We really hit it off.  So well, as you know, that our relationship was long and, for the most part, happy.  You were everything I could have wanted, and I spent almost every moment with you.  Oh, there were rough patches, moments of jealousy over Windows, but we worked through them.  But then, suddenly, and almost inexplicably, it happened.  Somehow what I wanted and what you wanted were no longer the same.  You blathered constantly about &amp;#8220;Unity&amp;#8221;, and even went so far as to try and force that system on me!  Your sister Kubuntu and I got to know each other a bit better then, but it was never quite the same.&lt;/p&gt;

&lt;p&gt;Debian, darling, I&amp;#8217;m going to say something things right now you&amp;#8217;re not going to want to hear.  Our relationship didn&amp;#8217;t last very long, by its length some might assume it to have been a quick and passionate affair.  You may even choose to remember it that way.  But the truth is, the relationship, like yourself, was neither.  Perhaps that was what I liked about about you, that you were frozen in a time similar to when I first met Ubuntu.  But let&amp;#8217;s face it.  You were the easy solution, the rebound girl even.  This last fight, were you left me without even a working Live CD to try again, was about as much as I could take from you.&lt;/p&gt;

&lt;p&gt;Arch, beloved, our story has yet to truly begin.  You scorned me after Ubuntu and I first separated, refusing to even show me your X.  But you don&amp;#8217;t seem to recall that today.  Today, we finally went all the way.  And today seems wonderful.&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/15761303122</link><guid>http://d20plus1.tumblr.com/post/15761303122</guid><pubDate>Thu, 12 Jan 2012 23:32:24 -0500</pubDate><category>Linux</category><category>Computers</category><category>Operating Systems</category><category>Debian</category><category>Ubuntu</category><category>Arch Linux</category></item><item><title>haha</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lx21dzEjHc1qzezqno1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;haha&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/15096602559</link><guid>http://d20plus1.tumblr.com/post/15096602559</guid><pubDate>Sat, 31 Dec 2011 15:49:42 -0500</pubDate><category>Coding</category><category>Programming</category><category>Programming Jokes</category><category>Good Code</category><category>Computers</category></item><item><title>Pauper's Magic</title><description>&lt;p&gt;Pauper&amp;#8217;s Magic is possibly my favorite format, albeit one I don&amp;#8217;t get to play often as it requires a deck to be built specifically for it.  The rules for building a pauper&amp;#8217;s deck are simple:  60 common cards.  Cards that are commons in one set but uncommon or even rare in another are considered common for the purposes of building a pauper&amp;#8217;s deck.&lt;/p&gt;
&lt;p&gt;As a college student who seems to be broke half the time, I really appreciate the pauper rules.  I don&amp;#8217;t have to spend money keeping up with Standard, and I don&amp;#8217;t have to buy expensive rares to complete decks.  The mindset for building a pauper&amp;#8217;s deck often feels much more small scale than that of a Standard deck.  You aren&amp;#8217;t working to get one card onto the field, and individual cards in a combo tend to be a lot less powerful.  That said, a pauper deck can easily set off a combo that can end the game within 4 or 5 turns.  Grapeshot-Storm and Gobbo-Storm come to mind.&lt;/p&gt;
&lt;p&gt;My current deck uses fog and milling abilities for a slow, often times painful, game of battlefield control.  Here&amp;#8217;s the list:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TurboFog-Mill&lt;/strong&gt;:  Total Cards 60&lt;/p&gt;
&lt;p&gt;Mana: Total Cards 22&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;7 Forest&lt;/li&gt;
&lt;li&gt;13 Island&lt;/li&gt;
&lt;li&gt;2 Halimar Depths&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Creatures: Total Cards: 2&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;2 Reckless Scholar&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Artifacts/Enchantments:  Total Cards: 8&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;1 Nihil Spellbomb&lt;/li&gt;
&lt;li&gt;1 Sunbeam Spellbomb&lt;/li&gt;
&lt;li&gt;2 Prophetic Prism&lt;/li&gt;
&lt;li&gt;4 Jace&amp;#8217;s Erasure&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Instants/Sorceries: Total Cards: 28&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;1 Counsel of Soratami&lt;/li&gt;
&lt;li&gt;4 Tome Scour&lt;/li&gt;
&lt;li&gt;2 Forsee&lt;/li&gt;
&lt;li&gt;4 Counterspell&lt;/li&gt;
&lt;li&gt;2 Ponder&lt;/li&gt;
&lt;li&gt;2 Treasure Hunt&lt;/li&gt;
&lt;li&gt;3 Fog&lt;/li&gt;
&lt;li&gt;4 Moment&amp;#8217;s Peace&lt;/li&gt;
&lt;li&gt;2 Constant Mists&lt;/li&gt;
&lt;li&gt;2 Explore&lt;/li&gt;
&lt;li&gt;1 Blunt the Assault&lt;/li&gt;
&lt;li&gt;1 Spore Cloud&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Sideboard:  Total Cards: 15&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;2 Manaleak&lt;/li&gt;
&lt;li&gt;2 Island&lt;/li&gt;
&lt;li&gt;2 Thoughtbind&lt;/li&gt;
&lt;li&gt;1 Stoic Rebuttal&lt;/li&gt;
&lt;li&gt;2 Power Sink&lt;/li&gt;
&lt;li&gt;1 Negate&lt;/li&gt;
&lt;li&gt;1 ThinkTwice&lt;/li&gt;
&lt;li&gt;1 Divination&lt;/li&gt;
&lt;li&gt;2 Llanowar Elves&lt;/li&gt;
&lt;li&gt;1 Naturalize&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;-&lt;/p&gt;
&lt;p&gt;The basic idea is to take as much damage as you can handle, then start fogging until the opponent has been milled to death.  The sideboard loads up on counterspell abilities to swap out the fog abilities in case you are facing a non-creature based deck such as mono red burn.  Comments and suggestions on the deck are welcome.&lt;/p&gt;</description><link>http://d20plus1.tumblr.com/post/14961360497</link><guid>http://d20plus1.tumblr.com/post/14961360497</guid><pubDate>Thu, 29 Dec 2011 01:01:23 -0500</pubDate><category>MTG</category><category>Magic</category><category>Magic Formats</category><category>Magic the gathering</category><category>Magic: the gathering</category><category>Pauper's Magic</category><category>Magic Deck</category></item><item><title>Photo</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lwrslaM1HZ1r84w60o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://d20plus1.tumblr.com/post/14770687622</link><guid>http://d20plus1.tumblr.com/post/14770687622</guid><pubDate>Sun, 25 Dec 2011 12:29:32 -0500</pubDate><category>Linux</category><category>Tux</category><category>Christmas Season</category><category>Holiday Season</category><category>Christmas</category></item></channel></rss>
