Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Site Proposals

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Site suggestion - Code Golf

Parent

Site suggestion - Code Golf

+16
−1

Update: launched.


It's probably okay to request a new site here. If so, I suggest there to be a Code Golf site. TopAnswers has a Code Golf site, and evidently there is a large amount of core users there.

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (6 comments)
Post
+9
−0

Based on new comments here, I had a conversation with some folks in the Nineteenth Byte on Discord to ask them about their interests and needs. I pointed out the TopAnswers site, which some of them were not aware of, and pointed them to this proposal. There seems to be interest in having a community here too, alongside TopAnswers; I'll start the "who's in" post after making this one.

The golfers I talked with expressed the following desires:

  • A leaderboard for challenges. On SE they do this with a userscript, so there's some code already. (Obviously our dev team has to code-review anything we install here, just as they did for the Sefaria Linker on Judaism.) There was a suggestion to make it user-triggerable rather than auto-running on page load, particularly for challenges with many answers. I have created a GitHub issue for the leaderboard; our developers assessed it as hard, but maybe I missed something important in writing it up. Golfers, please weigh in there on needs and/or if you can help implement it.

  • An API to fetch answers would help improve the aforementioned leaderboard code.

  • Challenges would be in their own category (there are other types of questions). In addition to the other category-specific customizations this would allow, a separate category means the leaderboard would only need to be enabled there. This category can be set as the site default (like Q&A is on other sites).

  • A sandbox for challenges, using the article post type (because feedback should be comments only). The idea is that challenges get refined in the sandbox, and when ready the author copies and pastes the final version into a new post in the challenges category. We talked about moving the post instead, but this would mean (a) bringing the comments along with it (and then having to delete them) and (b) not being able to use the article post type to enforce "no answers, just feedback" in the sandbox. (We can move posts, but we can't transform them along the way.) Deleting the comments might not seem like a big deal, but there was a sense that sometimes keeping the sandbox history, at least temporarily, could be useful. With the code as it is now, this seemed the most workable approach in our conversation. Future code developments could improve this workflow.

Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

General comments (15 comments)
General comments
Moshi‭ wrote over 2 years ago

"Golf challenges would be in their own category (there are other types of questions)."
Will you also make a category for King of the Hill, Cops and Robbers, etc.? I feel like it'd get out of hand quickly. Why not just use tags?

Monica Cellio‭ wrote over 2 years ago · edited over 2 years ago

@Moshi or maybe it's all challenges and I misunderstood? The idea was one category for challenges, which have different rules from Q&A about golfing etc, and which are the only ones that use a leaderboard. Edited to just say "challenges".

Moshi‭ wrote over 2 years ago

@MonicaCellio Code Golfing is a type of challenge. I'd suggest having Challenges, Sandbox, and Meta as categories, and then having code-golf etc. as tags

Moshi‭ wrote over 2 years ago

Actually, now that I think about it, can sites even remove the Q&A category in the first place?

Monica Cellio‭ wrote over 2 years ago

@Moshi it could be renamed.

Moshi‭ wrote over 2 years ago

@MonicaCellio Interesting. I asked that because I don't think a code golf community would need a Q&A category - anything that isn't a challenge or a sandbox post would be Meta, no?

Monica Cellio‭ wrote over 2 years ago

@Moshi from the discussion in 19th Byte it sounded like the community could have questions about golfing and related topics that aren't themselves challenges. They can tell us what they need; I'm in no position to judge.

moony‭ wrote over 2 years ago

@MonicaCellio That sounds correct. Would probably want: Q&A to ask about golfing, challenges for, well, challenges, sandbox, and meta.

Moshi‭ wrote over 2 years ago

@MonicaCellio @moony sounds like Meta to me? It might just be that I have a broader definition of the Meta category than most though.

luap42‭ wrote over 2 years ago

I knew that there would be a use case for the ToC component some day. That seems like a good choice for the leaderboard, right? (as it is supposed to show the first line or so of the answer also by the previous design; do we need a special "size" column on posts or could the "# Lang, Size" header patterns seen on SE be enough for that to work?)

dzaima‭ wrote over 2 years ago · edited over 2 years ago

@luap42 A byte count answer property alone wouldn't help much, as you'd still need the language name. But parsing the answer start is acceptable, assuming you'd still be able to sort by byte-count at the client side. (If anything, a "name" property would be best, since that can be used even in challenge types that don't care about byte-count, i.e. bot names in a KotH (and maybe even on other Codidact sites!), and we could agree with a standard to end the name with ", score")

luap42‭ wrote over 2 years ago

@dzaima Yeah. What I need to know is whether it's enough to show the beginning of responses (sorted by score likely) or whether you definitely need-want a special "Response" post type with special properties (such as "name" or "size"; the exact columns would need to be defined later). The first thing is way easier to implement (and hence possible sooner), but might not be what you as a community need.

dzaima‭ wrote over 2 years ago · edited over 2 years ago

@‭luap42‭ Showing the beginning is enough. Agreeing on a proper answer template would also mean getting the score should be just the last number in the first line of the answer. Also has the bonus that the leaderboard can be added later on, with no work needed for initial site launch

Moshi‭ wrote over 2 years ago · edited over 2 years ago

"Challenges would be in their own category ... a separate category means the leaderboard would only need to be enabled there." An automated leaderboard really would only work for Code Golf (where there is an easy score for any submission); King of the Hill, Cops & Robbers, and other host defined scoring method wouldn't be compatible with this. There are also plenty of challenges that aren't particularly competitive (ex. C&R would run perfectly fine without a scoring system).

Moshi‭ wrote over 2 years ago

Therefore, we might actually want to split code golf off from other types of challenges. My revised suggestion would be having code golf as a specific post type in the Challenges category, and enabling the leaderboard for just that one. I'm not sure how feasible that would be though.

Skipping 2 deleted comments.

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!

Like what we're doing? Support us! Donate