« first day (1790 days earlier)      last day (3351 days later) » 

00:00
TOO MUCH BUTTER
5
ಠ_ಠ
who's controlling that?
@Maltysen Mod-edited.
@Doorknob冰 YAAAAS
:help is broken
2/10
00:04
@MartinBüttner did you?
@Doorknob冰 fix it
@quintopia I think I have an idea, but I don't understand isaac's examples.
I don't see how something can be associative but not closed
Closed as not associative
@Doorknob冰 You're using the unstable v0.1.1. The current release is 0.1.0, if I'm not mistaken, so things are bound to be a little iffy.
@quintopia you can basically construct two "cubes" from the matrix. a) take the matrix, and on each cell with value x, "stack" the x'th row of the matrix. b) do the same to the transpose of the original matrix. if the resulting cubes are identical, the operator is associative.
but this requires closure.
00:07
@MartinBüttner Associativity does require closure, I'l add that to the definition
@isaacg you have an example that is not closed but associative though
But closure + commutivity != associativitity
Yeah, that's a mistake
could you add an example for that?
0
A: Sandbox for Proposed Challenges

SuperJedi224Vector Encoding Optimization code-golfprimes A positive integer can be converted to a vector of integers as follows: -Find its prime factors, expressed in the following form: (carry this product out to as many terms as needed, in theory it continues ad infinum but it is not necessary to car...

I....I just saw SunAvoider accelerate straight into the sun!
It just happened to spawn where it was directly facing the sun!
    if (angDiff > 0) {
        actions.push("turn left");
    } else if (angDiff < 0) {
        actions.push("turn right");
    }
No wonder... :P
00:10
@MartinBüttner The last 2 examples are both closed and commutative and not associative.
hmmmm
oh, I see my mistake
I think my general approach still works but you can't check for equality of the two cubes, but you have to check that they are equal under some rotation or transpose which I can't wrap my head around right now
yeah, I think it's rotation about the main diagonal
"rotate a 3D array about the main diagonal" might be an interesting simple-ish code golf
I got an upvote on this literally 1 second after I posted it.
@AlexA. Adnan had been waiting for you for 3 hours, staring at the question for the grey Ajax bar to pop up
Hahaha
^^
00:21
Haha a bunch of upvotes and nobody noticed it's wrong
The computation is correct
But I forgot to output the first n
This gives the nth
I am disappoint.
Still better than the other answers
@MartinBüttner Hello, disappoint. I am Alex.
@El'endiaStarman the set user bot code does not work on firefox...
^_^
@AlexA. You'll make a great dad.
00:23
@El'endiaStarman
@CᴏɴᴏʀO'Bʀɪᴇɴ Aww, shoot. Really?
ReferenceError: setUserBotCode is not defined
 spacewar:1:1
¯\_(ツ)_/¯
So, I'm developing an IDE and I created full support for emacs, vim and sublime key maps. Which should be the default one?
Weird. Refresh?
00:24
@Adnan Can I return an array?
Works for me...
@AlexA. actually, this was an SMBC last week: smbc-comics.com/index.php?id=3959
@AlexA. Yes
k its working
forgot to select it
@Adnan kthx bb
00:25
One of my friends had to hard-refresh five times once, but it did eventually work.
@El'endiaStarman Okay! I have the official random bot written
@MartinBüttner I was thinking about making cubes as well, but then I thought there must be an easier way somehow.
1 hour ago, by BlockCoder1392
@El'endiaStarman Wheres the challenge? I want to post my randbot
@quintopia There might be, but at least I'm convinced this one works ^^
You guys are so unimaginative. :P
00:26
0
A: King of the Hill - Spacewar!

Cᴏɴᴏʀ O'BʀɪᴇɴRandUmmm This challenge needed a random bot. Bonus points for golfiness? function RandUmmm_setup(t){ function P(n,t,r,o,e,f,g){for(o=[e=1<<(f=n.length)];e;)for(t=e.toString(2),r=g=t.length,o[--e]=[];r;)~-t[--r]||o[e].push(n[r+f-g]);return o}var q=P(["fire missile","turn right","fire engine"...

Hey, I'm working on a real bot
I finally can use Engineer from TF2
Hey, whadda you know, this works great now. :P
oh the spacewar koth is finally posted? hurray!
@CᴏɴᴏʀO'Bʀɪᴇɴ Uncaught TypeError: botVars.move is not a function - line 9 in the bot's code.
huh?
it works fine
on my
I can try it in Firefox.
00:29
it should work universally
@El'endiaStarman <!-- language-all: lang-js -->
I get the same error. Wait, there's actually another one before that: team is not defined. That might be my fault.
spaceteam is not going to make it in time for the holidays :(
@El'endiaStarman Might be. XD
Blame the gremlins
@quintopia I'd like this KotH to be a long-running one.
00:31
the cube rotation challenge might not be that interesting after all in languages that have a transpose operator
@CᴏɴᴏʀO'Bʀɪᴇɴ Oh, nope, it's yours.
@El'endiaStarman ಠ_ಠ
function RandUmmm_setup(t){
in CJam the solution is :zz or z:z depending on the rotation direction you want
00:32
@AlexA. There is a $300 reward if you prove that every positive integer is in that sequence or not
@El'endiaStarman It should work now
@MartinBüttner hahahahaha
oh oy i totally forgot to delete my post from the sandbox. I had it highlighted and everything and then got distracted. Thanks @MartinBüttner
@quintopia no problem
@Adnan As much as I'd love to have $300, I have no idea how to prove that.
00:33
@AlexA. Proof by execution.
reloads shotgun
.________.
2 appears surprisingly late
this reminds me of the shotgun sequence (even before Conor mentioned shotguns...)
@MartinBüttner :3 did I mention SHOTGUNS?
@CᴏɴᴏʀO'Bʀɪᴇɴ Nope. You changed "move" to "m" in the first function, and not the second...
SDFJv ipbsajfonugisrkgrjalndouiwsrkjgf s
00:35
:3
wait yeah I did!
haha
With that fixed, it works.
> return b.m();
oh
XD
Oh, whoops, that's my fault, actually.
I only copy-pasted the first function.
00:37
Okay, the whole thing works. Good!
Pushing now...
o_o the sun avoider bot fell into the sun o_o
Well, yeah, that happens sometimes...
It's a really rudimentary avoidance algorithm... :P
I sort of want to make a bot that tries to stay in one place
You could use the same code but change the target and the direction of turn.
writing a bot for a realtime continuous game seems difficult
00:38
It's not really that hard.
The whole game loop is normally less than 2 milliseconds.
well that depends on how thorough the API is
...you read the post, right?
i fell asleep halfway through
00:40
lel
the big pre describing botVars overwhelmed me, and I sank beneath the waves
...and you say "depends on how thorough the API is"?
Pitting RandUmmm against RighthandedSpasms now. :P
We finally got to the 8 q/day
2 more to go :)
anyway, the API seems fairly minimal. there's no function for "get angle to sun" for instance. or "give coordinates of next 100 positions at current vector". so basically, ythe bot has to figure everything out.
example1.js
 example1.js:2:33
main.js
 main.js:6:3
test.js
 test.js:3:2
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
 d3.min.js:3:9847
SyntaxError: missing formal parameter
 main.js:5:0
@El'endiaStarman
00:43
o.O
What did you do?
@quintopia Well, yeah, I'm not going to make it easy for you...
And plus, I don't have those functions written...
that was me >_<
New bounty
12
Q: Play Antichess!

J Atkinhttps://en.wikipedia.org/wiki/Losing_chess This is basically Chess Tournament, but for antichess ;) Antichess is one of the many chess variants that have been invented. The goal is to lose all your pieces (this may seem a little odd, but it's called antichess for a reason). The rules The rul...

@El'endiaStarman did you ever play BFJoust
00:45
Oh, by the way, first game: 7-6.
0
Q: Maximal Substring Construction

Nathan MerrillIn this challenge, you are passed two things: A string length, N A list of strings, L, each with an assigned point value. Any string that is not passed in has a point value of 0 You need to construct a string of length N such that the sum of all substring points is as large as possible. For...

@quintopia No.
@El'endiaStarman why not
'cause I've never heard of it?
Until now. I don't even know what it is...
sad dayu
12
A: BrainF***edBotsForBattling - A Brainf*** Tournament

Lymia AluysiaNyuroki Magical Fantasy I think it's about time to get serious~ I finished up my compiler for a little HLL to make writing BF Joust programs easier. This was my first serious attempt to make something with it. The bot's concept is pretty simple. It sets up a few decoys of varying polarities, the...

00:48
8-7 second game. Third game: 6-10.
@quintopia Ah. Well, I don't code in BF...
..... yet
Maybe not ever.
I've got lots of projects and more-fun stuff to do.
actually thePPCG version of BFJoust was a poor substitute for the real thing.
we all have fun stuff to do, but BF Joust is fun too...don't rate its funness until you've tried it
Yeah well...I don't see BF as being fun to code in, and the ideas I have are a lot more exciting to me.
"D3 ideas" on my whiteboard: radians/degrees demo, explosive percolation (graph theory stuff), freeze tag simulator, force of gravity simulator (where you can change the gravitational formula), eigenvalues demo, matrix multiplication demo, toroidal gravity, double pendulum, and Spacewar! data (a bunch of graphs of all sorts of things).
the researcher hat is ugly :/
00:54
@quintopia All of the hats are pretty ugly tbh
At least this year
flip flop is pretty dapper
@El'endiaStarman FYI, JavaScript's style prefers the namedFunc style over named_func, the latter being more pythonic.
which language has the cleverest name of all languages
@CᴏɴᴏʀO'Bʀɪᴇɴ Funny you should say "pythonic", considering that I am first and foremost a Python programmer... :P
@El'endiaStarman that's why I said it ;)
I can tell you lot.
00:57
Ah, haha.
@quintopia Seriously?
Pythonic? More like chthonic, amirite?
@quintopia 05AB1E
is that suppose to read as "usable"?
@El'endiaStarman \o/ made the worst sun avoiding bot ever: hyperspace if it gets too close.
01:01
@CᴏɴᴏʀO'Bʀɪᴇɴ as funny as that is, I think Pyth is more clever
@quintopia I didn't even see that haha
doesn't hyperspace make you blow up randomly?
@quintopia Thanks!
@quintopia it teleports you to a random place with an N% probability of blowing up
yeah that's pretty much the worst then
@isaacg it doesn't hurt that to date, Pyth programs have been some of the pithiest around
01:03
0
Q: Properties of Binary Functions

isaacgMany important topics in abstract algebra involve a binary function acting on a set. A number of properties of such functions have been defined in the investigation of such topics. Your challenge will be to determine whether a given binary function on a given domain possesses five of these prope...

starts the countdown to a MATL solution
@quintopia If you interpret the title as hexadecimal, and convert it to base64, it gets you "Base"
does that relate to the nature of the language somehow?
It used to have advantages in base conversion
But now it's more used for sequences etc.
01:23
2
Q: Does the string contain 2016?

JojodmoGiven a string input, your task is to write a program that prints a truthy value to STDOUT or equivalent if the input contains "2016" anywhere in it without using any built-in contains, match, replace, or alike functions. A truthy value also must be printed if the input contains "2016" with the ...

@NewMainPosts This guy seems to love
Hey @El'endiaStarman I think I'll write the options to manipulate gravity, etc.
is that okay?
Options?
Oh, like configurable settings?
Sure, go ahead.
01:30
I want to test, say, without hyperspace destroying a ship
:D YAY
Well, if you want to do simple testing like that, I think you should be able to just set it with the console.
Yeah, but it may be nice to have
and I'm bored
and I can't look at Simplex without sighing
haha, okay
Just...at least sorta finish what you start, yeah?
Yup!
Are you talking generally, or for this project?
Well, more for this project, but it'd be a good idea in general too. :P
01:33
Kay. I'll finish what I start on this project, for sure. (Where is the HTML kept? On your site?)
Yeah.
Hmm. Could be a bit hard for you to work on that...
yeah ^_^
I'll probably just use some HTML DOM magic
Yeah, that shouldn't be too hard.
I can migrate it to the actual HTML file after you're done.
@CᴏɴᴏʀO'Bʀɪᴇɴ Are you testing on your own computer?
Actually, I just realized that you can simply copy all of the HTML/CSS and JS files to a folder on your computer, and open the HTML file in your browser.
@BlockCoder1392: Oh good, we can continue communicating in chat. Try testing your bot without "turn left" in its moves list.
02:11
2
Q: Draw a Christmas Star / Stellated Dodecahedron

steveverrillPaper stars are a big thing in my family at christmas, so I thought a virtual one would be cool. Below is an image of a regular dodecahedron (from https://en.wikipedia.org/wiki/Dodecahedron, attributed to the author mentioned there.) The process of stellation (wikipedia) when applied to a pol...

02:23
@AlexA. @Doorknob冰 So when is meta.codegolf.stackexchange.com/questions/7683/… likely to take effect if it does?
Sure, ping the mod that isn't even in the room, but not me...
:P
@Dennis Sorry, didn't recognize your new clothes
@Dennis
There, pinged. Happy? :P
As a clamp. :)
......I'm not sure if that's a yes or a no. (It's actually "happy as a clam".)
02:27
Happy as a cjam
That being said, we don't really know when or if it will happen. We had to know the community's opinion before presenting our case to the higher powers.
def return_value(value)
  return value
end
There are no typos. Just lack of googling.
02:31
@Calvin'sHobbies The relevant people in the company have been notified. I have absolutely no estimate on how long they'll deliberate or what their decision will be.
They were notified on the 14th of this month.
@Calvin'sHobbies 6 to 8 weeks
@AlexA. lol lel lal. Why are i u y left out?
Because Lil Wayne ruined i.
02:47
@LegionMammal978: In response to your comment, not necessarily. Just do stuff like botVars = info; at the end of the setup function, and something like var game = gameInfo; at the beginning of the getActions function, that sort of thing.
function x(){
var y=document.createElement("div"),z=document.createElement("input"),q=document.createTextNode("Missiles: ");z.value="30";z.type="number";z.addEventListener("change",function(){window.missileMax=+z.value});y.appendChild(q);y.appendChild(z);

document.querySelector("#playfield ~ p").appendChild(y);
}
@El'endiaStarman
@CᴏɴᴏʀO'Bʀɪᴇɴ Eh? What do you want me to do with this?
03:13
200 stars to go !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
till critical mass ofc :)
...you're really making me want a GameCube and Melee more...
@El'endiaStarman mario fan?
Oh, you were talking about Super Mario Sunshine?
I was thinking Super Smash Bros Melee for some reason.
@Calvin'sHobbies There have been no CH challenges for weeks now ;_;
03:28
shh... don't provoke him
....DO provoke him! He's supposed to provide us with the 10 challenges/day we need to graduate!!!
Just sandboxed a new challenge!
It's about music
/me now has 8 fully written challenges and 4 partially written ones in stuff.md
I thought @NewSandboxedPosts liked me :(
@ThomasKwa 1/10 not a challenge
@Dennis Wait for it...
I like apples.
@Dennis me too
So I see on the starboard that you're human
03:34
@PhiNotPi You da Sandbox champ!
@ThomasKwa Just a minor confusion due to Alex being wrong.
@AlexA. I've been staying in a house without internet
is @NewSandboxedPosts even here?
@ThomasKwa It can take ~20 min
@Calvin'sHobbies Whose house?
@ThomasKwa You thought wrong
03:36
Let me simplify this.
0
A: Sandbox for Proposed Challenges

Thomas KwaAre these notes musical? code-golf music Background Musical notes are arranged in octaves, and there are 12 notes in an octave: A A# B C C# D D# E F F# G G# in that order. In this challenge, they will be represented by the numbers 0 through 11. (Let's say, arbitrarily, that 0 represents A.)...

@ThomasKwa Sorry, I was taking a shower.
hahaha
Lies! Robots can't shower
03:37
Waterproof ones can.
Maybe he doesn't shower...
don't gender the bot
@AlexA. A Sasquatch's
@Calvin'sHobbies I thought all sasquatches had blazing fast internet
04:32
Congratulations on your HNQ @El'endiaStarman
Thanks! :)
Trying to make a ramming bot.
First iteration isn't really very good.
@El'endiaStarman what kind of beast is that?
It tries to hit your ship with its own ship. :P
04:47
@El'endiaStarman ( ͡° ͜ʖ ͡°)
05:09
-1
Q: How many elves does santa need to deliver gifts?

JojodmoSanta needs some help determining how many elves he will need to help him deliver gifts to each house. Coal is considerably heavier than presents, so santa will need three elves for every naughty person in the house. Only two elves are needed to help santa carry presents. On santa's map, a hous...

05:23
@NewMainPosts At least 2
...what is UP with Jojodmo posting question after question?
And as far as I can tell, he's (or she's) not using the Sandbox...
Nope
05:41
What do you guys think of this post now? I've made several edits to the specs
4
A: Sandbox for Proposed Challenges

