Tuesday, 11 May 2010
I found a bug (but one I wasn't meant to find)
I have found a bug on my blackberry.
My phone has this cool feature called bedside mode, in this mode all the radios are turned off making it impossible for calls,email,sms etc to ruin a good nights sleep. The phone also has a feature that turns off the radios when battery power gets too low. Once the phone is being charged the radios will be turned on automatically.
The above two functions work well in isolation but when they are tested together there is a bug. Here is my bug report:
Abstract: battery charging causes phone to turn radio on even in bedside mode
Description:
1)Let battery drain so radios are powered off automatically
2)Plug phone into mains
3)turn bedside mode on
4)Once battery power becomes normal the radios will turn on again (even though bedside mode is on) and your sleep is disturbed by incoming messages.
So what do I do now. If this was a project that I was testing then there would be a well defined process for me to raise this issue with the development team. But I am just a customer. I had a search on RIM's website and couldn't see a way to raise a defect or even contact the support team.
Sunday, 2 May 2010
Hobbit @ Impact
Just spoke to a CICS customer. He had just registered and found us sat around the table. We spoke and over that brief conversation we discussed his environment and pain points and we offered CICS function that could help him such as the CICS explorer.
Although impact offers fantastic sessions with great speakers I often think that it is these small interactions that weren't scheduled or forced but just two technical people, one with problems the other with indepth product knowledge is where the real magic happens. I hope that the customer has gone away with a few ideas that he can think about during the week. When he gets back to his day job he can try them out and see what works and what doesn't.
This is why Impact is such a great event. Customers have access to whole teams of people from IBM who aren't just the sales teams but the engineers who design/build/test the software that they use. We are techies but we want to understand they issues you may have, the experiences you have and offer our insight and support where we can.
If you are at impact please don't hesitate to grab a speaker or IBMr and talking to them. If they don't know the answer to your question I'm sure they can find the right person who will.
Wednesday, 28 April 2010
Web 2.0 & CICS
I wanted to show how easy it was to expose a CICS file as a ATOM feed and then consume it within a AJAX web page. This would allow me to respond to a users request via a web page without having to reload the entire page. Making the UI cleaner, more efficient and well 'sexier'!
The demo took very little time to create. I took the CICS File A sample and quickly created the necessary CICS resources to allow CICS to expose it as a ATOM feed. A quick test in the browser showed me that all was working well and that I now had a REST style interface for my file. CICS still handled the file and ensured that authentication was properly handled. My existing demos that use that file didn't have to change, BUT I had managed to levarge this file to new consumers. Ah my next point - writing that AJAX web page.
I am not an AJAX (Asynchronous JavaScript and XML) programmer. To be honest I haven't written anything 'webby' for quite a while so my skills were a little rusty. However I had a quick google and found lots of snippets of code that I could use to allow me to make a asynchronous call to CICS to get some data:
The nice thing was a I was able to use standard AJAX calls to interact with CICS. I didn't need any special IBM framework just standard Javascript. Also I didn't need to be an amazing javascript programmer. I just bolted some code snippets together and got something really cool to work.
In a real company this would mean that we would be able to create web 2.0 components that connected directly to CICS. This would provide a up to date interface that customers expect. You wouldn't even think that CICS was involved.
Monday, 26 April 2010
Hobbit at IBM Impact 2010
As I am an IBMr I am really proud to have been asked to speak at this conference and am really looking forward to meeting our customers and showing them some of the cool functions of our software.
Over the week I will be presenting on:
Old Stager Vs Greenhorn - this wasn't my title but during the session I will be comparing application development environments on the mainframe and on other related platforms. I will be showing where modern application development paradigms fit within the mainframe and where they don't. As a point of fact I will be showing Rational Application Developer for System z. This tool forms part of the IBM Software development platform and allows mainframe based application developers to write applications that will allow them to make the most of the mainframe.
Securing CICS Web services. Did you know that CICS can be a first class participant in SOA and webservices? well it can and it does the job with usual CICS QoS. One question that we are often asked is how can we strategically propagate a users credentials with the webservice to ensure that the CICS application uses the correct ID to access confidential data. This session is going to get very technical. However by the end you will understand what options are available to you and which may be the right option for your enterprise.
Simple Sample web 2.0 example. Web 2.0 is it just a buzzword or does it really exist? was there a web 1.0? were there bug fixes between version 1 and 2? If the answer is yes to any of the above questions what does that mean to CICS. Does CICS need to play in web 2.0 and why would it be useful. In this session I will be picking through the buzzwords to understand what CICS can do to allow Web 2.0 applications to access your data in a way that reduces risk to your existing workload and allow you to create situational applications quickly.
Why I am speaking about these topics. Surely it would be better to get a development lead to talk instead of the tester. However as a system tester it is my job to understand the value a customer would receive from the new function. Thus I have experience in applying the technologies to other parts of the enterprise.
Also Please remember I am not a salesperson so each of my sessions will be from my PoV giving you real scenarios that I have created.
If you are planning to come to impact and would like to have a more indepth chat about any of the technologies then please:
Catch me at the end of a session
Speak to any IMPACT organiser who can contact me for you
Leave a comment on this blog
Email hobbit1983@googlemail.com
Look forward to seeing you at Impact
Wednesday, 21 April 2010
What I learned today 21st April
A single CICS region can only connect to a single queue manager or a single queue sharing group. Thus we can always assume that the queue manager that you want to connect to is the same one that CICS is connected to.
However since the java MQ api requires you to specify a queue manager name in the constructor, as a developer this can make you think "err where do I get the queue manager name from". The JCICS api doesn't contain a way of getting to it.
The easiest solution is to construct a queuemanager object by passing an empty (not null) string into the constructor. When you later attempt to get or put a message to that queue, CICS will ensure that we use the correct queue manager.
That's what I learnt today and it made writing my CICS java MQ application a lot easier
Follow me: http://twitter.com/hobbit1983
Blog: http://outspokenhobbit.blogspot.com/
Tuesday, 20 April 2010
Quis custodiet ipsos custodes?
When software doesn't just work but delight
Thursday, 8 April 2010
Wishing I had ...
Now the key to losing weight is to simply use more energy than you eat, simple surely?
Working out the energy in value is easy, just use food wrappers and the information is there. However calculating the energy used is a lot harder. Gym equipment can help but isn't completly accurate, also what about energy burned when not connected to a treadmill? Just writing a blog - that must use energy!
So I wish that the human body had a data access port (USB would be my preference) to allow me to download how much energy I have used and such like. This would also make a docotrs job a lot easier as they would never need to run any diagnostic tests, just connect you to their laptop and get a complete view of your health.
We could even write software to interpret the data, similar to the jvm health checker. I think this could be a really good idea.
Alas since we don't have such a wonderful port I guess that I will just have to go and get weighed again tomorrow and hope that I am a little thinner and lighter than I was a week ago
Follow me: http://twitter.com/hobbit1983
Blog: http://outspokenhobbit.blogspot.com/