TexasSwede
texasswede@gmail.com
  • About this blog
  • My Website
  • My Resume
  • XML Export Tool
  • Photos

Category Archives: Old Blog Post

Gone fishing

Posted on July 15, 2010 by Karl-Henry Martinsson Posted in Old Blog Post Leave a comment
Right now I am finishing my last few things at work, and in about 30 minutes I will be heading to the DFW International Airport and begin a 2 week vacation together with my son.
We will first go to London, where I hope to see one of my childhood friends. We have been friends since first grade. ThenSaturday evening I am flying to Stockholm, Sweden to spend almost 2 weeks with my sister, as well ass meeting up with some old friends and family.
My son is excited about seeing a new country and city,but he is most excited about seeing his aunt in Sweden again. This will be his 4th trip to Sweden, and he also got to visit Germany during one of those trips (in 2007).
Sweden and much of Europe have been having some hot weather lately, but it looks like it is cooling down to a very comfortable temperature. Forecast for the next 5 days in Ft Worth, TX:
image 
The same time period in Stockholm, Sweden:image
Because of my vacation being right before IamLUG, I will not be able to go this year.
 

 

Am I a real Notes/Domino programmer?

Posted on July 8, 2010 by Karl-Henry Martinsson Posted in Old Blog Post Leave a comment
A couple of posts by Peter Presenell and Dan Lowdenmade me think. Am I a real Notes/Domino developer/programmer? At least my business card says so. I think I am. But what makes me a "real" Notes programmer?
 
First of all, I make a difference between a programmer and a developer. My definition of a programmer is someone that pretty much just produce code, but is not that involved in the actual design of the application. A developer is more involved in actually designing the application, not just writing the code.
But for this discussion, I will use the term programmer, as I will focus on the programming part
 
I do not thinkthe languages one uses is what makes you a real programmer or not. I think it is in your mind and approach to programming.
  • A real programmer "thinks code" all the time. Not just at work.
  • A real programmer is a problem solver. He/she can’t resist trying to solve a problem when presented with one, may it be computer related or not.
  • A real programmer constantly try to improve himself and his applications, going back to fix old code to work better/faster, make the user interface better and more efficient, etc.
  • A real programmer understands the need of user/customer and can come up with solutions for them.
  • A real programmer have a set of functions in his "toolbox" that can be used in different applications, saving developmenttime.
  • A real programmer can learn new languages and tools when needed. Knowledge about the syntax of a languages does not make you a good programmer, knowledge about how to write efficient and useful code makes you a good programmer.
I don’t program in Java. I don’t work with Xpages (yet). When I got my first full-time position as a Notes developer in Boston, my boss-to-be called one of my references and askedif I knew Lotusscript, and how good. My reference, a friend where I had mainly been helping himwith development for the web using HTML and @Formula language,answered back something like this: "I don’t know how well he knows Lotusscript, but if he does not he will learn it in no time".
To me, that was one of the greatests comments I been getting. I think that is a sign of being a good/real programmer, to be able to learn new tools as they are needed. I am sure that as soon as we get Notes 8.5.1 here at work, I will start working with Xpages. Butuntil then I havevery little extra time to play with that technology.
 
However, even if Iconsider myselfa good Notes/Domino developer, I don’t think I am in the same class as many of the "rockstar" developers in thecommunity. I am sure you know who I am talking about, people like Nathan T Freeman, Tim Tripcony, Matt White, Mikkel Heisterberg, Viktor Kranz, Julian Robicheux, et al.

 

I love being a Notes developer!

Posted on July 3, 2010 by Karl-Henry Martinsson Posted in Old Blog Post Leave a comment

Lotus Notes is a great tool, and I enjoy developing applications using the RAD capabilities in Domino Designer. But I also create some web applications on occasion.
This past week, when Hurricane Alex was moving in towards Texas, John, the CIO (and my boss), grabbed me first thing Wednesday morning and asked me to build a webpage. He wanted me to use the Google Earth plugin to consuming some KML files he created from the policy database (built using Visual FoxPro).

