Click here to Skip to main content
15,909,091 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: Open more threads for Ncrack?How to modify this functions:CreateThread(),CreateProcess()? Pin
Member 1118935730-Aug-16 2:43
Member 1118935730-Aug-16 2:43 
GeneralRe: Open more threads for Ncrack?How to modify this functions:CreateThread(),CreateProcess()? Pin
Sander Rossel30-Aug-16 4:53
professionalSander Rossel30-Aug-16 4:53 
AnswerRe: Open more threads for Ncrack?How to modify this functions:CreateThread(),CreateProcess()? Pin
Pete O'Hanlon28-Aug-16 11:14
mvePete O'Hanlon28-Aug-16 11:14 
GeneralRe: Open more threads for Ncrack?How to modify this functions:CreateThread(),CreateProcess()? Pin
Member 1118935728-Aug-16 21:25
Member 1118935728-Aug-16 21:25 
GeneralRe: Open more threads for Ncrack?How to modify this functions:CreateThread(),CreateProcess()? Pin
Pete O'Hanlon28-Aug-16 21:37
mvePete O'Hanlon28-Aug-16 21:37 
GeneralRe: Open more threads for Ncrack?How to modify this functions:CreateThread(),CreateProcess()? Pin
dan!sh 28-Aug-16 21:56
professional dan!sh 28-Aug-16 21:56 
GeneralRe: Open more threads for Ncrack?How to modify this functions:CreateThread(),CreateProcess()? Pin
W Balboos, GHB29-Aug-16 1:45
W Balboos, GHB29-Aug-16 1:45 
GeneralDon't know if I should laugh or cry... Pin
Sander Rossel28-Aug-16 3:49
professionalSander Rossel28-Aug-16 3:49 
So I've got this quicksort function in a JavaScript library.
It worked, got some tests, and all was well.
Then I changed the return smaller.concat([pivot], bigger); to a custom bit like return smaller.unionAll([pivot]).unionAll(bigger);
And then my tests started failing.
My tests for unionAll passed, no problem, but my sorting got messed up all of a sudden.
So somehow unionAll did not always return items in the same order as their source, which actually would've taken me a lot of work to accomplish.
Rather weird bug, that.

Hours of debugging later, no code changes (except lots of debugging variables), and all of a sudden everything starts to work Unsure | :~
Had I forgotten a semi-colon? Did I accidentally overwrite some variable which was fixed by the declaration of debugging variables? Was the type of a variable not always what I expected it to be?
I guess I will never know... Sigh | :sigh:
Luckily, I'm not the only one with this problem[^].
The bug seems to be fixed, but I've got mixed feelings about it nonetheless... Hmmm | :|
Read my (free) ebook Object-Oriented Programming in C# Succinctly.
Visit my blog at Sander's bits - Writing the code you need.
Or read my articles here on CodeProject.
Simplicity is prerequisite for reliability.
— Edsger W. Dijkstra
Regards,
Sander

GeneralRe: Don't know if I should laugh or cry... Pin
Daniel Pfeffer28-Aug-16 4:18
professionalDaniel Pfeffer28-Aug-16 4:18 
GeneralRe: Don't know if I should laugh or cry... Pin
Cornelius Henning28-Aug-16 4:30
professionalCornelius Henning28-Aug-16 4:30 
GeneralRe: Don't know if I should laugh or cry... Pin
Sander Rossel28-Aug-16 4:42
professionalSander Rossel28-Aug-16 4:42 
GeneralRe: Don't know if I should laugh or cry... Pin
OriginalGriff28-Aug-16 5:43
mveOriginalGriff28-Aug-16 5:43 
GeneralRe: Don't know if I should laugh or cry... Pin
Sander Rossel28-Aug-16 5:56
professionalSander Rossel28-Aug-16 5:56 
GeneralRe: Don't know if I should laugh or cry... Pin
ledtech328-Aug-16 5:26
ledtech328-Aug-16 5:26 
GeneralRe: Don't know if I should laugh or cry... Pin
Sander Rossel28-Aug-16 5:52
professionalSander Rossel28-Aug-16 5:52 
GeneralRe: Don't know if I should laugh or cry... Pin
ledtech328-Aug-16 8:15
ledtech328-Aug-16 8:15 
GeneralRe: Don't know if I should laugh or cry... Pin
Sander Rossel28-Aug-16 9:00
professionalSander Rossel28-Aug-16 9:00 
GeneralRe: Don't know if I should laugh or cry... Pin
ledtech328-Aug-16 12:27
ledtech328-Aug-16 12:27 
GeneralRe: Don't know if I should laugh or cry... Pin
Brady Kelly28-Aug-16 23:16
Brady Kelly28-Aug-16 23:16 
GeneralRe: Don't know if I should laugh or cry... Pin
Sander Rossel29-Aug-16 6:23
professionalSander Rossel29-Aug-16 6:23 
GeneralRe: Don't know if I should laugh or cry... Pin
Brady Kelly29-Aug-16 8:25
Brady Kelly29-Aug-16 8:25 
GeneralRe: Don't know if I should laugh or cry... Pin
Sander Rossel29-Aug-16 8:48
professionalSander Rossel29-Aug-16 8:48 
GeneralRe: Don't know if I should laugh or cry... Pin
Foothill29-Aug-16 3:50
professionalFoothill29-Aug-16 3:50 
GeneralRe: Don't know if I should laugh or cry... Pin
CDP180228-Aug-16 8:54
CDP180228-Aug-16 8:54 
GeneralRe: Don't know if I should laugh or cry... Pin
Sander Rossel28-Aug-16 8:59
professionalSander Rossel28-Aug-16 8:59 

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.