01/13/2012

Productive or Lazy?

Tags: :
0
To the core I do not like having to work harder than I have to, to achieve the simplest of tasks.

When a search and replace will suffice rather than editing 50 lines of code - I will do a search and replace
I would rather use a keyboard shortcut than use the mouse
When a code library can be created and re-used I won't write the code twice

Now you could look at this as being productive - but I see this as being lazy in a way, I have only so much time to do a million things, why work harder than I have to.......

01/13/2012

Gaming Keyboard shortcut heaven

Tags: :
0
My first experience with a "IBM PC" clone was using Word Perfect to create something for school. For those of you who are not old enough to remember Word Perfect was similar to the UNIX editor vi in that you could do any and everything with a keyboard. In fact my dad had a keyboard overlay with all the shortcut's on a quick reference guide it was fantastic.

Ever since I have been a keyboard freak and hate using the mouse unless I really have to.

So I use a Gaming keyboard nowadays and I have an old Logitech G15 keyboard which I love to bits. What I have done is created shortcuts to frequently used applications like mail or my workspace.
You can program the keys through the GUI to open a link......Here's how to calculate the link

Drag "workspace" to your desktop and a shortcut is created
A picture named M2
If you view the shortcut in notepad it looks like this

[InternetShortcut]
URL=notes:///ClientBookmark?OpenWorkspace

so I copy and paste the link into the interface for the button - et voila

A picture named M3

01/10/2012

Lotus Notes Scriptlets - Examples

Tags: :  
0
Here are some examples of  some useful Lotus Notes Scriptlets - Keeping them in a Bookmark folder allows them to be used as developer tools whenever you need them

Show me the session cookie - (this works on any website)
javascript: var temp=document.cookie;alert(temp.replace(/;/gi,"\n")+'\n\nLength='+document.cookie.length)

