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

Pages: 1-4041-8081-120121-160161-200201-240241-

Code off

Name: Anonymous 2009-07-28 13:59

Welcome to the first annual /prog/ Code off !

The language will be C.

Compeptitors include (in no particular order):

Mr. Ribs
Xarn
FV
Anonymous
W. T. Snacks

Rumor has it, that there may be a special guest appearance from either The Sussman or
Leah Culver.

What's the point of this, you ask?

It's to determine who is an EXPERT PROGRAMMER.

Marking criteria:

Optimization
Elegance

Bonus marks:
indentation

Good luck!

Name: !MILKRIBS4k 2009-07-28 14:03

I am by no means a C EXPERT, but I will give it a go!

Name: Anonymous 2009-07-28 14:16

>>2

you are no Mr. too

Name: Anonymous 2009-07-28 14:17

inb4 40 submissions of fibs and facts in C

Name: Anonymous 2009-07-28 14:36

>>2
You're an anus! *grabs löb*

Name: Anonymous 2009-07-28 14:39

>>4
It doesn't feel right in C. For instance, f@(_:fs) = 0 : 1 : zipWith (+) f fs takes its elegance from the contrived form which cannot be rendered in C.

Name: Anonymous 2009-07-28 14:41

Official Code Off: STAGE 1

Image Processing

You must code a program that takes in any two .jpegs of the same resolution, and combines them equally (on top of each other) into a single image of the same resolution. The output must be displayed on screen. Writing the output image to a file is unacceptable. All code will be tested with image pairs at resolutions of 10x10, 100x100, and 1000x1000.

Each contestant has 24 hours to complete. Code must be posted in this thread by 3pm eastern tomorrow.

Name: Anonymous 2009-07-28 14:41

>>7
ololol

Name: Anonymous 2009-07-28 14:54

>>7 enjoy your reference jpeg encoder

Name: Anonymous 2009-07-28 14:56

>>9
I will, along with my job.

Name: Anonymous 2009-07-28 14:59

>>7
Aww shit this looks a little tough for stage one don't you think?

Name: Anonymous 2009-07-28 15:00

>>7
I assume you have to manipulate the RGB values and not reference jpeg encoding...

Name: Anonymous 2009-07-28 15:02

>>7
Sounds good. You're on OP!

Name: Anonymous 2009-07-28 15:03

>>7

#include "hibbit.h"

int main() {
    combine_and_display("image1.jpg", "image2.jpg");
}


Do I win yet?

Name: Anonymous 2009-07-28 15:08

>>12 Yes, but you still have to encode/decode the jpeg

Name: Anonymous 2009-07-28 15:10

asshole lol

Name: Anonymous 2009-07-28 15:10

>>14
Not unless you post the code for combine_and_display()

Name: Anonymous 2009-07-28 15:10

>>14
THE GAME CODE OFF

Name: Anonymous 2009-07-28 15:11

combine :: Image -> Image -> Image
combine i1 i2 = --todo

Name: Anonymous 2009-07-28 15:12

You should provide some jpg standard dox.

Name: Anonymous 2009-07-28 15:14

This is a 1-liner in the SICP picture language

Name: Anonymous 2009-07-28 15:17

>>17
void combine_and_display(one, two)
{
    combine(one, two);
    display(one, two);
}


Do I win yet?

Name: Anonymous 2009-07-28 15:20

>>22
Almost!

Name: Anonymous 2009-07-28 15:28

Official Code Off: STAGE 2

GUI

Make GIMP usable.  You have 20 years.

Name: Anonymous 2009-07-28 15:32

The GIMP is perfectly usable already, done!

Name: Anonymous 2009-07-28 15:32

>>7
combines them equally (on top of each other)
What the fuck does this mean?

Name: Anonymous 2009-07-28 15:40

>>7

Like the arithmetic mean of the RGB values of the two pixels?

As I see it: use SDL to load two JPEGs. Combine them into one JPEG. Display the result. Should be easy. Why write an encoder/decoder when there are libraries?

Name: !MILKRIBS4k 2009-07-28 15:41

>>7
I don't think I am capable of this! I have failed on round one! :(

Name: Anonymous 2009-07-28 15:50

>>28
Hohoho.

Name: Anonymous 2009-07-28 16:21

>>27
YES thats one way of doing it

Name: Anonymous 2009-07-28 16:35

ITT: OP tries to get /prog/ to do his homework.

Name: Anonymous 2009-07-28 16:43

Once, one guy asked me to do his homework project thing. I gave him both the source and compiled code, and when he ran it in the lab, the professor saw a stream of the word ``PENIS'' displayed every second after two minutes of running the program. I guess he never tested it for more then two minutes. Anyway, he kicked my ass after that, but I'm still glad I did it.

Name: Anonymous 2009-07-28 16:45

>>32
It was worth it.

Name: Anonymous 2009-07-28 16:56

>>32
s/then/than

Name: Anonymous 2009-07-28 17:29

No thanks. I hate writing in C almost as much as I hate writing in Sepples.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-28 17:41

>>7 Easy:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
//syntax combine jpeg1 jpeg2
void main(int argc,char **argv){int clen=(strlen(argv[1])>strlen(argv[2]))?strlen(argv[1]):strlen(argv[2]);int i;
for(i=0;i<clen;i++){putchar(argv[1][i]^argv[2][i]);}}

_______________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
It looks like a vortex -- a gateway into another dimension.

Name: Anonymous 2009-07-28 18:16

>>36

I sense a memory leak of Firefox epic proportions.

Name: Anonymous 2009-07-28 18:32

>>36
OH, YOU! XD

Name: Anonymous 2009-07-28 18:40

what happened to frozen chef? I enjoyed reading his posts

Name: Anonymous 2009-07-28 19:42

>>39
Probably lost interest. Can you blame him?

Name: Anonymous 2009-07-28 19:48

>>36
i suppose when you're so much of a 1337 anti-conformist faggot who never read his K&R you have no way to learn about null termination.
enjoy your horribly inefficient, buggy code, you pathetic excuse for a progragrammer, you.

Name: Anonymous 2009-07-28 20:01

never read his K&R
You serious?

Name: Anonymous 2009-07-28 20:14

>>42
Yes.
If you want to learn C and not be a horrible horrible failure like Mr Void you read K&R. This is well established and there is no way around it.
Books often provide the best way to learn a language, providing much more depth and detail than tutorial websites and just guessing.

Sadly, FV doesn't believe in reading books; this causes him to not understand even the most basic language concepts, and, subsequently fail at all his C programming efforts.
What happened to your infinite compression program, FV? Oh, right! You couldn't get it to work because "gcc is buggy".
doh ho ho, how pathetic

Name: Anonymous 2009-07-28 21:21

>>36
Oh, Christ.
Now I understand why he doesn't beautify his code. It's so anyone unmotivated enough won't see how much he fails.
Seriously, how long have you been writing C? This is on the level of "a few weeks".

Name: Anonymous 2009-07-28 21:25

>>39

He went to microwave his food.

Name: !Double-Shot-Of-Java 2009-07-28 21:38

Did someone say Image Processing?
Eclipse + Java wins again!
Now where do I go to claim my prize? I hope its an ENTER-prize! <3