As I blogged about a year ago, I wrote some code to get the latitude and longitude for an address, and John had then rewrote the code for FoxPro so he could get the coordinates for the addresses he had in his system. So he could now very easily generate a couple of KML files, one of all our policies and one of the policy holders potentially in the path of the hurricane.
I built the webpage in a Domino database, that is usually the easiest way for me to put up a simple webpage. I added some overlays, the two different KML files that John created. I also found a KML file online with different projected paths, as well as one of the current path of Alex. The users could turn on and off these layers as they wanted. Suddenly it was very easy to see if we had any insured customers in the path, etc.

Of course, the same web page could as easily have been created using Notepad or any other tool, as it was pure HTML. But my next plan is to integrate this page with other Domino data, and we are talking about building a generic reporting tool with all different kind of geographic data. Imagine being able to map every accident/insurance claim, see where the accident happens, where the insured is located, etc. Perhaps run statistics showing the average distance from home the accidents take place, etc.

I think it is critical that I, as a Notes/Domino developer, show the power and business use of Notes by integrating it with different systems. When I first started working at this company, I was tasked with building a claim system, to handle insurance claims. The company had hired a pair of Notes consultants, who set up the environment and attempted to build a claim system. They failed, and they also told everyone that Notes and FoxPro could not talk to each other. Of course, when I came in and sat down with my (then) new boss after a few weeks at the new company, we quickly figured out a way to get the systems to communicate.
It took about 90 minutes to come up with the solution (using COM), write the basic specifications (yes, they changed some over the years, but not much), build the COM object and write some test code in Notes. Today, that COM object is used for all kind of things we never envisioned back then, in 2002. It even sends PDF files into our document imaging system.

Of course, it helps to have a CIO/manager who talks and thinks development. I don’t have to explain things that are obvious to me, we can go straight at the business logic or functionality. Something that would take 10-15 minutes to explain to a regular manager just takes seconds or a minute.

My next project, which I will start on Monday, is a database to document the claim system. There are so many design elements, with different functionality and access rights. Some buttons are hidden from certain users, using roles or document status, other design elements are restricted in other ways. Very little of this have been documented over the years, and I need to get all that documented in a good way. That is the power of Notes: I have a need, I build a solution.

 

Notes developer – not a dead profession!

Posted on June 25, 2010 by Karl-Henry Martinsson Posted in Old Blog Post Leave a comment
The last few weeks have been slightly turbulentin the Yellowsphere, with JonVonstarting a discussion about the future of Notes development with his Lotus Notes: The Long Goodbye.
I am lucky enough to have a solid position as aLotus Notes developer at a Dallas-based insurance company. Notes is not going away from here any times soon, as a matter of fact we are moving rapidly towards getting the latest versions. We are just now in the final phase of getting all users on Notes 7. This is done at the same time we are moving most branch offices to Citrix.Very soon we are planning to move everyone up to Notes 8.5.1 as well. Our current plan is to wait about 6 months after the release of a new version to push it out, to let any bugs get fixed.
 
The exciting newsis that after 8 years at the company asme being theonly Lotus Notes developer,we might even hire anotherdeveloper to help me out, so I canspend more time on the architecture and design, and less onsupport. I spend about 40% of my time (more at times) at supporting end users. I also support the rest of the IT department (mainly the operations manager and the desktop support group) with Notes knowledge when needed.
So there are companies hiring. As soon as there is an official job posting I will publish it here.
 
So Notes is not dead. As a matter of fact, several of the most important applications here are based on Notes.
 
 

 

Fathers Day

Posted on June 20, 2010 by Karl-Henry Martinsson Posted in Old Blog Post Leave a comment

Today is Father’s Day here in the US. In Sweden it is actually celebrated in November (Nov 14 this year). I am thinking about my dad, who passed away in 2001.
My dad was a very intelligent person. He may not have had a fancy education and degree. As a matter of fact, he just had six years of school back in the 1930’s (he was born in 1926), then he had to start working. But he could build pretty much anything. He built us a summer house from scratch. He even did the design and the drawings/blueprints himself. At home he had a real architect drawing table. But he also repaired all kind of things down in the basement. He built his own tools, a powerful electrical motor and some pieces of scrap metal, and he had a lathe. When my sister needed a violin, he simply built one. And yes, it sounded great!
After I moved to the United States in 1998, he got a computer, and at age 70 he started learning how to use it and to send email.

