How to build an execution graph of concurrency accesses

Sorry If I don’t use the right vocabulary, maybe part of my question is due to the fact that I don’t know the name of what I’m searching.

I have a bounded set of operations that need to access a database. I want to create an “execution graph” of these operations that prevents conflicting accesses. For each of this operations, I know the read set and write set.

Let’s say I have four operation, a, b, c and d :

readSet(a) = {k1, k2} writeSet(a) = {}

readSet(b) = {} writeSet(b) = {k1}

readSet(c) = {} writeSet(c) = {k2}

readSet(d) = {} writeSet(d) = {}

So here I can build the graphs whit the following set of edges :

g1 -> { (b, a), (c, a) }

g2 -> { (a, b), (a, c) }

How do I build such a graph that is that is as little deep as possible ? ( i.e that maximize the parallelism ? )

What are the keywords to find litterature on this problem ?

Mark Link which blocks accesses from the EU because of the GDPR

I run a site for visitors from Germany who would like to visit the USA. Because of the GDPR more and more websites in the US block access from the EU like the LA Times, IHOP or Carrabbas. The access within the US, so if visitors are on site is of course possible, so the link should remain.
Blocked pages do not always give clear hints why an access is blocked, eg. only a 403 or 451 error page without any info why.
How can I best mark such a link?

On the desktop version, I linethrough the link blue and use the title attribute so that the mouse over an info text is displayed. (I know the title attribute should be used differently, it will soon be replaced by CSS Over). However, this is not possible on a mobile phone.

Since many pages are static, I do not want a solution based on the visitors IP works.
Also, it does not make sense for me to work with a symbol and a symbol explanation in the footer, because on a mobile device no one scroll down to read the explanation.

Do you have any idea how to label a link that says, “Hey, I’m locked in the EU and can only be access in the US?” on a mobil device.

How to track network file share accesses on workstations

I shared a folder created in my C drive with a colleague over the network and he was able to access it. Is there any log that will track this kind of activity? I am aware of Windows Security Event ID 5140: A network share object was accessed. Should this be on the workstation or will there be an AD authentication to the Domain controller to verify the person accessing it is actually the person whi is given permissions. Any thoughts will be appreciated.

How to fix the “Overlapping accesses to ‘self’, but modification requires exclusive access; consider copying to a local variable” error in my code?

I can’t continue with my app and I can’t test run it because something is wrong in my code that I don’t know how to fix! Here is the code:

import Foundation  extension Array {     mutating func shuffle() {         if count < 2 { return }         for i in 0..<(count - 1) {             let j = Int(arc4random_uniform(UInt32(count - i))) + i              customSwap(a: &self[i], b: &self[j])         }     } }  func customSwap<T>(a:inout T, b:inout T) {     let temp = a     a = b     b = temp }