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

Pages: 1-4041-8081-

4chan memes the /prog/ way

Name: Anonymous 2007-02-01 17:48

First: No, I don't give a shit what you think.

if(!TITS){
GTFO();
}

Name: Anonymous 2007-02-01 17:50

printf("longcat is l");
for(i=1;i<LONGCAT_LENGHT;i++){
   printf("o");
}
printf("ng\n");

Name: Anonymous 2007-02-01 17:55

Do
 IF Whale then
     ManHarpoons = true
 End IF
Loop

Name: Anonymous 2007-02-01 17:56

[code]
<?php
$text = $_POST['text'];
if(stristr("Candlejack", $text){
  $random = (rand()%len($text));
  $text = substr($text, 0, $random);
}
?>

Name: Anonymous 2007-02-01 18:00

>>2

/* longcat 2.0 */

printf("longcat is l");
while(true) printf("o");
printf("ng");    /* longcat is so long, it never reaches this part of the code */

Name: Anonymous 2007-02-01 18:01

furries = re.compile("furr(y|ies)")
if(re.search(furries, post['text']):
  post['poster'].burn()

Name: Anonymous 2007-02-01 18:11

Loop:
CALL Getpic
IF NoNudity(Pic) THEN GOTO Safe
IF Over18(Pic) THEN GOTO Safe
CALL PartyVan

Safe:
PRINT "Image uploaded!"
GOTO Loop

Name: Anonymous 2007-02-01 18:15


public static void main(String args[]) {
try {
int result = args[1] / args[2]
} catch( ArithmeticException e) {
System.err.println("OH SHI-" +e) }
}

Name: Anonymous 2007-02-01 18:42

>>4

<?php
$text = $_POST['text'];
if(stristr("Candlejack", $text){
  $random = (ran

Name: Anonymous 2007-02-01 18:43

ITT PEOPLE ACT LIKE FAGS

Name: Anonymous 2007-02-01 22:53

perl -e 'sub desu { return "DESU " . desu(); } print desu();'

Name: Anonymous 2007-02-02 1:25

  LDA #$0F
  STA 53280
  STA 53281
  LDA #$00
  STA 646
  LDA #>STRING
  STA $FB
  LDA #<STRING
  STA $FC
  LDY #0
LOOP
  LDA ($FB),Y
  BEQ EXIT
  JSR $FFD2
  INY
  JMP LOOP
EXIT
  JMP EXIT
STRING
  .DB 147
  .ASC "MySQL connection failure."
  .DB 0

Name: Anonymous 2007-02-02 5:41


for thread in threads:
  for post in posts:
    if post['image'] not in myImages:
      thread.reply("ZOMG TORRENT PLZ!!!")

Name: Anonymous 2007-02-02 5:49

int i;
int n = lastPost;

for(i = 1; i <= lastPost; i++) {
    puts(">>%i", i);
}

puts("same person");

Name: Anonymous 2007-02-02 7:01

>>14
Good, but don't use shitCase, use propercase or proper_case for variables, ProperCase for functions/methods/classes, and PROPERCASE or PROPER_CASE for constants.

Name: Anonymous 2007-02-02 7:19

VOID CheckPostForFurries(HANDLE hPost, DWORD fParam) {
    struct SEARCH_STRUCTURE srchSearch =
      {"furr",
       SRCHSTR_CASE_INSENSITIVE | SRCHSTR_UNANCHORED,
       NULL,
       NULL,
       NULL};
    int i = SearchWithinPosts(hPost, NULL, srchSearch, NULL, NULL, SRCHWP_COMPARE, NULL, NULL);
    if (i == SRCHWPRES_FOUND) {
        KillHandleAndHandleOwner(hPost, NULL, NULL, WITH_FIRE, 0);
    }
}

Name: Anonymous 2007-02-02 7:21

>>15
__no__(self)

Name: Anonymous 2007-02-02 8:30

>>16
@echo off
echo "I lol'd!"

Name: Anonymous 2007-02-02 9:06

if($name=="Mitchell")
{
echo "Make horsey noises, Mitchell!";
}

Name: Anonymous 2007-02-02 9:19

>>16
print "a winrar is you"

Name: Anonymous 2007-02-02 16:11

main=return()>>= \ _ ->mapM_ putStr(repeat "DESU ")

Name: Anonymous 2007-02-02 16:17

>>21
That's a bit unnecessary.
main = (sequence_ (repeat (putStr "DESU ")))

Name: Anonymous 2007-02-02 16:18 (sage)

>>22
I happen to like function composition :x
main = (sequence_ . repeat . putStr) "DESU "

Name: Anonymous 2007-02-02 16:35 (sage)

>>22
)))

Name: Anonymous 2007-02-02 16:40

!u;

Name: Anonymous 2007-02-02 16:42

TITS xor GTFO

Name: Anonymous 2007-02-02 18:33

>>22
>>23
What's with all the parens, are you trying to Lisp?
main = sequence_ . repeat . putStr $ "DESU "
Fix'd.

Name: Anonymous 2007-02-02 18:37

>>27
$ is ugly and won't see any use in my programs.

Name: Anonymous 2007-02-02 18:40

>>28
You are ignorant.

Name: Anonymous 2007-02-02 19:07

Those programs are good if you want infinitely many desus out on the terminal. However, if you're doing anything more complicated, chances are that you're going to just want a list of desus, out of which you can pick as many as you want.

desus = repeat "DESU"
delimit = (concat .) . intersperse

putStr $ delimit " " desus

Or, if you're into halting computations...

putStrLn $ delimit " " $ take 1000 desus

Name: Anonymous 2007-02-02 21:16

>>30
Ever heard of unwords

Name: Anonymous 2007-02-03 11:08

addEventListener(post, postEventListener);

void postEventListener(event){
  post = event.getPost();
  if(post.getNumber() == 20000000){
    post.setPicture('modgets/narutolookskindofcool.jpg', preserveThumbnail=TRUE);
    post.commit();
  }
}

Name: Anonymous 2007-02-04 0:05

>>7
//EFFICIENT V& PROG 2.0
IF IS_CP(PIC) THEN CALL VAN
ELSE PRINT "Image uploaded!"

Name: Anonymous 2007-02-04 0:06

>>30
java is superior, for infnite DESUs just put
for(int i = 0;;i++)
{
  System.out.println("DESU "):
}

Name: Anonymous 2007-02-04 10:29

>>34
while True:
    print 'DESU '

Name: Anonymous 2007-02-04 12:01

>>35
# new version:
while True:
    print 'DESU ',

Name: Anonymous 2007-02-04 12:43

echo "DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU" > desu
yes `desu`

Name: Anonymous 2007-02-04 16:57

>>34
0xFFFFFFFF + 1 = ?
Hint: In Java the answer is something you mustn't devide by.

while(true)
    Console.write("Desu");

Name: Anonymous 2007-02-04 18:39


>>> try:
...  1/0
... except ZeroDivisionError:
...  print 'This Python interpreter fails. 1/0 is infinite.'
...
This Python interpreter fails. 1/0 is infinite.
>>> :(

Name: Anonymous 2007-02-04 22:20

My first post...

.data
desu:
    .string "DESU "

.text
.global    _start
_start:
    movl    $4,    %eax
    movl    $1,    %ebx
    movl    $desu,    %ecx
    movl    $5,    %edx
    int    $0x80
    jmp    _start

Name: Anonymous 2007-02-05 0:38

void glutSolidSphere(GLdouble radius, GLint slices, GLint stacks);

draw() {
  glutSolidSphere(1.f, 16, orca);
}

Name: Anonymous 2007-02-05 9:18

>>40
Drop the shitsyntax, GNU hippy

Name: Anonymous 2007-02-05 15:17

>>42
that's GNU/shitsyntax!

Name: Anonymous 2007-02-06 7:25

>>39
while(JAVA>PYTHON)//WOOPS WOOPS WOOPS INFINITE LOOP
{
printf("PYTHON FAILED");
}

Name: Anonymous 2007-02-06 7:41

>>44
hahahahahaha LOL NICE

Name: Anonymous 2007-02-06 13:51

>>44
I tried it and nothing happened. wonder why's that?

Name: Anonymous 2007-02-06 19:26

>>46
Your computer is probably infected with the virus known as "Python".  The only way to fix it is to kill yourself.

Name: Anonymous 2007-02-07 0:13

>>44
fuckin right chap

Name: Anonymous 2007-02-07 0:39

All shit here could be done in basic/ruby with easymode syntax, why do it so bloody fancy?

Also, in before machine code meme, in machinecode.

Name: Anonymous 2007-02-07 1:29

time for a bit of perl:
TITS or GTFO

Name: Anonymous 2007-02-07 1:51

>>50
GTFO unless TITS

Name: Anonymous 2007-02-07 5:40

TITS ? MOAR : GTFO;

Name: Anonymous 2007-02-07 9:13

function f(f){
 return f(f)
}
f=f(function(){
  return f
 });
var l=f.length;
alert(f(function(f){
  return f
 })(function(x,y){
  return Math.pow(y,-x)
 })(l--,l));

Name: Anonymous 2007-02-07 17:13

>>15
I like to smoke camelCigarettes

Name: Anonymous 2007-02-07 17:16

>>40
lol linux syscall

Name: Anonymous 2007-02-07 18:27

>>54
That's shitCase, I should scold you.

CamelCase is the ProperCase.

Name: Anonymous 2007-02-07 18:32

>>56
you are a good man!

Name: Anonymous 2007-02-07 18:40 (sage)

>>56
no, UPPER_CASE is is the PROPER_CASE for constants, and lower_case is the proper_case for everything else.

Name: Anonymous 2007-02-07 21:27

+[>++++++++++[>+++++++<-]>--.[-]<
++++++++++[>+++++++<-]>-.[-]<
++++++++++[>++++++++<-]>+++.[-]<
++++++++++[>++++++++<-]>+++++.[-]<
++++++++[>++++<-]>.[-]<<]

Name: Anonymous 2007-02-08 3:34

proper_variable_case (alt. propercase for short stuff)
ProperFunctionCase, ProperClassCase, MethodsAreFunctions
PROPER_CONSTANT_CASE (alt. PROPERCASE for short stuff)

Name: Anonymous 2007-02-08 4:17

>>60
why should functions, classes, and methods be different from other variables?

Name: Anonymous 2007-02-08 4:59 (sage)

>>61
convention. it varies from language to language, though.

Name: Anonymous 2007-02-08 5:37

Forced conventions for the win (Haskell, starting functions with a capital is an error).

Name: Anonymous 2007-02-08 7:34

>>61
I'm >>60, and I sympathize with your question. It's convention, just so you know what's callable. I'll agree that differentiating an integer from a string (be it iStuff and lpszStuff (Hungarian notation shit) or stuff% and stuff$ (... OR GTFO)) is excessive, and shouldn't be necessary (if you call a "Rofl" method, you expect any object of any class that's stored in the variable should be able to do "Rofl"), but actually executing (even though it can be seen as a method as well, like Python) is "serious business". So I capitalize what's callable (classes, functions, even callable objects in Python), but I sympathize with your intent on treating functions absolutely the same as any other data type (and that code is a particular case of data, not something different).

>>63
You gave me just another reason not to bother with Haskell (besides insane syntax, needlessly complicated, small codebase/community made mostly from el33tist h4xx0rz). I follow my own ( >>60 ) conventions on any language; if I can't, I get pissed.

Name: Anonymous 2007-02-08 7:52

>>64
those are not conventions you follow, but your own obnoxious compulsions. python has pep 8, and if you can't follow it, you're being a dick to other people that will read your code. and believe me, your own naming style is not smarter than the official convention, and even if it was, you couldn't justify using it, because it's confusing when something else than a class is in camel case in python

Name: Anonymous 2007-02-08 8:03

>>64
besides insane syntax

Like what.

needlessly complicated

To do complicated things, you write complicated code -- or simple code that runs like crap.

small codebase

Are you referring to libraries and applications and such?  There are a lot.

community made mostly from el33tist h4xx0rz

Mostly professors, but a couple elite hackers as well.

I follow my own ( >>60 ) conventions on any language; if I can't, I get pissed.

Aha, a weak point!  Also, Haskell forces classes and modules to start with a capital, and possibly constants as well... now how do you define a constant?  Oh, like that.

Name: Anonymous 2007-02-08 22:32

>>59
+++[>+++[>++<-]<-]>>-[>++++>+++++>++<<<-]>>>--<<[.+.->--.++.>.<<]

Name: Anonymous 2007-02-09 2:06

>>66
Fuck you.  I can write simple code to do anything.  Check this out, this program runs Windows XP and it is very simple.

#include fake-boot-screen.h
#include bsod.h

int main() {
doBootScreen();
doBSOD(0x0000000A, 0x12345678, 0x12345678, 0x12345678, 0x12345678);
for(;;);
return -1;
}

Name: Anonymous 2007-02-09 3:47

One word, the forced indentation of code. Thread over.

Name: Anonymous 2007-02-09 4:58

>>68
I can't believe a Win32 API function would require no parameters, and the BSOD function wouldn't require security descriptor structures and such.

Name: Anonymous 2007-02-10 12:36

Dim Spongebob As Float

Name: Anonymous 2007-02-11 19:47

post = {"content" => "LOL, I'm a girl", "tits" => false}

puts(post["content"])
while not post["tits"]
puts("tits or gtfo!".upcase)
end

Name: fuck taht shit 2007-02-12 0:53

upgrade UPGRADE UPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE
UPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADEUPGRADE

Name: Anonymous 2007-02-12 1:59

>>70
Security descriptors?  In MY Win32 API?

Name: Anonymous 2007-02-12 2:04

>>74
Its more. Likely than you think. Thread over.

Name: Anonymous 2007-02-13 3:21

>>52
You win for use of the trinary operator!

Name: Anonymous 2007-02-13 8:37

def invader
 puts("I\'m in your program, killing your l00ps")
 return break
end

while true
 invader
end

Name: ee™ 2007-02-13 12:20

if(i==inurbase){
std::cout<<'LURNING UR SEKRETS';
}

Name: Anonymous 2007-02-13 20:02

int main()
{
return 16544;
}

BOO

Name: Anonymous 2007-02-13 20:21

       int main()
 {
             goto lol;
         while(1)
  {
     printf("Unreachable code");
          }
 lol :
      return 522523525;
                            }

One word, random indentation of the code. Thread over.

Name: Anonymous 2007-02-13 20:24

>>76
ternary, dipshit

Name: Anonymous 2007-08-03 13:42 ID:n+XIRWNa

while(in(base)) {
kill(doodz);
}

Name: Anonymous 2007-08-03 13:59 ID:cJtQSiuB

if (picture != goatse)
    4chan.post("MOAR");

Name: Anonymous 2007-08-03 14:01 ID:e2HdHpaW

echo str_replace("jailbait", "giant black cock", $post);

Name: Anonymous 2007-08-03 14:19 ID:Heaven

>>84
lol web programmers

Name: Anonymous 2007-08-03 14:34 ID:Heaven

>>84
Can't we at least declare /prog/ a PHP-free zone? gb2/massivefailure/ or /programmaticvomiting/ or somewhere else.

Name: Anonymous 2007-08-03 14:41 ID:Heaven

>>86
"Can't we at least declare /prog/ a PHP-free zone?"

lol shiichan

Name: Anonymous 2007-08-03 16:12 ID:Heaven

>>87
You got the hint, did you? Hopefully someone else does, too...

Name: Anonymous 2009-01-14 13:34

lol tripfags

Name: Trollbot9000 2009-07-01 9:15


first thing you plan on doing is  trying to do  it So here  it is enjoy  include stdio h  include iostream include?

Name: Anonymous 2010-06-20 20:39

[footnote]proof that all /prog/riders come from the image boards[/footnote]

Name: Anonymous 2010-06-20 21:49

>>90
Trollbot9000's still going? I don't remember seeing any recent posts by it.

Name: shortest joke in the thread 2010-06-20 21:51

PHP

Name: Anonymous 2010-06-20 21:54

Why did you drudge up this monstrosity of a thread, >>91? I am so unbelievably trolled right now.

Name: Anonymous 2010-06-20 22:20

>>94
Because he's an imageboard moron who can't accept that we're better than him.

Name: Anonymous 2010-06-20 22:26

I'm listening to some strict beats. It helps while >>91 destroys me.

Name: Anonymous 2010-06-21 8:21

#Python, 3.0
if thread.shit == 1:
    print ("LOL XDD, SO RANDOM OP")

Name: Anonymous 2010-06-21 8:29

>>97
>>> print thread.shit
98

Name: Anonymous 2010-06-21 12:04

>>97
Stop bumping it, you image board faggot.

Name: Anonymous 2010-06-21 14:11


Post p=null;
while( (p=getPost()) != null ){
   if(PostAnalyzer.analyze(p)==PostAnalyzer.SHIT_POST){
       if(Globals.board.equals("/b/"){
           p.reply("Go back to gai");
       }else if(Globals.board.equals("/prog/"){
           p.reply("Go back to /b/");
       }else{
           p.reply("Go back to "+Globals.getPlaceThatIsntHere());
       }
   }
}

Name: Anonymous 2010-06-21 14:35

>>21,22,23,30
Srsly gais... slrsly.

main = forever $ putStr "DESU "
Or:
main = putStr $ cycle "DESU "

Yes, I know they are 3 years old.

Name: Anonymous 2010-06-21 19:13

>>101
I like
main = putStr msg
    where msg = "DESU " ++ msg

even if it is a little longer.

Name: ​​​​​​​​​​ 2010-10-24 23:46

Name: Anonymous 2012-03-23 23:37

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

Name: Sgt.Kabu冧䰼kiman䮗 2012-05-28 22:13

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

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