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 »

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
1.5k posts
 
71%
+3 −0
Challenges Partial Sums of Harmonic Series

JavaScript (Node.js), 47 bytes f=(a,b=0,c=a=>a&&1/a+c(a-1))=>c(b)<a?f(a,b+1):b Try it online! For large numbers, a rounding error will occur and yield incorrect result. The ...

posted 3y ago by Hakerh400‭

Answer
87%
+12 −0
Challenges Partial Sums of Harmonic Series

Given an positive integer $n$, return the least positive integer $k$ such that the $k$th partial sum of the harmonic series is greater than or equal to $n$. For example, if $n = 2$, then $k = 4$, b...

11 answers  ·  posted 3y ago by Quintec‭  ·  last activity 1y ago by south‭

Question code-golf
50%
+0 −0
Sandbox The Palindrome Challenge

posted 3y ago by luap42‭  ·  edited 3y ago by luap42‭

75%
+4 −0
Challenges Evaluate a single variable polynomial equation

Raku, 19 bytes (*Z*(*X**0..*)).sum Try it online! Is it concerning that my solution is over 30% asterisks? Explanation ( ).sum # Get the sum of *Z*( ) # The inp...

posted 3y ago by Jo King‭  ·  edited 3y ago by Jo King‭

Answer
66%
+2 −0
Challenges Prime Difference

Raku, 33 bytes {1+(3...{($^a...&is-prime)>=$_})} Try it online! Anonymous code block that takes a number and returns a number. Explanation { } # Anony...

posted 3y ago by Jo King‭  ·  edited 3y ago by Jo King‭

Answer
60%
+1 −0
71%
+3 −0
Challenges Prime Difference

Husk, 8 bytes Ψḟo≥⁰≠İp Try it online! or Verify first 8 values It is always a good day when you get to use Ψ in your program. Explanation Ψḟo≥⁰≠İp İp to the infinite list of prime num...

posted 3y ago by Razetime‭  ·  edited 3y ago by Razetime‭

Answer
71%
+3 −0
Meta Do you want any special tag styling or requirements?

For reference, this is the list of tags we have from SE which is 9 pages long, so I'll take the liberty of listing out which ones are "required" tags, as they are used to signify a scoring criterio...

posted 3y ago by Razetime‭

Answer
75%
+4 −0
Meta Sandbox-specific Tags

Another approach, suggested by ArtOfCode in chat, is to create a close reason for "graduated" sandbox posts. When defining a close reason you can require a URL (this is what's used for duplicates)...

posted 3y ago by Monica Cellio‭

Answer
60%
+1 −0
Meta Sandbox-specific Tags

I think there should be a standard set of tabs to use in Sandbox to indicate that a post has been turned into a Challenge, and possibly for other Sandbox-specific status issues as well.

1 answer  ·  posted 3y ago by manassehkatz‭  ·  last activity 3y ago by Monica Cellio‭

Question feature-request
75%
+4 −0
Meta Do you want any special tag styling or requirements?

Codidact allows you to define three special types of tags: topic tags: these are treated as ordinary tags in all respects except that they're styled differently so they stand out. You can see...

1 answer  ·  posted 3y ago by Monica Cellio‭  ·  last activity 3y ago by Razetime‭

Question discussion
81%
+7 −0
Meta Who should the temporary moderators be?

As we have set up communities here on the Codidact network we've been appointing temporary moderators. Ultimately, of course, we want each community to choose its own moderators; we've been doing ...

4 answers  ·  posted 3y ago by Monica Cellio‭  ·  last activity 3y ago by deleted user

71%
+3 −0
Meta Should we import our old policy posts?

For a small number of posts, it will be easier to create them here than to import them. Your moderators (yes we need to get some) can create new help topics, which you can link to from question po...

posted 3y ago by Monica Cellio‭

Answer
60%
+1 −0
Meta Should we import our old policy posts?

I haven't been involved enough in SE Code Golf to really count for much. But I do think we need to have policies stated somewhere. One advantage we have here is that once policies get reasonably fi...

posted 3y ago by manassehkatz‭

Answer
80%
+6 −0
Meta Should we import our old policy posts?

Over on codegolf.stackexchange.com, we have numerous meta posts outlining loopholes answers can't break, validity of output/input methods and other rule-type posts. Some examples: https://cod...

2 answers  ·  posted 3y ago by lyxal‭  ·  edited 3y ago by lyxal‭

Question discussion
80%
+6 −0
Challenges "Hello, World!"

PHP, 13 bytes Hello, World! PHP by default prints all source to output until it encounters <? or <?php.

posted 3y ago by manassehkatz‭

Answer
75%
+4 −0
Challenges "Hello, World!"

Perl 5 -E, 18 bytes say"Hello, World!"

posted 3y ago by msh210‭  ·  edited 3y ago by user‭

Answer
77%
+5 −0
Challenges Print the Great Numeric Pyramid

Canvas, 19 bytes ‾-{{╷¹²-m‾-¹-m] *]/ Try it here! ‾-{{╷¹²-m‾-¹-m] *]/ Program, ascii-fied for monospacing ‾- push 28 { ] for 1…28 (pushing counter & s...

posted 3y ago by dzaima‭  ·  edited 3y ago by dzaima‭

Answer
50%
+1 −1
Sandbox OEIS Identification

posted 3y ago by moony‭  ·  edited 3y ago by moony‭

77%
+5 −0
Challenges Print the Great Numeric Pyramid

Japt -R, 27 22 bytes 27òÈn28 ÇmX27-X-ZøÃÔû Test it Lots of credit goes to xnor for finding the min(i,j,27-i-j) trick. -5 bytes thanks to @Shaggy

posted 3y ago by Quintec‭  ·  edited 3y ago by Quintec‭

Answer
71%
+3 −0
Challenges Prime Difference

Dyalog APL Extended, 14 bytes {¯4⍭4⍭⍣(⍵≤-)2} Try it online! {¯4⍭4⍭⍣(⍵≤-)2} Monadic dfn 2 start with 2 ⍣ Repeat 4⍭ the function "next prime" ...

posted 3y ago by dzaima‭

Answer
75%
+4 −0
Challenges Evaluate a single variable polynomial equation

Japt, 12 bytes ÊÆgX *VpXÃr+ Loops through the range of integers 0 to n-1, calculates each term, and sums. Try it

posted 3y ago by Quintec‭

Answer
77%
+5 −0
Challenges Prime Difference

Given an integer n, output the smallest prime such that the difference between it and the next prime is at least n. For example, if n=5, you would output 23, since the next prime is 29, and 29-23&...

8 answers  ·  posted 3y ago by Quintec‭  ·  last activity 2y ago by radarek‭

Question code-golf
71%
+3 −0
Challenges "Hello, World!"

Bash, 18 bytes echo Hello, World! Try it online!

posted 3y ago by 2x-1‭

Answer
71%
+3 −0
Challenges "Hello, World!"

SOGL, 10 bytes ╥‰~⅜,(ε ‘ū Try it here! Built-in compression of "hello"; ", "; "world"; "!", with first letters of words uppercased.

posted 3y ago by dzaima‭

Answer