How To Archives

The main subject of this site: how to get something done, further divided by tags.

Linux crash forensics: how journalctl, coredumpctl and one stack trace solved a desktop mystery

When my 2011 MacBook Air started crashing its entire desktop every time a new app launched, the obvious suspect was the app. Three wrong theories later, journalctl, coredumpctl and one stack trace led to a confirmed upstream Mesa bug — and a one-line workaround. A practical tour of Linux crash forensics: the tools, the reading skills, and the discipline of letting evidence outrank a good story.

Why your PowerShell script suddenly “cannot be loaded” in VS Code (when it ran fine 30 minutes ago)

A PowerShell script that ran fine 30 minutes ago suddenly “cannot be loaded because running scripts is disabled”? You probably didn’t change anything — you changed terminals. VS Code has two nearly identical PowerShell consoles, and only one of them obeys the execution policy.