popularity

Algorithm To Select Most Popular Places from Database

不羁的心 提交于 2019-12-04 09:15:35
We have a website that contains a database of places. For each place our users are able to take one of the follow actions which we record: VIEW - View it's profile RATING - Rate it on a scale of 1-5 stars REVIEW - Review it COMPLETED - Mark that they've been there WISH LIST - Mark that they want to go there FAVORITE - Mark that it's one of their favorites In our database table of places each place contains a count of the number of times each action above was taken as well as the average rating given by users. views ratings avg_rating completed wishlist favorite What we want to be able to do is

Before XML became a standard and given all its shortcomings, what made XML so popular?

我与影子孤独终老i 提交于 2019-12-04 09:10:53
问题 Yes XML is human readable but so is comma delimited text and properties files. XML is bloated, hard to parse, hard to modify in code, plus a ton of other problems that I can think about with it. My questions is what are XML's most attractive qualities that has made it so popular???? 回答1: One of the major advantages it has over things like CSV files is that it can represent hierarchical data easily. To do this you either need a self-describing tree structure like XML, or a pre-defined format

Sorting A List Of Songs By Popularity

江枫思渺然 提交于 2019-12-03 09:44:53
问题 For student council this year, I'm on the "songs" committee, we pick the songs. Unfortunately, the kids at the dances always end up hating some of the stupid song choices. I thought I could make it different this year. Last thursday, I created a simple PHP application so kids could submit songs into the database, supplying a song name, artist, and genre (from a drop-down). I also implemented a voting feature similar to Reddit's. Click an upvote button, you've upvoted the song, incremented the

How to find stats for general trends of programming language popularity using google trends

≡放荡痞女 提交于 2019-12-03 03:23:56
I like to keep an eye on trending browsers/OSs/languages etc... I find google trends is a very useful resource sometimes but other times I can not get the information I want. Example of very clear increase of Ubuntu (with 6 monthly peaks near release dates) compared with other major linux distros ecline over the years... http://www.google.com/trends?q=ubuntu%2C+debian%2C+redhat%2C+mandrake&ctab=0&geo=all&date=all&sort=0 Example of results that are skewed because of non-programming related events. See "flash floods" and "earthquake in Java" in the news results http://www.google.com/trends?q

Are there any popularity / usage statistics available for the Free RCS/SCM/VCS systems?

别说谁变了你拦得住时间么 提交于 2019-12-03 00:59:09
Are there any surveys anywhere which report on number of projects and/or people using the assorted Free version control systems? Also interesting is if a similar survey was one over time, to see how things have changed. Obviously, it's hard to measure this sort of thing completely accurately, but it should still be possible to get reasonable estimates. Since tags are annoyingly limited to five items, and I didn't want a bias towards/against any of the systems, for search purposes I'll add the following: bazaar bzr cvs git hg mercurial rcs scm svn subversion vcs scm vcs popularity survey

How to update content popularity scoring such as Hacker News algorithm?

笑着哭i 提交于 2019-12-02 19:17:11
问题 I'm using a customized version of Hacker News popularity algorithm for my social site (items with a number of likes and comments). The algorithm works perfectly but I don't know how to update item scorings correctly (I'm storing the score in item model as meta data). Now I'm just updating scores on every new like and comment for items listed during past 9 days. This is really slow and resource heavy so I'm looking for a better way to keep scores up to date. Problem is that every item needs a

D Programming Language in the real world? [closed]

和自甴很熟 提交于 2019-12-02 13:54:06
Is anyone out there using D for real world applications? If so, what are you using it for? I can't seem to find anything big on the web written in D. Despite the lack of known big users, D seems like a very promissing language to me, and according to TIOBE , it's fairly popular. I'm using D for my research work in the area of computer graphics. I and others have had papers published in our fields based on work done using D. I think it's definitely ready for use on small to medium sized research projects where performance matters. It's a nice fit for research work because often you're starting

How to update content popularity scoring such as Hacker News algorithm?

倖福魔咒の 提交于 2019-12-02 08:01:34
I'm using a customized version of Hacker News popularity algorithm for my social site (items with a number of likes and comments). The algorithm works perfectly but I don't know how to update item scorings correctly (I'm storing the score in item model as meta data). Now I'm just updating scores on every new like and comment for items listed during past 9 days. This is really slow and resource heavy so I'm looking for a better way to keep scores up to date. Problem is that every item needs a new score when one changes to keep the time decay. What would be the better way to do this? I'm using

Implementing a visitor counter

半城伤御伤魂 提交于 2019-11-30 22:06:21
I am a newbie and developing a website using ASP .Net 2.0 with C# 2005. I would like to add a facility to count the no. of visitors to my website. I have collected the basic informations to add this feature using Global.asax. I have made modifications to Web.config by adding the line "" under system.web section. I am using a table to keep the count of visitors. But I don't know how to complete the task. My default Global.asax file came with different sections Application_Start, Application_End, Application_Error, Session_Start and Session_End. I have tried to extract the current value of the

Popularity Algorithm

 ̄綄美尐妖づ 提交于 2019-11-30 06:28:48
问题 I'm making a digg-like website that is going to have a homepage with different categories. I want to display the most popular submissions. Our rating system is simply "likes", like "I like this" and whatnot. We basically want to display the submissions with the highest number of "likes" per time. We want to have three categories: all-time popularity, last week, and last day. Does anybody know of a way to help? I have no idea how to go about doing this and making it efficient. I thought that