Well 10 days anyway. Nothing much to say really. My fourth, annual ‘op anniversary’ passed without any fuss. In fact it was spent working in the garden. What else … oh yes we updated our satellite television\telephone\broadband subscription. I have to admit, I was a little worried about this, given that when he’s at home, R*** spend most of his time on YouTube and Nick Jr. Any issue with either the broadband or TV
could would have caused real problems. However, everything went very smoothly. K*** is getting to grips with the new handset and the onscreen TV guide, but we will both get there, and R*** should not have any problems with it.
Now I say, “everything went very smoothly”, it did up until this morning. K*** wanted to print out her car insurance document and tried to do it from her iPad. Nothing happened! Our main printer, downstairs is a wireless network printer so printing from tablets, phones and the like is easy. I checked everything I could think off with no success, but the printer was showing as being connected in the network settings app . I checked the printer website and one of its forums and found that I needed to tell the printer that we had a new router as the IP address had changed. So after about twenty minutes of scrambling about at the back of the printer and another ten minutes rooting through drawers to find cables, I eventually got it working again. You know what, I felt such a “smug bas***d” when five copies of the said insurance document flew out of the printer!
This is going to be a little bit techy/geeky, so feel free to move on.
For a long time now, I’ve been wanting to learn a computer programming language. I have had a free programming environment (Visual Studio Community 2017) on all my computers for many years but simply have not had the inspiration to get on and learn something. The bad weather on Thursday suddenly gave me that inspiration. I found an online tutorial called Home and Learn, that went through the basics in Visual Basic.net, but at a pace that wasn’t either too slow or too fast. Many of these tutorials show you how to create the ubiquitous “Hello World” programme. As much of a novice that I am, I think I was past that phase.
So by the end of the day, I had completed a few exercises and had started on a project to build a basic calculator. And I mean a basic calculator. A calculator that only had a single function … addition. Nothing else … just adding up numbers. By Friday evening, after a few false starts I had successfully built this very simple calculator application. I was feeling very pleased with myself. This self-smugness left me feeling that I could do more. Knowing what I had learnt I felt that it would be not such a difficult task to add another function, such as subtraction. The main issue I had was how to use the coding that I had spent so much time on without losing the initial work. What I needed was a ‘Save as …’ option. But could I find one? It seems that there is no ‘Save as …’ in this version of Visual Studio. I searched the internet but was coming up with various ways that didn’t seem to work for me. I then realised what I needed to do. All that was required was to copy the original project to it’s own backup folder, in another area and then I was free to use the original.
Well I won’t bore you with any more details, but after even more false starts than before and a lot of brain-racking I managed to get the subtraction function to work and the calculator now has both an addition and a subtraction button. Can you imagine how much the smugness factor has risen by! I even managed to find out how to make the buttons look like raised buttons instead of the default flat style that seems to be the fashion these days. The next challenge is to add a multiplication and a division button. I’m even thinking ahead for things like a percentage button, but I’m not going to get too far ahead of myself.
At the end of the day though, this not going to get me anywhere. It’s just another hobby that I can enjoy and get satisfaction from.