Click here to Skip to main content
15,894,180 members
Home / Discussions / C#
   

C#

 
GeneralRe: Nullable foreign key causes runtime error in OData service Pin
Dave Kreskowiak29-Aug-23 11:52
mveDave Kreskowiak29-Aug-23 11:52 
GeneralRe: Nullable foreign key causes runtime error in OData service Pin
Richard MacCutchan29-Aug-23 21:18
mveRichard MacCutchan29-Aug-23 21:18 
AnswerRe: Nullable foreign key causes runtime error in OData service Pin
Richard Deeming29-Aug-23 21:14
mveRichard Deeming29-Aug-23 21:14 
AnswerRe: Nullable foreign key causes runtime error in OData service Pin
Gerry Schmitz30-Aug-23 10:25
mveGerry Schmitz30-Aug-23 10:25 
AnswerRe: Nullable foreign key causes runtime error in OData service Pin
Mycroft Holmes30-Aug-23 12:44
professionalMycroft Holmes30-Aug-23 12:44 
QuestionCom port c#, windows form Pin
Jan 194728-Aug-23 1:16
Jan 194728-Aug-23 1:16 
AnswerRe: Com port c#, windows form Pin
Richard MacCutchan28-Aug-23 4:44
mveRichard MacCutchan28-Aug-23 4:44 
GeneralRe: Com port c#, windows form Pin
Jan 194728-Aug-23 11:21
Jan 194728-Aug-23 11:21 
AnswerRe: Com port c#, windows form Pin
Gerry Schmitz28-Aug-23 6:44
mveGerry Schmitz28-Aug-23 6:44 
GeneralRe: Com port c#, windows form Pin
Jan 194728-Aug-23 11:12
Jan 194728-Aug-23 11:12 
GeneralRe: Com port c#, windows form Pin
Gerry Schmitz28-Aug-23 14:43
mveGerry Schmitz28-Aug-23 14:43 
GeneralRe: Com port c#, windows form Pin
Jan 194728-Aug-23 16:13
Jan 194728-Aug-23 16:13 
Questionlimiting recursion as two interdependent values change c# Pin
BillWoodruff27-Aug-23 1:15
professionalBillWoodruff27-Aug-23 1:15 
GeneralRe: limiting recursion as two interdependent values change c# Pin
harold aptroot27-Aug-23 13:14
harold aptroot27-Aug-23 13:14 
BillWoodruff wrote:
You see the possibility of runaway recursion if both Edges subscribe PropertyChanging to each other.
If they also change their Intensity in response to that event, sure. (if something else then I don't know what you mean)
BillWoodruff wrote:
keep a count ? enforce a limit ?
Sure, I guess? But where do you keep that count and whose responsibility is this etc, idk ultimately it seems like a bit of hack.

Reading between the lines, here's what I think is going on:
  • You have some sparse matrix.
  • You updated one entry in it.
  • You need to run some algorithm to restore some property.
So here's my proposal: run that algorithm on the matrix. That doesn't sound it means anything, but it does. It means, forget imbuing the individual edges with agency (at least in this context). It's the matrix as a whole that has a property that you want to restore, and the algorithm works on the matrix as a whole (hopefully not every entry needs to be changed). There's no difficulty now in running a limited number of iterations of an incremental algorithm or anything of that nature. You can just do that, explicitly, in one place.

Such a zoomed-out view may also help when implementing other matrix-based graph algorithms such as eigenvector centrality or whatever (do social networks use that? I don't know what social networks actually do to be honest).

But I don't really know what you're doing, maybe none of this applies to your situation.
GeneralRe: limiting recursion as two interdependent values change c# Pin
BillWoodruff28-Aug-23 3:41
professionalBillWoodruff28-Aug-23 3:41 
GeneralRe: limiting recursion as two interdependent values change c# Pin
harold aptroot28-Aug-23 4:55
harold aptroot28-Aug-23 4:55 
GeneralRe: limiting recursion as two interdependent values change c# Pin
Gerry Schmitz28-Aug-23 6:50
mveGerry Schmitz28-Aug-23 6:50 
GeneralRe: limiting recursion as two interdependent values change c# Pin
BillWoodruff28-Aug-23 11:08
professionalBillWoodruff28-Aug-23 11:08 
GeneralRe: limiting recursion as two interdependent values change c# Pin
BillWoodruff28-Aug-23 11:13
professionalBillWoodruff28-Aug-23 11:13 
GeneralRe: limiting recursion as two interdependent values change c# Pin
harold aptroot28-Aug-23 12:36
harold aptroot28-Aug-23 12:36 
GeneralRe: limiting recursion as two interdependent values change c# Pin
BillWoodruff28-Aug-23 22:48
professionalBillWoodruff28-Aug-23 22:48 
QuestionC# error when I try to run Pin
Member 1607362720-Aug-23 18:22
Member 1607362720-Aug-23 18:22 
AnswerRe: C# error when I try to run Pin
OriginalGriff20-Aug-23 18:27
mveOriginalGriff20-Aug-23 18:27 
AnswerRe: C# error when I try to run Pin
Richard Deeming20-Aug-23 21:01
mveRichard Deeming20-Aug-23 21:01 
QuestionHikVision Biometrics Pin
Icanus Tuiloma20-Aug-23 14:48
Icanus Tuiloma20-Aug-23 14:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.