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
Community Proposals
Community Proposals
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 »
Meta

Leaderboards are live

+6
−0

You might have noticed that challenges now show a leaderboard in addition to the table of contents. This is something this community has wanted for a while, and now, thanks to user contributions and a lot of chatting in Discord, it's live. See this blog post, which I meant to link here more promptly (sorry!).

The table of contents sorts answers by voting, but golfers wanted a leaderboard that sorts challenge responses by code size. And because it's not really fair for answers in different languages, some verbose and some designed for golfing, to compete head to head, the community also needed a way to show the languages in this leaderboard. While a userscript can solve the problem for those in the know, we and the community wanted this to be readily available to all.

Enter one of our users, Moshi, who made this for the community (no userscripts required):

sorted by size

Or, grouped by language to give folks using Java, C, and others a shot:

sorted by language

We're aware of a bug on mobile; it's fixed and awaiting deployment.

If you see anything that's not quite right, please let us know.

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

0 comment threads

4 answers

You are accessing this answer with a direct link, so it's being shown above all other answers regardless of its score. You can return to the normal view.

+3
−0

Seems to be an issue with the ordering (across languages) when "Group by language" is set. When I first load the page, they are ordered with the most recent post first. If I then uncheck "Group by language" and check it again, they are ordered by byte count. These should be consistent. I'd prefer the byte count version but… I am not a Java programmer.

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

2 comment threads

How should languages be sorted? (2 comments)
It's possible this happens because of [this line](https://github.com/codidact/qpixel/blob/develop/pub... (1 comment)
+3
−0

Few QoL improvements can be made:

Some trivial challenges(i.e. "Hello World!") get many, many answers, so the leaderboard should show a scrollbar beyond some point(after the first 10 submissions, maybe?).

Another thing I'd like to see is the ability to hide the leaderboard, preferably by clicking the "leaderboards by language" thing(It looks clickable, but i can't click it grrr)

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

0 comment threads

+2
−0

Adding display:flex; align-items:center to .toc--full items centers the names and code samples vertically, which I think looks a little better.

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

0 comment threads

+0
−0

Libraries are removed when "merge variants" is on. For example, this answer written in C (clang) uses a library called BMPL, so its header is C (clang) + BMPL. While there's nothing wrong with using libraries, this shows up as just C instead of C + BMPL in the leaderboard. Could that be fixed?

Leaderboard

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

0 comment threads

Sign up to answer this question »