3,484 karma · joined October 24, 2011
> We all realise that that would be ~so much better~.
If tildes are omitted, then I have not intended to be sarcastic.
If you're looking at my profile to see which gender you should use to refer to me, go ahead and use the male gender.
https://www.willmcgugan.com/blog/tech/post/from-open-source-...
Can anyone recommend any other books or courses to learn systemd?
"Open source" is defined by the Open Source definition according to the OSI [1]. In saying that, I realize that every couple of years somebody tries to claim that their understanding of the term "open source" should trump the one the community has settled on. I personally am not ready to acquiesce to this semantic drift, at least, not yet.
It sounds like you disagree with his advice. How would you motivate people to persevere instead? What advice would you give people so that they make enough money to live on?
Take this template:
<h1>{{ title }}</h1>
In most templating languages, for a title of "<script>alert();</script>", the result will end up being: <h1><script>alert();</script></h1>
In PHP, which is a templating language, the equivalent seems to be: <h1><?php echo $title; ?></h1>
But this will print the title unescaped, which is a security vulnerability, and incorrect. In reality, the equivalent is: <h1><?php echo htmlspecialchars($title); ?></h1>
Now, you could say, don't use PHP as a templating language! But if you're not supposed to use PHP as a templating language, why does it behave as one? This is one of PHP's footguns to be avoided. Personally, I recommend a linter like PHPCS to catch issues like this one.https://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-...
It references this blog post:
https://meta.ath0.com/2007/10/23/cleaning-up-bash-customizat...
Source: https://support.brave.com/hc/en-us/articles/4409406835469-Wh...
> If you opt-in to the Web Discovery Project, your browser will process the following data on your device, and securely send it to Brave’s servers:
> - A fraction of the addresses (URLs) of the web pages visited in the Brave Browser, along with engagement metrics (how much time is spent on the page)
> - [...]
Surprisingly, google.com is not on this list: https://hstspreload.org/?domain=google.com
Congratulations to Debian on upgrading to Python 3!