name

How to match linux device path to windows drive name?

Hi, I'm writing an application that on some stage performs low-level disk operations in Linux environment. The app actually consists of 2 parts, one runs on Windows and interacts with a user and another is a linux part that runs from a LiveCD. User makes a choice of Windows drive letters and then a linux part performs actions with corre...

How do people choose product names?

I flatter myself that I'm a good programmer, and can get away with graphic design. But something I'm incapable of doing is coming up with good names - and it seems neither are the people I work with. We're now in the slightly ludicrous situation that the product we've been working on for a couple of years is being installed to customers,...

Valid characters in a Java class name

What characters are valid in a Java class name? What other rules govern Java class names (for instance, Java class names cannot begin with a number)? ...

Comparing names

Is there any 'simple' algorithm to determine the likeliness of 2 names representing the same person? I'm not asking for something of the level that Custom department might be using. Just a simple algo that would tell me if 'James T. Clark' is most likely the same name as 'J. Thomas Clark' or 'James Clerk'. If there is an algo in C# that...

Is a variable named i unacceptable?

As far as variable naming conventions go, should iterators be named i or something more semantic like count? If you don't use i, why not? If you feel that i is acceptable, are there cases of iteration where it shouldn't be used? ...

Convert Month Number to Month Name Function in SQL

Hi, I have months stored in SQL Server as 1,2,3,4,...12. I would like to display them as January,February etc. Is there a function in SQL Server like MonthName(1) = January? I am trying to avoid a CASE statement, if possible. Thanks Edit ~ I am on SQL Server 2005, if this makes a difference. ...

Name Generator for .NET

Has anyone written, or know of a library, that generates fairly accurate looking Western European style names? i.e. John, Susan, Smith, Julien, April, etc., etc... ...

How can I set the program name for sybase connections in jdbc?

I can do it in C, and I can do it in perl, but I don't see how to set the program name on sybase connections using jdbc? ...

Can something be initializable?

I've created an interface called Initializable, but according to Dictionary.com this is not a word. Searching Google only gives about 30k results and they are mostly API references. Is there another word to describe something that can be initialized (which is a word)? Edit: Thanks for the questions about it being in the constructor, t...

Force PHP to error on non-declared variables? In objects?

Is there any way to force PHP to blow up (error, whatever) if I misspell a variable name? What about if I'm using an instance of a class and I spell the name of a variable wrong? [I know that I should just get used to it, but maybe there's a way to enforce name checking?] Thanks! Edit: Sorry, that wasn't very specific. Here's the cod...

How do you come up with a good name for a software company?

I'm starting up a web design shop and hoping to also get into custom software development. So the problem I'm having now is coming up with a name for the company. I want something cool and funky, but I'm not sure where to go for ideas. Someone suggested that I name it after a fruit (well "Apple" is already taken :)), or a famous ship,...

iPhone App name rejection?

Has anyone had apple send back the app with a name change requirement? We submitted our app in Nov. and have been going back and forth with them, we corrected the items they asked us to fix which were both interface and memory driven, and they said nothing about the name. They have been testing our API a TON so we know they are doing som...

Hip application name

I have finished developing a quite useful small application. I would like to launch it, but I am not satisfied with it's name. What techniques, websites do you recommend that can help a programmer construct a powerful, easy-to-remember application name? For example: Firefox is a very powerful name IMO, easy to remember, very visual. ...

vbscript / Classic ASP - Is there any way to get your own file name programmatically?

I was just reviewing some old code and found the following (inside foo.asp): Const ASP_FILENAME = "foo.asp" ' TODO: Update this to the name of this file (if changed) The variable is only used for logging errors. (ie. "Error in foo.asp - Could not create xxxxx object.") Is there any way to avoid this? Thanks! ...

The replacement to the name attribute...

I am confused. I need to name my iframe in order to use the name as the target in my menu's hypelinks. According to my Visual Web Developer Express the name attribute is considered outdated and a new construct is required. My question is what attrbute code do I utilize to name my iframe. Thank you ...

getting users and groups from Windows

Hi all, I'm using a Java program that has to gather info that can be derived from the user's group. How can you get a user's group name from windows? Is it found in a file or is there some method/API for getting it? Please let me know. Thanks, jbu ...

Getting a user's group name in Windows XP - using any way possible

Hi all, I've posted a similar question about how to do this in JNDI, but in THIS post I am wondering how to do it using ANY INTERFACE. I'd like to be able to retrieve a user's group name. When I say "group" I mean the group on the computer. Like "administrator" or "user." Can I do it through the command line, application, dll, or ...

encrypting a .Net application and assemblies

Hi, I have an encryption/copy protection question. I'm writing an application for a company that uses a dongle. Please don't tell me that software protection is useless, or that I should just let it fly free into the air, or that any time I spend doing this is a waste; this isn't a philosophical question about the validity of software...

What's the best way to get a column name in asp.net using ODBC?

I have a database that has four columns like this level_1, level_2, level_3, level_4 There are also id, name, etc., but only these four are the ones that matter to me at the moment. I need to know which column, by columnname, has the value 'BOSS'. For example, level_2 may have the value BOSS. I need to know that one of the four colu...

How do I get the result of a checked checkbox?

I'm really new to HTML, but I can't find anywhere how to return the variable from a check box. I've figured out how to get variables from forms and inputs, but I don't know how to get them from check boxes. Basically, I want a check box that if checked, will return the value yes. If not checked, it doesn't have to return a value, but no ...