Java SE 8 Developer Preview with Lambda Support

by Dhruba Bandopadhyay on Mon, 14 Nov 2011 09:35:12 +0000

Java SE 8 developer preview released with lambda support. The big question now is which editors support Java 8 and lambda syntax? I wasn’t able to find explicit mention of any editors supporting it -I suspect I’ll have to hack around in vim for a while. If you know please comment.

Share

{ 0 comments }

Bincam West Hampstead gains fame

by Dhruba Bandopadhyay on Thu, 20 Oct 2011 22:23:03 +0000

It seems that a good friend and ex-colleague of mine, William Robertson, has attracted the interest of a newspaper and television through his enterprising venture – Bincam. It really is quite incredible what you can achieve through such simple means and the power of the web. Will has managed to get Camden council to clear the bins near his flat more often and also raise awareness of the various misdemeanours that people commit on a daily basis in his area. In the process he also appears to have become somewhat of a celebrity. If you skip to 23:35 on the television interview (which will require some ad watching sadly – bloody itv) you can see Will being interviewed by ITV. Well done Will. You’re the man!

Share

{ 1 comment }

Three Java releases in one day!

by Dhruba Bandopadhyay on Wed, 19 Oct 2011 20:48:46 +0000

Oracle have just made three java releases (or maybe I’ve only just noticed them).

The 7u1 release fixes six bugs of which two appear to be loop related (1,2). The bug with loop predication was the one that originally tainted the release of Java 7 as you might remember. If I was working for a startup or running my own company I’d move to 7u1 straight away but in a bank that’ll never happen. Still, at least, I’ve managed to persuade them to move to 1.6.0_25 due to a critical CMS fragmentation bug afflicting 1.6.0_23. :(

The 6u29 release appears to have skipped a build number which is justified in the release notes. This one has two bug fixes worthy of mention out of a total of five – one is where ‘java.net.InterfaceAddress’s equals method may throw NPE’ (odd) and the other is where there is a ‘Memory leak of java.lang.ref.WeakReference objects’ (how ironic!).

Regarding the mac release it is great to see the Mac get official recognition on the oracle java homepage and have the release packaged as a dmg rather than needing to be built from source. (It’s quite possible by the way that I’ve only just noticed this one and that it’s been there all along or maybe I’d seen this earlier and have forgotten!). Though I’m liking the steady progress Oracle. Keep up the good work. I hope you are working on Java 8 as planned for end of next year!

Share

{ 0 comments }

iPhone 4S

by Dhruba Bandopadhyay on Sat, 15 Oct 2011 11:25:08 +0000

I took receipt of a new 64GB white iPhone4S this morning. It arrived yesterday but I wasn’t around to receive it so I had to go and pick it up from the depot this morning. Here are mandatory unboxing photos. First impressions – the white colour looks stunning and definitely outshines the black.

Siri is nice but definitely hit and miss. There is a learning curve for both the user and Siri. I would class Siri as alpha or beta right now due to bugs and a degree of misinterpretation but even then it is very useful. Imagine what it will be able to do with refinement. So far I’ve used it to compose some texts, book lunch and reschedule the lunch appointment and it mostly worked fine. Here’s an interesting article about how siri works and the quora equivalent.

The camera, which was the primary reason to get the phone along with the white colour, definitely seems like a radical improvement to the old one letting in more light resulting in better photos.

Share

{ 0 comments }

jsr166e: Upcoming java.util.concurrent APIs for Java 8

Sun, 28 Aug 2011 18:16:12 +0000

Jsr166e is to Java8 as Jsr166y was to Java7. Jsr166y introduced the fork join framework and Phaser to Java7 which are worthy of blog posts of their own. The fork join framework will enable us to introduce fine grained inversion of concurrency whereby we can code logic without really needing to think about or implement [...]

Share
Read the full article →

Java 7 loop predication bugs surface and workaround known

Sat, 30 Jul 2011 14:05:22 +0000

Software and bugs always have been and always will be inseparable. Java 7 certainly wasn’t going to be the first exception to this rule. Unsurprisingly, since internal testing can never compete with the testing that takes place through mass adoption, in less than a day after Java 7′s release bugs surfaced with loop predication. Oracle [...]

Share
Read the full article →

Java 7 released!

Fri, 29 Jul 2011 00:04:59 +0000

As if you didn’t know – Java 7 is released (1, 2, 3). As the linked post says it’s been a long five years but hopefully more regular release cycles and expert innovation of the kind we’ve already seen in Java 7 will become the norm and turn the droves of skeptics, cynics and deserters [...]

Share
Read the full article →

Paul Graham – Beating the averages

Tue, 26 Jul 2011 22:31:23 +0000

Recently, having been prodded sufficiently by fellow enthusiasts, I’d been looking into the rationale behind Clojure amidst the ongoing explosion of dynamic languages on the jvm. And while I was looking into that, somehow, I came across numerous sites linking to the essay by Paul Graham – Beating the averages. Today I finished reading it [...]

Share
Read the full article →

JProfiler 7 released

Sat, 23 Jul 2011 15:37:38 +0000

Aside from knowledge of the jvm – profiler technology is another critical skill to possess in our toolbox. It pays to know how to use them and how to leverage new innovations in them to achieve insight into what your code is doing. Speaking of which jprofiler 7 is released with a number of rather [...]

Share
Read the full article →

Exposing JMX attributes and operations in Java

Thu, 21 Jul 2011 00:12:04 +0000

Something I’m working on currently in my spare time requires me to expose attributes and operations over JMX programmatically without the use of Spring. And I jumped at the opportunity to do a quick post on how to do so. The general steps are as follows. Write an interface. Write an implementation. Expose over JMX [...]

Share
Read the full article →