Coding Challenge #3 - Write a Haiku~! (56)

1 Name: #!usr/bin/anon 05/02/20(Sun)05:21 ID:Heaven

ITT you can post in your favourite programming language your attempts at a Haiku. You can do it on ANYTHING, in ANY programming language (hint, OOL's work better).

My attempt:

$bad_code isin $my_work;
@time(to debug);
go_away(messy code);

Bonus points if your code executes cleanly.

7 Name: #!usr/bin/anon 2005-03-19 03:57 ID:l/5dVM/3

>>4 >>6
how do you pronounce those in the right number of syllables?

8 Post deleted by moderator.

9 Name: #!usr/bin/anon 2005-03-22 02:41 ID:li9YB1UK

>>7
4 is:
less then dash left bracket plus
plus dash less then dash
right bracket greater then period

If you think period is two syllables (not sure) use 'dot'

10 Name: Albright!LC/IWhc3yc 2005-03-22 10:15 ID:Heaven

"Period" is three syllables, but even with "dot" you still fail at meeting standard (English) 5-7-5 haiku form...

11 Name: #!usr/bin/anon 2005-03-22 21:24 ID:qZigqzqt

"eyes".scan /the_darkness/
catch( :in_the_wind ) { ?a.round; "breath" \
or "a".slice /of_moon/ }

12 Name: #!usr/bin/anon 2005-03-22 23:16 ID:OoWYS2cD

>>11

Bravo

13 Name: #!usr/bin/anon 2005-03-23 02:53 ID:li9YB1UK

I thought it was 7-5-7

14 Name: #!usr/bin/anon 2005-03-23 13:15 ID:x3QIWBXV

what's it like in chinese (cus they don't pronounce all of the ideograms the same)?

15 Name: #!usr/bin/anon 2005-03-24 10:55 ID:c7QrQSSK

16 Name: #!usr/bin/anon 2005-03-25 07:02 ID:Heaven

orz

17 Name: #!usr/bin/anon 2005-04-11 01:16 ID:Jm53KmCL

