Question in brief:
For what challenge types and in what circumstances should code that requires a REPL be acceptable in an answer?
There seems to be an understanding in chat that code that only works in a REPL is not valid as an answer, but I can't find any consensus here on meta to back this ...
@mınxomaτ You should make codegolf.xyz/chat link here and codegolf.xyz/miaou link to dystroy.org/miaou/1216. (Idea is @Maltysen's; I can't take credit)
HTML+CSS, 299+MAX*28 bytes
This exploits some features in the mozilla rendering engine for CSS styles. The size of the code depends on the maximum number that you want to have checked. Since I found no specification for this (minimal) maximum in the challenge, this entry is probably non-competin...
Brainfuck, 40 bytes
,[>>+>>,]<<[[<<]>>[-[<]>>[.<<->]>+>>]<<]
This uses the counting sort algorithm, which makes this an O(n) solution.
The code requires a left-infinite or wrapping tape of 8 bit cells. Try it online!
How it works
, Read a char from STDIN.
[ While the byte ...
Actually, depending on the task at hand, it can beat a lot of things.
In memory of Lemmy, outout ASCII art in your chosen language of the word Motörhead (note the second O with umlaut) using spades, skulls, or whatever you deem appropriate.
... I have preventDefault, stopPropagation, andreturn false in both the keydown and keypress listeners for <esc>, and the chat's default behavior still happens. I don't know what to try now. (@Dennis)
I think I'm going to peruse the chat's JavaScript.
Using the prettyPhoto plugin to open modal-style content containers, and trying to integrate with Google Analytics' Event Tracking to track when videos get opened.
Trouble is, when I
$('a.videoClickListener').click(function(event){
console.log('here');
_gaq.push(['_trackEvent', 'Produc...