JakenVeina
JakenVeina
CC#
Created by Dex on 9/9/2024 in #help
Issue with verifying jwt toke in front end
that should basically be your first-step for ANY server/client issues
6 replies
CC#
Created by Dex on 9/9/2024 in #help
Issue with verifying jwt toke in front end
alternatively, just have a look at the requests in DevTools
6 replies
CC#
Created by Dex on 9/9/2024 in #help
Issue with verifying jwt toke in front end
logs should reveal which
6 replies
CC#
Created by Dex on 9/9/2024 in #help
Issue with verifying jwt toke in front end
if you're able to call the API with a manually-supplied token, it sounds like either the token isn't being attached to the requests from your frontend code, or the token getting generated is invalid
6 replies
CC#
Created by ApathyErr on 4/9/2024 in #help
Why can't I use the null propagation operator in lambda expressions?
oCustomersMail = customers.Any()
? customers.First(c => c.CustomerId == o.CustomerId).Mail
: "Не найдено",
oCustomersMail = customers.Any()
? customers.First(c => c.CustomerId == o.CustomerId).Mail
: "Не найдено",
10 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
why doesn't the algorithm calculate either of those values?
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
you say you have to take the duration of the backwards path and subtract it from the "total project duration"
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
why is it doing something completely different?
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
why is your algorithm not doing that?
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
you described how to get your intended "latest start time" for V1 => V4
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
what is it that you DO what?
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
if that's not what you want, well
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
so, you get a latest start time of 1
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
the duration of V1 => V3 is 4
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
for the V1 => V3 activity, the earliest start time for V3, according to your table, is 5
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
foreach (var activity in activities)
{
var latestStartTime = earliestStartTimes[activity.To] - activity.Duration;
if (!latestStartTimes.ContainsKey(activity.From) || latestStartTimes[activity.From] > latestStartTime)
{
latestStartTimes[activity.From] = latestStartTime;
}
}
foreach (var activity in activities)
{
var latestStartTime = earliestStartTimes[activity.To] - activity.Duration;
if (!latestStartTimes.ContainsKey(activity.From) || latestStartTimes[activity.From] > latestStartTime)
{
latestStartTimes[activity.From] = latestStartTime;
}
}
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
and using that as the latest start time, for that activity
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
subtracting the duration of the current activity
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
it's retrieving the earliest start time of the next node
62 replies
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
your algorithm is working exactly as you told it to
62 replies