I am a web developer. Tech-wise, I focus on high-performance UI programming and web accessibility. I used to do UX but I hated it and stay firmly on the execution side of the fence these days.

Jul
17
comment Why in Angular when using back button on the browser my promises return before resolve with previous value?
Has anyone really been far as decided to use even go want to do look more like?
Jul
16
comment Disabling some jQuery global Ajax event handlers for a request
@Jon - fair enough - if the docs give an example of us using the object in that way, it seems we should be able to rely on it. I might still be tempted to prefix my field name to avoid the slight chance of a naming collision someday, though.
Jul
15
comment Disabling some jQuery global Ajax event handlers for a request
Adding fields to an object we don't actually own seems... icky.
Jul
13
awarded Nice Question
Jul
9
comment HTML iframe - disable scroll
@Linus - unfortunately, that shouldn't work, and any browsers in which it does work are non-conformant : overflow should not be applied to replaced elements like buttons, form elements and iframes.
Jul
2
comment To MVC or not MVC, that is the question
Maybe your issue is the common observation that Backbone is a very boilerplate-heavy solution. Which may be why it has been superceded in the intervening years.
Jun
23
awarded Yearling
Jun
23
awarded Yearling
Jun
21
comment How to either determine SVG text box width, or force line breaks after 'x' characters?
I have written a library that essentially does just this, named raphael-paragraph. See my answer below.
Jun
21
answered wrap text to fit into a rectangle : raphael
Jun
7
comment Should AudioBufferSourceNode.stop() need a 'this' binding?
In Chrome, oscillator.stop did not like me giving it non-integer timeouts. They would fail to fire, but without throwing exceptions. I assume this is a Chromium bug.
Jun
6
revised Should AudioBufferSourceNode.stop() need a 'this' binding?
added 55 characters in body
Jun
6
accepted Should AudioBufferSourceNode.stop() need a 'this' binding?
Jun
6
comment Should AudioBufferSourceNode.stop() need a 'this' binding?
I guess that's what I wanted to confirm - that I should assume that BOM methods need the same kinds of binding. Now I think of the document.getElementById case, it seems fairly obvious now.
Jun
6
comment Should AudioBufferSourceNode.stop() need a 'this' binding?
I think you misunderstand; I understand perfectly well how this binding works and how it gets lost with function pointers in JavaScript. What I don't know is if this should be happening with a BOM method that could be calling native code under the hood, or simply an implementation detail in Google Chrome.
Jun
6
revised Should AudioBufferSourceNode.stop() need a 'this' binding?
added 24 characters in body
Jun
6
comment Should AudioBufferSourceNode.stop() need a 'this' binding?
I understand what is happening with the this binding - but I don't know if this is an implementation detail in Chrome or if it's how I should expect the API to work? Especially given that .stop() could be native code rather than JavaScript (and therefore not be subject to the same binding behaviour as JS)
Jun
6
asked Should AudioBufferSourceNode.stop() need a 'this' binding?
Jun
4
comment Should I tell on my colleague for not keeping to assigned work-hours and abusing work-hours as break time?
"So while he's out getting coffee I log into his time account using his credentials to check if he's stamped out. He never is." - in many companies, this kind of behaviour is a dismissible offence, even if it isn't explicitly prohibited by policy. Be very careful about the 'evidence' you give HR, else you may find that it's you who gets fired first.
Jun
4
comment What should you test with unit tests?
+1 for "qualitative answers are useful, but it is possible - and preferable - to be quantitative"
1 2 3 4 5