<?xml version='1.0' encoding='utf-8' ?>
<!--  If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/  -->
<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:media='http://search.yahoo.com/mrss/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>A Dork to the Nth Degree</title>
  <link>http://dragonx2.livejournal.com/</link>
  <description>A Dork to the Nth Degree - LiveJournal.com</description>
  <lastBuildDate>Wed, 21 Jan 2009 05:30:39 GMT</lastBuildDate>
  <generator>LiveJournal / LiveJournal.com</generator>
  <lj:journal>dragonx2</lj:journal>
  <lj:journalid>1747981</lj:journalid>
  <lj:journaltype>personal</lj:journaltype>
  <atom10:link rel='hub' href='http://pubsubhubbub.appspot.com/' />
  <image>
    <url>http://l-userpic.livejournal.com/47842460/1747981</url>
    <title>A Dork to the Nth Degree</title>
    <link>http://dragonx2.livejournal.com/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/314530.html</guid>
  <pubDate>Wed, 21 Jan 2009 05:30:39 GMT</pubDate>
  <link>http://dragonx2.livejournal.com/314530.html</link>
  <description>&lt;img src=&quot;http://2009.cusec.net/wp-content/themes/wp_yoghourt/images/cusec09_1_sized_white.png&quot; /&gt;&lt;br /&gt;&lt;br /&gt;=D</description>
  <comments>http://dragonx2.livejournal.com/314530.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/313683.html</guid>
  <pubDate>Wed, 07 Jan 2009 08:41:22 GMT</pubDate>
  <title>B07 Completed</title>
  <link>http://dragonx2.livejournal.com/313683.html</link>
  <description>YES! I am FINALLY done as a TA for CSCB07 (Software Design)!! w00t! &lt;br /&gt;&lt;br /&gt;Holy shit, I really worked a lot today. Lets do a recap.&lt;br /&gt;&lt;br /&gt;5:45 am - Woken up by stupid Alphonse&lt;br /&gt;5:58 am - Woken up by mom&lt;br /&gt;6:00 am - Woken up by alarm clock&lt;br /&gt;6:45 am - Leave house, drive Alphonse/Mom to work&lt;br /&gt;8:00 am - Arrive at work&lt;br /&gt;8:30 am - Searched for Ewen&lt;br /&gt;9:53 am - Found Ewen&lt;br /&gt;12:00 am - Lunch Break&lt;br /&gt;1:00 pm - Back to Work&lt;br /&gt;5:00 pm - Everyone leaves work except for Me and Orlando&lt;br /&gt;7:45 pm - Give up on X.509 Biztalk Certificates and decide to call it a day&lt;br /&gt;8:30 pm - Arrive home, eat dinner, etc...&lt;br /&gt;9:00 pm - Watch Season Premier of Scrubs! &lt;br /&gt;9:30 pm - Start Marking&lt;br /&gt;11:30 pm - Lost Cindee&lt;br /&gt;11:44 pm - Formed Cindee Search Committee&lt;br /&gt;11:45 pm - Found Cindee (It was THAT effective!)&lt;br /&gt;3:30 am - Finished Marking! Officially completed my duties as a B07 TA!&lt;br /&gt;3:40 am - Blog about this momentus occasion&lt;br /&gt;3:41 am - Sleep&lt;br /&gt;&lt;br /&gt;There&apos;s a huge snow storm tomorrow... fun commute =)</description>
  <comments>http://dragonx2.livejournal.com/313683.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/313390.html</guid>
  <pubDate>Wed, 07 Jan 2009 04:51:28 GMT</pubDate>
  <title>Missing Cindee</title>
  <link>http://dragonx2.livejournal.com/313390.html</link>
  <description>I&apos;m missing Cindee. No no, I don&apos;t mean the lovey-dovey kinda missing, although now that I think about it, I do feel a slight tug at my heart. Anyways, I lost her. Yes, I lost her again!&lt;br /&gt;&lt;br /&gt;The last time I had contact with her, was while I was driving home from work, at approximately 8:20 pm on the phone. I said good bye as I walked into my house, and promised to call her back. Its now 11:48 pm. Usually, if I don&apos;t call her back within 1 hour, she gets mad and calls me back. But she didn&apos;t! Worried, I started messaging her on MSN and received no reply! It&apos;s now been over 3 hours and still no Cindee contact, so I conclude she is missing.&lt;br /&gt;&lt;br /&gt;I&apos;ve decided to start a Cindee Search Committee, to aid in this time of need. You may get a badge here:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.antonnguyen.com/SearchCommitteeBadge.png&quot;&gt;&lt;img src=&quot;http://www.antonnguyen.com/SearchCommitteeBadge.png&quot; width=&quot;100&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And together we will find her! I used a picture of Cindee hiding her face, so that you could make her out, but not see her... just like how I cannot see her right now since she is missing. I then put question marks to convey her &quot;lostness&quot;. &lt;br /&gt;&lt;br /&gt;Good luck team!</description>
  <comments>http://dragonx2.livejournal.com/313390.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/313266.html</guid>
  <pubDate>Tue, 06 Jan 2009 23:46:36 GMT</pubDate>
  <title>Work</title>
  <link>http://dragonx2.livejournal.com/313266.html</link>
  <description>Started working at 8. Its now past 7. I&apos;m still at work. Man am I a workaholic =(&lt;br /&gt;&lt;br /&gt;Must...find...way...out...!&lt;br /&gt;&lt;br /&gt;Damn you X.509/BizTalk/Diffie-Hellman!!</description>
  <comments>http://dragonx2.livejournal.com/313266.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/313059.html</guid>
  <pubDate>Sat, 13 Dec 2008 09:18:05 GMT</pubDate>
  <title>Stomach Volcano</title>
  <link>http://dragonx2.livejournal.com/313059.html</link>
  <description>After 2 days of food poisoning, my poor stomach has transformed into a hostile environment, where it suspects everything of being a poison. So what does that mean for me? Imagine a volcano. Constantly rumbling and bubbling. That&apos;s what its like. It rumbles and bubbles and just produces a lot of gas, until I become bloated. Then I &quot;erupt&quot; and left the gas out. Needless to say, Bryan isn&apos;t having a lot of fun sitting beside me.</description>
  <comments>http://dragonx2.livejournal.com/313059.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/312578.html</guid>
  <pubDate>Sat, 13 Dec 2008 00:44:40 GMT</pubDate>
  <title>xbox 360</title>
  <link>http://dragonx2.livejournal.com/312578.html</link>
  <description>Just got an xbox 360... these are the games I am going to get...&lt;br /&gt;&lt;br /&gt;1. Grand Theft Auto IV&lt;br /&gt;2. The Orange Box&lt;br /&gt;3. BioShock&lt;br /&gt;4. Call of Duty 4: Modern Warfare&lt;br /&gt;5. Gears of War&lt;br /&gt;7. Gears of War 2&lt;br /&gt;8. Halo 3 &lt;br /&gt;10. Guitar Hero II&lt;br /&gt;12. Rock Band&lt;br /&gt;13. Rock Band 2&lt;br /&gt;16. Geometry Wars: Retro Evolved 2&lt;br /&gt;17. Call of Duty 2&lt;br /&gt;20. NHL 09&lt;br /&gt;21. Super Street Fighter II Turbo HD Remix&lt;br /&gt;25. Left 4 Dead &lt;br /&gt;30. FIFA Soccer 09&lt;br /&gt;34. Geometry Wars: Retro Evolved &lt;br /&gt;39. Guitar Hero III: Legends of Rock&lt;br /&gt;44. Viva Pinata &lt;br /&gt;45. Soulcalibur IV&lt;br /&gt;49. Guitar Hero World Tour&lt;br /&gt;57. NBA 2K7&lt;br /&gt;66. Prince of Persia</description>
  <comments>http://dragonx2.livejournal.com/312578.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/312510.html</guid>
  <pubDate>Tue, 09 Dec 2008 06:13:55 GMT</pubDate>
  <title>eeepc + eeebuntu = crazy awesome</title>
  <link>http://dragonx2.livejournal.com/312510.html</link>
  <description>Xandros was pissing me off, so I ripped it out of my eeepc,and installed eeebuntu (ubuntu, but specifically for eeepc) and I gotta tell you, its SO much better! The power... ad it has compiz setup and installed by default too!</description>
  <comments>http://dragonx2.livejournal.com/312510.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/312107.html</guid>
  <pubDate>Mon, 08 Dec 2008 08:39:04 GMT</pubDate>
  <title>The Curse of the Diet Coke</title>
  <link>http://dragonx2.livejournal.com/312107.html</link>
  <description>I was thirsty. I guess that&apos;s how most curses start. Boy is thirsty. Boy accidentally offends some idol/grave/supernatural being and becomes cursed. I offended none of them, yet I was still cursed.&lt;br /&gt;&lt;br /&gt;I spent the day at school, studying like I should be. Since I had my laptop, I was reluctant to leave it alone, even for a few minutes to grab a bite to eat. Fortunately, my buddy Alan came about with a giant can of Pringles. How I loved those chips. The minute he opened it up, I ravaged it. I scooped up the can&apos;s innards and let it slide down my throat in a symphony of tastiness (yes, I don&apos;t chew, which is why Cindee &quot;claims&quot; I eat like a duck). &lt;br /&gt;&lt;br /&gt;The beast had finished his fill, now it was thirsty. So I decided to dig up all the change I could find, and buy myself a drink. $1.25, enough for a can of coke. So I happily leave my stuff under the watchful eyes of Alan and gave the vending machine a visit. &lt;br /&gt;&lt;br /&gt;It was outrageous! No cans, only bottles, all $2.00 and more! I could not afford it, so I decided to take money out from the ATM. I withdrew $30, and went to the machine to stick in a $10. It was such a crispy $10. As I feed it to the machine, I thought to myself, &quot;wow, its such a crispy ten dollar bill, the machine must love eating it up&quot;. Oh, it loved eating it up. It loved it so much, that it wouldn&apos;t give any of the change back!&lt;br /&gt;&lt;br /&gt;The outrage! I looked down to where the change should of been dispensed, and noticed all kinds of damage and holes. It appeared that I wasn&apos;t the machine&apos;s first victim. Angrily, I kicked at the machine, but to no avail. My money was gone. &lt;br /&gt;&lt;br /&gt;Dejected, I slowly took the long lonely walk back to my seat, knowing that the only satisfaction would be from finally quenching my thirst with a bottle of Coke. It was diet. Oh the horror! I tried to convince myself that it would be delicious. It wasn&apos;t. &lt;br /&gt;&lt;br /&gt;By then, Tenniel had arrived as well. Alan and Tenniel tried to cheer me up, by pointing out the $1000,000 contest on the &quot;coke&quot; bottle. All I had to do was look under the cap to see if I had won. So I happily spent 5 or so minutes struggling to let the little rubber out. You know what I won? NOTHING! The curse had begun! &lt;br /&gt;&lt;br /&gt;First it stole my $10, then it stole my $1000,000! But the worse was yet to come. I had ruined the cap, so I wasn&apos;t able to screw it on. While Tenniel was talking to me, I flexed my arms and my gigantic pipes expanded and pushed the bottle over the table (Tenniel said my elbow knocked it over, but that seems implausible) and right into Tenniel&apos;s bag! It didn&apos;t fall on its side. It didn&apos;t fall standing up. It fell upside down, and got stuck like that, pouring ALL the contents into his bag!&lt;br /&gt;&lt;br /&gt;Needless to say, it was an interesting hour, taking his bag to the washroom, dumping it out into the toilet, dunking it into the sink, and blow drying the bag. Fortunately, the curse was lifted. You see, I believe the diet coke just wanted to escape back to the ocean where it belonged. That&apos;s why it did everything it did. If I hadn&apos;t lost my $10 dollars, Tenniel wouldn&apos;t of pointed out the $1000,000. If the $1000,000 hadn&apos;t been stolen, I wouldn&apos;t of instinctively flexed my massive pythons, knocking the bottle over. If it hadn&apos;t fallen into Tenniel&apos;s bag, it would of ended up on the floor and not the toilet. And if it wasn&apos;t for the toilet, it would of never returned to the sea. &lt;br /&gt;&lt;br /&gt;I drank some. I hope the cursed coke decides to leave my body naturally...</description>
  <comments>http://dragonx2.livejournal.com/312107.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/312022.html</guid>
  <pubDate>Sat, 06 Dec 2008 21:28:45 GMT</pubDate>
  <title>Fucking Peter....</title>
  <link>http://dragonx2.livejournal.com/312022.html</link>
  <description>I leave my laptop alone for ONE second and this is what happens...&lt;br /&gt;&lt;br /&gt;&lt;a name=&quot;cutid1&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;img src=&quot;http://www.utsc.utoronto.ca/~03nguyev/peterjackaass.jpg&quot; /&gt;&lt;br /&gt;</description>
  <comments>http://dragonx2.livejournal.com/312022.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/311548.html</guid>
  <pubDate>Fri, 05 Dec 2008 09:12:58 GMT</pubDate>
  <link>http://dragonx2.livejournal.com/311548.html</link>
  <description>Okay this time for sure!!</description>
  <comments>http://dragonx2.livejournal.com/311548.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/311232.html</guid>
  <pubDate>Fri, 05 Dec 2008 09:12:37 GMT</pubDate>
  <link>http://dragonx2.livejournal.com/311232.html</link>
  <description>Okay. Ate. Toilet. Showered, Brushed Teeth. Now sleep!!!</description>
  <comments>http://dragonx2.livejournal.com/311232.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/310388.html</guid>
  <pubDate>Thu, 20 Nov 2008 16:49:44 GMT</pubDate>
  <link>http://dragonx2.livejournal.com/310388.html</link>
  <description>&lt;img src=&quot;http://www.utsc.utoronto.ca/~03nguyev/skins_grid.png&quot; /&gt;</description>
  <comments>http://dragonx2.livejournal.com/310388.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/310106.html</guid>
  <pubDate>Wed, 22 Oct 2008 13:07:59 GMT</pubDate>
  <link>http://dragonx2.livejournal.com/310106.html</link>
  <description>Finished 1 exam. 2 more to go today. I feel sick to my stomach, like I&apos;m going to vomit.. Need sleep... so badly...&lt;br /&gt;&lt;br /&gt;In other news, I just discovered like 10 minutes ago what the format of the Plagues and Peoples exam will be. Multiple choice. Awesome!&lt;br /&gt;&lt;br /&gt;This means, I got 2 hours to read it the material, absorb it, and regurgitate it on the exam using the process of elimination! That&apos;s the great thing about this course, its like reading 15 articles, which is what I do all day. This is gonna be awesome. I hope (or is this just the sleepiness talking?)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note to self: Ask Cindee for 15 hugs.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update&lt;/b&gt; 2 down. 1 to go. Man, that plagues exam was EASY! I didn&apos;t have to think at all! Coincidentally, I ended choosing C alot. Hrm... I guess any test is easy, if you just guess all the answers! =D</description>
  <comments>http://dragonx2.livejournal.com/310106.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/309421.html</guid>
  <pubDate>Wed, 15 Oct 2008 06:09:53 GMT</pubDate>
  <title>The Story Of How I Voted Today</title>
  <link>http://dragonx2.livejournal.com/309421.html</link>
  <description>So as you know, today was the election. Conservatives won, blah blah. Who cares, what matters was, I voted! Most people just went to their register station and voted. Not me. &lt;br /&gt;&lt;br /&gt;You see, I live in Brampton during the weekends, and I&apos;m up in Scarborough during the week day. However, I&apos;m only registered to vote in Brampton. To complicate matters, I had forgotten my registration card at home!&lt;br /&gt;&lt;br /&gt;So I got to school, determined to have my say. I concocted this elaborate plan, where I would find people who weren&apos;t going to vote, and ask them to vote for me. Why? Because they&apos;re wasting their vote anyways, why not just vote symbolically in my place? I thought of all the people who weren&apos;t voting (yes, my brother and his girlfriend were included in my thoughts), and was ready to commence my grand scheme. However, an article in the Toronto Star caught my eye.&lt;br /&gt;&lt;br /&gt;According to the article, homeless people, non-registered persons, etc.. could still vote! All you needed was ID! Oh how happy I was, so I went home, grabbed all my ID, and headed to the voting station in Scarborough. &lt;br /&gt;&lt;br /&gt;Guess what? I got DENIED! All my identification had &quot;Brampton&quot; as my address! Meaning, I belonged to the Brampton-Springdale riding, meaning I couldn&apos;t vote in the Scarborough-Pickering riding! My friend Jenny was in the same situation, but she had identification of a Scarborough-based address (her school sent mail to this address). She got one step further then me, before getting DENIED by the overzealous indian guy. &lt;br /&gt;&lt;br /&gt;I was inspired, so I went back home, looked for a 2006 government paycheck stub, and took it back to the voting station. I was about to be DENIED by the OIG, but I argued with them, &quot;But this is my home, why would the government send a cheque to a place that I don&apos;t live at?&quot; The moderator comes by, and chimes in, &quot;His identification (my brampton-based driver&apos;s license) identifies him, but the cheque verifies his location...so he can vote!&quot;&lt;br /&gt;&lt;br /&gt;Success! I eagerly received my ballot, contemplated GOP, Christian Heritage, but didn&apos;t know who the hell they were (Sex Party and Communist wasn&apos;t on the ballot), cast my vote, and walked out a proud man. &lt;br /&gt;&lt;br /&gt;And they say its hard to get the youth to vote...psft!</description>
  <comments>http://dragonx2.livejournal.com/309421.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/308993.html</guid>
  <pubDate>Fri, 10 Oct 2008 21:44:52 GMT</pubDate>
  <title>That&apos;s What She Said</title>
  <link>http://dragonx2.livejournal.com/308993.html</link>
  <description>&lt;img src=&quot;http://fapipo.today.com/files/2008/10/1223512827678.jpg&quot; /&gt;</description>
  <comments>http://dragonx2.livejournal.com/308993.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/308911.html</guid>
  <pubDate>Fri, 10 Oct 2008 01:50:29 GMT</pubDate>
  <title>Microsoft Interview</title>
  <link>http://dragonx2.livejournal.com/308911.html</link>
  <description>I feel like I&apos;m studying for an exam. However, my actions are duly warranted; Microsoft interviews are tough!&lt;br /&gt;&lt;br /&gt;Let me provide you a subset of the questions I may be asked. They are divided into four catagories: Riddles, Algorithms, Application, Thinkers.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Riddles&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Why is a manhole cover round? &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Imagine an analog clock set to 12 o&apos;clock. Note that the hour and minute hands overlap. How many times each day do both the hour and minute hands overlap? How would you determine the exact times of the day that this occurs? &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Imagine an analog clock set to 12 o&apos;clock. Note that the hour and minute hands overlap. How many times each day do both the hour and minute hands overlap? How would you determine the exact times of the day that this occurs? &lt;/li&gt;&lt;br /&gt;&lt;li&gt;If you had an infinite supply of water and a 5 quart and 3 quart pail, how would you measure exactly 4 quarts? &lt;/li&gt;&lt;br /&gt;&lt;li&gt;You have a bucket of jelly beans. Some are red, some are blue, and some green. With your eyes closed, pick out 2 of a like color. How many do you have to grab to be sure you have 2 of the same?&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Algorithms&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;What&apos;s the difference between a linked list and an array? &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Implement an algorithm to reverse a linked list. Now do it without recursion. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Write routines to manage a heap using an existing array. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Write a function to print the Fibonacci numbers. &lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Applications&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;How would you redesign an ATM? &lt;/li&gt;&lt;br /&gt;&lt;li&gt;How would you go about building a keyboard for 1-handed users?&lt;/li&gt;&lt;br /&gt;&lt;li&gt;If you could add any feature to Microsoft Word, what would it be?&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thinkers&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;You have been assigned to design Bill Gates bathroom. Naturally, cost is not a consideration. You may not speak to Bill. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;How would you explain how to use Microsoft Excel to your grandma? &lt;/li&gt;&lt;br /&gt;&lt;li&gt;What was the hardest question asked of you so far today? &lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I&apos;m somewhat nervous, but not really. Microsoft would be awesome! Especially the third interview (I&apos;m on the second one), you get to fly down to Seattle for 2 days of interviews, 1 day of sightseeing. Exciting!</description>
  <comments>http://dragonx2.livejournal.com/308911.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/308724.html</guid>
  <pubDate>Wed, 24 Sep 2008 21:47:11 GMT</pubDate>
  <title>PETA Are Fucking Morons</title>
  <link>http://dragonx2.livejournal.com/308724.html</link>
  <description>Time and time again, PETA insists on saying and doing things that makes me cringe at the thought that a group of people exist, who are such moronic imbeciles. A wise man once said, &quot;never go full retard&quot;. PETA always goes full retard. So what is this recent move that has irritated me so much? PETA actually sent a letter to Ben and Jerry&apos;s Ice Cream asking them to &lt;a href=&quot;http://www.wptz.com/news/17539127/detail.html&quot;&gt;Substitute Human Milk for Cow Milk&lt;/a&gt; in their products.&lt;br /&gt;&lt;br /&gt;They love ordering people around to do things just to save a few stupid animals. They&apos;re ALL about guerrilla-style publicity stunts. They&apos;re just as bad as those &lt;a href=&quot;http://www.godhatesfags.com/&quot;&gt;Westboro Baptist Church (the God hates fags people)&lt;/a&gt;. Remember the greyhound bus beheading? They actually released an ad &lt;a href=&quot;http://www.cbc.ca/canada/story/2008/08/06/peta-mclean.html&quot;&gt;comparing the incident as similar to slaughtering animals&lt;/a&gt;. Seeing PETA&apos;s antics makes me WANT to eat more eat, just to spite them!&lt;br /&gt;&lt;br /&gt;I guess its not their fault. I mean, how would you act if &lt;a href=&quot;http://timesofindia.indiatimes.com/HealthSci/Eating_veggies_shrinks_the_brain/articleshow/3480629.cms&quot;&gt;your brain was shrinking&lt;/a&gt;?</description>
  <comments>http://dragonx2.livejournal.com/308724.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/308476.html</guid>
  <pubDate>Wed, 24 Sep 2008 04:56:54 GMT</pubDate>
  <link>http://dragonx2.livejournal.com/308476.html</link>
  <description>Bryan Nguyen: I hate babies! They&apos;re like fucking monkeys!</description>
  <comments>http://dragonx2.livejournal.com/308476.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/307703.html</guid>
  <pubDate>Thu, 11 Sep 2008 16:04:45 GMT</pubDate>
  <title>Cool Videos</title>
  <link>http://dragonx2.livejournal.com/307703.html</link>
  <description>&lt;lj-embed id=&quot;14&quot; /&gt;&lt;br /&gt;&lt;a href=&quot;http://vimeo.com/1700732?pg=embed&amp;amp;sec=1700732&quot;&gt;EepyBird&apos;s Sticky Note experiment&lt;/a&gt; from &lt;a href=&quot;http://vimeo.com/user737605?pg=embed&amp;amp;sec=1700732&quot;&gt;Eepybird&lt;/a&gt; on &lt;a href=&quot;http://vimeo.com?pg=embed&amp;amp;sec=1700732&quot;&gt;Vimeo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;lj-embed id=&quot;15&quot; /&gt;</description>
  <comments>http://dragonx2.livejournal.com/307703.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/307174.html</guid>
  <pubDate>Tue, 09 Sep 2008 17:29:20 GMT</pubDate>
  <title>Holy Shit</title>
  <link>http://dragonx2.livejournal.com/307174.html</link>
  <description>Holy Shit, I am &lt;em&gt;The Legend&apos;&lt;/em&gt;s TA.&lt;br /&gt;&lt;br /&gt;For those of you not so adverse in Anton mythology, &lt;em&gt;The Legend&lt;/em&gt; is the smartest and best computer science student at UTSC. He started the same year as I, and he would be able to compete hand in hand with the professors while the rest of us were confused. &lt;br /&gt;&lt;br /&gt;He is called &lt;em&gt;The Legend&lt;/em&gt; because his intelligence is &lt;em&gt;Legendary&lt;/em&gt;. He makes it seem so easy, plus he&apos;s a nice guy, and he&apos;s Viet. &lt;br /&gt;&lt;br /&gt;So now I am his TA for c09. I think that&apos;s pretty neat, he used to help me out back in the day, and I guess I&apos;ll be helping him out now... maybe... after all, he is &lt;em&gt;The Legend.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;</description>
  <comments>http://dragonx2.livejournal.com/307174.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/306793.html</guid>
  <pubDate>Thu, 28 Aug 2008 15:35:40 GMT</pubDate>
  <title>3 Jobs</title>
  <link>http://dragonx2.livejournal.com/306793.html</link>
  <description>I don&apos;t know how it happened, but come September, I will have 3 jobs! Dammit! I won&apos;t have time for anything!&lt;br /&gt;&lt;br /&gt;1) Software Developer @ Berkeley Payment Solutions&lt;br /&gt;I&apos;ll be doing mostly maintenance on the software I created in the past.&lt;br /&gt;&lt;br /&gt;2) CSCC09 TA&lt;br /&gt;I&apos;ll be teaching the Programming on the Web Tutorial. This is my favourite course, so that&apos;ll be kinda cool!&lt;br /&gt;Tuesday from 2-4 every week&lt;br /&gt;&lt;br /&gt;3) CSCB07 TA&lt;br /&gt;I&apos;ll be teaching the Software Design Tutorial. I just got assigned this one today. I didn&apos;t even ask for it lol, dammit!&lt;br /&gt;Tuesday from 4-5 or Tuesday from 9-10&lt;br /&gt;&lt;br /&gt;This will be pretty cool, so every week I will make like $100, not bad not bad! =D</description>
  <comments>http://dragonx2.livejournal.com/306793.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>4</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/306509.html</guid>
  <pubDate>Thu, 28 Aug 2008 05:05:19 GMT</pubDate>
  <title>Monopoly Simulator</title>
  <link>http://dragonx2.livejournal.com/306509.html</link>
  <description>So I was doing one of the euler questions, and it asks:&lt;br /&gt;&lt;a name=&quot;cutid1&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;In the game, &lt;i&gt;Monopoly&lt;/i&gt;, the standard board is set up in the following way:&lt;/p&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;5&quot; border=&quot;0&quot; align=&quot;center&quot; style=&quot;background-color: rgb(51, 51, 51);&quot;&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;GO&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;A1&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;CC1&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;A2&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;T1&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;R1&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;B1&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;CH1&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;B2&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;B3&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;JAIL&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;H2&lt;/td&gt;&lt;br /&gt;&lt;td colspan=&quot;9&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;C1&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;T2&lt;/td&gt;&lt;br /&gt;&lt;td colspan=&quot;9&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;U1&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;H1&lt;/td&gt;&lt;br /&gt;&lt;td colspan=&quot;9&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;C2&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;CH3&lt;/td&gt;&lt;br /&gt;&lt;td colspan=&quot;9&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;C3&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;R4&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;td colspan=&quot;9&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;R2&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;G3&lt;/td&gt;&lt;br /&gt;&lt;td colspan=&quot;9&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;D1&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;CC3&lt;/td&gt;&lt;br /&gt;&lt;td colspan=&quot;9&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;CC2&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;G2&lt;/td&gt;&lt;br /&gt;&lt;td colspan=&quot;9&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;D2&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;G1&lt;/td&gt;&lt;br /&gt;&lt;td colspan=&quot;9&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;D3&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;G2J&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;F3&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;U2&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;F2&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;F1&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;R3&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;E3&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;E2&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;CH2&lt;/td&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;E1&lt;/td&gt;&lt;br /&gt;&lt;br /&gt;&lt;td style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;FP&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;A player starts on the GO square and adds the scores on two 6-sided dice to determine the number of squares they advance in a clockwise direction. Without any further rules we would expect to visit each square with equal probability: 2.5%. However, landing on G2J (Go To Jail), CC (community chest), and CH (chance) changes this distribution.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;In addition to G2J, and one card from each of CC and CH, that orders the player to go to directly jail, if a player rolls three consecutive doubles, they do not advance the result of their 3rd roll. Instead they proceed directly to jail.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;At the beginning of the game, the CC and CH cards are shuffled. When a player lands on CC or CH they take a card from the top of the respective pile and, after following the instructions, it is returned to the bottom of the pile. There are sixteen cards in each pile, but for the purpose of this problem we are only concerned with cards that order a movement; any instruction not concerned with movement will be ignored and the player will remain on the CC/CH square.&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Community Chest (2/16 cards):&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Advance to GO&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go to JAIL&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Chance (10/16 cards):&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Advance to GO&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go to JAIL&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go to C1&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go to E3&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go to H2&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go to R1&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go to next R (railway company)&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Go to next R&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go to next U (utility company)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go back 3 squares.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;The heart of this problem concerns the likelihood of visiting a particular square. That is, the probability of finishing at that square after a roll. For this reason it should be clear that, with the exception of G2J for which the probability of finishing on it is zero, the CH squares will have the lowest probabilities, as 5/8 request a movement to another square, and it is the final square that the player finishes at on each roll that we are interested in. We shall make no distinction between &quot;Just Visiting&quot; and being sent to JAIL, and we shall also ignore the rule about requiring a double to &quot;get out of jail&quot;, assuming that they pay to get out on their next turn.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;By starting at GO and numbering the squares sequentially from 00 to 39 we can concatenate these two-digit numbers to produce strings that correspond with sets of squares.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Statistically it can be shown that the three most popular squares, in order, are JAIL (6.24%) = Square 10, E3 (3.18%) = Square 24, and GO (3.09%) = Square 00. So these three most popular squares can be listed with the six-digit modal string: 102400.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;If, instead of using two 6-sided dice, two 4-sided dice are used, find the six-digit modal string.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;So I decided to build a monopoly simulator. I did it at first at work, but it didn&apos;t give me good results. Damn VB&apos;s randomizer did not like mt too much I&apos;m guessing. So before I went to bed, I redid the entire simulator in Java. Its pretty sick, I now know the probability of landing on any square, so listen up to know which property you should buy!&lt;br /&gt;&lt;br /&gt;If you were to number the squares from 0 to 39, here&apos;s the number of times you&apos;d land on each square, assuming you rolled the two dice 10 million times.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Jail - 622228&lt;/li&gt;&lt;li&gt;Illinois Ave - 318336&lt;/li&gt;&lt;li&gt;New York Ave - 309739&lt;/li&gt;&lt;li&gt;GO - 308705&lt;/li&gt;&lt;li&gt;B&amp;amp;O Railroad - 307718&lt;/li&gt;&lt;li&gt;Reading Railroad - 297163&lt;/li&gt;&lt;li&gt;Tennessee Ave - 293212&lt;/li&gt;&lt;li&gt;Pennsylvania Railroad - 291143&lt;/li&gt;&lt;li&gt;Free Parking - 287501&lt;/li&gt;&lt;li&gt;Kentucky Ave - 283870&lt;/li&gt;&lt;li&gt;Water Works - 279720&lt;/li&gt;&lt;li&gt;St. James Place - 279563&lt;/li&gt;&lt;li&gt;Indiana Ave - 273179&lt;/li&gt;&lt;li&gt;Atlantic Ave - 269697&lt;/li&gt;&lt;li&gt;St Charles Place - 269678&lt;/li&gt;&lt;li&gt;Pacific Ave - 268251&lt;/li&gt;&lt;li&gt;Ventnor Ave - 267982&lt;/li&gt;&lt;li&gt;Boardwalk - 262216&lt;/li&gt;&lt;li&gt;North Carolina Ave - 261937&lt;/li&gt;&lt;li&gt;Electric Company - 259929&lt;/li&gt;&lt;li&gt;Marvin Gardens - 258568&lt;/li&gt;&lt;li&gt;Community Chest 2 - 258082&lt;/li&gt;&lt;li&gt;Pennsylvania Ave - 250309&lt;/li&gt;&lt;li&gt;Virginia Avenue - 246854&lt;/li&gt;&lt;li&gt;Short line - 242476&lt;/li&gt;&lt;li&gt;Community Chest 3 - 238379&lt;/li&gt;&lt;li&gt;States Ave - 237184&lt;/li&gt;&lt;li&gt;Vermont Ave - 232893&lt;/li&gt;&lt;li&gt;Income Tax 1 - 231599&lt;/li&gt;&lt;li&gt;Connecticut Ave - 230336&lt;/li&gt;&lt;li&gt;Oriental Ave - 226835&lt;/li&gt;&lt;li&gt;Park Place - 219057&lt;/li&gt;&lt;li&gt;Luxury Tax - 218509&lt;/li&gt;&lt;li&gt;Baltic Ave - 216265&lt;/li&gt;&lt;li&gt;Mediterranean Ave - 213695&lt;/li&gt;&lt;li&gt;Community Chest 1 - 189488&lt;/li&gt;&lt;li&gt;Chance 2 - 103436&lt;/li&gt;&lt;li&gt;Chance 1 - 87370&lt;/li&gt;&lt;li&gt;Chance 3 - 86898&lt;/li&gt;&lt;li&gt;Go To Jail - 0&lt;/li&gt;&lt;/ol&gt;</description>
  <comments>http://dragonx2.livejournal.com/306509.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/306287.html</guid>
  <pubDate>Wed, 27 Aug 2008 19:02:57 GMT</pubDate>
  <title>Rock Me Sexy Jesus</title>
  <link>http://dragonx2.livejournal.com/306287.html</link>
  <description>House – September 16, 2008&lt;br /&gt;How I Met Your Mother – September 22, 2008&lt;br /&gt;Heroes – September 22, 2008&lt;br /&gt;The Office – September 25, 2008&lt;br /&gt;&lt;br /&gt;&lt;lj-embed id=&quot;13&quot; /&gt;</description>
  <comments>http://dragonx2.livejournal.com/306287.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/306171.html</guid>
  <pubDate>Wed, 27 Aug 2008 04:57:56 GMT</pubDate>
  <title>Prime Numbers</title>
  <link>http://dragonx2.livejournal.com/306171.html</link>
  <description>I&apos;ve spent a few years now, thinking about how to generate prime numbers. Nothing too serious, just considering the run-time of a brute force algorithm. My algorithm pretty much went like this:&lt;br /&gt;&lt;br /&gt;1) Get all odd numbers (since 2 is the only even prime)&lt;br /&gt;2) Remove all multiples of 5&lt;br /&gt;3) You&apos;re now left with numbers that end in 3, 7, 9. Test those guys for prime-ness.&lt;br /&gt;&lt;br /&gt;So you go from 3 to n, checking for primes by using the mod function. Today, I discovered this SWEET algorithm called &quot;Sieve of Eratosthenes&quot;. It&apos;s so cool. Here&apos;s how it goes:&lt;br /&gt;&lt;br /&gt;1) Make a list A of all numbers 1 to n.&lt;br /&gt;2) Make a list B to hold all the primes you find. The first item will be 2. &lt;br /&gt;3) Remove ALL multiples of 2 from list A.&lt;br /&gt;4) The first remaining number will be a prime. Add this to B.&lt;br /&gt;5) Grab that number and remove all multiples of it from list A.&lt;br /&gt;6) Repeat 4) and 5) until no numbers are left in List A.&lt;br /&gt;&lt;br /&gt;This algorithm is so incredibly slick and sexy. Here&apos;s a poem I found dedicated to it:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Sift the Two&apos;s and sift the Three&apos;s,&lt;br /&gt;The Sieve of Eratosthenes.&lt;br /&gt;When the multiples sublime,&lt;br /&gt;The numbers that remain are Prime.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;In other news. I&apos;m working on a monopoly problem. Using statistics, find the 3 most popular squares I would land on if I had a 4-sided dice. On a 6-sided dice, its Jail (6.24%), Illinois Avenue (3.18%), and GO (3.09%).&lt;br /&gt;&lt;br /&gt;I tried doing it in VB, but VB doesn&apos;t seem powerful enough, or its just really troublesome to do things like &quot;global variables&quot;. Argh.</description>
  <comments>http://dragonx2.livejournal.com/306171.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://dragonx2.livejournal.com/305820.html</guid>
  <pubDate>Mon, 25 Aug 2008 12:56:40 GMT</pubDate>
  <title>Programming Challenges</title>
  <link>http://dragonx2.livejournal.com/305820.html</link>
  <description>So I found this REALLY neat site, called Project Euler. I want to see how many of the problems I can solve. Its all math-based ones, but its incredibly complicated to do by hand. Why? Because you need to develop an algorithm with a computer to solve it. Here&apos;s a sample of questions:&lt;br /&gt;&lt;br /&gt;&quot;Find the sum of all the multiples of 3 or 5 below 1000.&quot;&lt;br /&gt;233168&lt;br /&gt;&lt;br /&gt;&quot;Find the largest palindrome made from the product of two 3-digit numbers.&quot;&lt;br /&gt;906609&lt;br /&gt;&lt;br /&gt;&quot;What is the smallest number that is evenly divisible by all of the numbers from 1 to 20?&quot;&lt;br /&gt;232792560&lt;br /&gt;&lt;br /&gt;&quot;What is the first term in the Fibonacci sequence to contain 1000 digits?&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&quot;How many circular primes are there below one million?&quot;&lt;br /&gt;&lt;br /&gt;&quot;Which prime, below one-million, can be written as the sum of the most consecutive primes?&quot;&lt;br /&gt;&lt;br /&gt;They&apos;re all solvable, by using brute-force. But brute-forcing them all would take forever. So you really gotta think it out. Looks like I found something to keep me busy.</description>
  <comments>http://dragonx2.livejournal.com/305820.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
