Click here to Skip to main content
15,037,160 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: What's the most challenging algorithm you've ever faced Pin
honey the codewitch30-May-21 19:39
mvahoney the codewitch30-May-21 19:39 
GeneralRe: What's the most challenging algorithm you've ever faced Pin
Randor 30-May-21 19:56
professional Randor 30-May-21 19:56 
GeneralRe: What's the most challenging algorithm you've ever faced Pin
honey the codewitch30-May-21 21:30
mvahoney the codewitch30-May-21 21:30 
PraiseRe: What's the most challenging algorithm you've ever faced Pin
Randor 30-May-21 22:02
professional Randor 30-May-21 22:02 
GeneralRe: What's the most challenging algorithm you've ever faced Pin
honey the codewitch31-May-21 3:02
mvahoney the codewitch31-May-21 3:02 
JokeRe: What's the most challenging algorithm you've ever faced Pin
Randor 31-May-21 4:04
professional Randor 31-May-21 4:04 
GeneralRe: What's the most challenging algorithm you've ever faced Pin
honey the codewitch31-May-21 4:15
mvahoney the codewitch31-May-21 4:15 
AnswerRe: What's the most challenging algorithm you've ever faced Pin
Greg Utas30-May-21 6:54
mvaGreg Utas30-May-21 6:54 
I was slow to reply because I guess algorithm implies a fairly contained piece of code. So I'd say it was an event dispatcher for telecom state machines.

It wasn't so much the algorithm, but the design around it. When you add lots of supplementary services to a basic call, building One Big State Machine creates a Big Ball of Mud. To keep the state machines separate, they run in an event-routing framework that allows state transitions to be announced, overridden, and/or supplemented. Chain of Responsibility plays a role in instantiating the state machines.

The algorithm for this was implemented in the state machine base class. I've thought about writing an article about it, but I doubt it would have much value because I haven't heard of another domain that requires this kind of solution.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.

GeneralRe: What's the most challenging algorithm you've ever faced Pin
honey the codewitch30-May-21 7:02
mvahoney the codewitch30-May-21 7:02 
AnswerRe: What's the most challenging algorithm you've ever faced Pin
Clumpco30-May-21 20:20
MemberClumpco30-May-21 20:20 
GeneralRe: What's the most challenging algorithm you've ever faced Pin
honey the codewitch30-May-21 21:33
mvahoney the codewitch30-May-21 21:33 
AnswerRe: What's the most challenging algorithm you've ever faced Pin
ormonds31-May-21 1:52
Memberormonds31-May-21 1:52 
AnswerRe: What's the most challenging algorithm you've ever faced Pin
ElectronProgrammer31-May-21 2:08
MemberElectronProgrammer31-May-21 2:08 
AnswerRe: What's the most challenging algorithm you've ever faced Pin
BDieser31-May-21 3:37
MemberBDieser31-May-21 3:37 
GeneralRe: What's the most challenging algorithm you've ever faced Pin
honey the codewitch31-May-21 4:22
mvahoney the codewitch31-May-21 4:22 
AnswerRe: What's the most challenging algorithm you've ever faced Pin
obermd31-May-21 4:50
Memberobermd31-May-21 4:50 
AnswerRe: What's the most challenging algorithm you've ever faced Pin
Matt McGuire1-Jun-21 5:39
professionalMatt McGuire1-Jun-21 5:39 
GeneralWhy do lazy students assume everyone else is dumber than them? Pin
OriginalGriff29-May-21 3:12
mveOriginalGriff29-May-21 3:12 
GeneralRe: Why do lazy students assume everyone else is dumber than them? Pin
Dave Kreskowiak29-May-21 3:33
mveDave Kreskowiak29-May-21 3:33 
GeneralRe: Why do lazy students assume everyone else is dumber than them? Pin
Nelek29-May-21 4:00
protectorNelek29-May-21 4:00 
GeneralRe: Why do lazy students assume everyone else is dumber than them? Pin
honey the codewitch29-May-21 4:23
mvahoney the codewitch29-May-21 4:23 
GeneralRe: Why do lazy students assume everyone else is dumber than them? Pin
kmoorevs29-May-21 5:06
Memberkmoorevs29-May-21 5:06 
GeneralRe: Why do lazy students assume everyone else is dumber than them? Pin
Member 1496877129-May-21 5:31
MemberMember 1496877129-May-21 5:31 
GeneralRe: Why do lazy students assume everyone else is dumber than them? Pin
Daniel Pfeffer29-May-21 7:59
professionalDaniel Pfeffer29-May-21 7:59 
GeneralRe: Why do lazy students assume everyone else is dumber than them? Pin
Nelek30-May-21 1:14
protectorNelek30-May-21 1:14 

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.