Javamex

Java discussion forum to accompany the Javamex web site.

Neil Coffey's Discussions

THIS FORUM IS MOVING!

Started this discussion. Last reply by Neil Coffey Apr 15, 2012. 2 Replies

Gifts Received

Gift

Neil Coffey has not received any gifts yet

Give a Gift

 

Neil Coffey's Page

Latest Activity

A discussion started by Neil Coffey was featured

THIS FORUM IS MOVING!

This forum will shortly be retired.From now on, please use the new Javamex forums located here:http://www.forum.javamex.com/See More
Aug 19, 2012
Neil Coffey replied to Neil Coffey's discussion THIS FORUM IS MOVING!
"Sorry, you'll need to register again on the new forum!"
Apr 15, 2012
Will martin replied to Neil Coffey's discussion THIS FORUM IS MOVING!
"Hi Neil: Just joined last night and successfully logged in here, ...ning.com   following the link above led to a request to relogin and its not working. Not much of an issue yet....but thought I'd pass it on. regards will"
Apr 15, 2012
Neil Coffey posted a discussion

THIS FORUM IS MOVING!

This forum will shortly be retired.From now on, please use the new Javamex forums located here:http://www.forum.javamex.com/See More
Apr 15, 2012
Neil Coffey replied to Pallav Shyam's discussion lock.lock v/s synchronized
"Welcome to a slightly confusing feature of Locks. If you use one of the explicit Lock classes such as ReentrantLock, then the method you call is called await()-- notice the "a" at the beginning-- rather than the wait() method (which still…"
Apr 12, 2012
Neil Coffey replied to Stoodles's discussion Stop variables and volatility
"Yes. The need for volatile is because the variable is being modified by different threads: on the one hand, the thread that is being stopped, and on the other, any thread that wants to tell it to stop. Encapsulation doesn't change that.…"
Mar 21, 2012
Neil Coffey replied to happy goofy's discussion Handle InterruptedException
"In terms of its defined behaviour, calling interrupt() on a thread does not make the thread end and doesn't prevent the finally clause from being executed. So you either have another bug in your code or a bug in your VM. Have you tried running…"
Mar 20, 2012
Neil Coffey replied to Ram's discussion Where can I download the source code, esp for Blocking Queue Thread example
"Sorry, you'll have to copy and paste from the article, but all the code should be there. If not, let me know which bit appears to be missing and I'll check! N"
Jan 11, 2012
Neil Coffey replied to Pallav Shyam's discussion notify vs notifyall
"I couldn't see the attached file -- perhaps you can just paste the code in?"
Aug 24, 2011
Neil Coffey replied to Mike Lewis's discussion error in Java hashtable implementation?
"OK, now fixed on the page. The offending line reads:   int hc = (int) hash & hashMask;"
Aug 3, 2011
Neil Coffey replied to Mike Lewis's discussion error in Java hashtable implementation?
"Sorry, yes I assume you're referring to here:     http://www.javamex.com/tutorials/collections/64_bit_hash_map_implementation_2.shtml   Looks like there was a cut + paste error -- I will correct!"
Aug 3, 2011
Neil Coffey replied to Rex Redline's discussion Questions on AES CTR mode initalization vector
"Thanks for your point and sorry for the delay in responding. I think there are a few things worth mentioning here.   The first thing that is worth mentioning is that, while there is a connection, the calculation of hash codes for use in a hash…"
Mar 13, 2011
Neil Coffey replied to Rex Redline's discussion Questions on AES CTR mode initalization vector
"Many thanks for this clarification!"
Feb 16, 2011
Neil Coffey replied to Rex Redline's discussion Questions on AES CTR mode initalization vector
"OK, re the nonce first: the basic idea is that one way or another, you must not ever re-use the same counter value with the same encryption key. If you did that, then XORing the resulting encrypted blocks together would give you the two…"
Feb 3, 2011
Neil Coffey replied to Michael R. Dunlavey's discussion On thread profiling
"Hi Mike, So your method of effectively taking "manual pot shots" and seeing if you can eye-ball a pattern is definitely applicable to Java as well. At any time you can press Ctrl + Break in the console window, or send a singal 9 to the VM…"
Nov 23, 2009
Neil Coffey replied to Günter's discussion Classmexer gives wrong results
"Please take a look at the updated version of Classmexer I've posted which should resolve the issues you mention."
Nov 3, 2009

Comment Wall

You need to be a member of Javamex to add comments!

Join Javamex

  • No comments yet!
 
 
 

© 2017   Created by Neil Coffey.   Powered by

Badges  |  Report an Issue  |  Terms of Service