parameter (7,843)


ruby When to use lambda, when to use Proc.new?

ruby When to use lambda, when to use Proc.new?

In Ruby 1.8, there are subtle differences between proc/lambda on the one hand, and Proc.new on the other. What are those differences? Can you give guidelines on how to decide which one to choose? In…


What language do you use for PostgreSQL triggers and stored procedures?

PostgreSQL is interesting in that it supports several languages for writing stored procedures. Which one do you use, and why?…


c# Most Efficient Way to Test Object Type

I have values stored as strings in a DataTable where each value could really represent an int, double, or string(they were all converted to strings during an import process from an external data sou…


Accessing post variables using Java Servlets

What is the Java equivalent of PHP's $_POST? After searching the web for an hour, I'm still nowhere closer.…


c# When do Request.Params and Request.Form differ?

I recently encountered a problem where a value was null if accessed with Request.Form but fine if retrieved with Request.Params. What are the differences between these methods that could cause this?…


sql How to pass a comma separated list to a stored procedure?

So I have a Sybase stored proc that takes 1 parameter that's a comma separated list of strings and runs a query with in in an IN() clause: CREATE PROCEDURE getSomething @keyList varchar(4096) AS SELE…


c# Invalid Resource File

When attempting to compile my C# project, I get the following error: 'C:\Documents and Settings\Dan\Desktop\Rowdy Pixel\Apps\CleanerMenu\CleanerMenu\obj\Debug\CSC97.tmp' is not a valid Win32 resource…


How can I identify in which Java Applet context running without passing an ID?

I'm part of a team that develops a pretty big Swing Java Applet. Most of our code are legacy and there are tons of singleton references. We've bunched all of them to a single "Application Context" si…



Conditional Visibility and Page Breaks with SQL Server 2005 Reporting Services

I know there's a bug with conditional visibility and page breaks with SQL 2005, but I wonder if anyone has come up with a work around. I have a table that has a conditional visibility expression, and…


Custom WPF command pattern example

I've done some WPF programing and one thing I never got was the command pattern. Every example seems to be for built in ones, edit, cut, paste. Anyone have an example or suggestion of best practice…




parameters pass with function example how type value method java