TimeZone : Java Glossary
Shared by Vincent Tsao, 2 saves total
Is synaesthesia a high-level brain power? - life - 17 December 2009 - New Scientist
Shared by isaac Mao, isaac Mao added annotation, 1 save total
-
Now Jamie Ward at the University of Sussex in Brighton, UK, and colleagues offer a different explanation. They had 36 colour-grapheme synaesthetes sit a similar test. When given just 1 second to identify the hidden shape, the synaesthetes were more likely to spot it than controls. But they still only found it about 40 per cent of the time. Volunteers' descriptions of the trial offer insights into why this is. "I only see the colours in the part that I am looking at," said one. "I have to attend to the symbols," said another (Proceedings of the Royal Society B, DOI: 10.1098/rspb.2009.1765).
Getting MD5 Sums in Java
Shared by Vincent Tsao, 1 save total
using Java to get a file's md5 checksum? - Stack Overflow
Shared by Vincent Tsao, Vincent Tsao added annotation, 2 saves total
-
java.security.DigestInputStream
-
MessageDigest md = MessageDigest.getInstance("MD5");
InputStream is = new FileInputStream("file.txt");
try {
is = new DigestInputStream(is, md);
// read stream to EOF as normal...
}
finally {
is.close();
}
byte[] digest = md.digest();
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo