Date Recurrences
Given three non-negative integers y, m, and d (of which at least one must be positive) and a valid date with a positive year (in any reasonable format that includes the year, month, and day, and no additional information), output the date that is y years, m months, and d days af...
@user202729 I always thought this was dumb. The two top questions on SO are about a debugging a branch prediction fail, a highly low-level optimization nuance, and a Git question that is literally searched for so often it gets almost as much traffic as the homepage
These are not the stupid questions getting thousands of upvotes that is envisioning
they are appropriately scored, in the first case by the effort put in and in the second case by its value to people from all walks of experience
My computer crashed and I reinstall it over a new disk with chrome and the OneTab extension.
However, I can't find where OneTab is storing my data under my former disk.
I used this answer Where does Chrome store extensions? to go to the folder but there is no file dated close to the computer cras...
So the timeline was: - Old hard drive was used for booting in laptop. - Laptop got coke in it. - After laptop was determined to be fine, old hard drive would not boot, but would work externally. - New hard drive procured for internal use in laptop. - Am now trying to find specific files from old hard drive so that I can retrieve data from them
Collapsing Matrices
Related: Let's design a digit mosaic, Print/Output the L-phabet
Sandbox post here
Given 2 inputs C = columns and rows, S = starting point output a matrix as follow:
Input 4, 3
1 2 3 0
2 2 3 0
3 3 3 0
0 0 0 0
Explanation
Given C = 4, S = 3
1) Cr...
I am plotting out a longish story, which would have the following number of characters:
Main/ reasonably significant characters: Nine
Characters still vital for the story to work:Thirteen
Side characters, named, with a little detail because they are colleagues/relatives of the character whose ...
Originally on this challenge I banned built in matrix functions but people complained about it. I then removed the ban but there were few interesting answers given and some people complained and said there should be no built ins.
So what should I have done? In my opinion, I am for banning built ...
@Zacharý Have you tried using ⎕NA? I'd think you can even call D functions directly with ⎕NA. And for the other way, you can package APL as dll, and I think Linux shared library too, but I'm not sure about that. If not, then we're working on it.
Given a list of v variable names and a list of exponent vectors, output a string representation of the name of the polynomial. The exponent vectors should be vectors of integers of length v+1 where the first element of the exponent vector represents a coefficient and the other elements represent ...
In the spirit of Solve the Halting Problem for Befinge, let's define another 2D language called Modilar SNISP. Modilar SNISP has the following six instructions:
\ directs the instruction pointer as follows:
if approached from the top, go right;
if approached from the right, go up;
if approach...
@Pavel I'm not sure or if you even can. I'd have to ask John Daintree, but I'm not in the office until Monday. You could ask on SE or the forums or email support@.
Say a D file (test.d) has the function definition int f(int a){return a;}. I compile the D via gdc test.d -shared and acess the function in APL via ⎕NA 'I <path>/a.out|_D4test1fFiZi I'.
I think I got it now. I figured out how to pass an array to an extern(C) function (via pointers, probably same thing with a D function that uses pointers).
Given a list of variable names and a list of monomials, output a string representation of the name of the polynomial. The monomials should be represented as pairs [coefficient, vector of exponents] where the vector of exponents has the same length as the list of variable names.
Combine like term...