» Home » stackexchange » Page 1
How do I use the StackExchange API from Matlab?
by comphollic in Programming Languages

How do I access data from the StackExchange API using Matlab?

The naive

sitedata = urlread('http://api.stackoverflow.com/1.1/questions?tagged=matlab')

fails since the data is compressed. However, when I write this to file (using fprintf(fileID,'%s',sitedata)), I get a zip-file that cannot be uncompressed.

Accessing StackExchange API from Emacs
by Blackjack200 in Development Tools & Services

I am trying to access the StackExchange API from Emacs' elisp:

(require 'url)
(require 'json)
(defvar url-http-end-of-headers)
(defun read-json ()
(with-current-buffer (url-retrieve-synchronously "http://api.stackoverflow.com/0.8/users/2386")
(goto-char url-http-end-of-headers)

M-x r

red alert notify top of div like facebook stackexchange
by JoeKaras in Programming Languages

when i recieve comment in facebook OR answer of my question StackExchange i see red Circle in top left with any effect . i load/refresh my div every X minutes. now i need to print my result ( 1,2,3 ...) in this red Circle . how to work this? my result in DIV id="new".

My Code :

<script type="text/javascript">
var auto_refresh = setInterval(
How to get Questions, Answers per tag via data.stackexchange.com?
by sep in Databases

I apologize if this is the incorrect location for this - please move it if so! I've been trying for the past several hours to come up with a query that will return the following information:

The number of Questions and number of Answers per "Top 5" Tag from the last three completed months (April 2012, May 2012, June 2012).

I've gotten this far, based on other queries I'

How to use Markdown with MathJax like Math StackExchange
by Bin in Web Design


Ok I've managed to make Markdown and MathJax work together, it was relatively simple actually. I've used marked together with MathJax.

$(function() {
var $text = $("#text"), // the markdown textarea
$preview = $("#preview"); // the preview div
$text.on("keyup", function() {

JSON URL from StackExchange API returning jibberish?
by Aaviel in Programming Languages

I have a feeling I'm doing something wrong here, but I'm not quite sure if I'm missing a step, or am just having an encoding problem or something. Here's my code:

URL url = new URL("http://api.stackoverflow.com/0.8/questions/2886661");
BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
// Question q = new Gson().fromJson(in, Question

How are the exchange boxes being rearranged on stackexchange.com/sites?
by Alexander Schuc in Web Design

I couldn't seem to make sense of the JS on stackexchange.com/sites. It looks like there is some balancing, rotating etc. going on when you expand one of the stack exchange information boxes. I was wondering how this is being achieved? At least how is this likely being achieved in terms of its data structure and how it's being put into effect in this setting?

Animated panels like on Stackexchange Sites page
by riahc3 in Web Design

I would like to add a page to my website with a layout with animated panels that auto-slide around based on which one is clicked, as in Stackexchange's Sites page:

What language and what specific methodology did the designers of Stackexchange use for laying out that page, or more meaningfully, what language and methodology would you recommend I re

Java Http request with API Apache on api.stackexchange
by xguru in Programming Languages

I'm trying to do a http request in Java with the Apache Api (httpcomponents) on api.stackexchange. But this request returns text and not html.

Here is my code:

public class HttpRequestBrute {
public static void main(String[] args) throws Exception {
URIBuilder builder = new URIBuilder();

How to scrape “table like” data from stackexchange homepage? (in R)
by YBS1 in Web Design

I wish to scrape the home page of one of the new stackexchange websites: http://webapps.stackexchange.com/ (just once, and for only several pages, nothing that should bother the servers). If I had wanted it from stackoverflow, I know there is a database dump, but for the new stackexchange, they don't exist yet.

Here is what I want to do.

Step 1: choose URL

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .