News for hackers. Stuff that matters.
Re:A Love Letter to Tinkerable Software by hrmmm on Thursday January 11, 2024 @09:08PM (#38962685)
Playing with browser developer tools and always seeing obfuscated JavaScript makes me sad. I'm not a web developer, but I suspect the security gained is low enough to fall within the author's "unnecessary constraints."

On the other hand, there are projects like https://github.com/rxi/lite Its scope and layout makes it extremely tinkerable.

Re:A Love Letter to Tinkerable Software by steve_adams_86 on Thursday January 11, 2024 @09:20PM (#38962780)
I think a lot of obfuscation seen these days isn’t about security, but is a side effect of minifying code (which usually is worthwhile).
Re:A Love Letter to Tinkerable Software by mhitza on Thursday January 11, 2024 @09:28PM (#38962859)
While there is a slight difference that can add up (if text assets bandwith factor well into your traffic), I prefer to push out brotli compressed unminified js/css nowadays. Makes it easier to understand JS issues on prod as well.
Re:A Love Letter to Tinkerable Software by steve_adams_86 on Friday January 12, 2024 @01:40PM (#38972068)
You might be aware already but you can set up monitoring services which host your source maps (you can deploy versioned source maps to the service when your deploy your code), so you can get errors in the monitoring app which are pinned to the correct parts of your source code. It's a bit of legwork and complexity, but useful if you already use something like sentry. If you don't, what you're doing is likely a better solution.