« first day (2377 days earlier)      last day (2467 days later) » 

12:01 AM
$><<'0.'
(0..$_.to_i).each{|i|$><<i}
^ Uses -n
 
@Phoenix RProgN2, 8 bytes. '0.'w#wé
@Phoenix Am I allowed to prepend a ²..?, thus outputting ²0.0123456...
 
IDK, ask Gryphon.
He wrote the sandbox post
 
(It occurred to me that this is technically wrong, as it just prints forever, but w/e)
 
12:16 AM
does anyone want to help me design a golfing language ?
 
With our powers combined...
We can make THE ULTIMATE mid-tier golfing language.
 
XD yesss
 
@programmer5000 You just made me try to close that
 
start by tossing us a strawpoll for the name. We'll ensure it's as bad as possible.
 
so I'll do exactly the opposite >.>
 
12:22 AM
I'm keen to help out, I wanted to start on something new anyhow.
 
Do you mostly want it to be succinct or also esoteric in some way?
 
@ConorO'Brien What language are you implementing it in?
 
@Phoenix probably ruby, but maybe JS or C++
 
@ATaco i'm kinda in the same position. I want to learn C++, but I can't think of anything to actually do.
 
@trichoplax I want to make a bonafide golfing language, so maybe that answers your question
 
12:25 AM
I know ruby
 
e s o t e r i c
 
I can sorta C++
 
You know Java, right?
 
Yes
 
Apparently I know JS, but I'm still not sure when that happened.
 
12:26 AM
@trichoplax your welcome
 
@ConorO'Brien One that's fun to golf in against others using the same language, or one that beats all other golfing languages?
 
@ATaco When you decided to make the tacoscripts?
 
I can't say I knew JS then.
 
@trichoplax Well, in order for there to be others who golf in it, it does have to have some chance at beating other golfing languages. I don't necessarily want to make the best golfing language, just a good golfing language. (so as a starting rule: strictly ascii)
 
Nah, screw Ascii, use Win-1252.
 
12:28 AM
@ATaco D: whyyy
 
I can kinda JS. I pretend it's java and StackOverflow the rest.
 
pls. use ASCII and ASCII only
4
 
@ConorO'Brien What?!? You just made me click on that too. And watch it to the end
 
@trichoplax xD success
 
> Beautifully designed
> Doesn't support HIDPI
ಠ_ಠ
 
12:29 AM
@ATaco I used that for simplex and reng and thoroughly regret it. It's a cool charset, just not very convenient.
 
@Phoenix i can js but i'm like .001% downgoat's level and -.000001% of conor's
 
Fear the three byte RProgN2 quine.
Also, My solution in RProgN2 was just to make a keyboard for it.
 
@ConorO'Brien Sure, I can help.
 
@ASCII-only ono that mean I have positive level but I am downgoat so should be -0.001 unless I am actually upgoat :O
 
None of that statement makes sense
 
12:31 AM
@Downgoat but i am in upside down land
 
@Phoenix you don't make sense
ikr sick burn
 
doesn't that mean I'm 1000x better than downgoat >.>
 
If I haven't made it clear, I'm very proud of RProgN2's ability to quine.
 
@ASCII-only ohhhhh true
 
@ATaco it's impressive indeed
 
12:32 AM
\n«Ø bow down to it's stupid compactness!
 
@ATaco it's beginning to sound like you wrote it specifically for quining lol
 
Where \n is a literal newline.
 
