« first day (2383 days earlier)      last day (2461 days later) » 

6:01 PM
bye
alias what="echo 42"
 
what
 
it worked
 
what; rm -rf / --no-preserve-root
 
@trichoplax I'm actually on the side that simple challenges are kinda bad and uninteresting, but that's a whole different topic :P
 
6:04 PM
@ConorO'Brien I expect we both have a line where a challenge becomes "too simple", even if that line isn't in the same place, but if something is too simple a back story only wastes time, and if it's not too simple then presenting it briefly seems better
 
@trichoplax but then you get yelled at because you don't even have three sentences
 
@StepHen three sentences in challenge spec, not back story
 
@ConorO'Brien Incidentally, I'd be interested to know whether my sandboxed challenge is the wrong side of your "too simple" line...
 
@totallyhuman but then if I add a backstory, it's extra fluff :P
 
@StepHen Plenty of spec is good. Redundant backstory doesn't define it any more clearly
If it's well defined in a couple of sentences, why add anything?
 
6:07 PM
@trichoplax not at all. I'm talking about challenges like "implement this simple OEIS sequence", "reverse a string", and the like
 
@ConorO'Brien ready to cream my 11?
I mean, 18?
 
Um... does New Meta Posts exist anymore, or nah?
I guess I'll just play the part:
1
Q: Is a quine that reads a function's source a cheating quine?

Step HenSo, in the last couple months, I have seen several (especially JavaScript) quines told that they are cheating because they stringify a function. Accordingly, I thought that was the standard - it's reading its source, of course it's cheating. Wikipedia's section on cheating quines includes the fo...

 
@trichoplax sometimes a backstory can help provide a visualization of the task at hand, and might give a person an idea as to how to solve it one certain way
@MDXF I have 23 locally, trying to fit more in (new answer tho)
 
:O
Crap
 
@ConorO'Brien I don't mind brief back stories...
 
6:09 PM
agreed, don't write an essay of backstory. A paragraph is usually all that's necessary
 
Also I think simple challenges need it less. A interesting way of thinking about a complex challenge can make the difference between people bothering to try it and not.
Thanks undownvoter! :)
 
(I didn't downvote it btw lol)
 
Does anyone know Beam?
 
is that one of cyoce's language?
 
No it's on esolangs.org
which is down
 
6:12 PM
@MDXF archive.org exists
 
ETH implemented it
 
@totallyhuman wtf?!?
 
huh?
 
what is that??
 
6:13 PM
@totallyhuman for me I had to take off the s in https
@MDXF a mirror of esolangs.org?
 
Me too
@StepHen huh that's weird
 
1 min ago, by Step Hen
@MDXF archive.org exists
 
ಠ_ಠ lol
 
@HyperNeutrino I know what it is lol, it's blocked at work
 
6:14 PM
why when you have mirrors lol
 
@MDXF oh lol, I guess that makes sense
 
@MDXF oh lol
 
@MDXF oh lol
 
ಠ_ಠ
 
oh lol, 44 bytes would look cool
 
6:16 PM
Good idea
 
brb making oh lol lang
 
1
Q: Is a quine that reads a function's source a cheating quine?

Step HenSo, in the last couple months, I have seen several (especially JavaScript) quines told that they are cheating because they stringify a function. Accordingly, I thought that was the standard - it's reading its source, of course it's cheating. Wikipedia's section on cheating quines includes the fo...

 
@NewMetaPosts took you long enough
 
Too bad I'm in the middle of Forked, C+, MD XF esolang family, and Cubically 2.x
 
@StepHen you're acting like you're surprised
 
6:16 PM
@MDXF Cubically 1.x wasn't enough?
 
No it's just Cubically
Cubically 2.3 is Cubically, Cubically 2.4 is Cubically with a 4x4 memory cube, etc
 
I cannot believe that JS doesn't have a built-in array equals function
 
They're the only RO's I can remember
 
Riker is not an RO though.
 
@MDXF nice answer on the polyglot challenge :)
 
6:21 PM
@SEJPM Thanks!
 
