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 »

Activity for south‭

Type On... Excerpt Status Date
Edit Post #285703 Initial revision over 2 years ago
Answer A: It's Hip to be Square
J, 6 bytes ```J 0=1|%: ``` Try it online!
(more)
over 2 years ago
Edit Post #285702 Initial revision over 2 years ago
Answer A: Evaluate a single variable polynomial equation
J, 2 bytes ```J p. ``` Try it online! J likes inflections so it won't beat APL, but J is still a contender :).
(more)
over 2 years ago
Edit Post #285701 Initial revision over 2 years ago
Answer A: Reverse an ASCII string
J, 2 bytes ```J |. ``` Try it online!
(more)
over 2 years ago
Edit Post #285700 Initial revision over 2 years ago
Answer A: Roll n fair dice
J, 10 7 bytes ```J +/>:?#/ ``` Try it online! ``` +/>:?#/ #/ : Inserts dyadic # into an array n m Creates n copies of m ? : Roll from 0..y >: : Increment +/ : Sum reduce ``` -3 bytes thanks to torres.
(more)
over 2 years ago
Edit Post #285697 Initial revision over 2 years ago
Answer A: Make $2 + 2 = 5$
J, 7 9 bytes ```J ++2&=@+. ``` Try it online! Dyadic fork that executes with the form `(x + y) + (2 = x +. y)`. Thanks to torres for pointing out the obvious flaw.
(more)
over 2 years ago
Edit Post #285665 Initial revision over 2 years ago
Answer A: Compute the determinant
J, 5 bytes ``` -/ . ``` Try it online! For the determinant conjunction, the space before `u` is necessary, so there is no shaving a byte here. If you want to read more about this conjunction, check out NuVoc
(more)
over 2 years ago
Edit Post #285643 Initial revision over 2 years ago
Answer A: Reduce over the range [1..n]
J, 11 9 bytes ``` /@(>:@i.) ``` Attempt it online!
(more)
over 2 years ago
Edit Post #285640 Initial revision over 2 years ago
Answer A: "Hello, World!"
J, 15 bytes ``` 'Hello, World!' ``` Or if you prefer to beat around the bush...76 bytes. ``` {:a.{-:^:1@:|.&2 S:0<@:<\50 16.5 36 50.5 54 54 55.5 22 16 43.5 55.5 57 54 ``` Try it online!
(more)
over 2 years ago
Edit Post #285639 Initial revision over 2 years ago
Answer A: Repeat the characters
J, 1 byte ``` # ``` Try it online! The copy verb. It works the exact same as APL and Jelly's replicate.
(more)
over 2 years ago
Edit Post #285638 Initial revision over 2 years ago
Answer A: Are All Elements Equal?
J, 4 bytes ``` -:|. ``` Try it online! Checks if the input array matches itself reversed. This is a tacit form and is executed monadically as `x f (g x)`.
(more)
over 2 years ago
Edit Post #285637 Initial revision over 2 years ago
Answer A: Multiply complex numbers.
J, 2 bytes ``` / ``` Try it online! For complex numbers with `0` as the second part, J will represent them as ints, but they are treated the same.
(more)
over 2 years ago