|
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!
|
|
|
|
|
Well done!
Welcome to the oh-gawd-i'm-addicted club ...
"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!
|
|
|
|
|
"A Journey of a Thousand Miles Begins with a Single Step"
|
|
|
|
|
deepok1 wrote: A Journey of a Thousand Miles Begins with a Single Step"
Ajourney of a thousand miles begins with a thousand kilometers.
|
|
|
|
|
deepok1 wrote: "A Journey of a Thousand Miles Begins with a Single Step" Optionally: Run until next break.
|
|
|
|
|
Desireless - Voyage Voyage[^]
Last week this song suddenly popped into my head.
Pretty weird, as it's not a song I have listened to in the past, I don't know Desireless and frankly, I don't really know this song.
The brain works in mysterious ways.
Great song nevertheless, and after that first listen it went on repeat.
Desireless is a French band and Voyage Voyage is the first single of their debut, François (1989), and it quickly reached top positions in various countries across Europe.
It reached #11 in the Dutch top 40 and today it reaches top spot in SOTW
|
|
|
|
|
I googled a translation of the lyrics to English - lovely poetic song!
|
|
|
|
|
|
Love Pink Floyd, always have and always will.
I'm kind of surprised by this clip.
1. When did they get so old? In my mind they are still 30 or 40 years younger.
2. This doesn't seem like them. They were always anti-war and this song is a resistance song, not anti-war. I would of thought they would be more supportive of a less violent solution.
<disclaimer>
Please don't take this as criticism for what the band is doing. I'm in total awe of what the Ukrainians are going through & what they have accomplished; and I'm behind anyone/group who is willing lend support. It's just my impression of the band is that they were total pacifists and would prefer less violent means to end the conflict.
< /disclaimer>
// TODO: Insert something here Top ten reasons why I'm lazy
1.
|
|
|
|
|
I believe David Gilmour's grandchildren are Ukrainian, which would explain the change in attitude. When your own family is under threat, peaceful idealism tends to take a back seat.
I have to say, I found the whole thing very moving, and the closing scene very hard to take.
|
|
|
|
|
My neighbours have accomodated an ucranian woman with her 5 years old child. The father had to remain back because men within an age range can't leave the country, just in case they are required to fight.
It sucks... A LOT.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I'm rooting for Ukraine, but this song definitely won't be my SOTW
Thanks for sharing though
|
|
|
|
|
OMG, that so screams 80's European pop. Write a catchy tune, throw in some words that sound mysterious or deep and team it up with a film clip with some weird people. Right up my alley
You know how I always say yours songs mess with my YouTube recommendations, well this week's SOTW brought up
Moonlight Shadow (Official Video) - YouTube[^]. I haven't heard it in ages and almost forgot about it. In my younger days I used get stoned and loved listening to this song. Ahhhh, misspent youth.
btw, here's one of the English translations:
Quote: Above the ancient volcanoes
Slide your wings under the carpet of the wind
Travel, travel, eternally
Of clouds in swamps
Of wind in Spain in the rain from Ecuador
Travel, travel, fly to the highest heights
Above the capitals, fatal ideas
Look at the ocean
Travel, travel, further than the night and the day
Travel, in spaces unheard of by love
Travel, travel, on the sacred waters of an Indian river
Travel, and never come back
On the Ganges or the Amazon
With people of all races
Travel, travel, throughout the land
On the dunes of the Sahara
From Fiji to Fujiyama
Travel, travel, don't you stop
Above Barbal, with hearts bombarded
Look at the ocean
Travel, travel, further than the night and the day
Travel, in spaces unheard of by love
Travel, travel, on the sacred waters of an Indian river
Travel, and never come back
Above the capitals, the fatal ideas
Look at the ocean
Travel, travel, further than the night and the day
Travel, in spaces unheard of by love
Travel, travel, on the sacred waters of an Indian river29
Travel, travel
https://lyricstranslate.com
// TODO: Insert something here Top ten reasons why I'm lazy
1.
|
|
|
|