Archive for January, 2006

Bullshit

Tuesday, January 31st, 2006

Pardon my french; I meant to use the green can, but I accidentally used the red can. (think coffee). I’m rather hyped up right now, so it seems the perfect time to shove some of my conservative rantings down your throat:

This whole charging people with involuntary manslaughter for the station nightclub fire is one of the biggest loads of liberal bullshit I have heard in my 18.333… years of existence. Shit happens, people; (that’s a direct address…) yes, people died, but it was an accident. Do these idiots really think that sending a few people to jail will ease the passing of their loved ones? Yes, unfortunately, they do, and they should be slapped upside the head for thinking so. Why don’t we turn our attention to a real problem: The Rev. Mr. Jesse Jackson. Now, there is someone who should be locked up for several eternities. (Just because absolutely no one likes him.) Perhaps Michael Savage says it best. (Look him up on amazon and you’ll catch my drift, d00d.)

Now that I have actually posted, I think I’ll post again tomorrow. Be sure to tune in for a less caffeinated version of my shit. Oh, and landoverbaptist.org has a pretty interesting array of crap. (hat tip: April [Ooh. I get hat tips. I’m cool now. {yay!}])

Eight Queens

Saturday, January 14th, 2006

There are ninety-two ways to place eight queens on a standard chess board such that no queen can take any other queen, but what are they? This is the question that I have spent the last three days pondering. I surely could have ran to google crying, but what fun is in that? Being the weirdo that I am, I took it upon myself to think up a fairly good algorithm and then put it to code. If you value your sanity, you should skip reading the rest of this post…

The algorithm I decided to use is a simple breadth-first search algorithm. It begins in the first column of the chessboard, by placing a queen in the first available row. In each subsequent column, a queen is placed in the first available row. When a column that doesn’t have any ‘available’ spaces is encountered, the queen in the previous column is moved to the next available row. When a queen is successfuly placed in the eigth column, the column is cleared and the queen in the (n-1)th column is moved to the next available row. When the first column is reached, and a queen cannot be placed (because there are no rows left to test), all of the solutions have been found. The bit of PHP I threw together to do this for me can successfuly find all ninety-two solutions to the eight queens problem in .27 seconds. It took me five periods to find the first one by hand…

And now for that anecdote I said I might include. Josephus and forty other jewish people were trapped in a cave surrounded by romans. Rather than give themselves up to the romans, all but Josephus and one other man resolved to committ suicide. Josephus proposed that this be done in an orderly fashion: they were to stand in a circle and kill every third person. The remaining person would then committ suicide. Josephus lived to tell the story…

LJ Style

Saturday, January 14th, 2006

It’s been a while, and quite frankly, I lack content. Looks like it’s time to go LJ style… OK, well not quite LJ, because I’m much cooler than sixteen-year-old girls.

  • How many ways can you place eight queens on a chess board such that no queen can take any other queen? You’ll just have to tune in tomorrow…
  • Hmm… {0,1,2,3,-6,-7,…,14}. Doesn’t make any sense to me either.
  • SELinux? sure, why not? A computer that is so secure that it can’t boot is clearly more secure than one that can boot, right? SELinux enforcing the strict policy. No troubles this time. Bring it on, messageboy. (he’s a pseudo-geek)
  • He still hasn’t’ told me what the md5_hex hash of ‘Hello there!’ is. I’ll just have to do it myself. I don’t think he ever realized that the challenge was a trick challenge. He didn’t accept anyway. Smart move.
  • What’s with people trying to brute force my SSH server? Who actually has an account named guest on his computer? Surely not I. Do these people wake up every morning resolved to try to brute force another random IP address, or does it just kind of happen?
  • Running wordpress from SVN. (have been for a while) I updated to the latest revision and then uploaded… The blog went from making 20 queries per page to making 50. Ok, no biggy, right?
  • OK, so it wasn’t brad’s code. I accidentally commented a very important include out. Hey, at least it was nice enough to fail silently and mislead me as to what was wrong.
  • Exams are coming up. Oh joy. I love watching people freak out at exam time. Exam time is just another good excuse to get more sleep.
  • Forty-one Jewish people stand in a circle and kill each other. It really is quite a good story. Perhaps I’ll consider giving you a link tomorrow. If there isn’t a link, I’ll make one!
  • It is definitely time for a new template. Give me four months.
  • I think it’s time to go to bed. Expect a long entry about programming, Mathematics, and Chess tomorrow. LJers take heed: I do not intend to use lj-cuts. Go ahead and cry about it. YOU’RE FREAKS! So what if I don’t cut my entry? I like it to stay in once piece. Don’t like it? tough. Unfriend me. You won’t! (/me goes to bed and awaits to be unfriended twelve times over.) Isn’t unfriending someone like the ultimate form of disrespect on live journal? Eh Beats me.

Title

Sunday, January 8th, 2006

I recieved my official /\/\i|<3 3/\/\Py|23 title yesterday. I’m too tired to write anything more… See the title at: My Biography. If livejournal does not post this, I am going to beat brad over the head with a billy club. It’s not my code—it’s his! it’s never mine!!!

Mafia

Thursday, January 5th, 2006

I figured since Greg hasn’t posted about it, I would.

A few years ago there was a hit game at school located at www.mafia.org. It’s still there today but since the admin IzzyCreamCheese gave it away it just hasn’t been the same. In saying, that a few months ago (I had no knowledge of this til sometime after) Greg and our friend Tyler found Cache files from the old mafia.org and decided to try to piece it back together and restore it to it’s former glory. In the last few weeks Greg has made great progress with the site and the debugging is beginning. We’re changing the look and feel, as well as a few features, so not to infrige on copyrights and to make it more interesting. If anyone wants to help with the debugging email me and I may let you try and help depending on how I feel- wizard2012@gmail.com.