image Working on the summer house, circa 1974

image Taking a break from the hard work.

imageBuilding a violin.

But my dad was not always working. Yes, he did work a lot, both to support the family and to (litterally) put a roof over our heads. But he also had time for me and my sister.
We went fishing, sailing (he got us a small sail boat and put me and my sister in sailing classes), and worked in the vegetable patch together with mom.

image At Midsummer celebration, circa 1976.

There are so many things that make me proud of my dad, I can’t list them here. But he was a great role model for me, and I hope my son Erik one day will be able to think at me in a similar way. He was also, for a very brief time, a grandfather. He died in March 2001, but not until after he got to see and hold his first and only grandchild. Erik was born in August 2000, and he (together with my sister) visited us in early November.
I was told that he printed out the pictures I mailed him, and was showing them to all his friends. He was so proud! I wish he would have lived a few more years so he could have seen Erik starting to grow up.

image Holding his grandson Erik, Boston November 2000.

image One more of the proud grandpa.

image Funeral, April 2001.

Thank you for everything, dad. I will always miss you.
Stig Martinsson
1926 – 2001

 

Downtown Ft Worth – Condos

Posted on May 30, 2010 by Karl-Henry Martinsson Posted in Old Blog Post Leave a comment

image
This picture, and the two previous ones, were taken with my Nikon D90 fitted with a Tamron 18-270mm lens. No tripod was used. The pictures were taken yesterday evening around 19.30 in the Sundance Square area of Ft Worth. Click on the images to see the full versions.

 

Bass Performance Hall, Ft Worth TX

Posted on May 30, 2010 by Karl-Henry Martinsson Posted in Old Blog Post Leave a comment

image  

Downtown Ft Worth – New and Old

Posted on May 30, 2010 by Karl-Henry Martinsson Posted in Old Blog Post Leave a comment

image  

Ubuntu 10.04 being released today

Posted on April 29, 2010 by Karl-Henry Martinsson Posted in Old Blog Post Leave a comment
Thelatest version of Ubuntu,code name Lucid Lynx and with the version number 10.04, is being released today. Due to a problem inGrub, the boot manager, the release have been delayed somewhat, but hopefully it will be out today.
Among thenews in this version, which is a LTS (Long Term Support) version, is a further polished user interface, with many similarities to MacOS. The maximize/minimize buttonsare now defaulting to the left side of the title bar, but of course the user can move that around and reconfigure the interface.
Built-in support in the operating system for social network sites/services is something that very few, if any, operating systems have. The cloud storage service Ubuntu One have been updated with additional functions, you can now access contacts and files stored in the cloud from mobile phones/devices. No Windows client, though, so you can’t access your files at home from your Windows computer at work. Ubuntu One will also allow you to share files with family and friends in an easy way. Every Ubuntu user get 2 GB free storage, and for $10/month you get 50 GB storage.
The software repository/manager have been updated, and an online music store for DRM-free music have been added.
Some programs have been removed(GIMP being one of them) and others have been added (for example the video editing program PiTiVi).
Another thing that Canonical, thecompany behindof Ubuntu, have been pushing is faster start-up time. I don’t restart my computer that often, so 10 seconds of 25 seconds is no big deal to me. But for laptops it is nice. Talking about laptops, there will also be a special "Remix" version for netbooks.
As always, you can download and burn an ISO image and test it on a computer without having to install anything. This will test your hardware and give you an idea about the looks and functionality of the operating system.
 
As my FaceBook and twitter followers might have noticed last night, I cleanedand backed up my existing system (using Clonezilla, highly recommended tool) in anticipation of installing 10.04 in the next day or so. I plan to first try an install on top of the existing version 9.10, then make a backup of that, wipe the partition and install 10.04 from scratch to see if any of the hardware I hjad to get separate drivers for is now supported out of the box.
 

Object Oriented Lotusscript for beginners – Part 1

