Difference between revisions of "User:452"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(adding additional information)
(appending new reasons)
Line 127: Line 127:
 
#too many hands on the keyboard
 
#too many hands on the keyboard
 
#I got pretty distracted trying to figure out how big space is
 
#I got pretty distracted trying to figure out how big space is
 +
#subtle threading bug in turing-complete version numbering system
 +
#firewall caught fire
 +
#unimplemented trap
 +
#helvetica scenario
 +
#ethics in journalism
 +
#dictionary too stiff to read
 +
#<%= reason %>
 +
#overcurrent undervolt caused by vacuum cleaner on same circuit
 +
#our buffer runneth over
 +
#insufficient smoke for current mirror array

Revision as of 22:39, 1 April 2015

Status

Edit: "ERR_CONNECTION_REFUSED". :(

I'm now unblocked, so apparently it's only temporary. Resuming at 1 request per 30 seconds.

Source of data is http://c0.xkcd.com/xb/feed

Structure

feed: Array[3] {
Objectid: "a88f9898-8ae9-5b33-93e6-a5993daa922c"
img: "022f762b-9483-519c-8e6e-bd7a0ed5e2ba"
kind: "post"
poster: "Frances51"
profpic: "user-14.png"
text: "Never will follow the instructions on google maps again."
}
prompt {
reason: "RDBMS completely forgot how inner joins work"
id: "21bd52d8-a3a4-590f-8888-db854fb52ce3"
poster: "Bool Hand Luke"
profpic: "user-4.png"
img_id: "21bd52d8-a3a4-590f-8888-db854fb52ce3"
captions: Array[5]
text:"just two more trips over the horizon"
album: Array[5]
}

Prompt varies between containing:

  • img_id and captions array
  • text and album array

Script to get reasons:

reasons = new Array();
function next() {
  $.getJSON('http://c0.xkcd.com/xb/feed').done(function (data) {
        if (reasons.indexOf(data.prompt.reason) == -1) {
          reasons.push(data.prompt.reason);
          console.log(reasons.length+": "+data.prompt.reason); //feel free to move this out of the "if" if you want to see duplicates.
        }
  });
}
next();
setInterval('next()', 60000);

(Go to xkcd, and paste it in the browser console.) I've determined 10 seconds to be the time you keep getting the same data, so there's no reason to poll the server more frequently than that.

However, since the server is now blocking my requests after 20 minutes of doing that, perhaps 10 seconds is too frequent, so I've updated the example to only make 1 request per minute.

You can check on the reason variable at any time.

I'm only interested getting in the reasons, feel free to adapt this script to get whatever else.


Reasons I've found so far:

  1. lights are out, hard drive is taking a nap
  2. could not evade skifree yeti
  3. CRM-114 unit malfunctioning
  4. Desystematized chronodynamic balancing detected in VX Module core.
  5. Please Insert Riven CD 4
  6. cat-like typing detected
  7. sysadmin trapped in well
  8. error
  9. butter underrun
  10. Something went wrong: Something went wrong (Something went wrong)
  11. hard drive oil depleted
  12. oh jeez there's a lot of you can you all just hang on for a second please oh frig this is so bad
  13. PRESS PLAY ON TAPE
  14. temporal paradox
  15. Main Bus B Undervolt
  16. tape on write-protect hole fell off
  17. RDBMS completely forgot how inner joins work
  18. undefined is not a function, which really makes you think
  19. database configuration violates the Prime Directive
  20. User is not a typewriter.
  21. server fell in ocean
  22. mean connection time exceeded
  23. spontaneous splinal dereticulation
  24. nanobots in the water
  25. turns out server was on circuit with lightswitch by door
  26. user put spaces/vowels in filename
  27. TRIED TO READ 9TH SIDE OF 8 TRACK
  28. the system / is down
  29. electrons too big, stuck in wafer
  30. error: error code [error] while decoding error code
  31. butter didn't suit the works
  32. illegal carrot detected in mail queue
  33. virtual memory got too real
  34. could not initialize sound blaster 16
  35. ERR:INVALID DIM
  36. aol window in front of netscape window
  37. bookmarks migrated to Venezuela
  38. i hurt myself today / to see if i still feel
  39. lp0 on fire
  40. unexpected timezone drift desynchronization
  41. the butter you have dialed is invalid or no longer in service
  42. butter overflow
  43. User accepted terms but not conditions
  44. wrong files
  45. data too big
  46. http is down
  47. server room haunted
  48. confirmation BIOS
  49. HTTP 403 and 3/4ths
  50. general uncertainty
  51. error: operation completed successfully
  52. hung up prematurely
  53. floating point unit no longer afloat
  54. SQL ejection
  55. guru meditation #00000025.65045338 press left mouse button to continue
  56. +++ OUT OF CHEESE ERROR. REDO FROM START +++
  57. CAPTCHA response indicated parahuman intelligence
  58. butter to text interface not found
  59. friday squid blogging
  60. server aperture too narrow for capital letters
  61. GSM filter change required
  62. screws are stripped
  63. sitemap was held upside down
  64. UTF-31 decode error
  65. spin number must be of the form n/2
  66. cumulonimbus #19 too rabbitlike
  67. the server is temporarily permanent. Please try another also.
  68. HTTP 418
  69. spin cycle still active
  70. Dave's not registered, man
  71. This page contains content from the Open Source Initiative, who have blocked it on copyright grounds.
  72. minimum recursion depth not reached
  73. Unable to cast variable of type Int32 to Magic Missile
  74. server had too much to drink
  75. too many hands on the keyboard
  76. I got pretty distracted trying to figure out how big space is
  77. subtle threading bug in turing-complete version numbering system
  78. firewall caught fire
  79. unimplemented trap
  80. helvetica scenario
  81. ethics in journalism
  82. dictionary too stiff to read
  83. <%= reason %>
  84. overcurrent undervolt caused by vacuum cleaner on same circuit
  85. our buffer runneth over
  86. insufficient smoke for current mirror array