@MartinEnder btw if you didn't see the tas block section, they first execute a total control hack in zelda, then stream video through controller inputs
@EᴀsᴛᴇʀʟʏIʀᴋ Content dispute prevents editing, Offtopic comments prevents adding more comments, Historical significance prevents everything, and Wiki Answer prevents adding new answers (though preexisting answers can be edited).
Jelly, 14 13 bytes
RBċþd`ÆPPTfÆR
Try it online!
How it works
RBċþd`ÆPPTfÆR Main link. Argument: n
R Range; yield [1, ..., n].
B Binary; convert each integer to base 2.
d` Divmod self; yield [n : n, n % n], i.e., [1, 0].
ċþ Count table; coun...
Then I have to write a class that can be a String or a BigDecimal. I can't inherit methods from either, which means I have to copy over a ton of methods that are otherwise builtin.
But it means that each type has its own add function and you don't ever have to do any instanceof or casting.
I can't think of anything better in a statically typed language.
As icing on the cake Java 8 has optional methods for interfaces so that way you wouldn't have to override methods for types that don't support an operation
[please suggest a name]
code-golf
Mark got an idea of making a path finding algorithm for auto driving vehicles.
Unfortunately, Mark doesn't yet know about programming, so he decided to
get help from the code golfers.
How should it work?
First, we input how many 'nodes' there are.
we call ...
Once upon a time, There was a lord of legendary questions, named Matthew (yep, thats me, and some of you may know me).
Unfortunately, he was previously kicked out from PPCG because the lord of StackExchange, used "age restriction" on him.
Now, he(I) is back, and about to give you a code golf qu...
Note: This challenge is not the same.
Challenge
Believe it or not, we haven't got ONE challenge for reversing one-dimensional arrays (although we've got one for n-dimensional ones)! This should operate only on the 1st dimension, not on all dimensions of an array.
Rules
Standard loopholes are...
Display OEIS sequences
The On-Line Encyclopedia of Integer Sequences (OEIS) is an online database of integer sequences. It contains nearly 280000 sequences of mathematical interest.
Examples of sequences:
positive integers (A000027)
prime numbers (A000040)
Fibonacci numbers (A000045)
Your...
Voting for the best-of nominees was hard... I had to restrain myself from voting for all of the nominees on several categories. We really have a great selection this year.
I have an array of values like
dats = np.array([[r1,x1,y1],[r2,x2,y2],...,[rn,xn,yn]
and I want to make a subarray of dats which has elements [r,x,y] such that the points [x,y] lies within a radius R around another point [xp,yp].
A solution is
import numpy as np
def dats_within_radius(R,x,...
Find B1nar0 Solutions
B1nar0 puzzle is a paper and pencil game with 0 and 1. The goal is to fill the grid accoring to 3 rules :
No more than 2 consecutive 0s or 1s
Each row/column has half 0s and half 1s
No identical row/columns
Example :
[
A is 0 according to rule 1
B is 1 according to r...
Is it a shorthand?
Everyone knows what a shorthand is, but for the sake of simplicity, as far as this challenge is concerned, a shorthand is a string, of which the order of characters is the same as that of a longer string.
For example
ace, act, cne, aoe, tn are all shorthands of acetone
aec,...
Dot matrix number visualization
Your task is to make a program that takes a number as input and outputs it as a wall of characters with spaces. The digits should be written like this:
1 222 333 4 55555 666 77777 888 999 000
11 2 2 3 3 44 5 6 6 7 8 8 9 ...
@Qwerp-Derp You can click the reply arrow to jump to it. It's really collectively addressed to your past 4 or 5 or so messages before that one, which were mostly all similar.
@Qwerp-Derp If you tend to be impatient, it might help to think this way: simply asking your question is quicker than checking if anyone is present first, and will still lead to you finding out.
You could just start with "Does anyone know Processing?" That way you get an immediate response if someone is around who does, and if not you might get a ping later when someone sees it.
And it's been explained many many many many many times - chat is asynchronous. Just because nobody is around when you have a question doesn't mean nobody will ever answer it.
@Doorknob I believe it had a timeout, so it would wait like 15 minutes before reminding people to just ask. I wasn't around when the bot was active - I just saw the unpleasantness on Mother Meta when it got banned.
@Mego I personally know that JavaScript has Caprica Six, who replies to users that have never posted in the room before, and links them to guidelines and such
Infinifactory is a puzzle video game developed and published by Zachtronics Industries, released on June 30, 2015. The game was later released on PlayStation 4 in December 2015. In the game, the player takes the role of a human abducted by aliens and forced to construct assembly lines to create certain objects for apparently-nefarious purposes. The game combines elements of Zachtronics' previous SpaceChem and Infiniminer, with the assembly lines being built from blocks in a three-dimensional space.
== Gameplay ==
Infinifactory is a puzzle game, structured as several sets of puzzles based on various...
What do you mean? Learning BF is trivial, it's mainly coming up with algorithms that fit the memory model. I don't know if tutorials are the right way to learn that, if such a thing even exists.
@Qwerp-Derp You don't need to have an import statement to get stuff from test.pde (if it one is a class and the other is the actual sketch, but both are .pdes). At least I think that's what you mean
> The idea behind establishing this convention was to eliminate noise generated almost every time someone comes in and greets using some form of day-time based greeting, and then channel members on the other side of the globe start pointing out that it's different time of the day for them.
Emulate an RPN calculator.
Your calculator must do:
Simple math +-*/
Simple trig sin cos tan
Less simple math sqrt ^
You may use your local math library at no cost; e.g., #include <math.h> or import math as m does not count towards your byte count.
So, When I run your program with nothing o...
@Mego I don't think that "exoteric" is something known by most of the population, so really, he is (and I am) one of today's lucky 100,000,000 or something. :P
Often, answers to questions asking for "programs" or talking about "programming languages" utilize things like sed, awk, … in order to get around having to write an actual shell script.
Therefore, a question comes to my mind:
What qualifies as a programming language?
Sure, ultimately the OP ca...