« first day (2525 days earlier)      last day (2316 days later) » 
00:00 - 21:0021:00 - 00:00

12:00 AM
No idea, but command line arguments need to be formatted as strings to take input as strings, and this is the fastest way for me to do that.
Well, multi-word strings.
Or perhaps this is just the fault of my os.execute implementation.
 
@Zacharý I would totally move to Julia if it were more pythonic, but I find some of it's syntax part annoying
 
I find myself occasionally writing Funky syntax when writing Javascript, which makes me confused when my code won't compile.
 
The only language that I would actually LOVE and advocate for every purpose, would be if APL's terseness and a fully-fledged Fortress's actual mathematical-notation were combined
 
@ATaco I'm just trying to figure out what the equivalent APL would look like. Something like ⎕SH'python ../jelly/jelly eu ',Quote but I'm not sure what "Quote" should be.
 
Just wrap the input in "'s and escape "s, I suppose.
 
12:03 AM
@Zacharý You mean APL with more built-ins or do you really want precedence rules?
 
I want SOME precedence rules, like basic arithmetic.
 
@ATaco You also have to escape backslashes, newlines, null bytes.
 
Like ⌈...⌉ instead of , and not using for assignment
 
%q handles that, but for simplicity sake.
 
@Zacharý Why do you want the irregular syntax with twice as many chars used?
 
12:08 AM
Math. Best would be allowing both... somehow.
 
@Zacharý Ugh. So you want ! to be post-fix too?
 
! should only be postfix if you add some syntax.
 
@Zacharý No offence, but this is beginning to sound like quite a mess.
 
Oh god, I'm recreating perl
except with special symbols (more so than the 4 that Perl already has)
 
@Zacharý Why not for assignment. What do you propose instead?
 
12:11 AM
Overloading =? Python did it way back in 0.9.1
 
@Zacharý How do you do inline assignments then?
 
a=b=c would be inline, a=b==c or a=(b=c) would be a←b=c
 
@Zacharý Nooo! Double-glyphs!
 
This would probably be more inline with Fortress's specification than APL.
I also have the stupidest idea ever of combining Mathematica, Fortress, and Prolog ... that's not a good idea.
 
@Zacharý I'll just stick with APL. It's not perfect, but it is pretty darn good.
@Zacharý CMP: Yeah, let's conjure up the silliest PL combinations we can!
 
12:15 AM
Yeah, I'll stick with APL, D, JS, and Python. They do what I want, whether terseness (and $850), doing types RIGHT, web, or support
@Adám I think that's how Fortress was born... honestly
 
Good luck doing Types right.
 
@ATaco I meant compared to C and C++
 
How does C/C++ do it wrong?
 
int[] a instead of vector<int> a.
 
I prefer int[] a.
vector<int> implies the type is vector using the generic int, where as int[] says what it really is, which is a bunch of int elements next to eachother in memory.
 
12:18 AM
int[] a in D is not like int a[] in C/C++. int[] a is a dynamically sized array. Also, I don't have to deal with pointers in D (the REAL reason I program in it_!
 
@Zacharý Ah, you mean whether the type is main characteristic of the array or whether the dimensions are?
 
Also, vector is implied to be dynamic, where as int[] is not, which is correct for C.
 
Hm, wonder how Java×Jelly would turn out…
 
D's int[] is not static...
 
Good thing I specified C.
 
12:19 AM
@Adám Like charcoal, a verbose mode. And OOP as well, basically, it'd actually be pretty decent if done right
 
And I believe D was created by the Devil to coax good programmers into Sin.
 
Assembler×Brachylog
 
@Adám That would be weird
WebJS style brachylog?
Running on pure logic?
IDK
 
@Zacharý Maybe something like you express the conditions for your designated memory, and the language will figure out what to put where to satisfy that.
 
Let's not dwell on pointless idea
 
12:22 AM
Javascript × Java.
It's just more verbose Javascript.
 
@ATaco Uh.
@ATaco No, they are pretty much opposite in everything.
 
@ATaco = TypeScript-ish
@Adám Except Syntax ... they're the exact same there
 
@Zacharý Right. But still…
 
