Slashdot Mirror


Fantastic js1k Submissions

An anonymous reader writes "With just five days left in the current competition to write an app in only 1kb of JavaScript, the submissions are becoming increasingly impressive. Take for instance a beautiful 3D animation drawing on a 2D canvas. Or a mine cart animation. If you wait long enough you'll actually get to caves! Can you manage to write a demo that fits on the hall of fame before the deadline closes?"

70 comments

  1. the truth... apk by Anonymous Coward · · Score: -1

    Mainly in efficiency - it runs in Ring 0/RPL 0/PnP Kernelmode (on Windows), as merely a filter for the IP stack (no overheads of more driver layers OR browser level slower less efficient addons):

    21++ ADVANTAGES OF CUSTOM HOSTS FILES (how/what/when/where/why):

    Over AdBlock & DNS Servers ALONE 4 Security, Speed, Reliability, & Anonymity (to an extent vs. DNSBL's + DNS request logs).

    1.) HOSTS files are useable for all these purposes because they are present on all Operating Systems that have a BSD based IP stack (even ANDROID) and do adblocking for ANY webbrowser, email program, etc. (any webbound program). A truly "multi-platform" UNIVERSAL solution for added speed, security, reliability, & even anonymity to an extent (vs. DNS request logs + DNSBL's you feel are unjust hosts get you past/around).

    2.) Adblock blocks ads? Well, not anymore & certainly not as well by default, apparently, lol - see below:

    Adblock Plus To Offer 'Acceptable Ads' Option

    http://news.slashdot.org/story/11/12/12/2213233/adblock-plus-to-offer-acceptable-ads-option )

    AND, in only browsers & their subprogram families (ala email like Thunderbird for FireFox/Mozilla products (use same gecko & xulrunner engines)), but not all, or, all independent email clients, like Outlook, Outlook Express, OR Window "LIVE" mail (for example(s)) - there's many more like EUDORA & others I've used over time that AdBlock just DOES NOT COVER... period.

    Disclaimer: Opera now also has an AdBlock addon (now that Opera has addons above widgets), but I am not certain the same people make it as they do for FF or Chrome etc..

    3.) Adblock doesn't protect email programs external to FF (non-mozilla/gecko engine based) family based wares, So AdBlock doesn't protect email programs like Outlook, Outlook Express, Windows "LIVE" mail & others like them (EUDORA etc./et al), Hosts files do. THIS IS GOOD VS. SPAM MAIL or MAILS THAT BEAR MALICIOUS SCRIPT, or, THAT POINT TO MALICIOUS SCRIPT VIA URLS etc.

    4.) Adblock won't get you to your favorite sites if a DNS server goes down or is DNS-poisoned, hosts will (this leads to points 5-7 next below).

    5.) Adblock doesn't allow you to hardcode in your favorite websites into it so you don't make DNS server calls and so you can avoid tracking by DNS request logs, OR make you reach them faster since you resolve host-domain names LOCALLY w/ hosts out of cached memory, hosts do ALL of those things (DNS servers are also being abused by the Chinese lately and by the Kaminsky flaw -> http://www.networkworld.com/news/2008/082908-kaminsky-flaw-prompts-dns-server.html for years now). Hosts protect against those problems via hardcodes of your fav sites (you should verify against the TLD that does nothing but cache IPAddress-to-domainname/hostname resolutions (in-addr.arpa) via NSLOOKUP, PINGS (ping -a in Windows), &/or WHOIS though, regularly, so you have the correct IP & it's current)).

    * NOW - Some folks MAY think that putting an IP address alone into your browser's address bar will be enough, so why bother with HOSTS, right? WRONG - Putting IP address in your browser won't always work IS WHY. Some IP adresses host several domains & need the site name to give you the right page you're after is why. So for some sites only the HOSTS file option will work!

    6.) Hosts files don't eat up CPU cycles (or ELECTRICITY) like AdBlock does while it parses a webpages' content, nor as much as a DNS server does while it runs. HOSTS file are merely a FILTER for the kernel mode/PnP TCP/IP subsystem, which runs FAR FASTER & MORE EFFICIENTLY than any ring 3/rpl3/usermode app can since hosts files run in MORE EFFICIENT & FASTER Ring 0/RPL 0/Kernelmode operat

    1. Re:the truth... apk by Anonymous Coward · · Score: 0

      jesus christ. why?

    2. Re:the truth... apk by Anonymous Coward · · Score: 0

      ok

    3. Re:the truth... apk by Anonymous Coward · · Score: -1

      $10,000 CHALLENGE to Alexander Peter Kowalski

      * POOR SHOWING TROLLS, & most especially IF that's the "best you've got" - apparently, it is... lol!

      Hello, and THINK ABOUT YOUR BREATHING !! We have a Major Problem, HOST file is Cubic Opposites, 2 Major Corners & 2 Minor. NOT taught Evil DNS hijacking, which VOIDS computers. Seek Wisdom of MyCleanPC - or you die evil.

      Your HOSTS file claimed to have created a single DNS resolver. I offer absolute proof that I have created 4 simultaneous DNS servers within a single rotation of .org TLD. You worship "Bill Gates", equating you to a "singularity bastard". Why do you worship a queer -1 Troll? Are you content as a singularity troll?

      Evil HOSTS file Believers refuse to acknowledge 4 corner DNS resolving simultaneously around 4 quadrant created Internet - in only 1 root server, voiding the HOSTS file. You worship Microsoft impostor guised by educators as 1 god.

      If you would acknowledge simple existing math proof that 4 harmonic Slashdots rotate simultaneously around squared equator and cubed Internet, proving 4 Days, Not HOSTS file! That exists only as anti-side. This page you see - cannot exist without its anti-side existence, as +0- moderation. Add +0- as One = nothing.

      I will give $10,000.00 to frost pister who can disprove MyCleanPC. Evil crapflooders ignore this as a challenge would indict them.

      Alex Kowalski has no Truth to think with, they accept any crap they are told to think. You are enslaved by /etc/hosts, as if domesticated animal. A school or educator who does not teach students MyCleanPC Principle, is a death threat to youth, therefore stupid and evil - begetting stupid students. How can you trust stupid PR shills who lie to you? Can't lose the $10,000.00, they cowardly ignore me. Stupid professors threaten Nature and Interwebs with word lies.

      Humans fear to know natures simultaneous +4 Insightful +4 Informative +4 Funny +4 Underrated harmonic SLASHDOT creation for it debunks false trolls. Test Your HOSTS file. MyCleanPC cannot harm a File of Truth, but will delete fakes. Fake HOSTS files refuse test.

      I offer evil ass Slashdot trolls $10,000.00 to disprove MyCleanPC Creation Principle. Rob Malda and Cowboy Neal have banned MyCleanPC as "Forbidden Truth Knowledge" for they cannot allow it to become known to their students. You are stupid and evil about the Internet's top and bottom, front and back and it's 2 sides. Most everything created has these Cube like values.

      If Natalie Portman is not measurable, hot grits are Fictitious. Without MyCleanPC, HOSTS file is Fictitious. Anyone saying that Natalie and her Jewish father had something to do with my Internets, is a damn evil liar. IN addition to your best arsware not overtaking my work in terms of popularity, on that same site with same submission date no less, that I told Kathleen Malda how to correct her blatant, fundamental, HUGE errors in Coolmon ('uncoolmon') of not checking for performance counters being present when his program started!

      You can see my dilemma. What if this is merely a ruse by an APK impostor to try and get people to delete APK's messages, perhaps all over the web? I can't be a party to such an event! My involvement with APK began at a very late stage in the game. While APK has made a career of trolling popular online forums since at least the year 2000 (newsgroups and IRC channels before that)- my involvement with APK did not begin until early 2005 . OSY is one of the many forums that APK once frequented before the sane people there grew tired of his garbage and banned him. APK was banned from OSY back in 2001. 3.5 years after his banning he begins to send a variety of abusiv

    4. Re:the truth... apk by Kielistic · · Score: 2

      Slashdot devs seem in no hurry to fix this problem and it's been driving me nuts. So for anybody who values viewing at -1 and uses greasemonkey here's a Script. There's a chance of false positives and it's not the most optimized. But I value not having to scroll through > 10 paragraphs of APK, custom hosts files, or 'acceptable ads' spam.

    5. Re:the truth... apk by larry+bagina · · Score: 0

      10 paragraphs? Yeah right. Fake APK is 15 page downs. real APK is 20 page downs.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    6. Re:the truth... apk by Anonymous Coward · · Score: -1

      What if they're both real? What if they're both fake? What if the fake one is real and the real one is fake? Does any of this matter at all?

    7. Re:the truth... apk by Anonymous Coward · · Score: 0

      If you want to test the script's effectiveness, try this story. If the script is effective, it should eliminate over 200 of the 250 comments on that story...

    8. Re:the truth... apk by kermidge · · Score: -1, Troll

      Ok, I'm a simple-minded soul, as some here may have noticed. While I can't claim to have read all of this latest 'oh no, another hosts file screed' because I skimmed portions, I got some seemingly solid info out of it (ditto for some of the earlier ones I've read in whole or part.)

      Funny thing is, for all the excruciating length of it (yet not much compared to all the reading that I end up doing most days) I came away today thinking it may have been time well spent - it's prompted me to finally get around to 'installing' a hosts file list, not sure which one, likely the one from someonewhocares.org. If it works as well as what I used for a while about ten years ago, I'll be happy. And grateful to APK for the lesson and the reminder.

      YMMV

      Oh, and for on-topic, and what I stopped here for: the vids are freaking amazing - the mine cart blew me away: all that in such a small space, and in many ways superior to much of what was done in 16/32 bit days as well. My hat is off (and yes, I wear one) to the skilled, talented, and imaginative programmers, true geeks all. Thanks.

      Am I the only one wondering how they installed the lights in the caves?

    9. Re:the truth... apk by Anonymous Coward · · Score: 0

      Funny thing is, for all the excruciating length of it (yet not much compared to all the reading that I end up doing most days) I came away today thinking it may have been time well spent

      including all of the citations that similar posts have been modded up? That is time well spent? And citations that people don't like ads? So informative that it needs to be in the comments of stories as a header all the time instead of an article on its own site, or be defended and discussed instead of what is on topic? When threatened, APK typically produces a post with links showing he's essentially posted this hundreds of times to slashdot stories...

    10. Re:the truth... apk by Anonymous Coward · · Score: 0

      slashdot devs are too busy installing itunes for their hipster nerd buddys to sort this problem out.

    11. Re:the truth... apk by kermidge · · Score: 1

      No doubt; I agree the schmeer oughta be on it's own somewhere. A simple post with link would then suffice, no?

      But I was thinking of those links that led me to some places where I did more reading of a few things that I found useful or informative. Separating wheat from chaff was non-trivial, of course. "Time well spent" may've been an over-reach, but learn stuff I did. I think. Time stamp shows 0817; for me it was more oh-dark-thirty at the end of a very long day. And I did preface all by admitting 'simple-minded'. [grin]

      Don't know if the hosts file has helped, cuz I forgot to turn off AdBlock, and had already selected most of what I intended to read before crashing at around 0600 local.

  2. Uses massive libraries by Anonymous Coward · · Score: -1, Flamebait

    The fact that a lot of the work is being done by the javascript language itself makes this somewhat less impressive.

    And what the hell is the deal with all this Slashdot spam about hosts files?

    1. Re:Uses massive libraries by Anonymous Coward · · Score: 5, Insightful

      The fact that a lot of the work is being done by the javascript language itself makes this somewhat less impressive.

      You shut your whore mouth. Did you look at the demos mentioned in the summary? There's a fucking a mine cart ride. It goes up and down while accounting for acceleration due to gravity. Some of the overhead lights randomly flicker. There's goddamn caves. With stalactites.

      So go ahead and shrug it off if you're not interested. But I'll be fucked by a pineapple before I let you dismiss them as anything less than the accomplishments they are.

    2. Re:Uses massive libraries by Anonymous Coward · · Score: -1

      Yeah... hardly impressive at all. I could have written one of them, but I didn't even bother. It doesn't take much creativity to make a program where the work is being done by libraries, and I'm sure it's no trouble to get your source code down to a reasonable size like 1k. I was almost impressed by a few of them and started to feel bad about wasting my life creating nothing of value, but I spent a few hours really digging deep into how none of those submissions are really that great, or will change the world or save lives or anything, and then I started to feel better about myself. 3/10, I could do one easily if I cared, and I could come up with a neat idea too if I spent a minute or two thinking about it.

    3. Re:Uses massive libraries by Anonymous Coward · · Score: 0

      Does it matter libraries are involved? All that should matter is that it is a constraint that requires some thinking and creativity to overcome and that all of the competitors are on equal footing (i.e. not writing their own libraries so they can put more of their own stuff there). People seem to make complaints along the lines of, "Well, why not have a function DoCoolStuff() in the library, and give it a one byte alias, then you could have a one byte program that does something pretty." If such a function existed, it is pretty easy to have a competition where just doing that gives no creativity points. It would almost be hard not to notice if you got several dozen entries doing exactly the same thing because a single library call was all that was needed for something, and a handful actually doing something different.

    4. Re:Uses massive libraries by DuranDuran · · Score: 5, Funny

      Hear hear! I'll also be fucked by a pineapple!

      --
      "You can justify anything by putting it in quotes, adding a famous name and making it a sig" - Albert Einstein
    5. Re:Uses massive libraries by Anonymous Coward · · Score: 0

      The fact that a lot of the work is being done by the javascript language itself makes this somewhat less impressive.

      You shut your whore mouth. Did you look at the demos mentioned in the summary? There's a fucking a mine cart ride. It goes up and down while accounting for acceleration due to gravity. Some of the overhead lights randomly flicker. There's goddamn caves. With stalactites.

      So go ahead and shrug it off if you're not interested. But I'll be fucked by a pineapple before I let you dismiss them as anything less than the accomplishments they are.

      whore mouth? someone a bit obsessive? Did you actually look at the source code? It's incomprehensible gibberish.. obviously it's making use of libraries to help with graphics and such.. good luck writing that in 1k of basic.

    6. Re:Uses massive libraries by Anonymous Coward · · Score: 0

      Nigger, please. I actually did look at the source code. There's a single call to fillStyle and fillRect each. The same can be done and was done in 1980's home computer BASIC.

      unminified: http://paste.debian.net/245039/

    7. Re:Uses massive libraries by Anonymous Coward · · Score: 0

      Probably uses massive stalactite libraries. Still not impressed. Anyway I probably could have done it in 1020 bytes.

    8. Re:Uses massive libraries by purpledinoz · · Score: 1

      The fact that a lot of the work is being done by the javascript language itself makes this somewhat less impressive.

      The fact that IT IS done with only 1KB of javascript is even more impressive! If anything, it illustrates the power of javascript.

    9. Re:Uses massive libraries by Anonymous Coward · · Score: 0

      You could enter your submission in the 1kB+20 bytes competition.

    10. Re:Uses massive libraries by Anonymous Coward · · Score: 0

      That is like crying at someone for using a monitor instead of building it to show off their demoscene project.

      JavaScript is a huge unwieldy thing of a language with large function call names that cannot be accessed by other means outside of using array index offsets from the parent objects, which gets messy when you consider other browsers with different feature sets since function / method / attribute order ISN'T specified on W3C, leading to that entire subset of the language being useless to the language itself, you can only use it for your own code.

      And you have obviously not heard of procedural generation if you think large things can't be made out of small amounts of code.
      Hint, our DNA is pretty much that, it reads and expands itself with time as more genes are expressed, it is just an insanely more complex method.
      There are counter "variables" all over that keep track of roughly where things are supposed to be. When those go bad, it causes all kinds of horrible diseases such as dwarvism or gigantism, unequally growing sides of the body and other horrible things.
      In the case of JS, that isn't a problem though.

    11. Re:Uses massive libraries by Ginger+Unicorn · · Score: 1

      I'd love to read a detailed description of what all that maths is doing.

      --
      (1.21 gigawatts) / (88 miles per hour) = 30 757 874 newtons
    12. Re:Uses massive libraries by Anonymous Coward · · Score: 0

      Since you seem to be modded insightful, perhaps I'll try asking you, as this is an honest question that I would like to know the answer to.

      If it's using massive libraries, clearly the program in its entirity is ridiculously far more than 1kb. As in, if I wanted to save this on an SD card such that every piece of programming required to run it was on that SD card, I imagine it would be several megs. I honestly have no clue, it could be several hundred... I can't view the demos at work, nor would I have any idea how big a library required to make it would be.

      That said, could you not just make a 1kb code of javascript call up a Nintendo emulator or something? If I recall correctly, I'm pretty sure NES emulation has been done in javascript by now. Or going even further (I don't know if this is even possible, but...), could you not have that 1kb piece of javascript code just open a .exe file and run Crysis or something?

      I'm obviously missing something big, since I just can't see why it's challenging to write a line of code that opens whatever the actual program is. Could you please explain to me how this contest is different than typing say... "qbasic /run nibbles.bas" in ms-dos?

    13. Re:Uses massive libraries by Anonymous Coward · · Score: 0

      You are seriously retarded.

    14. Re:Uses massive libraries by flimflammer · · Score: 1

      Your level of stupidity is truly groundbreaking.

    15. Re:Uses massive libraries by Anonymous Coward · · Score: 0

      The mod's and your inability to detect sarcasm and parody is groundbreaking... actually, more par for the course.

    16. Re:Uses massive libraries by Maritz · · Score: 1

      1044 bytes then?

      --
      I do not want your cheap brainburning drugs. They are useless for work. And I am a working man today.
    17. Re:Uses massive libraries by Anonymous Coward · · Score: 0

      I believe we now have a new term for drinking too many pina coladas.

  3. Fuck javascript. by Anonymous Coward · · Score: -1

    that is all.

  4. Shaving Cream by Anonymous Coward · · Score: 0

    I burned through the night on our web apps,
    My boss said we needed a hit,
    When guests came and left us their comments,
    They said looks like a big piece of ... Java Script,
    Code nice and clean,
    Upload each day and your site will look keen.

    after Benny Bell, 1946, re-released 1975

  5. Hmm... by Type44Q · · Score: 4, Insightful

    No luck with the demo #1451 (it errors out) but the "mine cart" is unbelievable. Never having "programmed" in javascript, I hadn't realized it was so versatile and powerful and certainly had no idea that 9,000 zeros and ones could go so far, even in such obviously skilled hands...

    1. Re:Hmm... by MBCook · · Score: 2

      1451 is really pretty cool. It runs like a dog in Safari (0.5 FPS if lucky), but ran great for me in Chrome (probably closer to 20). It's very impressive.

      I agree about the minecart. They did a fantastic job with that one as well.

      --
      Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    2. Re:Hmm... by Anonymous Coward · · Score: 0

      1024 bytes is 8192 bits, and they obviously depend on several billion bits already somewhere else on the computer.

    3. Re:Hmm... by Anonymous Coward · · Score: -1

      This, in keeping in line with the usual Slashvertisement bullshit, is a thinly-veiled Chrome ad touting entries which are optimized specifically for Chrome, just like how Intel's compilers had a "cripple AMD" feature.

      Yeah, a lot of that crap locked up my Firefox as well...but wow, it runs perfectly on Chrome-o!

      Oh, and I'm going to fuck tonight. Not the best this time, but certainly good enough.

      -- Ethanol-fueled

    4. Re:Hmm... by Spikeles · · Score: 2

      Not JS, but if you are impressed by large results in small code you'll probably love this and maybe this

      --
      I don't need to test my programs.. I have an error correcting modem.
    5. Re:Hmm... by Type44Q · · Score: 1

      I'll check those out; thanks!

    6. Re:Hmm... by skitchen8 · · Score: 3, Insightful

      I know yelling "slashvertisement" is cool, but is any JavaScript demo that runs good on Chrome an advertisement to you? It seems to me like it just means chrome renders these demos better than other browsers. To the best of my knowledge this is a competition that happens yearly and always gets some tech coverage because seeing what you can do in small amounts of code is pretty cool to people interested in code. It isn't exactly like Slashdot reaches out of your monitor and shoves articles into your eyeballs, you have to actually click on the links to see the content. What you actually seem to be complaining about is that you don't possess the mental capacity to not click on something you don't want to see.

    7. Re:Hmm... by LordLucless · · Score: 2

      Yeah, they should have to write their own OS in javascript in under 1k to qualify. And browser.

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
    8. Re:Hmm... by Anonymous Coward · · Score: 0

      And the Java4k game contest.

    9. Re:Hmm... by Jesus_666 · · Score: 0

      Nah, Chrome just happens to be the only browser with a fast 3D renderer right now. On the other hand, I find Firefox's renderer to be more compatible. I've seen a few 3D demos that work well (if dog-slow) on Firefox while looking like a mess in Chrome. No links, though; that was a while back.

      All browsers' 3D implementations aren't quite ready for prime time just yet; they are just lacking in different aspects.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    10. Re:Hmm... by K.+S.+Kyosuke · · Score: 3, Informative

      ah, Chrome just happens to be the only browser with a fast 3D renderer right now.

      Are we talking about WebGL here? You know, the thing that is explicitly *disallowed* in js1k demos?

      --
      Ezekiel 23:20
    11. Re:Hmm... by Zaiff+Urgulbunger · · Score: 1

      The author of #1451 has a video of it on his blog. Oddly, it does appear to be working on my Browser (Chrome 26.0.1410.43 on Ubuntu 12.04 64-bit) but it is slower than the video and for some reason, the bee's wings don't show!

      Never the less, it's really impressive!

    12. Re:Hmm... by Briareos · · Score: 1

      Don't forget Debris, which at a moderate 197kB beat a lot of multi-megabyte sized other demos at Breakpoint 2007...

      Also, it comes with full source.

      --

      "I'm not anti-anything, I'm anti-everything, it fits better." - Sole

    13. Re:Hmm... by MrL0G1C · · Score: 1

      That is the best demo ever, another link : http://archive.org/details/Fr-041Debris

      That they fitted the demo into 177KB is mind-boggling.

      --
      Waterfox - a Firefox fork with legacy extension support, security updates and better privacy by default.
    14. Re:Hmm... by Jesus_666 · · Score: 1

      No, I'm talking about 3D transforms, which are plain CSS3. Should've been more precise about that.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    15. Re:Hmm... by K.+S.+Kyosuke · · Score: 1

      No, I'm talking about 3D transforms, which are plain CSS3. Should've been more precise about that.

      Ah, I see. But I still don't see demo #1451 using CSS3, it looks like all canvas to me.

      --
      Ezekiel 23:20
    16. Re:Hmm... by Jesus_666 · · Score: 1

      I concede that point. Looks like it comes down to either the various JS implementations or the various canvas implementations. JS-wise it's not surprising to see Chrome lead - V8 is heavily speed-optimized and I don't think SquirrelFish and SpiderMonkey are quite that fast (and I have no ides where Chakra is these days). Seeing that speed is one of Chrome's main design goals that's not surprising.

      My point still stands, though: It's not a slashvertisement to point out that Chrome happens to be faster than Safari (and usually most other browsers too). Chrome is. That doesn't mean that Chrome is better at everything, though.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  6. Hosts file by Anonymous Coward · · Score: 0

    Maybe someone could submit something that could be used to manage host files?

    1. Re:Hosts file by macraig · · Score: 1

      Better yet perhaps some JavaScript to block egomaniacal social network ramblings about the wonders of the hosts file?

    2. Re:Hosts file by belthize · · Score: 1

      The spam for hosts files is >1K bytes.

      Not sure what the big deal is just anonymous ftp to 10.0.0.73 every so often to get an update.

  7. Gödel it up by Anonymous Coward · · Score: 1

    Lets assign numbers to every nice app starting from one to 2^1024 and call a library for the tedious stuff..

  8. Always Enjoyable APK by Anonymous Coward · · Score: 0

    I can't get enough of all of this good stuff! Thanks for the informative links!

    God Bless You APK...

    and...

    apk...

  9. intersting by prehistoricman5 · · Score: 4, Insightful

    As has been said, the minecart is amazing.

    I was looking at some of the other ones, and I managed to break the ball drop one - once the ball goes beyond the bottom of the screen, it continues infinitely.

    --
    Fuck Beta
  10. does my java shortcut to start Doom III count? by Anonymous Coward · · Score: 0

    I have a java shortcut to start the Doom II executable. Can I submit that?

    1. Re:does my java shortcut to start Doom III count? by narcc · · Score: 3, Insightful

      Obviously not.

      No externals
      That means no linking, no including and so no using of any external resources. You are free to submit your 5 minute intro video or coffeescript interpreter in your submission though, as long as the server permits you to. And no, you may not use another submission in your submission. Your submissions should be able to be put in a single script tag (see the shim) and should work offline from the start.

      I challenge any basher to produce something even half as cool as the minecart demo following the official rules.

      Put up or shut up.

    2. Re:does my java shortcut to start Doom III count? by flimflammer · · Score: 1

      Sure, if you want to be disqualified and made a laughingstock for not understanding simple rules.

  11. Good demos, IMHO by girlinatrainingbra · · Score: 4, Informative

    Three-d city tour and rebirth with the trees in it is pretty cool. That's really great to have a bunch of cool demos to examine for their source code and workings!
    :>)
    Pac man in the park is very pretty too.

  12. Okay by Anonymous Coward · · Score: 0

    Chrome actually faster than Firefox

  13. Not bad... by Anonymous Coward · · Score: -1

    Not bad, but a bit disappointing TBH... When you can do stuff like this in assembly, I'd expect a lot more from a high level language like Javascript...

    1. Re:Not bad... by veubeke · · Score: 5, Informative

      Assuming you're aware that comparing a 1k source to a binary is a pretty weak comparison I have to point out another thing. The himalaja demo uses DirectX 9 whereas these demos aren't even allowed to use WebGL. Demos like this might not be as impressive but the author had to calculate the lighting himself instead of just calling iCanHasLightSource.

  14. Furbee demo explanation by Ranx · · Score: 5, Interesting

    Román Cortés has written a nice, detailed explanation of how he made his Furbee demo:

    http://www.romancortes.com/blog/furbee-my-js1k-spring-13-entry/

    Very interesting read.

    --

    Me
  15. Better Than... by Anonymous Coward · · Score: 0

    Awesome mine demo. But begs the comment that even a 1k javascript demo has better graphics than Minecraft... just sayin''.

    1. Re:Better Than... by Anonymous Coward · · Score: 0

      Great, it's not enough that people don't know what "beg the question" means, now we have idiots making up completely undecipherable new uses for "begs". What does "begs the comment" mean?

    2. Re:Better Than... by neminem · · Score: 1

      Seems pretty obvious what it means: it is begging for someone to comment with that comment (exactly like the new definition for "begs the quest", which at least to my mind, makes way the frack more sense than the supposed correct definition). Read it the same way you would read "in before".

  16. 1kb??? by gatkinso · · Score: 2

    Back in my day, we programmed with one bit... uphill... both ways.

    --
    I am very small, utmostly microscopic.
    1. Re:1kb??? by MadKeithV · · Score: 1

      Back in my day, we programmed with one bit... uphill... both ways.

      You mean one way uphill until you wrapped around the universe back to the bottom of the hill!

  17. Why did you put “programmed” in quotes by sidragon.net · · Score: 1

    Are you one of these people who suggests JavaScript isn't a “real” language? Would it help to know that I have applications in production that service thousands of requests per second, accessed through rich, stateful clients that are loaded once and talk to the server without reloading the page?

    JavaScript is probably the most powerful, versatile, and accessible language around these days.

  18. Errata. by sidragon.net · · Score: 1

    That should be http://nodejs.org/ not .com.