She was involved in a scandal involving a drug called Cronassial, a pharmaceutical industry called Fidia and the Nobel committee. Through various donations, Fidia (at the time a small pharmaceutical company) used the…
I have always thought the point of this kind of questions is that as a candidate you are supposed to provide the right answer which you are expected to provide despite all the ambiguities. This, I guess, should measure…
bind was introduced in ES5 (and previously in most libraries) to fix this https://developer.mozilla.org/en-US/docs/JavaScript/Referenc...
They don't even dodge, which is the staple movement in UT games.
Soren Johnson talks about AI cheating in "Playing to lose: AI and Civilization" http://www.youtube.com/watch?v=IJcuQQ1eWWI&feature=playe...
I'm no pythonist, but I think setdefault would be perfect for the case http://docs.python.org/library/stdtypes.html#dict.setdefault
it seems there are many tricks you can use: check out the first reply here () (explaining the batman equation) () http://math.stackexchange.com/questions/54506/is-this-batman...
this reminded me of http://web.me.com/agueniot/Data/Flash/cven.html
I tend to use document.forms['foo'].elements['bar'], here's why: I use the elements collection because the behaviour of adding each input as a property to the parent form element is a mistake. I use the bracket notation…
Oh, I see. And you fiddle with globals by manipulating the window/exports object, which I assume are reserved identifiers. Thanks a lot for clarifying that, it doesn't look that bad this way.
Yes, I probably wasn't very clear: what I meant is that a programmer writing a function somewhere in a program must have a complete knowledge of the scope where the function is and will be in the future, including…
I think this is a recurring discussion from the dawn of coffeescript. See for example: https://github.com/jashkenas/coffee-script/issues/238 I really don't understand why this isn't being fixed: doesn't global by…
After reading "A Mathematical Model for the Determination of Total Area Under Glucose Tolerance and Other Metabolic Curves"[1] I am unable to see any malice in this sort of things.…
Google is a search engine, not a content provider: the less time I spend on it, the better it works. On a personal note, I very much dislike the walls facebook builds around its experience: it annoys me almost as much…
He left all that in a parked car? The faith people on the other side of the Atlantic put in strangers astonishes me every time. Leaving the keys to your car inside the car, leaving the front door open go against the…
Ken Kutaragi, ex CEO of SCEI, around 2006 declared the new Playstation 3 would be 4D.
This is one of the reasons javascript should be used both on the server and the client. The server would offload as many procedures to the client as possible (that is none if js is disabled, some if you don't want to…
Popular browsers are "dragged down to 100" by the mass of people who install the browser because of techie friends, or fashion. In the second graph you can notice there are many more high IQs individuals using firefox…
actually, the script doesn't make any sense because it would be executed as soon as the browser is idling, that is after it has rendered the dom completely, that is when the DOMContentLoaded event fires. The right way…
I think he meant faster as in executed before, rather than in executed faster.
The same argument could be made about structured programming: "Why should I restrict my programs to have one entry point, one exit point and a single flow?" The answer is "Because it helps you to manage complexity in…
Yeah, but what if someone comes up with a 9-click checkout? http://www.imdb.com/title/tt0129387/quotes?qt=qt0410938
I really hate this damned machine I wish they would sell it. It never does quite what I want But what I tell it.
FWIW, javascript implementations all behave very similarly surprisingly. There are some quirks of course, like JScript not accepting trailing commas, not allowing array like access to strings and leaking out the names…
I completely agree with you, but I would use "foo === undefined" for locals and "this/window.foo === undefined" for globals. You can also test for "== null", if you don't care for null values. Of course due to a bug in…
She was involved in a scandal involving a drug called Cronassial, a pharmaceutical industry called Fidia and the Nobel committee. Through various donations, Fidia (at the time a small pharmaceutical company) used the…
I have always thought the point of this kind of questions is that as a candidate you are supposed to provide the right answer which you are expected to provide despite all the ambiguities. This, I guess, should measure…
bind was introduced in ES5 (and previously in most libraries) to fix this https://developer.mozilla.org/en-US/docs/JavaScript/Referenc...
They don't even dodge, which is the staple movement in UT games.
Soren Johnson talks about AI cheating in "Playing to lose: AI and Civilization" http://www.youtube.com/watch?v=IJcuQQ1eWWI&feature=playe...
I'm no pythonist, but I think setdefault would be perfect for the case http://docs.python.org/library/stdtypes.html#dict.setdefault
it seems there are many tricks you can use: check out the first reply here () (explaining the batman equation) () http://math.stackexchange.com/questions/54506/is-this-batman...
this reminded me of http://web.me.com/agueniot/Data/Flash/cven.html
I tend to use document.forms['foo'].elements['bar'], here's why: I use the elements collection because the behaviour of adding each input as a property to the parent form element is a mistake. I use the bracket notation…
Oh, I see. And you fiddle with globals by manipulating the window/exports object, which I assume are reserved identifiers. Thanks a lot for clarifying that, it doesn't look that bad this way.
Yes, I probably wasn't very clear: what I meant is that a programmer writing a function somewhere in a program must have a complete knowledge of the scope where the function is and will be in the future, including…
I think this is a recurring discussion from the dawn of coffeescript. See for example: https://github.com/jashkenas/coffee-script/issues/238 I really don't understand why this isn't being fixed: doesn't global by…
After reading "A Mathematical Model for the Determination of Total Area Under Glucose Tolerance and Other Metabolic Curves"[1] I am unable to see any malice in this sort of things.…
Google is a search engine, not a content provider: the less time I spend on it, the better it works. On a personal note, I very much dislike the walls facebook builds around its experience: it annoys me almost as much…
He left all that in a parked car? The faith people on the other side of the Atlantic put in strangers astonishes me every time. Leaving the keys to your car inside the car, leaving the front door open go against the…
Ken Kutaragi, ex CEO of SCEI, around 2006 declared the new Playstation 3 would be 4D.
This is one of the reasons javascript should be used both on the server and the client. The server would offload as many procedures to the client as possible (that is none if js is disabled, some if you don't want to…
Popular browsers are "dragged down to 100" by the mass of people who install the browser because of techie friends, or fashion. In the second graph you can notice there are many more high IQs individuals using firefox…
actually, the script doesn't make any sense because it would be executed as soon as the browser is idling, that is after it has rendered the dom completely, that is when the DOMContentLoaded event fires. The right way…
I think he meant faster as in executed before, rather than in executed faster.
The same argument could be made about structured programming: "Why should I restrict my programs to have one entry point, one exit point and a single flow?" The answer is "Because it helps you to manage complexity in…
Yeah, but what if someone comes up with a 9-click checkout? http://www.imdb.com/title/tt0129387/quotes?qt=qt0410938
I really hate this damned machine I wish they would sell it. It never does quite what I want But what I tell it.
FWIW, javascript implementations all behave very similarly surprisingly. There are some quirks of course, like JScript not accepting trailing commas, not allowing array like access to strings and leaking out the names…
I completely agree with you, but I would use "foo === undefined" for locals and "this/window.foo === undefined" for globals. You can also test for "== null", if you don't care for null values. Of course due to a bug in…