import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.image.FilteredImageSource;
import java.awt.image.ImageFilter;
import java.awt.image.ImageProducer;
import java.awt.image.RGBImageFilter;
import java.awt.*;

import javax.swing.JOptionPane;


public class app extends java.applet.Applet  {

     private static final long serialVersionUID = 1L;
     Image PWNAGE;
     Image one;
     Image two;
     Graphics bg;
     Image screen;
     Dimension dim;

     Font goodFont = new Font("Helvetica", Font.PLAIN,  22);
   
     public void init() {
          setBackground(new Color(0).white); 
          setSize(1280, 1024);
          dim = getSize();
          screen = createImage(dim.width, dim.height);
          bg = screen.getGraphics();
          addMouseListener(this);
       
       
          one = getImage(getDocumentBase(),JOptionPane.showInputDialog(null, "Type in first image file name."));
          two = getImage(getDocumentBase(),JOptionPane.showInputDialog(null, "Type in second image file name."));
       
       
       
          try {
       
               PWNAGE = makeColorTransparent(two, new Color(0).blue);
          }
          catch(Exception e) {}
     }
   
     public void paint(Graphics g) {     
          bg.clearRect(0, 0, dim.width, dim.height);
          bg.drawImage(one, 0, 0,this);
          bg.drawImage(PWNAGE, 0, 0,this);
          g.drawImage(screen, 0, 0, this);
     }
     
     public void update(Graphics g){
          paint(g);
     }
   
     public static Image makeColorTransparent(Image im, final Color color) {
          ImageFilter filter = new RGBImageFilter() {
               public final int filterRGB(int x, int y, int rgb) {
                    return 0xBDFFFFFF & rgb;
               }
          };
          ImageProducer ip = new FilteredImageSource(im.getSource(), filter);
          return Toolkit.getDefaultToolkit().createImage(ip);
     }
}

Name: Anonymous 2009-07-28 21:47

>>46
I am NOT downloading eclipse to see if this works. You win an enterprize GAY SEX PARTNER

Name: !3LrT5NRVks 2009-07-28 21:47

>>46
I approve of this post.

Name: Anonymous 2009-07-28 21:54

>>46
Well, if you delete the addMouseListener(this); it compiles and works! Why the hell is that line in there anyway?

Name: !Double-Shot-Of-Java 2009-07-28 21:56

>>49
Ahh, well I did put in some mouse functionality, but at the last minute I decided it was unnecessary. Guess I forgot to take that part out lol!

Name: Anonymous 2009-07-28 21:57

>>46
Disqualified for not C.

Name: Anonymous 2009-07-28 22:10

This thread is disqualified for not enterprise. Plus, the rest of the contestants are now just gonna kopipe the java code and translate it to C.

Name: Anonymous 2009-07-28 22:16

#include <iostream.h>

Name: Anonymous 2009-07-28 22:21

If there arnt any C entries, looks like javaMcFaggot wins

Name: Anonymous 2009-07-28 22:24

kopipe the java code and translate it to C
Hahaha.
U MENA HASKAL

Name: Anonymous 2009-07-28 22:25

main(){
    system("./image_processor jpg1.jpg jpg2.jpg");
}


The first and only REAL entry.
Suppose that means i win

Name: Anonymous 2009-07-28 22:28

>>56
Well yea, but your competitors still have 16.5 hours.

Name: Anonymous 2009-07-28 22:33

>>55
Put that in your kopipe and smoke it

          . . .
         .. .
        ;;
 _____(--)
{_______|

Name: Anonymous 2009-07-28 22:36

>>55
The only language I know is lisp. I figure tard languages like java and C are nearly interchangeable.

Name: Anonymous 2009-07-28 22:37

>>59
i lol'd when i read this.
it's an obvious troll, so i'll leave it at that

Name: Anonymous 2009-07-28 22:51

>>59
I prefer Basic, Visual Basic that is.

Name: Anonymous 2009-07-28 22:54

>>61
Visual Basic .NET, I presume?

Name: Anonymous 2009-07-28 22:56

qbasic.net

Name: Anonymous 2009-07-28 22:58

fffffffffffffffffffffffffffffffff

Name: Anonymous 2009-07-28 23:08

We should extend this to ALL languages.

Name: Anonymous 2009-07-28 23:12

>>65
public class /prog/ extends all.languages implements postlistener

Name: Anonymous 2009-07-28 23:27

>>65
All in favor?

Name: Anonymous 2009-07-29 0:06

The first round is TOO FREEKING HARD IN C! Who votes for a new assignment?

Name: Anonymous 2009-07-29 0:38

>>68
OK. I propose factorial.

Name: Anonymous 2009-07-29 0:40

>>69
FUCK YOU.
I propose fibs

Name: Anonymous 2009-07-29 0:48

Ok new Stage 1: Program a square root calculator using your own square root finding algorithm.

Name: Anonymous 2009-07-29 1:08

>>71
I see that you have read your SICP.

Name: Anonymous 2009-07-29 1:11

    ( ≖‿≖)  D
    ( ≖‿≖ )   I
    (≖‿≖ )  C
    (‿≖   )   K
    (≖   )   
    (     )   T
    (     )   O
    (   ≖)   W
    (  ≖‿)   E
    ( ≖‿≖)  R

Name: Anonymous 2009-07-29 2:34

hmm

Name: Anonymous 2009-07-29 3:58

Wow, I declare java the winner.

Name: Anonymous 2009-07-29 4:03

>>73
you forgot some spoilers and spaces there son .

Name: Anonymous 2009-07-29 4:04


#include <stdlib.h>

int main()
{
    system("convert -combine pic1.jpg pic2.jpg out.jpg");
    system("feh out.jpg");
    return 1+2-3;
}

Name: Anonymous 2009-07-29 4:24

>>77
You cannot use a file.  My idea is to create a data: link and pass it to Firefox, but I wonder if it would work for huge files.

Name: Anonymous 2009-07-29 4:32

>>78
allow me to fix his entry then:
#include <stdlib.h>
int main()
{
   system("convert -combine pic1.jpg pic2.jpg | feh");
}

Name: Anonymous 2009-07-29 4:34

>>46
Holy fuck. Double shot of douchebag's program really works and Im impressed. I'm thinking about learning Java now.

Name: Anonymous 2009-07-29 4:44

#include <Carbon/Carbon.h>

CGImageRef LoadJPEGImageAtFileSystemPath(const char *path)
{
    CFURLRef url;
    CGDataProviderRef dataProvider;
    CGImageRef image = NULL;
    url = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault,
        (const UInt8 *)path, strlen(path), false);
    if (dataProvider = CGDataProviderCreateWithURL(url))
    {
        image = CGImageCreateWithJPEGDataProvider(dataProvider, NULL,
            true, kCGRenderingIntentPerceptual);
        CGDataProviderRelease(dataProvider);
    }
    CFRelease(url);
    return image;
}
void InitializeDisplaySystem()
{
    ProcessSerialNumber psn = {0, kCurrentProcess};
    TransformProcessType(&psn, kProcessTransformToForegroundApplication);
    SetFrontProcess(&psn);
}
WindowRef CreateWindowForImage(CGImageRef image)
{
    Rect bounds;
    size_t width, height;
    WindowRef window;
    GetAvailableWindowPositioningBounds(NULL, &bounds);
    width = CGImageGetWidth(image);
    height = CGImageGetHeight(image);
    if (bounds.right - bounds.left > width)
    {
        bounds.left = (bounds.left + bounds.right - width) / 2;
        bounds.right = bounds.left + width;
    }
    if (bounds.bottom - bounds.top > height)
    {
        bounds.top = (bounds.top + bounds.bottom - height) / 2;
        bounds.bottom = bounds.top + height;
    }
    CreateNewWindow(kPlainWindowClass, kWindowNoAttributes, &bounds,
        &window);
    return window;
}
void RenderTwoImagesBlendedTogetherIntoWindow(WindowRef window,
    CGImageRef firstImage, CGImageRef secondImage)
{
    CGContextRef context;
    CGRect drawArea = CGRectMake(0, 0, CGImageGetWidth(firstImage),
        CGImageGetHeight(firstImage));
    QDBeginCGContext(GetWindowPort(window), &context);
    CGContextSaveGState(context);
    CGContextDrawImage(context, drawArea, firstImage);
    CGContextSetAlpha(context, 0.5);
    CGContextDrawImage(context, drawArea, secondImage);
    CGContextRestoreGState(context);
    QDEndCGContext(GetWindowPort(window), &context);
}
OSStatus HandleExitEvent(EventHandlerCallRef inHandlerCallRef,
    EventRef inEvent, void *inUserData)
{
    QuitApplicationEventLoop();
    return noErr;
}
void DoEventLoop(WindowRef window)
{
    EventTypeSpec exitEvents[2] = {
        {kEventClassKeyboard, kEventRawKeyDown},
        {kEventClassMouse, kEventMouseDown}
    };
    InstallWindowEventHandler(window, HandleExitEvent, 2, exitEvents,
        NULL, NULL);
    RunApplicationEventLoop();
}
int main(int argc, char *argv[])
{
    CGImageRef image1, image2;
    WindowRef window;
    if (argc != 3) errx(1, "U MENA ARGS?");
    image1 = LoadJPEGImageAtFileSystemPath(argv[1]);
    image2 = LoadJPEGImageAtFileSystemPath(argv[2]);
    if (!image1 || !image2) errx(2, "images no load");
    InitializeDisplaySystem();
    window = CreateWindowForImage(image1);
    ShowWindow(window);
    RenderTwoImagesBlendedTogetherIntoWindow(window, image1, image2);
    DoEventLoop(window);
    return 0;
}

