Mike Willson.NET
A love of Code!
A love of Code!
Mar 2nd
I know I have been very quite lately but there has been a good reason for the lack of posts coming from my desk. A few weeks ago I told my wife who I have been married to for almost 13 years that I no longer wanted to be married. Yep, not a light subject but one that I thought I would share with you all now that I have “processed” the decision I had to make.
“What happened” is the question I keep getting asked, my answer to this question thus far has been – It just didn’t work out!.
But the truth is I found myself not loving my wife like I once did, our lives are heading in different paths. We both want different things out of our lives. This separation is the fifth time that we have gone through together, I suppose I just got to the point where I can’t keep going around merry-go-round anymore. There are a lot of things in my life at the moment that make me feel this way.
I made a promise to myself at the end of 2009, and that was to be true to myself. For too many years have I hiding the real me from everyone and adapted a image of what I thought everyone wanted.
2010 is the year that I get to know Mike Willson, the real Mike Willson – concur some demons that I have been carrying all my life and to move onto new adventures.
But back to the subject of marriage between two people, are you married or been married? What have been your experiences, do you look back and think maybe you could of done something different?
I feel like I have done all I could to make my marriage work, some would say different but I know that I can sleep knowing that I put my all into it.
Was I a good Husband? Probably not at all times but I know I did try to change my ways for the better, I’m only human at the end of the day and no one is perfect.
My journey for the last 13 years has been one of many ups and many downs. As anyone who has been or is married knows this is a normal process that couples go through. However I now find myself looking back at those 13 years and what I see is a amazing journey that two people shared, but a journey that has also been filled with hardship and pain.
The pain comes from loosing our first born and for me dealing with my issues from my childhood. The hardship comes from not being able to get in front financially. Throughout my marriage I have always felt that I wasn’t a very good provider, having the feeling of not being able to look after my own family is a very un-cool feeling to have.
I sometimes ask myself why my wife stayed with me all these years and why would she still want to continue around the merry-go-round we were on, her love for me must of been greater than mine for her, which is the saddest part of it all for me. The decision to separate was not taken lightly on my part and I ran all the different scenarios around in my head for months before i could honestly say it was over. I tried to talk myself out of it and tell myself that it would all workout, but what I noticed was that my gut feeling or instincts was telling me something different.
This leads me onto “Personal Power”, i first heard this term from Anthony Robbins who said that everyone has a person power within them. The funny thing is that no one really knows what it is or how to use it. How do you know that your using your personal power?
I think i have found out the answer to this question, and that is by listening to one’s self can one hear the voice within which is the personal power of your spirit.
My spirit has been fighting it’s way out for a very long time and I never recognised this. I have felt the feeling a lot of times however I never really understood it until I allowed it to be shown to me.
This is how I knew the decision that I was about to make was the right decision for me. I now will work on allowing myself to shine through, the real Mike Willson by using and listening to my own personal power and beating down the demons that have haunted me all these years.
Now the most important people to me are my children.
Well that’s my latest update, I know it’s not the most pleasant news but Life does and will go on………..
Mar 2nd
In Japan Many years ago, it was the tradition among Buddhist Monks to travel from monastery to monastery, seeking the teaching of the Masters. As was the custom, the Master would serve his guest tea and they would talk.
One young Monk was a particularly outstanding student. In fact, he was so exceptional he had made a bit of a career out of showing-up lesser Masters with his skill and tremendous intelligence.
One day, he called at a very famous Monastery attached to one of the most sacred temples in all Japan. The Master there was old and most wise. The young man begged an audience with the Master in the hopes of being accepted as his pupil, to live and study with the great man.
The young man – whose reputation had preceded him – was ushered into the Master’s chambers immediatley. This was most unusual, and the young Monk was greatly flattered. The Master entered and they bowed to each other. They sat across a low table on the Tatami mat floor and talked.
The young Monk told the Master of his journeys, in his search for truth. It was a most impressive tale. The Master listened imtemtly and acknowledged the young Monk many times for his wit and intelligence.
A teapot and cups were brought in, and the Master began pouring tea for them both. The young man addressed the Master: “I wish to remain here and study with you, for i sense that here, unlike with the others, there is much you have to offer me”
And all of a sudden, the young Monk cried out in pain and alarm, jumping up from his place on the floor, shaking his robes and dancing about. The scalding hot tea had spilled all over his lap!
The Master sat calmly and continued pouring tea-which was overflowing the student’s small cup and spilling out over the table onto the straw matted floor where the young Monk had been sitting.
“What are you doing?” the young Monk demanded. “I have been burned! Stop Pouring! The cup is overflowing”
Go away from me young Monk, the Master said. I have nothing to teach you, your cup is too full overflowing with all that you know and all that you think you don’t know. Come back to me when your cup is empty and you are ready to receive what i have to give.
Jan 30th
Hi All,
Yesterday i learnt a very valuable lesson.
Basically Questions are the Answers. If you don’t ask the question, how will you ever know the answer. People go through life always assuming that they really do know the answer when in fact they really don’t, and this is because they are afraid to ask the question in the first place so they find it easier to make up the answers in their heads.
How do you know – What you don’t know!
You can’t, the only time you can say that you do know, is after you have asked all the relevant questions and then still we can’t be sure., as we have to rely on the person given us the information is telling the truth.
But by asking the right questions we can almost guarantee that we will have the correct information that we are after. So remember to ask questions, and make sure you ask the right questions, because if you don’t put thought into your questions and just ask mediocre questions, you will receive mediocre answers.
So go on, get out there and ask lots of questions, what’s the worst then that can happen……they say NO!
Jan 30th
Hey All,
Just wanted to let you all know that yesterday it was my little girls birthday, She would be 12 years old if she was still with us.
THINKING OF YOU ALWAYS ANGLE..
Jan 3rd
Hey Guys,
Just a quick post to let you all know that my new site is almost ready, as you know we had to find a new home after our relationship with HostDepartment fell by the wayside.
I will have lots of new tools for you all to try out, resources to use and articles to read. Keep an eye on my Twitter page for up-to-date details.
I also have a new Internet marketing program in the project pipeline as well, can’t tell you too much other than that you will love it, get ready for some serious viral traffic to come your way.
Till Next Time….
Dec 29th
In this article, developers identify common problems in porting custom business applications to Windows 7 from Windows XP or Windows Vista, and in taking advantage of the OS’ new features. Why make your own mistakes when you can learn from others’ experiences? Find out where the bodies are buried.
NOTE: This article was written By Esther Schindler – Dec 28, 2009 – I found it very interesting and thought i would just share it with you all.
My father-in-law once said that the best way to fix his old, broken-down car was to “Jack it up and drive a new one underneath.” Depending on the state of your software, that may be how you have to “update” an old Windows application: Replace it. One developer, Rob, has been trying to update a Windows XP Visual Basic 6 application for months and it’s turned into a complete rewrite. “We (foolishly, but we didn’t know better back then) used the registry for storing information, and the application always writes to the registry for all users. Not smart, but that’s how we did things back in the day,” he told me.
Before your company can migrate its computers to Windows 7, it has to make sure that all the business’ existing software will work with the new OS. Any custom application that crashes in Windows 7 testing will delay the migration, and if it was your code that crashed it might delay your vacation, too. (There’s nothing like getting a hairy eyeball from the boss, is there?) Even if your “legacy” code works fine under Windows 7 (ever notice that it’s “existing” code if they like it, but “legacy” when it’s too boring or expensive to maintain?), you might be called upon to do some code surgery, especially if someone sold the boss on adopting Windows 7 because of all it can do (from improved security to user interface improvements).
Rather than leave you on your own to figure out where the common problems are lurking, I asked for advice from those trying to make older applications work in Windows 7, and those who are updating older software to take advantage of Windows 7 features. Maybe this can save you from pain they endured.
I don’t mean to give the impression that code changes are always necessary. Several developers explained that software written for Windows Vista (and maybe Windows XP) generally runs without trouble in Windows 7. Plus, application migration isn’t always mission-critical because, say developers, the virtualization in XP-Mode does a good job. For instance, says Larry Zimbler, president of Liberteks.com, a real-estate client had an application that its manufacturer claimed would only work in Windows XP. The Windows 7 “Compatibility Mode” let it work without any extra effort. “This created great business value for the client,” says Zimbler. “She didn’t have to purchase a software upgrade and perhaps more importantly, all of her data and settings were restored exactly where she left off.” This is a boon for anyone supporting older applications. “Never before has the computer user had the flexibility of running old and new software as successfully,” Zimbler adds.
I only address custom applications in this article. Microsoft’s Windows 7 Compatibility Center lets you check on the compatibility status of commercial software applications.
At some point, though, you’ll want to make the software work the right way. Here’s a few things to look for.
Some of the pressure to fix applications is the result of the OS getting more efficient. Telecom developer Eduard Panteleev ran into trouble with a Windows XP application which uses lot of threads. The software would crash sometimes on Windows Vista (testing proved it to happen about once in 20 tries) when two application components were started at the same time. “With Windows 7, we were able to reproduce the issue once per three tries!” Panteleev says. The issue, he learned, was in bad architecture for one resource use by two or more threads. His conclusion is that Windows 7 is much better at managing threads and processes, particularly in comparison to Windows XP. That’s a good thing, overall (such as better CPU use) but it also means that dormant bugs may come back to bite you. “Now we are retesting our core product on Windows 7, even though our customers do not use Windows 7 yet,” says Panteleev.
Anil Parambath, VP of CSS Corporation’s Global Testing Practice identifies a few more complications:
In addition, says Parambath, many DLL, .exe, and COM objects have been deprecated. Obviously, if your software depends on them, you may run into issues. Microsoft does supply several tools for compatibility testing, he says, many of which can assist in determining the problem with this particular computer. Among them are the User State Migration Tool (to migrate user profiles to a new operating system), the Windows 7 Upgrade Advisor (which scans the PC for compatibility issues with hardware and device driver support), and the Compatibility Administrator Tool (which might help a developer identify admin privilege issues).
Your compliance requirements may not be as stringent as an independent software vendor who wants to qualify for Microsoft’s logo certification, but I can’t imagine that adhering to those guidelines are a bad idea. Explains Nisha Sudarsanam, lead developer for MindManager for Windows at Mindjet, one condition for Windows 7 Logo Certification is making sure the application saves open documents and user-data and then shuts down immediately when forced to by the Windows 7 Restart Manager. “We saw cases where MindManager would not shut down and thus fail this certification test. Specifically, our C# add-ins that use the MindManager COM API had to be re-factored to correctly release the COM objects (using System.Runtime.InteropServices.Marshal.ReleaseComObject instead of System.Runtime.InteropServices.Marshal.FinalReleaseComObject).” It would be a good idea to check the Microsoft guidelines to see if your application responds correctly to the specific Windows Messages sent by the Restart Manager, says Sudarsanam.
Also, Sudarsanam’s team found that some Windows7 features introduced a new dependency on the Windows 7 SDK during the build process, but the same build had to continue to work on other older supported OSes (Windows XP/Windows Vista). “We got around this by dynamically loading libraries at run time and using a specific function in a Windows 7 DLL only if that DLL was loaded successfully. Thus we avoided a hard-dependency on Win7 DLLs at compile time,” Sudarsanam says.
MindJet is a C++ application, so Sudarsanam’s team had to do things differently from available code samples when it came to creating the thumbnail views of different MDI tabs within the application. “Basically, for each thumbnail view we created a CWnd class that listened to special Windows 7 messages. On receiving this message, we then rendered the map in that tab in a small thumbnail-sized bitmap and then passed this thumbnail to the OS,” explains Sudarsanam. “This seems like the only approach to take if you want to support thumbnails in a C++ based MDI application.”
One important area of concern is less whether your application works with Windows 7, but whether it works with all versions. Andrew Badera, CEO of A Higher Efficiency, an Albany, NY based boutique tech consultancy, foresee developers struggling to move to 64-bit Windows. “Old projects need references updated, and strong-named assemblies need to be recompiled with the same key, or all strong-name references need to be edited,” Badera says. “It sounds silly and simple, but it’s actually a pretty big gotcha due to the way assembly binding issues don’t bubble up unless you’ve got Fusion fully logging assembly binds.”
Mindjet’s Sudarsanam probably would agree. Although MindManager runs as a 32-bit application on 64-bit computers, says Sudarsanam, “We needed to recompile a couple of DLLs in a 64-bit environment to get some features to work on 64-bit machines (e.g. our Windows search DLL that allows indexing of maps using Windows Search).”
If you’re lucky, your existing applications don’t need much or any help to run correctly under Windows 7, and your application testing project will confirm that the business’ custom applications are ready to be deployed. But if you’re going to write new software, shouldn’t it take advantage of the latest OS features?
Doing so might not be a big deal. Badera recently migrated some .NET applications for legal document auto-signing onto Windows 7 tablets (adding signature capture) from Windows XP and Windows Vista desktops. It was “nothing special” — which is what any developer wants to hear. “The taskbar gimmicks are really nothing special, and the rest of the development experience is akin to Vista (in terms of security manifest requirements and similar),” says Badera.
The flashier features may take a little more work, but the Windows development tools are prepared to make it easier for you to exploit those capabilities. Says Mike Rozlog, senior director of Delphi Solutions and technology evangelist for Embarcadero Technologies, having direct access to the Windows 7 native API can be very helpful. “In the latest Delphi and C++Builder 2010 editions, this corresponds to access to the Direct2D API/Interfaces. This gives the developers the ability to take full advantage of the canvas and manipulate it through a series of simple calls.”
The new features, such as Touch and Gestures, may require you to learn a few concepts first, however. Explains Rozlog, “Gestures are basic actions that can be performed by an input device, such as a mouse or finger. Common Gestures are flicking a finger to the right on the screen or flicking the finger to the left on the screen. Once these Gestures are performed and action must take place; think of it as the same process that happens when an end-user clicks a mouse, an action takes place after that.” Once you grasp Gestures, says Rozlog, Touch becomes just another input-device. But Rozlog has found many developers find the initial concepts hard to understand.
Once the understanding is there then Touch can be fairly simple. Mindjet’s Sudarsanam explains, “A lot of the Gesture support came out-of-the-box since Windows 7 maps the standard mouse events to gesture events, but we added a couple of custom gestures such as rotate for which we handled the new WM_GESTURE message.”
“For Delphi, you need two basic components to implement Touch, a GestureManager and an ActionManager,” says Rozlog. “GestureManager is a component that wraps the ability to create or use predefined gestures. Each Gesture (custom or standard) implements an Action,” he says. “The ActionManager component manages all the defined actions, thus making it very simple to wire the ActionManager’s actions to the GestureManagers, Gesture, Action. Finally, Touch needs to be applied to the controls of the interface.” (Before you wonder: If Touch-enabled hardware is not available, Delphi Touch enablement is smart enough to use the Gesture manager through the mouse.)
Most business software developers are just getting started testing their applications to ensure compatibility with Windows 7 and to plan for new applications to exploit the new OS. But perhaps you’ve already run into a few “learning experience” situations, and found workarounds or solutions that are worth sharing. Tell us about them in the comments, to prevent other developers from working deep into the night, fueled only by pizza, beer, and a looming deadline.
Dec 26th
I know i’ am a day late but i would just like to wish everyone a Merry Christmas and i really do hope all your dreams and goals for 2010 do in fact come true.
I have a very big year planned for 2010, and i will keep you all posted in the progress of my results. Bring on 2010 i say!
Dec 17th
Today I remember my mother – Patricia Frances Willson who died on the 17th Dec 2003 aged 60 yrs – Thinking of you Mum, always!
Dec 13th
Hey There Guys,
This is a recap from my last post regarding the Central Coast Mariners,,yes we lost the game 3 – 0 Melbourne Victory won. They did play a good game, our boys had plenty of opportunities however none of them work out.
My boss said i must be a jinks for the Mariners as every game i have been to so far the boys have lost. Be interesting to see the outcome for the New Years Eve game as i cannot make it, if they win i think i will just stay away and watch it on television….
Till next time
Dec 11th
Well its here, 7PM today (Saturday 12th) the Central Coast Mariners will have a huge game on there hands. We are playing Melbourne at home and I’m taking my son James to see the game.
I haven’t even told him hey, i have been a bit sneaky by telling him he is coming with me to help me with some work LOL, i know its cruel but i reckon when he finds out where we are really going he will be even more excited.
I will report on the outcome of the game when we return, wish us luck..