star

Why is using '*' to build a view bad ?

Hello, Why is using '*' to build a view bad ? Suppose that you have a complex join and all fields may be used somewhere. Then you just have to chose fields needed. SELECT field1, field2 FROM aview WHERE ... The view "aview" could be SELECT table1.*, table2.* ... FROM table1 INNER JOIN table2 ... We have a problem if 2 fields have ...

unpacking an array of arguments in php

Python provides the "*" operator for unpacking a list of tuples and giving them to a function as arguments, like so: args = [3, 6] range(*args) # call with arguments unpacked from a list This is equivalent to: range(3, 6) Does anyone know if there is a way to achieve this in PHP? Some googling for variations of "PHP Unpa...

Batch file: Password Stars/Circles

Like you already know, websites have certain special chars for passwords, like stars and circles. Could this be possible in a batch file, on the following one:? If this is not possible, if you type it in, could you just see nothing? set pass= set /p pass=Enter your password: if {%pass%}=={} goto :begin set authenticated= for /f "toke...

jQuery star rating in a table

Hi, I have an MVC application generating a series of radio buttons based on a dynamic set of questions. The questions are generated, and the star rating works perfectly, but for some reason, when I try to have each radion button in its own cell in a table, once the javascript kicks in, all the radiobuttons appear in just one cell. Wit...

jquery star rating plugin and jquery click function

I'm using the jquery star rating plugin: http://www.fyneworks.com/jquery/star-rating/ I might get some html code like this: <form name="api-disable"> <input type="radio" class="star {split:2}" name="api-readonly-test" value="1"/> <input type="radio" class="star {split:2}" name="api-readonly-test" value="2"/> <input type="radio" c...

Star Rating widget for jQuery UI

I was introduced to the Star Rating widget for jQuery UI: http://orkans-tmp.22web.net/star_rating/ I was originally using this one: http://www.fyneworks.com/jquery/star-rating/ Is there any difference between using the two? Well trying to use the jquery UI one, I can't get the input buttons to show up as stars. I have these js and css ...

Jquery star rating plugin and cancel rating button

Using this plugin: http://www.fyneworks.com/jquery/star-rating/#tab-Testing I have a simple callback function that picks up the id from the radio buttons: <input type="radio" class="auto-submit-star {split:2}" id="myid" value="1" /> $('.auto-submit-star').rating({ callback: function(value, link){ alert($(this).attr('id')); } ...

Turn a number into star rating display using jQuery and CSS

I have been looking at jquery plugin and was wondering how to adapt that plugin to turn a number (like 4.8618164) into a 4.8618164 stars filled out of 5. Basically interpreting a number <5 into stars filled in a 5-star rating system using jQuery/JS/CSS. Note that this would only display/show the stars rating from an already available num...

Wordpress - GD Star Rating - turn off and on for specific posts?

Hi all fellow Wordpressers, I'm trying to apply GD star rating plugin to 4 specific pages. I know I can do it in the page editor, but I have about 30 pages so don't want to spend ages going through them all. Is there a way in the GD settings to default the plugin to not putting the block automatically on every page. Thanks for your hel...

Printing from asp classic to Star Printers?

I am working on a site that prints receipts to Star printers. Right now we are using ActiveX controls to do this (ASPPrinter from VBGold). Is there any better way to print to these things from a website? We were thinking about having a program that polls a web service for print jobs, but that seems iffy and a little kludgie. That said...

css Star-rating html problem

Im following a tutorial on this page: http://www.henryhoffman.com/css-star-rating-tutorial.html where the HTML looks like this: <ul class="rating"> <li><a href="#" title="1 Star">1</a></li> <li><a href="#" title="2 Stars">2</a></li> <li><a href="#" title="3 Stars">3</a></li> <li><a href="#" title="4 Stars">4</a></li> <li><a href="#" tit...

How to "star" a URL in Google search programatically

I inevitably end up bookmarking a lot of sites because I think they might be useful in the future. Then two days later I have no idea what the bookmarks point to. What I would like to do is instead star these bookmarks in google. That way when I do a similar search they will be shown at the top of the list, and I don't have a massive li...

Draw a star using imagefilledpolygon (with diagram)

Is there a way with PHP GD to draw a star using imagefilledpolygon? Where would the points be plotted? I believe it involves sine and cosine because... How can I relate those points to the center using sine and cosine in GD? ...