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

Pages: 1-4041-

Homework

Name: Anonymous 2009-04-06 11:31

Output ``Sussman'' to a PNG file, using PHP. Typographic choices are up to each student.

Name: Anonymous 2009-04-06 11:32

PHP? the sussman would not approve

Name: Anonymous 2009-04-06 11:37

PHP is a Scheme dialect, right?

Name: Anonymous 2009-04-06 11:37


<?php
$img = imagecreatetruecolor(40, 12);
imagefill($img, 0, 0, imagecolorallocate($img, 255, 255, 255));
imagestring($img, 1, 3, 2, 'Sussman', imagecolorallocate($img, 0, 0, 0));
imagepng($img, 'cdr.png', 9);

Name: Anonymous 2009-04-06 11:38

Name: Anonymous 2009-04-06 15:24

<?php print "sussman"; ?> <- Screenshot, crop, save as png

Name: Anonymous 2009-04-06 15:33

File.open("sussman.png", "w"){|f| f.write("Sussman")}
# Please read the PNG in a text editor

Name: Anonymous 2009-04-06 19:58

>>7
<?php print "sussman"; ?> ← Screenshot, crop, save as png.
I have improved your miserable abortion of a post, but I'm afraid I haven't been able to salvage it completely.

Name: Anonymous 2009-04-06 20:50

<?php print "<span style='font-family: \"Comic Sans\";'>sussman</span>"; ?> ← Use the Adbuction! Firefox Extension to crop and save as PNG

Now we're getting somewhere!

Name: Anonymous 2009-04-07 2:49

<?php print "<span style='font-family: \"Lucida Grande\";'>sussman</span>"; ?>
 ↳ Press ⇧⌘4 to save a picture of the selected area as a Portable Network Graphics image.

Name: Anonymous 2009-04-07 4:13

it's ⌘⇧4 not ⇧⌘4, you FUCKING IDIOT!!!!!!!!!!!!!!

Name: Anonymous 2009-04-07 4:20

>>12
While that is a more natural way to say it, the standard display order is ⌃⌥⇧⌘.

Name: Anonymous 2009-04-07 4:29

It is ⇧⌘4.
http://img9.imageshack.us/img9/9232/picture1qrf.png

_________
Sent from my $5000 Mac Pro

Name: Anonymous 2009-04-07 6:43

>>14
HOLY FUCK I AM RAGING AT THAT IMAGE

Name: Anonymous 2009-04-07 9:41

>>15
YHBT

_______
Sent from my iPhone

Name: Anonymous 2009-04-07 13:45

<?php print "<span style='font-family: \"Zapfino\"; font-size: 4em;'>Sussman</span>"; ?>
↳ Press ⇧⌘4 to save a picture of the Safari window as a Portable Network Graphics image. Then, activate Exposé Desktop and open that file with Preview.app. Press ⌘K to crop it. Once it is done, you can save with ⌘S.