Yeah ... these seem like a bad idea.
@ATaco That ... is Lua. :P
 
Alternatively, Javascript × Lua = Funky
With some other languages for flavour here and there.
 
12:29 AM
Fortress × D × APL × Prolog × Mathematica × Sympy
Is a horrible idea ... to many ideas to fuse
 
I can't find any other languages that use $ for comments however. Although I'm sure there is atleast 1.
 
@Zacharý Imagine if every Mathematica built-in had and APL symbol?
 
... that'd be Unicode
Just start assigning Chinese Characters
 
@Zacharý No, they have to be as suggestive as the current APL symbols.
 
= Impossible
Start assigning chinese characters by meaning :p
 
12:34 AM
Remember, Mathematica has a Builtin for detecting goats.
 
@ATaco That's easy: 🐐︎
 
Actually, it was something like Detect["Caprine"], so it would probably be 🔎🐐
 
So EmojiCode × Mathematica
 
@ATaco No, in APL it would be 'Caprine'🔎︎text.
 
12:40 AM
(🐐🔎)⊢image, to be specific
 
Or maybe as a fuzziness operator modifying : ⎕PATTERNS.Caprine⍷≈0.5
 
Unless 🐐︎ happened to be a builtin for the text 'Caprine', then (🐐︎🔎︎)⊢image
 
@Zacharý You don't need parens or for dyadic functions or monadic operators.
 
I'm stating that it would be an operator
rather than a function
 
@Zacharý But clearly it is a monadic operator (not sure why, if it only takes arrays on the left), so it doesn't need parens.
 
12:42 AM
I barely know either APL or Mathematica, so I'm mostly guessing here.
 
@ATaco That seems a bit excessive. So far, APL only has one constant with its own symbol: meaning an empty numeric vector.
 
If this actually results in a language, that'd be insane
@Uriel, welcome to discussing APL × Mathematica, where every built-in is a symbol!
 
So each symbol costs 2 bytes...?
 
@Zacharý I think emojies are irrelevant to APL. We have enough available symbols on the non-emoji Unicode portion
 
@Zacharý There is no particular reason we couldn't interface to Mathematica like we already do to C, R, and Python. And assigning a glyph to something that can be written as APL code is a 2-minute job (e.g. and ).
 
12:45 AM
Actually, I have done some work on an APL-resembling language with many built ins
 
Anonymous
@user202729 Sure, but if you only need 2 bytes to do literally anything and everything, that's still pretty good
 
@user202729 Depends on your chosen encoding.
 
This is not going to be implemented, obviously.
 
@Zacharý Well, I do have access to our source code…
 
About 5000 symbols... at best it's about 1.54 bytes.
 
Anonymous
12:46 AM
@Adám UTF-16, probably, because the fixed 2 bytes per character pays off if you use lots of different characters (versus the 1-4 for UTF-8)
 
@Mego Right. NARS APL has already gone fully UTF-16.
 
@Adám I'm talking about the fusion of APL and Mathematica, not an interface
 
If there's one thing APL needs, it's a build in for indexing the Newyork subway stations.
 
@Zacharý But it would be easiest to just make APL glyph covers an call Mathematica. Kind of how we can already call .NET.
 
NARS APL, AKA πππππππππππππππππππππππππππππππππ
 
12:47 AM
@ATaco Wait, don't we have that?
 
That's not golfy, of course.
 
Anonymous
Though there are some Unicode codepoints that require 4 bytes in UTF-16, it's still a net savings over UTF-8
 
At least I remember NARS as πππππππππ
 
@Zacharý it wouldn't be practical. Mathematical inclined coders that does not like to reinvent wheels either already have loaded APL libraries, or use some langauge with English named functions, like Mathemtica or Matlab
 
Anonymous
@ATaco Like Mornington Crescent, but American
 
12:49 AM
@ATaco I believe mathemaica has such built in
 
Of course there can be somebody who implement a golfing language by Mathematica × APL. But...
 
Who would spend the time to implement that ???
 
@ATaco Ah, I see we only support barcelona copenhagen london madrid milano paris petersburg and tyne & wear. Hm. I'll have to fix this. The job to update these is already assigned to me (issue 7361 in our internal bug-tracker).
@Uriel No, I think there was a CMC like that once.
 