Name: Anonymous 2009-07-29 4:47

#include <stdlib.h>
#include <stdio.h>

// i love you /prog/  <3

void FFF() {
  for(;;){
    putchar('F');
    FFF();
}}

void main() {
  puts("did i win the contest ?");
  char answer = getchar();
  if(answer == 121) {
    puts("oh thank you /prog/ , it is a great honor for me , i want to thank my family , friends , producer , my dog, the sussman , anal tourning , ronald macdonald, the snake , guido and the ginger and last but not least all the other fucks i forgot .");
    exit(0);

  }
  else {
    FFF();
  }
}

Name: Anonymous 2009-07-29 4:48

>>82
ohshit i forgot my "tags"

Name: Anonymous 2009-07-29 8:54

>>43
K&R might have the concepts needed for successful C, but the style is pig disgusting. It doesn't surprise me that people that aren't interested in succeeding in C don't read it.

Name: Anonymous 2009-07-29 8:57

>>84
Do they impose their style on you? No, they don't; just pretend it's Allman or some variation thereof.

Name: Anonymous 2009-07-29 9:14

>>84
Death to Allman! Long live K&R!

Name: Anonymous 2009-07-29 9:21

>>86
If by some wicked logic an if or for and an opening curly bracket make a complete whole to you, good for you. I prefer my }s to be lined up with {s, thank you.

Name: Anonymous 2009-07-29 9:46

cat >>87 | sed -e 's/opening/closing/'

Name: Anonymous 2009-07-29 11:40

>>87
EXPERT HEATHEN

Name: Anonymous 2009-07-29 13:18

>>81
We have got a real entry! Finally! And look, its Anonymous. Well, I guess this competition is almost over. (1 and a half hours left)

Name: Anonymous 2009-07-29 14:11

>>90
What's the matter?  The system(3) version too short for you?

Name: Anonymous 2009-07-29 14:29

>>91
It's too cross-platform for me.

Name: Anonymous 2009-07-29 14:49

10 MINUETS TO GO!

Name: Anonymous 2009-07-29 14:55

>>93
Nothing like using a dance as a measurement of time.

Name: Anonymous 2009-07-29 15:02

>>92
Well, that's just like, your opinion, man.

Name: Anonymous 2009-07-29 15:06

>>1
Xarn
U MENA CAIRNARVON?

Name: Anonymous 2009-07-29 15:19

I missed the jpeg one, but I want to see the next challenge.

Name: Anonymous 2009-07-29 15:42

By this thread I conclude that 2% of /prog/ users can write real code.

Name: Anonymous 2009-07-29 15:48

>>98
or 2% could be assed

Name: Anonymous 2009-07-29 15:59

Official Winner of Stage 1
>>81
ANONYMOUS
+--------------------------------------+
Official Code Off: STAGE 2

2D Graphics

This is the second of three challenges. To complete this stage you must program a 2D graphical application that initializes a new 'Square' on the screen each time the user left-clicks. Each square will move at a constant speed in a random direction. Upon contacting a window border, the square will bounce off and continue in a new direction.

Each contestant has 24 hours to complete. Code must be posted in this thread by 4pm eastern tomorrow. This stage is slightly easier than the first, so I expect more than one legitimate entry!

Name: Anonymous 2009-07-29 16:07

>>100
WTF thats supposed to be easier?

Name: Anonymous 2009-07-29 16:12

You know what type of program I would like to see?  A recipe index where you can take different formats from various websites, conversion, grocery list, pictures, etc.

Name: Anonymous 2009-07-29 16:13

I wonder what would happen if Leah Culver and The Sussman both submitted entries. I wonder who's would win... The Sussman represents old fashioned, classical, elegant programming and Leah Culver represents fast paced, cutting edge, enterprise programming. It would be a monumental event.

Name: Anonymous 2009-07-29 16:14

>>102
stop turning my /prog/ into rentacoder

Name: Anonymous 2009-07-29 16:15

>>103
I'd like to see the Sussman submit his entry to Leah Culver, if you know what I mean

Name: Anonymous 2009-07-29 16:15

>>103
I'd go with Culver if it was in C. Especially if it wasn't a math based problem.

Name: Anonymous 2009-07-29 16:19

>>100
I can't wait for double-shot-of-ENTERPRIZE's glitchy applet solution.

Name: Anonymous 2009-07-29 16:20

Name: Anonymous 2009-07-29 16:37

>>107
If hes posting applets then why doesnt he just host them online so we can SEE them work?

Name: Anonymous 2009-07-29 16:46

ITT: OP gets /prog/ to do his daily job for him.

Name: Sage 2009-07-29 16:53

>>110
Who's daily job is an image combiner one day and a 2d square bouncer the next?

Name: Anonymous 2009-07-29 17:37

>>100
Sage for TOO DIFFICULT FOR /prog/!

Name: Anonymous 2009-07-29 17:38

>>112
Im sorry, just for you ill make Stage 3 'Hello world!'

Name: Anonymous 2009-07-29 17:41

>>113
system.out.println("Hello World!");

Name: Anonymous 2009-07-29 17:43

>>114
You fail. You fucking fail at 'Hello World!'. System is capital, you dumbfuck

Name: Anonymous 2009-07-29 17:52

This thread makes me feel bad for the rest of prog.

Name: Anonymous 2009-07-29 17:53

>>111
Wait, you mean that's not what an IT professional does? Then school has taught me nothing!

Name: Anonymous 2009-07-29 18:13

Official Code Off: STAGE 3

Hello World

You must code a the classic hello world program that will output the exact text ``Hello, World!'' to standard output.

Name: Anonymous 2009-07-29 18:25

>>100
I doubt anyone will complete this. In C anyway.

Name: Anonymous 2009-07-29 18:29

>>118
Forget it, it's NP-Complete

Name: Anonymous 2009-07-29 18:55

>>119
I happen to be an expert at this.
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <windows.h>
#include <string.h>

//http://dis.4chan.org/read/prog/1248803966/100

HANDLE *hConsole;

void fill_frame(char *frame,char c){
    int x,y;
    for(y=0;y<20;++y){
        for(x=0;x<50;++x){
            frame[y*51+x] = c;
        }
        frame[y*51+50] = '\n';
    }
    frame[51*20] = 0;
}

///

inline int out_of_bounds(short x,short y){
    return x<0 || x>50 || y<0 || y>20;  
}

void add_square(short *squares){
    int i;
    for(i=0;i<1024;i+=4){
        if(out_of_bounds(squares[i],squares[i+1])){
            squares[i]   = 25;//x
            squares[i+1] = 10;//y
            squares[i+2] = 1;//x speed
            squares[i+3] = 1;//y speed
            break;
        }
    }
}

void move_squares(short *squares){
    short i,*x,*y;
    for(i=0;i<1024;i+=4){
        x = &squares[i];
        y = &squares[i+1];
        if(!out_of_bounds(*x,*y)){
            if(*x==0 || *x==50-1) squares[i+2]*=-1;
            if(*y==0 || *y==20-1) squares[i+3]*=-1;
            *x += squares[i+2];
            *y += squares[i+3];
        }
    }
}

///

void gotoxy(short x,short y){
    COORD coord = {x,y};
    SetConsoleCursorPosition(hConsole,coord);
}

void print_frame(char *frame){
    gotoxy(0,0);
    printf(frame);
    gotoxy(0,0);
}

void clear_scrn(){
    char frame[51*20];
    fill_frame(frame,' ');
    print_frame(frame);
}

void render_frame(char *frame,short *squares){
    short i,x,y;
    fill_frame(frame,' ');
    for(i=0;i<1024;i+=4){
        x = squares[i];
        y = squares[i+1];
        if(!out_of_bounds(x,y)){
            frame[y*51+x] = '#';
        }
    }
}

///

int main(int argc,char *argv[]){
    char frame[51*20];
    short squares[1024];
    memset(squares,-1,sizeof(short)*1024);
    hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
   
    clear_scrn();
    for(;;){
        while(_kbhit()>0){
            if(_getch()==EOF) exit(0);
            else add_square(squares);
        }
        move_squares(squares);
       
        fill_frame(frame,' ');
        render_frame(frame,squares);
        print_frame(frame);
        Sleep(1000);//32
    }
    return 0;
}

Name: Anonymous 2009-07-29 19:00

This thread has made me realize that I am not an [b][u]EXPERT PROGRAMMER[/b][/b]

Name: Anonymous 2009-07-29 19:29

>>121
Oh shit son! Nice!

Name: Anonymous 2009-07-29 19:57

>>100
I don't see any language restriction on this one, soo...

-module(progoff2).
-export([start/0]).

-define(SQUARE_SIZE, 50).
-define(WINDOW_WIDTH, 500).
-define(WINDOW_HEIGHT, 500).
-define(UPDATE_INTERVAL, 50).

start() ->
    G = gs:start(),
    gs:window(win, G, [{width, ?WINDOW_WIDTH},
        {height, ?WINDOW_HEIGHT}, {map, true}]),
    gs:canvas(canv, win, [{width, ?WINDOW_WIDTH},
        {height, ?WINDOW_HEIGHT}, {buttonpress, true}]),
    self() ! update,
    loop([]).

loop(Squares) ->
    receive
        update ->
            increment_squares(Squares),
            erlang:send_after(?UPDATE_INTERVAL, self(), update),
            loop(Squares);
        {gs, canv, buttonpress, _, [1,X,Y|_]} ->
            NewSquare = gs:rectangle(canv, [
                {coords, [{X, Y}, {X+?SQUARE_SIZE, Y+?SQUARE_SIZE}]},
                {fill, random_color()},
                {data, random_velocity()}
            ]),
            loop([NewSquare|Squares]);
        {gs, _, destroy, _, _} ->
            erlang:halt();
        {gs, _, Type, _, _} ->
            io:format("Got ~w~n", [Type]),
            loop(Squares)
    end.

increment_squares([Square|Rest]) ->
    [{Left, Top}, {Right, Bottom}] = gs:read(Square, coords),
    {XVel, YVel} = gs:read(Square, data),
    if (Left =< 0) and (XVel =< 0) or
        (Right >= ?WINDOW_WIDTH) and (XVel >= 0) or
        (Top =< 0) and (YVel =< 0) or
        (Bottom >= ?WINDOW_HEIGHT) and (YVel >= 0) ->
            gs:config(Square, {data, random_velocity()});
        true -> false
    end,
    gs:config(Square, {move, gs:read(Square, data)}),
    increment_squares(Rest);
increment_squares(_) -> false.

random_velocity() ->
    {5*(random:uniform()-0.5), 5*(random:uniform()-0.5)}.

random_color() ->
    lists:nth(random:uniform(6), [red,yellow,green,blue,red,orange]).

Name: Xarn !Rmk.XarnE2!xGIX62dlJesBTK+ 2009-07-29 19:58

/* gcc file.c `allegro-config --libs` */

#include <stdlib.h>
#include <time.h>
#include <allegro.h>

#define WIDTH 1280
#define HEIGHT 800

#define SQUARE 10

#define FOREGROUND 255, 255, 255
#define BACKGROUND 0, 0, 0

typedef struct {
    int x;
    int y;
    int x_s;
    int y_s;
} square;

int main()
{
    int num_squares = 0, back, i;
    square *s = NULL;
    BITMAP *pad, *square;

    allegro_init();
    install_keyboard();
    install_mouse();
    install_timer();
   
    if (set_gfx_mode(GFX_AUTODETECT, WIDTH, HEIGHT, 0, 0) != 0)
        return 1;


    srand((unsigned int)time(NULL));

    pad = create_bitmap(WIDTH, HEIGHT);
    back = makecol(BACKGROUND);

    square = create_bitmap(SQUARE, SQUARE);
    clear_to_color(square, makecol(FOREGROUND));

    while (!keypressed()) {
        if (mouse_b & 1) {
            if (num_squares % 256 == 0)
                s = realloc(s, sizeof(square) * (num_squares + 256));

            s[num_squares].x = mouse_x;
            s[num_squares].y = mouse_y;
            s[num_squares].x_s = rand() % 64 - 50;
            s[num_squares].y_s = rand() % 64 - 50;

            ++num_squares;
        }

        clear_to_color(pad, back);

        for (i = 0; i < num_squares; ++i) {
            s[i].x += s[i].x_s;
            s[i].y += s[i].y_s;

            if (s[i].x <= 0) {
                s[i].x = 0;
                s[i].x_s *= -1;
            }
            if (s[i].x >= WIDTH - SQUARE) {
                s[i].x = WIDTH - SQUARE;
                s[i].x_s *= -1;
            }
            if (s[i].y <= 0) {
                s[i].y = 0;
                s[i].y_s *= -1;
            }
            if (s[i].y >= HEIGHT - SQUARE) {
                s[i].y = HEIGHT - SQUARE;
                s[i].y_s *= -1;
            }

            draw_sprite(pad, square, s[i].x, s[i].y);
        }

        show_mouse(pad);
        blit(pad, screen, 0, 0, 0, 0, WIDTH, HEIGHT);
        rest(30);

    }

    free(s);

    return 0;
   
} END_OF_MAIN()

Name: Anonymous 2009-07-29 20:05

I happen to be an EXPERT at this.
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import java.applet.*;
import java.util.*;
public class a extends Applet implements Runnable, MouseListener{
    int w,h;   
    public static final int BOX_SIZE=10,BOX_SPEED=10;
    ArrayList<double[]> boxes=new ArrayList<double[]>();
    BufferedImage buf; //for double buffering
    public void init(){
        w=getWidth();
        h=getHeight();       
        buf=new BufferedImage(w,h,BufferedImage.TYPE_3BYTE_BGR);
        addMouseListener(this);
        new Thread(this).start();       
    }
    public void paint(Graphics g){
        g.setColor(Color.black);
        g.fillRect(0, 0, w, h);
        g.setColor(Color.white);
        for(double[] box:boxes){
            box[0]+=box[2];
            box[1]+=box[3];
            if(box[0]<0||box[0]>w-BOX_SIZE) box[2]*=-1;
            if(box[1]<0||box[1]>h-BOX_SIZE) box[3]*=-1;
            g.fillRect((int)box[0], (int)box[1], BOX_SIZE, BOX_SIZE);
        }       
    }   
    public void run(){
        while(true){
            try{
                paint(buf.getGraphics());
                getGraphics().drawImage(buf, 0, 0, null);
                Thread.sleep(10);
            }catch(Exception e){}
        }
    }
    public void mouseClicked(MouseEvent e) {
        double[] box=new double[4];
        box[0]=e.getX();
        box[1]=e.getY();
        box[2]=(Math.random()-.5)*BOX_SPEED;
        box[3]=(Math.random()-.5)*BOX_SPEED;
        boxes.add(box);
    }
    public void mouseEntered(MouseEvent e){}public void mouseExited(MouseEvent e){}   
    public void mousePressed(MouseEvent e){}public void mouseReleased(MouseEvent e){}
}

Name: Anonymous 2009-07-29 20:25

>>124
The restriction specified in >>1 still applies.

Name: Anonymous 2009-07-29 21:42

>>125
Nicely done Xarn

Name: Anonymous 2009-07-29 21:45

>>127
Lets fuck that restriction. Everyone can program in whatever the fuck they want.

Name: Anonymous 2009-07-29 22:03

>>129
Excellent, I'll post my brainfuck solution in about a month

Name: Anonymous 2009-07-29 22:42

>>121
VERSION 0.0.1 RELEASED
4a5
#include <conio.h>
9c10
< HANDLE *hConsole;
---
HANDLE hConsole;
105c106
<         Sleep(1000);//32
---
        Sleep(32);

Name: Anonymous 2009-07-29 22:42

>>130
Brainfuck really isn't that hard to code in. The problem with wanting to draw stuff on the screen is that there's no way to interface with an OS.

Name: !Double-Shot-Of-Java 2009-07-29 22:56

Here comes your second course of delectable, enterprise quality deliciousness! I'll skip the source and let you dive right into the applet:

http://www.geocities.com/valkarse/bouncy.html

Bon appetit!

Name: Anonymous 2009-07-29 23:00

>>133
Not bad. You should show us the source though. I think this round is for any language.

Name: Anonymous 2009-07-29 23:02

>>133
I cant stop staring at it lol

Name: Anonymous 2009-07-29 23:04

>>133
You have a bug in the display, it only shows the first two numbers of the sprite amount i.e. 209 sprites would show 20

Name: !Double-Shot-Of-Java 2009-07-29 23:12

>>136
Hmm, I'll try to fix it, but the bug doesn't happen on my screen. What browser/resolution are you running?

Name: Anonymous 2009-07-29 23:20

>>136,137
Doesn't happen for me, either.
1280x1024

Name: !Double-Shot-Of-Java 2009-07-29 23:22

http://www.geocities.com/valkarse/bouncy2.html
Fixed. I just gave the display some more space. You might have to clear your cache and reload your browser to view the new version.

Name: Anonymous 2009-07-29 23:29

>>139
I like the uploading of submissions to websites! This should occur more often.

Name: Anonymous 2009-07-29 23:29

>>139 That solved it ;)
For what it's worth, Firefox 3.5.1 1024x768

