WordPress and other blogging apps

Tags

,

It’s great having a little blogging and tweeting apps on a phone as it gives a great opportunities to exploit those odd moments to capture and idea and post them.

The tools can use predictive text and correct your keying and spelling errors. Bit why can’t they help by suggesting/predicting links for you???? Trying to jump in and out of editing on an iPhone to grab links is just a pain!

I inevitably end up fixing blog entries from a desktop sooner or later to add appropriate links etc.

Over to you app authors time to impress.

Pair Programming and Introversion

Tags

, ,

In the process of reading Susan Cain’s book Quiet I got to wondering about common traits of developers and the idea of pair programming.

Pair programming advocates the idea of 2 developers working on a single piece of code will produce better quality code with a lower big count on the basis that both developers catch each others mistakes and both will gravitate to the best ideas. To achieve this does need the subjection of egos.

Now, if the stereotype of developers being typically introverted individuals which I think holds water (certainly from my experience) then drawing from what Susan Cain has written about this development approach is going to be fatiguing and not sit easily with the personality of your average developer.

This would mean for pair programming to be effective then those involved must. Be able to bring Free Traits to bare (more in a moment). But those best able to bring such practices to effect must be truly motivated developers. Ironically I believe that those highly motivated and focused developers are the best out there. So how does this pact the value of such an. Approach?

As for Free Trait Theory this takes the view that when pursuing core values individuals can project (if not manifest) traits such as extroverted behaviour, albeit find it fatiguing.

All of this says to me is, don’t expect developers to live and breath the idea of pairing; and even expect reluctance (on the basis that not all developers see. Coding or the value of coding as a personal goal in life). But bursts of this approach may deliver value when working on a more challenging area of code or algorithm.

Chapter 1 of introduction to Event Processing

Tags

, , , , ,

Although the book’s introduction says that its target audience is developers and architects the first chapter is a very good introduction to the ideas and goals of Complex Event Processing (CEP) for anyone in the IT industry. The chapter explains the ideas and goals of CEP  illustrating them with easy to grasp real examples.

Possibly one if the best starts to a Packt book I’ve seen.

If your going to get stuck in with the more practical pieces then I’d start downloading the tools from Oracle as early as possible as there is several GBs of software. You might also consider cheating by downloading a prebuilt VirtualBox with the majority of the software already installed and configured.

Getting Started with Oracle Event Processing – book review

Tags

, , ,

