« first day (2333 days earlier)      last day (2503 days later) » 

7:01 PM
@NewMainPosts inb4 tens of regex solutions
 
tfw you realize you format your ppcg answer headers differently than everyone else
 
the post is using the format from TIO's post autoformatter
the idea being that you copy the autoformatter output into your program, then your program's output to chat
 
user165474
@Poke tfw people don't even have answer headers
 
user165474
Any feedback for this question would be greatly appreciated:
 
user165474
0
A: Sandbox for Proposed Challenges

Hyper NeutrinoOutput a Pyramid code-golf ascii-art Given a string s, with even length, and a positive integer n, representing its height, compose a pyramid using the following rules: The pyramid should contain n non-empty lines; trailing newlines are allowed. For each 1 <= i <= n, the i-th line should contai...

 
7:12 PM
I'm not sure I can help, there; is part of the site I routinely ignore because it doesn't interest me, and thus I can't see why people would like some challenges but not others
 
user165474
Ah. Okay.
 
Urgh I almost perfected my regex
Then it borked ;-;
 
@Adám Can we assume real newlines to be \n, in the input?
 
user165474
;-; what are you trying to do?
 
The CMC answer one
 
user165474
7:14 PM
ah ok
 
user165474
what do you have
 
@Arjun Which CMC?
 
@Adám The main challenge.
 
@MartinEnder Why did you put in the (s)?
@Arjun I don't understand.
 
@MartinEnder Should we have some logic for outputting bytes or byte or just output byte(s) in every case?
 
7:17 PM
@Arjun No I think he is wrong. TIO provides the plural if needed.
 
@Adám because one of your test cases uses "byte" and one uses "bytes"
 
@MartinEnder Because that's what TIO gives.
 
sure, I just wanted to make the format representative of the possible outputs
 
@MartinEnder Ah, I see. I'll add a note.
 
@Adám Can we assume the input to be a string containing \ns like # [Brachylog], 1 byte\n\n Code goes here on this challenge of yours?
 
7:20 PM
@Arjun What would the alternative be?
 
@Adám I am stupid. Sorry.
 
The ultimate challenge: Quine that challenge!
 
user165474
:o
 
user165474
like make an answer that when given that answer as input output itself in CMC form? :o
 
@HyperNeutrino Yup.
 
user165474
7:27 PM
that would be an amazing feat
 
I did say "the ultimate challenge".
 
user165474
yup
 
user165474
I still think Tetris GoL is harder lol
 
user165474
but idk, ¯\_(ツ)_/¯
 
19
Q: Partitioning reciprocals

orlpGiven a number n > 77, write a program or function that finds a set of distinct positive integers such that the sum of the set equals n, and the sum of the reciprocals of the set equals 1. Example for 80: 80 = 2 + 4 + 10 + 15 + 21 + 28    ⟶     1/2 + 1/4 + 1/10 + 1/15 + 1/21 + 1/28 = 1 Y...

 
user165474
7:38 PM
Why does the NFQ profile picture look like it says "+600"? lol
 
it used to be possible to get 600 rep from a bounty, I think
because the recipient got more rep than the bountier spent
 
@HyperNeutrino Yeah, it's an example of a bounty.
 
that's no longer the case, but maybe the icon predates that change
 
user165474
@ais523 That sounds like a potential rep abuse thing...
 
user165474
@Adám no but like +600 doesn't make sense but maybe with the extra rep, idk
 
7:39 PM
there were plenty of other bizarre old rules for bounties
 
user165474
hm
 
user165474
it's much simpler now
 
e.g. the bounty had to be selected by the question's OP, and got locked as the accepted answer when it was
the current bounty system is both simpler and saner than the old one
 
user165474
? hm. that seems to make some sense but wouldn't work in many cases. interesting though
 
right, just imagine if we had that rule on PPCG
you couldn't reward a good answer in a non-golfing language without making the accepted answer thing even more arbitrary than it currently is
 
user165474
7:42 PM
yeah. it might work on say SO but here it would be very bad
 
What do the yellows indicate?
 
non-languages
 
