Kind likes

 Like

Liked Terence Eden (@Edent@mastodon.social)
Post details
In today's adventures of finding out weird things you can do with HTML… You should not put a `<style>` element anywhere other than the `<head>` So `<body><style> ...CSS...</style></body>` is an error. (It works, because browsers are tolerant.) But you *can* put a `<link rel="stylesheet">` element in a body. Obviously, that needs an *external* data source for the CSS. So you can cheat by Base64 encoding it! `<body><link rel="stylesheet" type="text/css" href="data:text/css;base64,LyoqCi…">`

 Like

Liked Jacky (is looking for work) (@jalcine@todon.eu)
Post details
Lukewarm take: using tabs instead of spaces isn't hard at all if you have a well-behaving editor. In my experience of a week now, it makes the resizing of code even a bit easier (you can make its width two spaces in more narrow views and expand it to four in larger ones). It sucks that it's hard to do this with Python. TBH it seems like it was a mistake for PEP8 to recommend (and in a way, enforce) the use of spaces. A bit of a "heated" discussion at https://stackoverflow.com/questions/120926/why-does-python-pep-8-strongly-recommend-spaces-over-tabs-for-indentation