9 times out of 10 this type of issue is related to only a few of things. 1) Something isn't being properly initialized (especially common in loops; where do you initialize/reset conditions) 2) you are calling routines and not careful about parameter passing (value vs reference) 3) You've an error that for some reason is "swallowed". My first week on my current job I added an Unhandled Exception Handler to a troublesome Windows Service. It was very enlightening. 4) the Context has changed between your calculation loop and the validation (have seen issues with the same name used in different namespaces and the code was actually executing 2 different code sets) This are a bear to track down. Often the best way to find the bug is swallow your pride and get a junior person to sit with you and explain your code to him. The 2nd set of eyes, rethinking the code as you explain it and sometimes "dumb" questions will highlight your problem. I ate crow recently after swearing my code was solid and it "had" to be a data issue, a code review with a person my junior caused me to spot the bad code I had passed over 100 times while trying to fix the bug.
jeb1217
Posts
-
I need to exorcise my computer from voodoo -
Question for you electronic DIY peopleI'm a engineer and has done may projects over the years from amps for my home sound system to computer servers, motion detectors and things in-between. One thing I found is although fun, pure DIY isn't always the most cost effective answer. In your case I'd be tempted to by an off the shelf sensor for the rooms and focus my energies on the smart thermostat itself giving it features and abilities not found elsewhere. I use a smart thermostat and smart vents in the home for climate control. Both systems offer temperature sensors running about 30e-35e. Although they do use batteries in 1 yr, never had to change one (uses cr2032 <1e each). Focus on the fun unique parts of your project and shortcut the other parts. I do the same when cooking
-
SQL Server Environments - How far back do you test?We lay out a upgrade schedule our clients must adhere to. Our code verifies server versions and will only run it the version is at a certain level or better. The client can opt not to upgrade to the current level our our software to continue using an old version but at some point they'll lose support for our code if it gets too far out of date. It's the only way we found to make things reasonable. We need to develop against the current (and up coming versions) of Windows and the Database, we can't also maintain 10 versions back, things have changed too much over that period. We allow support of our current code and one major version back. When they upgrade our code it forces the upgrade on its dependencies.
-
Dumb Old Program QuestionI have found often with this type of behavior going from an old OS to Windows 10, problem is often related to security. Even running as Administrator does not always give you access to write. In the past creating the destination folder and adding explicit permissions to the account to have full control and turning off inheritance makes a difference. Given the age of the code there may be missing com objects or DLLs that are no longer part of the Windows 10 OS. These problems are a bear to resolve but with the correct tools you'll learn what's generating the error.
-
Office 2019 or 365?I prefer Office 20?? for personal use but have Office 365 because the monthly pricing, a family licensing option and integration with my server, laptop and phone makes life easier. Biggest factor is the price. Can you image the cost for yourself, wife and kids if you were using Office 2019 on all the devices at home not to mention software updates.
-
Backup...I totally agree. The old photos will never change and if it is just for backup, I'd burn double layer Blu-rays with 50Gb on each. After the initial backup you only need to burn the new files. Copy the discs and give them out to your family. Serves as an off site backup and makes them happy.
-
What would you do? when you feel like..I agree
-
Converting DVDs/BDs to MPEG4 - WITH subtitlesTry ConvertToVideo from ConvertXtoVideo - Convert videos to AVI, MKV, DVD, iPad, etc.[^] They have a 7 day free trial and their price for a license is only $39.99USD. I bought their suite years ago and have been very happy with it and keep all their packages up to date. The trial version is fully functional so you can see if it does what you want. They have various other packages for different types of conversions. If this done doesn't do what you need perhaps another will.