@isaacg Hi! I've had a question about Pyth for a while. Reading the herokuapp descriptions, I cannot find a way to form an array literal. Is this possible in Pyth?
Someone want to help me with repl.it/Bbtv/0 and repl.it/Bbtw/0? Both return different outputs, and the C output is the correct one. (Translated from C to JS.)
A while back, I created a simple brain game called Enumerate (based on Takuzu). Your challenge is to play this game.
Task
Solve a game of 4x4 Enumerate.
Receive a starting grid via STDIN or command line.
Output the solved grid via STDOUT or writing to file.
Rules
There must be the sam...
Mathematica
Blur[Binarize[Blur[RandomImage[1, {1000, 1000}, ImageSize -> Large], 6], .52]]
Quite simple. Creates a random grayscale image, blurs it, takes the pixels above a threshold, and blurs it again. It uses a couple of hand-tweaked values. The result:
That Thing You Do! is a 1996 American musical comedy drama film written, directed by, and co-starring Tom Hanks. Set in the summer of 1964, the movie tells the story of the rise and fall of a one-hit wonder pop band. The film also resulted in a musical hit with the song "That Thing You Do".
== PlotEdit ==
In 1964, Guy Patterson (Tom Everett Scott), an aspiring jazz drummer, is asked by Jimmy Mattingly (Johnathon Schaech) and Lenny Haise (Steve Zahn) to sit in with their band (including bass player (Ethan Embry), who as a running gag is never named but is always referred to as "the bass player"...
Rep Vacuum
To the valid answer on a code-golf question whose byte count is shortest, but is not the highest-voted answer. (The award will be determined by the gap between the highest-voted answer and aforementioned answer.)
I'm not a big fan of that particular proposal because usually when a submission is really short but it isn't the highest voted, it's not all that clever. That, at least in my mind, implies that it isn't necessarily deserving of a bounty.
SyntaxError: let is a reserved identifier
eval.js:53:4
ReferenceError: markdown_gen is not defined
page.html:1:1
ReferenceError: rawupdate is not defined
page.html:1:1
ReferenceError: markdown_gen is not defined
page.html:1:1
ReferenceError: compile_program is not defined
page.html:1:1
ReferenceError: markdown_gen is not defined
page.html:1:1
ReferenceError: edit_program is not defined
That always happens when people run my code on something other than the 3 devices I own (I don't know why, I only test it on my mac, but it works on my computers and only my computers)
Your script is loaded at the top of the page. At this point, none of the elements of loaded. So you cannot focus on it, nor get the reference all the time
function codelink_get (){
var code = rawbox.value;
linkbox.value = 'https://rawgit.com/cyoce/PlatyPar/master/page.html' + gen_query ({code:code});
linkbox.focus();
// v-- WHAT IS THAT
return linkbox.value;
}
Also, since you only use code once, you should just do linkbox.value = 'https://rawgit.com/cyoce/PlatyPar/master/page.html' + gen_query ({code:rawbox.value});
Wow - I thought this answer was trivial, bordering on boring, but it is the most contentious (+7, -5) and has been rapidly swinging between positive and negative net votes.
Best title
Borrowed from the Code Review categories.
"Best" can be measured as a combination of things:
Descriptive
Intriguing
Funny
Any more we can think of...
There's no lower limit to pessimism if you want to be like that :P "At the pessimistic end, Code Review takes over the entire galaxy and PPCG users are forced to rewrite their entire backlog of answers in readable form"