Why is Assembly yellow?
Also, you'd think it would have more arrows leading out of it, being basically the first lang and all.
 
7:51 PM
nvm mixed the colors
 
I've added several.
 
@Phoenix it's not just one language (unless that was referring to a specific one)
 
Mego isn't here rn, would it be reasonable to assume Seriously was inspired by Jelly?
 
7:52 PM
@HelkaHomba I like the idea, but the colour choices are not so good. The ancestor langs should be toned down, not up. And the non-langs should be faded or something.
 
make sure you run:
@primitive(Integer) class Int {}
@primitive(FloatingPoint) class Double {}
@primitive(String) class String {}
 
vsl>1 + 1
TypeError: No deduction child handler for BinaryExpression
 
@HelkaHomba Also, benifit is that much fewer coloring commands would be needed.
 
hmm
 
to load stl first though
 
7:53 PM
@Adám Ok. Feel free to change the colors. I just felt it'd be less hassle to color non-PPCG languages since there are far fewer of those
 
@TuxCopter oh, we can't type deduct binary expressions atm because hard
 
@Downgoat what languages would you say inspired cheddar?
 
@HelkaHomba Can you give me your code?
 
I edited it in
 
@Downgoat Yay :D But help throws an error, and help wrapped in backticks seems to break something
 
Ok
 
this and next page describe inspiration languages
JS, Ruby, Swift, C, Go apparently
> ReferenceError: Can't find variable: error
akward moment when error handling the error errors
4
 
@Downgoat Oh, and APL inspired Go (according to Wikipedia).
 
There's probably a way to set a default node color
 
Why the heck does 1 error :P
 
7:55 PM
@ETHproductions did you load the STL?
 
Now I think I did
@Downgoat Pasted this and now every literal seems to output the STL tree
 
cool part is that if you do var a = 1 and all it'll do magic type deduct :O
also generates scope tree and ref tree and branch tree :O
 
So it's supposed to output the entire variable tree after each expression, right?
 
(that sounds less boring in my head)
@ETHproductions yeah, it's the scope/type tree
 
I was expecting something more interactive, but hey, it's a start :D
 
7:57 PM
0
A: Sandbox for Proposed Challenges

AdámCall a library function Given an int32, a path to a Dynamic Link Library (.dll) or Shared Library (.so), and the name of a function, return the result of calling the function on the int32. Examples On 64 bit Linux: 0 /usr/lib64/libm-2.24.so fesetround → 0 On 64 bit Linux: 1 /usr/lib64/libm-2....

 
@ETHproductions since VSL compiles to LLVM. I have to compile Emscripten to LLVM and then Emscripten the emscriptened emscripten, to be able to emscripten the VSL LLVM so I can get execution working :P
so that'll take a while
 
How do we convert Webgraphviz into an image?
 
what is webgraphviz?
@Phoenix it outputs an SVG
 
13 arson attacks on German Telco providers and railway systems. Hit by both. No more phone service and stuck in a train on open track for hours waiting for one of the fires to be put out.
 
@Phoenix Inspect, Copy the SVG element, Paste to text file, convert to png using onlineconverter.
 
7:59 PM
so you can just copy+paste from dev tools
 
@Phoenix just use regular Graphviz on your own machine
 
last one is most practical
 
should I leave codegolf.meta.stackexchange.com/a/12994/71001 over night before setting the question?
in case someone sees a flaw in it?
I am not sure what the norm is
seems some questions get sandboxed and some don't
 
Yeah, the norm is to leave it in for at least 24 hours so more users get a chance to see it
 
@Arthur I leave mine a week.
 
8:01 PM
if you're going to use the sandbox i recommend leaving it in there
 
@ETHproductions s/24/48
well I was told a long time ago by mods to leave for 48 but I think most people just do 24 >_<
 
at bare minimum 24 hours, preferably longer
 
@Adám do you get regular comments over that week?
or all at the start?
I'll leave it at least overnight in any case
 
@Arthur Sometimes later. I do it because users may have a weekly schedule, like only golfing on weekends, or only at work.
 