Name: Anonymous 2009-07-29 23:45

>>139
Is his applet gonna hax my anus?

Name: Anonymous 2009-07-29 23:47

>>142
Yeah I'm a little afraid too... can someone virus scan it first?

Name: !Double-Shot-Of-Java 2009-07-29 23:50

>>142
>>143
It's an APPLET! You guys are noobs. ( ≖‿≖)

Name: Anonymous 2009-07-30 0:28

>>144

I think it's Javascript.  You've infected us all!

Name: Anonymous 2009-07-30 0:37

>>143
Perhaps you should switch to a real operating system.

Name: Anonymous 2009-07-30 1:49

Now which one of you guys is the sussman?

Name: Anonymous 2009-07-30 1:55

>>147
Xarn is.

Name: Anonymous 2009-07-30 4:34

OP here,
i declare >>56 the winner because all good programmers know not to try and reinvent the wheel.

Name: Anonymous 2009-07-30 4:36

>>149
STFU you are not the OP, numbnuts.

Name: Anonymous 2009-07-30 5:24

<html>
    <head>
        <style> * { margin: 0; padding: 0; } </style>
        <script type="text/javascript">
            function load() {
                var fps = 60;
                var boxWidth = 20;
                var boxHeight = 20;
                var speed = 750; //pixels per second
               
                var canvas = document.getElementById("canvas");
                var width = Math.max(document.documentElement["clientWidth"], document.body["scrollWidth"],
                                     document.documentElement["scrollWidth"],document.body["offsetWidth"],document.documentElement["offsetWidth"]);
                var height = Math.max(document.documentElement["clientHeight"], document.body["scrollHeight"],
                                      document.documentElement["scrollHeight"],document.body["offsetHeight"],document.documentElement["offsetHeight"]);
                canvas.width = width;
                canvas.height = height;
                var c = canvas.getContext("2d");
                var tspeed = speed / fps;
                var boxes = Array();
                setInterval(function() { draw(); }, 1000/fps);
                canvas.addEventListener("click", function(e) {
                    var direction = Math.random() * 2 * Math.PI;
                    var dx = tspeed * Math.cos(direction);
                    var dy = tspeed * Math.sin(direction);
                    boxes.push(new Box(e.pageX, e.pageY, dx, dy));
                }, true);
                function draw() {
                    c.fillStyle = "White";
                    c.fillRect(0, 0, width, height);
                    c.fillStyle = "rgb("+Math.floor(Math.random()*256)+","+Math.floor(Math.random()*256)+","+Math.floor(Math.random()*256)+")";
                    for(var i=0; i<boxes.length; i++) boxes[i].move();
                }
                var Box = function(x, y, dx, dy) {
                    this.x = x;
                    this.y = y;
                    this.dx = dx;
                    this.dy = dy;
                    this.move = function() {
                        if((x+boxWidth >= width && dx > 0) || (x < 0 && dx < 0)) dx = -dx;
                        if((y+boxHeight >= height && dy > 0) || (y < 0 && dy < 0)) dy = -dy;
                        x+=dx;
                        y+=dy;
                        c.fillRect(x, y, boxWidth, boxHeight);
                    }
                }
            }
        </script>
    </head>
    <body onload="load();">
        <canvas id="canvas"></canvas>
    </body>
