All Questions

Filter by
Sorted by
Tagged with
25
votes
1answer
1k views

Announcing the CodeGolf.SE First Periodic Premier Programming Puzzle Push

This Programming Push has ended ::sigh:: But we may do another in a few weeks or months, and your high quality contributions are always welcome. Whereas The site has suffered from low traffic for ...
25
votes
1answer
102 views

Can the “How to Answer” pop-up disregard the association bonus?

We now have a custom “How to Answer” pop-up (yay!). However, this pop-up isn't shown to users who come here with the association bonus from other SE sites. In general, this behaviour makes sense: the ...
24
votes
2answers
1k views

Should asking for malicious code be on topic?

We're occasionally getting questions which ask people to write harmful code. This used to be big when code trolling was a thing, but it's not limited to that. Every now and then there are underhanded ...
24
votes
2answers
330 views

2020 Community Moderator Election Results

Code Golf's third moderator election has come to a close, the votes have been tallied and the three new moderators are: They'll be joining the existing crew shortly—please thank them for ...
24
votes
2answers
479 views

Is it permitted for a submission to terminate merely with probability 1?

The question is in the title. I'm interested in submissions that terminate with probability 1 but have unbounded worst case running times. This is related to the question Do programs have to ...
24
votes
1answer
779 views

Introducing a New Golf Language

So over the past week I've developed Just Another Interpreted Stack-Base Language (JAISBaL for short), and I had a few questions: Is there any reason JAISBaL would be illegal to use for the general <...
24
votes
3answers
968 views

On scoring builtin functions

Suppose there's a challenge which can be solved completely by a builtin function, and functions are allowed. Note that as of writing the standard loophole for builtins is heavily disputed, but let's ...
24
votes
3answers
650 views

Is this an acceptable way to shave a byte in ES6?

Say there's a challenge with two inputs. Can we submit a function signature like this? a=>b=>... Instead of ...
24
votes
0answers
191 views

Welcome The Nineteenth Byte's newest room owners!

The votes are in, and the following four members of our community have been elected as room owners of CGCC's main chat room, The Nineteenth Byte. They have been instated effective immediately. ...
23
votes
5answers
1k views

We're getting a new moderator: Cast your votes!

As announced last week PPCG is getting another moderator. You've had one week to nominate others or yourself, and now it's time for the actual election. The candidates are: Beta Decay (vote here) ...
23
votes
14answers
556 views

2016 Moderator Election Q&A - Question Collection

In connection with the moderator elections, we will be holding a Q&A with the candidates. This will be an opportunity for members of the community to pose questions to the candidates on the topic ...
23
votes
3answers
527 views

What is a character?

TL;DR Look at this: 😀. It's an emote. Found most commonly in it's natural enviroment the iPhone, it looks to be a harmless character. Until you realize the dastardly thing is really two characters: ...
23
votes
3answers
1k views

Should Booleans be allowed where a number is required?

This is a rather common inquiry in contests that require computing elements of a sequence. For example, consider the following recursive implementation of the factorial function (Python): ...
23
votes
3answers
741 views

Can and should we encourage more meticulous golfing?

I find that much of the joy and art of code golf comes from the ridiculous tricks and optimizations needed to squeeze every character. Yet, I find myself losing motivation to do so because I feel like ...
23
votes
10answers
632 views

Are baseline submissions serious contenders?

One of PPCG's oldest rules, mentioned in What topics can I ask about here?, is that all answers to challenge questions must: Be a serious contender for the winning criteria in use. For example, an ...
23
votes
6answers
497 views

An info box to point new users to The Sandbox