Name: Anonymous 2009-04-07 14:08

                      / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
                      |                    / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
                      |                    |                    / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
                      |                    |                    |           ∧_∧   / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
                      |                    |                    |           ( ´∀`) <   This is what foldrers
                      |                    |                    |         / LISP|   |  actually believe in
                      |                    |                    |        /       .|    \___________
                      |                    |                    |        / "⌒ヽ |.イ |
                      |                    |           ∧_∧   /    .__ |   .ノ | || |__
                      |                    |           ( ´∀`) <        ノく__つ∪∪   \
                      |                    |         / LIS |    \    _((_________\
                      |                    |        /       .|     |     ̄ ̄ヽつ ̄ ̄ ̄ ̄ ̄ ̄ | | ̄
                      |                    |        / "⌒ヽ |.イ |     |    ___________| |
                      |           ∧_∧   /    .__ |   .ノ | || |__  \    ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| |
                      |           ( ´∀`) <        ノく__つ∪∪   \    ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
                      |         / L I  |    \    _((_________\
                      |        /       .|     |     ̄ ̄ヽつ ̄ ̄ ̄ ̄ ̄ ̄ | | ̄
                      |        / "⌒ヽ |.イ |     |    ___________| |
             ∧_∧   /    .__ |   .ノ | || |__  \    ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| |
             ( ´∀`) <        ノく__つ∪∪   \    ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
           /  L |    \    _((_________\
          /       .|     |     ̄ ̄ヽつ ̄ ̄ ̄ ̄ ̄ ̄ | | ̄
          / "⌒ヽ |.イ |     |    ___________| |
      __ |   .ノ | || |__  \   ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| |
     .    ノく__つ∪∪   \     ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
      _((_________\
       ̄ ̄ヽつ ̄ ̄ ̄ ̄ ̄ ̄ | | ̄
      ___________| |
       ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| |

Name: Anonymous 2009-04-07 14:15

>>18
Ha ha!
foldl runs in constant space!

Name: Anonymous 2009-04-07 16:27

>>19
Prelude> foldl (+) 0 [1 .. 1000000]
*** Exception: stack overflow

Name: Anonymous 2009-04-07 16:35

>>17
That's not how ⇧⌘4 works.

Name: Haxus the Great 2009-04-07 17:19

Haxus the Great

Name: Haxus the Lesser 2009-04-07 17:36

Haxus the Lesser

Name: Haskell the Dog 2009-04-07 17:37

Haskell the Dog

Name: Anonymous 2009-04-07 17:46

Prelude> 1 + 1
*** Exception: stack overflow

Name: Anonymous 2009-04-07 18:08

.

Name: Anonymous 2009-04-07 20:54

PHP Haskell Programming language

Name: Anonymous 2009-04-08 0:06

>>20
Prelude> foldr (+) 0 [1 .. 1000000]
*** Exception: stack pointer monadic overflow

Name: Anonymous 2009-04-08 1:20

>>28
I am intrigued; please tell more.

Name: Anonymous 2009-04-08 3:11

>>30
Haskell on Heels

Name: Anonymous 2009-04-08 4:03

>>27
5/10, points lost for recommending GIMP instead of Preview.app

Name: Anonymous 2009-04-08 4:45

>>32
Personally, I would have gone with Xee.

Name: Anonymous 2009-04-08 7:06

>>33
Sup Dag. Release its next version already.

Name: Anonymous 2009-04-08 8:58

>>34
D
i
r
e
c
t
e
d

A
c
y
c
l
i
c
 
G
r
a
p
h
?

Name: Anonymous 2009-04-08 10:38

>>35
Just some guy who makes anonymous boards that don't support BBCODE

Name: Anonymous 2009-04-08 10:44

DILATED ACRYLIC GROUGH

Name: Anonymous 2009-04-08 15:53

>>20
Prelude> foldl (+) 0 [1 .. 1000000]
*** Exception: stack overflow
My dreams are shattered.
Is there a non-overflowing fold?

Name: Anonymous 2009-04-08 16:09

Prelude Data.List Anus.Haxing Anus.Haxing.Monad> foldl' (+) 0 [1 .. 1000000]
500000500000

Name: Anonymous 2009-04-08 18:16

Prelude> print "hello world"
*** Exception: stack overflow

Name: Anonymous 2009-04-08 18:29

% ghci +RTS -K100M
GHCi, version 6.10.1: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
ghci> foldl (+) 0 [1 .. 1000000]
500000500000
ghci>

Name: Anonymous 2009-04-08 19:43

>>41
Prelude> foldl (+) 0 [1 .. 1000000]
500000500000
(1.79 secs, 121818128 bytes)
Prelude> foldr (+) 0 [1 .. 1000000]
500000500000
(2.18 secs, 121271256 bytes)

foldr is superior.

Name: Anonymous 2009-04-08 20:49

>>42
Prelude> foldl (+) 0 [1 .. 1000000]
500000500000
([b]1.79[/b] secs, 121818128 bytes)
Prelude> foldr (+) 0 [1 .. 1000000]
500000500000
([b]2.18[/b] secs, 121271256 bytes)

foldl is superior.

Name: Anonymous 2009-04-08 20:52

>>43
BBCODE error, argument is invalid.

Name: Anonymous 2009-04-08 20:54

>>44
SAGE top post, sage is invalid.

Name: Anonymous 2009-04-08 20:58

>>45
ignorance of the purpose of sage detected, back to /b/, please.

Name: Anonymous 2009-04-08 21:19

>>46
YHBT. YHL. HAND.

Name: Anonymous 2009-04-08 21:21

>>47
back to /b/, please.

Name: Anonymous 2009-04-08 21:25

>>48
Did you even hear >>47? You should be HingAND right now.

Name: Anonymous 2009-04-08 21:41

>>49
see >>48.

Name: Anonymous 2009-04-08 21:46

<?php
  system("echo Sussman > sussman.PNG");
?>

Name: Anonymous 2009-04-08 22:05

>>45
You don't understand atomic operations.

Name: Anonymous 2009-04-09 7:44

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\user>ghci
GHCi, version 6.10.2: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Prelude> foldl (+) 0 [1..100000000]
<interactive>: out of memory

Name: Anonymous 2009-04-09 7:48

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\James>ghci
GHCi, version 6.10.1: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Prelude>

Name: Anonymous 2009-04-09 12:19

>>54
That makes no sense, Mr. Bond.

Name: Anonymous 2010-08-12 20:16

>>55
Shit, i lol'd

Name: ​​​​​​​​​​ 2010-10-25 18:28

Name: Anonymous 2010-12-17 1:18

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Name: Anonymous 2011-02-04 15:46

Name: Anonymous 2011-02-04 18:18


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