Case studies
#powershell#debugging#windows#electron#docker#pterodactyl#python#csharp#wpf#bash#security#cpp#git#performance#ci#nodejs#pyside6#react-native
2 posts · #performance
Clear filters·5 min read

DailyBrief · Story
My workspace on G: was invisible to DailyBrief, and the fix exposed a 3 minute scan
Every scan root was hardcoded under the user profile, so a workspace on another drive never showed up. Making folders configurable meant fixing a walk that entered every node_modules first.
In short
- The scan roots were a hardcoded list of folders under %USERPROFILE%, so a workspace on another drive was invisible to every script.
- Get-ChildItem -Recurse entered every nodemodules and .git folder and filtered the results afterwards; the source comment in core/walk.ps1 puts that at three minutes per monitor run on G:\Desktop.
- A shared roots.ps1 now feeds every script, a pruned walk never enters dependency folders, and removing a folder no longer triggers a full rescan.
#powershell#filesystem#performance#electron
·6 min read

Movix · Story
I tried ISR for Movix, and the language cookie said no
I wanted popular watch pages served from cache. Reading a language cookie made every page dynamic, so after a restructure, a revert and a try and catch, I chose force-dynamic on purpose.
In short
- The site stores the chosen language in a cookie and reads it in the root layout and the page. Reading cookies makes a route dynamic, which collides with ISR.
- I tried a restructure, reverted it, then wrapped the cookie reads in try and catch, and decided within three minutes that this only hid the conflict.
- The final choice is force-dynamic, a deliberate trade for one server and a bounded catalog.
#nextjs#isr#caching#performance