avatar
Note that the libevent HTTP server does not handle the HTTP pipelining properly (I remember finding an old notice about that in the libevent mailing list). There's also github.com/ellzey/libevhtp, which is multithreaded and recently had HTTP pipelining fixed (issue 86).
avatar
oh, yeah, that's a good point. Well, I'll keep it as it is, just for the sake of details. But definitely, agree with you.
avatar
You could just replace

void (*OnReq)(evhttp_request *req, void *) = [] (evhttp_request *req, void *) {

with

auto OnReq = [](evhttp_request *req, void *) {

It looks clearer for me at last.
avatar
Thanks for your answer.
I meant how to read external files (estructured data) with the data to be used in a J program, and how to write the results to a file.
Thanks again.
By the way, that's very good you'll have a better article about J.
avatar
Well, when you install J, you can run the J session and either run sentence by sentence in a J execution window(ijx) or create a new script window(ijs) where the source code will go to. (File -> New ijs). Ctrl+1 to run the ijs script. But we'll have a better article about the language itself + some more cool stuff around that topic.
avatar
Hi
Could you comment about how to handling files in J?
(There is a lot of information about sintax, verbs, and so on,
but precious little about files).
Thanks in advance
avatar
Thank you, Mike! I personally really appreciate your input! As you can see, we don't have a lot of users right now, so any support from community helps us to move forward. We are currently working on design for email notifications, as they basically look like shit. Let me know if you have any ideas related to whole project in general.
avatar
So, this is a great news for me. It's seem that in future i can read two instead of one interesting website! Keep going!
avatar
(⊙.⊙(☉_☉)⊙.⊙)
avatar
But how people came with this idea, i cannot grasp. Maybe they just rotating cursor around 360 degrees and get a simple solution?
avatar
Well written, loads of examples.
Nice read during coffee break!
Just discovered this website, keep on the good work!
(god do I sound like a bot xD)
avatar
Slashdot sucks.
avatar
You MUST give link to source. Otherwise this is plagiarism, theft, crime. Authors can sue you.
BTW Habrahabr is russian version of Slashdot. Do you really want to compete with Slashdot? It will not be easy.
avatar
We are not going to translate all the articles and don't want to be a clone. We are in process of building community and making the project unique. Users will have much more opportunities at Kukuruku Hub in future.
avatar
Чуть-чуть… самые интересные подойдут. ☻
avatar
Обойдетесь без коментов, пиндосы. Коменты им подавай, ага!
avatar
We've added the link. Thanks for pointing that out.
avatar
Also we need to copy all comments. and post them here. This will be international site of our native web site
Where all can read — what we write!
avatar
What is a coincidence? Original authors just want to publish their article here
avatar
Where is a link to the original?
habrahabr.ru/post/219899/