Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
locci
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
locci
14y ago
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 scientist from 1975 onw
2.
▲
by
locci
14y ago
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 some kind of broader
3.
▲
by
locci
14y ago
bind was introduced in ES5 (and previously in most libraries) to fix this https://developer.mozilla.org/en-US/docs/JavaScript/Referenc...
4.
▲
by
locci
14y ago
They don't even dodge, which is the staple movement in UT games.
5.
▲
by
locci
14y ago
Soren Johnson talks about AI cheating in "Playing to lose: AI and Civilization" http://www.youtube.com/watch?v=IJcuQQ1eWWI&feature=playe...
6.
▲
by
locci
14y ago
I'm no pythonist, but I think setdefault would be perfect for the case http://docs.python.org/library/stdtypes.html#dict.setdefault
7.
▲
by
locci
14y ago
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...
8.
▲
by
locci
15y ago
this reminded me of http://web.me.com/agueniot/Data/Flash/cven.html
9.
▲
by
locci
15y ago
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 because it highlight
10.
▲
by
locci
15y ago
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.
11.
▲
by
locci
15y ago
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 changes in global variable
12.
▲
by
locci
15y ago
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 default break encapsulati
13.
▲
by
locci
15y ago
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. [1] http://care.diabetesjournals.org/content/17/2/152
14.
▲
by
locci
15y ago
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 as content farm popund
15.
▲
by
locci
15y ago
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 most basic sense of resp
16.
▲
by
locci
15y ago
Ken Kutaragi, ex CEO of SCEI, around 2006 declared the new Playstation 3 would be 4D.
17.
▲
by
locci
15y ago
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 expose your guts). The
18.
▲
by
locci
15y ago
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 and chrome rather than
19.
▲
by
locci
15y ago
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 to run a script right
20.
▲
by
locci
15y ago
I think he meant faster as in executed before, rather than in executed faster.
21.
▲
by
locci
15y ago
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 the long run". To conti
22.
▲
by
locci
15y ago
Yeah, but what if someone comes up with a 9-click checkout? http://www.imdb.com/title/tt0129387/quotes?qt=qt0410938
23.
▲
by
locci
15y ago
I really hate this damned machine I wish they would sell it. It never does quite what I want But what I tell it.
24.
▲
by
locci
15y ago
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 of named function exp
25.
▲
by
locci
15y ago
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 the old (v3) spec, yo
26.
▲
by
locci
15y ago
This sounds a lot like what gobolinux is doing [1] with its filesystem/package manager. Did you ever incur in more trouble than it was worth with that approach? Making the filesystem the actual package database rather than a snapshot of wha
27.
▲
by
locci
15y ago
when there's a problem and you don't know how to fix it, you pass a law
28.
▲
by
locci
15y ago
I just tested with Firefox portable 3.0.0 and it looks like it was already fixed then (June 2008).
29.
▲
by
locci
15y ago
Because [] is not syntactic sugar for new Array. The code the article wrote about doesn't work in any implementation that I know of. I think the ESv3 spec wasn't very clear: "Create a new array as if by the expression new Array()." But the
30.
▲
by
locci
15y ago
You reminded me of Stephen Colbert's on AT&T http://www.youtube.com/watch?v=rsCp-1hgfxI
More ›