Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

[ Create a new account ]

Design a Web Page in Under 5k

Posted by CmdrTaco on Fri Mar 03, 2000 10:56 AM
from the remember-when dept.
jhines sent us a nifty bit over at Wired about a Web design contest.. . the catch is the 5k maximum. The prize? 5120 cents ;) I won't enter: the best I could do was Slashdot's Light Mode.
This discussion has been archived. No new comments can be posted.
Design a Web Page in Under 5k | Log In/Create an Account | Top | 196 comments (Spill at 50!) | Index Only | Search Discussion
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1) | 2 | 3
  • Re:Tight coding contests in history by Anonymous Coward (Score:1) Friday March 03 2000, @10:53AM
  • Re:Tight coding contests in history by Anonymous Coward (Score:1) Friday March 03 2000, @08:13AM
  • No.1 reason not to use frontpage by Anonymous Coward (Score:1) Friday March 03 2000, @06:09AM
  • hahaha! by RatBastard (Score:1) Friday March 03 2000, @08:25AM
  • Re:OT: I want to see classic demos! by pb (Score:1) Friday March 03 2000, @10:40AM
  • Re:Flexing my brain by Jeff DeMaagd (Score:1) Friday March 03 2000, @07:11PM
  • Let me guess... by Derek Pomery (Score:1) Friday March 03 2000, @10:55AM
  • Re:Happy memories... by Evangelion (Score:1) Friday March 03 2000, @06:56AM
  • Re:Done by moonboy (Score:1) Friday March 03 2000, @10:46AM
  • A tight JavaScript Page by Skim123 (Score:1) Friday March 03 2000, @10:02AM
  • Re:ApostropheColon. by unitron (Score:1) Friday March 03 2000, @08:58AM
  • Re:5k web-browser by Ed Avis (Score:1) Sunday March 05 2000, @05:29AM
  • Well it's pretty damn easy then... by The OPTiCIAN (Score:1) Saturday March 04 2000, @07:50PM
  • I was thnking about something along these lines... by The OPTiCIAN (Score:1) Saturday March 04 2000, @08:07PM
  • Of course if I'd read the rules... by The OPTiCIAN (Score:1) Saturday March 04 2000, @08:08PM
  • Re:Tight coding contests in history by kenh (Score:1) Friday March 03 2000, @06:49AM
  • Re:Why not... by PureFiction (Score:1) Saturday March 04 2000, @05:43AM
  • Re:Flexing my brain by PureFiction (Score:1) Saturday March 04 2000, @06:14AM
  • Re:Done by PureFiction (Score:1) Saturday March 04 2000, @06:30AM
  • Re:5120 Bytes?? Yikes by 8Complex (Score:1) Friday March 03 2000, @09:11AM
  • Re:Content - formatting fluff = faster loading pag by phoneboy (Score:1) Friday March 03 2000, @11:20AM
  • Re:Content - formatting fluff = faster loading pag by phoneboy (Score:1) Friday March 03 2000, @08:54PM
  • webpage LZ compression with JavaScript by falser (Score:1) Saturday March 04 2000, @10:55AM
  • Re:Gzip-like Javascript Routine? Look Here! by falser (Score:1) Saturday March 04 2000, @10:59AM
  • Re:Excess font tags - inquiry by Greg Titus (Score:1) Friday March 03 2000, @10:46AM
  • OT: I want to see classic demos! by Serf (Score:1) Friday March 03 2000, @08:21AM
  • Re:Tight coding contests in history by RAruler (Score:1) Friday March 03 2000, @07:09AM
  • elegant equations by peter303 (Score:1) Friday March 03 2000, @08:14AM
  • Re:5120 Bytes?? Yikes by TyFoN (Score:1) Friday March 03 2000, @01:29PM
  • Re:5120 Bytes?? Yikes by Julius X (Score:1) Friday March 03 2000, @07:03AM
  • Re:5120 Bytes?? Yikes by Julius X (Score:1) Friday March 03 2000, @06:58PM
  • Re:5120 Bytes?? Yikes by Julius X (Score:1) Friday March 03 2000, @07:11AM
  • Re:You can do neat stuff with just text... by stx23 (Score:1) Friday March 03 2000, @06:38AM
  • Re:Use scripts by stx23 (Score:1) Friday March 03 2000, @06:21AM
  • Except by jawad (Score:1) Friday March 03 2000, @06:07AM
  • Re:5K... by mlc (Score:1) Friday March 03 2000, @09:53AM
  • Re:Tight coding contests in history by seizer (Score:1) Friday March 03 2000, @11:05AM
  • Re:Flexing my brain by CodeShark (Score:1) Friday March 03 2000, @08:42PM
  • Re:Flexing my brain by CodeShark (Score:1) Monday March 06 2000, @05:31AM
  • Re:Validation a big problem here by ottffssent (Score:1) Friday March 03 2000, @12:22PM
  • My entry by Bio (Score:1) Friday March 03 2000, @06:03AM
  • The page isn't really all that bad. by SeanNi (Score:1) Friday March 03 2000, @12:09PM
  • Re:Happy memories... by SeanNi (Score:1) Friday March 03 2000, @09:02AM
  • Re:5120 Bytes?? Yikes by QuMa (Score:1) Friday March 03 2000, @06:55AM
  • Re:5120 Bytes?? Yikes by QuMa (Score:1) Friday March 03 2000, @02:21PM
  • Re:Get hired! by QuMa (Score:1) Friday March 03 2000, @08:14AM
  • Re:Content - formatting fluff = faster loading pag by jslag (Score:1) Friday March 03 2000, @07:14PM
  • Offtopic but funny by gruntvald (Score:1) Friday March 03 2000, @11:10AM
  • GNU still stuck on jpegs? by gruntvald (Score:1) Friday March 03 2000, @11:13AM
  • Re:Excess font tags - inquiry by G-funk (Score:1) Friday March 03 2000, @12:57PM
  • Re:try /. in lynx! by Alkivar (Score:1) Friday March 03 2000, @10:34PM
  • Re:5K - C'mon..... by tlhIngan (Score:1) Friday March 03 2000, @07:10AM
  • Re:The contest rules don't make sense !!! by loom (Score:1) Friday March 03 2000, @10:52AM
  • The contest rules don't make sense !!! by loom (Score:1) Friday March 03 2000, @06:18AM
  • Re:You shouldn't be using font tags anyway... by funcused (Score:1) Friday March 03 2000, @10:43AM
  • Proposal by Craig Davison (Score:1) Friday March 03 2000, @05:07PM
  • Re:5120 Bytes?? Yikes by Narcischizm (Score:1) Friday March 03 2000, @11:29AM
  • Re:The contest rules don't make sense !!! by Enoch Root (Score:1) Friday March 03 2000, @06:28AM
  • Why not... by TrevorB (Score:1) Friday March 03 2000, @11:53AM
  • Re:Use scripts by BorgDrone (Score:1) Friday March 03 2000, @06:46AM
  • whitespace by GerritHoll (Score:1) Friday March 03 2000, @11:28PM
  • Re:5120 Bytes?? Yikes by Kanasta (Score:1) Saturday March 04 2000, @12:31AM
  • try /. in lynx! by anonymous cowerd (Score:1) Friday March 03 2000, @01:40PM
  • Re:Get hired! by jagne (Score:1) Friday March 03 2000, @12:57PM
  • Re:Tight coding contests in history by neonstz (Score:1) Saturday March 04 2000, @03:41AM
  • Re:Tight coding contests in history by neonstz (Score:1) Saturday March 04 2000, @03:26PM
  • Gzip-like Javascript Routine? by DataGrok (Score:1) Friday March 03 2000, @07:00PM
  • Re:Flash! by kootch (Score:1) Friday March 03 2000, @06:26AM
  • Re:Flash! by kootch (Score:1) Friday March 03 2000, @06:04AM
  • Re:Use scripts by kootch (Score:1) Friday March 03 2000, @06:07AM
  • it's a great idea by kootch (Score:1) Friday March 03 2000, @06:24AM
  • include directives by Dios (Score:1) Friday March 03 2000, @08:25AM
  • A long time ago... by Dinosaur Neil (Score:1) Friday March 03 2000, @01:08PM
  • Re:Small programs by B1 (Score:1) Friday March 03 2000, @07:43AM
  • The next step... by MasterMnd (Score:1) Friday March 03 2000, @07:24AM
  • Re:Tight coding contests in history by WD (Score:1) Friday March 03 2000, @06:58AM
  • My Page... by pseudo674 (Score:1) Friday March 03 2000, @11:27AM
  • Re:Use scripts by benjamin_scarlet (Score:1) Friday March 03 2000, @06:08AM
  • A Place For Inspiration by benenglish (Score:1) Friday March 03 2000, @07:05AM
  • Re:Get hired! by ahaning (Score:1) Friday March 03 2000, @11:02AM
  • Re:Tight coding contests in history by swordgeek (Score:1) Friday March 03 2000, @07:06AM
  • Re:Question of proper code by biohazard99 (Score:1) Friday March 03 2000, @11:32AM
  • Re:5k web-browser by bnolan (Score:1) Friday March 03 2000, @11:54AM
  • Re:Content - formatting fluff = faster loading pag by Gregoyle (Score:1) Saturday March 04 2000, @07:09AM
  • Hmmn.. by jallen02 (Score:1) Friday March 03 2000, @07:18AM
  • Re:Hmmn.. by jallen02 (Score:1) Friday March 03 2000, @07:39AM
  • What about a "Readable Websites"-contest? by Mekanix (Score:1) Friday March 03 2000, @06:42AM
  • Flash! by DavidpFitz (Score:1) Friday March 03 2000, @06:00AM
  • Re:Flash! by DavidpFitz (Score:1) Friday March 03 2000, @06:50AM
  • Re:Flash! by DavidpFitz (Score:1) Friday March 03 2000, @06:09AM
  • Re:Validation a small problem here by SkulkCU (Score:1) Friday March 03 2000, @01:13PM
  • Re:5120 Bytes?? Yikes by Arcanix (Score:1) Friday March 03 2000, @01:19PM
  • This comment is under 5k by hikari (Score:1) Friday March 03 2000, @08:07AM
  • 5K - C'mon..... by tubs (Score:1) Friday March 03 2000, @06:36AM
  • You should if NS3 is your audience by Spiff28 (Score:1) Friday March 03 2000, @10:59AM
  • Re:The contest rules don't make sense !!! by ZikZak (Score:1) Friday March 03 2000, @06:44AM
  • Re:Done by ZikZak (Score:1) Friday March 03 2000, @06:48AM
  • Re:I nominate... Transmeta by teus (Score:1) Friday March 03 2000, @07:29AM
  • Remember the Beagle Bros.? by mmaddox (Score:1) Friday March 03 2000, @07:26AM
  • Re:yakada yakada by summdood (Score:1) Friday March 03 2000, @06:09AM
  • Re: compression (was: Use scripts) by chasec (Score:1) Friday March 03 2000, @06:30PM
  • You can do neat stuff with just text... by C@ptCaveman (Score:1) Friday March 03 2000, @06:08AM
  • Code Contest by Spider-X (Score:1) Friday March 03 2000, @12:38PM
  • Done by Anonymous Coward (Score:2) Friday March 03 2000, @06:17AM
  • Happy memories... by slim (Score:2) Friday March 03 2000, @06:36AM
  • I'm down at the 2.5 K mark by Chas (Score:2) Friday March 03 2000, @08:57AM
  • Too Bad About Server-Side by waldoj (Score:2) Friday March 03 2000, @07:23AM
  • 5K, no problem... by kenh (Score:2) Friday March 03 2000, @06:34AM
  • That made MY day by ch-chuck (Score:2) Friday March 03 2000, @09:17AM
  • I think this is great by trance9 (Score:2) Friday March 03 2000, @08:16AM
  • Do WAP pages count? by K. (Score:2) Friday March 03 2000, @07:30AM
  • Re:Excess font tags - inquiry by TrentC (Score:2) Friday March 03 2000, @10:39AM
  • Re:Content - formatting fluff = faster loading pag by Cycon (Score:2) Friday March 03 2000, @08:46AM
  • Re:Small programs by SoftwareJanitor (Score:2) Friday March 03 2000, @09:48AM
  • Word? by Pope (Score:2) Friday March 03 2000, @08:41AM
  • CBM token by Pope (Score:2) Friday March 03 2000, @08:44AM
  • There were 2 pre-announcment TM pages by SeanNi (Score:2) Friday March 03 2000, @07:50AM
  • Re:Interestin by Xenu (Score:2) Friday March 03 2000, @06:24AM
  • Re:Excess font tags - inquiry by stab (Score:2) Friday March 03 2000, @06:42AM
  • Re:You should if NS3 is your audience by extrasolar (Score:2) Friday March 03 2000, @01:19PM
  • Re:GNU still stuck on jpegs? by extrasolar (Score:2) Friday March 03 2000, @01:29PM
  • Not that anyone cares, but by DonkPunch (Score:2) Friday March 03 2000, @06:45AM
  • Re:5120 Bytes?? Yikes by Kyrrin (Score:2) Friday March 03 2000, @06:55AM
  • Re:5120 Bytes?? Yikes by gorilla (Score:2) Friday March 03 2000, @11:03AM
  • Re:5120 Bytes?? Yikes by costas (Score:2) Friday March 03 2000, @09:54AM
  • A sure winner by chazR (Score:2) Friday March 03 2000, @08:28AM
  • 5K... by Cyn (Score:2) Friday March 03 2000, @06:12AM
  • Excess font tags - inquiry by British (Score:2) Friday March 03 2000, @06:30AM
  • Re:Use scripts by PurpleBob (Score:2) Friday March 03 2000, @05:28PM
  • Small programs by ucblockhead (Score:2) Friday March 03 2000, @06:38AM
  • Re:OPEN SOUCE WEB PAGE DESIGN by FauxPasIII (Score:2) Friday March 03 2000, @06:27AM
  • My entry by Money__ (Score:2) Friday March 03 2000, @05:10PM
  • Re:You should if NS3 is your audience by ChristTrekker (Score:2) Friday March 03 2000, @01:41PM
  • Excellent Jon Katz parody by spiralx (Score:2) Friday March 03 2000, @07:14AM
  • Get hired! by ahaning (Score:2) Friday March 03 2000, @06:38AM
  • Re:Tight coding contests in history by swordgeek (Score:2) Friday March 03 2000, @07:03AM
  • Re:My entry by swordgeek (Score:2) Friday March 03 2000, @07:05PM
  • don't use frontpage by xDroid (Score:2) Friday March 03 2000, @06:58AM
  • Re:Flash! by _Swank (Score:2) Friday March 03 2000, @09:04AM
  • Re:Done by 348 (Score:2) Friday March 03 2000, @06:55AM
  • Reminds me... by Yaruar (Score:2) Friday March 03 2000, @06:19AM
  • Re:I nominate... Transmeta by Anomalous Canard (Score:2) Friday March 03 2000, @07:46AM
  • M$ Plans own contest by sandidge (Score:2) Friday March 03 2000, @11:33AM
  • Re:5K - C'mon..... by ZikZak (Score:2) Friday March 03 2000, @07:02AM
  • by MenTaLguY (5483) on Friday March 03 2000, @06:51AM (#1227972) Homepage

    CSS allows you to specify all of the font styles for the elements of the document in ONE place. Want your H1s to be in "BastardWeird"?

    <STYLE TYPE="text/css">

    <!--
    H1 { font-family: BastardWeird; }
    // -->
    </STYLE>

    ... this once, at the top of the file (the HTML comments are optional -- just there to prevent the CSS code from showing up in non-CSS browsers), instead of having:

    <FONT FACE="BastardWeird">...&lt/FONT>

    ... around every single H1 in the document. That's a savings of about 39 bytes PER H1, after an initial cost of about 70 bytes. Maybe H1 is a bad example (it doesn't get used more than once or twice in a document usually), but this extends to other tags too, and not just to fonts. CSS also replaces FONT COLOR and a lot of other things that before needed to be coded multiple times into the same HTML document.

    This is an even bigger win when you use a single, central css file (referenced via LINK REL=stylesheet), rather than coding CSS into every document. Maintainence also magically becomes easier. Want to change your whole site's look? Edit one file.

  • Use scripts (Score:3)

    by Ed Avis (5917) <ed@membled.com> on Friday March 03 2000, @06:03AM (#1227973) Homepage

    Couldn't you just use a small bit of JavaScript to pull the whole page from somewhere else?

    Alternatively, you could use PerlScript [activestate.com] and write the whole page in obfuscated Perl.

    Now all we need is a web browser in under 5Kbyte.

  • by A nonymous Coward (7548) on Friday March 03 2000, @07:08AM (#1227974)
    Friend and I had a contest on an IBM 1620 Mod I, who could get the fanciest program on one card. I overlapped instructions and data. 120 or so digits (decimal machine), self loading of course. It typed "THIMK" over and over again. The M was because that was the halt instuction; N was useless. One sense switch made it go faster, one made it stop.

    --
  • Re:Small programs (Score:3)

    by Pope (17780) on Friday March 03 2000, @07:13AM (#1227975) Homepage
    One of the best tricks on the VIC-20 and C-64 (and I assume any other CBM BASIC machine) was that to save memory when typing in your programs you could use the Tokenized equivalents. eg. for GOTO you typed "G shift-O" which resulted in one of the keyboard graphics shapes, but when LISTed transformed into GOTO.
    You could save memory and more importantly keystrokes doing this! G shift-O took 2 bytes where GOTO takes 4, etc.
    I had a blackjack program in BASIC that was around 3.5K. if you tried to modify it using straight BASIC commands, you got "Out Of Memory" errors, but if you used the Tokenized shorthand, you could debug and change the code.
    Pretty cool!

    Pope
  • Cunning Plan (Score:3)

    by stab (26928) on Friday March 03 2000, @06:25AM (#1227976) Homepage
    Heh, why not try to use one of the HTML compression tools which have a short javascript header which unpacks html on the fly? Problem is finding a small enough bit of "header JS", but it might be a cool way to get around the 5k limit while sticking to it.

    Look at this freshmeat entry for AlgART HTML Picker [freshmeat.net] to see what I mean :)
  • Compressed HTML (Score:3)

    by jonathanclark (29656) on Friday March 03 2000, @10:46AM (#1227977) Homepage
    Most HTML can be compressed pretty well by removing comments, unneeded meta tags, and spaces/new lines that have no contribution to the final page. This program [jitit.com] will automatically compress html files for you. When I ran it on /. I can sometimes get a 50% compresssion ratio (not including graphics).

  • by phrawzty (94423) on Friday March 03 2000, @07:28AM (#1227978) Journal
    My favourite bite-sized (haha) challenge would have to be the "chip tune" competitions. The idea was simple - create a ".mod" (.s3m, .it, etc..) song under 4k, including samples, pattern lists, etc..
    Perhaps even more amazing, from a technical standpoint, were the 4k "demo" competitions. Apparently, these are still reasonably popular. The idea here is to create a graphically pleasing demo in 4k or less (go asm!).
    The 64k limit was (is) a popular barrier for graphical demos too, with an absolutly incredible amount of power crammed into each and every byte.
    For fun, check out the following URLs:

    The Hornet Archive [hornet.org] - While no longer "active", there are still a lot of resources available. Search for "64k" (while you still can!).
    Future Crew's "Second Reality" [extremezone.com] - One of the definitive demos of all time.
    Distance'99 [neutralzone.org] - a recent competition covering many types of demos. Both amiga and PC 4k and 64k bundles of joy are available. :)

    .------------ - - -
    | big bad mr. frosty
    `------------ - - -
  • I remember how people used to write really small, really fast assembly code because, quite frankly, the hardware didn't allow for you to be wasteful. Memory and processing power was a precious resource. Programmers tried to squeeze every last ounce of memory and processing power out of a computer. And we *liked* it, damn it! ;-)

    Obviously, in the days of cheap memory, processing power, and Microsoft, bloatware is the norm instead of the exception.

    I pretty much stay away from just about every advancement that has taken place in HTML and it's bretheren since the IMG tag and tables. The reason: I want the most number of people to be able to make use of my web pages. Just by leaving out a lot of the advanced features, you can reduce the web page to little more than the actual text. Okay, it's not "pretty," but it loads really fast even over a modem connection (actual text compresses on modem connections).

    I may have "big" pages but that's because they are heavy on actual content and light on fluff.

    -- PhoneBoy
  • I nominate... (Score:4)

    by jabber (13196) on Friday March 03 2000, @06:07AM (#1227980) Homepage
    The 'pre-announcement' (date 1/19/00) Transmeta site.

    It attracted a HUGE amount of attention, and weighed in at what??? 100 bytes?

    Just how big is "This page is not here yet." wrapped in the minimal obligatory HTML tags?
  • 5120 Bytes?? Yikes (Score:4)

    by Julius X (14690) on Friday March 03 2000, @06:09AM (#1227981) Homepage
    5k is not a lot of space to do anything useful in....for any amount of text, it usually comes out more than that.

    But....it can be done. My home page weighs in at 3199 bytes, and that's with graphics! The only thing is, they propose that most web pages should be small, similar to this, but most useful pages that have more than two or three paragraphs on them will swell to 10 or 20k, and that's without using any kinds of graphics.

    50k for a web page is great, and having alternate slimmed-down versions for new wireless and lo-bandwidth devices is a good thing, but not all web pages should be 10-20k. You'd never get any useful information(above all--you would NEVER get to read Slashdot--the lite page was 40+kb!).

    But in any case, looks like a good thing to try, similar to the 4096kb democompos that I think they still have at the demo parties in Europe.

    -Julius X
  • by Skinka (15767) on Friday March 03 2000, @09:39AM (#1227982)
    If people want see tight code in action, I'd recommend a 4k PC intro called mesha [scene.org]. It really is excatly 4096 bytes, but is has something like two minutes of 3D graphics, textures and everything. I'm not a big follower of the demoscene, so there might be stuff that is better than this one, but this really blew me away when I saw it. It runs in DOS. The 10KB zip actually has two versions of the same program!
  • Flexing my brain (Score:4)

    by CodeShark (17400) <ellsworthpc@@@yahoo...com> on Friday March 03 2000, @07:07AM (#1227983) Homepage
    'Bout time somebody did this. Be warned -- I plan on winning --not because I'll get picked as the best entry, but because it will give my design skills a challenge.

    So if I don't get the $50 bucks, why do I consider this a win? Well, once a person catches on to some of the better techniques, it's relatively easy to write complex, data driven sites -- you develop a good site plan, work with folks until all of the pieces have been agreed on, test the functionality, then make it pretty.

    Of course, if you work develop high end web sites like I used to, we're talking about billing $100K+ to the client for the whole process, at a bare minimum.

    But it's not pushing my skills much any more -- I can do roughly the same things in Perl, PHP, Python, TCL, SSJS, etc., the same things and a few more fun by throwing in Java and Javascript. Flash is cool, but not web-wide, so it's not gonna pay my rent for a while yet.

    But proving that 5K is enough to do something useful/pretty, etc. -- that's a challenge. See ya there!!

  • easy winner (Score:4)

    by trotsky (96716) on Friday March 03 2000, @06:00AM (#1227984)
    Give the prize to: 404 File Not Found The requested URL (foobar.htm) is not found. Possibly the most popular web page in the world
  • Re:Done (Score:4)

    by locutus074 (137331) on Friday March 03 2000, @07:00AM (#1227985)
    If you liked that, you ought to check out ApostropheColon [ubersoft.net].

    Yet Another Slashdot Parody, but it's damn funny. You might not like it though; it does not contain grits.

  • Interestin (Score:4)

    by summdood (157002) on Friday March 03 2000, @06:03AM (#1227986)
    Sounds like the demo scene of years ago. With the availability of higher bandwidth connections web designers have often have forgotten about the people with the 14" monitors and the slower modems. I personally (due to a move) have stepped back from a cable modem to a 56k connection and the multimedia rich enviorment is a beast and a burden because of it. I have actually had to change my surfing habits. I hope to be out of the land of the 'bandwidth impaired' very soon though. The outcome of the contest should prove to be interestig
  • by Sick Boy (5293) on Friday March 03 2000, @09:12AM (#1227987) Homepage
    Something that may get overlooked is that many of these pages won't come anywhere near validation. Who's going to waste precious space on DTD statements and alt=""? We shouldn't assume that small pages are valid simply because they probably don't use a ton of tags. We definately shouldn't convey that attitude to the children. Won't somebody please think about the children?

    Show me a page under 5k that validates, and I'll be impressed. Of course, I won't make any outward indication that I'm impressed, probably a contemptious "but it's supposed to validate ANYWAY" snort, but that's the way I am.
    --

  • by Otto (17870) on Friday March 03 2000, @06:20AM (#1227988) Homepage

    Here's a link to the actual contest rules and so forth.

    http://www.sylloge.com/5k/ [sylloge.com]
    ---
  • by BilldaCat (19181) on Friday March 03 2000, @06:05AM (#1227989) Homepage
    .. is any article by one Jon Katz. :)
  • by G27 Radio (78394) on Friday March 03 2000, @06:54AM (#1227990) Homepage
    from their FAQ:

    How about client-side processing? Can I use JavaScript? What if the page shows up as larger than 5k in the browser as a result of the scripting?

    Client-side scripting, including the use of scripts which write out additional HTML (i.e., by using JavaScript's "document.write()" function) are permitted. The size component of the judging will be done by examining the files which sit on the server, not the browser's rendering of those files. The normal caveats apply however (see the next question); make sure you are confident about your scripts running in the judges' browsers. Also, please note that gratuituous exploitation of this provision may cause low marks by some judges in the concept & originality category.


    The server side question is answered elsewhere in the FAQ--clearly not allowed. What's interesting is that client side scripting could be used to generate much more than 5k worth of HTML, as long as the original page on the server is less than 5k. Of course, you'll want to read the entire FAQ for any caveats.

    FAQ available at http://www.sylloge.com/5k/faq.html [sylloge.com].

    numb
  • by swordgeek (112599) on Friday March 03 2000, @06:23AM (#1227991) Journal
    Ah, this sort of thing takes me back.

    I remember the days of Byte (when it was a real magazine), Compute!, et al. The magazines were full of code back then, pages and pages and pages of typing that you'd laboriously enter by hand, and then debug. A few of 'em had 1k programming contests monthly, which (along with typing in the loooong programs) really gave you an appreciation for style, efficiency, and elegance in coding. Atari Basic (this was on the 400/800 machines) also allowed you to enter more than one statement on a logical line (which was something like 107 or 112 characters), so they also had 'one liners' every month. They were usually cute little graphics demos, since easy graphics programming was Atari's forte'.

    Now we're doing it in HTML instead of BASIC, and with a 5kB limit instead of 1kB. What goes around, comes around, eh?

    Cool stuff.

  • 32 replies beneath your current threshold.
(1) | 2 | 3