@Adám It does have print to stdout and read from stdin... for file I/O it's possible to Python-eval.
 
It was referenced in the OEIS challenge.
 
12:53 AM
@Zacharý I think I just admitted to
7 mins ago, by Uriel
Actually, I have done some work on an APL-resembling language with many built ins
 
Wait ... dfns has subway routes? Or am I horribly mistaken
 
Jun 7 at 18:33, by Downgoat
CMC: output all metro stops in continental US in JSON or KML format
 
Not Mathematica-based though
 
Unfortunately Dyalog is very Europe-biased…
 
Wait does APL Actually have a method to index Subway/metro stations in Europe..?
 
Well I'll be damned.
2
 
Dyalog has a brainfuck builtin
So ... And Morse Code
And lisp
And an APL parser IIRC
 
Dyalog on Windows also comes with a full GUI Tetris and a juggling pattern visualiser.
 
@Adám what do you do when a new station is added?
 
Anonymous
@Uriel git push
2
 
12:58 AM
Delete System32
 
Anonymous
@Adám Dyalog also comes with a GoL implementation, right?
 
 
 
That combination makes comic sans look good
 
@Uriel Assign the job to me ;-)
@Mego It has for a very long time, but now in the latest version we added a built-in (similar to Mathematica's CellularAutomaton).
 
Anonymous
1:01 AM
@Adám Excellent. New task: use the CA builtin to implement Tetris.
 
@Mego Uh, that's already done no?
 
Anonymous
More reasonable: implement VarLife in APL
 
Anonymous
@Uriel I'm quite aware :)
 
Implement tetris in GoL in APL
 
Anonymous
@Adám I meant directly in APL, rather than loading the monstrosity that we created :P
 
1:03 AM
Implement GoL in Tetris
 
Anonymous
@Uriel Tetris isn't TC
 
@Mego Oh, well, if you have the rules, it should be fairly trivial. Using my Stencil golfing language which is just a thin cover for the new built-in, GoL is 4 bytes: 3∊me
 
@Mego hmm. New task: Turing completify tetris
 
@Uriel Eh, Tetris can't really compute or store anything, so how is this different from just implementing any random TC language?
 
You now have 3 cover thin languages?
 
1:06 AM
@Zacharý ,⍨
@Zacharý Yes.
 
@Adám that's clever
 
@Adám Eh?!
 
Anonymous
@Uriel But then it wouldn't be Tetris
 
@Zacharý 'thin cover ' ≡ 'cover ',⍨'thin '
 
I read it as monadic, but then I still wouldn't've understood it.
 
1:10 AM
pdf link fail
 
cringe
 
the whole site is like this too
 
Hey, which programming languages come with Spider Solitaire built-in?
 
Dyalog APL, presumably?
 
Does Batch count..?
 
1:18 AM
 
^
 
@ATaco Nah, Windows comes with it, but isn't a programming language. Batch just calls Windows' game.
 
0
A: Sandbox for Proposed Challenges

user202729Add TIO link to messages! code-golf internet sandbox-add-more-tags-here It's annoying when you have to search for a language homepage, get its link, and add it to your SE comment/answer, right? Let's write a script to do that for you! Challenge TODO write challenge Rules Case sensitive or...

 
I'm pretty sure Windows98 falls under our definition of a programming language.
For, some reason.
 
1:21 AM
@ATaco Specifically W98 and not other versions?
 
@Uriel Is that a challenge?
 
I'm using specifically W98 because to my knowledge all versions of W98 were shipped with a version of Spider Solitaire.
 
@ATaco Oh, so guess that makes two.
 
UNLESS one distinguishes built-in and library function
 
Of course, it's probably a bit too pedantic to say "APL is one of the few programming languages, besides Windows 98, to come shipped with Spider Solitaire"
 
1:24 AM
@Zacharý Yeah, technically both W98 and Dyalog has it as a library function.
@ATaco Dyalog APL was first though. The code says Andy 03/06/93
 
APL doesn't, not even Dyalog APL. Just Dyalog APL under Windows ;(
 
@Zacharý It may actually work under Wine.
 
When was it put into Dyalog though? Surely a bit after.
 
@Zacharý Next line reads Version 1 (I know what the next release of APL/W has in it)
 
Wine is only for people who want to get drunk. And I'm underage ... so no
 
1:26 AM
You're not underage in Australia!
 
What's the age for Australia?
 
18 to purchase and drink at public venues, under that it's still legal for minors to drink in private property with the consent of their parent or guardian.
 
Australians are nuts
 
Australians are some of the biggest consumers of alcohol on the planet, despite this, the most commonly sold alcohol is Beers.
 
@Zacharý I'd guess Version 6.3: October 1993 or maybe Version 7.0: August 1994.
 
1:30 AM
Everything's bigger in Australia, I guess :p
 
We Aussie's like our drink.
 
wóó
Czech Republic is #1
Didn't expect that
HA, Brits drink more than Germans!
 
1:52 AM
@Zacharý hmm no, I think only a few countries have 21 age restriction like the US. most of the others are 18 [citation needed] [credibility limited]
 
Honestly, ban alcohol due to detrimental affects, lift ban due to organized crime outbreak. Rinse, repeat
 
@Uriel In Denmark, there is no age restriction on alcohol consumption.
 
We can't be trusted with anything in the good ol' united states of 'murika
 
@Zacharý Hm. England has permitted drinking age 5 (!) - except in emergencies (!?!)
 
@Adám England has many weird laws, mainly because some of them were issued several centuries ago
 
1:59 AM
Emergencies? Is that when the only liquid on hand is alcohol ?! More like AlcohoLOL.
 
@Zacharý Judge: Why did you give your baby gin? Father: It was an emergency, sir.
 
@Zacharý a field surgery might be a use case
 
... brits are weird
 
@Uriel They seriously need a special clause for that? Aren't most "crimes" exempt when in an emergency?
 
Murder's exempt in an emergency, is what you're saying? 'Cause what's a "crime" and what's a crime?
 
2:03 AM
@Adám I wouldn't think so. One can't justify a crime for an emergency just because he thinks the emergency is more important. So yeah, you need law to say this is something that can be ignored under certain circumstances
 
@Zacharý Yes. If somebody tries to kill somebody else, and you instead kill them, it would technically be murder, since you did it intentionally, but you're exempt.
 
I'm asking what classifies an emergency in these cases
 
@Adám that wouldn't be so easy in many justice systems.
 
@Uriel But I'd expect a general clause rather than a specific one for every criminalised action. Like v'chai bahem.
 
... explain for those who don't understand the italicized text.
 
2:05 AM
@Adám Judaism is actually the most serious about not inflating the value of certain laws under certain circumstances (tav'a sfinato bayam)
 
@Zacharý It is a principle in the Bible that we must live by them (i.e. the commandments) and not die by them: Almost all commandments (all but 3) are set aside in order to save life.
@Uriel "The most" as is more than all human legal systems?
 
Sorry, was a bit confused by the the Jewish-looking italicized text
 
@Adám yeah, but I haven't checked them all
 
@Zacharý No, I'm happy you asked.
@Uriel You're probably right. I shouldn't expect human-designed legal systems to be as sensible as the divinely designed one.
 
...No one should expect humans to be reasonable, we may have reason, but that doesn't imply that we're reasonable.
 
2:14 AM
@Zacharý Humans are reasonable. Sometimes their reasons don't make sense
 
Varying definitions.
 
:41972995 Exactly, that's the key argument for that
 
@Uriel As you wish. Anyway, we're solidly in V'dibarta bam territory... again.
 
@Adám well, eventually these aren't only Jews specific stuff, so...
 
@Uriel True, but our discussion is based on a certain - what shall we call it - mindset?
 
2:18 AM
@Adám hmm, wasn't reaching the right mindset defined as the ultimate goal of every kind of philosophy?
 
@Zacharý Humans are certainly prone to suggestion. Over a thousand years' of the church (often literally) pounding Judaeo-Christian values into people have led most to think that what they feel is right and just is really their own judgement.
 
Literally pounding it into their heads? How would that work? Banging them with a hammer?
 
@Zacharý exactly. Never heard about the Spanish Inquisition?
 
@Zacharý Yup, exactly.
 
Quitely steps out of the conversation
 
2:22 AM
I mean pounding the values into their head ... that's sorta impossible.<sarcasm> And ATaco seems guilty of something ... :P </sarcasm>.
 
@Zacharý No it isn't. If you hit people enough, they will usually agree to act according to whatever value-set you tell them to. Then their children grow up in a home of such observed values, etc.
 
@Adám you don't necessarily have to beat them. The common way was just to kill a few. I believe the Roman term was "decimations"?
 
Still not literally pounding the value into their heads. That's pounding them until they accept the value. The values don't physically enter into their heads via pounding, but indirectly. Maybe it's just English being stupid with its ambiguity, we probably just have different ideas of what "literally" was modifying.
 
@Zacharý Whatever. You get the idea.
 
Yep
 
2:29 AM
(just noticed that for the first time ever, I think, all but one message on the starboard is directly connected to me)
 
@Zacharý hmm, in a few years needles to the brain will actually make the literal way a real thing
 
Well, cя. And all of 'em seem connected to you from me.
 
@Zacharý "see ya"?
 
Still wouldn't be pounding the ideas, it would be pounding physical objects which enforce ideas, which is a step closer.
As in "see you later"
 
@Adám persumably
 
2:31 AM
Values aren't physical things, so it'll always be impossible
 
@Zacharý Yeah, have a good night.
 
@Zacharý you'd beat the neurons practically. anyway, you get the idea (or better, you don't)
 
@Uriel Have an easy fast.
 
@Adám you too. timer for half an hour rn
 
Anonymous
3:06 AM
I see I missed a very pleasant discussion
 
3:20 AM
0
Q: XOR sort an array

ATacoXOR sort an array Given a key, and an array of strings, shuffle the array so that it is sorted when each element is XOR'd with the key. XOR'ing two strings To XOR a string by a key, XOR each of the character values of the string by its pair in the key, assuming that the key repeats forever. Fo...

 
4:15 AM
1 spam moved to Trash
 
 
2 hours later…
6:09 AM
CMP: which two colors out of {red, green, blue} would you find most intuitive for representing 0 and 1, respectively?
 
0
Q: Requiring an objectly array in JavaScript

l4m2Sometimes when requiring an input in JavaScript, we need an array and a number as input. Usual function input method is (a,b)=>a[b] or a=>b=>a[b], but can I require to input the array with extra property a=[1,2,3];a.p=2;f(a) so function be like a=>a[a.p] ? If allowed, does it have extra score?

 
@DLosc Green as 1, Red as 0.
 
7:08 AM
@ATaco Hm, okay--tapping into the "green = go, red = stop" association, maybe?
 
7:53 AM
@DLosc Yup, same here. But to represent binary data, I'd rather go with high vs low contrast.
 
 
1 hour later…
9:20 AM
0
Q: Dynamic programming

user77149Count the number of palindromes of length S you can build using an alphabet of size N such that any prefix of size between 2 and S-1 is not a palindrome.

 
10:10 AM
@WheatWizard "No action needed" on this first post seems a bit light...
 
11:09 AM
@Dada Agree., not a serious contender. But it's currently the shortest Ruby...
Uhh... operation flashpoint wins? Looks like I will have to find some cool programming language...
 
11:52 AM
 
12:29 PM
 
 
1 hour later…
1:39 PM
0
Q: Input handling and multibyte character answers

DanFromGermanyMany PHP answers contain fgets(STDIN) as this takes input, which inmo is fine. Many many other programs just assume the input is automagically put in a variable x and work with x, counting as a single byte, althogh the input has not really been taken. Which way is best? Another thing is, many...

 
0
Q: Creating a smallfuck interpreter

VortexYTI would consider the word "fuck" to be non-profane for the purposes of this puzzle. Where I got Smallfuck from: So, some of you will know what Brainfuck is. It is an esoteric programming language that operated on a series of bits, each initialized to 0, and edited by the programming language sy...

 
2:13 PM
The first time I get the "you've voted on answers for a while, vote on questions too" notice...
 
@user202729 Happens to me sometimes too — Careful, don’t miss Electorate! :P
 
I see. I'm still at 31%...
 
2:25 PM
Ugh, I've just experienced the agony of Hexagony... memory management is, to put it lightly, unpleasant
 
That's probably why it's called hexAGONY,,,
 
@NieDzejkob I find the code management unpleasant. Memory management is fine as long as you don't try to make an array.
 
2:57 PM
0
Q: 2017 SCRAM Finder

wnnmawBackground The nuclear industry has term, SCRAM, used to describe a quick shutdown of the reactor. There's a fun myth that it stands for "Safety Control Rod Ax Man," the role which served to shut down the Chicago Pile if it got too hot by literally cutting a rope with an ax (although this was d...

 
3:11 PM
@Zacharý Is that much bold really needed?
 
No
That better?
@Mr.Xcoder
 
https://codegolf.stackexchange.com/questions/150113/ascii-hexagon-chain

What do I do if there is no hexagony answer?
 
@LiefdeWen Whatever you want to do. That's a limitation of SE, bounty is finite.
 
@Zacharý Yeah thanks.
 
There is an idea of using a dummy account to store the bounty...
but that's generally considered cheating.
Whatever you want to choose.
 
3:20 PM
If I do nothing it goes to the most upvoted right?
 
Half of the amount.
 
@LiefdeWen IIRC half goes to the top answer and the other half is gone
 
Currently I'm trying to use other format to see if it makes coding easier...
 
What "other format"?
 
I am trying to write the hexagony answer, and I am trying to use linear wrap instead of mirror around on top.
3 nested loops...
 
3:26 PM
Hello! I was doing some exercises on Clash of Code and had one challenge with a very long string, which had to be compared to a slightly similar string but with typos. The rule was to have the smallest code. Obvious solution was to store the string in a variable, which takes up a lot of space. I tried storing it through a decoded zlib string (unicode characters?) but it was causing issues with their interpreter.
What's the best way to deal with these kinds of things? I'm pretty new to codegolfing in general...
 
Which language is this in?
 
Python, sorry :)
And I was using zlib, which uses gzip
 
