@ΛεγίωνΜάμμαλϠΨΠʹ At this point we should probably just post the challenge at the start of the new year, as per one of the original plans. (@HelkaHomba)
I had forgotten about that, actually. @HelkaHomba Any way I could message you privately so I can send you the time capsule string? My email is in my profile description so you can send something to that and I'll reply.
@KritixiLithos Is this all I have to do for the circle function?
function circle(radius1, num1, xPos, yPos) {
translate(xPos, yPos);
var x = 0,
y = -radius1,
m, n,
angle1 = 2*PI/num1,
points = [];
for (var i = 0; i < num1; i++) {
m=x;
n=y;
m=x*cos(angle1)-y*sin(angle1);
n=x*sin(angle1)+y*cos(angle1);
x=m;
y=n;
points.push([x, y]);
}
return points;
}
We should make a time capsule string. Everybody gets to add one character and next new years we'll see who can make the best program out of all the characters with the esolangs that exist then.
This is based off a previous deleted challenge of mine with the same name
Introduction
You are tasked with writing a program that returns a truthy or falsey value based on if the input has all its XML-like1 tags appropriately opened and closed and in the right order. Consider the following as i...
I found a CJam answer by @MartinEnder in the form of an anonymous function that only works if the stack contains exactly one element (the input list) when it’s called
While I broadly agree with Mego's answer, I find that it leaves a few important cases as implications, and I think it would be clearer to spell them out explicitly.
I admit that the answer you linked isn't very explicit about how stack-based I/O works for functions, but there is a sort of unwrit...
Goal:
Given any natural number k such that k<256, produce an deadfish program that gives the smallest solution possible.
Background:
Deadfish is a joke esoteric programming language. It has a single unsigned byte of memory, called the accumulator, initialized at 0. There are four commands whic...
"These tags can also contain attributes like foo="bar" (with required quotes, or else invalid and falsey), and the attribute name and value can contain any alphanumeric character except \, , or /."
Could someone please read the bottom paragraph of my java quine - the meta rule I linked would let me cut down bytes, but I'm not sure if it's too cheeky
@FrenzyLi Sorry I don't know git, maybe it's a better idea if you just copy the whole repo to your account and use that, I really have no experience with the branching/merging/pull request stuff.
@flawr and a pull request can also be for updating the main branch, if there are multiple people working on separate parts of a project at the same time
@flawr a "fork" on github is different from a fork regularly - a fork on github is when somebody what's to change your code so he copies your repo adds, changes, and sends a "pull request"
Grow Till It's 2017
I'm not sure what tags I need besides codegolf. It isn't quite metagolf, so are there other applicable tags?
In this challenge you'll be building a program that grows as it traverses through the ages… Until it's 2017.
Challenge
Whenever this challenge description says “pro...
if someone tries to sign you up for spam, but then his router crashes, that doesn't change anything about the fact that that person tried to sign you up for spam
The presents have been opened. The mince-pies have been eaten. The Star Wars have been watched. The Christmas Season is beginning to wind down. By now you may well have pulled a few Christmas Crackers. If you're lucky, instead of the usual useless plastic toys, you may have won a Mystery Cal...
In the context of artificial neural networks, the rectifier is an activation function defined as
f
(
x
)
=
max
(
0
,
x
)
,
{\displaystyle f(x)=\max(0,x),}
where x is the input to a neuron. This is also known as a ramp function and is analogous to half-wave rectification in electrical engineering. This activation function was first introduced to a dynamical network by Hahnloser et al. in a 2000 paper in Nature with strong biological motivations and mathematical ...
Today is Bacon Day which is probably why the name of the hat for participating today is "Mmmm Bacon". What better way to celebrate bacon day with fun filled 2d matrices made out of bacon! A 1 by 1 bacon strip is represented by this:
-----
)===)
(===(
)===)
-----
You goal here is given t...
This challenge is a simple ascii-art one. Given two inputs, describing the height and width of a Lego piece, you have print an ASCII art representation of it.
Here is how the Lego pieces are supposed to look:
(4, 2)
___________
| o o o o |
| o o o o |
-----------
(8, 2)
___________________
|...