- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Make the blues more like pop.
Admin
Which is a valid seed of a future VisualColorCorrection strategy class. And the documentation says everything it should.
Admin
Well I'll be happy as long as it wasn't 'Supergreen'... :-)
Admin
This is why you need a big red spot on the design, to really make it "pop".
redspots.pop();
Admin
Comment += 20
Admin
The customer is always right .... Except when they isn't.
Admin
The real WTF is doing calibration by changing magic numbers in the source code.
Admin
https://youtu.be/zSkGtW-fQ3s?t=45
Admin
Should have been:
const int moreBlue = 20; blue += moreBlue;
Admin
Why would blue += 20 be a bad solution?
It was software and as sucht can be adapted to new circumstances
Admin
Imagine this... somone has painted something in pure Red 255,0,0(RGB colors) measure it => 255,0,20, make paint oon the base of the meare it => 255,0,40 in thend it will be dark purple....
Admin
Flammability and toxicity usually increases with brightness and saturation. Also visual hazards, like blending into the horizon on a sunny day, blinding people at night, distracting from school buses and emergency vehicle sirens or causing epileptic seizures.
Admin
... waiting for the day the input blue was FF and adding 20 rolled over to 19. Much less blueness
Admin
What about the case where someone orders pure black but it measures as 0, 0, 20
Admin
It's bad because it's hard-coded in source (potentially okay) with no indication as to why (not okay).
Admin
Surely the identifier blue is a constant? O, wait, some languages do allow you to change constants.
Don't you just Delphi's compiler switch {$J+} ? (It is also settable in the project settings where you are not expecting it to be set).
You'd be surprised how many projects break their compilable status when this is turned off...
Admin
Sorry, forgot the word 'love' somewhere. Insert at your own discretion
Admin
I used to work on software that users used to select colors that would allow them to print color coded labels with colors that had to match existing labels. The "emitive" and "reflective" color spaces were totally different, so it really didn't work. Thus, they had to print out an entire color swatch run (and we had to decide which colors to include in that run whenever we supported a new printer) and choose colors that way. One time I had to correspond with a "color engineer" with one of the printer manufacturers. So much fun in color.
Admin
The blue needs more cowbell!
Admin
“There's something about this that's so blue, it's like: how much more blue could this be? And the answer is none. None more blue.”
Admin
Ah, I see the WTF. They should have used blue *= 1.01. That way pure black stays pure black, pure red stays pure red, anything with blue becomes "more blue".
Admin
The whole thing about the software was irony. Software is soft and, depending on circumstances, can be easier to adapt than configuration files with items as bad documented as the source code itself.
Many times configuration values tend to be constant (no need to change) and constants in code needs adaption.
Or , in other words: One off programms woun't need configuration items. Software for the masses does.
Admin
I’d turn grey upon reading that commit :)
Admin
https://www.youtube.com/watch?v=68ugkg9RePc
Admin
reminds me of that cartoon gag: "it needs to be at least 20% cooler".
Admin
Scarily enough, I know where "20% cooler" comes from. That's what you get for having kids who grew up watching My Little Pony in the twenty-teens....
Admin
https://www.youtube.com/watch?v=IH5n5DzBdrY
Admin
I interpreted it as being an otherwise unused variable. But I suppose it could have been something with an actual effect.
Admin
Color space has several dimensions, and only degenerate spaces like cheap emitters have one named “blue”.
Maybe if used in printing there might be a “cyan” dimension, and it’s plausible that if the application doesn’t use spectroscopy it might be permissible to round colors off to CMYK values or Pantone numbers.
Admin
A friend of mine, in school, got some creative tasks - mainly to make them think how to solve it. One of them was "to measure the blueness of the sky". Which was done by a webcam in the window taking pix regularly, then grab the "blue" value of a certain spot. Put it in a diagram, done :D Teacher was satisfied.