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 moony‭

16 posts
88%
+13 −0
Challenges Evaluate a single variable polynomial equation

Challenge Given a list of n numbers and x, compute $a + bx^1 + cx^{2} + ... + zx^{n-1}$, where a is the first value in the list, b is the second, etc. n is at most 256 and at least 0. The input va...

20 answers  ·  posted 4y ago by moony‭  ·  last activity 3y ago by south‭

Question code-golf math
86%
+11 −0
Challenges Reverse an ASCII string

Your goal is to reverse an ascii string. Given a (optionally newline or null terminated) input, output your input in reverse order, optionally followed by a newline. Terminate afterward. Function...

33 answers  ·  posted 4y ago by moony‭  ·  last activity 6mo ago by xrs‭

Question code-golf
84%
+9 −0
Meta Do we require codegolf challenges include example code?

I feel it'd be a good idea to require, or at least heavily encourage, that challenges include an example, ungolfed, readable solution in a non-golf language like Javascript, C, Rust, or Python. Th...

1 answer  ·  posted 4y ago by moony‭  ·  last activity 4y ago by dzaima‭

Question discussion
81%
+7 −0
Challenges Bytes to Segfault

Challenge Cause the currently running program to receive the SIGSEGV signal (on Linux or other *nix systems) as fast as possible. What it does with the signal doesn't matter as long as it receives...

10 answers  ·  posted 4y ago by moony‭  ·  last activity 3y ago by radarek‭

Question code-golf *nix
77%
+5 −0
Q&A Befunge Golfing Tips

Post tips for Befunge code golf here! This is based on a type of question I used to see on CGCC, where people would post tips for golfing in various languages. They happened to be quite helpful, s...

3 answers  ·  posted 4y ago by moony‭  ·  edited 3y ago by user‭

Question code-golf tips
77%
+5 −0
Meta Microcontroller-involving challenges and the rules.

I'd like to make a challenge that involves the use of a microcontroller, specifically, a challenge to read any 4-bit Gray Code from 4 IO pins, and convert it to binary. Simple introductory type cha...

1 answer  ·  posted 4y ago by moony‭  ·  last activity 4y ago by Lundin‭

71%
+3 −0
Q&A Befunge Golfing Tips

Golfing numbers Numbers above 15 and below zero take more than one byte to create. Here's a table of numbers up to 100 (Not including negatives yet) Table for '98 NOTE: For numbers that are al...

posted 4y ago by moony‭  ·  edited 4y ago by Moshi‭

Answer
66%
+2 −0
Sandbox Evaluate a univariate polynomial [FINALIZED]

posted 4y ago by moony‭  ·  edited 1y ago by trichoplax‭

66%
+4 −1
Challenges "Hello, World!"

Raku, 19 bytes "Hello, World!".say Explanation First second answer of the.. entire site, actually. Nothing special. I don't think this can go shorter, but this is Raku, who actually knows. I m...

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

Answer
66%
+2 −0
Challenges Bytes to Segfault

C, 16 bytes m(){*(int*)m=0;} Try it Online!

posted 4y ago by moony‭

Answer
66%
+2 −0
Challenges Bytes to Segfault

Rust 1.0.0, 58 53 52 37 bytes fn a(){#[no_mangle]static mmap:u8=0;}

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

Answer
66%
+2 −0
Challenges Reverse an ASCII string

Befunge-98, 45 39 37 33 29 21 bytes v:~< >a-| >v$< ,: ^_@ Try it online! This answer probably sucks :P

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

Answer
66%
+2 −0
Q&A Befunge Golfing Tips

Bitwise operations (WIP) Befunge, rather pointedly, lacks bitwise ops. No shifts, no and, no or, no xor. Shifts Shifts can be implemented as multiplication and division by powers of two. Shifts...

posted 4y ago by moony‭

Answer
66%
+2 −0
Sandbox Interleave multiple arrays at once

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

Article code-golf
50%
+1 −1
Sandbox OEIS Identification

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

50%
+0 −0
Sandbox Largest finite output

posted 4y ago by moony‭