How to access fsevents to get the file system events? - events

Though i had read the fsevents article provided by apple developer site, i m having issues in receiving the events. I need some samples to fetch events.
Need some samples.
Thanks in advance.
rgds,
herby

I'm in the middle of solving this and MacFSEvents looks promising (that is, if you're OK with using Python).

Related

Libtorrent Block Upload Alert

I need to embed billing into the libtorrent. So I need to know when node B successfully uploads a block to node A. But according to libtorrent docs, alert block-uploaded-alert is posted when a block intended to be sent to a peer is placed in the send buffer. So in fact the block is not yet uploaded when this alert is posted. Is there a way to know whether the upload was successful?
P.S. Can I limit the number of blocks which are uploaded to the same peer at the same time?
I'm dealing with a similar issue. From what i've discovered there's no implementation for this use case in libtorrent yet. The answer from arvid (the creator of Libtorrent) in this question: Get alerts for upload activity with libtorrent (rasterbar) may give us a hint about how to achieve this.
Since i'm looking forward to implement this, i'm open to discuss about it and probably make a PR on libtorrent repo to achieve it: https://github.com/arvidn/libtorrent/issues/6247.

Youtube Analytics API - Get Thumbnail-Impression Click-Through-Rate

One of the most important KPIs doesn't seem to be available via Youtube-Analytics-API. I can't get the total of thumbnail-impressions that have been shown to users. With that I could aggregate the impression-CTR using the views from certain traffic-sources (YT_SEARCH etc.). The docs don't seem to offer anything that would help me though.
Youtube-Reporting-API seems to have the same metrics as Youtube-Analytics-API. So I guess trying to use the Reporting-API would not help me either.
Is there any way to retrieve the number of thumbnail-impressions or the Impression-CTR programmatically? Any workaround? Am I missing something obvious? Or is there any intention of making that metric available via Analytics-API soon?
There is some very old, unanswered posts that may relate to my problem:
How to access new YouTube Analytics Metrics (Impressions, Impressions CTR) from API
Are Thumbnail Impressions/Views available through YouTube Analytics API?
There is a thread in google's issue-tracker that clearly states that (for now) it is NOT possible and in fact it is intended behavior (won't fix)!
I'll keep checking the API's Revision-History and try to keep this answer up to date.

Telegram Group Filtering

I've been using an open source version of Telegram called Bettergram, which claims to be the same protocols. Whether that is true or not to the side, I realized that even though Telegram does not allow pornography, there's a crap ton of it floating around. Is it possible to build a small edit into the code of bettergram (being that it is open-source) to have it block or not register chats or groups that have certain keywords within them(explicit results within group would trigger to be blocked).If this is possible, how hard is it (and can someone help me.) Thanks guys! :) link: https://github.com/bettergram/bettergram

Why is there no access to all document resources?

I would like to understand why I can not continue my work with Carrot2. A message appears saying "Our apologies, the following processing error has occurred:
org.carrot2.source.etools.IpBannedException: org.apache.http.client.HttpResponseException: Forbidden"
There is a problem with eTools, Wiki, PUT document sources (31/07/19) into Online version. I try to work with the downloaded version of the programme, but no document source does not work. Could you solve this problem and how long it will take?
Thank you!
Please see here:
http://project.carrot2.org/faq.html#ipbanned
We provide the search interface as a demo of the technology and we use a partnership with a company called Comcepta (eTools) for providing a limited number of free search requests. Unfortunately, some people have been abusing this free service and we had to introduce per-IP limitations.
If you wish to extend your query limits please install Carrot2 locally and contact Comcepta for custom query limit arrangements.
Apologies for the inconvenience.

Legacy exchange MAPI help?

I'm working with some legacy exchange code and I am having trouble finding information about some methods/constants. A google search reveals others using similar code, but with no explanations. Does anyone have any ideas where I can find proper docs? One constant I am looking for is: SYNC_ASSOCIATED.
Exchange is a Microsoft protocol, so the best place to look is usually MSDN.
The MSDN library, however, seems curiously lacking on Exchange documentation, but an MSDN search looks in a few other places too.
In this case, it's led me to this blog post which gives you a number of constants as they would be defined in a C header file. SYNC_ASSOCIATED is defined as 0x10.
This is part of ICS, Exchange's mechanism for monitoring and tracking changes in a mailbox. See the ICS section of the bulk data transfer protocol spec.

Resources