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 »

Posts by Razetime‭

107 posts
75%
+4 −0
Sandbox Find the IP address class [FINALIZED]

posted 2y ago by Razetime‭  ·  edited 11mo ago by trichoplax‭

75%
+4 −0
Challenges The Ludic Numbers

The Ludic Numbers are a sequence that pops up when you apply the sieve of eratosthenes to the natural numbers, completely removing the numbers every iteration. Here is how they are generated: The...

3 answers  ·  posted 2y ago by Razetime‭  ·  last activity 2y ago by General Sebast1an‭

Question code-golf sequence
71%
+3 −0
Sandbox The Ludic Numbers[FINALIZED]

posted 2y ago by Razetime‭  ·  edited 11mo ago by trichoplax‭

66%
+2 −0
Challenges Collatz conjecture; Count the tries to reach $1$

BQN, 31 28 bytes {1+(1≠𝕩)◶¯1‿𝕊2(|⊑÷˜∾1+3×⊢)𝕩} Try it online! An anonymous function which takes a number. the ¯1 branch is a bit tacky but saves a byte over (1+𝕊).

posted 2y ago by Razetime‭  ·  edited 2y ago by Marshall Lochbaum‭

Answer
66%
+2 −0
Challenges Digit Sum Integer Sequence (working title)

jq, 38 bytes while(1;.+("\(.)"|explode|max+min-96)) Try it online! prints the infinite sequence starting with $n$.

posted 2y ago by Razetime‭

Answer
60%
+1 −0
Challenges Stairs? Stairs! Stairs.

Stax, 8 bytes Ç▐GcΦ≡◘¶ Run and debug it Uses spaces as the staircase fill.

posted 2y ago by Razetime‭

Answer
60%
+1 −0
Challenges My house is destroyed! Can you make me one?

Charcoal, 7 bytes GH↑→↓N# Try it online! Link is to verbose version of code. PolygonHollow exactly fits this challenge. Prints a polygon with sides in x, all with length y, and the z used ...

posted 2y ago by Razetime‭

Answer
75%
+4 −0
Challenges When The Ternary Is Balance

Inspired by this Rosetta Code article. Introduction Balanced Ternary is a method of representing integers using -1, 0 and 1 in base 3. Decimal 11 = (1 * 32) + (1 * 31) + (−1 * 30) = [1,1,-1] or ...

3 answers  ·  posted 2y ago by Razetime‭  ·  last activity 2y ago by Moshi‭

Question code-golf number base
75%
+4 −0
Challenges "Hello, {name}!"

jq, 14 bytes "Hello, \(.)!" Try it online! jq has expression interpolation, pretty epic!

posted 2y ago by Razetime‭

Answer
66%
+2 −0
Challenges Make my value binary

jq, 48 bytes [while(.>0;./2|floor)]|map(.%2)|reverse|join("") Try it online! jq is the Language of the month for September! if the output is not required as per the question, join can be o...

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

Answer
71%
+3 −0
Sandbox Balance my ternary[FINALIZED]

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

60%
+1 −0
Challenges Make $2 + 2 = 5$

Husk, 7 bytes +±Λ=2¹Σ Try it online! Input as a list.

posted 2y ago by Razetime‭

Answer
60%
+1 −0
Challenges Getting perfect squares, differently

Husk, 3 bytes ∫İ1 Try it online! Scan from left over all odd numbers with addition. Uses this formula: $$ n^2 = \sum_{k=1}^n(2k-1) $$

posted 2y ago by Razetime‭

Answer
85%
+10 −0
Challenges Are All Elements Equal?

Challenge Given a list of integers >= 0 , check if all of them are equal. Tests [1,1,1,1,1] -> true [0,1,1,6,7] -> false [1] -> true [] -> undefined(you do n...

16 answers  ·  posted 2y ago by Razetime‭  ·  last activity 2y ago by torres‭

60%
+1 −0
Challenges Reduce over the range [1..n]

BQN, 8 bytes {𝔽´1+↕𝕩} Try it! basic fold builtin version. Use as a dyadic 1-modifier. Longer than APL since evaluated output is shorter than using first class functions. A more fun recursive...

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

Answer
80%
+6 −0
Meta Should [code-golf-tips] be replaced with [tips] + [code-golf]?

Yes tips is a sort of prefix tag, and code-golf-tips is a superfluous tag. I think it it worth keeping them separate because tips is already very flexible.

posted 2y ago by Razetime‭  ·  edited 2y ago by General Sebast1an‭

Answer
66%
+2 −0
Challenges It's Hip to be Square

Husk, 5 bytes ±£Θİ□ Try it online! similar to haskell, checks if the number is in the infinite list of squares.

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

Answer
66%
+2 −0
Challenges Guess the language! (Robbers' Thread)

Cracks Lundin's answer: C++ (gcc) %: %: define cops(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t) if(not false and k%:%:f%:%:d%:%:l(& (not true) <:%:i%:j%:k%:l" "%:m" "%:n%:o%:p%:q%:r%:s%:t:&...

posted 2y ago by Razetime‭

Answer
66%
+2 −0
Challenges Guess the language! (Robbers' Thread)

Cracks Shaggy's answer: Japt ((Cops)&(Robbers))`¬ps „d žbÞ`¸ËhDÎmEgviuø Test it

posted 2y ago by Razetime‭

Answer
71%
+3 −0
Sandbox Are All Elements Equal?[FINALIZED]

posted 2y ago by Razetime‭  ·  edited 11mo ago by trichoplax‭

57%
+2 −1
Meta Answering challenges with languages newer than the challenge

Languages made specifically for a challenge after it was published This is the general problem with allowing languages newer than the challenge. This is already considered a standard loophole, and...

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

Answer
77%
+5 −0
Challenges Gamer Meme Creator

Challenge You will be given a string and an ascii art as input. The string must be placed above the ascii art, and centered based on its longest line. The text BOTTOM TEXT must be placed below...

4 answers  ·  posted 3y ago by Razetime‭  ·  last activity 2y ago by user‭

66%
+2 −0
Sandbox Gamer Meme Creator[FINALIZED]

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

66%
+2 −0
Challenges Caesar shift cipher

Ruby, 56 bytes ->s,i{a=[*?a..?z].rotate(i)*"";s.tr "A-Za-z",a.upcase+a} Try it online! tr is wildly useful here. Builds the tr string manually and replaces only the alphabets.

posted 3y ago by Razetime‭

Answer
71%
+3 −0
Meta How free is "free" for cops and robbers?

Free as in usable on a free platform "free" meaning there must be a downloadable interpreter available for the language which can run the program with the required features, on an online/offline s...

posted 3y ago by Razetime‭

Answer