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

HMA.py

Name: Anonymous 2010-08-13 3:56


#!/usr/bin/python
from random import randint
var = randint(1, 1000)

if (var < 500):
    print "Hax my anus!"
else:
    print "Hax my anus!"

Name: Anonymous 2010-08-13 4:32

Fuck off, ``faggot´´

Name: Anonymous 2010-08-13 4:46

>>2
Non-standard form detected.

Name: Anonymous 2010-08-13 9:27

Please do not remove Fouad's boilerplate from your citation.

Name: Anonymous 2010-08-13 14:35

VIP THREAD!!!

Name: VIPPER 2010-08-13 17:37

JEWS

Name: Anonymous 2010-08-13 17:38

#!/usr/bin/python
from random import randint
var = randint(1, 1000)

if (var < 500):
    print "Suck my dick, OP!"
else:
    print "Suck my dick, OP!"

Name: Anonymous 2010-08-13 17:39

>>7
No code tags. Get the fuck out!

Name: Anonymous 2010-08-13 19:01

#On the name of ALLAH and may the blessing and peace of Allah
#be upon the Messenger of Allah Mohamed Salla Allahu Aliahi Wassalam.
#Author : Fouad Teniou
#Date : 13/08/10
#version : 1.1
#!/usr/bin/env python
#This is a portable way to declare the language being used. In
#our case, it is Python, a language created by Guido van Rossum,
#a non-Muslim born in 1956, who holds a masters degree in
#mathematics.

"""
allah_is_great uses random numbers Mersenne Twister to decide
whether to output "Allah is Great" or to output it.
"""

from random import randint
var = randint(1, 1000)
#generates a random integer between 1 and 1000 using the
#Mersenne Twister, named after Marin Mersenne, a non-Muslim
#(but French) mathematician born in 1588.
#As a laureate of an international Baccalaureate of mathematics
#I am very familiar with his work.


if (var < 500):
    print "Allah is great"
    #Prints "Allah is great"
else:
    print "Allah is great"
    #Prints "Allah is great"

Name: Anonymous 2010-08-13 20:31

#!/usr/bin/python
from random import randint
var = randint(1, 1000)
i = 0

while i < var:
    print "Hax my anus!"
    i = i + 1

Name: Anonymous 2010-08-13 22:04

>>9
OP here, I lol'd.

Name: Anonymous 2010-08-13 22:13

#!/usr/bin/python
from random import randint
lol = randint(1, 6)
if (lol = 4):
    print "That ain't funny nigga"
else:
    print "HAHAHAHAHAHAHA"

Name: Anonymous 2010-08-14 3:06

Best thread on /prog/ right now.

Name: Anonymous 2010-08-14 4:21

>>13
That's really sad HAX MY ANUS.

Name: Anonymous 2010-08-14 5:30

if (1..1000).pick > 500 {
    say 'lol python'
} else {
    say 'lol python'
}

Name: Anonymous 2010-08-14 11:15

>>15
Okay what retarded language is that? Not even Java is bloated enough to have a .pick method to ranges/arrays!

Name: Anonymous 2010-08-14 11:21

Bloated? I'd say useful. Imagine how many lines in Java, Python or other shit you'll have to write for such a simple thing like:
@array.pick(3);
Combinations without repetitions. Still bloated to you?

And the language is possibly the last language you expected to ever appear.

Name: Anonymous 2010-08-14 12:30

>>17
Is it possibly Ruby? Because if it was, I'd hate to break to you that your favorite language is slow as FUCK.

Name: Anonymous 2010-08-14 13:46

No. Ruby is done as follows:

class Fixnum
  def is_less_than_500?
    self < 500
  end
end

unless rand(1000).is_less_than_500?
  puts "Chunky bacon ^_^"
else
  puts "Chunky bacon ^_^"
end

Name: Anonymous 2010-08-14 14:51

999)rand 500<["Hax my anus!".]=

Name: Anonymous 2010-08-14 15:13

v              
   >   v       
>#v?   v       
       "       
       s       
  >> "suna",,,,@
       n       
       a       
       "       
       ,       
       ,       
       ,       
       ,       
       @

Name: Anonymous 2010-08-14 19:16

>>18
No, but close. It's also slow as fuck at the moment. Want a tip? Ruby programmers are people who couldn't wait for _this_ to appear. The challenge is still here.

Name: Anonymous 2010-08-14 19:18

>>22
Perl 6?

Name: Anonymous 2010-08-14 23:17

>>22
HMAPL My Anus Programming Language?

Name: Anonymous 2010-08-15 0:17

#!/usr/bin/python
from random import randint
number = randint(1, 2)

if(number == 1):
   Print "
HAX MY ANUS"
else:
   Print "
HAX MY ANUS[code]"

Name: Anonymous 2010-08-15 0:18

>>25
You don't belong here.

Name: Anonymous 2010-08-15 0:21

<?php
$anus = rand(1, 1000);
if ($anus < 500) {
    print "HAX MY ANUS!";
} else {
    print "HAX MY ANUS!";
};
?>

Name: Anonymous 2010-08-15 0:27

#!/bin/lua
hax = math.random(1,1000);
if hax < 500 then
   print("HAX MY ANUS!");
else
   print("HAX MY ANUS!");
end

Name: Anonymous 2010-08-15 0:29

inb4 scheme and HASKAL versions

Name: Anonymous 2010-08-15 0:50

VIP THREAD!!!!!!!!!!!!!!!!!!!!!!!!!

Name: Anonymous 2010-08-15 1:04

#!/usr/bin/perl
use strict;
use warnings;

my $range = 1000;
my $penis = rand($range);

if ($penis < 500) {
    print "HAX MY ANUS!!!!!";
} else {
    print "HAX MY ANUS!!!!!";
};

Name: Anonymous 2010-08-15 4:12

>>29
U MENA PASCAL

Name: Anonymous 2010-08-15 4:55


#include <cstdlib>
#include <iostream>
using namespace std;

int main() {
    srand( time(NULL) );
    if( rand()%1000 < 499 ) {
        cout << "\x48\x61\x78\x20\x6d\x79\x20\x61\x6e\x75\x73\x21\x0a" << endl;
    } else {
        cout << "\xc2\xa1\x73\x6e\x75\xc9\x90\x20\xca\x8e\xc9\xaf\x20\x78\xc9\x90\xc9\xa5\x0a" << endl;
    }
    return 0;
}

Name: Anonymous 2010-08-15 5:53

>>33
Terrible!

Name: Anonymous 2010-08-15 9:35

>>21
Terrible!!

?v
"suna ym xah">:#,_@
 >"suna ym xah"^

Name: >>35 2010-08-15 9:37

Oh what the fuck, Shitchan.

Name: Anonymous 2010-08-15 14:37

I made this in my own language: Don't even try to compile it.

$dick = rand(1-1000);
if ($dick < 500) { print "HAX MY ANUS!!!" };
if ($dick > 500) { print "HAX MY ANUS!!!" };

Name: Anonymous 2010-08-15 15:55

>>23
Exactly

Yeah, I know Rakudo Star is slow. But it is. First make it right, then make it fast.

Name: Anonymous 2010-08-15 17:09

I started reading through the Perl 6 spec the other day, just to make fun of it, but it's not really as bad as I had hoped for.

It's the numero uno kitchen sink language, of course, but fixing that train wreck of special cased syntax goes a long way towards putting Perl on a level above its retarded little brother PHP, and its inbred syntax brother-in-law C++. It's almost like a real language, only slower and more bloated.

Name: Anonymous 2010-08-15 17:16

>>39
Is now possible to parse perl? http://www.perlmonks.org/?node_id=663393

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