Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Have you programmed today?

Name: Anonymous 2009-07-30 12:35

name one useful piece of code you wrote.

Name: Anonymous 2009-07-30 12:39


import random

# random orderer

dicks = raw_input("++:")
dicks = dicks.split()
newdicks = ""
numbers_of_words = ""


# 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: Anonymous 2009-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).

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-30 12:44

A C program which crashes my video card driver.



_____________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
Peace is a resistance to the terrible satisfactions of war.

Name: Anonymous 2009-07-30 12:49

I was just wondering if running code with a HLT instruction would stop my box. I didn't actually try it yet.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-30 12:58

>>5 Unless you disabled all interrupts and run the code in ring 0 it won't do a thing.



_________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
Once a man has changed the relationship between himself and his environment, he cannot return to the blissful ignorance he left.

Name: Anonymous 2009-07-30 12:58

I didn't program, I went out and made a difference by helping a charity

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-30 13:04

>>7 What charity? Was it religious charity?



______________________________________________
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.

Name: Anonymous 2009-07-30 13:07

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.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-30 13:14

>>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!"

Name: Anonymous 2009-07-30 13:16

>>9
I will, along with my job.

Name: Anonymous 2009-07-30 13:39

>> 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: Anonymous 2009-07-30 13:53

>>9
>>10
As always, pretentiousness is a total FROZENVOID MAGNET!

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-30 13:58

>>13 I admire people who speak their mind freely.



____________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
A different conception of society, very different from that which now prevails, is in process of formation.

Name: Anonymous 2009-07-30 14:00

>>14
I can insure you I am no anus!

Name: Anonymous 2009-07-30 14:01

(let ((n 20)) (map (lambda (x) (build-list x (lambda (x) (+ 2 (random n))))) (build-list 5 (lambda (x) (+ 2 (random n))))))

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-30 14:02

>>15 I don't admire people who parrot memes.



__________________________________________
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.

Name: ENTERPRISE QUALITY 2009-07-30 14:13

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: Anonymous 2009-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.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-30 14:42

>>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.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-30 14:45

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.

Name: Anonymous 2009-12-31 11:57

bump

Name: Anonymous 2009-12-31 14:00

>>21

The link in your signature (http://xs135.xs.to/xs135/09042/av922.jpg) appears to be down.

Name: Anonymous 2009-12-31 14:08

>>1
considering that bash is technically a programming language, and I've only just woken up, here's what I've written today:

irssi

Name: Anonymous 2009-12-31 14:18

>>23
Works for me.

Name: Anonymous 2009-12-31 14:21

I just woke up and damn am I hung over.

Name: Anonymous 2009-12-31 18:07

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: Anonymous 2009-12-31 19:05

>>1
i only experimented with CGI/perl on my own homepage

why cant i be more productive.

;_;

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List