Subscribe: Ben Poole (comments)
http://benpoole.com/80256B44004A7C14/comments.rss
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
change ides  change  eclipse  enum  ibm connect  ibm  ides  java  mac  pet  singletons java  singletons  sound  sublime text  sublime  text 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Ben Poole (comments)

Ben Poole



Ben Poole: last 50 comments



Copyright: Copyright 1997 - 2017, Benedict Poole
 



RE: What I use

Mon, 28 Aug 2017 09:25 +0000

Thanks for sharing it dekkabegdebfeebd




RE: What I use

Mon, 28 Aug 2017 09:24 +0000

Because here is a list of multiplayer games dekgfkdeceddddfd




RE: VMWare Fusion tip: drag n drop

Tue, 27 Dec 2016 15:32 +0000

forums




RE: New Macs, function key strips

Fri, 2 Sep 2016 09:01 +0000

I would really miss my function keys, I would. My observation is that most non-programmers don't need them.

I dream of some sort of universal programmer's keyboard - something close the US one, where brackets and so on are accessible with one keypress (it's a nightmare on a swiss german keyboard).

Since I'm dreaming, I would like the universal programmer's keyboard to have certain characters which would only ever be used by programmers as a separator, and would only be valid as separators. No more ridiculously elaborate escaping (like, escaping a RegEx String in Java - makes me go cross-eyed)




RE: New Macs, function key strips

Tue, 30 Aug 2016 23:17 +0000

It's all about execution. The trackpad on my MBP is still better than the one on my Lenovo X1 Carbon. And not just a little better...




RE: Fourteen years is forever...

Sat, 4 Jun 2016 02:16 +0000

Disagree! You know a blog is dead when the owner hasn't posted anything in 14 years :-)




RE: Perspective on the loss of a Prince

Wed, 27 Apr 2016 10:27 +0000

You and Steve Lawson are quite right there is a ton of music out there. Shakespeare pegged it and Theatre is not dead :-)

I would point to Bowie and Zappa as examples of the world being poorer for their passing. They were unique and the quality of what they produced was consistently great. I'm really grateful we had them at all. Prince, Zappa and Lemmy had the same uncompromising attitude to life and music you don't see that very often these days. John Lydon and Ginger Baker are still alive though.

Prince was a compelling guitar player. Was he the best of his generation, as some claim? Fuck no, not by a very long chalk. Arguably the most successful guitar player award goes to Joe Satriani who I think I read (FWIW) is the most successful instrumental guitar player of all time. Is he your favourite or mine. Definitely not in my case. We might be able to agree the proposition is ridiculous though :-)

We get carried away. It's understandable, we'll get over it.




Trying to sum up IBM ConnectED 2015

Sat, 31 Jan 2015 20:00 +0000

This was the best year for me in 4

Smaller is better apparently
No park trip was OK
Less attendees was OK
Shame about the small rooms!

More more more :-)




Trying to sum up IBM ConnectED 2015

Sat, 31 Jan 2015 18:55 +0000

One of the BEST Lotusphere reviews ever! :-D




RE: A change of IDEs

Sat, 15 Nov 2014 17:13 +0000

There are ways to cope with the many glitches of Eclipse. I've bought personal Intelij Licence after Eclipse.con 2013, where I've learnt that IBM has cut funding for Eclipse many moons ago. Unfortunately, my customers tend to have some sort of a crazy One IDE policy. With all this jenkins, maven, svn/git included in the dev process there is no rationale argument for this policy. But as I am so used to the glitches of Eclipse, I am still not faster with Intelij.




RE: A change of IDEs

Wed, 12 Nov 2014 14:53 +0000

Bravo Mr. Magerman! :-)




RE: A change of IDEs

Wed, 12 Nov 2014 09:46 +0000

"IntelliJ IDEA 14 comes with a built-in decompiler for Java classes. "

That's nice :-)




RE: A change of IDEs

Wed, 12 Nov 2014 09:45 +0000

You have piqued my interest. I don't have any real problems with Eclipse really. I'm developing quite large OSGI plugins and it's been behaving itself very well. Still no harm in looking over the fence :-)




RE: A change of IDEs

Wed, 12 Nov 2014 08:03 +0000

Beware the Ides of November!




RE: How to write a blog post

Sat, 27 Sep 2014 13:24 +0000

Nice post, very interesting stuff




RE: Agile, agility?

Mon, 24 Mar 2014 22:39 +0000

Yup, spot on. Agile is the current buzzword and it has been hijacked by the very people that created the bloated processes that Agile was created to fix. I have seen real Agile work and I have seen fake Agile fail miserably. Add a few layers of Project Managers and Business Analysts, stir well and wait for failure.




RE: Oh you’ve got to come to this...

Fri, 21 Feb 2014 20:31 +0000

Splendid!




