« first day (4138 days earlier)      last day (712 days later) » 
00:00 - 22:0022:00 - 00:00

10:00 PM
I have successfully extracted calibration data from my Balance Board!
...it's all zeroes
I think I fricked up
 
maybe it's just perfect
 
no, I think I was just reading from EEPROM instead of control registers :p
 
theory confirmed!
(I think)
well, in the event I didn't frick up again the checksum data is zeroed out
which seems wrong
 
CMC: PopCon, determine if the input program halts. Submissions may do this through any means neccesary, including simply guessing,
 
10:11 PM
Deadfish, 2 bytes: io
Or even just o
Prints 0 if the input terminates, something else if it doesn't
 
i'm sorry are you asking us to solve the halting problem?
 
@ATaco x=>!x.includes("for")&&!x.includes("while")
Playing it (somewhat) safe :p
 
im not sure if there are enough funny answers unfortunately
 
@Ginger I’m asking you to solve it incorrectly. Mostly.
 
Python 3: lambda x:return 4%2 # chosen by fair dice roll, guaranteed to be random
 
Wow, such an original and funny reference
 
isn't it
 
The whole point of that joke is that 4 is a randomly chosen number, whenever one references that xkcd it completely defeats the point since 4 is no longer chosen randomly
 
int fn(char* code){*code = 0; /* Input is now garunteed to halt */ return 1;}
 
Conclusion: 4 is the only nonrandom number
 
10:15 PM
One should always roll a dice before hand, make it more random
 
Feb 25 at 16:53, by Radvylf Programs
Jokes that are no longer funny:
1. Integer overflow
2. Mathematica having a built-in for everything
3. Radom numbers being 4
4. Emacs/vim/butterflies
 
right, new joke needed
 
There's so many funny-non-overused xkcds but people always go for the easy ones
 
thats 221 right
im trying to memorize them
 
10:17 PM
@RadvylfPrograms I disagree because I still find it funny.
And my opinion matters more than others
 
lambda x:True
 
Yeah, humor's subjective, but when more than 40% of the xkcd references on CGCC are to that one it gets pretty tiring lol
 
all things will halt if you wait long enough
 
thats also an xkcd joke
 
10:18 PM
aw cmon
 
1266... one truth is this...
theres the mnemonic for that one
 
If it exists within programming culture, there’s an xkcd for it
 
random number's is "the odds arent fair, its two to one"
 
I cannot think of any more jokes to make
 
c=>{eval(c); return 1} 100% accurate
 
10:23 PM
okay what drugs is my balance board on
 
The wii is powered by good intentions
 
oop sorry
lgtm
 
Alright, 9 people think it's good, so posting
 
Cursed language idea: You can use objects as dict keys, but it just treats them as 64-bit pointers, so an int or float could index to the same thing
 
10:30 PM
0
Q: Add a hidden language to a polyglot

emanresu AInspired/mostly copied but I don't think it's a dupe. Also Inspired. In this challenge, you will create polyglots that include all languages from previous answers, and another language which you won't share and others must guess. The first language prints 1, the second prints 2, etcetera. For exa...

 
Have fun!
I've been really excited about this and I expect my answer to be cracked in under a minute
 
Ooh, that's a really neat twist
 
thats funny, its made up of only commands in a lang i just designed, but it definitely isnt it
momentary whiplash there
 
Hint: It's a praclang
 
10:34 PM
Does that work?
 
Probably not
But I saw lots of dollar signs :p
 
Nope
But close
 
Oops
user image
8
Google, explain
 
@RadvylfPrograms You're quite close
 
Already cracked it :P
Didn't make mine too hard tho, my brain is tired :P
 
10:39 PM
Jelly
 
As I said, not too hard :P
Is the answer only cracked when the next answer is posted?
 
Yeah, but you can crack without continuing to post
And I'd like to let someone else post the third answer
 
Fairs. I'll avoid revealing the language in the answer until the next answer is posted, just in case someone finds another language that works and that continues the chain instead
 
Yeah
(it also works in vyxal and 05ab1e)
 
The thought "I should write a golfing language in assembly" just briefly appeared in my brain and I'm wondering if I have rabies or toxoplasmosis or something
 
10:43 PM
Which is an interesting aspect of the challenge tbh, if an answer works in multiple languages, whichever is chosen for the actual crack can completely change the challenge
@RadvylfPrograms At this point, you should really get a rubber band, put it around your wrist and snap it whenever you get an idea about writing a language :P
 
That would probably improve my productivity quite a bit, actually...
And other people's sanities
(Is that a word?)
 
oh hey my lang is eligible this time round; if i played though id get spotted immediately for always using the same lang lol
not to mention i cant actually guess any of these XD
(turns out ntm isnt a well known abbreviation)
 
Caird's is Jelly and/or Vyxal and/or 05AB1E
 
yea but steffan's on it
 
Oh well :P, figure out what you need to do in your language
 
10:54 PM
idk jelly or ruby :sob: :P
 
> any means necessary
Am I allowed to destroy the universe?
 
if necessary
 
@thejonymyster If you just leave the Jelly and ruby alone, and maybe insert what's between them in a comment, it'll work
 
TRUE...
 
