Questions tagged [popularity]

Use this tag for questions relevant with objects/entities/etc. that support the popularity concept.

Objects/entities/etc. can be sorted by popularity. For example, websites; Stackoverflow is more popular than the Meta.

85 questions
1
vote
5 answers

Most popular mobile platform to develop on?

This question may not directly relate to programming. I have noticed that the technology of today has gone mobile. I want to go mobile with it. What is the most popular mobile OS?(excluding iPhone OS. Sorry, I don't have a Mac to develop on) Some…
Mohit Deshpande
  • 53,877
  • 76
  • 193
  • 251
1
vote
0 answers

Determining an a priori ranking of what sites a user has most likely visited

This is for http://cssfingerprint.com I have a largish database (~100M rows) of websites. This includes both main domains (both 2LD and 3LD) and particular URLs scraped from those domains (whether hosted there [like most blogs] or only linked from…
Sai
  • 6,919
  • 6
  • 42
  • 54
1
vote
1 answer

WordPress order query posts on popularity of a custom field

I have a WordPress site that allows a user to "like" a post. This adds a custom field to a post with the user ID in it, like so: add_post_meta($post_id, 'like', $user_id, false); So a post can end up with a something like a 100 different 'like'…
Drew Baker
  • 14,154
  • 15
  • 58
  • 97
0
votes
3 answers

Java: Random element from the most popular category

I need to find the most effecient way to find a random element from the most popular category From 4 Cheese 1 Olive 2 Mushroom 4 Ham 2 Chicken 4 Salad I want either Cheese or Ham or Salad. If there are multiple top categories I don't care which…
dmzkrsk
  • 2,011
  • 2
  • 20
  • 30
0
votes
2 answers

Mysql query to dermine image use frequency in Wordpress?

Would it be possible to build a mysql query to determine the frequency of an image being used in Wordpress? So that it extracts and counts different image hrefs from the wp_posts?
asbl
  • 115
  • 1
  • 5
0
votes
0 answers

What would be a good strategy for calculating popularity of an item based on a rating (0-10 scale), vote count, view count and newness of the item

I have an SQL query to pull items out of my DB and I'm stuck at the ORDER BY stage. The quantitative parameters I have stored in the db are: rating - A score from 0-10 based on any number of votes (increments of 0.5) ratingvotes - The number of…
Mark
  • 3,653
  • 10
  • 30
  • 62
0
votes
0 answers

How do pull in popular or trending videos from Instagram API?

Is there a way I can use Instagram's API to pull in popular or trending videos? I checked their docs, but didn't see a parameter that does this.
user3460974
  • 131
  • 2
  • 14
0
votes
2 answers

Ipify returning website ip instead of user ip

So far I’m looking into using ipify’s php api for returning an ip but every time I try it returns my website ip. I want it to show user ip instead what can I do to fix that? Here’s the code:
0
votes
1 answer

how to find most and least popular product?

I'm trying to output the most popular and least popular item a store has sold. The items include: beef,chicken,egg,tuna. In my code, I've declared the variables: beef = 0 egg= 0 tuna = 0 chicken= 0 and when a customer purchases a particular item,…
kriloots
  • 69
  • 9
0
votes
1 answer

Which is more popular, Freemarker or Velocity?

I'm about to invest resources in revamping my email system around a templating engine Freemarker or Velocity. They both seem comparable in terms of features and support. Which is more popular or has more steam behind it?
at.
  • 50,922
  • 104
  • 292
  • 461
0
votes
2 answers

Order Results By Occurrence

I have the following two tables. BookmarkTag ( BookmarkID, TagID ) Tag ( TagID, Title) Currently I am selecting all the tags with the appropriate BookmarkID. The problem is I want to only select the tag once to avoid duplication in the result and…
ritch
  • 1,760
  • 14
  • 37
  • 65
0
votes
2 answers

Finding top twitter users?

There is a large number of sites like Twitaholic or Twittergrader that offer rankings of Twitter users depending on the number of followers, influence, etc. I haven't found much information, though, on how do they compute these rankings. My guess is…
rxx
  • 3
  • 1
0
votes
7 answers

Is the SO tag ordering a good representation of programming language popularity?

Is the SO tag ordering a good representation of programming language popularity? My first guess would be that it's not and that it's largely populated by fans of Jeff (who would probably be .Net biased) and fans of Joel (who may be more C/C++ biased…
Brian R. Bondy
  • 339,232
  • 124
  • 596
  • 636
0
votes
1 answer

Formula for showing more liked items more often than less liked items with a random factor

in mysql currently I am using order by RAND() DESC which works fine except i also have a number that counts number of likes which ranges from 0 to 5 right now but 5 could increase in the future let's call 5 my maxlikes How can order it in such a way…
Tin Tran
  • 6,194
  • 3
  • 19
  • 34
0
votes
2 answers

nesting selects to make popularity algorithm

I'm trying to write a sql function for making a popularity algorithm. I'd like to sort "posts" by the amount of comments in "comments" with the "post_id" of the post, added to the amount of votes in the "votes" table with the "post_id" of the post,…
willium
  • 2,048
  • 5
  • 25
  • 34