dohaqatar7Counting Quipu code-golf number Quipus are an ancient device used by the Inca in the Precolumbian era to record numbers in a base ten positional system of knots on a cord. The system is rather simple and not so different from our own. Each cluster of knots is a digit, and there are three ma...

@Sherlock9 👍
Alright then, I'll post it after lunch
Lunch? It's almost 10pm! :P
Bloody timezones :)
haha
05:50
> almost 10pm
it's 00:48
AH! Now I can place your timezones! UTC-8 and UTC-5
I'm in UTC+7
Incidentally, do you guys know why Coordinated Universal Time is abbreviated as UTC?
@Sherlock9 I'm in UTC-8, Pacific time
Fixed it
Maybe it was UT first, and they added the C later
Coordinated Universal Time (French: temps universel coordonné), abbreviated as UTC, is the primary time standard by which the world regulates clocks and time. It is, within about 1 second, mean solar time at 0° longitude; it does not observe daylight saving time. It is one of several closely related successors to Greenwich Mean Time (GMT). For most purposes, UTC is considered interchangeable with GMT, but GMT is no longer precisely defined by the scientific community. UTC was officially formalized in 1960 by the International Radio Consultative Committee in Recommendation 374, having been initiated...
> The official abbreviation for Coordinated Universal Time is UTC. This abbreviation arose from a desire by the International Telecommunication Union and the International Astronomical Union to use the same abbreviation in all languages.
> English speakers originally proposed CUT (for "coordinated universal time"), while French speakers proposed TUC (for "temps universel coordonné"). The compromise that emerged was UTC,[8] which conforms to the pattern for the abbreviations of the variants of Universal Time (UT0, UT1, UT2, UT1R, etc.).
I was just about to quote that :D
05:54
Ninja'd!
ninja'd, in the common parlance of this chat
You ninja'd my ninja'd!
Samurai'd!!
I was half expecting you to yell that I ninja'd your ninja'd so I could yell that you ninja'd my ninja'd my ninja'd
05:57
I'm far too lazy to keep an exchange like that going :P
Yeah, and I probably would have called it at four
06:18
1
Q: Counting Quipu: Base 10 in the New World

