94,677 reputation
23210368
bio website linkedin.com/in/…
location Lancaster, CA
age
visits member for 4 years, 6 months
seen 1 hour ago

Pythagorean Theorem

http://www.davis-inc.com/pythagor

Copyright © 1998 by Davis Associates, Inc. All Rights Reserved


Apr
11
comment Pooling (Singleton) Objects Against Connection Pools
I think that running a profiler would provide a great deal of insight.
Apr
11
comment What is State, Mutable State and Immutable State?
I think of state as the value of some property of some entity. "Shipped" is a state. So is "Tax Rate." The weight of something is a state. Whether you are currently awake or asleep is a state. The color of something is a state. Meaningful information about something, held in some kind of computer memory.
Apr
10
comment What is State, Mutable State and Immutable State?
Immutability can be simulated by simply never writing to an object's private members once they are populated with initial values. Immutability can be enforced using a number of methods: not providing a setter method, requiring the initial value to be set using a constructor parameter, writing in a functional style, using constants, etc.
Apr
10
revised Which automated analysis tools can find the heartbleed bug?
deleted 3 characters in body
Apr
10
comment Which automated analysis tools can find the heartbleed bug?
@ratchetfreak: No. What overall insight does the source provide?
Apr
10
comment Pooling (Singleton) Objects Against Connection Pools
@kolossus: This is just a counter-example. You didn't state in your question that this was an actual problem, nor did you provide any relevant detail with respect to your actual problem, so it's not unreasonable to the casual observer to conclude that you're talking about a hypothetical. All it takes is a single counter-example to refute a premise.
Apr
10
reviewed Leave Open Why no MVC methodology for desktop applications?
Apr
10
reviewed Close Should an API be aware of client versions?
Apr
10
comment Again MVVM / MVP story , passing interface of a view to its view model why it is bad?
This answer is a little vague. Think you could shore it up a bit?
Apr
10
comment When should I *not* use Unicode?
Folks, do keep in mind that we're talking about a few megabytes of total storage, and sometimes just a few kilobytes or even less. You may be able to store the Unicode, but are you going to have room for the encoding/decoding software? Why would you take that penalty for potentially zero benefit?
Apr
10
comment When should I *not* use Unicode?
@JustinCave: fixed.
Apr
10
answered When should I *not* use Unicode?
Apr
10
comment Under what license may this PyQt-based “Hello World” app be distributed?
The portion of the GPL license relevant to this discussion can be found in Section 5, subsection C of the license. It says "You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way." "Conveyance" means providing your program to any third party; this term is defined in the preamble of the license.
Apr
10
comment Under what license may this PyQt-based “Hello World” app be distributed?
Well, that's sort of the whole point of the GPL. Just saying "well, I just won't distribute the GPL'd portion, then I won't be bound by the GPL" doesn't work. It's not about distributing the other program; it's about making your program dependent on the GPL'd work. By doing that, you've already agreed to the GPL's terms. If you could get out of the obligations of the GPL by not distributing the GPL parts, that would pretty much invalidate the whole GPL license.
Apr
10
comment Under what license may this PyQt-based “Hello World” app be distributed?
If your code will not work without PyQT, you can't use BSD. That makes it a "combined work" under the GPL, and so requires it to be licensed under the GPL.
Apr
10
answered What is State, Mutable State and Immutable State?
Apr
10
revised Pooling (Singleton) Objects Against Connection Pools
added 35 characters in body
Apr
10
comment Do commercial statistical calculators calculate with a high degree of arbitrary precision or just floating point precision?
The answers to your queries would probably depend on the nature of the data, and the amount of accuracy actually required.
Apr
10
revised Under what license may this PyQt-based “Hello World” app be distributed?
added 127 characters in body
Apr
10
answered Under what license may this PyQt-based “Hello World” app be distributed?