Category: misc


I was switching a project from blocking IO to non-blocking IO.

For the most part, Java wants you to use ByteBuffer for all the read/write operations.

I don’t know if it is just me but ByteBuffer does not work like I would expect it to.

I have a ByteBuffer with 50 bytes of data and capacity of 100, I issue the write. The write only sends the first 30 bytes. I would expect I could add another 70 bytes of data into the ByteBuffer. However, that does not seem to be the case. It’s like the designers wanted you to empty out the buffer before you added any more to it.

Like I said, maybe it’s just me but seemed counter-intuitive.

Looks like registration has opened for this year’s XLDB conference.

Not sure if I will go or not. Suppose I should make my mind up soon though.

This year has tutorials but only one looked interesting to me. I went to Strata a few months back and their tutorial sessions sucked, at least the ones I went to. Have to be more discriminate going forward.

I see eBay isn’t a sponsor this year. Too bad.

Follow

Get every new post delivered to your Inbox.

Join 25 other followers