I shall be reviewing the new Packt book on Getting Started with Oracle Event Processing (details at http://bit.ly/ZTpzCh). The full review will be posted here, but will probably tweet as I go (www.twitter.com/mp3monster). Given one of the authors is Alexandre Alves I have high hopes for the book given what I found when reviewing of his OSGi In Depth book he wrote for Manning.

20130528-170923.jpg

Buying CDs with MP3 downloads

Tags

Over the last few years it has become a common thing for artists (or more precisely record labels on behalf of artists) to offer the advance purchase of CDs with the offer of download of the album in an electronic format (MP3 or FLAC typically).

I have to admit I’ve plumped for the additional cost of this option a couple of time recently, falling for e impatient view that the CD will take time in the post and the download on release date will allow me to hear the album at the 1st opportunity.

But present purchases have just shown me to be a bit of a mug, as the CD has arrived a day or two before the official release date, allowing me to rip the album for myself and loading it onto a USB stick so I can hear it in the car 1st thing Monday morning on my way to work.

So, what is the point of the additional premium? The CD arrives early, it is faster for me to rip the CD myself (in fact modern Blu Ray drives can spin the CD so fast that it takes longer to login to a website for the download than the rip process).

So why not allow advance order purchases to download the MP3 version immediately? The risk of leak – well better to allow the MP3 to be downloaded rather than ripped as it means you can trace the leak by ‘water marking’ the download to a transaction. It can’t be the chat scoring because you can count e physical media (unless the real value is for the record company to count such purchases as 2 copies of the album in the sales stats).

I think going forward I’m going to stick to just physical plus personal ripping.

Java EE With Netbeans Review

Tags

I recently completed a review for Packt Publishing of some course videos on Netbeans 7 with JavaEE, which concentrated particularly at JSF and related technologies such as JPQL. The videos are a natural follow on from the author’s book Java EE 6 Development With NetBeans 7.

I have to say that David Heffelfinger’s videos did a good job of walking through the basics of the technologies and would suggest that they’re worth checking out if you want to quickly get your head around this area of Java.

For more on this kind of thing checkout David’s blog – http://www.ensode.net/roller/dheffelfinger/

Only catch – I don’t know when the videos will get published officially at the moment.

Update:videos likely to be published mid June

JDeveloper & Copying Formatted Text

Tags

, , ,

 

I’ve started to use Oracle’s JDeveloper more and more, not just because I’m working with the AIA (Application Integration Architecture) Foundation Pack but also as an XSD Editor for designing interface definitions.

I’ve spent sometime trying to find a solution that can compete with XML Spy but without the huge price tag.  I’ve tried OxygenXML, Eclipse, Visual Studio among others and concluded that its very good for a free tool. Perhaps still not as good as XMLSpy – but thats the difference between an IDE and a dedicated XSD/XML tool.

image JDeveloper design view- with a lot of similarities to XMLSpy in presentation

You might think, that to use JDeveloper I have to commit to using the Oracle technology stack (and the big price tag that comes with), but this isn’t the case.

Not to mention Oracle have very much caught up with the Open Source World of Maven, there is a growing library of plugins both Official and Open Source covering a plethora of things from JUnit integration to Python & Groovy language  syntaxes.

One of the nice things with XMLSpy and VisualStudio is the ability to copy into other documents the pretty formatted text (colour coded syntax etc) – making schemas or code fragments easier to look at in a document.  However out of the box JDeveloper doesn’t do this out of the box. But it would seem that this capability wasn’t just wanted by me, so an extension has been written Chris Hughes that solves this problem called jdev-copyashtml.


<?xmlversion="1.0"encoding="ISO-8859-1"?><xs:schemaxmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:elementname="shiporder"><xs:complexType><xs:sequence><xs:elementname="orderperson"type="xs:string"/><xs:elementname="shipto"><xs:complexType><xs:sequence><xs:elementname="name"type="xs:string"/><xs:elementname="address"type="xs:string"/><xs:elementname="city"type="xs:string"/><xs:elementname="country"type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:elementname="item"maxOccurs="unbounded"><xs:complexType><xs:sequence><xs:elementname="title"type="xs:string"/><xs:elementname="note"type="xs:string"minOccurs="0"/><xs:elementname="quantity"type="xs:positiveInteger"/><xs:elementname="price"type="xs:decimal"/></xs:sequence></xs:complexType></xs:element></xs:sequence><xs:attributename="orderid"type="xs:string"use="required"/></xs:complexType></xs:element></xs:schema>

 

Once downloaded go to Help –> Check for Updates and step through so you can then choose your download – as shown.

image

Once installed you’ll need to restart JDeveloper.  To then configure to plugin to work as you want go to Tools –> Preferences… Where you should be able to find Copy As HTML/RTF in the left menu tree to get the options to configure the plugin behaviour.

image

If you’re going from Windows application to another then you want the Rich Text Format setting.  After that rather than Ctrl+C its Ctrl+H to copy and carry the pretty formatting/colours etc.

TOGAF Skills Matrix

Tags

, , , ,

My employer is increasingly aligning its architecture team (of which I am a member) to TOGAF. As is the tradition, new year means start reviewing things like personal development plans. So I thought I’d compare my skills base against that of the TOGAF skills framework (http://pubs.opengroup.org/architecture/togaf9-doc/arch/chap52.html).   Now being a bit geeky, I wanted to do the comparison using a spreadsheet rather than print the document and scribble on it – means I can keep a tab on how things progress/change as go.  However I haven’t been able to locate a spreadsheet representation of the HTML/PDF documentation surprisingly, so I knocked one together.  Amusingly I found a couple of colour coding/level errors in the tables of version 8 of TOGAF as provided by the Open Group.

Feel free to use the spreadsheet as you see fit (TOGAF 9.1 Architecture Skills Framework Spreadsheet), obviously within the constraints of the Open Group’s terms.

Cars some observations on a Nissan Juke and Vauxhall Insignia

Tags

Unfortunately some one kindly scrapped the side of my Alfa Romeo. So whilst the cosmetic damage was being dealt with I had a couple of loan cars. Rather trying to write a review like a car magazine (carry capacity of a boot etc) I thought I’d share my observations that made me laugh, wince and smile.

The Nissan 1st ….
A car loaded with all the electrical toys from the sensible like Bluetooth to a G Force meter (in a 1.6 petrol powered car)!!

The MP3/music selection scored well on the geek-o-meter by being a central touch screen. But trying to change album (folder) whilst was just stupidly difficult and dangerous whilst driving.

Reversing and you got a reward looking camera – great to make sure no children’s toys to accidentally squash, but the truth is those old fashioned wing mirrors far more helpful.

I think the Juke is just a jacked up small car. But jacking it up ruined any handling there was. For all the electronics I still experienced understeer and traction loss at 20mph in the damp.

I Nalso do a lot of motorway driving, and the slab sided shape and ride height made the car suffer from cross winds.

Now for the Insignia ….
This time a diesel SRi. A lot less in the gadget department, and an odd mix in my opinion. So we had sat nav which couldn’t take post codes. But no Bluetooth hands free, I’d have happily swapped the 2 features.

The screen was a good size and could use it with a BMW Idrive style control (dial based control next to handbrake ). But the screen only changed background colours at night too bright still.

On the subject of handbrake rather than a traditional leaver it had a little electronic switch. To then disengage you had to do a learner like hill start release (try to power so car strains against the breaks). This can’t do much for your pads and disks.

We had electric windows at the front but at the back it was still manual. I didnt think anyone did that anymore.

Automatic headlights – nice. But no auto dimming review mirror.

It looks like Vauxhall haven’t learnt from Alfa’s mistake of 10 years ago – pretty shaped mirrors are useless. Accepted the side profile of the car wasn’t bad, but what an ugly rear.

Given the car had Vauxhall’s sport tag (SRi) the drivers seat was part electric but no lumber adjustment and the seat back angle was as clumsy leaver.

Finally I did find the car handling was a bit fidgety on the motorway which was tiring on the arms after a couple of hours driving. Probably the the price of a lighter car with good fuel economy.

And with the return of the Alfa…
Heavier Thant the Insignia and as a result not as efficient but so finessed for a driver experience. That midrange acceleration is deeply satisfying. My only grouch the MP3 info display is poor. But I can for give that.

Record stores against the odds

Tags

The Word has two little columns about vinyl record stores battling against the odds.

The fist is a new store that have combined food with vinyl in Brighton called Pie and Vinyl. With improving vinyl sales there is hope for them to buck the trend of record stores.

The second story is about the famous Pandemonium Records in Manchester where the owner famously won’t sell the record to you if it’s his last copy. Sadly the store needs help – it’s in a basement which is now suffering from chronic damp and the landlord wants the store gone. If you can help then please contact them.