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-15 17:52

>>40
Yes, it has a specified grammar now.

Name: Anonymous 2010-08-15 18:17

>>39
retarded little brother PHP
I think you mean "rapechild." Even Perl4 stands far apart from that shit. It might be a different story if PHP had a completely different standard library and sane defaults for at least most of its features.

Name: Anonymous 2010-08-15 22:18

>>42
I think you mean "rapechild."
I think you mena mena.

Name: Anonymous 2010-08-15 22:45

BUMP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Name: Anonymous 2010-08-16 0:11

>>39
Rakudo on the current Parrot is hopelessly slow. The startup time reminds me of what it used to be like to run a Python program without the precompiled bytecode. The good news is that Parrot is being unfucked. I guess when you take a decade to get to this point, rewriting the VM and imcc isn't something you flinch at.

They've brought in a lot of things that just didn't fit in Perl 5. The type system in particular is finally sensible allowing you to constrain the DWIM semantics in a natural way, in fact a lot of changes seem to make it natural to subvert unintended DWIMmery. You can actually mean "do what I say." My biggest issue with Perl so far has been general abuse of numbers. I might start writing Perl again.

Name: Anonymous 2010-08-16 0:29

>>42
Everyone misunderstands PHP, and so do you.

Name: Anonymous 2010-08-16 10:45

#!/usr/bin/php
niggercock = rand(1, 1000);

if (niggercock < 500):
    print "HAX MY ANUS!!!!";
else:
    print "HAX MY ANUS!!!!";

Name: Anonymous 2010-08-16 13:07

OP, I found a bug in your code. There is only a 49.9% chance that it will print "Hax my anus!", and a 50.1% chance that it will print "Hax my anus!". I'm assuming that you meant for it to be 50-50?

Name: Anonymous 2010-08-16 15:33

>>45
Perl just feels like programming through oven gloves. So do other scripting languages, probably.

Name: Anonymous 2010-08-16 15:53

>>49
That depends on what you're doing, but for most of what I do these days I completely agree. Perl 6 is looking really nice though.

Name: Anonymous 2010-08-16 16:04

>>49
I have no idea what are you talking about. Could you elaborate a bit?

Name: Anonymous 2010-08-16 17:19

>>49
that sounds like you dont know how to program.

Name: Anonymous 2010-08-16 17:24

I have developed my own language.. The ANUS programming language. It can only do one thing, output hax my anus! using the random integer method.

Simply type $hax-anus; and it will run OP's code in python!! Amazing!

Name: Anonymous 2010-08-16 21:00

>>15
At least be interesting:
subset Heads of Num where { $_ >= .5 }
subset Tails of Num where { $_ < .5 }
given(rand) {
    when Heads { say "HMA" }
    when Tails { say "MHA" }
}

Name: Anonymous 2010-08-16 21:16

>>9
This one is the best.

Name: Anonymous 2010-08-17 5:21

>>9
#Date : 13/08/2010
Die, Gregorian infidel!

Name: Anonymous 2010-08-17 5:54

>>54
MAX HIGH ANUS
But right, this at least looks funny.

Name: Anonymous 2010-08-17 9:09

>>57
It was a typo I'm letting stand in for "[Ow] My haxed anus!"

Name: Anonymous 2010-08-17 9:20

(define eval (λ x "hax my anus"))
(define-syntax loop (syntax-rules () ((_ exp) (let loop () (begin exp (loop))))))
(define print displayln)
(loop (print (eval (read))))

Name: Anonymous 2010-08-17 10:16

>>58
You probably meant
multi sub infix:<hax>(Buttock $a, Buttock $b) {
    #Anus.new($a, $b).raep
    Anus.new($a, $b).hax
}

[hax] @buttocks;

Name: Anonymous 2010-08-17 10:26

displayln
( ≖‿≖)

Name: Anonymous 2010-08-17 14:32

>>60
Heh. That doesn't do any of the things I was going for, but it's still cute.

Name: Anonymous 2010-08-17 16:13


MODULE HMA;
   IMPORT Out;
  
   TYPE
      Anus* = RECORD
         Id-: ARRAY 32 OF CHAR;
      END;
  
   PROCEDURE (A: Anus) Hax*;
   BEGIN
      Out.String('My '); Out.String(A.Id); Out.String(" has been haxed"); Out.Ln;
   END Hax;
  
   PROCEDURE (A: Anus) Init*(Id: ARRAY OF CHAR);
   BEGIN
      A.Id := Id;
   END Init;
  
VAR
   MyAnus*: Anus; (* Export MyAnus *)
BEGIN
   MyAnus.Init("anus");
   MyAnus.Hax; (* Hax at load-time, just for good measure *)
END HMA.

Name: Anonymous 2010-08-17 18:32

ABBC has done a fine job coloring all of the Perl 6 code in this thread and that scares me. Would someone please produce a Perl 6 script that shiichan will shii all over, so I don't have nightmares?

Thanks.

Name: Anonymous 2010-08-17 19:01

>>64
ABBC? A Better BBCode Compiler? Or is that ABBBCC?

Name: Anonymous 2010-08-17 19:16

>>65
http://dis.4chan.org/abbc/

(Incidentally, 'no', and 'no'.)

Name: Anonymous 2010-08-17 23:15

>>64
ABBC does not deal with syntax highlighting.

Name: Anonymous 2010-08-18 0:52

>>67
Meh, it knows what code tags are and presumably has some opportunity to fuck it all up.

Name: ­ 2010-08-18 1:51

69 get again.  I am the worst person here.

Name: Anonymous 2010-08-30 1:43

#!/usr/bin/python
from random import choice
names = "HAX MY ANUS", "HAX MY ANUS", "HAX MY ANUS", "HAX MY ANUS"
echo = choice(names)
print echo

Name: Anonymous 2010-08-30 2:04

>>70
Really, just fuck off.

Name: Anonymous 2010-08-30 4:16

>>69
You will never 69-get IRL.

Name: Anonymous 2010-08-30 7:08

>>29
(if (< (random 1000) 500) "HAX MY ANUS" "HAX MY ANUS")



haxMyAnus :: [Char]
haxMyAnus = "HAY MY ANUS"

main = putStrLn haxMyAnus

(please notice the elegance and code reduction found in the haskell solution)

Name: Anonymous 2010-08-30 8:00

ITT EXPERT ENTERPRISE SOLUTIONS

Name: Anonymous 2010-08-30 8:35

>>74
And it only took you 73 posts to catch on!

Name: Anonymous 2010-08-30 16:08

>>73

HAY MY ANUS?

Name: Anonymous 2010-08-30 17:49

main = randomRIO (1, 1000) >>= putStrLn . flip (flip if' "U MENA HASKAL" . (<500)) "U MENA HASKAL"

In after HASKAL

Name: Anonymous 2010-08-30 19:47

>>73,76-77
Stop bumping your thread.

Name: Anonymous 2010-08-31 14:37

>>78
Hey asshole, I'm the OP.

>>1,27,28,31,70,76,79

These are all my posts.. Only 1 of them was in your list. And that was pointing out that some guy spelled HAX wrong. JERKFACE

Name: Anonymous 2010-08-31 14:41

>>79
NOW LISTEN HERE !!

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