(defun fact (foo)
(if (<= 1 foo) 1

(* foo (fact (1- foo)))

"Defun fact 'takes' foo. If less-equal one foo, one. Times foo fact dec foo."

18 Name: #!usr/bin/anon 2005-04-11 01:17 ID:Jm53KmCL

>>17
Bad formatting, lose lose.

19 Name: jontce 2005-06-12 11:56 ID:OlZsT6N3

while($raining)
$i->stare('outside') .
'rain never stops';

20 Name: maxwell 2005-11-29 03:31 ID:+eYOpbw/

#include meInThis
public DiscussionBoard( "code" )
{
bump(this); return; //wins
}

21 Name: #!usr/bin/anon 2005-11-29 20:18 ID:XFUbCE0t

sfx(getSound(frog.jump(oldPond.water))) //FIXME clean up later - basho

22 Name: #!usr/bin/anon 2005-11-30 08:45 ID:Heaven

>>21
hah, win

23 Name: #!usr/bin/anon 2005-12-03 02:20 ID:Heaven

>>21
Absolute fuckwin.

24 Name: #!usr/bin/anon 2005-12-04 16:15 ID:XRFiqs9S

>>21
( ^^)// a winner is you!

25 Name: Slowest Turtle in the World 2005-12-07 01:43 ID:DH/megY1

to drawasnowflake
repeat 6 [forward 1 back 1 right 60]
end

26 Name: #!/usr/bin/anon 2006-01-31 23:35 ID:6owJE6bl

Haiku (PHP lamenezz style)

$i = fread("the paper");
$it = "good material";
$you = unset("my soul.txt");

Yes, unset sends nothing to you, but what, am I going to just be like " $you; "

by the way, fread should be pronounced "freed" and "my soul.txt" should be pronounced "my soul dot text".

27 Name: #!/usr/bin/anon 2006-02-01 15:39 ID:Heaven

>>26 fails
"eff read"
"tee ex tee"

28 Name: #!/usr/bin/anon 2006-02-02 04:40 ID:Heaven

>>26
is "=" supposed to be pronounced or not?

29 Name: #!/usr/bin/anon 2006-02-02 14:53 ID:Heaven

>>28
It looks like it is on some lines, and isn't on others, which is :x

30 Name: #!/usr/bin/anon 2006-02-10 02:58 ID:6owJE6bl

my bad on (>>26), I was taking too much of a poetic license, I guess.

31 Name: anonytub : 2006-03-01 20:09 ID:nCYvVgUr

SELECT name FROM cake
WHERE taste = 'Delicious'
AND cost = 'none'

it works if you pronounce equals :P

32 Name: #!/usr/bin/anonymous : 2006-03-02 09:23 ID:BbSSkwj8

def VIPPER(text_in):
for a in range(BIG_LIMIT):

text_in = input("w")

= is not pronounced. w is the pronounced the short way.

33 Name: #!/usr/bin/anonymous : 2006-03-02 09:27 ID:BbSSkwj8


def VIPPER(text_in):
for a in range(BIG_LIMIT):
text_in = input("w")


= is not pronounced. w is the pronounced the short way.
Seeing if using code html tag leaves in the whitespace needed for python code.

34 Name: #!/usr/bin/anonymous : 2006-03-02 09:53 ID:Heaven

def VIPPER(text_in):
for a in range(BIG_LIMIT):
text_in = input("w")

one more time

35 Name: #!/usr/bin/anonymous : 2006-03-02 10:51 ID:Heaven

> w is the pronounced the short way.

what way is that? the only way i know to pronounce it is 3 syllables...
unless you mean that stupid 4chan WRYYYYYYYYYYYYYYYYYY thing...

36 Name: #!/usr/bin/anonymous : 2006-03-03 03:29 ID:Heaven

There are two ways of saying english letters. The long way and the short way eg. short A in cat and long A in date. Short E in set and long E in seat.

37 Name: #!/usr/bin/anonymous : 2006-03-03 14:29 ID:Heaven

>>36
only works for vowels.

38 Name: #!/usr/bin/anonymous : 2006-03-03 15:03 ID:j7uta2Gn

> what way is that?

'wuh'

39 Name: #!/usr/bin/anonymous : 2006-03-05 17:36 ID:hB+0VpIk

i would have thought the shortway is 'dub' as in www 'dubdubdub'

'wuhwuhwuh' is funnier to say, though!

40 Name: #!/usr/bin/anonymous : 2006-05-25 14:42 ID:O4MpLWJT

@echo off to me
delete "my best intentions"
color me just a man

41 Name: #!/usr/bin/anonymous : 2006-05-26 09:16 ID:Heaven

last line is 6 syllables; so is the first if you read the "@", which you should, because it's there.

42 Name: #!/usr/bin/anonymous : 2006-07-24 11:23 ID:4FVyRpPh

def delete_windows():
print "it sucks, it is bad"
del self.windows_sucks

43 Name: #!/usr/bin/anonymous : 2006-07-24 11:24 ID:4FVyRpPh

2nd and 3rd lines should be indented BTW

44 Name: what : 2006-07-27 23:42 ID:EYRRnTR9

find $1 | grep -i mp3 | xargs vlc

(Scan the given path
for mp3s, then play them
using vlc)

45 Name: #!/usr/bin/anonymous : 2006-07-29 01:56 ID:PI3DXkNO

Taken from Medal of Honor: Allied Assault

void RUNTIME_ERROR(){
for(int *i;;i++){
*i=9;
}
}

Read it aloud

46 Name: #!/usr/bin/anonymous : 2006-07-29 02:37 ID:4FVyRpPh

rpm -qa | grep -i pygtk > pygtk

don't read non-alphabetic characters

47 Name: #!/usr/bin/anonymous : 2006-07-29 04:11 ID:Heaven

>>46
but you have to read them, because without them it's just "rpm qa grep i pygtk pygtk" which means nothing.

>>44
you know what you doing

48 Name: /dev/null : 2006-08-18 04:13 ID:/s/SMUeM

>>45
I would have to say that EA should take the win for #45 since THEY wrote that haiku...

49 Name: #!/usr/bin/anonymous : 2006-08-18 18:25 ID:rdG6nnWZ

factorial in javascript:

function fact(num)
{
if(num-1)
return(fact(num-1)
*num);return 1;
}

50 Name: #!/usr/bin/anonymous : 2006-08-29 18:25 ID:Heaven

All of these fail due to not being seasonal.

51 Name: #!/usr/bin/anonymous : 2006-09-06 22:01 ID:rdG6nnWZ

more javascript:

this;function that(may){
return('this;'+that+'alert(that());');
this;may;}alert(that());

52 Name: AWal : 2006-09-12 15:48 ID:rb56gFXx

COLOR 3,14
PRINT"I REALLY LIKE HAIKUS!"
PAUSE : CLS

5 co_lor_three_four_teen
7 print_I_rea_lly_like_hai_kus!
5 pause_colon_cls

FTW! I think...

53 Name: #!/usr/bin/anonymous : 2006-09-13 06:14 ID:tTnyghDM

$self->hate = 1; $deathwish = 1;
die("gun to head") if ($_ is "winter");
$spring if (Sakura::blossom());

54 Name: #!/usr/bin/anonymous : 2006-09-13 08:30 ID:Heaven

>>53
way too many syllables no matter how you read it.

55 Name: #!/usr/bin/anonymous : 2006-09-13 09:08 ID:Heaven

>>52
colon is two syllables

56 Name: #!/usr/bin/anonymous : 2006-09-16 14:49 ID:Heaven

>>55
cls = 'clear screen' maybe

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: