Entries Tagged 'Fun' ↓
June 6th, 2006 — Blogging, Fun, Web
I’ve been grumbling for a while about the lack of spreadsheet choices for the Mac lately. Excel is really nice, but I don’t want/need the whole office suite (plus its not a Universal Binary yet), Appleworks is a joke (and a bad one at that), OO is a system hog (and slow for me), and Numsum just isn’t quite there.
Just when I’m beginning to give serious thought to making my own spreadsheet program, Google releases Google Spreadsheets. I got my invite today and so far I’m liking it. I uploaded my Stargate episode list (to help me keep track of which ones I’ve seen, rating, etc.) and it is working pretty good for me. Only had to change one formula, which is impressive because it just uploaded that Excel file with no other problems.. The only bad thing so far is one spreadsheet I tried to upload just wouldn’t load. But it is a rather large file (about 1.5 Megs of historical stock data on several worksheets).
April 22nd, 2006 — Blogging, Entertainment, Fun, The coming apocalypse, Thinking, gas, hybrid
Its been a while since I posted anything, but rather than just give the usual “Oh, I’m so busy, I’ll write more later” type of post, I thought I would just jot down some little things that I’ve given some thought to recently.
I recently put up my 200th post. I didn’t realize that until the other day while I was looking at something else. I think that’s kinda neat, because when I started this whole blogging thing, I thought it was a little bit goofy, kinda like Doogie Howser writing in his computer journal. (Was Doogie the first blogger???) Anyways, I’m impressed that I’ve been able to come up with 200 things to write about over the last two years or so.
Speaking of the blog and all of the posts, the spammers have really been visiting me a lot lately. I’ve had to turn up the spam filters, so if you post something and you’ve never posted here before, it will have to be approved (by me) before it gets posted. If I was getting spammed for product that at least had something to do with the posts they were posted to, that would be one thing, but the volume and types of spam I’ve been seeing are just getting crazy!
I might be doing a guest blog or two on a friend’s blog in the coming week! That’s pretty cool, so I’m going to have to thing up something really interesting to post there. More on that as the week rolls on.
I am so glad the lab for the class I am taking this semester ends next week. I’m so tired of it.
I’m reading the illustrated version of the Da Vinci Code, and I’ve got to say that it is so cool to read about some work of art or building and the look over at the next page and see a picture of it. It really brings the book to life. I’m not an art/architecture/France/Paris buff, so having the pictures there helps me visualize the story better. So far I’m liking the book, and I’m curious to see how the movie turns out.
I’m also reading “Micro-ISV: From Vision to Reality”. There’s a lot of good info in that book if you are interested in starting a one-man software shop.
And finally, with the spikes in the price of oil these past few weeks it makes me laugh to see/hear people say that rising gas prices don’t effect them because (Insert whatever reason here). I guess those folks don’t realize that the rising price also affects the cost of food (How is it delivered? - By gas powered vehicles. What is it wrapped in? -Plastics made from petroleum products.) and other things. My prediction is rising gas prices will cause the price of everything to rise. That’s gonna suck.
Hopefully this will convince people to change some habits (like driving enormous cars when a smaller more economical car will do just fine). Although it kills me to see news reports claiming that Hybrid Cars aren’t worth the extra cost. Yeah, I guess spending a little bit extra (especially since you’re probably financing the car already) to make sure you use less gas and emit few emissions is asking a lot. But hey, don’t forget to get the extra warranty, the spinners for your rims, the deluxe interior package, the satellite radio, the sun roof, and the leather seats. Because those features are important ya know. (In case anyone didn’t pick up on it, that was sarcasm. It is much more important in my opinion to have a ecologically friendly vehicle that might save you from filling up your tank as often than it is to have a bunch of extras that are flashy but in the end don’t do much.)
And in the immortal words of Forrest Gump: “That’s all I have to say about that.” Have a great day!
January 15th, 2006 — Blogging, Entertainment, Fun, Games, Math, Probability, Programming, Statistics, Sudoku, Thinking
Dr. Dobb’s magazine this month has an article entitled “Sudoku & Graph Theory” which caught my eye. The article describes a logical Sudoku solver the authors built that uses graph theory techniques to analyze the puzzle.
This really got my attention because graph theory is an important field of mathematics that has a number of applications (network traffic flows for example), and it is something that I’m always interested to learn more about.
The first thing the article does is assume the 81 cells of a sudoku puzzle represent a vertex on a graph. They then point out that the numbers that can be assigned to each row, column, or 3×3 square can be thought of as a node of a bipartite graph. That node contains a array of numbers that could possibly be in that position on the puzzle.
This is exactly what I do when trying to solve a sudoku puzzle, but expressed in mathematical/topological terms. (This is what I was trying to get across in my post about Sudoku Strategy.)
The article then goes on to present two methods of logically eliminating number from the array to find the correct answer: Pile Exclusion and Chain Exclusion. Sadly, I can not find any links on the web to explain these algorithms in more detail, but the article does an ok job of showing how they work.
I do want to point out that if you read the full article, beware that the sample sudoku puzzle they present does not seem to match up with the sample arrays (or vectors as they call them) when they are demonstrating the chain and pile exclusions!
My own personal preference seems to be the Pile Exclusion, that seems to match up with how I solve puzzles. It is basically a system where you find groups of numbers that are common across several squares (usually in a 3×3 section, but I often expand it to include the row and column). Usually this works out so that you have two squares where the numbers could be 1,3,7 in one and 1,7 in the other. Then you look at the other squares and if you see that 1 and 7 aren’t a choice in any of them, then 1 and 7 must be in the two squares you are looking at. This means that the 3 is not a possible answer, so you can mark it out. This usually winds up helping you figure out where the 3 is supposed to go.
The Chain Exclusion is similar in that you are looking for groupings of numbers, but with this algorithm you are looking for the numbers to be shared in other parts of the array in order to rule out other locations. For example, if you have 1,3 and 3,4 and 4,1 as the possible answers in three cells, then other locations in the puzzle that contain a 3 can be ruled out. Personally I find the Chain Exclusion method to be more of a leap than the Pile Exclusion.
Both of these methods basically boil down to using logic to reduce (or outright find) the possible numbers that could be the answer. Using both, as the program written for the article does, makes for a powerful set of tools to work your way through the puzzle. The alternative is to do a “brute force search” which means simply trying every possible number in ever possible cell until you get the solution. Since there are 81 cells and 9 possible numbers per cell that means there are 9^81 possible answers (in plain english this means 19 followed by 76 zeros) give or take a few depending how many numbers were already filled in for you. Needless to say, using Pile and Chain Exclusions will help you get the puzzle solved much sooner.
So go check out the article in the Feb 2006 issue of Dr. Dobb’s magazine, it’s a great read.
December 1st, 2005 — Blogging, Entertainment, Fun
For the most part, Podcasts don’t do a lot for me. That makes me feel kinda sad because I really like the idea of Podcasting, and I’m already listening to my iPod in the car, so it seems like a natural fit. I’ve only listened to about 4 or 5 podcasts, and with one exception they really haven’t captured me like I thought they would.
The exception is The Escape Pod which is a weekly sci-fi short story podcast. Most of the stories that are read are pretty good, and the host Steve Eley does a good job of presenting the show (and reading/performing the stories). If you are into sci-fi or even just good stories swing by and check them out. I found the podcast through iTunes a while back and its the only podcast I still subscribe to. And after listening to several podcasts back to back, Steve’s suggestion to blog about the Escape Pod finally worked. 
November 1st, 2005 — Blogging, Fun, Python, Thinking, Web
I’ve really gotten into the idea of tagging blog posts, it makes your data more accessible to engines like technorati. Plus in the future as more people tag and more engines understand and index the tags its going to be possible to look at pages in a more accurate light, and I think that is exciting.
Along those lines the other day I was wondering how my tags stacked up against what I was writing about. Put simply, according to my banner at the top of the page this blog is about python, games, AI, programming, and other topics. How close to those topics are my postings?
I whipped up python script and had it pour over a backup of my posts (of which there are little over 150). The script basically counted the number of times individual words appeared. My thinking was that the words that show up the most frequently are probably what I’m writing about the most and it would be interesting to see if the matched up with the focus of this site.
Below are some of the top words. The list isn’t complete, but it is some of the more interesting ones and their frequency:
- 109 - Python
- 97 - Think
- 65 - Program (and Programming)
- 44 - Google
- 24 - Java
- 23 - Mac
- 22 - Games
- 19 - Tags
- 13 - Coding
- 12 - RPG
- 11 - Motivation
- 10 - Windows
- 10 - Wasteland
- 8 - XEmacs
- 15 - A9
- 6 - Dokken
- 3 - Sudoku
The last item in that lists, Sudoku, really surprises me. I’ve written about it I think twice, yet this month I’ve gotten more hits from search engines on that one word than any other! It accounts for 6.1% of the terms that lead to my site. Crazy….
But back to the list: I was happy to see that Python and other programming related topics were high on the list. That’s why I started this blog, as a place for me to talk turkey about programming in general (and python in particular). For the most part the list I generated fits with what I thought I was writing about which fits with what the site description is, so I guess I’m on target. The only phrase I didn’t really see was GTD or “Getting Things Done” and I think that’s because I usually mention it by the long name, which would get mangled up in this count.
So over all for this experiment, I think my tags are pretty close to the focus of my site. I think the next step would be to look at each post individually and try to determine if the tags I used match the content. But that’s another fun task for another fun day….
October 20th, 2005 — Blogging, Fun, Games, Math, Sudoku
I was thinking of doing an article about Sudoko and my strategy for solving them, but a quick check on the MAA.org website lead me to an article which eventually lead me to Sudoku.com where there are several pages of strategy.
I read through them quickly and for the most part that site does what I do to solve them, but it explains it in a weird way (at least that’s what I thought). Maybe this will inspire me to do my own “how to win” page.
UPDATE: I made a page that help you solve sudoku puzzles by giving you hints. Check it out: Sudoku Helper
October 17th, 2005 — Apple, Fun, OS X, Widgets
According to USAToday.com there is a Bigfoot conference going on in Texas this weekend.
Of course, if you had my Sasquatch News Dashboard Widget you’d know about this.
Here’s a screen shot of what the news looks like now:
October 15th, 2005 — Exploration, Fun, Space, Spaceflight
From this article on MSNBC:Space crew weathers a scare during re-entry
When describing to reporters the air leak in his space capsule (for those of you who don’t follow space much, that is a very very very bad thing to have happen) Cosmonaut Sergey Krikalev said:
“In principle this was an anomalous situation of medium complexity. … In fact, it was a fairly serious situation.â€
Yikes, in my book any time air is leaking out of my sapceship while it is in space and I am sitting it it, it is an extremely serious situation.
October 12th, 2005 — Exploration, Fun, Space, Spaceflight
I saw this article about the next “tourist” who is scheduled to visit the international space station. Apparently he wants to do something a little different: Japanese whiz aims for space — in cartoon uniform
As dorky as it might sound right now, that might look pretty cool when they are doing their walk to the launch pad. Two cosmonauts and a guy gressed up like a Gundam pilot.
Of course it would be even cooler if he could actually dress up like the Gundam itself…
September 22nd, 2005 — Fun, Math, Thinking
The other day my wife was telling me about the sudoku puzzle that they like to do in her office (USAToday is where they get them). I had played with some of these puzzles a year or two ago, so I was anxious to try one out, because they are pretty fun.
Today I was going over to the MAA website and saw there is a nice column about about Sudoku! Check it out:Sudoku Variations.
It talks more about the history and variations of the game than it does about the math aspects of it, but it is still a good read.