</html>

Name: Anonymous 2009-07-30 6:04

>>150
The jerk store called; they ran out of you!

Name: Anonymous 2009-07-30 6:57

>>152
#Sudo suck my dick, jerkface!

Name: Anonymous 2009-07-30 7:37

>>152
In Soviet Russia, you run out of the jerk store!

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

>>154 In Soviet Slashdot such dumb jokes gain +2 Insightful.
 (I lost interest when it started parroting two-day old reddit stories and ramped up the slashvertisements volume).



_______________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
There's nothing in the world so demoralizing as money.

Name: Anonymous 2009-07-30 8:10

>>154
Goddamn, I lol'd.

Name: Anonymous 2009-07-30 8:38

Okay, this should work.  The squares don't "appear" where you click because I couldn't solve the equation ;_;  Add -lglut and -lGL when linking.  Compilation might be tricky.

#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glut.h>
#include <stdlib.h>
#include <string.h>

#define MAX_SQUARE 1024
static unsigned int square_count;
static struct {
    GLfloat data[16];
} square_data[MAX_SQUARE];

static GLint uniformTime;

static void
display()
{
    GLfloat t = glutGet(GLUT_ELAPSED_TIME) * 0.001f;
    glUniform1f(uniformTime, t);
    glClear(GL_COLOR_BUFFER_BIT);
    glVertexPointer(4, GL_FLOAT, 0, square_data);
    glDrawArrays(GL_QUADS, 0, square_count * 4);
    glutSwapBuffers();
}

