variable (15,820)


Python and MySQL

Python and MySQL

I can get Python to work with Postgresql but I cannot get it to work with MySQL. The main problem is that on the shared hosting account I have I do not have the ability to install things such as Djan…


Are PHP Variables passed by value or by reference?

Are PHP variables passed by value or by reference?…


php Using object property as default for method property

I'm trying to do this(which produces an unexpected T_VARIABLE error): public function createShipment($startZip, $endZip, $weight=$this->getDefaultWeight()){} I don't want to put a magic number in…


Triple Quotes? How do I delimit a databound Javascript string parameter in ASP.NET?

How do I delimit a Javascript databound string parameter in an anchor OnClick event? I have an anchor tag in an ASP.NET Repeater control. The OnClick event of the anchor contains a call to a Javas…


.net Do sealed classes really offer performance Benefits?

I have come across a lot of optimization tips which say that you should mark your classes as sealed to get extra performance benefits. I ran some tests to check the performance differential and found…


Calling shell commands from Ruby

How do I call shell commands from inside of a Ruby program? How do I then get output from these commands back into Ruby?…


asp classic How do I traverse a collection in classic ASP?

I want to be able to do: For Each thing In things End For CLASSIC ASP-NOT.NET!…


c# Converting ARBG to RGB with alpha blending

Let's say that we have an ARGB color: Color argb=Color.FromARGB(127, 69, 12, 255);//Light Urple. When this is painted on top of an existing color, the colors will blend. So when it is blended with…


python Calling a function of a module by using its name(a string)

What is the best way to go about calling a function given a string with the function's name in a Python program. For example, let's say that I have a module foo, and I have a string whose contents ar…



xslt How do you use a variable in xsl when trying to select a node?

I would have thought this would be an easy one to Google, but I've been unsucessful. I want to assign a variable the value out of an attribute(easy so far) then use that variable to select another n…




how variables function example with string class from set value