Questions tagged [isolation]
258 questions
1
vote
1 answer
Passing an MSMQ Queue handle through an AppDomain or Process boundary
Using AppDomain or possibly Process isolation in a .NET application, I don't necessarily want to give the isolated environment the permissions necessary to create or even open MSMQ MessageQueues. I also don't want to use the isolation channel to…

Jason Kleban
- 20,024
- 18
- 75
- 125
1
vote
1 answer
Is there a way to pass CSS class in isolated mode?
Let's say I am building composite component, and part of it is:

greenoldman
- 16,895
- 26
- 119
- 185
1
vote
0 answers
spark session isolation in databricks
I am using databricks and running multiple notebooks on the same cluster. Each notebook represents a task which requires specific task settings.
Now when i change the spark settings on a notebook, it seems this gets applied at the cluster level and…

Naveen Balachandran
- 11
- 1
1
vote
0 answers
How to make system work in isolation - testing
I want to test my application, written in Java (without Spring), which consumes data from external source via kafka and does some operations on them.
I am simulating the messages incoming (sending the data via kafka) but the problem is that when my…

Aleksandra
- 101
- 6
1
vote
0 answers
How to execute code in isolated environment
I'm creating dynamic expression invocation and need to have security mechanism for code execution.
The parameter of context below is visible to the "world", so someone who can write some piece of a script.
Simple expression:
context => "a" +…

Xeo
- 110
- 1
- 6
1
vote
1 answer
Running a unit test in isolation in PHP
I've created a basic unit test suite in PHP. It shows whether or not a test passed and the time it took to execute the test. It works great, but I've run into a problem and I'm not sure how to address it. Each initial unit test of each unit test…

VirtuosiMedia
- 52,016
- 21
- 93
- 140
1
vote
0 answers
style isolation in docusaurus
docusaurus is a very useful tool, I love it, we are creating our own component library, the demo of the component library, and eventually rendering in docusaurus, but I found a problem, some of the global styles of docusaurus's own themes affect the…

tobemaster
- 11
- 1
1
vote
1 answer
Do PowerShell ISE scripts produce system calls altering the entire OS down to the kernel?
I'm a complete rookie to programming. I will say so much off the bat: please go easy on me. I simply want to know what happens on a system-wide level when I run a script through the PowerShell ISE program. If I run something in an IDE, I have always…

Linux Overthrow
- 11
- 1
1
vote
1 answer
Return unconnected islands of nodes in a network with Networkx
I am using NetworkX for analyzing a network G of transport connections. After visualizing it I saw that there are some "islands" of nodes that do not have any connections to the network. Those islands mostly consist of 2 to 5 nodes. Since the…

lonyen11
- 91
- 11
1
vote
0 answers
How to use blazor webassembly css isolation feature?
I have a Blazor WebAssembly project BlazorApp2 with following project structure
My head section in index.html :

hjyanghj
- 306
- 1
- 2
- 10
1
vote
1 answer
Compute method not calling in FutureBuilder
I notice my app will get freezed once a large file is selected. So I came out with an idea, which let the bytes generate in isolate thread. Once done generate, let it display in Image widget.
First selected file will be added in…

John Joe
- 12,412
- 16
- 70
- 135
1
vote
0 answers
How to Isolate css?
I have a project in development which will be something like gadget or widget for loading it in other websites. It Won't be an Iframe
but when i load it as a widget in other websites there is lot's of CSS conflicts.
I searched for solution and find…

mahziar.eghdami
- 113
- 8
1
vote
0 answers
Is sharing one SQLite connection inside desktop app safe? Sharing one connection vs creating new connections for each query
I have found similar question on stackoverflow but it is solely focused on performance and answer is pretty obvious: creating new connection for each query = slower performance (how much slower? it depends)
I am more worried about transaction…

hdw3
- 871
- 10
- 28
1
vote
1 answer
How to implement TypeScript Isolation in Blazor Components?
I know how to implement JavaScript isolation in Blazor components.
// Use the module syntax to export the function
export function sayHi(name) {
alert(`hello ${name}!`);
}
And
private Task _module;
private…

Mentor
- 3,058
- 1
- 22
- 27
1
vote
2 answers
Deadlock with EF 6 entity update but not ExecuteSqlCommand
To handle concurrency in my database:
Client A updates a row
Client B tries to update the same row
Client B needs to wait for Client A to commit his updates
Both Client A & B instance are simulated and using this code:
using (myEntities db = new…

Tsushima
- 33
- 4