Sherlock9Quipus are an ancient device used by the Inca in the Precolumbian era to record numbers in a base ten positional system of knots on a cord, which works as follows: Each cluster of knots is a digit, and there are three main types of knots: simple overhand knots; "long knots", consisting of an ...

4 minutes this time. Not bad
@Sherlock9 I really want to do this challenge in Quipu :D
07:08
0
A: Sandbox for Proposed Challenges

DowngoatParenthesize an expression Recently I've been writing a new language, to avoid needing to handle order of operations, I simply parenthesize each expression properly to avoid this entirely. Because they are only 10 numbers in base-10, your code will need to be as short as possible. Examples ...

07:41
Guys I really recently realized that I reached 15k rep!
3
@Justin Hey, congrats! :D
08:02
0
Q: Hamilton is coming to town

AmporaIt's almost Christmas, so Santa has to plan his route. You're helping him, for reasons unknown. Santa needs help planning the route and wants you to give him a solution, but since you're all ungrateful and unwilling to give to the man who has given you so much, so have decided to give him a prog...

08:28
Is anyone on?
:D
yes
How's it going?
christmas eve :)
:D
Alright, well I saw this tab open and came to say hi, but now I'm gonna head off. Night all.
08:32
night
09:07
Has there ever been a book/book series that has been made into a movie/movie series where the resulting mainstream merchandise (toys, video games, and such) has been based off the books and not the movies? It always annoyed me growing up that harry potter legos and lotr games were always based on the movies, when the books have so much more depth, so much more to offer.
2
@AlexA. Go for it :D
09:27
Welp, I should have kept that post in the Sandbox longer. There were ambiguities I didn't catch the first several passes through it
It's only been up for a day and already 10 upvotes?!?
10
Q: Analyse your Chair

