suggestions

product suggestion based on user data

I'm trying to add suggestions to product pages along the lines of : "Customers who purchased this item also purchased x and y". The way the data is compiled right now is a mysql table with 3 rows. PRODUCT | CUSTOMER |QUANTITY Product is the product ID. Customer is the customer ID. Quantity is the number of time that product was bou...

From where should I start if I want to learn any PHP framework? Like Joomla

From where should I start if I want to learn any PHP framework? Like Joomla, Cake PHP etc.... I have an experience in PHP core development for 9 months... Please help me out.... ...

How to optimize an database suggestion engine

Hi, I`m making an online engine for item-to-item recommending movies. I have made some researches and I think that the best way to implement that is using pearson correlation and make a table with item1, item2 and correlation fields, but the problem is that after each rate of item I have to regenerate the correlation for in the worst cas...

Beginning Programmer Interested in Android - Should I Start with Java?

I'm a beginner in programming. My experience so far is only in Actionscript 2 and 3. So I have a basic understanding of declaring variables, loops, arrays, if/then, do/while... I'm wanting to move to developing for Android phones so I'm wondering what suggestions people have for where to go next. Should I jump right to Android? Start wit...

Tag Suggestion system, approaches and ideas

Hi guys! -- I am working on a (auto) tag suggestion system (NOT tag autocomplete). Lets say I want to suggest tags for a given question like here on SO (although SO's tagging system is auto-complete). My main idea is to get the intersection between the tags_set and the given question.split()_set. (In python the set_intersection is effici...

Suggest books/learning path for writing smartphone apps

I have been writing a lot of HTML, CSS, PHP, MySQL and JavaScript lately working on a website, and I would like to move on to 'proper' OOP with an eye to making smartphone apps. I would like to at least cover iPhone and BlackBerry, which means learning Objective C, Cocoa and Java, before learning the specifics of interacting with the de...

What are the best settings of the H2 database for high concurrency?

There are a lot of settings that can be used in H2 database. AUTO_SERVER, MVCC, LOCK_MODE, FILE_LOCK and MULTI_THREADED. I wonder what combination works best for high concurrency setup e.g. one thread is doing INSERTs and another connection does some UPDATEs and SELECTs? I tried MVCC=TRUE;LOCK_MODE=3lFILE_LOCK=NO but whenever I do some ...

Does it suck or not - Simple DAL with caching using Linq to SQL

I created a simple Caching Data Access Layer that has caching using the Enterprise Library Caching Application Block and also makes use of SQL Query Notification - therefore not supporting any queries which are not valid for query notification. Background: This was put in place after the application was developed in order to lighten the...

saving Tag on photo

I want implement something like facebook photo tagging, but I have no idea how should I do that? is there any link or tutorial to help me how and where I must save tag and show on special photo??? ...

gcc optimization? bug? and its practial implication to project

Hi All, My questions are divided into three parts Question 1 Consider the below code, #include <iostream> using namespace std; int main( int argc, char *argv[]) { const int v = 50; int i = 0X7FFFFFFF; cout<<(i + v)<<endl; if ( i + v < i ) { cout<<"Number is negative"<<endl; } else { ...

What is the need of JavaScript while developing a page?

I have been developing websites for some time now and I hardly use any Javascript in my pages. Whatever I can want to do with JavaScript, it is possible through PHP. Just like ajax itself. We can send a regular request instead of a ajax request, can't we? We can use "include" to include sub part of pages. So am i missing something abou...

How could one create Google-Suggest style search suggestions with Javascript/AJAX?

How could one create Google-Suggest style search suggestions with Javascript/AJAX? References to articles would be much appreciated. I would like to retrieve the "suggestions" from a database. (Essentially just a list of keywords) Thank you. ...

What is 301 redirect ? and how to do this?

It is ironical that after asking the question:- http://stackoverflow.com/questions/2985377/how-do-url-shortening-services-make-money-closed i am heading over to create another URL shortening service [ despite of the fact that it was closed without any proper answer ]. Till now i was thinking that i will just redirect the request to actua...

C++ (extended) suggestions

What should I learn after learning C++? I have read C++ from books like C++ Primer, Effective C++ etc but now I want to learn some advanced topics. So what should I learn now,any suggestions? ...

Serializable object in intent returning as String

In my application, I am trying to pass a serializable object through an intent to another activity. The intent is not entirely created by me, it is created and passed through a search suggestion. In the content provider for the search suggestion, the object is created and placed in the SUGGEST_COLUMN_INTENT_EXTRA_DATA column of the Mat...

Windows Network Programming

I am planning to get some good book for Windows Socket Programming in VC++. I have 2+ years of experience in working with VC++/ATL/COM/MFC; but not in the networking domain. I have been doing some search in Google for "Windows network programming" books. There are few but they have both good and bad comments scattered all over; and I am...

Game development, which way to go

Hey, Ever since I started playing games, I wanted to develop my own, simple and later more complex game. At the moment I earn my share with programming web applications and doing some simple game development in my free time. As for my programming experience. I have good knowledge of almost anything web related (PHP, AJAX, JS, etc.). T...

C++ tree of pointers template question

I've just come across a nice STL-like tree container class written by Kasper Peeters: http://tree.phi-sci.com/ However, because it's STL-like, it's geared towards having a single class type in the tree; i.e. template <class T>. The trouble is, like STL-lists, if it suffers from the polymorphic class problem, in that the objects in the...

Commenting a ASP.NET MVC Controller

I am a big fan of Stylecop and I always follow it guidelines. I also follow the guideline that state that a comment should bring added value to the code and not repeat what the code is doing. I'm having a bit of trouble following the commenting guidelines concerning an ASP.NET MVC Controller and its related actions: I can't think about ...

Java - Design advice for simple game

Hey, I'm implementing a simple "Play your cards right" (otherwise known as higher/lower) game. In case you've not come across it before the rules are really simple. A single suit of cards (e.g. hearts) are used. One card is drawn at a time and the objective is to correctly guess if the face value of the next card will be higher or lower...