RE: Oh you’ve got to come to this...

Fri, 21 Feb 2014 10:04 +0000

I am attending! I was going to write I'm coming too! But that didn't sound right :-) Should be an interesting day, I'm looking forward to it.




RE: ThoughtWorks release their Technology Radar

Wed, 29 Jan 2014 11:42 +0000

Thanks for sharing this Ben, it is hard to get an overview of where the tech sector is going sometimes




RE: The Macintosh is 30

Wed, 29 Jan 2014 08:53 +0000

Hi Bob! Yes, the “Fat Mac” gets my vote.

My first Mac was its direct successor, the Mac Classic. Four meg of RAM, a 40MB hard drive, and the same form factor with the 9” monochrome screen. A lovely machine :-)




RE: The Macintosh is 30

Wed, 29 Jan 2014 01:41 +0000

The first public demo of the Mac at the Boston Coputer Society is worth a watch as well: http://techland.time.com/2014/01/25/steve-jobs-mac/

I never owned the original Mac but I did buy a "Fat Mac" in 1985 -- it was the same as the original but had 512K of memory. It was the first computer I ever owned.

A year later I upgraded it to a Mac Plus with 1MB of memory and an 800K floppy and an external 20MB hard drive. It felt like so much disk space back then... :-)




RE: Singletons and Java

Mon, 18 Nov 2013 23:48 +0000

Cheers, I was humming and hahing on whether I should get it. Now all I need is a fellow developer to persuade-me that I really, really, need a spanking new iPhone 5S if I am to do any serious mobile development. It's an honest business cost, guv.




RE: Singletons and Java

Mon, 18 Nov 2013 11:42 +0100

Andrew, I played with visualvm, but it was a bit of pain trying to do anything useful with the Domino JVM. YourKit on the other hand, just worked. I profile local running Java agents by triggering the profile call from within an “agent runner” class I keep in vanilla Eclipse, but if you run a Domino server, you can attach directly to that.

YourKit costs a bit, but it’s an excellent tool.




RE: Singletons and Java

Sat, 16 Nov 2013 18:36 +0000

Just out of interest, what are you using for profiling? I've been using the built-in visualvm, but it never got the kind of line-by-line profiling that I was expecting. I've heard good things of YourKit, but have yet to shell out the money/test it.




RE: Singletons and Java

Fri, 15 Nov 2013 14:41 +0000

Love that book too, and can also heartily recommend Fowler's Refactoring.

The enum-as-singleton is absolutely brilliant, and I tend to use it in Domino agents to represent a profile document (usually called Configuration). As an added bonus, there is an instantiated OpenLog Object which I use from any bit of code which is squirelled in that singleton object.




RE: Singletons and Java

Tue, 12 Nov 2013 10:35 +0000

in book efective java also is written that java would be better language if final were the default modifier for variables, members and methods. Of course to think of global mutable state aka singleton as think most un-final imaginable is purely academic, without any connection with real work and plain evil perspective.

Also that singletons generate headaches when writing unit/integration tetsts. Wheres fun, when production breaks less often?

Also DI-frameworks already care about managing singletons, if you really believe to need them. But could you name any real world project that uses DI-frameworks these days?

And I've lost count of days, in which suddenly creative use of enum methods and constructors of programer before me turned a day of writing dull production code into an interesting ghost train ride of java puzzlers.

Disclaimer: I know that there is this thing called existing codebase in this world, so I am all for giving legacy code a better image.




RE: Singletons and Java

Mon, 11 Nov 2013 16:44 +0000

Yes it’s easily tinkered-with. Be sure to read the context around this approach however. Briefly, the enum approach is designed with a single element in mind (i.e. INSTANCE in the example above):

This approach is functionally equivalent to the public field approach, except that it is more concise, provides the serialization machinery for free, and provides an ironclad guarantee against multiple instantiation, even in the face of sophisticated serialization or reflection attacks. While this approach has yet to be widely adopted, a single-element enum type is the best way to implement a singleton.
From http://www.drdobbs.com/jvm/creating-and-destroying-java-objects-par/208403883?pgno=3




RE: Singletons and Java

Mon, 11 Nov 2013 14:27 +0000

Forgot...
you then can call that with

Pet.DOG.makeSound();
Pet.CAT.makeSound();

of course if that grows a classic class is the better option




RE: Singletons and Java

Mon, 11 Nov 2013 14:26 +0000

The enum singleton has a set of interesting edge cases. Let's say the pets you tolerate are CAT and DOG, you can use a enum for that:
public enum Pet {
CAT,
DOG;

private static Map sound = null;

public makeSound() {
if (Pet.sound == null) {
Pet.loadSounds();
}
return sound.get(this);
}

private static loadSounds() {
Pet.sound = new HashMap();
Pet.sound.put(Pet.CAT,"miaow");
Pet.sound.put(Pet.DOG,"bark");
}
}