So along with site graduation, one new option we have is an info box on the sidebar. For example, you can see what these look like on Law or Judaism Stack Exchange (directly above the "featured on ...
23
votes
2answers
309 views

Should there be a migration path from PPCG to Stack Overflow?

Several benefits come with graduation, including the ability to set up migration paths to and from the site. This would entail a close option under close -> off-topic -> belongs on another site, which ...
23
votes
2answers
516 views

Tips for launching a language

Having started writing my own golfing language, I noticed there is no tips page for launching a new language. Having seen how many languages have been made by this community, I wondered what advice ...
23
votes
3answers
2k views

Welcome to Code Golf and Coding Challenges Stack Exchange!

What is this site? This is a place to host recreational coding challenges, such as code golf. We are unlike most sites in the Stack Exchange network. We are not a question-answer site, nor are we a ...
23
votes
3answers
3k views

Should submissions be allowed to exit with an error?

Suppose we have the following Python code: f=lambda x:x*2 X The first line defines a function which doubles a number. Then the second line is reached, is found ...
23
votes
2answers
625 views

Getting rid of the sandbox directory

I would like to propose to remove the answer directory from the Sandbox. It seems that: It's never up to date. It takes a lot of unnecessary vertical space. I have no indication that anyone is ...
23
votes
2answers
589 views

Click here to find out what this question is about

Code Golf question titles are frequently opaque. The front page (and Hot Network Questions) hence partially degrades to a list of clickable rectangles. When clicking, I more often think "WTF does ...
23
votes
2answers
286 views

Inline code inside a spoiler block is difficult to read

It is very difficult to read inline code when it is located inside of a spoiler block: Readable (standard quote): ActionScript already contains a Math.pow() ...
23
votes
4answers
366 views

Should we have a "Welcome to PPCG" new user post?

I recently notices that Tex.SE has a Welcome to Tex.SX! meta post. In it, it describes what the site is and how to use it. It also includes information on the scope. I think this would be a good ...
23
votes
3answers
930 views

What details should always be given for a code golf task?

Related: For Code Golf, how do you deal with languages without a traditional print/echo statements? Related: What programming language should we consider for the code-golf solution ? Related: Use of ...
23
votes
2answers
496 views

Downvoting wrong answers in a specific language

I golf in TI-BASIC (the language that TI-83 and 84 series graphing calculators use), which is an uncommon language, and small even in proportion to the frequency of its use is the number of people in ...
23
votes
3answers
518 views

Should we start "reviving" older challenges?

Related. Earlier today, AdmBorkBork posted this question on TNB, asking whether or not PPCG was dying. In the following discussion, I have suggested we, as a community, could start "reviving" (for ...
23
votes
2answers
591 views

Add randomization in CnR posts as a loophole?

I want to add a loophole about random stuff in CnR challenges to the standard loophole list, but I have a hard time formulating the post in a way that won't result in a lot of "... but what about xyz?"...
22
votes
12answers
3k views

Default acceptable image I/O methods for image related challenges

I do not feel that the default general acceptable I/O methods sufficiently cover image-processing and graphical-output challenges. So I would like to poll. What are the default acceptable I/O methods ...
22
votes
8answers
834 views

2016 Moderator Election Q&A - Questionnaire

In connection with the moderator elections, we are holding a Q&A thread for the candidates. Questions collected from an earlier thread have been compiled into this one, which shall now serve as ...
22
votes
3answers
901 views

2018 Moderator Election Q&A - Questionnaire

In connection with the moderator elections, we are holding a Q&A thread for the candidates. Questions collected from an earlier thread have been compiled into this one, which shall now serve as ...
22
votes
4answers
843 views

Can I ask a question seeking feature requests for a golfing language?

I noticed an old question, An improved version of GolfScript, which asked, as a tips question, for people to suggest ways to improve GolfScript. This was a well-received question, but times may have ...
22
votes
6answers
580 views

Useful External Resources

There are a bunch of external resources that are either used very often by this community or are directly related to it. This post contains the most relevant ones to make them more discoverable for ...
22
votes
4answers
1k views

What is happening to PPCG?

Hi Guys & Gals and fellow golfers. I just want to ask a question and hopefully get some meaningful answers. I am a relative newbie on PPCG with a rep of only around 2.5k. That suits me but I am ...
22
votes
1answer
621 views

Effect of the MIT license change on PPCG

This is (probably) happening, and it's annoying me, and there's quite a lot of backlash from the community. If you read all of that post and the comments and the answers and the answers' comments (or,...
22
votes
1answer
674 views

Can we revive The Programming Language Quiz?

status-completed The Programming Language Quiz was a Cops and Robbers challenge posted 2 years ago, where users were challenged to create obfuscated Hello, World! programs, and others tried to ...
22
votes
1answer
2k views

What does "taking no input" mean for a program?

Fixed output challenges usually state that the program "must take no input". I usually interpret this as "The standard input is empty", but after thinking about this, there are actually several valid ...
22
votes
2answers
3k views

Do submissions have to be answered with a programming language?

We've got various answers strewn across meta that tell different stories: On the standard loopholes, we disallow answers that aren't programming languages. This appears to be the most definitive ...
22
votes
1answer
2k views

Are we allowed to use empty input we won't use when no input is asked (regarding functions)?

Let's say a code-golf challenge is asking for a program without arguments or function without parameters. Are we allowed to take an empty parameter instead we won't use anywhere? As example: In Java ...
22
votes
12answers
790 views

Let's create some new types of challenges!

Our site needs unique content. The more different and new a question is, the more interesting it will probably be. Therefore, let's propose new genres of challenges! What exactly is a challenge genre?...
22
votes
9answers
2k views

Code Golf UserScript to help in navigating the site [v0.37 now available]

Current version: The current version of the script is 0.37. I was inspired by this Meta post to write a UserScript that would automatically tally up the size of code blocks and display the count ...
22
votes
2answers
506 views

Old Languages with new implementations [duplicate]

I was hoping to answer a question using a particular cellular automaton that was defined 17 years ago (before the question was asked) but for which I am unable to find a free interpreter on the ...
22
votes
2answers
548 views

Suspecting cheating at competitions

Once in a while, a new user posts an immaculately-written challenge with test cases formatted like 1 ≤ m ≤ 10000 1 ≤ n ≤ 100 SAMPLE INPUT 10 9 8 SAMPLE OUTPUT 1 Maybe they say they'...
21
votes
10answers
1k views

Community Promotion Ads - 2018 [duplicate]

It's almost February in 2018, which isn't supposed to be the proper time to cycle these, but for this year it'll be once again, so we'll be refreshing the Community Promotion Ads for this year now! ...
21
votes
3answers
1k views

Do we really want LaTeX/MathJax (right now)?

Update: The decision has been made to deactivate MathJax on the site. This does not reflect the current votes, as these changed significantly after the decision was made. We've had MathJax support ...
21
votes
3answers
900 views

Does PPCG fulfil a role as a catalogue for golfed solution of standard programming exercises?

Rosetta Code collects solutions to standard programming exercises in hundreds of programming languages. However, it focuses on "good" or idiomatic solutions in those languages. I'm not aware of a ...
21
votes
4answers
326 views

General programming questions close message is disingenuous

There have been multiple times now that I've wanted to close a question as off-topic, but refrained from doing so due to the message associated with it: General programming questions are off-topic ...
21
votes
1answer
242 views

Is it acceptable to answer an old question?

Is it alright to post an answer to an old challenge, in a language that hasn't been posted before? I'm specifically asking about the following question: Link I happened across it, and wanted to post ...
21
votes
2answers
370 views

Can we have MathJax back (part II)?

More than a month ago, we've reached a consensus: We want MathJax back. The reasons why it was turned off in 2015 no longer seem to apply, and details about why MathJax is needed on this site are ...
21
votes
1answer
988 views

Are languages like sed exempt from "no input" rules?

Some types of challenges require submission that produce constant output and, as such, forbid the solutions from taking input of any kind. That presents a problem for languages like sed, which ...

15 30 50 per page
1 2 3
4
5
45