Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 10 Views: 833 Eureka, I have reached my number 666 post at glorious Daniweb!
It's exactly 666 now, but will of course increase as I post more! |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 487 Views: 34,940 See, I told you that Bush/McCain have something up their sleves to win the election! Maybe Osama is secretly hiding out or plans to hide out in Syria. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 11 Views: 874 Yeah, the credit card, a necessary evil, always use it, but also always pay it up in time. I have plenty of foolish friends who spend half their income on cedit card interest. Some of those cards... |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 487 Views: 34,940 McCain in one of the debates claimed he knows exactly how to catch Osama, all we have to do is to let him be our president. I believe him. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 487 Views: 34,940 Don't you listen to McCain? These wars are won! He is a military expert! Just a matter of cleaning up some messes. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 8 Views: 760 Ever stumbled over silly instructions?
Open Packet, Eat Nuts
To avoid breakage, keep bottom on top.
Top marked bottom to avoid confusion. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 7 Views: 611 jbennet, you are simply exceptional!
Remember half the people you know are below average. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 4 Views: 453 Picked from newspaper classifieds:
'83 Toyota hunchback -- $2000
Just in time for deer season:
2 wire mesh butchering gloves, one 5-finger, one 3-finger, pair only $15
Bill's septic... |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 1 Views: 379 Just an accumulation of funny news lines:
Governor Chiles Offers Rare Opportunity To Goose Hunters (The Tallahassee Democrat)
Gators To Face Seminoles With Peters Out (The Tallahassee Bugle)
... |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 151 Views: 14,043 A man decided to have a face lift for his birthday. He spends $5,000 and feels really great about the result. On his way home he stops at a newsstand and buys a paper. Before leaving he says to the... |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 48 Views: 4,240 I've taken a vow of poverty. To annoy me, send money. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 10 Views: 2,065 Life is sexually transmitted. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 121 Views: 10,780 As long as there are tests, there will be prayer in public schools. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 1,548 Views: 200,048 Where there's a will ... I want to be in it. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 148 Views: 13,761 Honk if you love peace and quiet. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 38 Views: 2,626 What, you haven't passed on your DNA or ideas yet! |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 64 Views: 3,982 A warning to witches everywhere, don't drink and fly! |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 50 Views: 4,157 Killing an enemy with your gun would be very patriotic I think! |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 487 Views: 34,940 The national debt is small for a wealthy country like the USA! BTW, why shouldn't our children and grandchildren pay for the debt, after all most of it was accumulated to beat our enemies and make... |
Forum: C Oct 26th, 2008 |
| Replies: 7 Views: 2,299 Why don't you put a few test printf's in to see what's going on. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 487 Views: 34,940 By giving incentives to the father of the child to marry the mother. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 56 Views: 4,562 According to Joe Lieberman, who has been training Sarah, she is a very smart student and learns quickly. He is convinced that she will pull an election day win for his buddy McCain. |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 487 Views: 34,940 Polls show that the Palin/McCain ticket is closing the gab rapidly and Obama is only a few percent ahead now. This is largely due to voters discovering that Sarah Palin has a heart of gold and means... |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 64 Views: 3,982 Scary things other than creationism:
Bloodshed - where the Red Cross keeps the plasma
Cemetary - bone zone.
Headline: "Due to strike, grave-digging at cemetary will be done by skeleton crews" |
Forum: Geeks' Lounge Oct 26th, 2008 |
| Replies: 487 Views: 34,940 In the latest news:
Long-brewing tensions between GOP vice presidential candidate Sarah Palin and key aides to Sen. John McCain are spilling out in public. Several McCain advisers have suggested to... |
Forum: Geeks' Lounge Oct 25th, 2008 |
| Replies: 151 Views: 14,043 A nobleman decided to march in the holy crusades against the muslims. Concluding that his wife should wear a chastity belt while he is gone, he locks up her nether regions and gives the key to his... |
Forum: Geeks' Lounge Oct 25th, 2008 |
| Replies: 487 Views: 34,940 Me and many of my friends are getting a little tired of McCain telling us that he is a maverick, and that this maverickness seemingly is the only thing that differentiates him from Bush. He fails to... |
Forum: Geeks' Lounge Oct 25th, 2008 |
| Replies: 64 Views: 3,982 Well, happy scary Halloween to everyone! I usually take my sister's kids to collect large amounts of candy in one of the filthy rich LA neighborhoods. |
Forum: Python Oct 25th, 2008 |
| Replies: 8 Views: 943 That is a pretty old book. The BOA IDE and wxPython have changed quite a bit since then.
Without your code, help would be hard to give. |
Forum: Python Oct 25th, 2008 |
| Replies: 5 Views: 484 I don't see a class in your code. |
Forum: Python Oct 25th, 2008 |
| Replies: 7 Views: 1,681 I haven't had too many problems with wxPython programs on Vista, but the OS has screwed me up in many other ways. Whenever I can I use an older XP machine.
Maybe you can relax the super childish... |
Forum: Python Oct 25th, 2008 |
| Replies: 6 Views: 478 Sometimes a test print will help you visualize what is going on:
def insertion_sort(qq):
for j in range(1, len(qq)):
key = qq[j]
i = j - 1
while (i >=0) and (qq[i] >... |
Forum: Python Oct 24th, 2008 |
| Replies: 6 Views: 539 Wow BearofNH, the Auberge Pyrenees-Cevennes of Python. |
Forum: Python Oct 24th, 2008 |
| Replies: 6 Views: 539 Recursive means that the function calls itself, and it does so in line 4.
In Gribouillis's code it does so in line 8. |
Forum: Geeks' Lounge Oct 24th, 2008 |
| Replies: 38 Views: 2,626 Yes, the Pope is right! You live to pass on your DNA! If that doesn't work, at least pass on your ideas. |
Forum: Geeks' Lounge Oct 24th, 2008 |
| Replies: 70 Views: 7,397 Spread the wealth, the way it should be done... |
Forum: Python Oct 24th, 2008 |
| Replies: 6 Views: 539 Here is another way you can skin it:
def sum_cube(n, sum=0):
if n > 0:
x = n**3
return sum_cube(n-1, sum+x)
else:
return sum
print sum_cube(5) # 225 |
Forum: Python Oct 24th, 2008 |
| Replies: 3 Views: 1,341 You can use the module inspect:
import inspect
class C1(object):
def __init__(self):
print "C1"
def f1(self):
print "f1"
pass
def f2(self): |
Forum: Python Oct 24th, 2008 |
| Replies: 9 Views: 1,863 One more way for the fun of it:
import random
let = [ 'a', 'b', 'c', 'd', 'e', 'f', 'g' ]
random.shuffle(let)
while len(let):
print let.pop() |
Forum: Geeks' Lounge Oct 22nd, 2008 |
| Replies: 23 Views: 1,580 If you reprogram her, it wll last a day.
If you teach her how to program, ........
(she will reprogram you) |