static void
display_callback(int value)
{
    display();
    glutTimerFunc(16, display_callback, 0);
}

static void
square_add(int x, int y, int vx, int vy)
{
    if (square_count >= MAX_SQUARE)
        return;

    GLfloat data[16] = { x - 8, y - 8, vx, vy, x + 8, y - 8, vx, vy, x + 8, y + 8, vx, vy, x - 8, y + 8, vx, vy };
    memcpy(square_data[square_count++].data, data, sizeof(GLfloat) * 16);
}

static void
mouse(int button, int state, int x, int y)
{
    if (button == GLUT_LEFT_BUTTON && state == GLUT_DOWN) {
        square_add(x, y, (rand() % 400) - 200, (rand() % 400) - 200);
    } else if (button == GLUT_RIGHT_BUTTON && state == GLUT_UP) {
        unsigned int i;
        for (i = 0; i < MAX_SQUARE; ++i) {
            square_add(rand() % 640, rand() % 480, (rand() % 400) - 200, (rand() % 400) - 200);
        }
    }
}

static const char* vert =
    "#version 120\n"
    "const mat4 orthoMatrix = "
    "mat4(2.0 / 640.0, 0.0,          0.0, 0.0,"
         "0.0,         2.0 / -480.0, 0.0, 0.0,"
         "0.0,         0.0,         -1.0, 0.0,"
        "-1.0,         1.0,         -0.0, 1.0);\n"
    "uniform float t;\n"
    "const vec2 windowSize = vec2(640.0f, 480.0f);\n"
    "void main() {\n"
        "vec2 dist = gl_Vertex.xy + gl_Vertex.zw * t;\n"
        "ivec2 signs = ivec2(mod(dist / windowSize, 2));\n"
        "gl_Position = orthoMatrix * vec4((2 * signs - 1) * ((signs * windowSize) - mod(dist, windowSize)), 0.0f, 1.0f);\n"
    "}\n";

static const char* frag =
    "#version 120\n"
    "void main() {\n"
        "gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);\n"
    "}\n";

int
main(int argc, char* argv[])
{
    GLuint pr;
    GLuint sh;

    glutInit(&argc, argv);
    glutInitWindowSize(640, 480);
    glutInitDisplayMode(0);

    glutCreateWindow("/prog/");

    pr = glCreateProgram();

    sh = glCreateShader(GL_VERTEX_SHADER);
    glShaderSource(sh, 1, &vert, NULL);
    glCompileShader(sh);
    glAttachShader(pr, sh);

    sh = glCreateShader(GL_FRAGMENT_SHADER);
    glShaderSource(sh, 1, &frag, NULL);
    glCompileShader(sh);
    glAttachShader(pr, sh);

    glLinkProgram(pr);
    glUseProgram(pr);
    uniformTime = glGetUniformLocation(pr, "t");

    glEnableClientState(GL_VERTEX_ARRAY);

    glutDisplayFunc(display);
    glutMouseFunc(mouse);

    glutTimerFunc(16, display_callback, 0);

    glutMainLoop();

    return 0;
}

Name: Anonymous 2009-07-30 9:17

>>157
Oops, forgot I was going to use a VBO.  Also enabled double buffering to avoid flickering.
9,11d8
< static struct {
<     GLfloat data[16];
< } square_data[MAX_SQUARE];
21c18
<     glVertexPointer(4, GL_FLOAT, 0, square_data);
---
    glVertexPointer(4, GL_FLOAT, 0, NULL);
40c37
<     memcpy(square_data[square_count++].data, data, sizeof(GLfloat) * 16);
---
    glBufferSubData(GL_ARRAY_BUFFER, square_count++ * sizeof(GLfloat) * 16, sizeof(GLfloat) * 16, data);
81a79
    GLuint vbo;
85c83
<     glutInitDisplayMode(0);
---
    glutInitDisplayMode(GLUT_DOUBLE);
104a103,106
    glGenBuffers(1, &vbo);
    glBindBuffer(GL_ARRAY_BUFFER, vbo);
    glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * 16 * MAX_SQUARE, NULL, GL_STATIC_DRAW);

