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
 
66%
+2 −0
Challenges "Hello, World!"

AppleScript, 15 bytes "Hello, World!" No, I'm not joking. This ridiculous language for a code golf actually beats some of the more normal languages.

posted 3y ago by DonielF‭

Answer
60%
+1 −0
Challenges Tile pyramids on top of each other!

Python 2, 57 bytes a,x=1,input() exec'print" "*(x-a)+"/"*a+"\\\\"*a;a+=1;'*x Prints it out line by line Try it online!

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

Answer
73%
+9 −2
Challenges "Hello, World!"

Javascript V8, 888 bytes $=-~[] *~-((~-~ [])** -~- ~[]); _$=$+ ~[];$$_=_$...

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

Answer
60%
+1 −0
Challenges Tile pyramids on top of each other!

Canvas, 9 7 bytes H/×║∔}r Try it here! Explanation H/×║+}r H } push empty art and start a loop from 1..n /× repeat '/' i times ║ palindromize horizontally(no overlap) ...

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

Answer
60%
+1 −0
Challenges Tile pyramids on top of each other!

JavaScript (Node.js), 57 56 bytes f=(a,b='/\\')=>a--?''.padEnd(a)+b+` `+f(a,'/'+b+'\\'):'' Try it online!

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

Answer
66%
+2 −0
Challenges Tile pyramids on top of each other!

Japt -R, 12 bytes õÈ"/\\"mpXÃû Try it õÈ"/\\"mpXÃû :Implicit input of integer õ :Range [1,input] È :Map each X "/\\" : Literal string m ...

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

Answer
75%
+4 −0
Challenges Tile pyramids on top of each other!

The task Given a positive integer as input, output tiled pyramids of this height. How? Let's say the inputted integer was n. From there, we output n lines of output, each having: A decreasing...

9 answers  ·  posted 3y ago by Dion‭  ·  last activity 2y ago by A username‭

Question code-golf ascii-art
81%
+7 −0
Meta Should sandbox posts give rep?

The Sandbox is intended to be a place for feedback, right? If I lost rep because my sandboxed idea wasn't good, I'd be pretty angry about that. Don't have the Sandbox modify reputation; instead us...

posted 3y ago by Corsaka‭

Answer
66%
+2 −0
Challenges "Hello, World!"

JavaScript (V8), 28 bytes console.log("Hello, World!") Try it online!

posted 3y ago by Dion‭

Answer
75%
+7 −1
Meta Who should the temporary moderators be?

I nominate Jo King, as they were already voted as moderator by the community earlier. They have proven to be an active and trustworthy moderator, who is also a consistent contributor to the code g...

posted 3y ago by Razetime‭

Answer
83%
+8 −0
Challenges "Hello, World!"

Shakespeare Programming Language, 974 bytes Only 973 bytes away from winning. a.Ajax,.Puck,.Act I:.Scene I:.[Enter Puck and Ajax]Puck:You is the cube ofa big big cat.Ajax:You is the sum ofI a big...

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

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

R, 20 bytes cat("Hello, World!") Try it online!

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

Answer
71%
+3 −0
Challenges Length of a Sumac Sequence

Japt -N, 9 bytes ¨T©ÒßVVnU Try it ¨T©ÒßVVnU :Implicit input of integers U & V ¨ :U is >= T : 0 © :Logical AND with Ò :Negate the...

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

Answer
80%
+6 −0
Challenges Partial Sums of Harmonic Series

Japt, 11 10 bytes >0©ÒßUÉ/°T Try it >0©ÒßUÉ/°T :Implicit input of integer U >0 :Greater than 0? © :Logical AND with Ò :Negate the bitwise ...

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

Answer
77%
+5 −0
Challenges Evaluate a single variable polynomial equation

Japt -x, 6 5 bytes Ë*VpE Try it Ë*VpE :Implicit input of array U and float V Ë :Map each element D at 0-based index E * : Multiply D by VpE : V raised to the pow...

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

Answer
75%
+4 −0
Challenges Length of a Sumac Sequence

Raku, 19 bytes {(|@_,*-*...0>*)-1} Try it online! { } # Anonymous code block ... # Create a sequence |@_ # Starting with the input ...

posted 3y ago by Jo King‭

Answer
83%
+8 −0
Meta Should sandbox posts give rep?

Should sandbox posts give rep? On one hand, keeping this feature motivates more people to use the sandbox. On the other hand, allowing people to gain rep twice for the same content seems wrong in s...

3 answers  ·  posted 3y ago by Quintec‭  ·  last activity 3y ago by Monica Cellio‭

Question discussion
71%
+3 −0
Challenges Length of a Sumac Sequence

JavaScript (Node.js), 27 25 bytes (-2 thanks to JoKing) f=(a,b)=>a<0?0:1+f(b,a-b) Try it online!

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

Answer
75%
+4 −0
Challenges Length of a Sumac Sequence

Python 3, 49 47 44 35 bytes a=lambda x,y:+(x>=0)and(1+a(y,x-y)) Try it online! -3 bytes thanks to @Hakerh400‭ -9 bytes thanks to @Jo King‭ Python 2, 50 bytes x,y=input() a=0 while...

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

Answer
66%
+2 −0
Challenges Length of a Sumac Sequence

JavaScript (Node.js), 31 bytes f=(a,b)=>a<0?0:b<0?1:1+f(b,a-b) Try it online!

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

Answer
84%
+9 −0
Challenges Length of a Sumac Sequence

Heavily based on this closed challenge from SE. Description A Sumac sequence starts with two non-zero integers $t_1$ and $t_2.$ The next term, $t_3 = t_1 - t_2$ More generally, $t_n = t_{n-2} ...

9 answers  ·  posted 3y ago by Razetime‭  ·  edited 3y ago by General Sebast1an‭

71%
+3 −0
Sandbox Weave strings together[FINALIZED]

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

60%
+1 −0
Sandbox Golf me a polygonal loader

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

75%
+4 −0
Challenges Partial Sums of Harmonic Series

Stax, 9 bytes Ç≈f♠É↔X+ö Run and debug it Explanation(Unpacked): wii{um|+;< w iterate until a falsy result is reached: ii push iteration number i twice {um map r...

posted 3y ago by Razetime‭

Answer
77%
+5 −0
Challenges Partial Sums of Harmonic Series

Raku, 27 bytes {+([\+](1 X/1..*)...*>=$_)} Try it online! { } # Anonymous code block [\+]( ) # Get the partial sum of 1 X/ ...

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

Answer