Python2 or Python3?
 
Python2, but I'm interested in a Python3 answer too!
 
So kolmogorov complexity compression?
 
3:29 PM
Yes :) And decompression
base64, base128? The higher the number, the best the compression?
 
What does the string consist of?
 
@Nepho Depends on the string content.
Also, [English grammar] The higher the number, the better the compression is better.
 
It was a plain text string. Something like "Sometimes when I get drunk I do some mistakes, and can even forget periods!"
So, [a-zA-Z,.!? ]
 
Space too.
 
Yup
 
3:32 PM
Let's see... each character can be 57 characters, and it seems that you can't use all characters (???) so at most 95 printable characters.
At best it would be about 0.888 characters per byte in golfed code, not sure if it worth the effort of writing decompressor.
Generally if you don't have a huge English dictionary, compressing English can't go too far.
 
Of course, remove all unnecessary whitespace 1 and=>1and, and obviously remove comments
 
It seemed like the best way to process both strings was to split on spaces, so I doubt removing spaces would have worked well
 
@Nepho Zacharý meant to remove whitespaces in the code.
 
Oh, yes I know about this
So, no insanely effective way to diminish/compress these English sentences?
 
And make sure you don't use variable names with more than one letter
 
3:37 PM
I know this one too :D
 
They don't allow Jelly :(((
 
