Timeline for Use xkcd's formula to approximate the world population
Current License: CC BY-SA 3.0
30 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 18, 2016 at 22:48 | comment | added | FlipTack | If anyone's interested, I made an obfuscated solution for this in a cops/robbers challenge ;) | |
| Jan 9, 2016 at 10:25 | comment | added | wizzwizz4 | Now we can make sure nobody hardcoded the year! | |
| Jan 8, 2016 at 1:27 | answer | added | a spaghetto | timeline score: 2 | |
| Oct 9, 2015 at 14:04 | answer | added | Conor O'Brien | timeline score: 3 | |
| Oct 9, 2015 at 0:19 | vote | accept | NinjaBearMonkey | ||
| Sep 29, 2015 at 11:01 | answer | added | axiac | timeline score: 1 | |
| Sep 29, 2015 at 8:27 | answer | added | Shujal | timeline score: 1 | |
| Sep 28, 2015 at 23:41 | answer | added | PotatoOmeletteSandwich | timeline score: 2 | |
| Sep 27, 2015 at 13:39 | answer | added | edc65 | timeline score: 3 | |
| Sep 19, 2015 at 22:06 | answer | added | a spaghetto | timeline score: 3 | |
| Sep 14, 2015 at 15:03 | answer | added | AdmBorkBork | timeline score: 4 | |
| Sep 13, 2015 at 17:00 | answer | added | Charlotte Hadley | timeline score: 3 | |
| Sep 13, 2015 at 16:10 | history | edited | NinjaBearMonkey | CC BY-SA 3.0 | clarifications |
| Sep 13, 2015 at 5:32 | answer | added | Reto Koradi | timeline score: 6 | |
| Sep 13, 2015 at 5:15 | comment | added | PhiNotPi | @NinjaBearMonkey I suggest that you change the description of "adding 3, thinking concatenation" to a literal "add 300" to cover all of the edge cases that occur when the previous result isn't a nice 2-digit positive number. (For example, year 2000 gives 280 as a result of -20+300=280 and not 3 . -20= "3-20") | |
| Sep 12, 2015 at 21:38 | answer | added | lirtosiast | timeline score: 23 | |
| Sep 12, 2015 at 20:38 | answer | added | ETHproductions | timeline score: 16 | |
| Sep 12, 2015 at 20:16 | comment | added | cole | @NinjaBearMonkey That's fair, I jumped the gun a bit and made a submission so I'll delete it. My apologies for doing so. | |
| Sep 12, 2015 at 20:11 | history | edited | NinjaBearMonkey | CC BY-SA 3.0 | deleted 294 characters in body |
| Sep 12, 2015 at 20:09 | comment | added | NinjaBearMonkey | @Cole Good point, I'll make it so you only have to support years through 2039. About hardcoding the year, I don't want to allow hardcoding because that will almost always be shorter even languages that do support dates. | |
| Sep 12, 2015 at 20:07 | answer | added | Blue | timeline score: 10 | |
| Sep 12, 2015 at 20:06 | comment | added | cole | Also, if the language we use cannot obtain the current year, should we hardcode it in, provided that the code without the hardcoded year will work for the range of inputs? | |
| Sep 12, 2015 at 20:01 | comment | added | cole | I'm a little confused by the United States population one. If you're concatenating a 3, shouldn't 2040 give a population of 3100? 40 - 10 = 30, 30 * 3 = 90, 90 + 10 = 100, which would give "3" + "100" = 3100 | |
| Sep 12, 2015 at 19:51 | answer | added | user42643 | timeline score: 5 | |
| Sep 12, 2015 at 19:47 | history | edited | NinjaBearMonkey | CC BY-SA 3.0 | emphasize current year |
| Sep 12, 2015 at 19:45 | answer | added | Beta Decay | timeline score: 5 | |
| Sep 12, 2015 at 19:39 | answer | added | Blue | timeline score: 10 | |
| Sep 12, 2015 at 19:38 | comment | added | NinjaBearMonkey | @muddyfish I'm not sure I understand. If you follow the instructions in the comic exactly, there's technically no division going on, but the world population should be rounded to the nearest tenth. | |
| Sep 12, 2015 at 19:35 | comment | added | Blue | Do you have to round the numbers? | |
| Sep 12, 2015 at 19:23 | history | asked | NinjaBearMonkey | CC BY-SA 3.0 |