bumsfeld 413 Nearly a Posting Virtuoso

Judging from the many folks that buy organic food, composting has become rather important.

bumsfeld 413 Nearly a Posting Virtuoso

I love it when the sci-fi morons in Hollywood use ultra sound beam weapons in space to shoot down UFOs.

bumsfeld 413 Nearly a Posting Virtuoso

Running out of integer space in series of scientific calculations in C. The results get really goofy at times without any warning, depending on the data input.

bumsfeld 413 Nearly a Posting Virtuoso

So who is the God like person that decides what is life-threatening? If they turn a person away and that person dies soon after, can relatives sue the hospital?

Another thought entirely, it becomes more and more apparent that rapidly increasing food prices will be much more of a thread to peace then some muslim fanatic.

bumsfeld 413 Nearly a Posting Virtuoso

Oops! I am being eaten by boa constrictor!

bumsfeld 413 Nearly a Posting Virtuoso

Learn the Python language, then you can talk it into going on a diet.

Your python is in it's main growing stage, just keep feeding it, it will grow out of that hungry habit.

bumsfeld 413 Nearly a Posting Virtuoso

The corresponding Python structure would be dictionary with one key and list or tuple with two values.

bumsfeld 413 Nearly a Posting Virtuoso

Have you looked at Cython? Good way to interface C and Python.

bumsfeld 413 Nearly a Posting Virtuoso

When you see code like this, sometimes it's enlightning to print out the variable for test. Yes, you can multiply lists.

bumsfeld 413 Nearly a Posting Virtuoso

The simplest functions to search a string are find() and index().

bumsfeld 413 Nearly a Posting Virtuoso

Stalin's left arm was ... ?

Stalin's left arm was lame due to an accident he had when he was a boy.

Why is temptation so hard to resist?

bumsfeld 413 Nearly a Posting Virtuoso

I am still looking for some kind of redoubtable avatar.

bumsfeld 413 Nearly a Posting Virtuoso

Imagination is everything. It is the preview of life's coming attractions.
-- Albert Einstein

I am looking for one new avatar.
-- Albert Einstein (maybe)

bumsfeld 413 Nearly a Posting Virtuoso

...
The primary job of the federal government is the security of this nation, ...

France is doing one swell job, we just send off another big high tech nuclear submarine to join the French fleet. Watch out Iran, Germany, China or Russia!

bumsfeld 413 Nearly a Posting Virtuoso

Why does my mom call me SOB?

bumsfeld 413 Nearly a Posting Virtuoso

Tomatoes were considerd fruit until WW2, then they were recategorized vegetable to obtain lucrative U.S. Army contract.

bumsfeld 413 Nearly a Posting Virtuoso

Effort in, garbage out!

bumsfeld 413 Nearly a Posting Virtuoso

If one synchronised swimmer drowns, do all the rest have to drown too?
-- Steven Wright

bumsfeld 413 Nearly a Posting Virtuoso

Bottle caps cost more to make than most bottles.

bumsfeld 413 Nearly a Posting Virtuoso

It's a recession when your neighbour loses his job; it's a depression when you lose yours.
-- Harry S. Truman

bumsfeld 413 Nearly a Posting Virtuoso

Because of radiation dangers in space only properly designed machines could travel for any length of time. So UFO invaders would most likely be enamored with your car, lawn mower or vacuum.

bumsfeld 413 Nearly a Posting Virtuoso

Here is older dragdrop example for Tkinter:
http://www.faqts.com/knowledge_base/view.phtml/aid/4383

bumsfeld 413 Nearly a Posting Virtuoso

Your program reads in all the lines into one list of lines and then even makes one copy of this rather large list. The code below reads in the lines as needed for processing:

...

for vhstring in file(vhdat):
    # remove trailing whitespace
    vhstring = vhstring.rstrip()
    # your processing starts here ...
    NPANXX = vhstring[:6]             # NPA
    NXXType = vhstring[16:18]
    ...
bumsfeld 413 Nearly a Posting Virtuoso

Get your lotto numbers here, simple with Python:

# select 6 unique lotto numbers from 1 - 49

import random

lotto_list = random.sample(range(1, 50), 6)

print lotto_list
print sorted(lotto_list)

"""
possible result --->
[49, 43, 8, 42, 1, 33]
[1, 8, 33, 42, 43, 49]
"""
bumsfeld 413 Nearly a Posting Virtuoso

I saw one movie about slaughter houses when I was in elementary school. About half the kids would not eat meat afterwards.

bumsfeld 413 Nearly a Posting Virtuoso