I usually remember Dennis, DJ, Mego, tricoplax, and minxomat from off the top of my head :P
 
Are there any Pyth experts here?
 
ROs are trichplax, Mego, mınxomaτ, Dennis, DJMcMayhem, Doorknob, Martin Ender, Sp3000, xnor, Geobits, Alex A., El'endia Starman, and Chris Jester-Young
not off the top of my head
 
26 messages moved to trash
 
Thanks :D
 
6:26 PM
> mınxomaτ has invited you to join trash
 
@StepHen does that imply that he thinks that you are trash? :o
 
It's a bug ...
 
there's also the weird chat bug where the "show full text" part doesn't actually save any space and often takes up more space
 
@NathanMerrill it does you can do .every
 
@MDXF Just FYI, I'm on vacation with minimal internet access until next Tuesday, so I won't be around for much RO-ing
 
6:38 PM
Oh ok
 
No worries! Just letting you know :)
Obviously I'm around now :P
 
@DJMcMayhem (don't forget to) have fun
 
Thanks! Am so far :)
 
since the ROT13 challenge is old, CMC: ROT13
 
Vim: g?G
Or V: g?
 
6:46 PM
@totallyhuman Python: from codecs import*;decode(input(),'rot13')
 
lambda s:s.encode('rot13')?
 
@totallyhuman LookupError: 'rot13' is not a text encoding; use codecs.encode() to handle arbitrary codecs
 
0
Q: Is it wrong to ask for an answer that is not source code?

Rip LeebConsider king-of-the-hill challenges. Significant effort on the part of the challenge presenter goes into collecting the code entries and massaging them into a runnable state (language versions, compiling, etc). This effort can be reduced by limiting languages, but that also limits your audience....

 
>>> (lambda s:s.encode('rot13'))('blah')
'oynu'
 
6:48 PM
@HyperNeutrino he is using python2
deprecated into codecs in 3
 
@ConorO'Brien what effect would ha, zzzzz ja ha zzzzzd ja zkd have on a str program?
 
why'd they remove it
 
@MDXF probably nothing ? idk
 
It pops from an empty stack
 
6:49 PM
lol
 
but I Ctrl+F'd all the characters in definitions.rb and couldn't find any reason why it should
 
@totallyhuman maybe... cos it's as useful as import antigravity?
 
easter eggs don't have to be useful :P
 
@Downgoat that's not a equality check. That's writing my own equality check
 
also quit golfin in python3 :P
 
6:51 PM
@totallyhuman quit codin in python2
 
@totallyhuman I need to change my cp from unicode every time when moving to 2.7 console. I hate it.
 
@StepHen correct
 
the cool kids code in Python 1
 
@MDXF why it should what?
 
@ConorO'Brien pop from an empty stack
 
6:53 PM
@StepHen I actually started getting to know python2 for golfing purposes
 
None of h, a, z, j, d or k appear to pop the stack
 
@StepHen 0.9 is much better if you like your language missing as much features as possible
 
listcomp ;-;
 
@MDXF it doesn't, try that snippet by itself on tio
 
Oh duh I had a comma
I'm so brilliant ;-;
 
6:58 PM
Does anyone know pyth?
 
no, but I do know jolf
and jolf is basically less golfy pyth
 
This is downright hilarious, compared to the recent squabble about how is not objective:
> Then questions should be separated in two groups: questions with objective and well-defined winning criteria (popularity-contest is in that group because number of votes is objective) and second group with question which have subjective winning criteria
 
owat
 
from where?
 
3
Q: Is a quine that reads a function's source a cheating quine?

Step HenSo, in the last couple months, I have seen several (especially JavaScript) quines told that they are cheating because they stringify a function. Accordingly, I thought that was the standard - it's reading its source, of course it's cheating. Wikipedia's section on cheating quines includes the fo...

comment near the bottom
 
7:03 PM
How difficult is it to print an integer in Binary Lambda Calculus?
 
@StepHen very good question, thank you
 
How does one do output in Brain-Flak
 
isn't it implicit?
 
