All Questions

Filter by
Sorted by
Tagged with
10
votes
1answer
147 views

What should I do with this question?

I recently posted this challenge on codegolf. The idea was simple : reproduce an hexagonal logo, graphically or in ASCII art. At first i thought it would be good enouth to be interessing, but the lack ...
0
votes
1answer
73 views

Graphical-output - trivial solutions [on hold]

I found question where author ask about reproduce logo (reproduction do not need to be identical). In one of answer we see solution with low resolution logo picture made by hand This solution indeed ...
2
votes
0answers
56 views

What's a number? [duplicate]

Similar to What's a string? If a challenge says that the input will be “a number”, what data types are acceptable? Obviously, types like int and ...
28
votes
0answers
226 views

Sandbox instructions for new users

We now have a nifty new info-box to point new users to the Sandbox. Hooray! But when a new user does go to the Sandbox for the first time, the instructions there don't give them much to work from to ...
14
votes
4answers
357 views

Should we close old KoTH challenges as off-topic?

Recently, a number of old king-of-the-hill challenges have popped up in the Close Votes review queue, with users voting to close them as off-topic as their deadline for submissions has passed. ...
-1
votes
2answers
83 views

Please explain why this page was not sensibly migrated to Meta

I am new to codegolf, but not new to the Stack Exchange Network, so I am puzzled (pun intended). I recently joined this community and immediately searched for tips about how to post good php answers ...
-2
votes
1answer
84 views

Self promotion in submissions?

The self promotion problem. It has been solved in the chat (making a boundary between irritating self promotion and honest hope), but have we gotten to consensus about submissions? I've posted a ...
-1
votes
2answers
97 views

Ethics of Golfing in Assembly or other extremely uncommon languages

My understanding of code-golf in general is that you're to provide the shortest solution in a given language. However, for most challenges, you could safely pick a language no one really is familiar ...
22
votes
5answers
347 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 ...
7
votes
3answers
219 views

What to do with a challenge that is a dupe of a sandboxed one?

Currently it seems it is not so clear what happens if person B posts a challenge that is a duplicate of another challenge person A had already sandboxed. While any user contributions on SE are ...
13
votes
1answer
265 views

Using **kwargs in Python

I am not sure if this question has been asked before, but I was unable to find the answer. My question focuses primarily on Python, but it might be applicable to other languages too. Consider the ...
4
votes
2answers
142 views

Why are there still a lot of issues for a Sandboxed post Sandboxed for a long time?

When I posted this to the Sandbox, I have waited for 21 days before I posted the challenge to main. However, there are still a lot of issues in that post, and someone had found a duplicate. Why are ...
1
vote
1answer
40 views

Migration text is outdated

Currently the migration text(shown below) references the old name(PPCG) of this site. Since this site is now called Code Golf & Coding Challenges, shouldn't we change the migration text to ...
6
votes
1answer
149 views

Would this bit-fiddling question be on topic?

I have a non-challenge, bitwise-gymnastics question that I am looking for a home for. Would this be on topic here? Per some requirements, I am trying to pack three data points into 16-bits for the ...
1
vote
1answer
71 views

How should we handle random number generation in languages without it built in? [duplicate]

A number of programming languages have no built-in way to generate random numbers. How are we able to include these languages in a challenge requiring random output?
10
votes
0answers
178 views

May I return more results than specified?

I'm golfing in Lua, which does support such thing as multiple return values like this: ...
7
votes
1answer
248 views

Existing answers in KoTH invalidated by teaming; should it be allowed?

I posted this challenge about a week ago, and it has since become fairly popular with nearly 40 answers. In the chatroom, a user asked whether teaming was allowed. I said it was, if someone could ...
14
votes
1answer
295 views

Closing a more general challenge as a duplicate

Recently there has been a bit of debate as to whether this question is a duplicate of this question. So I though I would bring it to meta where we can have a constructive conversation, not only about ...
3
votes
1answer
75 views

Input in Underload

Since Underload has no input command, I have some questions relating to hard-coded input: Is hard-coded input allowed by default? If it is allowed, can the hard-coded input be anywhere in the program?...
5
votes
0answers
49 views

LaTeX/MathJax extends out of the post box

Example: https://codegolf.stackexchange.com/a/179329/83048 As you can see, it extends out of the box the post is contained within and mildly interferes with the HNQ. For example: \$...
7
votes
0answers
45 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.
8
votes
0answers
145 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/...
1
vote
2answers
67 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 ...
4
votes
1answer
84 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 ...
2
votes
2answers
139 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: ...
11
votes
2answers
350 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 ...
1
vote
2answers
84 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 ...
10
votes
0answers
110 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 ...
2
votes
1answer
63 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: ...
2
votes
1answer
97 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.
0
votes
1answer
79 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 ...
8
votes
1answer
164 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?
1
vote
1answer
98 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).
108
votes
14answers
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 ...
1
vote
1answer
95 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 ...
11
votes
1answer
103 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) ...
2
votes
1answer
163 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, ...
35
votes
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 ...
0
votes
1answer
189 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 \$\...
5
votes
1answer
160 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 ...
2
votes
1answer
92 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 ...
25
votes
16answers
872 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 ...
0
votes
1answer
64 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 ...
4
votes
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 ...
40
votes
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 ...
0
votes
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 ...
1
vote
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 ...
19
votes
2answers
271 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 ...
2
votes
1answer
75 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....
2
votes
1answer
103 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 ...

15 30 50 per page