|
If you're not part of the solution, you're part of the precipitate.
|
|
|
|
|
groan
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
That's not 100% true:
You can solve a specific problem in a functional way, therefore what you've done is a solution, but, that solution probably can be implemented in a better way which would cover more cases...
If you think of a motor that must go to a specific position, you need to know where the motor is (encoder or any other way to know the feedback position), you need to control the speed of the motor...
You can create a simple program that moves the motor to a specific position at a slow speed to ensure that the motor will reach that position (hence a solution).
Or you can create a PID algorithm that will handle the speed depending on the Proportional, Integral and Derivative part of the calculus to get an acceleration and deceleration ramp, and a better result in terms of precision and speed.
First is a solution (a bad one but it makes the job).
Second is a good solution, the best if you know masses and inertias of the complete system.
Then there would be the third solution which includes fuzzy logic and it only "should" be used when the inertia and masses are unknown.
So indeed there are good and bad solutions to different problems...
Anyway I prefer and try always to apply the best option available (that depends of course of the knowledge of that solution (knowing it exists help a lot) and the available time to implement it).
|
|
|
|
|
Solution - something that is used or done to deal with and end a problem.
If it deals with the problem or ends it then how can be bad?
|
|
|
|
|
It could not cover all the cases, it could not solve the issue in the best way, it could be implemented in a poor way...
Therefore it is clear that solves the issue (hence a solution) but it is not doing it the proper way (hence bad).
You could solve world's hunger by killing everyone that can't afford eating at an expensive restaurant everyday.
It is of course a solution but not a good one (at least IMHO).
|
|
|
|
|
Joan Murt wrote: It is of course a solution but not a good one (at least IMHO). Why not? It worked for Vlad Tepes.
|
|
|
|
|
eeeerm... eeerm... erm...
pressing the button under the table compulsively...
|
|
|
|
|
Solution - something that is used or done to deal with and end a problem.
If it deals with the problem or ends it then how can be bad?
Sheryl Crow: If it makes you happy....it cant be that bad.
|
|
|
|
|
codejet wrote: Sheryl Crow: If it makes you happy....it cant be that bad.
Drugs...
|
|
|
|
|
Joan Murt wrote: create a PID algorithm that will handle the speed depending on the Proportional, Integral and Derivative part of the calculus to get an acceleration and deceleration ramp, and a better result in terms of precision and speed. Nah, just whack it across at full speed, that should do the job...
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Well...I disagree.
Something can solve the problem as posed, but be a very poor way to do it.
For example in C#, you could either use an event and properties to transfer information between two forms. Or you could make the controls on one form public so the other can access them directly. The second method works...but it's a very poor solution.
Or you could use a string field in SQL to store dates. It works...until you need to compare them. That's when you find out it's a bad solution!
"Bad solutions" aren't defined by the result the user sees: they are defined by the assumptions made at the design stage.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Have you been at the Nietzsche books again?
You know they are bad for you, without killing you, you know.
Alberto Brandolini: The amount of energy necessary to refute bullshit is an order of magnitude bigger than to produce it.
|
|
|
|
|
So What Called for Good Solutions ??
Gihan Liyanage
http://gihansampathliyanage.wordpress.com
|
|
|
|
|
You can stop a viral or bacterial infection by killing the patient.
Would you consider this to be a good solution ?
God is a Sphere!
|
|
|
|
|
That's not true, even in the general real world (a plank is a 'solution' to an unbridged stream, but not a good one), but particularly in software where a product is never finished and always needs to be extensible. The quality of a solution is not only in whether it does what it should (functional requirements) as fast as it should (non-functional requirements), but also in how easy it is to modify it to solve related problems which are not known at the time of coding (flexible architecture).
|
|
|
|
|
what is a bad solution and what is a good one?
is a bad solution that is quick to write and will be used once a bad solution?
is a good solution that takes a long time to write but again is only used once a good solution?
there is nearly always a better way of doing something but will require more skill/knowledge/time/resources etc. does this make every solution bad?
if something works then is it bad?
the problem with these sound bites is that if thought about they are complete bull
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
"Read the Latin sign, if I can translate, but it's of no importance."(13)
Not too hard
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Read the Latin sign, if I can translate, but it's of no importance
IN SIGN IF I CAN T
but it's of no importance
INSIGNIFICANT
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Well done.
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
RIP James Shigeta.
No, I would not have known him either other than his role in Die Hard but he has been in rather a lot of things.
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Didn't know the name, James Shigeta, knew the quote, couldn't put a face to it, looked him on Wiki had the "oh, Him!" moment. That I'm guessing you had!
|
|
|
|
|
|
Next time, ask them to visit this site[^]
Whether I think I can, or think I can't, I am always bloody right!
|
|
|
|
|
If it plugs in (or has batteries, moving parts, maybe looks as though it might be in any way technologically related), it's IT's responsibility... didn't you know that?
|
|
|
|
|
If it is IT related, then can we fix a TV ?
fbgsd asgtdfg
|
|
|
|