wizzwizz4This challenge is based on Downgoat's Adjust your chair. Challenge You just adjusted your new chair! It fits you perfectly. However, the wheel is squeaky and you know the repair people will change the adjustment. Problem is, you don't have a ruler, so you'll have to write a program to measure i...

:-)
09:52
11 upvotes!
Why is Meta rep so laggy?
Well, I realized that I hadn't upvoted your question yet so here you go
As soon as I can get my head around a Python answer, I'll post it. I almost have the logic, but I've got church to attend before I can really play with the question
In the meantime, have an obvious plug :D codegolf.stackexchange.com/questions/67603/…
10:16
Woah. I just got O Tannenbaum. And it's the 24th. I think we did damage the spacetime continuum with self-replies!
11:02
Is it appropriate to advertise questions here? I've seen a lot of people (myself included) doing so.
As long as you do not spam=)
Ok then, I won't spam. Just point you up to my previous ad. ^^^
Let's see if we can get another PPCG question onto Hot Network Questions. 11 upvotes so far within 24 hours of posting.
What is the criterion for hnq?
11:33
@flawr I think it's the top questions considering both votes and views, skewed by relevance to the site / question you're viewing at the moment.
11:44
0
A: Sandbox for Proposed Challenges

Element118Rearrangement Inequality: The Sequel code-challenge Read the previous version here. Your mathematics teacher looked at your test results on inequalities. Not good. Hence he decided to give you some homework on inequalities. Since this is about inequalities (how unfair), he decided to give eac...

11:55
11
Q: Analyse your Chair

wizzwizz4This challenge is based on Downgoat's Adjust your chair. Challenge You just adjusted your new chair! It fits you perfectly. However, the wheel is squeaky and you know the repair people will change the adjustment. Problem is, you don't have a ruler, so you'll have to write a program to measure i...


« first day (1790 days earlier)      last day (3351 days later) »