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
I am curious if there are any common patterns for partitioning a web application by features? An example would be to sell at multiple price tiers.
What I am asking is there a common development pattern to partition features within an application
There isn't a pattern that I know of. One way of implementing what you want would be to give users roles dependant upon what price tier they have chosen and to then have role checking on specific features/views. Almost like a form of access control list, which is controlled by their purchased package.
Related
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 days ago.
Improve this question
For a course term project we have to build a machine learning algorithm in which user fills the form and the algorithm analyse the best suitable university based on the responses. I am new in the field of machine learning and I do not know what kind of algorithm can we use. Is the recommendation systems a right approach for this?
I did some review on the internet for some similar projects, however still can not find a good resource.
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 have a dataset that has, users, items and views,which is the interaction between user and item.
The only difference in this dataset from the other recommendation datasets is that, the items have strong timeliness i.e. the items expires after a certain time period and won't be considered anymore.(Items life span can range from 1 week - 4 months)
You can use Bayesian Personalized Ranking for implicit feedback. I wrote about my experience of building such recommendation systems using Tensorflow.
Regarding timeliness, you should use only active items to find recommendations.
For an example of the workflow can look like:
you need to recommend 5 items;
you ask the system to give you 30 recommendations using only active items;
then exclude items that will expire in the next 2 days;
then randomly select 5 from those who stayed;
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
How can we lock an ActiveRecord and complete the operations on it before allowing another thread or request to make changes to the ActiveRecord?
I am building an eCommerce site which currently has a huge discount
campaign. Only one unit of your product left. And many people want to
buy it at the exact same time. In such scenario, I need to lock the
product?
In Rails, you could use with_lock
https://apidock.com/rails/ActiveRecord/Locking/Pessimistic/with_lock
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
I'm trying to add a feature in my Rails web-app called "tokens".
It would be a currency of sort which would be exchanged between users for some services.
ex: "Let me stay one night at your place and I'll give you one "token" "
Is there any good rails gem to help me with this? To be precise this "token" system would be completely separated from any real-world currency, you wouldn't be able to buy it, you'd get some of it when you register or invite new users.
Thanks
The closest I could recommend is merit, look at the points option. It works similar to coins.
current_user.add_points(10, category: 'One night stay')
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 4 years ago.
Improve this question
I was wondering what would be the best strategy to implement a badges system using asp.net mvc. The one that stackoverflow has is pretty interesting. What do you suggest?
I guess I need to clarify the question a bit. The problem would be the different criteria for earning every badges. How do make that logic extensible?
I'd do it purely in T-SQL, and set up a SQL job that runs periodically (Jeff did it using C#, and has a goofy system where it runs the process based on a page request).
Basicly, in your SQL Job, scan your member tables and calculate if anyone is qualified for a badge, if so, update the badge table(s).
Then in the front end, do a query to retrieve new badges for a member on each request.