7:09 PM
also, new favorite C/C++ quote:
We use pointers because it's easier to give someone an address to your home than to give a copy of your home to everyone. — Rishi Dua Oct 4 '13 at 14:51
11
 
am i the only one who disagrees with dennis' post?
 
which post?
 
Context?
 
>.> hang on i thought people were just talking about it
3
A: Is a quine that reads a function's source a cheating quine?

DennisIt's not a cheating quine The meta post you quote contains the following example of a proper quine in CJam. {"_~"}_~ {"_~"} defines a block (anonymous function). It won't be executed, so it's left on the stack and printed implicitly when the program finishes. The following _~ pushes a copy of...

 
@totallyhuman it makes sense to me - string == function
 
7:11 PM
@totallyhuman I think I am but can't figure out why :/
 
a string is data
a function is code
also why has it been accepted o0
 
@totallyhuman because it satisfies me? :P
 
As an esolang creator, I implement functions as strings with a tag saying that the string is a function.
 
7:23 PM
@ASCII-only I've got division working, just a trivial change from multiplication. Also I've got decimals working... but numbers get too huge. I will show you what I got tomorrow
 
@NathanMerrill really? i'd understand your surprise if it was python or something... but javascript?
 
@totallyhuman What about languages where functions can be strings?
 
@NathanMerrill Here's the secret to programming in JavaScript: have low standards. If you expect JS to do something other languages do, you'll probably be let down. Be surprised when you find out all of the neat tricks you can do with it instead :)
 
@AdmBorkBork what do you mean by "can be strings"? a string that is evaluated later in the code as a function?
 
Sure.
 
7:34 PM
@totallyhuman Saved as a string, used as a function - including recursion, I assume.
 
$a = "Hello $args";&$a "World"; prints "Hello World"
valid PowerShell
 
@AdmBorkBork can you recurse?
 
Probably. I've never looked much into it.
It's not very golfy.
I don't think I have the syntax quite right, but the spirit is there.
 
so that's basically the equivalent of a format string?
what i'm saying is, something can either be code or data (which we've already defined)
a string is data
a function is code
a function evaluated from a string is data turned into code
 
$a={"Hello $args"};&$a "World"; There's the valid syntax.
 
7:38 PM
22-fold polyglot :o
 
which would be the equivalent of a='Hello %s';print a%'World' in python?
 
I don't know Python, so, sure? :-/
 
you can think of a function as a series of commands. For the sake of argument, let's assume that they're integers. You can construct a table of equivalences between integers and the commands that generated the integers, then reverse the process. The function here is no different than a structure containing a series of integers, and function stringification is hardly significantly different than string accessing
 
-1
Q: Game of life RLE format - line ending with number

kilonetI want to build a figure using it's RLE representation. I ran into a problem with "Lobster" figure, particulary with this part: 10bo2bo2$ How should I interpret '2' in the end of line? I have no clue because there are no symbols following it.

 
Hey y'all. Anyone from PPCG want to join us Puzzling people in a game of Contact or Codenames?
 
7:44 PM
e.g., if the function function x(y){ return y * 3; } became 1 25 0 2 25 4 3 0 5 1 0 0. you could readily obtain the original function from these numbers
@Mithrandir how does one play this game?
 
@ConorO'Brien which?
 
oh cool
 
@ConorO'Brien I hit 23
 
link?
 
At first I didn't totally agree it's a dupe but I've now VTC'd
All you're doing is printing constants so you might as well be making an answer for VIP
 
7:52 PM
 
"pencluded"
 
When I first posted my duplicate comment, I was thinking theoretically. However, it turn out that the winning answer currently is ending up with many constant sequences, so it's even more of a duplicate than before
 
@ConorO'Brien !pencluded, since the pen is not encluded
 
18
A: Polyglot the OEIS!

MD XF23 languages: C, C++, Cubically, rk, what, Bash, Morse, Ook!, str, Charcoal, Commercial, S.I.L.O.S, memescript, Forked, TRANSCRIPT, Braingolf, Fission, Arcyou, Beam, Beatnik, Cood, COW, Befunge-98 Over 1000 bytes >.< but I'm gonna go for the most languages. Hit Page Down about 8 times if you do...

 
8:02 PM
:/
well, at least my current idea is less than half the bytes
 