Open ezScan from a URL - (assumes URL in the format http://server/path/db.nsf/viewname/docUNID - no ?opendocument)
javascript: var sTemp=location.pathname; var loc="scanez://YOURSERVERNAME/"+sTemp.substring(1, sTemp.indexOf(".nsf")+5)+"0/"+sTemp.substring(sTemp.lastIndexOf("/")+1, sTemp.length); alert(loc); void(0);


Open a specific document by Key (enter MRON-8QDL59)
javascript:%20a=prompt('Blog Number','');%20location.href='http://www.nostradominus.com/mdroden/nd.nsf/d6plinks/'+a


Open a user's document in the NAB (assuming you are viewing a Lotus Notes webpage)
javascript:%20a=prompt('Enter the User Shortname','');%20location.href='/names.nsf/($Users)/'+a


Show the current view in XML format (assuming the URL in the format http://server/path/db.nsf/viewname?openview)
javascript: var sTemp=location.pathname; var loc="/"+sTemp.substring(1, sTemp.indexOf(".nsf")+5)+sTemp.substring(sTemp.lastIndexOf("/")+1, sTemp.length)+"?ReadViewEntries"; location.href = loc; void(0);


Show the current view in JSON format (assuming the URL in the format http://server/path/db.nsf/viewname?openview)
javascript: var sTemp=location.pathname; var loc="/"+sTemp.substring(1, sTemp.indexOf(".nsf")+5)+sTemp.substring(sTemp.lastIndexOf("/")+1, sTemp.length)+"?ReadViewEntries&OutputFormat=JSON"; location.href = loc; void(0);


Search this view for a value (assuming the database is Full Text indexed and search forms are enabled)
javascript:%20a=prompt('Enter the Query',''); var sTemp=location.pathname; var loc="/"+sTemp.substring(1, sTemp.indexOf(".nsf")+5)+sTemp.substring(sTemp.lastIndexOf("/")+1, sTemp.length)+"?searchview&Query="+a; location.href = loc; void(0);


A picture named M2

01/10/2012

Scriptlets - a basic introduction

Tags: :  
0
In the JavaScript world Scriptlets are short pieces of code which can be executed through the browser directly. They act on the page in the same wasy as if the user had clicked a button in an application.

An example of a simple Scriptlet is
javascript: alert(location.href); void(0);

The best way to add a Scriptlet varies depending on which browser you have:

For Firefox - right click in the Bookmark bar and select New Bookmark
A picture named M2

Then populate the dialog:
A picture named M3

Once in the bookmark bar you can then click it from any webpage to see the URL....

A picture named M4


10/24/2011

So I have been paying for this for over 2 years and not used it once.....

Tags: :
0
OUCH - there's  waste of money

So I never learned Java - well I did and I didn't - the projects I worked on get less and less as my management tasks got more and more.

I moved jobs and I am now a Domino Developer again

And I am very happy about that - more blogging from here on out !

04/09/2009

Lotusphere on tour

Tags: :
0
Yesterday I attended the Lotusphere comes to you conference in Washington DC. It was a good day out - learned a lot about Connections 2.5, Sametime 8.5 and then the day was spoiled by a terrible websphere portal presentation. It was a sales pitch and not a techo/cool presentation like the others. It had the opportunity to tie the rest of the day together and it failed miserably.

Oh well :)

02/08/2009

Java References

Tags: :
0
Setting up Eclipse to debug your Lotus Notes Java Agents
(Using Lotus Notes with Eclipse to manage and run your Java programs)
http://www.ibm.com/developerworks/lotus/library/notes-eclipse/


Eclipse Tutorials






02/08/2009

Marky goes forth into Java

Tags: :
0
Many years ago it seemed clear to me that I was moving away from development and more into a project management role within my company. I said at the time (circa 2004) that the true test of whether I was a developer or not would be if I learned Java.  And it is 2009 and I have little to know practice experience with Java. It is clear to me that I have missed on a huge opportunity to expand my learning and solve many of the practical day to day problems we have with my customer.

I am going to have to learn Java (or at least a smattering) in the next few months as I have tagged myself on 3 projects to be completed before the summer and they all require Java. Sametime, Omnifind and Digital Signatures. The only problem is who is going to be doing the program management - and we're working on that one as well.

What I want to do it track my journey as a help to anyone else daft enough to follow behind. If nothing else i am very good at doing the research and using other people as sources of information. So why not collate it..........for myself as well :)


01/25/2009

The Fredericksburg Pub......Best Fish and Chips in America.....!!

Tags: :
0
So there is a chain of "British Pubs" (www.luvthepub.com) sweeping the nation apparently and the newest opened 10 days ago in Fredericksburg, VA.

Multiple people have told me I must go and I would love it - and we went, and I did :) and I didn't :(

For those of you unfortunate to have never been to England and been to a real pub you have to understand that there really is nothing like it (as a whole) in the USA. A Pub is a social focal point for the community point where people have a beer or two and walk home or take public transport home to - so other than in old (e.g Boston) built up areas this just does not happen...

So this "Pub" is at the back of the Mall a mile of so from the interstate (not a good start). but the inside looks vaguely pubbish and the bar looks pretty awesome. They have Rubgy on the tv - RUGBY!!! and they server some pretty good beers. The Guiness is excellent, Fullers ESB is very good and the Old Speckled Hen was pretty much as I remember it. The menu had Fish and Chips on it, Bangers and Mash and Shepard pie...looked promising. I had the pie and the wife had the fish and chips.....I was robbed :(

The fish and chips was fantastic - I mean seriously one of the best I have had in america. The Sherpard Pie was not bad - but it was a LOOOONG way from being Shepard Pie. It has mozzarella cheese on it?!?! There was no gravy in the minced beef?!?!?! but the Fish and Chips was fantastic!!

So overall score:

beer 8/10
food 6/10 (except fish and chips 11/10)
atmosphere 7/10 (same as any other mall restaurant really)

When I have a craving for beer and fish and chips we will be going back.


01/22/2009

Fat Rib blankets

Tags: :
0
My daughter's name for a bra

Check out www.fatribs.com :)