sneekula 969 Nearly a Posting Maven
sneekula 969 Nearly a Posting Maven

That one looks too much like a dentist's chair.
....

hehehe I am almost a dentist

sneekula 969 Nearly a Posting Maven

Brazilian OJ

sneekula 969 Nearly a Posting Maven

halloween is something else

sneekula 969 Nearly a Posting Maven

shit lol i got 7 and im from the Dundee, Scotland

and a Canadian beat you?

sneekula 969 Nearly a Posting Maven

listenend to christmas song

sneekula 969 Nearly a Posting Maven

the game is very hard

sneekula 969 Nearly a Posting Maven

interesting facts

sneekula 969 Nearly a Posting Maven

this its funny

sneekula 969 Nearly a Posting Maven

You pay 2 Dollars and you are allowed to throw 4 dice. If the sum of the dice is less than 9, you win 12 Dollars, otherwise you lose your investment. Should you play this game?

Let a small Python program help you.

sneekula 969 Nearly a Posting Maven

CARNIVORE has been vacuuming the internets since Homeland Security; some major providers have been inserting BitTorrent start and stop codes into the datastream to try and control bandwidth but that is being litigated in the DC Circuit which has a reputation as being a pro-industry anti-regulatory bunch of judicial activists who don't give a squat about actual case law. The RIAA and MPAA regard the internet as the worst mistake they ever let happen while the FBI want a built in backdoor to it.

Thanks for the info. Let's hope the FBI is only after the criminal elements.

sneekula 969 Nearly a Posting Maven

I got 8 right, but then it helps to be born in Canada.

sneekula 969 Nearly a Posting Maven

NObama '08

What is the other choice again?

sneekula 969 Nearly a Posting Maven

Obama is a quack.

Are we quoting your Bible? You know the "throwing the first stone" quote. Mr. Obama is a fellow Christian.

The duck goes quack.

sneekula 969 Nearly a Posting Maven

Absolutely fantastic smear!
Now I know why most people will vote for Senator Obama.

sneekula 969 Nearly a Posting Maven

The sound module I dig is pymedia, here is an example:

#! /bin/env python
# PyMedia wave play
# download: pymedia-1.3.5.0-pre2.win32-py2.4.exe
# free from: http://pymedia.org/
# pymedia will work with python25 if you hexedit all 5 .pyd files
# in the pymedia installed folder and its subfolders
# --> find python24.dll and change to python25.dll

import sys

def playWAV( fname ):
    import pymedia.audio.sound as sound
    import time, wave
    f = wave.open( fname, 'rb' )
    # speed things up by multiplying the samplerate, also gives higher frequency
    #sampleRate = f.getframerate()*2
    sampleRate = f.getframerate()
    channels = f.getnchannels()
    format = sound.AFMT_S16_LE
    print sampleRate, channels, format  # test => 8000 1 16
    snd1 = sound.Output( sampleRate, channels, format )
    #s = f.readframes( 300000 )
    #snd1.play( s )

    s = ' '
    while len(s):
        s = f.readframes( 1000 )
        snd1.play( s )

  
    # since sound module is not synchronous we want everything to be played before we exit
    while snd1.isPlaying(): time.sleep( 0.05 )


if __name__== '__main__':
    """
    if len( sys.argv )!= 2:
        print "Usage: play_wav <file>"
    else:
        playWAV( sys.argv[ 1 ] )
    """
    # pick a wave you have
    waveFile = 'boing.wav'
    playWAV(waveFile)

Again, all further development seems to have stopped in 2006. Makes you wonder how much longer Python will last?

sneekula 969 Nearly a Posting Maven

A picture is worth 376 words!

sneekula 969 Nearly a Posting Maven

You got the mind of an old man already!

sneekula 969 Nearly a Posting Maven

Much too difficult for me!

sneekula 969 Nearly a Posting Maven

A must have, put one on my xmas list.

sneekula 969 Nearly a Posting Maven

Honey is the only food that does not spoil. Honey found in the tombs of Egyptian pharaohs has been tasted by archaeologists and found edible.

sneekula 969 Nearly a Posting Maven

Now those were the real heroes!

sneekula 969 Nearly a Posting Maven

Election 2004:
Those who cast the votes decide nothing.
Those who count the votes decide everything.

