Click here to Skip to main content
14,334,896 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: when algorithms attack Pin
Sander Rossel17-Aug-19 1:35
professionalSander Rossel17-Aug-19 1:35 
GeneralRe: when algorithms attack Pin
honey the codewitch17-Aug-19 3:16
memberhoney the codewitch17-Aug-19 3:16 
GeneralRe: when algorithms attack Pin
Sander Rossel17-Aug-19 4:08
professionalSander Rossel17-Aug-19 4:08 
GeneralRe: when algorithms attack Pin
honey the codewitch17-Aug-19 4:14
memberhoney the codewitch17-Aug-19 4:14 
GeneralRe: when algorithms attack Pin
Sander Rossel17-Aug-19 4:27
professionalSander Rossel17-Aug-19 4:27 
GeneralRe: when algorithms attack Pin
honey the codewitch17-Aug-19 4:30
memberhoney the codewitch17-Aug-19 4:30 
GeneralRe: when algorithms attack Pin
Sander Rossel17-Aug-19 4:32
professionalSander Rossel17-Aug-19 4:32 
GeneralRe: when algorithms attack Pin
honey the codewitch17-Aug-19 4:41
memberhoney the codewitch17-Aug-19 4:41 
nah, it needs to be changed. You're overwriting done either way, and that won't work. I can fix it, but basically, you still have to keep the done var in the outer code

and then do
if(!HandleRules(cfg,next,result))
   done=false;


but yeah basically otherwise your code works

Still if I was going to do that, I'd probably just do a lambda against a foreach over rules instead of making a whole new routine.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: when algorithms attack Pin
dandy7216-Aug-19 5:06
memberdandy7216-Aug-19 5:06 
GeneralRe: when algorithms attack Pin
honey the codewitch16-Aug-19 5:08
memberhoney the codewitch16-Aug-19 5:08 
GeneralRe: when algorithms attack Pin
dandy7216-Aug-19 5:11
memberdandy7216-Aug-19 5:11 
GeneralRe: when algorithms attack Pin
honey the codewitch16-Aug-19 5:12
memberhoney the codewitch16-Aug-19 5:12 
GeneralRe: when algorithms attack Pin
dandy7216-Aug-19 5:16
memberdandy7216-Aug-19 5:16 
GeneralRe: when algorithms attack Pin
honey the codewitch16-Aug-19 5:20
memberhoney the codewitch16-Aug-19 5:20 
GeneralRe: when algorithms attack Pin
Jon McKee16-Aug-19 9:31
professionalJon McKee16-Aug-19 9:31 
GeneralRe: when algorithms attack Pin
honey the codewitch16-Aug-19 9:35
memberhoney the codewitch16-Aug-19 9:35 
GeneralRe: when algorithms attack Pin
Jon McKee16-Aug-19 10:33
professionalJon McKee16-Aug-19 10:33 
GeneralRe: when algorithms attack Pin
honey the codewitch16-Aug-19 10:35
memberhoney the codewitch16-Aug-19 10:35 
GeneralRe: when algorithms attack Pin
honey the codewitch16-Aug-19 9:39
memberhoney the codewitch16-Aug-19 9:39 
GeneralRe: when algorithms attack Pin
Jörgen Andersson16-Aug-19 5:44
protectorJörgen Andersson16-Aug-19 5:44 
GeneralRe: when algorithms attack Pin
honey the codewitch16-Aug-19 8:52
memberhoney the codewitch16-Aug-19 8:52 
GeneralRe: when algorithms attack Pin
Gary Wheeler16-Aug-19 7:09
memberGary Wheeler16-Aug-19 7:09 
GeneralRe: when algorithms attack Pin
honey the codewitch16-Aug-19 8:36
memberhoney the codewitch16-Aug-19 8:36 
GeneralRe: when algorithms attack Pin
Rage16-Aug-19 10:21
professionalRage16-Aug-19 10:21 
GeneralRe: when algorithms attack Pin
honey the codewitch16-Aug-19 10:22
memberhoney the codewitch16-Aug-19 10:22 

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.