Feedburner awareness API 0 circulation - google-api

The feedburner awareness API seemed to be working fine till last night but its not working right now. Its not even down but returning 0 for every site. I wonder if there is something I am missing or have the removed this functionality or something.
https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=http://feeds.feedburner.com/RandomGoodStuff
However if I give dates with feedburner it gives the values.
https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=http://feeds2.feedburner.com/RandomGoodStuff&dates=2008-01-01,2008-04-02
Anyone knows what is going on? I tried looking for any change in the API but didn't find any. Neither could I find a way to ask google about it.

According to the Awareness API documentation, circulation — an approximate measure of the number of individuals for whom your feed has been requested in the 24 hour period described by date. So just add &dates=YYYY-MM-DD, where date is a day before yesterday. This way you will always get the result, fresh and grater than zero.

Related

Discord.py - How do I count the number of times a certain phrase has been used?

I am trying to develop a bot using discord.py that will be able to go through the channel, count how many times a certain word is used, then give me the top X number of users that have said that phrase (in a given timeframe), along with the number of times that they have each said it.
So if I do !bump7, I want it to give me the top, say, 10 users that have said "bump" in the last 7 days
Or !hello10, which would give me the top 10 users that have said "hello" in the last 10 days.
The message would look something like...
Billybob 34 times
Cathrynaloha 27 times
Suzy 3 times
JohnDoe 2 times
I have the bot connected to the discord server, but I can't seem to figure out how to make this particular command work. And unfortunately no, I don't have anything in the works, as I'm just trying to search through here to see if anything similar has been done. So far, not a whole lot has been helpful. So any help on developing the client.command() would be awesome! Thank you!
-
I've actually tried really hard to do something similar to this person here: Discord.py: How to go through channel history and count the occurrences of a phrase?
However, it does not work at all, and I have no idea why. The conversation there is not exactly extensive, so I don't have a whole lot of context to work out anything. So re-opening/reiterating seems beneficial here
I've tried searching other areas in this site (and even a handful of other sites) to see if I can't troubleshoot it myself, but have run into too many walls. Guidance would be awesome.

Pulling first win information

I am looking to pull first win information (time first win is available) for a summoner in League of Legends; I can't seem to find a way to pull this specific info anywhere in RIOT games API and I went through the full API reference. Am I missing something?
There doesn't seem to be an endpoint for this currently. However, here is something related: First Win App on Google Play. Presumably the developer there worked out a way to calculate it - my guess is you could do the same. You'd need to get a players IP gains from wins (not sure how you'd account for IP boosts of any sort), and find the last match in their match history with a significant IP gain (pick something greater than the max you can expect in a normal game, maybe 200?).

Lenskit documentation

I'm trying to get the hang of Lenskit (quite hard at first). Right now I'm playing around with the hello-lenskit examples, it is working as expected. However, I'd like to go beyond that and when I read the documentation it seems it's not up to date, e.g.,
http://lenskit.org/documentation/basics/configuration/
(many links, such as the one for LenskitRecommenderEngineFactory, ItemItemRatingPredictor lead to page not found)
So, how did you experts get to master lenskit? trial and error? mailing list? here?
Cheers!!

Time attendance algorithm

I've recently started to work on Time attendance software. People are using cards to check in and check out, but sometimes they check out before they check in and then some of them realize they made mistake and check in again. sometimes they check in instead of check out. I wrote an application that creates report and everything works fine when mistakes are simple, but sometimes people are just people and they check in for example 15 times.
I know my question is kinda complex and I doubt there is and answer but I was wondering if there is any algorithm which can determine such mistakes and can create decent report.
thanks in advance.
I think really if you are trying to have your software guess what the users intent was then you would need to base it on what the users schedule should be and what their expected check in/out cycle looks like
If its a workplace and the users are punching in their time and they work 8 hour shifts, you could try to be smart and flag checkins 7.5-8.5 hours apart as probably a check in that should have been a check out. Then you could flag back to back checkins 23+ hours apart as probably a missed check out on the previous shift. 16 hour differences would still probably be impossible to guess because they could be clocking out for a double, or changing their schedule and working an earlier shift the next day.
If this was for a college building you could probably at least say that back to back checkins that occur on separate calendar days were a missed checkout.

Quova API anyone? it's a complete disaster, anyone knows better ip-geolocation-services?

i need a geolocation service and i wanted to try some of them before buying anything for my client.
i tried api.ipinfodb.com and is pretty good...
then i recently tried Quova APi, that as far as i remeber Quova was considered good...
well...i tried it and the result is really sloppy... the zipcode with ipinfodb.com was perfect, whereas Quova was quite distant...
also the XML of the first was good formatted, whereas Quova gives you all lowercase name..why? shouldn be the city name cpaitalize ? i know i can do it with php but with name syou have to be careful...sound sjust sloppy to me...
I wonder if the paid Quova service is the same..
I'm actually the product manager for Quova, so I hope I can help. Sorry you're having problems with the API.
To answer your first question about the zip code, no vendor can be right 100% of the time, and there will always be individual cases where we are wrong and someone else is right, or we are right and someone else is wrong. We do provide confidence factors to help you decide how confident we are in the assignments we make, which helps customers make better decisions about the data. Our customers stay with us because they know that the overall quality of our data outperforms the other vendors they've tried. If you respond with the actual IP addresses and ZIP codes that you think are wrong, I can have them investigated.
With regard to our data being all lowercase, we made that decision a long time ago to make the data predictable and to make comparisions with our data easier. I know there are use cases where having the correct capitalization of place names would be valuable, and lowercasing strings is easy enough if you have to do that, so we're considering how to provide capitalized names without impacting current customers who might be relying on the data in its current format. One thing you can do in the meantime is use the Lat/Long to lookup the place name with a service like geonames.org.
To answer your last question, yes, the data is also lowercase in the commercial service.

Resources