# make a list of the numbers from 0-len(string)
for i in range(0, len(dicks)):
numbers_of_words = numbers_of_words + str(i)
for x in dicks:
#choose a number from the list
n = random.randint(0, len(numbers_of_words)-1)
print numbers_of_words[n] + " | " + numbers_of_words
#remove word from consideration, supposedly
numbers_of_words = numbers_of_words.replace(str(n), "")
newdicks = newdicks + dicks[n] + " "
print newdicks
Its really very efficient, for what Im doing
Name:
Anonymous2009-07-30 12:39
A script that lists the last ten replies on /prog/ and compares them with the top threads, as an PHP exercise.
And seriously, I'm working on a BBcode helper (C + ncurses).
______________________________________________ http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
I think, and my thoughts cross the barrier into the synapses of the machine - just as the good doctor intended. But what I cannot shake, and what hints at things to come, is that thoughts cross back. In my dreams the sensibility of the machine invades the periphery of my consciousness. Dark. Rigid. Cold. Alien. Evolution is at work here, but just what is evolving remains to be seen.
I don't program, because programming is linked to a set of rules that attempt to define the society. I am beyond thinking it terms of societies, but you may enjoying playing in your little puppet show.
>>9 You discard something you may find useful, even you if you don't want to program seriously.
For now, imagine if you knew JavaScript, you could improve how you view and use this very site(and anything on the web) with simple scripts.
_________________________________ http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
He gurgled for a cab and when it came near the license plate said F'kgash and he had souls in the mirror. If anything He could say that this cab was weird, but he roared: "Nah, forget it- Yo, human, to R'lyeh!"
>> 10 For now, imagine if you knew JavaScript, you could improve how you view and use this very site(and anything on the web) with simple scripts. http://www.bluishcoder.co.nz/jsscheme/
Name:
Anonymous2009-07-30 13:53
>>9 >>10
As always, pretentiousness is a total FROZENVOID MAGNET!
__________________________________________ http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
Laws: We know what they are, and what they are worth! They are spider webs for the rich and mighty, steel chains for the poor and weak, fishing nets in the hands of government.
All this is simplified in Java. You treat everything as an object, so there is a single consistent syntax that you use everywhere. Although you treat everything as an object, the identifier you manipulate is actually a "reference" to an object. You might imagine this scene as a television (the object) with your remote control (the reference). As long as you're holding this reference, you have a connection to the television, but when someone says "change the channel" or "lower the volume," what you're manipulating is the reference, which in turn modifies the object. If you want to move around the room and still control the television, you take the remote/reference with you, not the television.
oh, well that sounds convenient
Name:
Anonymous2009-07-30 14:36
>>17
You have wasted time to write this post. According to you, I am an inferior being, so my time used to insure I am no anus is worth less. Good job, you've played yourself.
>>19 The time spent to write this and subsequent posts is insignificant in the grand scheme of things.
__________________________________________ http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
One has not only a legal, but a moral responsibility to obey just laws. Conversely, one has a moral responsibility to disobey unjust laws.
I could write thousands of posts daily if the topic interests me so much.
Its not wasted time. Its archived and can be read by anyone interested.
The content is what which matters not time itself.
______________________________ http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
While the easiest way in metaphysics is to condemn all metaphysics as nonsense, the easiest way in morals is to elevate the common practice of the community into a moral absolute.
Wrote an algorithm that applies Gauss algorithm to find the determinant, then the inverse, of an NxN matrix. I was going to use rule of sarrus combined with LaPlace expansion but then I realized I didn't need to use recursion.
Name:
Anonymous2009-12-31 19:05
>>1
i only experimented with CGI/perl on my own homepage