Would the equivalent of curl -X GET https://redacted -H "authorization: ApiKey redacted" be the equivalent of var request = (HttpWebRequest)WebRequest.Create($"redacted"); request.Headers["authorization"] = "ApiKey redacted";
I just understood this: "I'm so meta even this acronym" I thought i got it but over a ~1 year i was still not realizing it and NOW I UNDERSTAND THE ACRONYM IS "IS META" I GOT IT!
I ran into this problem while working on another challenge I'm making for this site. In that challenge I utilize "Mario Kart 8 Scoring". The amount of points the player in kth place gets is represented by this 1-indexed array: [15,12,10,9,8,7,6,5,4,3,2,1]. So 1st place gets 15 points, 2nd place g...
No. Community is the only "person" who can delete something as spam/offensive, since it acts on the cast flags. quartata and nimi cast regular delete votes.
// Santa.js
var list = [];
for(var i=0; i < 2; i++){
list.check();
}
var nice = [];
var naughty = [];
list.forEach(child=>child.nice?nice.push(child):naughty.push(child));
Who will win Ghost?
code-golf strategy-games word-games
(Sorry if these tags are completely off from what actually exists...)
The game of Ghost is played between two players who alternate saying a letter on each turn. At each point, the letters so far must start some valid English word. The l...
Come to think of it, that's not even formatting, that's just string interpolation.
IMO there are some cases where String.Format makes sense, while $"" supports all the advanced formatters, it makes it far less readable if you actually use them.
Implement a basic two-dimensional esolang code-golf
There are lots of two-dimensional stack-based esoteric programming languages out there, and lots of them follow a very similar syntax:
v redirect instruction pointer down
> redirect instruction pointer right
^ redirect instruction pointer up
<...
I would say... whether or not it's sociopathy depends on whether she did it for kicks a couple times or if she lives her entire life forging other people's handwriting.
I actually think that would be a pretty cool ability to have, to be able to adjust handwriting like that.
But before I do that I suppose I could attempt to get my left hand up to par.
When I run apt-get upgrade on my Ubuntu 17.04 machine, sometimes it starts Dwarf Fortress by itself.
It has happened already at least two times, so it was probably not just some sort of one time thing. Also, the execution of the apt-get upgrade seemed to be paused until I manually quit the Dwarf...
You can with global foo, but the point is if you have a global x any reference to any x that isn't explicitly qualified to be a member foo.x should be a reference to the global one.
It wouldn't be bad if, say, to use globals you always had to qualify it with global.x. But currently if you just see a reference to a varaible x, it isn't clear at a glance wether it's referencing the global or instantiating a new one.
The UnnamedLanguage<T> quine is currently s="s=%qprint(s%%s)"print(s%s), which is loosely based off the lua one. print((s="print((s=%q)%%s)")%s) also works, but it's 2 bytes longer.