@Adám makes sense
thanks
and please feel free to comment on it :)
 
8:03 PM
> only at work
:|
 
@Downgoat Yeah, like me.
 
3
Q: All non-ordered pairs between the elements of an array

alexandros84Task: Return an array with all possible pairs between the elements of an array. Example From a=["a", "b", "c", "d"]; return b=[["a","b"],["a","c"],["a","d"],["b","c"],["b","d"],["c","d"]]. Pairs can be in any order as long as all possible combinations are included and obviously ["b","d"] is ...

 
@Riker don't forget to exclude E because why not
 
0
Q: can "actual problems" be removed from /help/dont-ask?

NH.I noticed that https://codegolf.stackexchange.com/help/dont-ask says "You should only ask practical, answerable questions based on actual problems that you face." However, at least 70% of code golfing is done just for fun, and isn't based on actual problems faced (If they had real business use ca...

 
@Phoenix WE've had C#→Retina before. It was written in C#, but not inspired/influenced by. Source
 
8:13 PM
Ah. The thing is, .NET Regexes
So C# does affect the way Retina functions.
Whatever Martin says, I guess.
 
wut
-15 rep for getting unaccepted?
 
0
Q: What's my OS bandwidth?

tuskiomiSo, with all the challenges out, I'm surprised this one isn't here yet. It's not too important anymore, but occasionally somebody needs to know. Here is a simple golf: Tell me if the computer on which the code is ran is on a 64-bit operating system, or a 32-bit operating system! If the code is...

 
@Phoenix That would make C# → APL too.
 
@totallyhuman Isn't that the same amount you gained for being accepted?
 
@totallyhuman you get 15 rep for being accepted
 
8:22 PM
hmm
oh that makes more sense
i thought i got an upvote and then got accepted
 
@Adám but in APL, regexes aren't a major component.
Retina is entirely .NET regex
 
I've also had occasions (on other SE sites) where a question author considered my answer worthy of acceptance, but not of an upvote. I'm never sure what that means.
 
@Phoenix Oh, but Dyalog APL is very much a .NET language. The entire OO model, e.g.
 
It technically solves the problem, but it's still a mediocre answer.
Well, then yeah, you could say C#->Dyalog
Also, should APL be yellow, for the same reason Assembly is?
 
@Phoenix Not a lang?!
 
8:29 PM
0
A: Sandbox for Proposed Challenges

Horváth DávidParse complex number code-golfdecision-problem Given a string through standard input, determine, if it is of the form a+/-bi, with numeric values in the place of a, and b, possible float, where the decimal separator is a dot. Output to the standard output a truthy value, if it is, and a falsey ...

0
A: Sandbox for Proposed Challenges

NH.What is the maximum number of backslashes (escape characters) required to mean one backslash? If you want to use a regex to look for a backslash, you have to escape that backslash, so that the character after it isn't escaped instead. But if you then have to store this regex in a string (in a c-...

 
There are lots of different APLs, rather than one concrete APL.
 
@Phoenix Ah, then maybe Iverson Notation → APL → Dyalog.
 
Dyalog isn't a PPCG lang, so it wouldn't go on the graph.
Unless you count AGL, which you said we aren't.
 
@Phoenix ah, right.
 
@Adám The Wikipedia page for Iverson Notation is a redirect to APL
@Adám Quick add some golf thing into APL
 
8:39 PM
@Phoenix Well, actually, I did have something added which shortens solutions greatly.
 
In which case you could get away with calling it a PPCG lang :P
 
I ask this question waaaaayyy too often but, weren't we supposed to get a new site design like a year ago?
 
we will get in in 6 to 8 weeks
 
@BaldBantha Yes
 
exactly. Wait.
 
8:44 PM
@BaldBantha We requested on meta that modifications to reflect that we are not a Q&A site be prioritised over a site design
74
Q: We're not a Q&A site. But what should be done about it?

Martin EnderIt has come up several times recently (more than usual) that PPCG differs from most of the other Stack Exchange sites in that it's not a Q&A site. People don't come here to ask a question because they have a problem, people come here to solve recreational challenges. The most valuable contributio...

 
huh, I was unaware
 
