Raw data in analytics [closed] - magento

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I would like to have the data in my site individually. For example: visitant 1 visited page 1, page 2, page 3, at time x,y,z.
How can i get this data in analytics?

You cannot see data for individual visitors in GA (and trying to do so would violate Googles Terms of Service).
You can redirect the tracking calls to your own server and write a script to parse for visitor data, see me answer here:
What would database-schema/database-design look like for google analytics?
(Those methods served for compatibility with the Urchin analytics software - since support for Urchin was dropped it might be that those method will be dropped at some point in the future).

Related

Is there a way to programmatically avoid EA trading under major FOREX news? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
May I know is there a way to programmatically detect major FOREX news and avoid trading in those time frame?
You need Forexfactory news indicator, "FFCal", that reads data from the website and returns true/false depending on time in minutes before/after major/mid/minor news events. you can download it on fxfactory website, use is rather simple
int result = (int)iCustom(Symbol(),0,"FFCal", (parameters),0,0);
Oh sure, sir, it is!
Let me share an example of such a fully automated / scripted approach:

Design patterns for shared state with many to many streaming [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I'm writing an online whiteboard application for fun, where multiple users view the same whiteboard and can draw on it. I'm using websockets (vanilla JS on the frontend, Scala on the backend), and right now am essentially just broadcasting mouse events from one user to the rest of the users, and rendering the image client-side.
However, this results in a transient shared state, whereas I would like to have users be able to hop on at any time and see the preserved shared state. I'm thinking this will probably require having shared rendering code on the backend and the frontend, so that clients render events as they stream but the server can send raw image data when clients associate.
So my question here is: what are some other design patterns I should be aware of for this kind of project? This is a for fun/learning project, so this is an open-ended question, but I'll accept an answer that contains some useful references for this kind of data flow.
So my question here is: what are some other design patterns I should
be aware of for this kind of project?
You don't have to have rendering code on the server. You can just save all the accumulated events that led to the current whiteboard and send those to a new client and let the new client render the whiteboard for itself as if they were listening when all the events originally happened.
If that's more data than is practical, then you can compress raw events. For example a straight or nearly straight line segment does not need all the intervening mouse positions, it really just needs the first and last position of the segment.

scheme r7rs-large interesting but... is it still in progress? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am trying to take a look at the status of r7rs large but I cannot find any information
in scheme reports page, etc, just a talk from 2013. I searched around with google without success as well.
Is it still alive?
Where can I find information?
What would be the tentative date?
What is the progress at this point?
Thanks.
You can read about the R7RS process on the R7RS working group wiki. R7RS-large is listed under the "Working Group 2" section of the front page.
In particular, look through the StandardDocket and ConsentDocket sections. Standard docket is for stuff that's under discussion (and eventual voting). Consent docket is for generally-uncontroversial stuff that's likely to get into R7RS-large without having to be voted on.
There is no firm timeline that I am aware of (though I'm not part of the working group and do not speak for them). The standard docket is quite long, though, and they will have to process through most/all of it before you have anything that you can call R7RS-large.

Asynchronously screenscraping pages and storing them with Active Record? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I need to screenscrape a bunch of pages and store them in a database using ActiveRecord. I messed around using EventMachine and Typhoeus but I get flaky results, mostly mysteriously empty records getting saved.
What's the trick? I had the best results with scraping pages and writing them to disk, then inserting them into the DB, but I'd really like to do it in a single pass.
Is anybody doing this successfully?
My guess is your threads are sharing an AR connection. This will cause problems, and anyway concurrency won't get records into your database any faster. I suggest you download concurrently and insert them in a single thread (like you've been doing.)

google ajax api results differ from normal search, why? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I read about the Ajax API here Scraping/Parsing Google search results in Ruby
For some reason, I get completely different results from the same query when using the Ajax API than I do from normal search. Is there a simple explanation?
here are the two:
http://www.google.com/search?hl=en&rls=en&q=site%3Ahttp%3A%2F%2Ftwitter.com%2F+following&aq=f&oq=&aqi=0
http://ajax.googleapis.com/ajax/services/search/web?v=1.0&hl=en&rls=en&q=site%3Ahttp%3A%2F%2Ftwitter.com%2F+following&aq=f&oq=&aqi=0
both have parameters hl=en&rls=en&q=site%3Ahttp%3A%2F%2Ftwitter.com%2F+following&aq=f&oq=&aqi=0
run at the same time, they never give me the same results, often they're very different (depending on the search parameters.
what's going on?
Also, the
I'm guessing here, but usually if you do a google search using your regular account and have the history enabled, google will use your previous search to give you more accurate results. There are a bunch of things like that that may cause differences between searches with the exact same keyword(s)
The Axaj API is suspected to offer slightly different results to avoid the automatic harvesting of search result (SERP) info.
This is the same reason they only return 8 results per page and upto 8 pages via their AJAX api.
In principal they don't want people collecting this data, as it is usually used for SEO purposes in an attempt to coerce certain sites higher unduly.

Resources