851 Posted Topics

Member Avatar for Dave Sinkula

[B]Is England Vanishing?[/B] [B]Foolish question, it would be very tough to hide![/B]

Member Avatar for EnderX
0
331
Member Avatar for Lardmeister

Larry Craig, the US Senator from Idaho, flew all the way to Minnesota to fullfil his perverse sexual fantasies in a public men's room there. A smelly public men's room, the guy has no class! I did not realize that that state has a reputation for this kind of thing. …

Member Avatar for ft3ssgeek
0
96
Member Avatar for Salem

Interesting story! Interesting that it worked, maybe there is an economical application of religious ceremonies in aircraft maintenance. To be really safe, each passenger should sacrifice a goat before boarding the plane.

Member Avatar for Ravenous Wolf
0
122
Member Avatar for dspc

"My sister bought a house 25 years ago in southern CA for $120,000 and sold it a year ago for $850,000." That just about takes care of inflation, taxes and fees. Off topic: "Let's keep politics out of the Olympics!"

Member Avatar for jwenting
0
284
Member Avatar for The Dude

Come on folks, this sort of thing is going on all the time. It's perfectly safe!

Member Avatar for jasimp
0
110
Member Avatar for Dave Sinkula
Member Avatar for TheNNS
Member Avatar for Dave Sinkula

I can barely wait until Sinkula brings up the third amendment! In the meantime roll up your sleeves, bare your arms, and go to work!

Member Avatar for RPDunn
0
358
Member Avatar for ndeniche
Member Avatar for Lardmeister
0
52
Member Avatar for Salem

That database and tattooing a large number on everyones forehead should just about eliminate much of the lower class crimes in your country.

Member Avatar for Lardmeister
0
138
Member Avatar for The Dude

In a similar vain, there have been attacks of seniors by teenagers who wanted to ride their fancy motorized wheelchairs. If you are an old phard riding a segway, watch out!

Member Avatar for Lardmeister
0
79
Member Avatar for >shadow<
Member Avatar for Dave Sinkula

I thought this was the Geek's Lounge (geeks have a brain), but it sound like it is more and more the "John Birch Society" Lounge!

Member Avatar for ndeniche
0
79
Member Avatar for The Dude
Member Avatar for Dave Sinkula

We also have a Department of Energy and are dependend on oil more than ever! Do we need to get rid of them too?

Member Avatar for Lardmeister
0
153
Member Avatar for Dave Sinkula

Just another ho-hum politician who hopes that abortion will be the main issue in the elections.

Member Avatar for Lardmeister
0
114
Member Avatar for The Dude
Member Avatar for cdtonline

Dan, it sounds to me like you are suggesting new places for the terrorist to commit their evil deads! Thanks for scaring the rest of us! Money talks! Stick a bundle of hundred Dollar bills in an envelope, freezer ready, wrapped in saran wrap, and hand it to a politician …

Member Avatar for Lardmeister
0
97
Member Avatar for Ancient Dragon

[quote=Ancient Dragon;423794][URL="http://www.youtube.com/watch?v=hSg4Uummafs"]Humerous[/URL][/quote]Not very patriotic, but you proved that even a Programming Guru can have a sense of humor!

Member Avatar for MidiMagic
0
66
Member Avatar for The Dude

When I was in Canada, they put mayonaise on everything, it even replaced ketchup.

Member Avatar for Ancient Dragon
0
251
Member Avatar for lasher511

Wow, 666 great contributions to menkinds' knowledge base! Got to go and P!

Member Avatar for hbk619
0
55
Member Avatar for bappa_ayan

[quote=lasher511;421746]Do you know any xhtml, javascript, sql, PHP-ajax?[/quote]I have a goodly knowledge of cobalt!

Member Avatar for Salem
-1
125
Member Avatar for mbassa

Take a look at: [URL]http://www.daniweb.com/code/snippet414.html[/URL] It allows you to designate a sine wave to the sound frequency to play.

Member Avatar for Lardmeister
0
76
Member Avatar for Lardmeister

CIA and FBI computers have edited entries in the online encyclopedia Wikipedia on topics including the Iraq war and the Guantanamo prison, according to a new tracing program. [URL]http://news.yahoo.com/s/nm/20070816/wr_nm/security_wikipedia_dc_3;_ylt=AisUcvnBVjtrxa9lateIsEIE1vAI[/URL] Here I though that Fox News was handling that sort of thing for them!

Member Avatar for joshSCH
0
82
Member Avatar for The Dude

I find jwenting's comment disgustingly uninformed, he (or she) did obviously not listen to the interview, but just mouthed off a typical O'Reiley line!

Member Avatar for Lardmeister
0
68
Member Avatar for stevex

Is the sudden attention of our moronic press to the death of a small number of coal miners a product of global warming?

Member Avatar for Lardmeister
-2
294
Member Avatar for Lardmeister

Right now I have a mixed list of different types of elements: [code=python]mixed_list = [1, 0.5, 0, 3, 'a', 'z'] print max(mixed_list) # shows z, but would like it to be 3 [/code]How can I find the maximum numeric element of the list?

