Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
62 views

Variable declaration in fortran : Pros and Cons between declaration in a block construct or copy in a private OMP Parallel clause?

I wrote these two programs to test OMP PARALLEL: 1 : my_idx is declared at the beginning of the program and after a private copy for eah thread is done. program my_pgm use omp_lib implicit ...
Stef1611's user avatar
  • 2,461
0 votes
0 answers
91 views

Ensure Private Key Environment Variables NextJS are private next.config.js

I'm implementing a "Contact Us" email functionality where I need environment variables for sensitive information such as a username and password for email authentication PRIVATE_KEY and a ...
Nicholas Meyer's user avatar
-1 votes
1 answer
63 views

How does this keyword work in abstract class [duplicate]

I know that private field are not inherited, and when I am creating an object at line #2, the object is being created for Person and then when I set the fatherName, inside the setFatherName() how is ...
Rishab Negi's user avatar
0 votes
1 answer
101 views

How to access a private aks cluster from one azure account to another azure account and connectivity must be private? Not to use network peering

I Want to access a private aks cluster from one azure account to another azure account and connectivity must be private. Note: Not to use network peering How to do this? I'm pretty new to azure so ...
Saksham Paliwal's user avatar
0 votes
0 answers
50 views

Unable to Download Go Modules from Private GitLab Repository in Docker Container Using Docker Compose on Windows

I have two private GitLab repositories: webserver and helper, both written in Golang. The webserver/main.go is as simple as this: package main import ( "net/http" "github.com/...
ansuf's user avatar
  • 341
0 votes
1 answer
53 views

Can't change accessibility to field in unit test . getDeclaredField can't find my field [duplicate]

I have the problem that my getDeclaredField can't find my field, and I can't find why. Any ideas? public interface MapInterface<K extends Comparable<K>, V> { public void setValue(K ...
Simon 's user avatar
0 votes
2 answers
155 views

How to declare a true #private field with Symbol?

I try to declare private Symbol property in ES6+ class, below's approach are all wrong. class MyClass { #[Symbol.for('my-symbol-prop1')] = 'my-symbol-prop1'; // SyntaxError [#Symbol.for('my-...
Lucas's user avatar
  • 65
1 vote
0 answers
95 views

Go Mod Download in a SSH only nested private repository in a docker container

I am currently trying to build a go application in a docker container. This go application uses some private golang modules, that are hosted in subgroups of private repositories. The nesting can be 3 ...
Rrr's user avatar
  • 23
0 votes
0 answers
155 views

Restrict class to specific packages with Spring Modulith

I want to create an application using Spring Boot Modulith with a DDD (Domain-Driven Design) approach in the infrastructure layer. I am having issues with class visibility. In a Spring Modulith setup, ...
CzarnaWoda's user avatar
0 votes
2 answers
561 views

Is there a way to deploy a azure function directly to a storage account with private endpoint

I am relatively new to the Azure world, but have been ask investigate a way to create/deploy azure functions to private storage account which is not publicly accessible. Reason being that my company ...
Ivan's user avatar
  • 9
0 votes
1 answer
210 views

How to mock private structs from other mod during testing in rust

I have an app with a few domains with different responsibilities. I added a simplified working example below. The User struct is owned by the auth domain. Its fields and the new() constructor are ...
Skru's user avatar
  • 125
0 votes
1 answer
568 views

Installing packages on an EC2 instance in a private subnet

I have an EC2 instance hosting GitLab, which for operational reasons, is in a private subnet, accessible via a Bastion server. I now need to install GitLab Runner using the Git recommended method ... ...
Paul Quinn's user avatar
1 vote
1 answer
216 views

How to print a variable of a private type that does not implement Display or Debug?

Imagine we have a private library to which we can make no changes, which contains some type that is not exposed in the library module. // lib.rs mod inner { pub struct SecretData { value: ...
Abe Brandsma's user avatar
4 votes
1 answer
91 views

Why objects having instance of a class with private property in prototype throw when accessing private member?

Consider this code: class Klass { #priv = 42 get pub() { return this.#priv } } // these two correctly return 42 console.log(new Klass().pub); console.log((new class extends Klass {})....
Bartosz Gościński's user avatar
-1 votes
1 answer
128 views

Why is my dunder variable defined at module scope not recognized from a function scope as int but recognized as list[int]? [duplicate]

I tried to make a variable as "private" in the module using __dunder_case__ and use it in the function below. I finally changed the variable name to uppercase naming and forget about ...
Jean-Robin PEITEADO's user avatar

15 30 50 per page
1
2 3 4 5
192