Everything comes to an end, nothing gloomy about it. 2012, I don't know, could be earlier or could be later. Let's celebrate that it didn't come earlier, and from 2012 on celebrate that it will come later.

bumsfeld 413 Nearly a Posting Virtuoso

Americans have bars, some of them look like Irish pubs. I don't think they use the term pub so.

bumsfeld 413 Nearly a Posting Virtuoso

Hits you right in the tear duct! I wonder what land locked countries have to present.

bumsfeld 413 Nearly a Posting Virtuoso

Two elderly tourists were driving through Louisiana. As they were approaching Natchitoches, they started arguing about the pronunciation of the town.

Soon they stopped for lunch. As they stood at the counter, one of the tourists asked the server, "Before we order, could you please settle an argument for us? Would you please pronounce where we are very slowly?"

The cute blonde girl leaned over the counter and said, "Burrrrrrrr, gerrrrrrr, Kiiiiing."

bumsfeld 413 Nearly a Posting Virtuoso

Fear is something to be moved through, not something to be turned from.

bumsfeld 413 Nearly a Posting Virtuoso

You are trying to concatinate class instance with string ".ac" that will not work. Why don't you simply create the new class attribute dynamically this way and then you can use it.

searchSpace[0].ac = None
bumsfeld 413 Nearly a Posting Virtuoso

You must not fight too often with one enemy, or you will teach him all your tricks of war.
-- Emperor Napoleon

bumsfeld 413 Nearly a Posting Virtuoso

If nothing ever sticks to TEFLON, how do they make TEFLON stick to the pan?

bumsfeld 413 Nearly a Posting Virtuoso

M*A*S*H was recently voted the #1 Best-Loved Television Sitcom in Estonia.

bumsfeld 413 Nearly a Posting Virtuoso

When you run the above file, carefully read the messages. PIL has history of giving problems with py2exe. Just for testing, use small PIL program with py2exe.

Of course, I am using Windows Vista and expect all sorts of problems anyway!

bumsfeld 413 Nearly a Posting Virtuoso

I think it is simpler to renumber jwentings plane as #59, since he didn't use number originally.

Yes, plane #58 is a B-1B Lancer.

Does plane #59 have fixed landing gear?

bumsfeld 413 Nearly a Posting Virtuoso

Thank you jwenting for identifying the axis of evil right here. May God and his son Jesus bless you!

bumsfeld 413 Nearly a Posting Virtuoso

What OS and what browser are you using?

bumsfeld 413 Nearly a Posting Virtuoso

Ah. The financial community must have missed last quarter's revenues up 90% over the previous year, with profit up like 40% (IIRC, it has been 3 months afterall). Funny, I thought they communicated those values pretty well.

So the stock price hasn't jumped for joy! I think the financial community is used to looking at MS more as a commodity stock. Occasional quarterly bumps, particularly comparing it to one dismal quarter one year ago are too thinly vailed for the longer term investor.

bumsfeld 413 Nearly a Posting Virtuoso

I will make a second account and try it out, let's see how it goes:icon_cheesygrin:

You find it easier to simply follow the rules, easier for you, the members (posting buddies), and DaniWeb mods.

bumsfeld 413 Nearly a Posting Virtuoso

Just waiting till Google comes out with their neat no nonsense (NNN) OS.

bumsfeld 413 Nearly a Posting Virtuoso

Thanks uniquestar, now my contribution plane #58

bumsfeld 413 Nearly a Posting Virtuoso

Q: "How do you get Holy Water?"
A: "You boil the Hell out of it."

bumsfeld 413 Nearly a Posting Virtuoso

Why is it when you change checkout lines, the one you just left starts to move?

The checkout line you are in is always the slowest!

My question:
"Why do they sterilize the needles for lethal injections?"

bumsfeld 413 Nearly a Posting Virtuoso

Peanut butter and jelly on toast.

bumsfeld 413 Nearly a Posting Virtuoso

Tomorrow is the busiest day of the week

bumsfeld 413 Nearly a Posting Virtuoso

Somewhere, something incredible is waiting to be known.

bumsfeld 413 Nearly a Posting Virtuoso

My guess, plane #57 is German made carbon fibre trainer plane called the Grob G 115E Tutor.

bumsfeld 413 Nearly a Posting Virtuoso

If lawyers are disbarred and clergymen defrocked, doesn't it follow that electricians can be delighted and musicians denoted?

bumsfeld 413 Nearly a Posting Virtuoso

In Python use:

s = """return false;
}

function validPeriod() {
for (var i = 0; i < periods.length; i++) {
"""

# test it
print s