968 reputation
46
bio website
location
age
visits member for 3 years, 2 months
seen Nov 22 at 17:02

Oct
15
comment Technique to deal with occasionally blocking json api?
Are you using synchronous ajax calls? Asychronous ajax calls should never block. It is generally bad form to blindly auto-retry something (without special back-off logic) that is going slowly as this can lead to avalanche failure. System is slow so responses are slow so all clients start bailing and auto-retrying which makes system even worse and things get worse and worse (thus called an avalanche failure - the worse the system is the worse the clients treat it, the worse the system gets until failure).
Oct
14
comment Can *any* program task be expressed without state?
Whether or not there is state that persists from one point in time to the next is not dependent upon what programming paradigm you use, but on what problem or task you are coding. If you are counting the number of times a button is clicked, then clearly there is state to record that counter and it doesn't matter what coding technique you use, there will have to be state to keep track of the count during the process. So, that particular task cannot be completed without state along the way no matter how you code it.
Oct
14
comment Can *any* program task be expressed without state?
A relevant StackOverflow answer: stackoverflow.com/questions/3722084/…
Sep
2
awarded  Yearling
Jun
19
answered What determines which Javascript functions are blocking vs non-blocking?
Apr
26
answered Multi-Threaded JavaScript?
Feb
25
awarded  Caucus
Feb
13
comment Is it called an instance in Javascript?
I didn't say it was an instance of the foo constructor's prototype. I said it was an instance of the prototype. The prototype is the template for the object and using new makes an object from the prototype and calls the constructor.
Feb
13
answered Is it called an instance in Javascript?
Nov
18
comment Would it be a good idea to work on letting people add arrays of numbers in javascript?
That's the hardest way to go. To get something added to all browser's javascript engines, you would need to build momentum behind a ECMAScript standard's effort since this stuff is pretty much driven by standard's bodies now. You could start with an library that could extend the Math object (there are many out there already), though that isn't going to add new operators like ^ to the language.
Nov
18
comment Would it be a good idea to work on letting people add arrays of numbers in javascript?
Is the desire for this added functionality for your own local javascript use, your own javascript pages that will render only in one browser, your own local javascript pages that must work in all popular browsers, a desire to improve javascript for all?
Sep
2
awarded  Yearling
Aug
13
answered Multiple javaScript libraries | Emerging standards - compare to C++
Jun
11
answered what is the difference between the below two syntaxes?
Mar
29
revised How is JavaScript insecure, and what are the main methods used to deal with that?
added 82 characters in body
Mar
29
answered How is JavaScript insecure, and what are the main methods used to deal with that?
Mar
7
comment API access question
It is not clear to me what your objective is. You have a public API. What usage restrictions are you trying to enforce on the public API?
Mar
7
comment API access question
A referrer header can be set to anything by a programmer so it provides no real security.
Feb
6
awarded  Editor
Feb
6
revised Returning an object or false in dynamic languages
added 78 characters in body