Skip to main content

Timeline for Binary Numbers Magic Trick

Current License: CC BY-SA 4.0

16 events
when toggle format what by license comment
May 2, 2019 at 1:09 history edited youcantryreachingme CC BY-SA 4.0
compact solution further
May 2, 2019 at 0:42 comment added youcantryreachingme It'll be violins soon 🙄
May 2, 2019 at 0:42 history edited youcantryreachingme CC BY-SA 4.0
edited body
May 2, 2019 at 0:41 comment added ASCII-only :| "viola" is a musical instrument
May 2, 2019 at 0:21 comment added youcantryreachingme @JonathanFrech fixed.
May 2, 2019 at 0:20 history undeleted youcantryreachingme
May 2, 2019 at 0:18 history edited youcantryreachingme CC BY-SA 4.0
corrections to logic - correctly slice the arrays across the card, rather than down. Update fiddle link.
May 1, 2019 at 10:09 history deleted youcantryreachingme via Vote
May 1, 2019 at 10:06 comment added Jonathan Frech I appreciate your effort but if your solution is not correct, please fix it or delete your post. We generally do not allow for invalid answers to linger.
May 1, 2019 at 3:19 comment added youcantryreachingme @JonathanFrech - I did not explicitly code for the ordering of the numbers, although there may be an implicit condition in the language resulting in a guaranteed order. They render in correct ascending order. Separately, after posting, I realised I had misunderstood how the data were to be presented (in striped arrays per card, rather than one single set per card) - so have yet to solve that problem. As such, the result currently renders the correct numbers, in ascending order, within each of the 6 expected sets - see the linked sql fiddle. Still to do: break the sets into 5 subsets each.
Apr 30, 2019 at 7:43 comment added Jonathan Frech I do not fully understand -- are you saying that your solution only works by chance or are you convinced you followed the specifications correctly?
Apr 30, 2019 at 6:57 comment added youcantryreachingme Haha. Neither as fun, nor extensible.
Apr 30, 2019 at 6:55 comment added Jo King Jeez, wouldn't it be shorter to just hardcode the result?
Apr 30, 2019 at 6:19 history edited youcantryreachingme CC BY-SA 4.0
edits
Apr 30, 2019 at 6:10 review First posts
Apr 30, 2019 at 7:43
Apr 30, 2019 at 6:05 history answered youcantryreachingme CC BY-SA 4.0