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 »
Challenges

Post History

71%
+3 −0
Challenges Can you give me half?

J, 4 3 distinct, 6 bytes -:_-:_ Half of _ -: _ which is asks if infinity matches infinity. Thanks to @xash in the APL farm discord for saving the 3 unique bytes and orthoplex for catching my bl...

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

Answer
#3: Post edited by user avatar south‭ · 2022-02-10T22:50:25Z (over 2 years ago)
  • # [J](https://jsoftware.com/#/), ~~4~~ 3 distinct, ~~4~~ 5 bytes
  • ```J
  • %#_ _
  • ```
  • ~~Half (`-:`) of the sign (`*`) of infinity (`_`).~~
  • Reciprocal of the number of items in the given vector (2 infinities). This might be the winner for J.
  • # [J](https://jsoftware.com/#/), ~~4~~ 3 distinct, 6 bytes
  • ```J
  • -:_-:_
  • ```
  • Half of `_ -: _` which is asks if infinity matches infinity. Thanks to @xash in the APL farm discord for saving the 3 unique bytes and orthoplex for catching my blunder.
#2: Post edited by user avatar south‭ · 2022-02-10T16:40:07Z (over 2 years ago)
  • # [J](https://jsoftware.com/#/), 4 distinct, 4 bytes
  • ```J
  • -:*_
  • ```
  • [Try it online!](https://tio.run/##y/r/PzU5I19B10or/v9/AA)
  • Half (`-:`) of the sign (`*`) of infinity (`_`).
  • # [J](https://jsoftware.com/#/), ~~4~~ 3 distinct, ~~4~~ 5 bytes
  • ```J
  • %#_ _
  • ```
  • ~~Half (`-:`) of the sign (`*`) of infinity (`_`).~~
  • Reciprocal of the number of items in the given vector (2 infinities). This might be the winner for J.
#1: Initial revision by user avatar south‭ · 2022-02-10T04:14:23Z (over 2 years ago)
# [J](https://jsoftware.com/#/), 4 distinct, 4 bytes

```J
-:*_
```

[Try it online!](https://tio.run/##y/r/PzU5I19B10or/v9/AA)

Half (`-:`) of the sign (`*`) of infinity (`_`).