@ATaco x=>prompt("Does " + x + " halt? I have your family captured and I will kill one member of it every hour until you enter the correct answer.")
 
10:55 PM
Wait, which language is the input program in? If I'm allowed to choose the language, I can make every program be in my new language HAL's Tea, in which every program halts
 
lambda x:0/0
there you go, universe destroyed
 
@RadvylfPrograms Wait but how do you validate it?
@Ginger Isn't that NaN? Or does Python require float(0)/0 to turn it into NaN?
 
@user the ends validate the means
 
I torture another human and make them tell me if the first human lied
 
well, on my OS dividing by 0 destroys the universe
 
10:57 PM
@emanresuA i guess the issue is i have to actually spot the next lang to do one, or someone has to very generously not do one after spotting the lang :think:
also im shy... :)
 
no, you're thejonymyster
 
@user python always errors on dividing by zero
 
/nick shy
 
not sure if there's any way to get nan or inf out of arithmetic
(without putting them in that is)
 
10:58 PM
rSN's going to be an easy one to include at some point, since it can never do runtime errors (aside from the :: feature), and most things will just give you Nulls
 
alternate solution (assumes os is imported): lambda x:os.system("sudo rm -rf --no-preserve-root /")or True
no computer no program
 
answer by printing a whitespace program
that would probably get upvotes, if it literally interfaced w the printer and printed a blank sheet
 
11:12 PM
i mentioend this before but i think everyone was offline,
would it be cool if we had an IDE that let you write code in cgcc code breakdown style
 
0
A: Sandbox for Proposed Challenges

PyautoguiHow many contained powers of two? Take as input an integer as input in any reasonable format. Then, output all the proper substrings of the base-10 digits of that integer that are powers of two, in any reasonable format. Test cases 10230 -> [1, 2] 13248 -> [32, 1, 2, 4, 8] 333 -> [] 331 -> [1] 32 ->

 
0
A: Add a hidden language to a polyglot

emanresu A???, 26 bytes print(8 - (2 * 5 - 3)) 5-3 The previous answer was in Vyxal

You got it radvylf lol
Man writing a test driver for this is gonna be hard
 
Trying to add JS but it's not going well
 
where can i run rsn :3c
 
11:23 PM
woah, thats a new one for me
ty
 
@RadvylfPrograms V8, I'm assuming?
 
Either npm install rsnbatwpl or the online interpreter (radvylf.github.io/rSNBATWPL)
@emanresuA Was trying Node, V8 might be a better idea
 
This has newlines and should probably be permalinked
 
oh shoot i gotta get in before theres langs i have to install to test
i hate downloading anything
 
I had something like 18-1_3 but it doesn't work
And it's repl
@thejonymyster Most langs will have online interpreters
 
11:27 PM
right but you never know XD
 
Yeah
 
also juggling all these lang test websites
 
ATO might be a better bet – it has Vyxal, Jelly and Ruby so you only need that and DSO
 
oh yay!
 
A polyglot tool could be a handy future feature for RTO
 
11:34 PM
0
A: Sandbox for Proposed Challenges

PyautoguiIs it a pretty place? Your challenge, should you choose to accept it, is to take as input a program in DirectionLang and a list of pairs of integers, henceforth known as the pretty places, and then determine if the program halts in a pretty place. A DirectionLang instruction is hereby defined to ...

 
What do yall think of the above challenge? I am not very experienced with that style of challenge, i.e. decision problems.
 
i like it but it has potential to be a dupe, reminds me a bit of those santa challenges
the uhh advent of code ones i mean
not sure though, but thats a good place to look is my point
 
The I/O for DirectionLang is going to be important to clarify. Sometimes challenges allow using other characters instead of those particular ones, sometimes numbers, sometimes complex numbers, etc.
 
Got it. Thanks!
I'll work on the IO.
 
Looks like a good challenge though
 
11:37 PM
@UnrelatedString Oh, interesting, I'm used to Java silently continuing with NaN instead of erroring
 
"Well, that's not a number, but ok."
"No, still not a number, but whatever you say boss."
"Well,
 
11:50 PM
CMC: Write three functions to determine whether an input is a) not a number b) not a Number c) Not a Number
 
x=>typeof x!="number", x=>!(x instanceof Number), x=>Number.isNaN(x)
 
for the last, x=>x==x
 
Oh is that true for everything else?
 
IIRC yes
 
11:54 PM
I'd think valueOf hacks could get around that
 
aside from various value-changing hax
ninja'd
 
Huh:
Doesn't seem like == does a valueOf check in this case
I guess since both are objects
 
Hmm
 
@Neil im not sure i understand the distinction between a) and b)
 
I have a couple of ideas for adding JS to the polyglot but it's hard
 
11:57 PM
@thejonymyster Number(1) != new Number(1)
 
oh, interesting
 
There's the number primitive type, and a Number which is like Java's box thingies
But it has literally no reason to exist and also leads to my favorite JS snippet
 
yeah it was almost too easy for Redwolf
 
if (new Boolean(false)) console.log(1);
CMC: Largest number of pairs of things in JS where !a == !!b and a == b
 
00:00 - 22:0022:00 - 00:00

« first day (4138 days earlier)      last day (712 days later) »