Member Avatar for Lardmeister
0
94
Member Avatar for Lardmeister
Member Avatar for Lardmeister
0
115
Member Avatar for ndeniche

Congratulations [URL="http://www.daniweb.com/forums/member84473.html"]darrenw89[/URL] your post is the only funny story so far!!! vbmenu_register("postmenu_402935", true);

Member Avatar for iamthwee
1
358
Member Avatar for The Dude
Member Avatar for Serunson

I guess Bush's new poodle is now Brown instead of Blair. Well, at least he is sticking with the B word!

Member Avatar for lasher511
0
360
Member Avatar for Lardmeister

I would like to reverse a sentence. I have this: [code=python]sentence = "a doctor kills your ills with pills and you with bills" print sentence[::-1] # sllib htiw uoy dna sllip htiw slli ruoy sllik rotcod a [/code]However, I would like the sentence reversed like this: bills with you and …

Member Avatar for vegaseat
0
1K
Member Avatar for aot

I had the same problem until I figured out that the Text widget width is in characters and the height in text lines. Makes it easier for text, but harder for overall sizing.

Member Avatar for Lardmeister
0
109
Member Avatar for aot

To save and load a whole object like a list, you have to use the module pickle: [code=python]import pickle myList = [1,2,3,4] # save/dump the list as an object file = open("myList.dat", "w") pickle.dump(myList, file) file.close() # read/load the list as an object file = open("myList.dat", "r") myList2 = pickle.load(file) …

Member Avatar for aot
0
131
Member Avatar for trihaitran
Member Avatar for leeqiang
0
341
Member Avatar for shsh_shah

I would have used something like [INLINECODE] int pos = st.IndexOf(data); [/INLINECODE]

Member Avatar for Lardmeister
0
104
Member Avatar for addicted

[quote=addicted;340960]:rolleyes: I need some one to define prime numbers for me A full definition, I am trying to write a program to determine wether a number is prime, print all prime numbers in a specific range ... e.t.c so i need a full definition of prime numbers, i know prime …

Member Avatar for Lardmeister
0
86
Member Avatar for emr

You cannot use C to solve this problem. The highest integer value it can use is: unsigned long (32 bits) goes from 0 to 4,294,967,295 max. There are other languages that can handle very large integers easily.

Member Avatar for Aia
0
194
Member Avatar for nytrokiss
Member Avatar for nytrokiss
0
106
Member Avatar for muadh jamal

Now we have all seen that our moderators are less than perfect: [code]// typical example for seeded random integers in a given range #include <stdlib.h> #include <stdio.h> #include <time.h> // time() int main(void) { int i, min, max, rn; srand(time(NULL)); // random seed on most compilers min = 1; max …

Member Avatar for WaltP
0
3K
Member Avatar for slayr-cxf50

Python uses 'while True' for the endless loop. [code=python]# this will loop until the user enters # either 'yes' or 'go away' while True: quest = raw_input("Are you ready?") if quest == 'yes': break elif quest == 'go away': raise SystemExit # more code here to be executed after break …

Member Avatar for Lardmeister
0
94
Member Avatar for Lardmeister

Does anyone know of anyplace/anybody that teaches C# at the highschool or college level to get students used to a programming language?

Member Avatar for pygmalion
0
101
Member Avatar for dav_yip

Doesn't look like tcl knows how to handle the higher ascii characters properly, even with adding encoding strings to the code.

Member Avatar for katharnakh
0
153
Member Avatar for scru

[quote=iamthwee;332847]Not 100% fool proof. Like I said you have to code your own me thinks.[/quote]Nothing is 100% fool proof, it depends on the fool! I would say go with pygmalion's solution, unless "know-it-all" iamthwee produces code.

Member Avatar for scru
0
139
Member Avatar for Hellodear

Also take a look at this site, it's IDE is much smaller and faster than the hughely swollen MS Express C# deal. SharDevelop is a free IDE for C#, VB.NET and Boo projects on Microsoft's .NET platform. It is open-source, and you can download both sourcecode and executables from this …

Member Avatar for Lardmeister
0
136
Member Avatar for purifier
Member Avatar for Lardmeister

I found this code, but can't find the needed module: [CODE] # display the info of a list, dictionary and tuple # needs apihelper.py from apihelper import info # create a list (or other container) li = [] # now display the available inormation print info(li) print "-------------------------------------------" # create …

Member Avatar for mawe
0
142
Member Avatar for pyguy25

I am a little confused with the 'string.split(s)' I thought it was more like s.split(): [code]s = "Just a test string" words = s.split() print words [/code]Are there different versions of Python floating about?

Member Avatar for ghostdog74
0
12K
Member Avatar for Lardmeister

I have for instance this function I wrote and want to assure that the argument is a number when I call the function. [code]def hypotenuse(n): "return the length of the hypotenuse of an isosceles triangle" return (n*n + n*n)**0.5 sides = 3.7 print hypotenuse(sides) [/code]Any ideas how to do this?

Member Avatar for jrcagle
0
645
Member Avatar for aot

The End.