Click here to Skip to main content
15,849,829 members
Home / Discussions / C#
   

C#

 
AnswerRe: Com port c#, windows form Pin
Richard MacCutchan28-Aug-23 5:44
mveRichard MacCutchan28-Aug-23 5:44 
GeneralRe: Com port c#, windows form Pin
Jan 194728-Aug-23 12:21
Jan 194728-Aug-23 12:21 
AnswerRe: Com port c#, windows form Pin
Gerry Schmitz28-Aug-23 7:44
mveGerry Schmitz28-Aug-23 7:44 
GeneralRe: Com port c#, windows form Pin
Jan 194728-Aug-23 12:12
Jan 194728-Aug-23 12:12 
GeneralRe: Com port c#, windows form Pin
Gerry Schmitz28-Aug-23 15:43
mveGerry Schmitz28-Aug-23 15:43 
GeneralRe: Com port c#, windows form Pin
Jan 194728-Aug-23 17:13
Jan 194728-Aug-23 17:13 
Questionlimiting recursion as two interdependent values change c# Pin
BillWoodruff27-Aug-23 2:15
professionalBillWoodruff27-Aug-23 2:15 
GeneralRe: limiting recursion as two interdependent values change c# Pin
harold aptroot27-Aug-23 14:14
harold aptroot27-Aug-23 14: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 4:41
professionalBillWoodruff28-Aug-23 4:41 
GeneralRe: limiting recursion as two interdependent values change c# Pin
harold aptroot28-Aug-23 5:55
harold aptroot28-Aug-23 5:55 
GeneralRe: limiting recursion as two interdependent values change c# Pin
Gerry Schmitz28-Aug-23 7:50
mveGerry Schmitz28-Aug-23 7:50 
GeneralRe: limiting recursion as two interdependent values change c# Pin
BillWoodruff28-Aug-23 12:08
professionalBillWoodruff28-Aug-23 12:08 
GeneralRe: limiting recursion as two interdependent values change c# Pin
BillWoodruff28-Aug-23 12:13
professionalBillWoodruff28-Aug-23 12:13 
GeneralRe: limiting recursion as two interdependent values change c# Pin
harold aptroot28-Aug-23 13:36
harold aptroot28-Aug-23 13:36 
GeneralRe: limiting recursion as two interdependent values change c# Pin
BillWoodruff28-Aug-23 23:48
professionalBillWoodruff28-Aug-23 23:48 
QuestionC# error when I try to run Pin
Member 1607362720-Aug-23 19:22
Member 1607362720-Aug-23 19:22 
AnswerRe: C# error when I try to run Pin
OriginalGriff20-Aug-23 19:27
mveOriginalGriff20-Aug-23 19:27 
AnswerRe: C# error when I try to run Pin
Richard Deeming20-Aug-23 22:01
mveRichard Deeming20-Aug-23 22:01 
QuestionHikVision Biometrics Pin
Icanus Tuiloma20-Aug-23 15:48
Icanus Tuiloma20-Aug-23 15:48 
AnswerRe: HikVision Biometrics Pin
Dave Kreskowiak20-Aug-23 18:16
mveDave Kreskowiak20-Aug-23 18:16 
GeneralRe: HikVision Biometrics Pin
Icanus Tuiloma20-Aug-23 19:11
Icanus Tuiloma20-Aug-23 19:11 
QuestionFormat integer with ToString("D2") in SqLite Pin
Edilson Lemos 202118-Aug-23 17:21
Edilson Lemos 202118-Aug-23 17:21 
AnswerRe: Format integer with ToString("D2") in SqLite Pin
Dave Kreskowiak18-Aug-23 17:52
mveDave Kreskowiak18-Aug-23 17:52 
GeneralRe: Format integer with ToString("D2") in SqLite Pin
Edilson Lemos 202118-Aug-23 18:36
Edilson Lemos 202118-Aug-23 18:36 
AnswerRe: Format integer with ToString("D2") in SqLite Pin
OriginalGriff18-Aug-23 19:31
mveOriginalGriff18-Aug-23 19:31 

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.