Posted on April 12, 2010 by Karl-Henry Martinsson Posted in Old Blog Post Leave a comment
I have been writing object oriented Lotusscript for a little over a year now. When I started, I probably did a lot of mistakes, and I did not fully understand everything about object oriented development. I can’t say I am an expert yet, but I wanted to share some information that hopefully will help anyone else looking into switching to object oriented Lotusscript (OOLS).
WhyOOLS?
I see several benefits, at least to me. The code is usually shorter and I get a better overview. It is modular and can easily be moved to other applications. It is easy to maintain and add functionality. And the calling code can be very compact and easy to understand as well.
Is OOLS hard?
Not really. You have to grok it, but as soon as you do that, it all falls into place. My background was in pure procedural programming, and it did not take me very long to get the concept.
How do I write OOLS?
You write class definitions and code in the Declarations section of your code. I usually put the code in script libraries,usually several related classes in one script library. I name thescript library after the main class, so in my claim system I havescript library called Class.ClaimData, Class.FinancialTransactions and Class.ClaimLink.
The code is just regular Lotusscript. You define a class, with one or more functions/subs. You can also define variables in the class to store data. Functions, subs and variables can beprivate (only accessable inside the class) or public (accessable from the calling code). You should always have a Public Sub New() defined in the class.
Can I seesome example of a class?
Sure. I have posted a couple of classes in the past, both here on my blog and on OpenNTF.org.
In part 2 I will explain a simple class and how it can be used.

 

Stack Exchange

profile for Karl-Henry Martinsson on Stack Exchange, a network of free, community-driven Q&A sites

Recent Posts

  • Domino 14 is now available
  • Domino 14 Early Access Program
  • Announced: Engage 2024
  • Integrate Node-RED with Notes and Domino
  • Notes and Domino v12 is here!

Recent Comments

  • Theo Heselmans on Announced: Engage 2024
  • Lotus Script Multi-thread Message Box [SOLVED] – Wanted Solution on ProgressBar class for Lotusscript
  • Viet Nguyen on Keep up with COVID-19 though Domino!
  • Viet Nguyen on Keep up with COVID-19 though Domino!
  • Mark Sullivan on Looking for a HP calculator? Look no further!

My Pages

  • How to write better code in Notes

Archives

  • December 2023 (1)
  • October 2023 (2)
  • September 2023 (1)
  • June 2021 (1)
  • April 2021 (2)
  • March 2021 (1)
  • August 2020 (3)
  • July 2020 (2)
  • April 2020 (2)
  • March 2020 (1)
  • December 2019 (2)
  • September 2019 (1)
  • August 2019 (2)
  • July 2019 (2)
  • June 2019 (3)
  • April 2019 (2)
  • December 2018 (1)
  • November 2018 (1)
  • October 2018 (5)
  • August 2018 (2)
  • July 2018 (3)
  • June 2018 (2)
  • May 2018 (1)
  • April 2018 (2)
  • March 2018 (1)
  • February 2018 (2)
  • January 2018 (4)
  • December 2017 (3)
  • November 2017 (2)
  • October 2017 (2)
  • September 2017 (1)
  • August 2017 (2)
  • July 2017 (6)
  • May 2017 (4)
  • February 2017 (1)
  • January 2017 (2)
  • December 2016 (2)
  • October 2016 (3)
  • September 2016 (4)
  • August 2016 (1)
  • July 2016 (2)
  • June 2016 (2)
  • May 2016 (3)
  • April 2016 (1)
  • March 2016 (4)
  • February 2016 (2)
  • January 2016 (4)
  • December 2015 (3)
  • November 2015 (2)
  • October 2015 (1)
  • September 2015 (2)
  • August 2015 (1)
  • July 2015 (5)
  • June 2015 (2)
  • April 2015 (2)
  • March 2015 (3)
  • February 2015 (2)
  • January 2015 (10)
  • December 2014 (1)
  • November 2014 (3)
  • October 2014 (3)
  • September 2014 (13)
  • August 2014 (6)
  • July 2014 (5)
  • May 2014 (3)
  • March 2014 (2)
  • January 2014 (10)
  • December 2013 (5)
  • November 2013 (2)
  • October 2013 (5)
  • September 2013 (4)
  • August 2013 (7)
  • July 2013 (3)
  • June 2013 (1)
  • May 2013 (4)
  • April 2013 (7)
  • March 2013 (8)
  • February 2013 (9)
  • January 2013 (5)
  • December 2012 (7)
  • November 2012 (13)
  • October 2012 (10)
  • September 2012 (2)
  • August 2012 (1)
  • July 2012 (1)
  • June 2012 (3)
  • May 2012 (11)
  • April 2012 (3)
  • March 2012 (2)
  • February 2012 (5)
  • January 2012 (14)
  • December 2011 (4)
  • November 2011 (7)
  • October 2011 (8)
  • August 2011 (4)
  • July 2011 (1)
  • June 2011 (2)
  • May 2011 (4)
  • April 2011 (4)
  • March 2011 (7)
  • February 2011 (5)
  • January 2011 (17)
  • December 2010 (9)
  • November 2010 (21)
  • October 2010 (4)
  • September 2010 (2)
  • July 2010 (3)
  • June 2010 (2)
  • May 2010 (3)
  • April 2010 (8)
  • March 2010 (3)
  • January 2010 (5)
  • November 2009 (4)
  • October 2009 (7)
  • September 2009 (1)
  • August 2009 (7)
  • July 2009 (1)
  • June 2009 (4)
  • May 2009 (1)
  • April 2009 (1)
  • February 2009 (1)
  • January 2009 (3)
  • December 2008 (1)
  • November 2008 (1)
  • October 2008 (7)
  • September 2008 (7)
  • August 2008 (6)
  • July 2008 (5)
  • June 2008 (2)
  • May 2008 (5)
  • April 2008 (4)
  • March 2008 (11)
  • February 2008 (10)
  • January 2008 (8)

