Questions tagged [identifier]
An identifier is a name that identifies either a unique object or a unique class of objects.
1,357
questions
0
votes
1
answer
23
views
Function to DELETE rows taking the parameters in sql query
I want create a function which removes rows and returns true if there are no errors:
CREATE OR REPLACE FUNCTION s_grnplm_tt.sp_del_stts_cd(num text, package_name text, stts_cd text)
returns ...
0
votes
1
answer
18
views
How to store information of two 3D point clouds using only one point cloud?
Say I have two 3D point clouds which represents the start and end point of a transformation. Now I want to store both the start and end point cloud information into a database, but the database only ...
0
votes
0
answers
6
views
no Maps ID in the option list when Register a new identifier for apple mapkit js
I am flowing this artical to enable apple map in my android app. It's very confuse me when i Create a Maps ID, the Maps ID option is missing from the option list enter image description here.
I am ...
-3
votes
0
answers
41
views
ArrayList.add method not working in class wtihout main [duplicate]
import java.util.*;
public class Data {
public int day;
public String month;
public int year;
ArrayList <String> months = new ArrayList<String>();
months.add("...
2
votes
1
answer
42
views
Syntax error at or near ""20231002"" in procedure with dynamic table name
I want to create procedure which can create a table with dynamic table name. It takes a date, formats and appends it to the table name.
What I did:
CREATE OR REPLACE PROCEDURE l2....
0
votes
0
answers
46
views
ESP32 BLE unique identifier
Good day, I am currently using my ESP32 as a Bluetooth server device which is retreiving data from my phone via an app I designed. My question is, is it possible to gain the MAC address or any unique ...
0
votes
0
answers
25
views
`<tr id='item-<xsl:value-of select="$item.count" />'>` : How to do it correctly?
XSL is not my daily job, but I'm trying to assign ascending IDs with a common prefix to table rows created (to be able to iterate through them using JavaScript in order to do some spreadsheet-like ...
1
vote
1
answer
38
views
How to correctly handle misplaced keywords in FParsec preserving FParsec's inbuit error messages and positions?
This is kind of duplicate to FParsec identifiers vs keywords, but the answer there isn't helpful in my case.
A common problem in writing parsers for programming languages is handling syntax errors ...
0
votes
1
answer
148
views
Signing and Capabilities in Xcode 15
Xcode New User here. Thank you for taking the time.
I have downloaded an Xcode build file and I'm trying to compile it but I am getting the error " Provisioning profile "iOS Team ...
1
vote
0
answers
32
views
Using shortid as custom Object ID in MongoDB [duplicate]
Following up with Mongodb custom object id & Creating custom Object ID in MongoDB, I want to use shortid as custom Object ID in MongoDB. Here is my relevant Go code:
type Book struct {
_id ...
-1
votes
1
answer
58
views
Can't Find Namespace "Microsoft.Win32"
I'm running the latest version of Visual Studio C++ desktop with the latest v4.8.04084 version of .NET Framework, and in a header file I have #include <Windows.h> followed later by "using ...
1
vote
1
answer
62
views
Escaping special characters in Ballerina
I need to define a MembershipStatus Enum as depicted below.
public enum MembershipStatus {
INVITED,
REGISTERED,
DEACTIVATED,
RE-INVITED
}
It says operator '-' not defined for '...
0
votes
1
answer
34
views
How to call a function to modify a value when inserting into table in SQL
I have a table of persons in my postgresql database with the column id with a bigserial type. I want that everytime a new person is created instead of setting a simple number for the id, having one ...
0
votes
1
answer
44
views
Storyboard (<UIStoryboard: 0x600002c51ec0>) doesn't contain a view controller with identifier 'AlphabetController''
@objc func abcPressed() {
DispatchQueue.main.async { [weak self] in
guard let self = self else { return }
let storyboard = UIStoryboard(name: "Main", bundle: ...
1
vote
1
answer
91
views
Sed regexp Match only non-valid c++ identifier characters to rename a variable
I want to use sed to rename variable names (identifiers). I want to do it for c++ however for other languages it will be similar. Say we have a code sample like that here:
example.cpp
int hi;
int bye;
...
2
votes
1
answer
58
views
Is there way to use ObjectGuid instead of dn in ldap api?
We have an application which use ldap protocol. We use unboundId library for that
// ldap
implementation("com.unboundid:unboundid-ldapsdk:6.0.9")
We found out that most api calls use dn as ...
0
votes
0
answers
13
views
Combine files with same basename but different, specific set of IDs
I have over 800,000 fastq.gz files that I am trying to combine. Below is an example of my data. Each file has a basename (sample#) and a BC1 identifier (BC_#)
sample1_BC1_1_R1.fastq.gz
...
0
votes
2
answers
55
views
Creating row identifier within a group
I have data in the following form. There are more than a million rows. I just want to create another column which helps me in row identification of grouped Item3 . The first two columns are irrelevant....
-1
votes
1
answer
71
views
Scala: '(' expected but identifier found [closed]
I'm new to Scala- but I'm an expert in Python-, and when I write a very simple if statement, I get an error.
Code:
val x=1
if x>0 then print("asdf")
The error:
'(' expected but ...
0
votes
1
answer
107
views
expected identifier or '(' before 'while'gcc, Error to Add Identifier before a While [closed]
I am new to Coding, There are 3 Errors or even more:
Don't Know why int main (Void) is showing (redefinition of main error)
below this function (While Loop) is showing (expected identifier or '(' ...
1
vote
1
answer
164
views
Variables conflicting - my Svelte + Vite + Webflow approach is wrong?
I'm using Vite to build three .js files using Svelte. Then I host the three .js files on different Vercel urls. Then I use all 3 of them on 1 webflow page eg:
<div id="address"></...
1
vote
0
answers
138
views
How to use loop variables as bind variables Snowflake?
I want to use the row_variable from a for loop as a bind variable,
FOR <row_variable> IN <cursor_name> DO
statement;
[ statement; ... ]
END FOR [ <label> ] ;
DECLARE
...
0
votes
0
answers
29
views
Index versus ID in Rest API Design
I finished some courses about REST API design in Python (FastAPI) and Javascript (NodeJS) and noticed, that identifiers are always stored inside the object, as in the following example:
Books = [
...
-3
votes
1
answer
46
views
How do I create an identifier for an Array of Strings without a predefined size in java? [closed]
I am trying to figure out how do I create an identifier for an array of Strings which doesn't have a predefined set number of Strings in it?
I couldn't find a solution for this specific problem when ...
2
votes
1
answer
147
views
Why does the C++ language prohibit the usage of certain ALT Codes that are printable characters as identifiers?
Consider the follow code snippet:
struct vec2 {
int x;
int y;
};
constexpr vec2 Up{0,1};
constexpr vec2 Down{0,-1};
constexpr vec2 Left{-1,0};
constexpr vec2 Right{1,0};
The above code ...
0
votes
1
answer
41
views
pivotwide function in r
This is data from NHANES prescription drug data:
SEQN RXDUSE RXDDRGID RXDCOUNT
1 93703 No NA
2 93704 No NA
3 93705 Yes d03740 3
4 93705 Yes ...
0
votes
0
answers
34
views
How to compress a 160 char person_ID in oracle DB which is limited to 25 char AND maintain uniqueness?
Is it possible to compress an alphanumeric 160 char unique ID to 25 char to be used as a unique identifier in Oracle DB?
thank you!
Seeking advice as I cannot even start to understand how to attack ...
0
votes
0
answers
99
views
iOS: Get the voice identifier in spoken content programmatically
Is it possible to get the current voice identifier programmatically?
We know we can set the voice in iOS Setting -> Accessibility -> Spoken Content -> Voices -> Your Country -> someone'...
-1
votes
1
answer
101
views
How do I fix this expected Identifier error in C? [closed]
I keep getting an “expected identifier or “(“ error but I can’t seem to find a way to solve this. My code is attached Screenshot of code
I’ve read around that it could be caused by a lack of function ...
0
votes
0
answers
34
views
How to prevent a page from scrolling when a fragment identifier targets content within a container on that page
How to prevent a page from scrolling when a fragment identifier targets content within an embedded container on that page.
I'm trying to target the content within the scroll box without having the ...
0
votes
1
answer
66
views
How to get a unique Android device identificator in Flutter
For my app we need a unique device id, to detect which devices was already assigned (used) to customer and which is not assigned (clean) and ready to assign
The problem is Android 10 and above ...
0
votes
0
answers
39
views
Extract recurring characters conditional on a binary variable
I have a list of url strings and for each url a human coded binary variable indicates whether it is an affiliate url (or not).
I want to understand...
(1) which combination of characters is recurring/...
0
votes
0
answers
16
views
Question about identifiers applied to elements [duplicate]
Mozilla Developer Network states in their CSS tutorial -
"you can only have one element with each unique ID on a page, but many
elements within the same class".
I must not be understanding ...
3
votes
0
answers
71
views
DBI: are schema and table-name enough for a qualified table name?
Are there cases where a qualified table name consisting of schema and table-name, is not sufficient if the connection was made with the DBI connect method?
Not sufficient in the sense that the catalog ...
0
votes
0
answers
58
views
conditional search and replace differently in sed
This content is in text.txt for testing, I am going to rewrite bundle identifier in pipeline.
Current Behavior:
All PRODUCT_BUNDLE_IDENTIFIER will be replaced to "abc" if execute this ...
-6
votes
1
answer
91
views
Differences between Java identifiers and Unicode identifiers? [closed]
In the Characters API of Java 19, I saw 2 methods:
isJavaIdentifierStart
isUnicodeIdentifierStart
The first one is applied to Java identifiers and the second one for Unicode identifiers.
However, I ...
1
vote
1
answer
280
views
"Mastermind" game in emu8086 assembly
I have a problem with my code. It always says it has double declaration of the code and I don't know how to fix it. Whether I merge segments or leave them like this it says the same thing. (also i don'...
1
vote
2
answers
68
views
How to define functions from declarations where the parameters do not have identifiers?
For an assignment, I was given a header file. The objective was to write the function definitions in a C file.
I am confused about how to write the definition for the functions when some of them do ...
0
votes
0
answers
16
views
Undefined Reference Error when using new identifier for a derived class in a new cpp file, when previous identifier was T [duplicate]
I was given 4 files, ArrayBag.cpp/.hpp and Animal.cpp/.hpp. The goal is to create a new class, ZooRecord and implement it in respective cpp and hpp files. This class inherits from ArrayBag and stores ...
1
vote
1
answer
65
views
how to know the changed name in table by date_key
i have a table with 3 value
Date_key | user_name | user_id
2022-07-12 | milkcotton | 1
2022-09-12 | cereal | 2
2022-06-12 | musicbox1 | 3
2022-12-31 | harrybel1 | 1
2022-12-25 | ...
0
votes
3
answers
801
views
How to prevent SQL injection in Snowflake after using LIKE keyword?
I use the following function for the connection with the Snowflake. For SQL injection prevention I use paramstyle = "numeric".
import snowflake.connector
def get_snowflake_connector(
...
-2
votes
1
answer
66
views
C++ Multiple Classes in ONE cpp file
I'm required to work with multiple classes in one .cpp file. I'm not sure what I'm doing wrong, is there a header file I need to include?
These are the errors I'm getting:
error C3646: 'loginObject': ...
0
votes
2
answers
42
views
Is it possible to programmatically define identifiers using string data in Python?
Suppose I have a class called Circuit, and a dictionary containing data about each circuit component:
components = {
'V1': [ ... ],
'L1': [ ... ],
'R1': [ ... ],
'R2': [ ... ],
...
0
votes
1
answer
835
views
Is There A Way to manage a Custom generated ID with IdentifierGenerator from Hibernate to serve more than one Entity with different prefix?
I have a custom ID generator that generates an UUID string with a prefix for my entities ID, but since I'm using different prefix for each entity I'm having to create one ID generation class for each ...
0
votes
1
answer
2k
views
How to get a thread name in Python?
I'm trying to get the thread name test_thread with threading.current_thread().name between t.start() and t.join() as shown below:
import threading
def test():
print("test")
...
0
votes
1
answer
66
views
How to select and print the lines of a file delimited by two identifiers
I have a large file full of data subsets, each with a unique identifier.
I want to be able to find the first line containing the identifier and print that line along with every line after that one ...
-1
votes
1
answer
160
views
How to fix hundreds of leading underscores for local identifiers problem in flutter
I've been developing this app for months now and this problems just showed up recently, is there a quick fix on this one? I don't want to fix them one by one
1
vote
3
answers
1k
views
Is CAN ID the address of the node?
I'm studying CAN and CANOpen protocoll and I'm a bit confused.
The BOSCH CAN specification says:
"The IDENTIFIER does not indicate the destination of the message, but
describes the meaning of ...
1
vote
0
answers
91
views
[SwiftUI]how to find a specified element in view struct by identifier
For example, how to find the following Text with identifier "id_d".
struct a : View {
var body : some View {
VStack {
HStack {
Text("b")
...
-1
votes
1
answer
79
views
How can I get files that differ from older versions on GitLab? (Unique Identifier)
I need to know if there is something like an unique identifier for each file on GitLab.
So that we can retrieve an archive that was changed before the next build of our application. SO if there is ...