Name: Anonymous 2009-07-30 9:35

>>158
Protip: Use diff -u.

Name: Anonymous 2009-07-30 10:17

>>159
But then I'll have to come up with a file name ;_;

Name: Anonymous 2009-07-30 12:07

>>160
Enterprise_Square_Rendering_Shit.c

Name: Anonymous 2009-07-30 12:47

ed(1) to the rescue!
104a
    glGenBuffers(1, &vbo);
    glBindBuffer(GL_ARRAY_BUFFER, vbo);
    glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * 16 * MAX_SQUARE, NULL, GL_STATIC_DRAW);

.
85c
    glutInitDisplayMode(GLUT_DOUBLE);
.
81a
    GLuint vbo;
.
40c
    glBufferSubData(GL_ARRAY_BUFFER, square_count++ * sizeof(GLfloat) * 16, sizeof(GLfloat) * 16, data);
.
21c
    glVertexPointer(4, GL_FLOAT, 0, NULL);
.
9,11d

Name: Anonymous 2009-07-30 14:46

>>157-158,162
This is quality. Good on you!

Name: Anonymous 2009-07-30 15:30

>>104

There's actually a surprisingly lack of programs that do this.

Name: Anonymous 2009-07-30 15:56

>>164
This may surprise you, but I haven't written a program to do this.

Name: Anonymous 2009-08-02 10:56

Nobody won.  Time limit over.

Name: Anonymous 2009-08-02 12:26

>>166

Anonymous won, u god damned eejut!

Name: Anonymous 2009-08-02 15:14

