|
Matthew Dennis wrote: An optimist believes we live in the best of all worlds. If this is the best of all worlds that's plenty of reason to become a pessimist
|
|
|
|
|
An optimist believes that we live in the best of all possible worlds. A pessimist fears that this is true.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Daniel Pfeffer wrote: Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. That is not the real issue. The question is whether you can get away with stating that two plus two make five.
|
|
|
|
|
A literalist takes things literally.
A kleptomaniac takes things, literally.
|
|
|
|
|
Therefore, the difference is a comma.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Let's eat children vs let's eat, children.
Punctuation saves lives!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Wordle 294 3/6
π©β¬π¨π¨β¬
π©π©π¨π©β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 294 2/6*
π©π©π©π¨β¬
π©π©π©π©π©
Lucky guess for the first word
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
Wordle 294 4/6
π¨β¬π¨β¬β¬
β¬π¨π©π©β¬
β¬π¨π¨β¬π©
π©π©π©π©π©
|
|
|
|
|
Woo Hoo Two!
Wordle 294 2/6
🟨🟨🟨🟨β¬
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 294 4/6
π¨π¨π¨β¬β¬
β¬β¬π¨π¨β¬
π©π¨π¨π¨π©
π©π©π©π©π©
My regular starter words hit all 5. Then I came unstrung.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Wordle 294 4/6
π¨π¨β¬π¨β¬
π©π©β¬π¨β¬
π©π©π¨π©β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 294 1/6
π©π©π©π©π©
"Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming βWow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 294 4/6
π¨β¬π¨β¬β¬
π¨β¬π¨β¬π¨
π¨π¨π¨π¨β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 294 3/6
π©π©β¬π¨β¬
π©π©π¨β¬β¬
π©π©π©π©π©
My second puzzle! I must be lucky!
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
(Note that this is not a programming question, it's a vent post, although venting sometimes leads me to solutions)
Naturally I uncovered a bunch of bugs in GFX after unit testing.
The toughest one though wasn't uncovered directly by the unit tests, but in the process of making unit tests I needed to draw some "known good" bitmaps i could use to compare my drawing operations against later. While I was making a utility to build a header file full of arrays of pre-drawn bitmaps I discovered this:
Messed up ellipses[^]
It should appear to be symmetrical on the extents, but the right and bottom of the outlined ellipses are clipped if you look carefully.
I worked hard to make it appear symmetric for both odd and even heights/widths but I either encountered a regression or my previous code didn't handle all cases.
But now when I change that code... say subtract a little bit while drawing the right and the bottom nothing changes. It's like the build is stale, but it's not because I can put debug spew in and it shows up.
It completely ignores my altered coordinates, even if I alter them by crazy amounts. I've been completely stumped since last night. I hoped sleeping on it would move things along but so far nothing.
CURSE YOU UNIT TESTING! (laughing so I don't cry)
To err is human. Fortune favors the monsters.
|
|
|
|
|
unit testing is cost prohibitive for a lot of shops and contracts, both in money and time.
writing unit tests almost always takes longer than the actual development.
User Story 12345:
actual development LOE 16 hours.
create unit test LOE 24 hours.
client does not see a return on investment for unit tests, only actual development, although it is implied that unit tests will help keep their code base stable in year's to come.
if you have a bucket of money for any given project/contract and it is small and it is finite, then unit testing gets thrown out the window.
client gets their way because they are paying you the money. self righteous, ignorant developer tries to call the shots, loses contract no pay day. beans, bread, and water for dinner again.
|
|
|
|
|
Slacker007 wrote: client does not see a return on investment for unit tests, only actual development, although it is implied that unit tests will help keep their code base stable in year's to come.
Implied but not guaranteed.
|
|
|
|
|
|
For the record, I don't typically unit test, but for this project I'm working on it comes with a number of benefits.
Even then, right now I'm not looking for 100% coverage. Rather, I'm covering the basic surface area of my library's API.
It keeps things manageable. What it has also done is uncover a number of bugs, including one that could prevent *compilation*. For that, it has paid for itself so far. What more can I say?
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: I'm not looking for 100% coverage
excellent.
when I have to write unit tests, it is almost always for the most critical code base only.
|
|
|
|
|
Slacker007 wrote: it is implied that unit tests will help keep their code base stable And since all the major software companies--Microsoft, Oracle, you name it--have been using TDD for several years, all their software is now 100% bug free, right?
Baahahahaha!
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
Hey,
You don't often hear me say anything nice about Giggle but they have a great fuzzing tool[^]. Highly recommend taking a quick look at it. I think the 'Lite' version can be easily used in your current setup.
ClusterFuzzLite - ClusterFuzzLite[^]
Unit testing < Fuzz testing or maybe a mixture of both.
|
|
|
|
|
Very cool.
Another version of fuzzy logic.
|
|
|
|
|
I am pleased with myself. I conquered my first Wordle this morning! Did it in 4 rows.
Get me coffee and no one gets hurt!
|
|
|
|