^^^^^^^^^^^^^
Carrot. Carrot. CARROT!
In PPCG chat, it is very common to use any number of ^ to refer to the message above.
Once, I beat EasterlyIrk to saying a carrot string, and I had an idea.
^ can refer to the message above, ^^, to the message above the message above e.t.c.
Your task, giv...
@QPaysTaxes No, that's probable the first conscious design decision I made. For all links but the main link, the arity is either fixed or can be set explicitly. For the main link, there were only two options: require a flag (1 extra byte for each prgram) or deduce it from the number of arguments
^^^^^^^^^^^^^
Carrot. Carrot. CARROT!
In PPCG chat, it is very common to use any number of ^ to refer to the message above. Once, I beat EasterlyIrk to saying a carrot string, and I had an idea.
^ can refer to the message above, ^^, to the message above the message above e.t.c.
Your task, giv...
@QPaysTaxes They are template strings; they are used for multiline strings, yes, but also for dynamic ways of calling functions, mainly focused on arrays. (IIRC)
@Solver In case you don't understand what Dennis means, just because id 2543 is a message in the Nineteenth Byte doesn't mean id 2544 is in the Nineteenth Byte; it could be a message in a different room.
@Solver But what's the current message ID then? It could mean the "current message ID" is 999 even though the last message was 997, meaning you get extra carets
Admittedly, an anime named "Noodle Art Online" would make for an interesting parody of "Sword Art Online". 'The first season had great taste, but the second season was like a wet noodle."
s='indexOf';k='lastIndexOf';h="#";t=b=>b[0].map((x,i)=>b.map(x=>x[i]));a=i=>{m=i.split\n;for(h of m){m[m[s](h)]=h.split``;}for(y=0;y<m.length;y++){for(x=0;x<m[y].length;x++){var z=0;if(m[y][x]==h){break;}if(m[y][s](h)<x&&m[y][k](h)>x){z++;}q=t(m);if(q[y][s](h)<x&&m[y][k](h)>x){z++;}if(z>2){m[y][x]=h;}}}for(p of m){v=p.join``.match(/\S/);e=v?p.join``:'';m[m[s](p)]=e;}m=m.join\n;m=m.replace(/#/g," ");return m;};
Iterated Matrix Multiplication
fastest-code
Given an nxn matrix A, an nx1 matrix X, and a list L of ordered pairs in [1,n]x[1,n], determine if there exists some integer k>=0 such that, with B=A^k*X, for all (D,E) in L, B[D]<B[E].
Why it's possible: Every entry of the natural number power of a ...
Dendrocnide moroides, also known as the stinging brush, gympie stinger, mulberry-leaved stinger, gympie gympie, gympie, stinger, the suicide plant, or moonlighter, is a large shrub native to rainforest areas in the northern half of eastern Australia and Indonesia. It is best known for stinging hairs that cover the whole plant and deliver a potent neurotoxin when touched. It is the most toxic of the Australian species of stinging trees. The fruit is edible if the stinging hairs that cover it are removed.
D. moroides usually grows as a single-stemmed plant reaching 1–3 metres in height. It has large...
> The recommended treatment for skin exposure to the hairs is applying diluted hydrochloric acid (1:10) and pulling them out with a hair removal strip.
@El'endiaStarman It's amazing that they have such a strict policy on not importing flora and fauna. It seems the most dangerous plants and animals are already there
I'm surprised nobody else responded to this already. Someone opened the door for you guys to ramble on about your favorite language for KotH and... zero answers?
@Rainbolt I get that Strip Mine is cool and all, but I don't get why it's so expensive. (brought up by the fact that my kid found one yesterday in the first booster pack he's ever opened)
(and yes, that had nothing to do with what it is replying to)
JavaScript
JavaScript is known by a majority of Developers according to the SO survey.
It has (pseudo) classes, like this:
function MyBot(action){
this.action = action;
this.moves = [];
}
var bot = new MyBot(function(){return "LRD";});
You can do it online, where most everyone who would...
This is a list of some of the more commonly known problems that are NP-complete when expressed as decision problems. As there are hundreds of such problems known, this list is in no way comprehensive. Many problems of this type can be found in Garey & Johnson (1979).
== Graphs and hypergraphs ==
Graphs occur frequently in everyday applications. Examples include biological or social networks, which contain hundreds, thousands and even billions of nodes in some cases (see e.g. Facebook or LinkedIn).
1-planarity
3-dimensional matching
Bipartite dimension
Capacitated minimum spanning tree
Rou...
I promise, this will be my last challenge about diamong tilings (for a while, anyway). On the bright side, this challenge doesn't have anything to do with ASCII art, and is not a code golf either, so this is actually completely different.
So just as a reminder, every hexagon can be titled with t...
Paul Graham: How to Disagree - I really like this idea of the "disagreement hierarchy". I've been gradually moving towards the stance of "If an argument is wrong, you should be able to point out why it's wrong.", which is essentially DH5 or DH6.
I think using Code Review code on Code Golf is perfect. I've always thought of Code Golf as the evil twin of Code Review, and I love both... — trichoplaxJul 25 '14 at 11:52
JS has something like that (0 is deprecated for octal literals or something)
@QPaysTaxes Firefox, and only in certain cases (I think use strict must be on?) I forgot :P
Oh :P
I saw it on an older version from another code (not mine). I'll see if I can recreate when I get home, I'm sure it has something to do with an actual script.