Good, because somehow we still get answers and questions here as if this was Stack Overflow >_<
 
@user202729 Doesn't seem to help. The loops messes them up.
I think Hexagony Colorer is both screen resolution unfriendly (you also need to open text editor) and keyboard unfriendly (most operations must be done with the mouse).
 
3:55 PM
@Zacharý does MY have a dictionary based compression capabilities?
 
@Uriel No ... or at least not yet. Once I get around to having 0xFF essentially extend the atoms, then I'll probably just rip off Dennis' dictionary. And anyways, it won't be helpful since MY has literally zero syntax.
Oh, that reminds me: I should get to work on implementing/stealing the code for the atoms
 
4:15 PM
@Uriel ... if I had any clue as to how to do syntax, I probably wouldn't be writing a golfing-language.
 
4:33 PM
Speaking of MY ... one of my fonts displays as two diagonal lines
 
5:07 PM
This question is proving quite divisive: +11, -9
 
5:30 PM
0
A: Sandbox for Proposed Challenges

James Holderness3D ASCII Block Building code-golf ascii-art Challenge Write a program that takes an 11x11 array of integers, and constructs a 3D ASCII block building, where each value in the array represents the height of a column of blocks at the coordinates matching the array position. A negative height is ...

 
5:43 PM
I'm currently sandboxing a KOTH where users code their own versions of bots from this game - would people be interested in this?
I've never written a koth, so I'm quite out of my depth.
 
