Difference between revisions of "User:452"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(adding list of reasons my script has found so far)
Line 35: Line 35:
  
 
I'm only interested getting in the reasons, feel free to adapt this script to get whatever else.
 
I'm only interested getting in the reasons, feel free to adapt this script to get whatever else.
 +
 +
 +
Reasons I've found so far:
 +
 +
"lights are out, hard drive is taking a na
 +
*could not evade skifree yeti
 +
*CRM-114 unit malfunctioning
 +
*Desystematized chronodynamic balancing detected in VX Module core.
 +
*Please Insert Riven CD 4
 +
*cat-like typing detected
 +
*sysadmin trapped in well
 +
*error
 +
*butter underrun
 +
*Something went wrong: Something went wrong (Something went wrong)
 +
*hard drive oil depleted
 +
*oh jeez there's a lot of you can you all just hang on for a second please oh frig this is so bad
 +
*PRESS PLAY ON TAPE
 +
*temporal paradox
 +
*Main Bus B Undervolt
 +
*tape on write-protect hole fell off
 +
*RDBMS completely forgot how inner joins work
 +
*undefined is not a function, which really makes you think
 +
*database configuration violates the Prime Directive
 +
*User is not a typewriter.
 +
*server fell in ocean
 +
*mean connection time exceeded
 +
*spontaneous splinal dereticulation
 +
*nanobots in the water
 +
*turns out server was on circuit with lightswitch by door
 +
*user put spaces/vowels in filename
 +
*TRIED TO READ 9TH SIDE OF 8 TRACK
 +
*the system / is down
 +
*electrons too big, stuck in wafer
 +
*error: error code [error] while decoding error code
 +
*butter didn't suit the works
 +
*illegal carrot detected in mail queue
 +
*virtual memory got too real
 +
*could not initialize sound blaster 16
 +
*ERR:INVALID DIM
 +
*aol window in front of netscape window
 +
*bookmarks migrated to Venezuela
 +
*i hurt myself today / to see if i still feel
 +
*lp0 on fire
 +
*unexpected timezone drift desynchronization
 +
*the butter you have dialed is invalid or no longer in service
 +
*butter overflow
 +
*User accepted terms but not conditions
 +
*wrong files
 +
*data too big
 +
*http is down
 +
*server room haunted
 +
*confirmation BIOS
 +
*HTTP 403 and 3/4ths
 +
*general uncertainty
 +
*error: operation completed successfully
 +
*hung up prematurely
 +
*floating point unit no longer afloat
 +
*SQL ejection
 +
*guru meditation #00000025.65045338 press left mouse button to continue
 +
*+++ OUT OF CHEESE ERROR. REDO FROM START +++
 +
*CAPTCHA response indicated parahuman intelligence
 +
*butter to text interface not found
 +
*friday squid blogging
 +
*server aperture too narrow for capital letters

Revision as of 21:38, 1 April 2015

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 {
captions: Array[5]
id: "21bd52d8-a3a4-590f-8888-db854fb52ce3"
img_id: "21bd52d8-a3a4-590f-8888-db854fb52ce3"
poster: "Bool Hand Luke"
profpic: "user-4.png"
reason: "RDBMS completely forgot how inner joins work"
}

Script to get reasons:

reasons = new Array();
function next() {
  $.getJSON('http://c0.xkcd.com/xb/feed').done(function (data) {
        console.log(data.prompt.reason);
        if (reasons.indexOf(data.prompt.reason) == -1) reasons.push(data.prompt.reason);
  });
}
next();
setInterval('next()', 10000);

(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.

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:

"lights are out, hard drive is taking a na

  • could not evade skifree yeti
  • CRM-114 unit malfunctioning
  • Desystematized chronodynamic balancing detected in VX Module core.
  • Please Insert Riven CD 4
  • cat-like typing detected
  • sysadmin trapped in well
  • error
  • butter underrun
  • Something went wrong: Something went wrong (Something went wrong)
  • hard drive oil depleted
  • oh jeez there's a lot of you can you all just hang on for a second please oh frig this is so bad
  • PRESS PLAY ON TAPE
  • temporal paradox
  • Main Bus B Undervolt
  • tape on write-protect hole fell off
  • RDBMS completely forgot how inner joins work
  • undefined is not a function, which really makes you think
  • database configuration violates the Prime Directive
  • User is not a typewriter.
  • server fell in ocean
  • mean connection time exceeded
  • spontaneous splinal dereticulation
  • nanobots in the water
  • turns out server was on circuit with lightswitch by door
  • user put spaces/vowels in filename
  • TRIED TO READ 9TH SIDE OF 8 TRACK
  • the system / is down
  • electrons too big, stuck in wafer
  • error: error code [error] while decoding error code
  • butter didn't suit the works
  • illegal carrot detected in mail queue
  • virtual memory got too real
  • could not initialize sound blaster 16
  • ERR:INVALID DIM
  • aol window in front of netscape window
  • bookmarks migrated to Venezuela
  • i hurt myself today / to see if i still feel
  • lp0 on fire
  • unexpected timezone drift desynchronization
  • the butter you have dialed is invalid or no longer in service
  • butter overflow
  • User accepted terms but not conditions
  • wrong files
  • data too big
  • http is down
  • server room haunted
  • confirmation BIOS
  • HTTP 403 and 3/4ths
  • general uncertainty
  • error: operation completed successfully
  • hung up prematurely
  • floating point unit no longer afloat
  • SQL ejection
  • guru meditation #00000025.65045338 press left mouse button to continue
  • +++ OUT OF CHEESE ERROR. REDO FROM START +++
  • CAPTCHA response indicated parahuman intelligence
  • butter to text interface not found
  • friday squid blogging
  • server aperture too narrow for capital letters