Questions tagged [naming]

A general purpose tag to cover anything concerning naming, be it files, programming constructs, data etc.

A general purpose tag to cover anything concerning naming, be it files, programming constructs, data etc.

1723 questions
0
votes
1 answer

EUCALYPTUS Set machine name using euca-run-instances

I have read the Eucalyptus documentation ( https://www.eucalyptus.com/docs/euca2ools/3.0/euca2ools-guide/euca-run-instances.html#euca-run-instances ) as well as searched on Google as well as in this site to following question and could not find a…
Jim_Brent
  • 1
  • 5
0
votes
1 answer

Why is my php code not giving me the right text field name

I am trying to make a web application that stores and retrieves race information. I am creating the text inputs dynamically by using a php function and index looping. Here is the code:
iProgram
  • 6,057
  • 9
  • 39
  • 80
0
votes
2 answers

Variable naming of instances in Python

I want to do the following thing: f = SomeClass() something(f.name) = deepcopy(f) So when f.name == 'ABC' I have an instance of SomeClass() called ABC. What do I need that for? I want to loop trough a list, and every element of the list should be…
0
votes
1 answer

sid naming conventions forcontainer and plugins

With the architecture change in oracle 12, specifically containers and pluggable databases should, should sid naming conventions be changes to help identify db as container or plugin or which plugins go with which containers. Suggestions and advice…
EJN
  • 1
0
votes
1 answer

What orders to save a file by string AND variable? MATLAB

I have a for loop that goes through 7 elements in an array and does an operation, and gets a 'work' (name of variable) variable. I want to save this work variable in the form of 'work_#ofexperiment' (experiments 1 through 7) So I have experiment 1,…
Alvin Nunez
  • 247
  • 1
  • 10
0
votes
2 answers

How to rename numbered files to begin and increase sequentially from one?

Given a directory of files: 00012.png, 00013.png, 00014.png etc... What is the simplest way to rename the entire batch to: 00001.png, 00002.png, 00003.png etc... I've looked up the rename utility but am feeling baffled. There a number of other…
s-low
  • 706
  • 2
  • 8
  • 21
0
votes
1 answer

Can I use variable as sheetname (VBA)

I am a newcomer to VBA. I am trying to copy selected range from different workbooks and pasted to a target workbook with different sheetname correspondingly to the name of source file. The code as below: 'open file Sub RstChk() Dim StrFileName As…
0
votes
1 answer

What is the (best)name or description of this "method linking" to other components

First off, sorry for the strange "title", but since I don't know the name, it's quite tough to describe in a short sentence. I've been here many-many times before, however this is my first actual activity. I usually search, read and fight my way…
Nrzonline
  • 1,600
  • 2
  • 18
  • 37
0
votes
1 answer

Name an Object in Java and Inheritance

I am learning Java and like to do it through examples. This is about inheritance and variables. Animal.java package inheritance; public class Animal { String name; public Animal (){ System.out.println("A new animal has been…
Dasman
  • 317
  • 4
  • 19
0
votes
1 answer

Create R Function with flexibility to reference different datasets

I am trying to create a simple function in R that can reference multiple datasets and multiple variable names. Using the following code, I get an error, which I believe is due to referencing: set.seed(123) dat1 <- data.frame(x = sample(10), y =…
coding_heart
  • 1,245
  • 3
  • 25
  • 46
0
votes
3 answers

Function naming, which level of abstraction should be used

We have such use case in application: If page visitor is a crawler, then redirect him to home page. These are two ways we have developed to implement that in code: if (isPageVisitorACrawler(visitor)) { return redirectToHome(); } if…
Rafał Łużyński
  • 7,083
  • 5
  • 26
  • 38
0
votes
1 answer

Naming: dual plural

I encounter this problem with naming several times, and I can't find a definite answer. So, which of underneath naming is correct in English? Assuming that it is name for list of paths to…
sad47
  • 53
  • 6
0
votes
2 answers

Naming convention of creating angular modules

I was studying AngularJS from the following site, AngularJS They have mentioned the name of AngularJS like my.new.module var module = angular.module( "my.new.module", [] ); I just want to know the meaning of `my.new.module'. Why they are using the…
geeks
  • 2,025
  • 6
  • 31
  • 49
0
votes
3 answers

Naming issue: what name would you give to this interface?

I'm struggling with a naming issue. What name would you give to an interface that have just one method with this signature: public interface ? { boolean isAvailable(); } Many classes in my application can implement this interface.
Marcos
  • 1,237
  • 1
  • 15
  • 31
0
votes
2 answers

good variable name: the number of process to go

I'd like to know a good name of a variable although I'm not sure this kind of question is in scope of SO. I have a variable which holds the number of processes to go. What is a good name for x in below code? int x = getTheNumberOfProcess(); while(x…
Light Yagmi
  • 5,085
  • 12
  • 43
  • 64