@ATaco same in teascript: [q|
 
What's the q function do..?
 
parses non-quoted strings
 
@ConorO'Brien But we don't even know anything about it yet ._.
 
@ConorO'Brien >_< I am afraid if I submit "goat" someone will call that an article of food ;_;
 
@Phoenix well I need to name the chat room something
 
> Any suggestions that are articles of food will be disregarded.
Dammit
 
Damnit
 
12:35 AM
Dannit
 
@Downgoat I have no idea what that is
 
@Downgoat are you submitting multiple
 
@ConorO'Brien Will we be able to see all suggestions afterward
 
@ConorO'Brien idk what you're talking about
 
12:36 AM
TacoGolf was the best name.
 
I'm pretty sure downgoat submitted like 3 or 4
 
> Any suggestions that are articles of food will be disregarded/
TIL taco is not food
 
@Downgoat Out of curiosity, is that payload capable?
@Downgoat I don't support the eating of myself.
 
@ConorO'Brien Does it show who submitted what?
 
12:37 AM
@Downgoat it is essential nutrient not food
 
no, it's completely anonymous, I didn't want to require sign in
 
@ATaco yeah you can do like [q|c (I think) and it would output program split into chars
though if you have like an array it'll break
 
Output: x[q|
Hmm.
 
does anyone want to take a guess as to how many answers there are >.>
 
35?
 
12:40 AM
11
 
Why does the online interpreter prepend x to everything ;-;
 
well, the 21st response was 42, so that's interesting
 
@Phoenix I think I submitted 11 lol (sorry Conor)
 
@ATaco [q|;"x[q| might work
 
@ASCII-only xD
 
12:41 AM
@ATaco turn off implicit input
 
@ConorO'Brien I mean you didn't specify what kind so I need to cover all possible kinds :P
 
good point
 
@ConorO'Brien Gaot-- was my idea. I just need something with that name on TIO: chat.stackexchange.com/search?q=gaot%2B%2B&room=44255
Quark was also mine
 
@Phoenix :O you were pavel
huh
 
12:44 AM
Yes.
 
I was wondering where he went...
>.>
 
@ConorO'Brien Mine were the boring adjectives without upper case
(not Quark, which sounds much better)
 
lol, thanks for the contribution. succinct sounds nice, but I kinda want to have a more interesting name
 
In such situations I write down as many boring names as possible to get them out of my head ready to think of something interesting. Nothing arrived though
 
> Gorf is an Esoteric Frog Based Golf-Lang.
 
12:56 AM
@ATaco Frog is new meme confirmed
 
God bless.
 
I have idea for another language
it's mostly list comprehensions, and maybe macros for control flow
 
Haskell?
 
um
idk
probably not
actually I might remove the macros
control flow is by appending things to a list
and an if or short circuting operators
what do I call my list comprehension lang?
@JohnDvorak if this is haskell… haskell is weirder than I thought
 
1:16 AM
0
A: Sandbox for Proposed Challenges

Gryphonn-Primes code-golf prime For the purpose of this problem, an n-prime is a number that has exactly n/2 divisors (duplicate divisors are counted twice). Real primes (and 1) are 1-primes, semi-primes are 2-primes, and so on. Your Task: Write a program or function that takes an integer p as inp...

 
@ASCII-only returns a float which Python doesn't like to multiply lists by
 
0
Q: Floor Planning!

Gryphon Disclaimer: The story told within this question is entirely fictional, and invented solely for the purpose of providing an intro. I have a friend who is an architect, and, after explaining the concept of code-golf and this site to him, he said that I should code something actually useful f...

 
@NewMainPosts is the warning really necessary o0
 
Eyes on this?
-1
A: Sandbox for Proposed Challenges

Step HenComparing Strings: Easy Mode code-golf string Given two non-empty strings containing printable ASCII, output their value if they are exactly the same, and output a non-empty third string of printable ASCII if they are different. Trailing newlines allowed. The output inherently can't always be t...

 
1:24 AM
I don't like the look of the -1 xD I'll look at it though
Oh it's the one with <3 sentences
 
I was looking at an old post and I saw this:
Sep 30 '16 at 17:15, by Downgoat
> Support a representation of natural numbers and of tuples. (We're talking about languages rather than implementations, so we will leave to one side the issue of type widths).
rather than tuples I think it would be a good idea to change that to 'variable-length data structure'
 
Also I've resorted to using Math.SE to try to understand the next sequence
 
@HyperNeutrino * was :P
 
*'twas
 
1:26 AM
*ribbit
 
@HyperNeutrino I'd take suggestions on how to fix it, if you think it's too trivial/simple :P
I've got a second harder challenge built on it ready though
 
we need all the harder chlalenges we can have tbh
 
but hey the spec's pretty much done
 
brb
@StepHen Define "String Comparison" which you've banned
 
1:27 AM
@ConorO'Brien Mine almost never got answered
 
@HyperNeutrino I did not ban it, the older question did
 
> Multi-line comments do not exist.
ಠ_ಠ
 
@totallyhuman "configurable syntax"
 
> Chuck norris. Don't use CHUCKNORRIS, CHUCK_NORRIS, CHUCK = NORRIS, or any combination of CHUCK and NORRIS in the same =. He will hunt you down and roundhouse kick your computer. The compiler will display Chuck Norris jokes every five seconds until he does so.
Nice
 
@StepHen Oh whoops I didn't notice that it was a link xD
@MDXF Personally I'd prefer CONFIG {...} over CONFIG (...) :P
> Func FuncOne {...} Func Main { FUNCONE{} }
> FUNCONE
> Fun cone!
 
1:37 AM
 
Math.SE Question for OEIS:A000236: Hopefully I'll be able to answer the challenge before 1 week
 
But wouldn't all of this lead to fragmentation though
 
As I was writing out the question I actually started to understand it, though I don't know if I'm correct.
I should try some test cases.
 
Should always :P
 
brb doing whiteboard work now :P
 
1:42 AM
@HyperNeutrino aww but you can't scratch whiteboards
 
@HyperNeutrino this: no onebox
 
@StepHen AAA pls no
 
AAAA My head hurts already and I'm not even listening to it D: D: D:
oh sneaky huh
hiding the title so innocent bypassers don't know of the horrors that await them
:P /s^
 
let me figure out what it is
 
1:46 AM
oh well I was just trying to get rid of the onebox xD
 
Blackboardroll
 
wait this makes no sense
1 and 2 both belong to the 2nd power residue class modulo 7 if I'm doing my math correctly
Wouldn't that make OEIS:A000236[2] equal to 1, not 3?
 
At what point does an improvement to someone's answer become its own answer and not a comment?
 
@ArnoldPalmer when it looks different imo
 
1:50 AM
Seems reasonable enough
 
It's all relative and fairly subjective. If you're using the same or a very similar algorithm, it's usually a golf. Do you have a specific case?
 
if you rewrite IO and algorithm or golf 20% off or if it looks like a different answer it could be reanswered
if you're just using a trick of theirs just link their answer in yours
 
My code I just posted for the Brainfuck challenge
 
@ArnoldPalmer that's definitely different
 
I mentioned using the same mechanic as another Python post, but it's not really an exclusive trick
Sweet
 
1:52 AM
For one, you're not using regex, totallyhuman is. Besides that, I also think it's a very different answer. Nice work, +1 :)
 
I never know man. I've only been here for a bit so I don't want to come off as a jerk for posting over someone's post
Thanks man
 
No problem
 
@ArnoldPalmer if s<1 or u>5: -> if s<1or u>5: iirc
@ArnoldPalmer and I believe we allow using input() instead of raw_input() and assuming correctly formatted input (may be incorrect there though)
 
The issue with the raw_input is it's supposed to act like a Brainfuck program, so it's single character input, so no quotes allowed
 
@ArnoldPalmer oh right, nvm then
 
1:56 AM
I think you might have to switch to sys though
Since raw input requires a newline after each character
 
That's a good point
That bumps it up to 381 :/
 
Is TIO slow for anyone else or is it just me?
 
My Python still runs in less than a tenth of a second
 
@totallyhuman Yet
 
2:07 AM
I made a program which might help us solve the next OEIS challenge: tio.run/##jY89boNAEIVr9hTTWICFIsVOGiSqSO4iRZE7QrGIATbaH7Q/…
 
dabs intensely
 
@HusnainRaza opls no
 
@HyperNeutrino the names are too long and the codes are too golfy
basically the wrong balance
not to mention the a**b%c without using modpow
 
@HyperNeutrino I wanted it to be different from functions
Because it's not a function
 
2:13 AM
yeah true
It's a generic version; I'm just trying to validate my thoughts
2
Q: Explanation of OEIS:A000236 - Residue Classes

HyperNeutrinoI'm looking at OEIS:A000236, whose definition states: Maximum m such that there are no two adjacent elements belonging to the same n-th power residue class modulo some prime p in the sequence 1,2,...,m (equivalently, there is no n-th power residue modulo p in the sequence 1/2,2/3,...,(m-1)/m)...

 
@HyperNeutrino Trying to figure out if it's a valid sequence?
I'm going to stop now
:P
 
@HyperNeutrino here
 
Thanks!
anyway brb
 
2:42 AM
Grr this makes no sense
https://tio.run/##tVTBbtswDD1HX8EdhtitE8QpdvGSHXcehu5kGIEbK602WzJsecn@Y4cd@nX9kUwUpdhOsqEYsJtEUu@RjxTrH/pJybvjsW5ExVtYQ7rM2FZVtWqFJkOcMbYt87aFTzYoYZOC70C09hrIrnrgTWisE7EDuoGQQIgJNFx3jYT7puPnIT3PKexjXrbjuBXM4gv3TjWwy7daDamMHd85@wcPcHMD83fWOaHAeV7XXBY@c@sZZznhZZ/AW4@4XsOCcPrE/4Llc/0T6YgSFX3kkje55iTzl/peDcWlI3akFK0Omlw@8oCw01mcRT7dW4jDcKggCYOK2egzwSZCFvxgUBf2tn8SJYagbQUlly6FNqToAWxqozKjD@H28gyT9cGJi74dP8d0k4xecaOXB3DONcTslNWwnKuqtukioxZc8nuWfy/Qyvwfqzw5rrQqTRJD7hq2c96V53VwbqCsk/X3WUzjJflBX35Z130np716P1z5z4BZWkjMw71e4xcd9ElptyrmV5aEl82X7bIkI2Nutag9bz7zVhSdfxxBjcYIKlV0pUI
 
grrr noone comments on this

 Cooperative KotH

Is this something that could work on PPCG?
 
grr my desktop is Not Responding
I don't even know how that works o.0
oh there we go
anyway I gtg for now :P o/
 
ASCII symbol for divide that's not /?
 
3:01 AM
-2
Q: Filter 3-tuples based on highest value

Dylan KlomparensThis challenge comes from the game Pokemon GO. Do you have an elegant way to solve this using JavaScript? You are given a list of 3-tuples. The values each tuple represent Pokemon traits: [Attack, Defense, Stamina] Each value in the tuple can range from 0 to 15 inclusive. An example might loo...

 
@StepHen \ :P
 
@StepHen d
 
@HyperNeutrino I hope that answers your question.
I realized my answer is wrong
I'm updating it with a righter answer
@HyperNeutrino I am now pretty confident my answer is correct.
 
3:30 AM
Wait you're Epsilon Neighborhood Watch?
 
Anyway, thanks very much! Hopefully I'll get a solution by tomorrow :P
 
This seems hard to find with a computer
 
@StepHen ÷ Down with Ascii! Viva la UTF-8
 
the naive solution involves checking all the primes.
 
3:33 AM
I prefer not doing that :P Well at least now I know the necessary and sufficient condition, now I just need to figure out how to do it without checking every prime
 
There is a good chance there is no known algorithm
 
@ATaco Challenge: Don't use a single ASCII character for a whole day. It'll help you realize how Central ASCII is to our everyday lives xD/s
@WheatWizard Probably why this sequence is so hard to compute
 
Is it labeled hard?
 
No
It's just nonn and more I think
 
Ok, then you might be ok
 
3:36 AM
Yay
 
@HyperNeutrino what
@ATaco *charcoal codepage
 
I've updated my answer with an easier way of thinking about it
 
I've seen. That's a lot more intuitive. Thanks
 
@HyperNeutrino I could do that if I remembered more Japanese
 
@BusinessCat just use math letters
 
3:37 AM
@ASCII-only Wheat Wizard == Epsilon Neighborhood Watch
 
or the fullwidth codepage
@HyperNeutrino on where
 
math.SE and MSE
 
*Everywhere except PPCG and puzzling
 
It just occurred to me that JS's }else if{ is literally syntactic sugar for }else{if{
This saddens me on a spiritual level.
 
@ATaco ... same with all c-derived languages
 
3:39 AM
SPIRITUAL LEVEL OF SADDENING
 
like how if (foo) bar(); is just syntactic sugar for if (foo) {bar();}
@ATaco ... what do you want it to be
 
I mainly use Lua, so elseif
 
you just realized ._.
 
I assumed it was an exact syntax, not the result of a different syntax.
It makes me feel ugly.
 
elseif or elif is better because it doesn't blow the stack as easily
 
3:41 AM
@WheatWizard TIL you study at Raspberry Pi
 
you know, in case you need 58537475416 elifs
 
nested ifs don't blow the stack either
 
@HyperNeutrino I'm working on the ant QotH and I have 16 stacked else ifs :p
 
lol
@ASCII-only i don't understand ASTs lol. that's just what someone here said at one point in time
 
speaking of which, any way to do this?
if (a) {
  action1();
} else if (b) {
  action2();
} else if (c) {
  action10;
} ... many more else ifs

and by a switch of a variable I want that to become

if (e) {
  action3();
} else if (f) {
  action4();
} else if (c) {
  action10;
} ... the same as in the previous example many more else ifs
 
3:48 AM
@HyperNeutrino well in c (and i'm assuming most of its derivatives) ifs are usually conditional jumps not nested functions
 
@dzaima What language?
 
@BusinessCat javascript
 
@dzaima [a, e][variable]
@dzaima it would be nice if you could link to it/pastebin it tyvm
 
Anyone know how a GitHub repo can be shown in an organization's repo list but still be owned by a non-organization user?
 
@MDXF no, why
 
3:50 AM
@ASCII-only the actions on the further ifs differ (until some point)
 
Because I want a GitHub repo to be shown in an organization's repo list while still being owned by a non-organization user
 
@ASCII-only too late :/
 
ah ok
@dzaima ?
also i don't think you can do it without having a really big if (variable) {} else {} <variable-independent code>
 
@MDXF make a fork to the organization
 
Also does anyone know if the GitHub Wiki sidebar looks like it does here without being manually configured to look that way?
 
3:52 AM
Only way without moving repo
 
@Downgoat So like the organization would own a fork, and I could just merge every time it's necessary?
 
@MDXF yea. You can setup webhooks to automatically merge or ask github nicely to setup a mirror
they probably won't though because like why
 
Ok I'll look into webhooks. Thanks
 
@MDXF it is a non-nested unsortsble list of pages by default?
 
the best I've got is this, but that's a lot of ugly code
 
3:54 AM
@Downgoat I've got no clue how it looks by default
Never used it
 
@dzaima ...
@dzaima doesn't even work
@dzaima i don't even
 
@dzaima I think you've created this problem while trying to solve a solution to another problem; have you tried thinking of another solution?
 
I think my tokenizer is a bit memory heavy.
 
@ASCII-only
10
Q: What's my name?

MD XFGiven a PPCG User ID, output that user's current username. Examples Input -> Output 61563 -> MD XF 2 -> Geoff Dalgas 12012 -> Dennis foo -> -3 -> Rules Input/output can be taken via any allowed means. The output must be the full username with proper capitalization and spacing, no...

 
local x = 1 tokenizes to...
[
    {
        "name": "statement",
        "data": [
            {
                "name": "assignment",
                "data": [
                    {
                        "name": "local",
                        "data": "local"
                    },
                    {
                        "name": "var",
                        "data": [
                            {
                                "name": "\\w+",
                                "data": "x"
                            }
 
3:59 AM
Or this one has been getting a lot of answers recently
4
Q: Trivial Brainf**k Substitution Interpreter

MD XFBrainf**k is the most famous esoteric programming language and is the inspiration for hundreds of other esoteric languages. In fact, there are quite a few languages that are so heavily based off of Brainf**k that the only difference is the characters used. Your challenge is to interpret one of th...

 
Monking golfers
 
@ATaco I think your tokenizer is a parser
 
@MDXF :| charcoal would be trivial port of python one, js is already done :(
 

« first day (2377 days earlier)      last day (2467 days later) »