Reputation
223
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 8
Newest
 Yearling
Impact
~3k people reached

  • 0 posts edited
  • 3 helpful flags
  • 33 votes cast
Jul
15
awarded  Yearling
Jul
15
asked Is progressive HTTP download a viable alternative to HLS/DASH/RTMP for providing live video?
Jun
25
comment What does it mean to “define a profile” in the context of an Internet RFC?
@MichaelT Specialised jargon is all well and good, but I expect it to be precisely and explicitly defined. In this case, though, the jargon seems to be near-unique to the IETF, and they don't define it anywhere at all. Jargon like that gets in the way of clear communication instead of enabling it.
Mar
7
comment How does fair use apply to code snippets?
@Huperniketes, you claim I am making idiotic assertions without knowing the material when I have asserted nothing about the law. You are the one making the legal claim - that, contrary to a plain English reading, your italicized passage shows that copying code snippets into software can never be fair use. I am sceptical of that claim, but sure, I don't know any case law to support or disprove it. Which is why I'm not making factual claims. The burden of evidence is on you if you want to be believed, but you've chosen to sneer at and insult those who neutrally ask you to show evidence.
Feb
20
comment How does fair use apply to code snippets?
And what qualifications do you have to "expound on the law", @Huperniketes? You've written this as though you are quoting an authority that definitively shows copying code not to be fair use, but in fact you're just performing your own interpretation of statute without even citing any case law.
Dec
9
awarded  Autobiographer
Dec
8
awarded  Popular Question
Sep
13
comment Function only returns unchanged parameter, useless?
Yes, though it's worth noting that the doctstring of the function posted by the OP does not suggest that this is the purpose of the function in his case.
Sep
7
asked Why does “charset” really mean “encoding” in common usage?
Dec
8
awarded  Editor
Dec
8
revised Is changing the type of a variable partway through a procedure in a dynamically typed language bad style?
deleted 1 characters in body
Apr
1
comment Is (1/(1/x)) always a perfect round trip?
So many terrible answers here, but this one actually addresses the specific question that was asked. I can't believe the sheer number of people who just said 'no, because of floating point precision' and thought that was good enough, without any proof or examples to show that the rounding errors from the two reciprocations wouldn't always cancel out (or as you would put it, that some non-fixed points of double-reciprocation of mantissas exist :P). A big +1, although this feels a little terse and intimidating at present.
Apr
1
comment Is (1/(1/x)) always a perfect round trip?
-1, because you've just explained how the limited precision of floating points can lead to rounding errors without showing, or even trying to show, that it can cause the specific problem the question asked about. Without either a little testing or a little mathematics, it's pretty non-obvious to me whether the rounding error on the second division will cancel out the rounding error on the first division sometimes, always, or never.
Apr
1
awarded  Critic
Feb
20
accepted Is changing the type of a variable partway through a procedure in a dynamically typed language bad style?
Feb
18
awarded  Scholar
Feb
18
comment Is changing the type of a variable partway through a procedure in a dynamically typed language bad style?
This seems like a reasonable objection, and I think I'll try to phase this kind of style out of my code. Followup: how would you name different variables that conceptually refer to the same thing, but with different types? Hungarian notation is kind of ugly, and trailing types (like having response_addurlinfo, response_str, response_dict) are uglier still. What do you do?
Feb
17
asked Is changing the type of a variable partway through a procedure in a dynamically typed language bad style?
Feb
9
comment Is declaring fields on classes actually harmful in PHP?
@Deco Not comparable because abandoning an entire language is a much larger change than just commenting out declarations in PHP. Jarrod's answer is useful because - while I query or challenge parts of it - it points out some actual downsides, none of which I knew about when I posted the question. A better comparison - were it not for the tool-related downsides - would be something like using "use strict" in Javascript. Yes, you can always say it's pointless because you'd rather just not make the errors it protects you from by being a flawless human, but I'll take the help if it's free.
Feb
8
awarded  Commentator