Timeline for Is this number a prime?
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 6, 2021 at 23:39 | comment | added | Cloudy7 | @MartinEnder I just realized, looking at this a year later, that a significant number of bytes could be shaved off here, as you can obtain the value -1 by parsing a string without a number in it at Parsons Green to obtain 0, then using Notting Hill Gate to turn it to -1. This would remove the need to use Cannon Street entirely. Also, there are a couple station names that could be reduced -- "Embankment" can be replaced with "Bank", for instance. | |
| Apr 22, 2020 at 16:12 | comment | added | Martin Ender | @Cloudy7 Yeah, you're right, I meant Cannon Street. | |
| Apr 22, 2020 at 16:07 | comment | added | Cloudy7 | @MartinEnder Wow, that's still better than what I dreamed up, which was getting the name of the station "Bromley-by-Bow", getting the last seven characters at Mile End, using Charing Cross twice to get the hyphen out, then concatenating with a string containing a number at Paddington. (Interestingly, Notting Hill Gate seems to add 1 to any positive integer and then negate it. Weird.) | |
| Apr 22, 2020 at 9:40 | comment | added | Martin Ender | @Cloudy7 Yeah something like that. I just stepped through the program in the Esoteric IDE, and apparently I picked up the 7 from Seven Sisters, divided by itself in Chalfont & Latimer to get a 1, negated in Notting Hill Gate to get a -2 and added those together in Upminster for a -1. In hindsight, this seems a little unnecessarily complicated. I think I could've just done the last two steps to the input (without picking up the 7, or dividing by itself). | |
| Apr 22, 2020 at 1:09 | comment | added | Cloudy7 | Minor question - how did you store -1 in Hammersmith? I'm thinking of doing the same for a program I'm writing. I'm guessing it was by Notting Hill Gate, but I could be wrong. | |
| Apr 13, 2017 at 12:39 | history | edited | CommunityBot | replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/ | |
| Jul 12, 2016 at 12:41 | comment | added | Rohan Jhunjhunwala | Wow! I love seeing well thought out questions. I especially love seeing questions where you have to write a program to write a program. | |
| Jul 12, 2016 at 6:47 | comment | added | Martin Ender | @RohanJhunjhunwala probably | |
| Jul 12, 2016 at 1:38 | comment | added | Rohan Jhunjhunwala | Is London turing complete? | |
| Mar 10, 2016 at 13:45 | history | edited | Timwi | CC BY-SA 3.0 | added 29 characters in body |
| S Sep 18, 2015 at 20:05 | history | suggested | Namaskar | CC BY-SA 3.0 | added some commas here and there, changed wording to what I believe sounds better |
| Sep 18, 2015 at 20:04 | review | Suggested edits | |||
| S Sep 18, 2015 at 20:05 | |||||
| Sep 18, 2015 at 19:47 | history | answered | Martin Ender | CC BY-SA 3.0 |