Let's hope we don't have a repeat in 2008.

sneekula 969 Nearly a Posting Maven

One more scary picture, then I am getting ready for Thanksgiving.

sneekula 969 Nearly a Posting Maven

Very funny! Actually, what else can you do with a poodle?

sneekula 969 Nearly a Posting Maven

Blond Brownies and hot chocolate.

sneekula 969 Nearly a Posting Maven

Any fool can paint a picture, but it takes a wise man to be able to sell it.

Shanti C commented: smart quote +2
sneekula 969 Nearly a Posting Maven

Ah bummer. Should i move this project onto another language such as C++ or do you rekon i could still do it in python?

Simply go to the C++ forum here and ask. There are plenty of experts there that know how to handle sound files.

Sorry about putting my quatsch up three times, but DaniWeb kept on freezing up when I did it.

sneekula 969 Nearly a Posting Maven

Get one of the many Python Learning Books they usually have plenty of exercises.

sneekula 969 Nearly a Posting Maven

Homemade bread with peanut butter and jam.

sneekula 969 Nearly a Posting Maven

It is by the fortune of God that, in this country (USA), we have three benefits: freedom of speech, freedom of thought, and the wisdom never to use either.
~~~ Mark Twain (11/30/1835 - 04/21/1910)
a famous US author

sneekula 969 Nearly a Posting Maven

Hey and hello bonnie1702, it's nice to have sombody cheerful around!

sneekula 969 Nearly a Posting Maven

It's only $30, why not go for it? I have heard good things about the IDE.

sneekula 969 Nearly a Posting Maven

Is there anywhere to download pysonic for python 2.5? Because i cant find it on the sourceforge page..

Find file pysonic.pyd installed on Python24 and copy it to Python25
pysonic will work with python25 if you hexedit pysonic.pyd
--> find the python24.dll ref. and change it to python25.dll
you can use for instance the ICY hexplorer utility

There may be a runtime version warning, but it works otherwise.

sneekula 969 Nearly a Posting Maven

Is there anywhere to download pysonic for python 2.5? Because i cant find it on the sourceforge page..

Find file pysonic.pyd installed on Python24 and copy it to Python25
pysonic will work with python25 if you hexedit pysonic.pyd
--> find the python24.dll ref. and change it to python25.dll
you can use for instance the ICY hexplorer utility

There may be a runtime version warning, but it works otherwise.

sneekula 969 Nearly a Posting Maven

Is there anywhere to download pysonic for python 2.5? Because i cant find it on the sourceforge page..

Find file pysonic.pyd installed on Python24 and copy it to Python25
pysonic will work with python25 if you hexedit pysonic.pyd
--> find the python24.dll ref. and change it to python25.dll
you can use for instance the ICY hexplorer utility

There may be a runtime version warning, but it works otherwise.

sneekula 969 Nearly a Posting Maven

Just in time:

sneekula 969 Nearly a Posting Maven

You forgot one option on the poll:
"Hell no, that has to be the lamest thing I've heard in a good while."

I vote for that!

sneekula 969 Nearly a Posting Maven

Drinking a bottle of beer a day helps to reduce the chance of kidney stones by 40%.

sneekula 969 Nearly a Posting Maven

If you have Windows machines, then it is much simpler to distribute your PyQT programs on an inexpensive USB Flash Drive. A 256MB drive will do, they cost just a few dollars.

Follow this procedures on one drive, you can then make copies from there:

Let's assume you have used PyQt-Py2.5-gpl-4.4.2-1.exe (free download from:
http://pyqwt.sourceforge.net/download.html) to install PyQT on C:\Python25

Let's further assume you have used PortablePython1.0.zip (free download from:
http://www.portablepython.com/) and extracted its files to flashdrive G.

To make PyQT work on PortablePython1.0 copy the following files:
C:\Python25\Lib\site-packages\PyQt4 to G:\PortablePython1.0\Lib\site-packages\PyQt4
C:\Python25\Lib\site-packages\sip.pyd to G:\PortablePython1.0\Lib\site-packages\sip.pyd
C:\Python25\Lib\site-packages\sipconfig.py to G:\PortablePython1.0\Lib\site-packages\ sipconfig.py
C:\Python25\Lib\site-packages\sipdistutils.py to G:\PortablePython1.0\Lib\site-packages\sipdistutils.py

