name

Why is it called "Cloud"?

Yes, as you might guess, I want to ask about Cloud-computing. I doubt that why it's called that. Which characteristics of it made that name? ...

Can Python directory names be keywords? E.g. 'import'?

Am I allowed to have a directory named 'import' containing Python code? Or will the import command fail to parse it as a result? Is there any way around that? ...

How do you get an asp.net control's auto generated name attribute?

I have a DropDownList and need to know its name in the code behind: <select name="ctl00$cphMainContent$ddlTopic" onchange="javascript:setTimeout('__doPostBack(\'ctl00$cphMainContent$ddlTopic\',\'\')', 0)" id="ctl00_cphMainContent_ddlTopic"> <option value="All">All</option> </select> I need to get the value "ctl00$cphMainContent$ddlTop...

Basic question on c++ header file inclusion ?

What are the differences between below 3 programs ?. Is <iostream> a header file or C++ standard library ? 1. #include<iostream> using namespace std; int main() { return 0; } 2. #include<iostream> int main() { return 0; } 3. #include<iostream.h> int main() { return 0; } Thanks in advance. ...

Why my tables' names are converted into lowercase in phpmyadmin ?

I am using wamp server 2.0 on Windows XP. Whenever I create a table with some uppercases in name, it is converted to lowercase. For example: I create: UserInfo phpmyadmin convert it to: userinfo I am using ubuntu/phpmyadmin in office but this problem does exists there. from where can I fix this. Thanks ...

Which encoding (code page) is used for file names in ZIP archive under Mac OS x 10.6

I have a zip library SharpZipLib which intended to work with ZIP archives using C#. It has parameter ICSharpCode.SharpZipLib.Zip.ZipConstants.DefaultCodePage which specifies encoding of file names in zip archive. I know that in Windows and in OSX different encodings are used to store file names. 1) Which encodings (code pages) are used ...

Assign RegEx submatches to variables or map (C++/C)

I need to extract the SAME type of information (e.g. First name, Last Name, Telephone, ...), from numerous different text sources (each with a different format & different order of the variables of interest). I want a function that does the extraction based on a regular expression and returns the result as DESCRIPTIVE variables. In ot...

Name validation using jquery validation framework

I want to add a custom function using jquery validation framework, to help validating names (first name and last name) inside a form. I understand I could just eliminate numbers... but wondering if there is a 'best practice' way using jquery validation framework, somebody could suggest me...? Thanks ...

Regular expression to match a name

What will be the regular expression in javascript to match a name field, which allows only letters, apostrophes and hyphons? so that jhon's avat-ar or Josh is valid? Thanks ...

PHP incomplete code - scan dir, include only if name starts or end with x

I posted a question before but I am yet limited to mix the code without getting errors.. I'm rather new to php :( ( the dirs are named in series like this "id_1_1" , "id_1_2", "id_1_3" and "id_2_1" , "id_2_2", "id_2_3" etc.) I have this code, that will scan a directory for all the files and then include a same known named file for each...

LINQ to XML query help needed

<Fields> <Field> <Company>My Company</Company> </Field> <Field> <Address2>Villa at beach</Address2> </Field> <Field> <Email2>[email protected]</Email2> </Field> <Field> <Mobile>333-888</Mobile> </Field> <Field> <ContactMethod>Facebook</ContactMethod> </Fiel...

Ambiguous class name

Hello If have a new project (ProjNew ) where I want to put several classes that are on other project (ProjOld). The problem is I want to maintain the old classes marked with Obsolete to avoid running all my projects and check if they using it. But in that way this may throw a ambiguous class name error because I didn't explicitly cal...

How to Look Up Email by Full Name in Active Directory?

I want to search for a user's email by using Active Directory. Available is the user's full name (ex. "John Doe" for the email with an email "[email protected]"). From what I've searched, this comes close to what I'm looking to do -- except that the Filter is set to "SAMAccountName", which is not what I have. Unless I'm misunderstandin...

Personal name generator

Hi all, I would like to populate my database with randomly generated personal names. Would you know any software tool (no web pages!) that can help me achieving this? I will need to generate at leat 5,000 personal names. Thank you. ...

jQuery Validation using the class instead of the name value

Hi, I'd like to validate a form using the jquery validate plugin, but I'm unable to use the 'name' value within the html - as this is a field also used by the server app. Specifically, I need to limit the number of checkboxes checked from a group. (Maximum of 3.) All of the examples I have seen, use the name attribute of each element. W...

How do I get the name of the current method in squeak?

Hi! As stated above - I need to find the current method's name in runtime. how do I do this? ...

How do I get the value of a class variable in squeak?

Hi, I have a string that contains the name of a class variable that I know exists for class A. I need to get the value of this variable (i.e. dereferencing), how do I do it? ...

Dynamic name of NSMutableDictionary?

Hi everyone I load from a txt file many info, and I would like, if possible, to dynamically create NSmutable dictionary with the elements of the txt. For example, each is like that: id of element | date | text What I'm asking is the equivalent of the NSString stringWithFormat:. Can we do the same for an Mutable Dictionary? To be more...

How a script know his own name in bash?

I launch script.sh and inside it i want to know what is his name Is there a standard procedure to know the scripts name ? the idea is to be able to extract the name from teh full path + name contained in $0 Thanks ...

How to find the timezone with "HNEC" short name?

My Android app is using this code to get the short name of the timezone in which the handset is located. String shortDisplayName = Calendar.getInstance().getTimeZone().getDisplayName(false, TimeZone.SHORT); For my user in Strasbourg, France, shortDisplayName is "HNEC" (I haven't learned yet exactly which locale is in play). I'm tryin...