@Dennis I just thought it would be something you could copy and paste from a field when you first created it. I don't think it should be just by itself but rather it should be in addition
It's nice because then you could share it with a few and other people could make modifications
Like if you had an answer two people were working on.
@quartata That seems like an edge case, but why not. If I make the client generate an access token from the secret and the permalink ID, it could be shared with others without revealing the secret.
It also resolves your multiple device issue: if you want to work on an answer on mobile you could just get the token real quick before you head out or whatever
Java, 1017 bytes
Input is a space separated list like so: l s1 s2 s3 s4 h a b.
Output is an 2d-array containing the numbers.
Program:
import java.util.*;import static java.lang.Math.*;class C{public static void main(String[]a){int b=a.length,d=0;float[]c=new float[b];for(;d<b;){c[d]=Float.p...
@ColdGolf Disallowing underhanded challenges is/was a democratic process. We had a discussion on the meta site, and the conclusion was that underhanded challenges should be off topic. There's nothing I can, should, need or want to do about it.
I recently looked at the underhanded tag and noticed that all 3 of the newest questions are closed as "Too Broad". From our new rules for popularity contests and the code-trolling tag being off-topic it would seem that underhanded may also be off topic. What is the community opinion on the underh...
48 characters
Task: Ignore any input. Always produce exactly the following output:
java.lang.ExceptionInInitializerError
Caused by: java.lang.ArithmeticException: / by zero
at M.<init>(M.java:1)
at M.<clinit>(M.java:1)
Solution:
enum M{M;System x;{x.setErr(x.out);int y=1/0;}}
Save ...
@ColdGolf Some of them might have been entertaining, but they're not a good fit for our model of challenge with objective validity and winning criteria. Off topic doesn't mean bad, just that it shouldn't be posted here.
@ColdGolf Imagine I had answered your underhanded challenge with "Vault Number 3240. Nothing in the post disallows that and it'll win even though it's a boring answer
@ColdGolf Yes, PPCG should entertain, but that doesn't mean that anything that entertains is on topic. Anyway, you're barking up the wrong tree. There's nothing I could do to allow underhanded challenges, even if I wanted to.
Empty / Bare Output
Not sure on the best title but hopefully the examples show what I mean. Mainly targeting code-challenges where the score is determined by the output. This results in very boring, but valid, answers which tend to get upvoted especially on pop-cons with no other answers.
An ...
Windows 10 has a new console mode. That mode enables higher dpi fonts, advanced selection etc. pp. But it seems to brake some functionality.
The program in question is lxrun (wrapped among others by lxss programs like bash).
When lxrun is started, it starts off in legacy console mode and prints...
@mınxomaτ Looks to me like lxrun quits as soon as the file descriptor is closed. Have you tried piping in all the answers or make a program that sleeps after printing y/n?
CMC: Output a number for which the number of distinct prime factors is a number for which the number of distinct prime factors is a number for which the number of distinct prime factors is prime.
@The29thSaltshaker If it's just general discussion rather than a narrow question, maybe the chat of the relevant design related site would be better than their main site?
@ColdGolf By the way, you can edit chat messages for 2 minutes after posting. Just press up on the keyboard, or click on the drop down arrow to the left of the message
ping @Dennis... I have made this (almost certainly not greatly golfed) Jelly chain: “/\,“\/”yḊḊṖṖ“\¶”ṭṭ“/” for the ASCII pyramid and cant for the life of me work out how to recurse it (cant seem to get a repeat, reduce or a loop working!) not much on your wiki or in the tips thread on recursion and loops - any hints you could give would be cool...
"Primordial soup" is a term introduced by the Soviet biologist Alexander Oparin. In 1924, he proposed a theory of the origin of life on Earth through the transformation, during the gradual chemical evolution of particles that contain carbon in the primordial soup.
Biochemist Robert Shapiro has summarized the "primordial soup" theory of Oparin and Haldane in its "mature form" as follows:
Early Earth had a chemically reducing atmosphere.
This atmosphere, exposed to energy in various forms, produced simple organic compounds ("monomers").
These compounds accumulated in a "soup", which may have been...