^^ @Adnan
 
Is that humor, or...
I don't get it.
 
@Phoenix {1≥≡⍵:⊂⍵⋄⍵} is just in v. 16, due to me.
 
8:45 PM
Neat
 
@Phoenix I believe Adnan was trying to get Dennis to add 05AB1E to TIO
 
No, it just looks like a variety of pull requests over time.
 
@trichoplax did they ever specifically say that's why the design is taking so long?
 
Alright. There's the graduation process (enables elections and community ads, removes beta label, allows migration paths pending approval) and then a separate design process (actual visual design, plus increase of privilege levels). If I understand it right, the former would be fine to proceed with, but we'd want to work on reviewing the stuff in here before starting the gears on the latter, yes? — Grace Note ♦ Feb 22 '16 at 19:15
 
2
Q: Lyndon word factorization

user1502040Background A Lyndon word is a non-empty string which is strictly lexicographically smaller than all its rotations. It is possible to factor any string uniquely as the concatenation of Lyndon words, such that these subwords are lexicographically non-increasing; your challenge is to do this as suc...

 
8:52 PM
The affirmative replies to that got upvotes, but I don't think anyone was expecting it to take so long for the changes on that page to be made. Do we need to choose which answer is most important now that voting has settled down and make it into a separate feature request?
 
@Downgoat that reply
was really, really, far outdated
did you send that with IE or something
 
:| I think I was seraching for something and replied forgetting it was in a search >___<
 
CMC: given a string, output ssstttrrriiinnnggg
 
@totallyhuman APL, 3∘/
 
9:08 PM
Or 3/⊢
 
@totallyhuman Python, '3'+'3' bytes: lambda s:''.join([f*3for f in s])
 
@ZacharyT Or 3/⍞ or 3/⎕.
 
user165474
@totallyhuman Anyfix, 2 bytes: 3x
 
@betseg no need for the square brackets
 
but it wouldnt be '3'+'3' bytes (like APL)
 