how do the rounds works?
 
If you go towards the end of the game, there's a "circle" where every player plays every other player, and the losers are eliminated - I might attempt something along those lines.
 
in the game, the losers are eliminated as you say, but the winners also multiply, do you want this bit in the koth as well?
 
hmm.. That's what I'm trying to figure out.
As the objective of KOTH is to pick a single winner (I think?), I could just run a everyone-plays-everyone with every submission, and pick the winner (probably run it a few times to find an average if there are non-deterministic solutions)
 
are you going to set constant rewards/penalties throughout all the rounds?
what about the signal interference, is that going to be present?
 
5:49 PM
Probably not, I'd like the game in its core form without mistakes
Unless you think that would be a nice improvement to the challenge?
 
I agree with you
 
What did you mean about rewards/penalties?
 
the rewards/penalties that you receive after the opponent and you choose your move
-1/+3 for cooperate (C)/not C
 
I think so.
Actually, I might change it, and at the start of each round signal this to the bots - it might add for more interesting, complex submissions.
 
Without me actually playing this game... it looks like iterated prisoner's dilemma?
 
6:03 PM
Yep, that's it
 
34
Q: 1P5: Iterated Prisoner's Dilemma

dmckeeThis task is part of the First Periodic Premier Programming Puzzle Push and is intended as demonstration of the new king-of-the-hill challenge-type proposal. The task is the write a program to play the iterated prisoner's dilemma better than other entrants. Look, Vinny. We know your cellmate...