Now run one of the PYQT testfiles in the SciTE.exe IDE that accompanies PortablePython1.0

Here is one of the test programs:

# pqt_checkbox1.py

import sys
from PyQt4 import QtGui
from PyQt4 import QtCore


class CheckBox(QtGui.QWidget):
    def __init__(self, parent=None):
        QtGui.QWidget.__init__(self, parent)

        self.setGeometry(300, 300, 250, 150)
        self.setWindowTitle('Checkbox')

        self.cb = QtGui.QCheckBox('Show title', self)
        self.cb.setFocusPolicy(QtCore.Qt.NoFocus)
        self.cb.move(10, 10)
        self.cb.toggle();
        self.connect(self.cb, QtCore.SIGNAL('stateChanged(int)'), self.changeTitle)

    def changeTitle(self, value):
        if self.cb.isChecked():
            self.setWindowTitle('Checkbox')
        else:
            self.setWindowTitle('')

app = QtGui.QApplication(sys.argv)
icon = CheckBox()
icon.show()
app.exec_()

PortablePython1.0.zip includes:
Portable Python 1.0 BETA
Python 2.5
Django 0.96 - Revision 4293 (08 january 2007)
Scite 1.71

sneekula 969 Nearly a Posting Maven

These are all innocent clean web sites, but their URLs make you wonder:

http://www.whorepresents.com/

http://www.expertsexchange.com/

http://www.penisland.net/

http://www.therapistfinder.com/

http://www.molestationnursery.com/


Know any more, post them here!

sneekula 969 Nearly a Posting Maven

Great find there Dude!

sneekula 969 Nearly a Posting Maven

If knowledge can create problems, it is not through ignorance that we can solve them.
~~~ Isaac Asimov

sneekula 969 Nearly a Posting Maven

It didn't take very long for my words to be proved. ;)

You won, congratulations!

sneekula 969 Nearly a Posting Maven

Interesting, just released in the news:
The latest poll of registered voters in the state of Texas states the 24% of voters there believe that Barack Obama is a Muslim.

sneekula 969 Nearly a Posting Maven

Python is very well suited for text modifications. Write a small Python program that modifes this typical raw email text:

Why did the chicken cross the road?
>
>
>           BARACK OBAMA:
>>          The chicken crossed the road because it was time for a
>           CHANGE! The chicken wanted CHANGE!
>
>
>           JOHN McCAIN:
>>          My friends, that chicken crossed the road because he
>           recognized the need to engage in cooperation and dialogue
>           with all the chickens on the other side of the road.
>
>
>           HILLARY CLINTON:
>           When I was First Lady, I personally helped that little
>           chicken to cross the road. This experience makes me
>           uniquely qualified to ensure -- right from Day One! -- that
>           every chicken in this country gets the chance it deserves to
>           cross the road. But then, this really isn't about me....
>
>
>           GEORGE W. BUSH:
>           We don't really care why the chicken crossed the road.
>           We just want to know if the chicken is on our side of the
>           road or not. The chicken is either against us or for us.
>           There is no middle ground here.
>
>
>           COLIN POWELL:
>           Now to the left of the screen, you can clearly see the
>           satellite image of the chicken crossing the road...
>
>
>           JOHN KERRY:
>           Although I voted to let the chicken cross the road, I am
>           now against it! …
sneekula 969 Nearly a Posting Maven

You vote for Obama and the machine jumps to McCain, interesting! On top of that, taxpayer paid for the thing.

sneekula 969 Nearly a Posting Maven

This morning in Defiance Ohio in front of 2000 adults and 4000 school children Senator McCain introduced "Joe the Plumber". The problem was Joe the Plumber wasn't there.

sneekula 969 Nearly a Posting Maven

On last Sunday's "Meet the Press" TV show, John McCain said he was supported by 5 former Republican Secretaries of State. Even using his fingers several times he could only list 4.

sneekula 969 Nearly a Posting Maven

Why? Any humor book would pale in contrast with such a laughing source as you provide.
I thought the infatuation with Dave that you had was over.
I have told you before I am not Dave.

Dear God! No insult meant, the Dave I am confusing you with is a real nice person.