>>162
Managed to figure out how to get the squares where I wanted them.  Now you can drag the mouse and it'll move in that direction at the speed you dragged.
44c
        t1 = glutGet(GLUT_ELAPSED_TIME) * 0.001f;
        x1 = x;
        y1 = y;
    } else if (button == GLUT_LEFT_BUTTON && state == GLUT_UP) {
        GLfloat t2 = glutGet(GLUT_ELAPSED_TIME) * 0.001f;
        int x2 = x;
        int y2 = y;
        int vx = (x2 - x1) / (t2 - t1);
        int vy = (y2 - y1) / (t2 - t1);
        int x0 = x1 - vx * t2;
        int y0 = y1 - vy * t2;
       
        square_add(x0, y0, vx, vy);
.
42a
    static GLfloat t1;
    static int x1, y1;
   
.

Name: Anonymous 2009-08-02 19:09

STOP SMOKING DOPE

Name: Anonymous 2009-08-03 4:37

WTF happened to OP? Who won challenge 2? Whats challenge 3?

Name: Anonymous 2009-08-03 5:01

>>157
Anonymous is the winner of challenge 2! C's incredible speed and efficiency delivered you to victory! Seriously dude, I'm impressed. Also, runner up goes to !Double-Shot-Of-Java for his self-hosted applet implementation.

FINAL CHALLENGE

Dick Tower

This challenge is simple: code a program that involves the infamous Dick Tower. Any language may be used, anything goes. The most awe inspiring, revolutionary program wins. NO HOLDS BARRED! Good luck!

Name: Anonymous 2009-08-03 5:12

>>171
Challenge ends at 4:00 PM Eastern Wednesday, August 5th.

Name: Anonymous 2009-08-03 6:03

What is a Dick Tower?

Name: Anonymous 2009-08-03 6:25

Name: Anonymous 2009-08-03 6:44

>>171
Go fuck yourself.

Name: Anonymous 2009-08-03 10:13

bump

Name: Anonymous 2009-08-03 14:32

#!/usr/bin/python2.5

dicks = ( u"(\uff00\u2256\u203f\u2256)"
        , u"( \u2256\u203f\u2256 )"
        , u"(\u2256\u203f\u2256\uff00)"
        , u"(\u203f\u2256   )"
        , u"(\u2256\uff00\uff00\uff00)"
        , u"(\uff00 \uff00\uff00 )"
        , u"(\uff00 \uff00\uff00 )"
        , u"(\uff00\uff00\uff00\u2256)"
        , u"( \uff00\u2256\u203f)"
        )

def prunt(n): print n
while True: map(prunt, dicks)


Eagerly awaiting the return of OP.

Name: Anonymous 2009-08-03 14:42

>>171
Uhh, is this real? Should I start programming this?

Name: Anonymous 2009-08-03 14:44

>>178
No it's not, there are still a few challenges to go before the final That is, however, the final challenge

Name: Anonymous 2009-08-03 15:06

>>171
Standing by for Double-Shot's applet.

Name: Anonymous 2009-08-03 15:24

>>178
Yes, real. At least a challenge I stand a chance in *grabs dead dof*

Name: Anonymous 2009-08-03 16:26

>>181
*grabs dead dof*
U MENA HASKAL

Name: Anonymous 2009-08-03 16:40

That doesn't look like a dick tower to me!

Just looks like gibbles

Name: Anonymous 2009-08-03 16:49

Dick tower is harder to implement than meets the eye. This is a worthy challenge indeed!

Name: Anonymous 2009-08-03 16:51

>>184
True, I tried and it didn't compile due to it's odd characters.

Name: Anonymous 2009-08-03 17:06

[john@haskal^o^:~] ghci
GHCi, version OLD http://www.haskell.org/ghc/  :yhbt for help
Loading package base ... linking ... done.
Prelude> putStrLn "( ≖‿≖)"
(V?V)
Prelude> :m System.IO.UTF8
Prelude System.IO.UTF8> System.IO.UTF8.putStrLn "( ≖‿≖)"
Loading package array-0.1.0.0 ... linking ... done.
Loading package bytestring-0.9.0.1 ... linking ... done.
Loading package utf8-stri*** Exception: stack overflow


mai dof is ded :(

Name: Anonymous 2009-08-03 17:42

And who do you think is at fault here ( ≖‿≖)?

Name: Anonymous 2009-08-03 22:34

>>179-187
This thread doesn't need your shit.

Name: Anonymous 2009-08-04 9:03

>>188
Oh, we'll see how you don't need it when this thread is ran over with U MENA HASKAL faggotry.

Name: Anonymous 2009-08-04 9:08

wait, wtf?
Snacks is a /prog/rider?

Name: Anonymous 2009-08-04 10:57

>>189
The semantics of your sentence doesn't parse.
I think your optimizations may not be safe for aliasing.

Name: UMH memesmith 2009-08-04 12:36

>>189
Tell me about it. If my meme was never used again it would still be too soon. I hope everone who posts it dies in a fire.

Name: Anonymous 2009-08-04 14:27

>>191
Are we having fun yet?

Name: Anonymous 2009-08-04 21:42

>>192
Make another one. U MENA HASKAL is getting old. I NEED NEW MATERIAL

Name: UMH memesmith 2009-08-04 22:53

>>194
SHUT
 UP 

Name: Anonymous 2009-08-05 0:12

>>194

U MENA I NEDE NEW MATERAL

Name: Anonymous 2009-08-05 0:42

>>195
Isnt it kinda a false promise to name yourself MEMESMITH and not make any more memes?

Name: UMH memesmith 2009-08-05 1:37

>>197
JUST
WAIT

Name: UMH memesmith!HowdoItrip 2009-08-05 1:46

>>198
Fuck you and stop stealing my name

Name: UMH memesmith 2009-08-05 1:55

You need to write moot an email and if he approves you he'll trip your IP.

Name: Anonymous 2009-08-05 2:49

UMH memesmith is tsundere for UMH.

Name: Anonymous 2009-08-05 15:00

One hour left for the CHALLENGE

Name: Anonymous 2009-08-05 16:02

It's too hard, I'm buckling under the pressure

Name: !Double-Shot-Of-Java 2009-08-05 16:26

Name: Anonymous 2009-08-05 16:28

>>204
More like, TROLL TOWER IYKWIM

Name: Anonymous 2009-08-05 16:29

>>204
The eyes don't render properly.

Name: Anonymous 2009-08-05 16:31

>>206
Java doesnt support 'render properly'.

Name: Anonymous 2009-08-05 17:22

>>207
U mena Haskal. At least Java can handle UNICODE>8.

Name: Anonymous 2009-08-05 21:16

>>204
DSOJ WINS AGAIN!~

Name: Anonymous 2009-08-06 0:07

fffffffffffffffffff

Name: Anonymous 2009-08-06 11:55

SOMEONE PLEASE REDO THIS THREAD PROPERLY!
SOMEONE PLEASE REDO THIS THREAD PROPERLY!
SOMEONE PLEASE REDO THIS THREAD PROPERLY!
SOMEONE PLEASE REDO THIS THREAD PROPERLY!
SOMEONE PLEASE REDO THIS THREAD PROPERLY!
SOMEONE PLEASE REDO THIS THREAD PROPERLY!
SOMEONE PLEASE REDO THIS THREAD PROPERLY!
SOMEONE PLEASE REDO THIS THREAD PROPERLY!

Plus OP really needs to be tripcoded.

Name: Anonymous 2009-08-06 12:13

>>211
Repeating a statement as a mean of emphasis? You're from /b/, aren't you? Please go back there.

Name: Sagey MacSagerson 2009-08-06 18:53

>>212
moral crusading in my 4chan?
how about you get the fuck back to SA or where ever you came from
this is 4chan and you are the cancer that is killing it
GTFO

Name: Anonymous 2009-08-06 18:59

>>213
the cancer that is killing it
You seem to be unfamiliar with the culture here. This isn't /b/.

Name: Anonymous 2009-08-06 19:08

How did all these morons end up in /prog/? My goodness.

Name: Anonymous 2009-08-06 19:22

Can mods redo this thread some how so we can enjoy it for its true

Name: Anonymous 2009-08-06 19:24

>>216
No mod gives a shit about /prog/, do you not remember how long it took them to clean out all the lounge shit last year?

Name: Anonymous 2009-08-06 19:27

>>217
Is correct.

>>214
Need to take the stick out of his ass

Name: Anonymous 2009-08-06 19:27

>>218
Why? I am not the stranger here.

Name: Anonymous 2009-08-06 19:31

Alas then you admit to having a stick up your ass. Unto the point of presuming to tell people how to act on the Internet?
How does that make you feel?
We're here to listen, but you have to open up first.
Tell me, when did you first start having these delusions about your importance to and in the world?

Name: Anonymous 2009-08-06 19:32

>>220
Huh. You really talk like Mr. Void. You sure you're not him?

Name: Anonymous 2009-08-06 19:34

Nope, not him but you may call me Anonymous.

Name: Anonymous 2009-08-06 19:40

>>220
>>222
Ill just call you douchebag.

Name: Anonymous 2009-08-06 19:50

Ah but you are Anonymous too. Seems when you point your finger at me there are three pointed back at you. That Mister Douchebag to you, Anon. And don't you forget it.

Name: Anonymous 2009-08-06 20:25

>>224
What are you, 11?

Name: Anonymous 2009-08-07 1:39

>>225
FV is a 12-year-old girl who hasn't even written her own ANSI C compiler.  And doesn't understand that she's just as retarded no matter what name she uses.

Name: Anonymous 2009-08-07 2:10

>>226
lol...

Name: Anonymous 2009-08-07 4:04

>>215
I think this particular wave of eternal september started when moot mentioned the 4chan add on in the global message.

Name: Anonymous 2009-08-07 6:28

eternal september
back to /u/ please

Name: Anonymous 2009-08-07 6:36

Name: Anonymous 2009-08-07 7:45

RickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollRickrollv

Name: Anonymous 2009-08-07 8:16

OKAY YOU FUQIN ANGERED AN EXPERT PROGRAMMER
GODFUCKIGNDAMN
FIRST OF ALL, YOU DONT FUQIN KNOW WHAT A MAN PAGE IS
SECONDLY, THIS IS /prog/ DO NOT DEMAND USEFUL ANSWERS THE WAY YOU WANT THEM TO BE
THIRDLY PROGRAMMING IS ALL ABOUT PHILOSOPHY AND ``ABSTRACT BULLSHITE'' THAT YOU WILL NEVER COMPREHEND
AND FUQIN LASTLY, FUCK OFF WITH YOUR BULLSHYT
EVERYTHING HAS ALREADY BEEN ANSWERED IN >>3,4,10

Name: Anonymous 2009-08-07 8:20

``At least one new post has been made to this topic. You may wish to review your post in light of this.''
Lol, xkcd forams.

Name: Anonymous 2009-08-07 11:26

>>231
SAGE

Name: Anonymous 2009-08-07 11:26

>>231
THIS

Name: Anonymous 2009-08-07 11:26

>>231
SHIT

Name: Anonymous 2009-08-07 19:25

ITT: Elitists get all butthurt when the great unwashed show up to the party.

Name: Anonymous 2009-08-16 1:47

Lain.

Name: Anonymous 2009-08-16 1:59

Lain.

Name: Anonymous 2009-08-16 2:30

Lain.

Name: Anonymous 2009-08-16 2:41

Lain.

Name: Anonymous 2009-08-16 2:55

Lain.

Name: Anonymous 2009-08-16 3:31

Lain.

Name: Anonymous 2009-08-16 4:07

Lain.

Name: Anonymous 2009-08-16 4:08

Lain.

Name: Anonymous 2009-08-16 4:10

Lain.

Name: Anonymous 2009-08-16 4:12

Lain.

Name: Anonymous 2009-08-16 4:15

Lain.

Name: Anonymous 2009-08-16 4:17

Lain.

Name: Anonymous 2009-08-16 4:35

Lain.

Name: Anonymous 2009-08-16 6:29

Lain.

Name: Anonymous 2009-08-26 22:17

I want another Code Off

Name: Anonymous 2009-08-26 22:18

>>252
Post a challenge then

Name: Anonymous 2009-08-26 22:23

>>252
DO IT!

Name: optimized quoter 2009-08-26 22:29

>>253,254
WELL THEN MAYBE I WILL!!!

But first I must think about it.

Name: Anonymous 2009-08-26 22:34

>>255
Just make sure you make a new thread. This one is old, tired and corrupted with faggotry.

Name: Anonymous 2009-08-27 3:42

>>256
LIKE U

Name: Anonymous 2009-08-27 11:15

>>257
NO U

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