Reviewer is being a jerk, it's not that bad
It's seriously really bad
I feel like specs for web standards have two parts: | |
* solving the problems that the standard sets out to address | |
* solving the problems that the standard creates | |
The proportion between these two things reflects the overall quality of the standard. |
Hello, this is a gist. Do you get the gist? |
[11:23:50] <tkellen> oh man, i hate css so much | |
[11:23:55] <gregsmith> i do too | |
[11:24:08] <gregsmith> but i have completely conquered it and made it do my bidding | |
[11:24:16] <gregsmith> after years of combat | |
[11:24:46] <gregsmith> css is my crazy garbage dragon monster on a leesh | |
[11:24:54] <gregsmith> we're not "friends" |
When I was in high school I was forced to play football for the first time. I had kept my distance from what I now know is called the culture of masculinity that comes with these sorts of activities. I was bad at it, but that actually didn't matter. I vividly remember an argument about if I had stepped out of bounds. It was obvious that I had: I was staring at my feet, per usual.I said so. There was an insane shock. No one could believe that I would betray my team like that. I had no defense. I was just telling the truth as I had been taught to do from a young age. The thing is, the coach wasn't on my side. He told me I should have kept silent for the sake of my team.
Turns out not everyone is taught to tell the truth from a young age. The culture of masculinity teaches you to lie for the sake of your team. Only winning matters. Now I watch MRAs argue against feminism with the same reasoning. They don't care about honesty. They just want their team to win. I wonder if it's because they were taught that beati
button6.addEventListener('click', function() { | |
var red = 'red'; | |
var halfRed = 'hsla(0, 100%, 25%, 1)'; | |
var color = thing.style.color; | |
if (this.animating === undefined) { | |
this.animating = false; | |
} | |
if (this.animating === true) { | |
return; | |
} |
There is no risks document.
// A weird bug when you inherit from a constructor. You shouldn't | |
// inherit from a constructor but when I accidentally did I noticed | |
// this weirdness. | |
function Foo() {} | |
// this should be Object.prototype, or {}, or omitted completely, | |
// but certainly not the Object constructor. Still, what follows | |
// isn't exactly what you'd expect... | |
Foo.prototype = Object; |
function Parent() {} | |
var parent = new Parent(); | |
function Child() {} | |
Child.prototype = parent; | |
var child = new Child(); | |
// child inherits directly from parent. this makes sense. | |
console.log(child.__proto__ === parent); // true | |
console.log(child.__proto__ === Parent.prototype); // false |
// Code from http://lib.ivank.net/?p=demos&d=box2D | |
// These look like imports, but in JavaScript they are just busy-work. | |
var | |
b2Vec2 = Box2D.Common.Math.b2Vec2, | |
b2BodyDef = Box2D.Dynamics.b2BodyDef, | |
b2Body = Box2D.Dynamics.b2Body, | |
b2FixtureDef = Box2D.Dynamics.b2FixtureDef, | |
b2World = Box2D.Dynamics.b2World, | |
b2PolygonShape = Box2D.Collision.Shapes.b2PolygonShape; |