Using Serilog is a bliss. There is one good thing I like about this is to use the Serilog.Metrics nuGet package to put some timed logging around the operation which can further be used for Audting purposes during optimization or code refactoring.
Here is the syntax for using this feature (notice the using block) : Read more ›
So here is the fix which I applied to make sure my test case integrity is unharmed.
Read more ›
Pogo charger cradle for Samsung Galaxy 8 Active
Recently, we were reported about an issue where the Android app was seemingly crashed as soon as the Device (Samsung Galaxy 8 Active to be specific) was mounted or unmounted on to the cradle with Pogo charger. Those who are unaware of Pogo charger, it is an after market charging alternative which claims to speed up the device charging up to 40% faster and more.
At first sight, it looks like some issue with user settings or something funny like that but upon testing we found it to be the case.
There were no such incidents reported over internet or any such solutions in sight as well. Even Samsung reported about such incidents been reported to them via support calls.
Root cause: This is the case where the docking/undocking of the device on to the cradle i.e. Pogo charger connect or disconnect, caused “android.intent.action.CONFIGURATION_CHANGED” event to be broadcasted to the application and caused refresh and in some cases even crashing the app.
Our app is hybrid app compiled with Cordova but that’s immaterial as the issue was happening at operating system level. This can be fixed very easily if the handling for the “uiMode” been specified in the Android manifest. That’s it. Really.
Read more ›
As per my research on internet, about how property investors should be approaching and optimising their planning for tax season, I found the following tips and thought of sharing it here. Even for me ti is easy to read from here instead of searching again on google.
1. Initial repairs
A common mistake is to claim initial repairs or capital improvements as an immediate deduction. Initial repairs to rectify damage, defects or deterioration that existed at the time of purchasing a property are generally considered capital in nature and not deductible, even if conducted to make the property suitable for renting.
A better approach could be to claim depreciation on this expenditure as a capital works deduction over 40 years. Read more ›