Monday, February 2, 2009

New Year Chess Tourney

The 2009 New Years tourney is almost finished but the winner with 3 points will be Jimmy!
What a comeback. Last year (2008), Nona won with 6 points, and Jimmy was last with 0.

This year's tourney was different. Half the games are correspondence and half are OTB. Jim beat Dad and Nona in OTB, and Dad in correspondence (I really messed up that game). Dad beat Nona in correspondence and Nona is still playing Jim in correspondence. Dad vs Nona in OTB will be forthcoming.

Calculating the points, Jim with 3 makes him the winner, Nona came in second with Dad third.

Congratulations to Jim, the 2009 winner!

Tuesday, January 27, 2009

Database or File?

Decision is to use a database or just plain files. The menu won't be very big. I'm thinking about a table with the meal time as key -breakfast, lunch, dinner, and the name of it as the data record. Examples:
  • Dinner: Hamburgers & Fries
  • Lunch: Egg salad sandwiches
  • Breakfast: Grits & Eggs
The other table will be the ingredients for each. Example:
  • Hamburgers & Fries: 2 ground sausage, 1 ground meat, 1 pack buns, 1 bag fries, catsup, mayo, mustard, 2 pickles, 1 head lettuce, 3 tomatoes, granola oil, creole seasoning.
  • Egg Salad Sandwiches: 1 loaf bread, 8 hard boiled eggs, 1 jar mayo, 1 onion, 1 pickle, 1/2 head lettuce, 1 tomato. 1 can Pringles.
The ingredients will provide the shopping list items for the menu.

So database or file? Or start with file and then build database?
Database needs to be free or already installed as part of the computer's programs.

Currently I'm evaluating buzhug, SnakeSQL, and GadFly

Friday, January 16, 2009

Menu program

Some design analysis/thoughts for what I want it to accomplish:

1. Screen to select meals. On the screen I want to see:
  • How many times this was selected in the last week. We eat lots of pastas, so 2 - 3 times a week is good. We eat Dirty Rice, but once a week is the best.
  • Estimated cost of meal. Don't want a week of $20 meals.
  • Start date and end date of the menu.
  • Some indicator that we have the ingredients on-hand - Keeps stuff fresh
  • Ought to show ingredents on hand for menu item - such as different types of pasta on the shelf, or types of Waffles, or types of toaster strudel.
  • Need to select which day the menu is for - M to S.

2. Screen to input new menu items. It'll need plenty of places for ingredents.

3. Output is 2 lists, one for the fridge that shows the day and meals for the day, and a shopping list of stuff I need to either get or check to see if I need to get from the store.

Looks like a lot of this will be database work. So where's Python's db?

Saturday, January 10, 2009

Awards

I have been given an award by J Kaye's Book Blog.  It is called the Well Worth Watching Blog Award.  This is my first!  Thanks All!

Python Language

I'm a programmer/analyst for a state government using SAP. SAP is coded in ABAP and all my programming is done in that language. I do payroll stuff, human resource reports, interfaces, all stuff very important for paying people and seeing their deductions are going to the correct people, but not very flashy. Nor is ABAP a good language for home use. And the State frowns on us using state resources for personal use.

Last year I learned some HTML, XML, and CSS, enough to help upgrade the famous J. Kaye's Book Blog. But doing web/screen stuff is not real satisfying for me.

So I will learn Python this year. I already have 3 projects in mind. The first is a simple 'game', really a search algorithm to find a number in a range.

Second is creating a household/menu app that will generate a weekly menu and shopping list based on choice of meals and inventory. We have been frugal shopping for 1/2 a year now and lowered the average amount spend of groceries and household items by 15%. That means I buy lost of the same stuff when it's on sale (month of pasta and sauce, month of bread, lots of meat, etc).

So I want to be able to create a menu based on meal selections and have meals suggested based on what's in inventory. I need also to be change inventory, both add-to and take-from, and the prices of those items with quantity and use quantity. Like 1 can tuna for 1 box tuna helper. I also want a list of proposed household items we need based upon use. So our 120 load big box of Gain should be out in week 3, so don't put it as a proposed shopping item for week 1 and 2. Again, the usage of these items will need to be adjustable. What else? All the screens should be easy and intuitive enough for my 12 year old daughter to handle. And it'll print me out a menu and shopping list for the week since we do better on a weekly cycle.

That ought to take me a while ;D.

The third is a chess position analyzer. It will output the analysis of the position using the acronym IMPLODe as seen in Chess Life. Will not tell the next best move or line, nor suggest any next move. Probably will need to hook up to a chess engine for a deep analysis like mate in 4 or 5. That would be important to know!
The purpose is to help look at and analyze positions - that's all.
Any suggestions, ideas, logic, what-Not-to-dos, will be very much appreciated.

This is my goal for 2009.

Saturday, January 3, 2009

Supplies

Looked around at Lowes to see what supplies they had and here is what I found on Dec. 27, 2008.
Vermiculite - 8 qt bag for $3.97, Perlite - 8 qt bag for $2.97, and lettuce seeds for $1.19 a pack.  No net pots, so we'll need to order those.  I've found a site that sells the 2" for 19 cents each.  I'll post the link after we get in the pots with a review of quality, shipping, and total cost.

I'll start with gallon ice cream buckets, like the ones at Wal-Mart as the planter pots.  I've got some and the kids will help emptying more for me to use.