Difference between revisions of "User:452"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(adding notes about how the server is now blocking my requests, so apparently once every 10 seconds is too frequent.)
Line 1: Line 1:
Edit: "ERR_CONNECTION_REFUSED". :(
+
;Status
 +
<s>Edit: "ERR_CONNECTION_REFUSED". :(</s>
 +
: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
 
Source of data is http://c0.xkcd.com/xb/feed

Revision as of 21:48, 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 {
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) {
        if (reasons.indexOf(data.prompt.reason) == -1) {
          reasons.push(data.prompt.reason);
          console.log(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:


  • lights are out, hard drive is taking a nap
  • 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
  • GSM filter change required
  • screws are stripped
  • sitemap was held upside down
  • UTF-31 decode error
  • spin number must be of the form n/2
  • cumulonimbus #19 too rabbitlike
  • the server is temporarily permanent. Please try another also.
  • HTTP 418
  • spin cycle still active
  • Dave's not registered, man
  • This page contains content from the Open Source Initiative, who have blocked it on copyright grounds.