4chan memes the /prog/ way
1
Name:
Anonymous
2007-02-01 17:48
First: No, I don't give a shit what you think.
if(!TITS){
GTFO();
}
2
Name:
Anonymous
2007-02-01 17:50
printf("longcat is l");
for(i=1;i<LONGCAT_LENGHT;i++){
printf("o");
}
printf("ng\n");
3
Name:
Anonymous
2007-02-01 17:55
Do
IF Whale then
ManHarpoons = true
End IF
Loop
4
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);
}
?>
5
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 */
6
Name:
Anonymous
2007-02-01 18:01
furries = re.compile("furr(y|ies)")
if(re.search(furries, post['text']):
post['poster'].burn()
7
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
8
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) }
}
9
Name:
Anonymous
2007-02-01 18:42
>>4
<?php
$text = $_POST['text'];
if(stristr("Candlejack", $text){
$random = (ran
10
Name:
Anonymous
2007-02-01 18:43
ITT PEOPLE ACT LIKE FAGS
11
Name:
Anonymous
2007-02-01 22:53
perl -e 'sub desu { return "DESU " . desu(); } print desu();'
12
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
13
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!!!")
14
Name:
Anonymous
2007-02-02 5:49
int i;
int n = lastPost;
for(i = 1; i <= lastPost; i++) {
puts(">>%i", i);
}
puts("same person");
15
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.
16
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);
}
}
17
Name:
Anonymous
2007-02-02 7:21
18
Name:
Anonymous
2007-02-02 8:30
>>16
@echo off
echo "I lol'd!"
19
Name:
Anonymous
2007-02-02 9:06
if($name=="Mitchell")
{
echo "Make horsey noises, Mitchell!";
}
20
Name:
Anonymous
2007-02-02 9:19
>>16
print "a winrar is you"
21
Name:
Anonymous
2007-02-02 16:11
main=return()>>= \ _ ->mapM_ putStr(repeat "DESU ")
22
Name:
Anonymous
2007-02-02 16:17
>>21
That's a bit unnecessary.
main = (sequence_ (repeat (putStr "DESU ")))
23
Name:
Anonymous
2007-02-02 16:18
(sage)
>>22
I happen to like function composition :x
main = (sequence_ . repeat . putStr) "DESU "
24
Name:
Anonymous
2007-02-02 16:35
(sage)
25
Name:
Anonymous
2007-02-02 16:40
!u;
26
Name:
Anonymous
2007-02-02 16:42
TITS xor GTFO
27
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.
28
Name:
Anonymous
2007-02-02 18:37
>>27
$ is ugly and won't see any use in my programs.
29
Name:
Anonymous
2007-02-02 18:40
30
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
31
Name:
Anonymous
2007-02-02 21:16
>>30
Ever heard of
unwords
32
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();
}
}
33
Name:
Anonymous
2007-02-04 0:05
>>7
//EFFICIENT V& PROG 2.0
IF IS_CP(PIC) THEN CALL VAN
ELSE PRINT "Image uploaded!"
34
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 "):
}
35
Name:
Anonymous
2007-02-04 10:29
>>34
while True:
print 'DESU '
36
Name:
Anonymous
2007-02-04 12:01
>>35
# new version:
while True:
print 'DESU ',
37
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`
38
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");
39
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.
>>> :(
40
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
Newer Posts