# All Questions

1,926 questions
Filter by
Sorted by
Tagged with
0answers
21 views

### “Rendered output” doesn't render LaTeX in Review Queue

The rendered output still shows the markdown for LaTeX in the review queue:   Question pictured.
0answers
81 views

### 404 Not Found image is itself 404

It looks like the image that is supposed to show up in the 404 error page has...itself gone 404, and shows a broken image. It looks like it's trying to load the image from https://cdn.sstatic.net/...
2answers
49 views

### Can I change the version of the language in my answer (Python 3 to 2), or do I post a new answer?

I wrote a Python 3 answer. I called it Python 3 in the title; however, it works equally well in Python 2. I discovered that I am able to remove several bytes from the answer, but only if I use Python ...
1answer
74 views

### New badges for new design

There's an old (2014y) conversation about this: Let's design a nice badge icon!, but without any real outcome. However, quite recently we got a new site design, including our new logo: For me it ...
2answers
95 views

### 2 downvotes + 1 upvote = 1 more reputation

This site gives one more reputation to specific -1-voted questions. (This is the formula that I tried myself: ...
2answers
322 views

### What should this site be called now that it has a name?

This post says: This site is now "Code Golf & Coding Challenges" Indeed, this is what it says in our banner too: CODE GOLF & coding challenges But our tour page says: Welcome ...
2answers
77 views

### sort alias for Powershell

Source answer Intro Powershell introduced by Microsoft in 2006 for Windows OS. Since earlier versions, Powershell provides predefined aliases for commands. For example, alias ...
0answers
95 views

### “Featured on meta” has gone crazy

The "Featured on meta" sidebar currently shows three posts: two of which are actually featured, and the third of which (Cast your vote for “Best of PPCG 2018”!) ceased to be featured 40 days ago. That ...
1answer
59 views

### Is it all right to edit challenge to recognize the winner?

I know that the best answer in a code golf challenge should be the accepted one. Is it a good idea to add a "final positions table" to the end of the post once a winner is found? Something like this: ...
1answer
88 views

### Does [code-golf] count in bytes or character length

In the code-golf challenges, does it count in bytes or character length. Because one character can 1 byte ranging from charcode 0 to 255, 2 bytes ranging from 0 to 65535, etc.
1answer
69 views

### I got reputation for editing my own answer?

I somehow got reputation for editing my own answer? It's this edit. Is this intentional or not? Because I could then edit some answers I've posted before, and get reputation, because edits to your own ...
1answer
159 views

### Adding a link to Try It Online to existing answers

If I find an old answer whose code I verified works using, say, Try It Online, can I edit that answer and add the link?
1answer
94 views

### Cannot close a question even though >500 reputation [duplicate]

As you can see in the image, I cannot close the question even though I have >500 reputation. I cannot blame it on caching because I passed 500 reputation a long time ago (greater than a month).
15answers
2k views

### Congratulations! Your site design is now live!

You may have noticed that the site got a bit less blue today! Thank you so much for your input over the last few weeks. This has been a great process and I really hope you like your new theme. We ...
1answer
87 views

### Can a question be closed for being too complex (but not necessarily hard)?

This question is sort of a follow-up to this other one I found, which I found quite useful but not fully elaborating on what I wanted to know. So, my question is this: I am working on a KoTH puzzle ...
1answer
92 views

### Updating the [sequence] tag info: suggestions

The current tag info of the sequence is doesn't contain any additional information and I'd like to improve that. Currently it is almost exclusively used for integer sequences (many times from OEIS) ...
1answer
152 views

### Would this be on topic for this site?

Disprove that this code generate valid n^2 x n^2 Sudoku Grids I'm complete with my Sudoku Project and others have been skeptical that I can generate pre-filled valid Sudoku grids in poly-time. Now, ...
13answers
1k views

### Here's your site design preview!

Three great discussions and 6-8 weeks later, I'm here to introduce you to your new site design! Thank you to everyone who contributed ideas to the discussion -- there were many great points of ...
1answer
183 views

### Can we still ban built-ins for $\pi$?

I recently posed a challenge about computing a function of $\pi$. It was closed for being unclear and received a number of criticisms. One of the main ones I think was that banning built-ins for \\$\...
1answer
157 views

### what did I do wrong and how can I improve

why did they put this challenge on hold? How could I have made it clearer? Benjamin has N boxes in his garden with dimension xiyizi each. Because he does not want to let them out and get wet, he ...
1answer
88 views

### Who wins code golf if there is a tie?

On my code golf challenge, there are two tie 24 Bytes answers. The first one (Excel) is great because of the creativity put into it and the second one (MATL) is just skill I think and each one should ...
16answers
870 views

### A subtitle for our site name

UPDATE: New site name chosen! This site is now "Code Golf & Coding Challenges" Thank you all so much for participating in this discussion! Following Catija's comment on the site name meta ...
1answer
61 views

### In bash, can I use non-coreutil programs

Since bash scripts (or any other Linux shell scripts) are accepted as a programming language, I wonder what (Linux) programs are accepted as callable from the command line. It seems that it is ...
2answers
69 views

### Is there support to approach 3rd parties to build a performance tool?

For code-golf questions, TIO has been a superb resource. However, for fastest-code challenges there is no equivalent tool available. I believe we could explore working with one or more 3rd parties ...
13answers
2k views

### What should this site be called now that it's getting a design?

UPDATE: New site name chosen! This site is now "Code Golf & Coding Challenges" Thank you all so much for participating in this discussion! As we're designing the site, we are considering the ...
1answer
48 views

### Not halt to prevent display from disappearing

According to Can Halting be considered output? and maybe some other links, programs should halt. However in some cases making program halt is easier(save the infinite loop in code-golf, etc.) but ...
0answers
58 views

### New PPCG Leaderboard Widget - Update 1.1 [duplicate]

You may have seen my previous post, in which I introduced a new leaderboard widget over the old system. Well, turns out there were a few major bugs with the program. I've gone through and fixed all of ...
2answers
258 views

### Introducing the New PPCG Leaderboard Widget!

Updates: Update 1.1: Released on April 26th, 2019 If you are just here to get the code for the widget, you can skip down to the bottom of this post. Hello! Over the past week, I have been working ...
1answer
69 views

### Which 'repeated substring' challenge should be closed?

Right now, there are two challenges, Newer challenge: Check if a string is entirely made of the same substring by ouflak Older challenge: String.prototype....
1answer
95 views

### How do we score colors in Desmos?

How would we score changing the colors of graphs in Desmos in [graphical-output] challenges with color-sensitive output? Currently, selecting the color in the menu costs no bytes as no characters are ...
0answers
93 views

### How can I encourage voting for non-golf languages?

I don't like golf languages, and I vote on solutions using them only if the solution has some extraordinary feature (like abusing a bug in the interpreter). How can I encourage people to vote this ...
2answers
139 views

### Are non-uniform random distributions allowed?

I posted a challenge that requires programs to generate a random number in a range, and one answer used the rgeom function from R. This function uses a geometric ...
13answers
2k views

### The PPCG Site design is on its way - help us make it awesome!

The long wait is almost over! You have been eminently patient while we've gotten other site designs finished and then completely redesigned the layout of the network. Now that all of that heavy ...
1answer
103 views

### Challenge (Solve subset sum quickly if P = NP) incorrectly closed as duplicate [duplicate]

My challenge Solve Subset-Sum in polynomial time (...if P = NP) was closed as a duplicate of Golf the Subset-Sum Problem. But the restricted-complexity aspect of my challenge makes it very different. ...
0answers
42 views

### Should I accept an answer? [duplicate]

I couldn't find anything related to this on meta, so here goes: I've noticed that we've decided that competitions should be within each language for a code-golf competition to avoid golfing languages ...
1answer
50 views

### Where timing between outputs matters, does the solution need to account for buffering?

In certain languages (i.e. C), writes to streams like stdout can be buffered by default - what this means is that when one calls functions like ...
2answers
91 views

### Can I see a list of removed questions?

I see the bottom of vote list good and some good questions removed cuz of low votes. Is there way to see the removed or I have to go through all possible question id?
3answers
182 views

### Do different ImageMagick tools count as their own languages?

Here is an answer that I made recently: https://codegolf.stackexchange.com/a/181416/70328 A commenter suggested that I could remove convert from my code, and use <...
1answer
97 views

### “Voidhawk's well-explained answer was the first one here in APL”?

The phrase "Voidhawk's well-explained answer was the first one here in APL" appears in 3 featured questions on PPCG with an active bounty. It seems out of place and I'm not sure what it means. Does ...
0answers
34 views

### Can we pass properties of the input as parameters? [duplicate]

Some challenges require, for instance, lists as input. A list has a property being its size. Several languages have builtins to get properties such as the size for a list (all golfing language, ...
0answers
107 views

### Scratch 2.0 is no longer considered a “free” language. Does this retroactively make cops-and-robbers cop answers in Scratch 2.0 non-competitive?

As per this question's answers, Scratch 2.0 is no longer considered a "free" language. As per this question's accepted answer, non-free languages are allowed if marked as non-competing. Scratch 2.0 ...
1answer
78 views

### Can I repost a challenge with different rules? [duplicate]

Recently, I posted a code-golf question about number sequences. However, as I was looking through the question later, I thought to myself, "Wouldn't this be good as a fastest-algorithm question?" It's ...
0answers
83 views

### Non-standard command line calls

Note this isn't about command line flags, which already have a consensus here. There was a recent PHP answer involving multiple PHP files. Normally, programs with multiple files are either using one ...
1answer
90 views

### Can deleted answers be down-voted?

An answer I deleted immediately after posting has been down-voted. Is this possible, or did the down-vote occur in the split-second before I deleted it?
3answers
194 views

### Is a regex answer valid if it gives the reciprocal of the required output? [duplicate]

This answer gives the reciprocal of the required output, rather than the required output itself. In a simpler challenge this might cut out a significant part of the work, but for this particular ...
0answers
57 views

### Tags that should have references to standard loopholes, I/O standards, etc., do not

Looking at the various winning criteria tags in The Tag Categorization Project, a lot of them should have links to e.g. standard loopholes and I/O standards, but don't. This probably should be fixed.
0answers
50 views

### Can we link canonical meta posts (e.g “what is a quine”, standard loopholes) more actively on the site?

I mostly ask this for the benefit of new users (e.g. me, ish), who might not know where all the important meta things are, especially since they're not linked every time they apply. I've done some ...
1answer
109 views

### Existance of known score but unknown exact code

Consider the following the challenge: Write a program that accomplishes X task while maximizing the number of distinct characters in your source code. Removing any set of characters from the ...
1answer
89 views

### What is the community stance on posting a codegolf question just to answer it yourself?

Assuming the question would be considered a good question by the community, what is the community stance on creating a question with the sole purpose of eventually supplying a golfed solution? To ...
1answer
132 views

### Are esolang design questions on topic?

Say I'm designing a new language for golf or some other esoteric purpose, and I'd like feedback on some design concepts. I feel posting this on SO, Programmers, CS, or pretty much any other site on SE ...

15 30 50 per page