slim

Warwick, United Kingdom

Age: 42

I'm a B2B Messaging developer. This involves Java, C,network protocols, databases and (for my sins) WebMethods.

Feb
10
comment How to recursively list all files and directories
@Bruno9779 Spaces in the path are very much allowed in Linux -- try it -- touch 'my file with spaces'. Some people discourage it because it's easy to write shell scripts that choke on them -- but you can't prevent apps and users from creating filenames with spaces.
Feb
7
awarded Good Answer
Feb
2
awarded Enlightened
Feb
2
awarded Nice Answer
Jan
19
awarded Notable Question
Jan
14
awarded Yearling
Jan
14
awarded Yearling
Jan
14
revised Share Spring context between IntegrationTest server and tests
added 178 characters in body
Jan
13
revised Share Spring context between IntegrationTest server and tests
added 66 characters in body
Jan
12
asked Share Spring context between IntegrationTest server and tests
Jan
12
awarded Yearling
Jan
7
comment Why is `& 0xff` executed like this in Ruby source code?
Short answer, then: X is a long. So SYMBOLP() is a macro to test whether the rightmost 8 bits of the long match SYMBOL_FLAG.
Jan
6
comment What exactly is Bootleg in electronic music?
I'm afraid I've just been alive a long time...
Jan
4
answered Text to morse code using jQuery
Jan
4
awarded Famous Question
Dec
21
revised Grails 3.0.10 can't resolve MockFor
added 96 characters in body
Dec
21
asked Grails 3.0.10 can't resolve MockFor
Dec
21
comment Threads not finishing when incremented by 1 more Java
Use a debugger to look at the state of the votes array before the second run through. Do some reasoning about that. Write a unit test taking a list of votes that looks the same.
Dec
21
comment Threads not finishing when incremented by 1 more Java
Step through with a debugger.
Dec
21
comment Threads not finishing when incremented by 1 more Java
OK, so your problem is either to do with the state of the votes array for the second run through, or it's a race condition or deadlock issue around that array. It may be enough to reinitialise buff before the second run, but you should think carefully about it.
1 2 3 4 5