Saturday, December 19, 2015

If you berate people for not coding to "pep8 standards" in their projects, you're toxic.

The other day, somebody on a skype group chat of people who host Space Station 13 servers berated the Space Station 13 development community in general because some of the server to irc python bots going around weren't up to "Pep8 Specifications".

Pep8 is document number 8 of the "Python Enhancement Proposals" A series of documents governing the development work on the python project, This particular document is the document that specifies the code standards and styles requirements of all python code submitted to the python standard library.

Or in other words, it is the standards for a particular project governing things like tabs vs spaces, and what not.

So let's jump back to our toxic user in the skype chat.

They basically went to a open source project, and berated them for not having the exact same code standards as some other open source code project.

Not only that, They basically acted like pep8 is the only syntactically valid way of writing python code. Hell there is a good chance they thought that is true.

They saw some "standards document", and saw code that didn't abide by it, and rather than go, "Hmm, I wonder why all this code doesn't live up to this document, I should ask the skype chat.". No, they went "Oh, this code is inferior, the coders who wrote is are inferior, and I'm gonna berate them for that.".

That is the mindset of toxicity, They jumped to using Pep8 to prop themselves up and look down on other people.

Its sad really.

Websites that break middle click are evil

So today I was browsing reddit and saw a post that linked to a tweet that contained two images.

I wanted to send those images to a friend on steam, but I didn't want or care about the tweet, I just wanted to send the images.

If I clicked them, I'd get some in page lightshow box with the images... lame and not helpful.

If I middle clicked them, nothing would happen.

If I just used the images embedded in the tweet page, it would be the small thumbnail.

I tried forcing mobile, thinking that would work, but only one image would show, and clicking it forced me back into desktop, and showed the light box.

Seriously, It is not fucking hard to make a page with some fancy pop up box that can fall back to opening the content in a tab on middle click or if javascript is disabled.

You make it an a href link with a real url, do your fancy shit on the onclick= event, and browsers will fall back to opening the url in your link on middle click, and doing the onclick action other wise.

#woah

Was that so fucking hard?

Yes, your fancy desktop application like web page is nice, but you know what's nicer? Tabs.

I didn't get 16GB of ram for my desktop for your website to forbid me using that ram on chrome tabs. Come on!