I can accept any algorithm that will have some logic around the idea that a video that has been rated high many times is higher than a video that is rated higher only by a few number of users.
I think you need to get that part sorted out before you move on to the sorting part and I'm not sure that this is the right place to get the info you want. You might try googling 'Ranking System algorithms' or something like that. If you can find an answer out there, by all means come back here for the sorting part. You'll find lots of opinions on that.
If you open a can of worms, any viable solution *MUST* involve a larger can.
You could assume that every video has the same number of votes. The votes that are not 'real' would be neutral or average. If your scale is 1-5 and every video has the same number of votes then the video with the one vote at 5 also has 199 at 2.5.
video 2 needs 176 votes at 5 to equal video 2's rating
better still assume all videos have 1000 votes (or whatever) - still works out the same
video 1 with 200 votes at 4.7
video 2 with 1 vote at 5
video 2 with 176 votes at 5
I have a aspx vb project, im testing to see if a certain font is installed , if its not
it should be downloaded and installed on the client pc, is there some way of doing it in the background without the
client user knowing of it being done,
I'll avoid your site, I don't want anything downloaded and installed automatically without my consent. Doing so is a bad idea and won't be possible with proper security settings. Inform the user they need additional components and let them choose to download and install it.
The site is only going to be used inside the company, so no worries about unwanted stuff to be downloaded,
The font I need is for a barcode and its nog going to be the same all the time, its for label printing.
I know the easiest way of making sure its on the client side is to manually installing the font where the app is going to be used, but its not allways going to be guaranteed the user will be on the same pc, so in that case if the font is not dedected it must be placed in the Windows/fonts directory
// reading data from XML to display in i-frame
strUrl = (link[i].childNodes.nodeValue);
doc.write(" <p id='hideshow' > ");
doc.write(txt+"</p>"); // text i want to hide n show
doc.write(" <br \>");
how i can show/hide respective part of i-frame?
The ID attribute of an element must be unique within the scope of a document. If you have multiple elements with the same ID, that is violating the rules of XML/XHTML. If you wish to hide/show multiple sections at once, the simplest solution would be to use jquery and CSS classes to tag each element with a common class, and use JQuery to hide all the ones that match a given CSS selector.
I am just speculating here, but maybe the browser thinks there is nothing to reset if the page has just been loaded? Maybe it keeps of track of whether anything has actually been modified in the form before deciding whether to do anything about a "reset" call.
Number Two's eyes narrowed and became what are known in the Shouting and Killing People trade as cold slits, the idea presumably being to give your opponent the impression that you have lost your glasses or are having difficulty keeping awake. Why this is frightening is an, as yet, unresolved problem. -- HHGTG