Corridor

What?
I'll start by clarifying the name - So, what is a corridor ?! According to Ozhegov’s dictionary, one of the meanings of this word is “a narrow, long space that connects something.” What connects our corridor? And why at its end, as well as at the end of the well-known tunnel, the light is on? This corridor is designed to connect those who have problems with studying at the university, and those who can help in overcoming such problems. If for some reason you cannot or do not want to complete a term paper, standard calculation, abstract, etc. Or vice versa, you can offer your services in their implementation, then you are in our corridor!
It seems to us that the project should be in demand, because Studying in the distant 1 year, I practically did not close closer to the session the blue TC window making course and laboratory fellow students, I think many of us can boast of such an experience.
To avoid misunderstandings, I’ll make a reservation right away, I hope there will be no “customers” in our project among the Habrovsk citizens.
Briefly about the main thing
There are two types of users on the project (as on most freelance exchanges): customers and contractors. The former can add orders (projects) to comment on the performers and vote for them, the latter - respond to orders, “specialize” in a certain field of knowledge, and actually fulfill these orders).
Also, a picture with a QR code is attached to the order and artist’s URL so that you can PR your services to a cool physicist / mathematician / chemist / biologist / etc. also offline, where so far all studies at the university are taking place.
Interesting
There is still a small one - a trick with which you can take the integral (symbolic integration using tungsten), however, I still could not get the API key for using full-fledged api in tungsten, so now everything works through itself (in terms of the integrand in the code is dynamically connected by a js script, which is an object created by the lines of the tungsten response to this request (since the browser security policy does not allow sending a request to direct tungsten), then we just parse this output and p We use a picture with an integral). So that what is written on top was more clear: we
connect the js script using this function
function include_rpc(script_filename){
var html_doc = document.getElementsByTagName('head').item(0);
var js = document.createElement('script');
js.setAttribute('language', 'javascript');
js.setAttribute('type', 'text/javascript');
js.setAttribute('src', script_filename);
html_doc.appendChild(js);
js.onload = function(){
//тут парсим выводим и т.д.
InterView();
}
return false;
}
* This source code was highlighted with Source Code Highlighter.
with this URL
include_rpc ('http://gopnikam.net/cgi-bin/ACD.js?headers= (Content-Type = text / xml) & uri = (http://www.wolframalpha.com/input/?i = Integrate ['+ func +'% 2C '+ def +']) '); AJAX Cross Domain
library file is waiting for us at this address. This is a perl script that accesses the tungsten server via http and passes all the parameters of our integral and generates the output as a js object. In order to work fine with multiple URLs, you need to file a bit with a file, and change the response timeout. The conclusion is something like this
var ACD = new Object();
// ----------------------------------------------------------------
// ACD.request - FULL REQUEST THAT WAS SENT
// ----------------------------------------------------------------
ACD.request = '';
ACD.request += 'GET http:\/\/www.wolframalpha.com\/input\/?i=Integrate[%27%20+%20func%20+%20%27%2C%27%20+%20def%20+%20%27]\r\n';
ACD.request += 'Range: bytes=0-10239999\r\n';
ACD.request += 'User-Agent: Mozilla\/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3pre) Gecko\/20090822 Ubuntu\/9.04 (jaunty) Shiretoko\/3.5.3pre FirePHP\/0.3\r\n';
ACD.request += 'Content-Type: text\/xml\r\n';
......
* This source code was highlighted with Source Code Highlighter.
Further, I think it’s clear what to do about it.
So what?
The idea didn’t come on schedule, and the idea to write something like that came in late August, of course I wanted to catch it by September 1, so the probability of vile bugs wasn’t zero, and that’s why I asked you for help, dear hub colleagues.