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

Pages: 1-

feel the love

Name: Anonymous 2007-07-29 10:11 ID:O+1BPlhV

I'm not feeling the love today, /prog/

I hope you have a happy day today.

that is all.

Name: Anonymous 2007-07-29 10:17 ID:Heaven

My boss wants me to write a light, secure fully functional httpd within a month and you tell ME to have a happy day? fuck you.

Name: Anonymous 2007-07-29 10:41 ID:H/z1eGNt

Fork lighttpd

Name: Anonymous 2007-07-29 10:48 ID:Heaven

Spoon apache

Name: Anonymous 2007-07-29 10:53 ID:H/z1eGNt

Knife IIS

Name: Anonymous 2007-07-29 11:18 ID:Libk65cZ

>>2
A fully complaint lightweight HTTP server is 5 lines of haskell

Name: Anonymous 2007-07-29 11:37 ID:jY9fBinH

>>2
USE PHP LOL: http://www.chabotc.nl/phpsocketdaemon/

Seriously though, what the fuck is wrong with your boss. Tell him why it's a pointless 'wheel re-invention' task. Inform him about lighttpd and Apache (if he knows about them, ask him why they are unnacceptable).

Name: Anonymous 2007-07-29 11:39 ID:Heaven

>>6
Look at >>7
It might be 5 lines of Haskell, but it's 3 lines of PHP

$daemon = new socketDaemon();
$server = $daemon->create_server('httpdServer','httpdServerClient',0,2001);
$daemon->process();

Name: Anonymous 2007-07-29 12:14 ID:Heaven

>>8
he said light-weight

Name: Anonymous 2007-07-29 12:58 ID:Heaven

>>9
Touché.

Name: Anonymous 2007-07-29 14:28 ID:t2avVSAJ

import BaseHTTPServer
import SimpleHTTPServer
httpd = BaseHTTPServer.HTTPServer(('', 8080), SimpleHTTPServer.SimpleHTTPRequestHandler)
httpd.serve_forever()


ONE WORD THE FORCED INDENTATION OF CODE

Name: Anonymous 2007-07-29 17:18 ID:kqppQscQ

>>6
Two lines of Python

import BaseHTTPServer, SimpleHTTPServer
BaseHTTPServer.HTTPServer(('', 8080), SimpleHTTPServer.SimpleHTTPRequestHandler).serve_forever()


                             __
               ---_ ...... _/_ -
              /  .      ./ .'*\ \
              : '         /__-'   \.
             /                      )
           _/                  >   .'
        /   .   .       _.-" /  .'
         \           __/"     /.'/|
          \ '--  .-" /      //' |\|    //`'''`'',
            \|..\ |/Oo.   //_ _ |/|   // PYTHON `.,
           .'    \:____.,/|_ _ _|\|  //',,,.'``.,,.'
         / _____  \___/.' | _ _ |/| //
         | / ||  \\---\|  \ _ _ \\\//
         ||  ||   \\  ||   \ _ _ \|\
         co  co    co co

Name: Anonymous 2007-07-29 17:32 ID:Heaven

One line of python. Thread over.

(lambda BaseHTTPServer, SimpleHTTPServer: BaseHTTPServer.HTTPServer(('', 8080), SimpleHTTPServer.SimpleHTTPRequestHandler).serve_forever())(__import__('BaseHTTPServer'), __import__('SimpleHTTPServer'))

Name: Anonymous 2007-07-29 17:44 ID:kqppQscQ

>>13
Without any forced indentation of code, too.

Name: Anonymous 2007-07-29 18:16 ID:Heaven

Several lines of C/C++.

Name: Anonymous 2007-07-29 18:28 ID:d7qd3ovv

Name: Anonymous 2007-07-29 18:49 ID:kqppQscQ

>>16
What the...

Name: Anonymous 2007-07-29 19:10 ID:Libk65cZ

>>16
This version includes:
* Documentation to show you how to build a Server-side Javascript program.
* Added security to prevent arbitrary file reads.

....oops

Name: Anonymous 2009-01-14 14:53

Troll detected.

Name: Trollbot9000 2009-07-01 8:01

Function multiplication32 n1 n2 return unsigned32 n1   return n1 0.

Name: Anonymous 2010-12-17 1:39

This post brought to you by the Gay Nigger Association of America

Name: Anonymous 2010-12-22 8:53

Name: Anonymous 2010-12-24 16:08

Name: Anonymous 2011-02-03 6:57

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