But I can get to 30 so bytecount won't matter :D
 
I don't still have 23 >.>
 
@MDXF can Morse do primality?
 
@StepHen It can't really do anything
 
It needs to be able to add and primality check to be used on PPCG
 
8:11 PM
not really, I remember reading that it doesn't necessarily have to do those things in certain situations
 
I think it was just for constant output challenges?
I don't really remember
 
nor do I
 
18
Q: Should answers to fixed-output challenges be written in a programming language?

Martin EnderWe have a definition of what we consider a valid programming language for answers on PPCG. (If you disagree with this definition, please do so on that other post, and not here.) The one type of challenge where people regularly tend to ignore this is for challenges with fixed output, i.e. mostly ...

meta posts are such a pain to find cc @BusinessCat @ConorO'Brien
 
we need like an index or smth
 
Why did I get Mortarboard on meta, if you can't get rep on meta? 0.o
 
8:20 PM
Because SE ¯\_(ツ)_/¯
 
Yaay, added 2 more languages to my polyglot...
I tied Luis!
 
I feel like all challenges are just too hard :_( I would love to do them but all the ones I answer are easy and net me no rep
 
tbh if you answer one of my challenges with a good answer, I'll probably upvote it
 
@2EZ4RTZ but I thought some people just want to answer trivial questions because they are fun :P
 
@2EZ4RTZ Try harder ¯\_(ツ)_/¯
 
8:26 PM
@StepHen yeah I am just not as good at this
@Mr.Xcoder gee thanks.
 
Lol, I now have 2 mini-polyglots in a polyglot :)
Now I have 3 mini-polyglots :) with 4 languages and adding more
 
0
Q: Do programs need to take input, if it is in the spec?

Step HenRecently, there have been some challenges involving the OEIS. Specifically, when given an index as input, the challenge spec involves output the item in the OEIS at that index. However, for constant sequences, there have been answers that discard the input because it is not needed to calculate th...

1
Q: Is it okay if a submission has an extremely small chance of not functioning properly?

R. KapFor instance, consider the following un-golfed submission in c to some code-golf challenge requiring the use of a while looping construct: void function() { int a, b; while(a != b) { // Do something } } Although the while loop would be invoked most of the time, there is...

 
8:42 PM
@StepHen Are you asking about something like PowerShell, where if you don't have an $args or param($n) or the like, the input is just dropped on the floor and abandoned?
Or about a language that takes the input but then doesn't do anything with it?
 
does TIO wrap?
(brainfuck)
 
at what point?
I have some code issues
 
@StepHen As long as the result matches the expected result for given input (even if the program does not use it), it is valid.
 
@AdmBorkBork I'm asking if, when the challenge spec says "take input", you can say "i'm not taking any input" if you decide you don't need it.
@Mr.Xcoder if you think so, answer the meta post and see what the community thinks
 
8:53 PM
Can I get help with a bit of BF? The problem is it is for a CnR so you couldn't crack it
 
Added Brain-Flak to my polyglot, but unfortunately to one of the three mini-polyglots :))
 
@2EZ4RTZ I have made a game of hangman in BF, I can help perhaps
 
Wow, where can I find that
 
@BusinessCat The ASCII-hangman challenge from Main a while ago
22
Q: ASCII Hangman in Progress

AdmBorkBork(inspired by a question over on Code Review) Suppose two people are playing Hangman, but you've only overheard the game and want to draw the current status. Given two words as input, where the words each match [A-Z]+ or [a-z]+ (your choice), output the current state of the hangman game as ASCII...

 
do you see my answer there >.>
I haven't published it yet, there's one bug left
 
8:57 PM
My rep is exactly 4444
 
@ConorO'Brien Oh sorry... I thought you did >_>
 
That's crazy
 
@ConorO'Brien k gimmie a sec
 
0
A: Sandbox for Proposed Challenges