There's been a couple prisoner's dilemma KOTHs
 
Well, at least now I can write my own bot without having to write the full challenge too :P
 
Well, I think they are all "closed." So someone would have to write a challenge if you want to get a fresh leaderboard. Although, it would be recommended to add some kinda of twist to make it more original.
 
maybe the twist could be the changing rewards
 
That's what I thought, but I'm wondering how I would change them.
Would each bot player every other bot at each possible different reward level? (I guess it has to be that way, picking the rewards randomly for each match isn't fair)
 
6:23 PM
"each possible" how many possible rewards do you want?
 
To be honest, I might just ditch this idea. Reading through, it looks like prisoner's dilemma has been done to death
 
@Dada Sorry I looked over it and thought it looked good, I didn't know ruby enough to realize it was not golfed. Probably could have seen the variable names were a little long.
 
7:04 PM
Last minute feedback on this question before positng:
1
A: Sandbox for Proposed Challenges

Wheat WizardTitle needed Your task is to print the text Good morning, Green orb!, with every letter repeated in place as many times as the most frequent byte in your code (the mode). For example if your code was print p Since p appears twice and every other byte appears once you would need to print GGo...

 
@WheatWizard what about command-line arguments, how do they affect the mode?
 
They don't they are not part of the code
 
7:51 PM
0
Q: A Programming Puzzle of Mode Golf

Wheat WizardYour task is to print the text Good morning, Green orb!, with every character repeated in place as many times as the most frequent byte in your source (the mode). For example if your source was print p Since p appears twice and every other byte appears once you would need to print GGoooodd ...

 
@DJMcMayhem The mode-golf challenge is up now. I thought I'd let you know since you had a V/Vim answer or two.
 
8:08 PM
Mode golf
hehe
 
I wanted to call the entire challenge mode-golf, but it was too short :(
 
i got 444 points
(in mode golf)
 
00:00 - 21:0021:00 - 00:00

« first day (2525 days earlier)      last day (2316 days later) »