Categories

  • AppDev (10)
  • Blogging (11)
    • WordPress (5)
  • Design (5)
    • Graphics (1)
    • UI/UX (2)
  • Featured (5)
  • Financial (2)
  • Food (5)
    • Baking (3)
    • Cooking (3)
  • Generic (11)
  • History (5)
  • Hobbies (10)
    • LEGO (4)
    • Photography (4)
  • Humor (1)
  • IBM/Lotus (178)
    • #Domino2025 (14)
    • #DominoForever (8)
    • #IBMChampion (46)
    • Administration (7)
    • Cloud (7)
    • CollabSphere (9)
    • Community (49)
    • Connect (33)
    • ConnectED (12)
    • Connections (3)
    • HCL (15)
    • HCL Master (1)
    • IBM Think (1)
    • Lotusphere (46)
    • MWLUG (25)
    • Notes/Domino (99)
      • Domino 11 (7)
    • Sametime (8)
    • Verse (14)
    • Volt (3)
    • Watson (6)
  • Life (8)
  • Microsoft (7)
    • .NET (2)
    • C# (1)
    • Visual Studio (1)
  • Movies (3)
  • Old Blog Post (259)
  • Personal (23)
  • Programming (84)
    • App Modernization (11)
    • Formula (4)
    • Lotusscript (47)
    • NetSuite (4)
      • SuiteScript (3)
    • node.js (4)
    • XPages (4)
  • Reviews (9)
  • Sci-Fi (4)
  • Software (24)
    • Flight Simulator (2)
    • Games (4)
    • Open Source (2)
    • Utilities (6)
  • Technology (37)
    • Aviation (3)
    • Calculators (2)
    • Computers (6)
    • Gadgets (7)
    • Mobile Phones (7)
    • Science (3)
    • Tablets (2)
  • Travel (7)
    • Europe (1)
    • Texas (2)
    • United States (1)
  • Uncategorized (16)
  • Web Development (50)
    • Frameworks (23)
      • Bootstrap (14)
    • HTML/CSS (12)
    • Javascript (32)
      • jQuery (23)
  • Prev
  • 1
  • …
  • 13
  • 14
  • 15
  • 16
  • 17
  • …
  • 26
  • Next

Administration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Tracking

Creeper
MediaCreeper
  • Family Pictures
© TexasSwede 2008-2014