1K JavaScript Madness
An anonymous reader writes "JS1k has a simple goal: to get programmers producing demos written in JavaScript that are 1k in size or less. That's just 1024 bytes to play with. There's even additional bonus points on offer if a demo's code can fit inside a single tweet. Now that the contest is finished and there is a top-ten, I'm wondering what they can do if given some extra bytes." I like the Tetris clone. The pulsing wires demo is neat too but kinda stuttery on my machine.
About javascript in their tweets...
>I'm wondering what they can do if given some extra bytes.
In a few weeks you'll find out at js1337.com ;0)
Is there a Javascript app for "This site has been Slashdotted"?
Liberal? Conservative? Compare perspectives at Left-Right
That's a joke, right? Do you really expect Internet Explorer to run cutting-edge web stuff?
Try Chrome, Safari, Opera or Firefox.
I'm wondering what they can do if given some extra bytes."
If they use bankswitching, maybe they can pull off Asteroids
Give me Classic Slashdot or give me death!
"[...]it will validate moves, queen-only promotion, without castling and en passant." http://nanochess.110mb.com/
Legend Of The Bouncing Beholder
Tiny chess
Tetris with sound
WOLF1K and the rainbow characters
Binary clock
Mother fucking lasers
Graphical layout engine
Crazy multiplayer 2-sided Pong
Morse code generator
Pulsing 3d wires
Would it be feasible to take a current simple game like Pacman, write a driver to check it for proper functionality on an x86 CPU, spawn thousands of them in minor variations, and use a genetic algorithm to keep the smallest?
If video games influenced behavior the Pac Man generation would be eating pills and running away from their problems.
Today, a day that will live in infamy, I was beaten by a 1000 byte program.
If video games influenced behavior the Pac Man generation would be eating pills and running away from their problems.
http://www.the5k.org/ Does anyone remember this site? It was a contest back in 2000-2002 to create the coolest website with only 5KB. Looks like it had a spiritual successor too: http://10k.aneventapart.com/
Interesting idea. Thirty years ago many people were introduced to programming by printed (ink on mashed up trees) anthologies of programs that were generally around a page long (8.5 x 11). Don't know how pervasive the term was, but in my personal circles these programs were called "K-Byters" because they were ~1 K long (or less).
That's nothing. Try this short game written in BASIC.
10 GOTO 40
20 PRINT "YOU WIN"
30 GOTO 50
40 PRINT "YOU LOSE"
50 PRINT "GAME OVER"
for my work i built a JSON-RPC development environment which automated the client and server creation like you're asking for... it's not that complicated.
jQuery is for prototyping... if you're depending on it for production systems, you're lazy.
It'd be truly impressive if it were *human-readable* source code that fit under 1k.
jQuery is for prototyping... if you're depending on it for production systems, you're lazy.
Or saving your employer time and money. Sometimes being "lazy" isn't so bad.
I went to eat some animal crackers and the box said, "Do not eat if seal is broken." I opened the box and sure enough..
Today, a day that will live in infamy, I was beaten by a 1000 byte program.
Whippersnapper. I seem to recall being beaten more than two decades ago by a 1k chess program on a Timex/Sinclair 1000 (aka ZX81).
Possibly even this one:
http://users.ox.ac.uk/~uzdm0006/scans/1kchess/
impressed that they fit in a reasonable A.I. into the thing!
www.RacquetUp.org - Helping Detroit Youth
You want a static code analysis tool that can perform dead code elimination. It looks like Google's Closure Complier will do that for JavaScript code.
It just hit me--think of all the stuff you could do in a Perl program that would fit into one tweet?
Coder's Stone: The programming language quick ref for iPad
I can't believe this story's been up for nearly two hours and no one's rushed in to explain that these are one kibibyte demos, thus depriving us of our right to make fun of them and their dumb-sounding pet units.
Dewey, what part of this looks like authorities should be involved?
No. That's an absurd statement. Perhaps you meant to say: " All things being equal , delivering the highest quality product is best, all of the time." which most people would agree is correct.
Fast, cheap, good. Pick two. If you're able to duplicate all the functionality you need, better than jQuery, in less time than it would have taken to use jQuery then good for you! For those of us bound by reality, perfection comes at a cost. What if, in the time it takes you to ship the "Highest Quality" product, your competitor pushes their "Good Enough" product (or prototype) out the door, corners the market and steals your lunch?
Depending on your application, you could still have the last laugh but recall twitter and the downtime it suffered in the beginning, or the recent (and not so recent) security vulnerabilities. If you wrote a complete, bug-free, "Highest Quality" version of Twitter, without any security vulnerabilities or downtime, and you released it tomorrow, how many people would jump-ship and start using your version?