HNHacker News
TopNewBestAskShowJobs

jdsullivan

48 karma · joined February 1, 2012

submissionscomments
jdsullivan··on Nobody ever paid me for code
The more important and general wisdom: know your audience. You will sometimes have clients with deep technical backgrounds that expect a sufficient level of detail to have any faith or trust in your solutions. You need to be able to tailor your communication based on the situation and the expectations of the audience in question. This is never binary and can be especially challenging when you need to communicate to multiple people at the same time that each require different levels of detail.
jdsullivan··on Ogo, a new take on personal transportation
The iBot was able to "walk" up and down stairs: http://www.dekaresearch.com/ibot.shtml

In retrospect, it's a bit surprising they never enhanced it to operate hands free like this - it was made by the same folks as the segway and feels like a natural evolution.

jdsullivan··on Introducing Google Cloud Storage Nearline
This is a durability metric, not an availability one. This typically tells you the likelihood of losing a given object in a year. (5 9's would be quite poor for this, implying a loss of 1 object out of 100,000 every year)
jdsullivan··on Why Java's Object.hashCode() is unsafe for use in distributed systems
Not quite: "On strings, numbers and collection classes, hashCode() always returns a consistent value, apparently even across different JVM vendors. It’s like that despite the documentation for hashCode() explicitly not guaranteeing consistency across different processes"

String.hashCode explicitly guarantees consistency across processes by specifying how the hash code is computed, this is something that can be safely relied upon. (Same for Integer, Long, Float and Double)

jdsullivan··on Why Java's Object.hashCode() is unsafe for use in distributed systems
Please see javadoc for String.hashCode: http://docs.oracle.com/javase/6/docs/api/java/lang/String.ht...

It's true that relying on hashCode to remain stable across arbitrary objects is brittle, but this is not the case for String.