flawrМногочлены Чебышёва code-golf Chebyshev Polynomials are a family of orthogonal polynomials that pop up in all kinds of places in math, and they have a lot of quite interesting properties. One characterization of them is that they satisfy T_n(cos(x)) = cos(n*x). Challenge Given an nonnegative ...

 
@BusinessCat it's not terribly crazy. I used the same method in my esolangs essay, but esolangs is down so I can't show it to you :P
 
9:01 PM
> esolangs essay
wat
 
@ConorO'Brien here
 
@totallyhuman doesn't have my changes on it
 
but what are esolangs essays
 
1
Q: Two interwoven chains

Wheat WizardIn this question I defined a "chain" function as a function that: is Bijective from a set to itself, meaning that every value maps to and is mapped to by exactly one value. and allows any value can be obtained from any other value by repeated applications of the function or its inverse. There...

 
9:06 PM
@totallyhuman nothing in particular, I just have a subset of my user page devoted to essays
 
Is there a PPCG question choose a number between 0 and 9?
 
@WheatWizard 7
 
@WheatWizard does it have to be uniformly random
 
insert obligatory reference to xkcd 4 is random die roll comic
 
@BusinessCat nine nine nine nine nine ...
 
9:12 PM
Just used a language for polyglots that I didn't know of :)
 
@Poke yeah
 
Accidentally chosen that language and it worked...
 
@Mr.Xcoder that's not hard when your program is one byte...
 
CMC: Given a picture of the sky, predict whether or not it will rain in the next hour or so
 
9:14 PM
@WheatWizard I don't really understand how "interwoven" works (I process slowly). Can you help me understand the task?
 
@WheatWizard this is what the Sandbox is "good" for
 
I might make that a main post
 
@HyperNeutrino Me. 0 bytes
Actually that is super easy
 
@Mr.Xcoder they both infinitely extend, together hit every number, but don't intersect
 
@StepHen Ok, that's a bit clearer
 
9:14 PM
If(percentOfScreenWhite>50) return true;
 
Thanks!
 
@Mr.Xcoder aka one is evens and one is odds
:39308837 spec says infinite
 
NVM
@2EZ4RTZ return percentOfScreenWhite>50 is much shorter >_>
 
I think i win. Gotta love hidden trolls :P
 
@WheatWizard this might be similar codegolf.stackexchange.com/questions/111613/…
 
9:16 PM
@HyperNeutrino Make it a good popularity contest.
 
@Mr.Xcoder vtc as unclear
 
@Mr.Xcoder plus what language uses capital I for if?
 
@Mr.Xcoder impossible. :P
 
@StepHen What are you referring to? That message says "yeah"
 
@2EZ4RTZ since when is returning a condition unclear?
 
9:17 PM
@Mr.Xcoder Essentially, you want to find two sets whose union is the positive integers and whose intersection is the empty set, and then you want to define a function where if you're given a value from one set, it will return another value from that same set where the result is unique for a unique parameter, and where the function or its inverse applied an arbitrary many times on any value can return any other value in the same set.
 
@2EZ4RTZ I disagree.
 
@WheatWizard I did a ping, not a reply. You had said you hadn't used Sandbox over in meta earlier
 
What is the this? I'm not following
 
@HyperNeutrino Got it (not gonna solve it though). What do you think about the pop-con idea? (sandbox it maybe)
 
Writing sandbox post right now :P
 
9:18 PM
pop-con?
@HyperNeutrino Related.
 
Ok I'm done working on that polyglot
 
@MDXF Me too lol
 
@2EZ4RTZ I'm pretty sure Mathematica has a builtin for this
 
@Mr.Xcoder How many langs are you at?
 
@MDXF 4, but technically I support 7 or 8 (2 2-lang mini polyglots and 1 3-lang mini-polyglot)
 
9:21 PM
Oh yeah just saw your answer
Dang that is short
 
I know :))
 
@BusinessCat Just use PredictWeatherFromPicture[#,"rain","1 hour"]&
 
Mine is over 1000 bytes but I have 23 langs
 
not 30?
 
@MDXF I saw, nice answer. There are actually 9 langs in my answer.
 
9:23 PM
@ConorO'Brien No I found a problem and had to revert a few
 
yep
Still winning tho :P how's yours coming along?
 
Bye everyone!
 
o/
 
25 if I can make ><> behave
 
9:23 PM
o/
 
@ConorO'Brien ocrap
 
@ConorO'Brien How's it misbehaving?
 
why does that one 9-language submission have 7 more upvotes than me
 
it's being naught with befunge
 
Eventually Triangular is gonna magically add itself, I just know it...
 
9:26 PM
@ConorO'Brien Are you using TIO or fishlanguage.com?
 
fishlanguage
 
What does # do in ><>?
 
all-way mirror, nice for polyglotting
 
Crap
it's the first character in my code
 
it's fine
 
9:30 PM
?
 
0
A: Sandbox for Proposed Challenges

HyperNeutrinoWill it rain? image-processing popularity-contest The challenge is essentially: given an image of the sky (without foreign entities in the way like birds, trees, or my brother), predict whether or not it will rain in the next hour or so. To generate these test cases, I will take a picture of the...

 
><> wraps, so just add ;n7 to the end of your code
 
oh yeah!
 
If regex is Turing-complete, than can it be used to parse HTML?
 
yup
some variants, anyhow
not all variants are TC
 
9:31 PM
Oh wait no that doesn't work
because the entire first line needs to be #\ ;-;
 
Even things like <a title = "'></a><hi">?
 
@MDXF `#\` could still be fine, it'll just wrap around to the bottom
 
@DanTheMan Oh wow so it wraps really usefully
dang that's cool
This makes my 2d langs seem lame lol
 
0
Q: Bucket Brigade!

GryphonInspired by this, this and this. So, now that the evil farmer has set your field on fire, you naturally want to put it out. You have a bunch of friends who all have buckets, and you want a program to figure out where to place everyone to save as much of your wheat as possible. Your Task: ...

 
24 langs!!1!1!!111
C'mon gotta get to 26 and beat you Conor :P
 
9:38 PM
26 still not working, I technically still only have 23
 
no ik I just want to get to 26 so that when you post your 25 I'll still be winning lol
 
I can indefinitely wait and improve >.>
 
Just post it already :P
 
why
 
9:40 PM
I will not lose any more sleep over this :P
(btw I'm not using any constant sequences)
 
wait what
 
no way
 
Is it bad the i got 2 upvotes on an answer after like 20 min and are super excited XD
 
you're at 23 and not using any constant sequences?!?
 
9:41 PM
@2EZ4RTZ it's kinda funky
i can't crack it
 
@ConorO'Brien that's insane
 
I know you can't.
 
@2EZ4RTZ Why'd you change your name?
 
i can't get it to terminate
 
9:41 PM
hmm
 
@MDXF Dota2 internation. it is a meme
 
except it's hard to maintain and one or two probably don't work
 
@ConorO'Brien good :P
 
so i know the TIO interpreter runs C
 
@2EZ4RTZ ah
 
9:42 PM
and i need to get 0 in there
 
@MDXF well it stands for Too Easy for Arteezy (pro dota player I support.)
 
so what's chr(-1) in C
 
@ConorO'Brien the earlier you post it the more rep you get.... :P
 
the more effort I put in, the better I'll feel
 
hmm I think getting 200 rep from one polyglot makes me feel pretty good
especially since I have to give like a fifth of my damn rep to Kamil Drakari
Also how do I print an int in yup?
 
9:46 PM
yup actually has docs
 
Oh
it must have been incompatible for some reason
Illegal char: #
>.<
 
what?
 
0
Q: Implement the Cubically Cube

TehPersCubically is a fairly new esoteric language capable of creating short, golf-like answers for a very specific subset of problems. It is unique in that it stores memory in the form of a 3x3 Rubik's cube, making calculations far less trivial than in most languages. In Cubically, the programmer must ...

 
@ConorO'Brien yup prints Illegal char: #
 
not sure what to do with it though :P
 
9:59 PM
I'm at 25...
 
@totallyhuman I appreciate that the value in decimal is a palindrome
 
Triangular ain't gonna happen
 

« first day (2383 days earlier)      last day (2461 days later) »