user165474
9:10 PM
Or actually, Anyfix / Jelly: x3 (it's a polyglot! :D)
 
user165474
goes to show that Anyfix is way too similar to Jelly :P
 
'3'+'3' is '33'.
 
and my program is 33 bytes long
 
@LegionMammal978 yeah, those are pull requests :p
 
Yeah. I was reading that response incorrectly.
You now it's similar if it uses the same code page!
 
9:13 PM
 
Could you move the i++ to the s[i/3]?
 
@totallyhuman Python, 32 bytes: f=lambda x:x and 3*x[0]+f(x[1:])
 
@ZacharyT yup. C, 47 bytes
 
user165474
@ZacharyT s/now/know/, and also, most languages use the same codepage lol
 
user165474
also ಠ_ಠ I switched to sympy but I keep getting Python numbers popping up here and there
 
9:16 PM
Yeah, Sympy is pretty amazing!
 
user165474
but my len function returns an integer and my language no longer handles normal integers showing up here and there
 
user165474
oh wait I can add a fallback method to automatically turn ints into sympy.core.number.Integers
 
S, S, and more S.
 
Wow, I'm impressed that Fourier and Noether are both on this diagram:
14
A: What are the relationships between programming languages created by PPCG users

AdámUsing the format of Webgraphviz. Links to pages about the languages can be found on TIO. # non-PPCG languages are lime, non-languages are gold # PPCG languages are not colored for simplicity digraph G { node [style=filled] "///" -> ReRegex RISC -> Prindeal RISC -> Shtriped "05AB1E" -> ...

:D
 
user165474
you haven't been forgotten :D
 
user165474
9:19 PM
hey look division now works again
 
Hey, at least Anyfix uses the hooked characters!
cough jelly cough
 
@totallyhuman Befunge-98, 8 bytes: #@~::,,,
 
Won't that infinitely loop?
 
user165474
@ZacharyT ? oh you mean all those things that jelly doesn't use? well, I mean, I'm not using like half of the lowercase letters yet
 
user165474
welp just eliminated two of my source files and now I have a source file that's about 3 times longer than before ;_;
 
user165474
9:23 PM
also time to turn off verbose output because with that on, even a simple program will write more than the terminal buffer can hold ;_;
 
brainfuck, 7 bytes: ,[...,]
ez
 
user165474
hey look a competitive bf answer for once
 
Well, good luck. I know I couldn't make a language like that. MY)( bitbucket.org/zacharyjtaylor/my-language/overview language ) (pun intended) has no syntax resulting from the fact I am HORRIBLE at parsing language.
 
user165474
dead link
 
user165474
my previous few attempts were very bad too
 
user165474
9:25 PM
I finally learned how to use a tokenizer
 
user165474
so now it doesn't evaluate char by char :P
 
user165474
my method of bug finding or feature developing: go on tnb, find cmcs, and try to do them
 
TIL in youtube when you press Ctrl+F it opens the video in full screen
why tf
 
@totallyhuman Is brainfuck end of input NUL?
 
9:28 PM
@betseg Just F does that. In Chrome at least Ctrl+F opens search box as usual
 
well on Chrome Ctrl+F full screens the video for me
 
Hey, are there any golfing languages that don't use a code page (not even ASCII), just bytes?
 
golfscript? i think
 
Look at my edit, I know that golfscript uses only ASCII. I'm looking for one that doesn't even use ASCII.
 
@ZacharyT Bubblegum?
 
9:31 PM
@ZacharyT a language has to be encoded as characters at some level
 
o0 how does that work
 
Can you provide a link to Bubblegum?
 
It stretches the definition of programming language a bit, though
 
one could call ASCII + extended ASCII "just bytes" because they have values 0-255
@Adám The new graph image is not found i.imgur.com/QBiGofv.png
 
@HelkaHomba Loads for me.
 
9:35 PM
I'm getting 404 Not Found :/
please no one link me to shouldiblamecacheing
 
wtf the battery of my laptop got from 60% to 8% instantaneously
 
OMG, it's not just mine that does that!
 
@TuxCopter Don't blame caching.
@Phoenix OK, I've split Dyalog APL into its own (PPCG) node, and made the J → Dyalog rather than J → APL. But now C# is gone. Up for adding it back. It'd have quite some connections, no?
@Phoenix Do you have a non-awkward way of making the img?
 
@Adám <!-- if the lhc actually destroys the earth & this page isn't yet updated please email mike@frantic.org to receive a full refund -->
2
love that site
 
9:49 PM
@betseg I was considering a KC for the art.
 
kc..?
 
25
Q: What are the PPCG specific abbreviations and terms?

AdámNewcomers to PPCG are often compelled to ask what many of our abbreviations and terms mean. Let us list them here so this information always will be easily available.

 
oh
 
@ZacharyT D: how could you
this is terrible
can't you just not define functions to append numbers
and append them directly
 
Question: is there an operation which does set intersection but returns the other set if one is empty?
 
9:52 PM
@Downgoat wat no
 
;_; ono y
very important for type deduct
 
ASCII-only, what are you talking about?
 
how do I operator overload in Cheddar
 
Seriously why do Push0-PushF and all the other functions even exist
 
Hey, it's my first attempt at a golfing language. Parallelism.
 
9:54 PM
Juts so you can call them one. single. time.
Also pls use a lambda dictionary rather than a million ifs
 
WTF are you hassling me so much all of a sudden‽
 
You shouldn't have linked to it :P
 
I have a harder to fix criticism that is more worth your time.
 
Also does it even have loops
 
9:57 PM
@Downgoat overlad?
 
@Downgoat oh btw ready to merge or whatever
 
It will eventually.
 
@Downgoat What if I want a class I made to support the arithmetic operators?
 
@Cyoce dammit :|
@Cyoce you can still do that, just instead of foo use +. e.g.:
class Goat(number: shoeSize) {
    binary op +(a, b) { return a.shoeSize + b.shoeSize }
}
I think
 

« first day (2333 days earlier)      last day (2503 days later) »