UWP Windows 10 App memory increasing on navigation

Every time you navigate to a Page, you create a new instance of Page, but the previous Page is not disposed (even if the Page is already in the navigation stack). To prevent multiple allocation of same page, set NavigationCacheMode=”Enabled” attribute to the Page. Also, to minimize the memory allocation, you must override method OnNavigatedTo … Read more

Matplotlib Savefig will NOT overwrite old files

TLDR: The photos WERE being overwritten, but the date was kept the same as the original file, due to a quirk of windows when a folder has lots of photos. Jon’s answer from 10/2/2015 did the trick for me. https://superuser.com/questions/147525/what-is-the-date-column-in-windows-7-explorer-it-matches-no-date-column-from/335901#335901 Basically windows detects lots of pictures in a folder and “optimizes” said folder for pictures. … Read more

Attempting to resolve blurred tkinter text + scaling on Windows 10 high DPI displays, but concerned my approach is not Pythonic or is unsafe

Simply using from ctypes import windll windll.shcore.SetProcessDpiAwareness(1) and allowing font size adjustment solved my problems on Windows 10. Not sure why no one commented or assisted though. The blurry fonts are a pain, I would expect this thread had a debate and a best solution for this Tkinter nuisance..

Taming the automatic telephone number thing in the windows 10 edge browser

Apparently phone number detection was introduced in Internet Explorer 11, but not on desktops. Here are ways to control it, taken from this MS article: Phone number format recognition To disable the behavior for an element (and its child elements), set the x-ms-format-detection attribute to “none”. To disable the behavior for a webpage, use the … Read more

How to execute Process commands (or similar) using a Universal Windows Platform (UWP) App?

There are – limited – ways to achieve similar behavior. You could use LaunchUri to trigger other apps which registered for a certain URI-Scheme. This should work for your webbrowser scenario. More details here: https://msdn.microsoft.com/en-us/library/windows/apps/windows.system.launcher.launchuriasync.aspx You could trigger another app and get results back from it using LaunchForResults. The called app has to support this. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)