RE: Singletons and Java

Mon, 11 Nov 2013 11:22 +0000

Damn, I thought this was going to be about dating for java developers.




RE: Magic

Wed, 21 Aug 2013 22:17 +0000

Thanks! I've always been a big WP fan, this is great!




RE: Back to black

Fri, 1 Mar 2013 12:50 +0100

Mark: quite right.

John: I currently use Coda 2 and Sublime Text 3 (beta) for straight coding. Then there’s Eclipse of course.

In terms of things like file diff and wot-not, you get decent tooling as part of the Apple Xcode package.

For plain text editing, if I don’t use Sublime Text, I use TextWrangler, which is great.

… And that’s about it! Obviously loads of other tools out there depending on what you want and what you need to do—by all means shout when you’re setting up or have questions.




RE: Back to black

Wed, 27 Feb 2013 15:03 +0100

Ben, about to get a top of line Macbook Pro from work(yes I cant believe it either).
Not had much experience with Macs. I could appreciate your advice/experience on essential development software I should have installed. Seems there a lot out there and lots of different opinions whats the best.




RE: Back to black

Wed, 27 Feb 2013 13:07 +0100

makes you glad that your in the IBM community, far better than a lot of the other tech communities




RE: IBM Connect 2013: the second post

Tue, 12 Feb 2013 21:00 +0100

With the family’s blessing, Paul has set-up an on-line condolences site for Kenneth Kjærbye, which can be found here:

http://ourmemoryof.com/kennethKjaerbye/




RE: IBM Connect 2013: the second post

Tue, 5 Feb 2013 06:36 +0000

No problem at all, any time roomie! :-)




IBM Connect 2013: the second post

Mon, 4 Feb 2013 22:42 +0000

Thank you SO much for including that flattering photo of me. I owe you one...




RE: IBM Connect 2013: the first post

Mon, 4 Feb 2013 00:25 +0000

Mate, after missing you at the last couple of UKLug's it was awesome to finally get together in person. Hoping - of course - that it will happen again soon, you're an inspiration and someone whom I have learned so much from! Outstanding to finally catch up. (HUG). Mat.




RE: Thought for the day

Mon, 15 Oct 2012 09:41 +0000

Hear hear. Would love to see a bit more cultural resilience. Hope this will be the case going forward.




RE: How to win the love of a developer

Mon, 15 Oct 2012 08:02 +0000

Testing is important but I think the more important thing is providing developer tools which do not actively try and get in the way.

If Developers are kingmakers then DDE is Regicide.




RE: How to win the love of a developer

Sat, 13 Oct 2012 13:47 +0000

Yes, good point. I think we’ve all been there!




RE: How to win the love of a developer

Sat, 13 Oct 2012 10:12 +0000

Sometimes I am grateful just to be given a test envirnment.




RE: Thought for the day

Fri, 12 Oct 2012 22:02 +0000

+1... too bad they dropped his feed.




RE: Thought for the day

Fri, 12 Oct 2012 22:26 +0100

The more things change, the more they stay the same. I can't say I'm thrilled that the tempest has returned to the teapot.




RE: Bring my Apache back!

Thu, 4 Oct 2012 07:22 +0000

If you don't fancy the Terminal, you can just install this:
http://clickontyler.com/blog/2012/02/web-sharing-mountain-lion/

Works great, almost like back in the day.


The reason(?) Apple did this is because they want you to buy OS X Server, which handles all this and much more. It's quite reasonably as well.


/J




RE: Oh if you must: editing Lotusscript in Sublime Text 2

Tue, 4 Sep 2012 20:49 +0100

XML I think. Looking at the package definitions for the VBScript syntax for example, a load of in-built functions are defined in VBScript.tmLanguage




RE: Oh if you must: editing Lotusscript in Sublime Text 2

Tue, 4 Sep 2012 11:27 +0000

wait a sec, completion files are in JSON innit?

I recall I did a parse helpfile into Javadoc parser once, I'll dig up that bit of code, and publish the completion files.




RE: Oh if you must: editing Lotusscript in Sublime Text 2

Tue, 4 Sep 2012 11:25 +0000

Now for auto completion of the Notes... objects

with undocumented in a different color, possibly even indicating properties/methods available on newer versions only




RE: Oh if you must: editing Lotusscript in Sublime Text 2

Mon, 3 Sep 2012 16:24 +0000

Whilst you’re using Sublime Package Control, do another install and this time search for “SublimeTODO”: very useful if you pepper your code with TODOs like me!

https://github.com/robcowie/SublimeTODO




RE: Neil Armstrong and aspirations

Tue, 28 Aug 2012 11:09 +0000

Spot on.

Getting the latest iphone is the greater good now. ;-)