Comment On Color Me Stupid

Andy's company develops solutions for "Industrial" handheld devices. To make deployment and updates easier, they each run a thin client so only the server is different from project to project. This client was written by a long-gone employee in the early nineties, and had barely changed since because it "just worked". Updating it was discouraged for fear of breaking backward-compatibility. [expand full text]
« PrevPage 1 | Page 2 | Page 3Next »

Re: Color Me Stupid

2013-01-08 12:28 • by lmm (unregistered)
398730 in reply to 398721
Steve The Cynic:

I think you'll find that "BST" is abbreviationese for "British Summer Time". And the UNIX epoch is normally quoted as 1970-01-01 00:00:00 UTC, even if that isn't necessarily the right time zone/standard.

And the British don't use BST in the middle of January, even if it is sometimes hard to tell British summer and winter apart.


You've fallen for one of the classic blunders. British January is indeed usually UTC, but that particular January was on British Standard Time.

Re: Color Me Stupid

2013-01-08 12:55 • by Ben Jammin (unregistered)
398731 in reply to 398728
Tristram:
Damien:
Umm:
This was written in the early nineties but the code is in SVN???

OK maybe you meant nineteen-nineties but still...


I'm puzzled by what distinction you're trying to draw by introducing the nineteen- prefix. If someone says nineties to you, what year, decade or time period do you assume, if it's not the nineteen-nineties?


In ninety-two, Columbus sailed the ocean blue...

Oddly enough, there are historical documents around 1513 with a discussion pretty similar to this one, as they were coming up with that rhyme. It is a good thing they needed "14" in there to make the rhyme fill the meter, or the actual century of Columbus' voyage would be lost to the annals of history.

Re: Color Me Stupid

2013-01-08 13:00 • by Hmmmm
398732 in reply to 398730
lmm:
Steve The Cynic:

I think you'll find that "BST" is abbreviationese for "British Summer Time". And the UNIX epoch is normally quoted as 1970-01-01 00:00:00 UTC, even if that isn't necessarily the right time zone/standard.

And the British don't use BST in the middle of January, even if it is sometimes hard to tell British summer and winter apart.


You've fallen for one of the classic blunders - The most famous of which is "never get involved in a land war in Asia" - but only slightly less well-known is this: British January is indeed usually UTC, but that particular January was on British Standard Time.

FTFY

Re: Color Me Stupid

2013-01-08 13:01 • by Soviut
398733 in reply to 398701
Maltz:
Overly Attentive Gizzard:
"The fuck?" is all I could muster at this one.

Maybe at some point it did translate to a proper color and that was factored out when a stupid intern tried to "fix" something he didn't understand?


This.

If this was written in the early 90's, the clients probably couldn't even display more than 256 colors, and maybe less depending on how new the hardware was at the time. It's hard to imagine the original program used 24bit values for color.


24bit colour wasn't invented after 2000. Given that the client application is written in VB, there's a good chance they are Windows CE devices. Those supported bit depths higher than 8-bit (256 colours) and so did the languages running on them; Even VB.

Re: Color Me Stupid

2013-01-08 13:31 • by Tom (unregistered)
398734 in reply to 398720
F:
Dates were frequently cited as (e.g.) "... the first year of the reign of King Xyzzy ...". So the first year after the birth of Jesus would naturally be labelled year 1.
And what about the year of this alleged birth? The zeroth year would naturally be labeled year zero, would it not?

Re: Color Me Stupid

2013-01-08 13:33 • by Plugh (unregistered)
398736 in reply to 398720
F:
the first year of the reign of King Xyzzy
He's a king? I always figured he was the spirit of some long-dead wizard, trapped in a cave. With knife-throwing dwarfs, a snake, and more treasure than you can carry out in 10 trips.

Re: Color Me Stupid

2013-01-08 13:37 • by Joey (unregistered)
398737 in reply to 398733
Soviut:
24bit colour wasn't invented after 2000.
I had a box of 24 crayons in 1980. One bit for each crayon used or not used, and presto you have a highly specific color. Pixel size was a bit lame however.

Oh, and "colour"? Get with the tens already. The two thousand tens.

Re: Color Me Stupid

2013-01-08 13:59 • by Soviut
398740 in reply to 398737
Joey:
Oh, and "colour"? Get with the tens already. The two thousand tens.


As I recall, from 2010 to present, we Canadians still spell it with a U.

Re: Color Me Stupid

2013-01-08 14:25 • by Matt Westwood
398742 in reply to 398730
lmm:
Steve The Cynic:

I think you'll find that "BST" is abbreviationese for "British Summer Time". And the UNIX epoch is normally quoted as 1970-01-01 00:00:00 UTC, even if that isn't necessarily the right time zone/standard.

And the British don't use BST in the middle of January, even if it is sometimes hard to tell British summer and winter apart.


You've fallen for one of the classic blunders. British January is indeed usually UTC, but that particular January was on British Standard Time.


"British Standard Time" - no, no, no - British Summer Time. It was an experiment to see whether it was better to have darker mornings and lighter evenings. It was just about getting light by 9 a.m. It was great.

Re: Color Me Stupid

2013-01-08 15:18 • by 5urd (unregistered)
398745 in reply to 398682
Arnold Judas Rimmer:
eVil:
The thought of that code just made me turn #1AC898


What, purple?


Sorry, but that's definently white. At least according to the code...

Captcha: enim - like enum - they should have used an enum

Re: Color Me Stupid

2013-01-08 15:25 • by 71 (unregistered)
398747 in reply to 398681
Mister Slowcoach:
Is it not the case that 65535 and FFFF return different colours? I'm also a little confused at the -2147483633 and &H80000005 and &H8000000F ...


That's the whole point. Those are strings; the numerical values have no real meaning.

Re: Color Me Stupid

2013-01-08 15:44 • by OhNoDevelopment
It's happening, thedailysnoofle is becoming reality

Re: Color Me Stupid

2013-01-08 15:45 • by Zylon
I'm surprised that nobody has pointed out that the only colors supported by the client code are a subset of the CGA colors. This would explain the "Return Color.Orange 'bright yellow" line. CGA only supported red, green, blue, cyan, magenta, yellow, and white and black, in high and low intensities.

Re: Color Me Stupid

2013-01-08 15:49 • by gar37bic
398753 in reply to 398700
I may be a pessimist, but I wouldn't be surprised if the same problem cropped up in 2090! :P

Re: Color Me Stupid

2013-01-08 16:04 • by D'oh (unregistered)
398754 in reply to 398724
urza9814:
....in what frame of reference? As soon as you have motion, you lose any hope of a universal, non-arbitrary time standard.
So don't move then. Gee, was that so hard?

Re: Color Me Stupid

2013-01-08 16:31 • by ThePants999
398755 in reply to 398698
Overly Attentive Gizzard:
"The fuck?" is all I could muster at this one.

Since the second post could only muster "what", I'm glad you've completed it between you :-)

Re: BGR?

2013-01-08 18:31 • by Tractor (unregistered)
398758 in reply to 398686
Ben Jammin:
Zach:
Did I miss something or is the color just in BGR format with leading zeroes? So "FF" is parsed as hex 0x000000FF and so is (1,0,0) in the 0..1 RGB color space. "FF00" is 0x0000FF00 and so is (0,1,0): green (or "lime"). Orange then seems to be high red, medium-high green, and high blue, which makes sense.

Admittedly, there are still a few WTFs in there. The dark vs. light grey values seem to have been reversed. It also seems that "8000000F" is treated as light grey, although I'm guessing the value is in aBGR format and the "80" refers to transparency (which we're going to quietly call grey 'cause argh).

Then again: if this is how the color management works, I can't wait to see the widget layout system.

I believe what you missed is that the colors are serializable, and don't really need to be strings.


Ah that's good then. We'll not convert colours to strings, we'll just serialize them into sequences of bytes that represent characters.

Re: Color Me Stupid

2013-01-08 19:02 • by Bill C. (unregistered)
398761 in reply to 398690
Damien:
If someone says nineties to you, what year, decade or time period do you assume, if it's not the nineteen-nineties?
The eighteen-nineties were the gay ones. The nineteen-nineties were mine.

Re: BGR?

2013-01-08 19:05 • by Bill C. (unregistered)
398762 in reply to 398684
Zach:
Admittedly, there are still a few WTFs in there. The dark vs. light grey values seem to have been reversed. It also seems that "8000000F" is treated as light grey, although I'm guessing the value is in aBGR format and the "80" refers to transparency (which we're going to quietly call grey 'cause argh).
This, and this, and where are the other 48 shades?

Re: BGR?

2013-01-08 19:23 • by Bill (unregistered)
398764 in reply to 398762
Bill C.:
Zach:
Admittedly, there are still a few WTFs in there. The dark vs. light grey values seem to have been reversed. It also seems that "8000000F" is treated as light grey, although I'm guessing the value is in aBGR format and the "80" refers to transparency (which we're going to quietly call grey 'cause argh).
This, and this, and where are the other 48 shades?


Ha, you had me checking the HTML there.

Re: Color Me Stupid

2013-01-08 19:24 • by mog (unregistered)
398765 in reply to 398700
RichP:
Damien:
Umm:
This was written in the early nineties but the code is in SVN???

OK maybe you meant nineteen-nineties but still...


I'm puzzled by what distinction you're trying to draw by introducing the nineteen- prefix. If someone says nineties to you, what year, decade or time period do you assume, if it's not the nineteen-nineties?


Groan. Here we go again... It's exactly that kind of thinking that created the Y2K mess. Please think of the poor slobs wasting time by trolling dailyWTF archives in 2099 and fully qualify your dates, people!
Qualify dates certainly. Record things specifically - gotcha. Be specific when you make a vague reference to a rough time period - Get Fucked, Fuckhead!

Re: Color Me Stupid

2013-01-08 19:28 • by mog (unregistered)
398766 in reply to 398705
pezpunk:
i fail to see a viable case for the term "90s" referring to any decade other than the one spanning AD 90 to AD 99, at least by default. any other interpretation would be unnecessarily arbitrary and unintuitive. of course, prefacing all comments with a set of default assumptions, in xml format for human readability, would clear up these kinds of misunderstandings and allow greater flexibility in the long run.
Yes, because when everyone talks about the sixties (only decade worth a damn) their talking about 60AD to 69AD.....

Language is always vague and fucksticks misinterpret things (usually deliberately) while pedants pick holes in the factuality of possible interpretations.
If anyone reading this site was unable to decipher that nineties referred to the years between 1990 and 1999 (inclusive)....<insert finish to the sentence>

Re: Color Me Stupid

2013-01-08 19:40 • by jones (unregistered)
398767 in reply to 398740
Soviut:
Joey:
Oh, and "colour"? Get with the tens already. The two thousand tens.


As I recall, from 2010 to present, we Canadians still spell it with a U.
I think all of the English speaking world does. Sadly, the United States is not part of the English-speaking world.

Re: Color Me Stupid

2013-01-08 19:46 • by Aussie (unregistered)
398769 in reply to 398742
Matt Westwood:
lmm:
Steve The Cynic:

I think you'll find that "BST" is abbreviationese for "British Summer Time". And the UNIX epoch is normally quoted as 1970-01-01 00:00:00 UTC, even if that isn't necessarily the right time zone/standard.

And the British don't use BST in the middle of January, even if it is sometimes hard to tell British summer and winter apart.


You've fallen for one of the classic blunders. British January is indeed usually UTC, but that particular January was on British Standard Time.


"British Standard Time" - no, no, no - British Summer Time. It was an experiment to see whether it was better to have darker mornings and lighter evenings. It was just about getting light by 9 a.m. It was great.

That would be great - in the middle of summer here it gets light around 5AM and we're lucky if it's dark by 9PM. When I was a kid it was GREAT - long days to go swimming. Now that I have kids, it SUCKS. Try getting a one year old to go to sleep at 7PM when it's still broad daylight!

Re: Color Me Stupid

2013-01-08 20:02 • by Silverhill
398770 in reply to 398734
Tom:
And what about the year of this alleged birth? The zeroth year would naturally be labeled year zero, would it not?
It would not. Zero-based indexing was still a little way into the future.
Years are labeled when they begin (unlike hours, which are labeled when they end), so the first day following the (alleged) birth was the first day of AD 1 -- the first year of Dionysius Exiguus's reckoning.

Re: Color Me Stupid

2013-01-08 20:48 • by Average Dickweed (unregistered)
398772 in reply to 398766
mog:
pezpunk:
i fail to see a viable case for the term "90s" referring to any decade other than the one spanning AD 90 to AD 99, at least by default. any other interpretation would be unnecessarily arbitrary and unintuitive. of course, prefacing all comments with a set of default assumptions, in xml format for human readability, would clear up these kinds of misunderstandings and allow greater flexibility in the long run.
Yes, because when everyone talks about the sixties (only decade worth a damn) their talking about 60AD to 69AD.....

Language is always vague and fucksticks misinterpret things (usually deliberately) while pedants pick holes in the factuality of possible interpretations.
If anyone reading this site was unable to decipher that nineties referred to the years between 1990 and 1999 (inclusive)....<insert finish to the sentence>

...they're talking about 60AD to 69AD...

Re: Color Me Stupid

2013-01-08 21:01 • by D'oh (unregistered)
398774 in reply to 398767
jones:
Soviut:
Joey:
Oh, and "colour"? Get with the tens already. The two thousand tens.


As I recall, from 2010 to present, we Canadians still spell it with a U.
I think all of the English speaking world does. Sadly, the United States is not part of the world.
FTFY.

Re: Color Me Stupid

2013-01-08 21:03 • by D'oh (unregistered)
398775 in reply to 398769
Aussie:
Matt Westwood:
lmm:
Steve The Cynic:

I think you'll find that "BST" is abbreviationese for "British Summer Time". And the UNIX epoch is normally quoted as 1970-01-01 00:00:00 UTC, even if that isn't necessarily the right time zone/standard.

And the British don't use BST in the middle of January, even if it is sometimes hard to tell British summer and winter apart.


You've fallen for one of the classic blunders. British January is indeed usually UTC, but that particular January was on British Standard Time.


"British Standard Time" - no, no, no - British Summer Time. It was an experiment to see whether it was better to have darker mornings and lighter evenings. It was just about getting light by 9 a.m. It was great.

That would be great - in the middle of summer here it gets light around 5AM and we're lucky if it's dark by 9PM. When I was a kid it was GREAT - long days to go swimming. Now that I have kids, it SUCKS. Try getting a one year old to go to sleep at 7PM when it's still broad daylight!
So you want to turn back the clock 1-2 hours in summer? (Otherwise it's still bright at 7, even without DST.)

Re: Color Me Stupid

2013-01-08 21:05 • by D'oh (unregistered)
398776 in reply to 398772
Average Dickweed:
mog:
pezpunk:
i fail to see a viable case for the term "90s" referring to any decade other than the one spanning AD 90 to AD 99, at least by default. any other interpretation would be unnecessarily arbitrary and unintuitive. of course, prefacing all comments with a set of default assumptions, in xml format for human readability, would clear up these kinds of misunderstandings and allow greater flexibility in the long run.
Yes, because when everyone talks about the sixties (only decade worth a damn) their talking about 60AD to 69AD..... is clearly inferred.

Language is always vague and fucksticks misinterpret things (usually deliberately) while pedants pick holes in the factuality of possible interpretations.
If anyone reading this site was unable to decipher that nineties referred to the years between 1990 and 1999 (inclusive)....<insert finish to the sentence>

...they're talking about 60AD to 69AD...
No.

Re: Color Me Stupid

2013-01-08 21:37 • by Aussie (unregistered)
398777 in reply to 398775
D'oh:
Aussie:
Matt Westwood:
lmm:
Steve The Cynic:

I think you'll find that "BST" is abbreviationese for "British Summer Time". And the UNIX epoch is normally quoted as 1970-01-01 00:00:00 UTC, even if that isn't necessarily the right time zone/standard.

And the British don't use BST in the middle of January, even if it is sometimes hard to tell British summer and winter apart.


You've fallen for one of the classic blunders. British January is indeed usually UTC, but that particular January was on British Standard Time.


"British Standard Time" - no, no, no - British Summer Time. It was an experiment to see whether it was better to have darker mornings and lighter evenings. It was just about getting light by 9 a.m. It was great.

That would be great - in the middle of summer here it gets light around 5AM and we're lucky if it's dark by 9PM. When I was a kid it was GREAT - long days to go swimming. Now that I have kids, it SUCKS. Try getting a one year old to go to sleep at 7PM when it's still broad daylight!
So you want to turn back the clock 1-2 hours in summer? (Otherwise it's still bright at 7, even without DST.)
I meant getting light by 9AM sounds like a great plan....We have too many daylight hours here, and I think we should swap some of our daytime for some night time from somewhere where there's too much - maybe Greenland will be interested - although it might be more fun to make deals with the Scandinavians - they seem to have a lot of other stuff I'd like to trade....

Re: Color Me Stupid

2013-01-08 21:38 • by Slickk (unregistered)
398778 in reply to 398772
Average Dickweed:
mog:
pezpunk:
i fail to see a viable case for the term "90s" referring to any decade other than the one spanning AD 90 to AD 99, at least by default. any other interpretation would be unnecessarily arbitrary and unintuitive. of course, prefacing all comments with a set of default assumptions, in xml format for human readability, would clear up these kinds of misunderstandings and allow greater flexibility in the long run.
Yes, because when everyone talks about the sixties (only decade worth a damn) their talking about 60AD to 69AD.....

Language is always vague and fucksticks misinterpret things (usually deliberately) while pedants pick holes in the factuality of possible interpretations.
If anyone reading this site was unable to decipher that nineties referred to the years between 1990 and 1999 (inclusive)....<insert finish to the sentence>

...they're talking about 60AD to 69AD...

Not sure how much sense that makes....

"If anyone reading this site was unable to decipher that nineties referred to the years between 1990 and 1999 (inclusive).... ...they're talking about 60AD to 69AD..."

Re: Color Me Stupid

2013-01-09 01:30 • by da Doctah
398779 in reply to 398767
jones:
Soviut:
Joey:
Oh, and "colour"? Get with the tens already. The two thousand tens.


As I recall, from 2010 to present, we Canadians still spell it with a U.
I think all of the English speaking world does. Sadly, the United States is not part of the English-speaking world.


I don't know why this is so hard for people to understand. Listen closely:

Gray is a color.
Grey is a colour.


Re: Color Me Stupid

2013-01-09 05:08 • by QJo (unregistered)
398784 in reply to 398769
Aussie:
Matt Westwood:
lmm:
Steve The Cynic:

I think you'll find that "BST" is abbreviationese for "British Summer Time". And the UNIX epoch is normally quoted as 1970-01-01 00:00:00 UTC, even if that isn't necessarily the right time zone/standard.

And the British don't use BST in the middle of January, even if it is sometimes hard to tell British summer and winter apart.


You've fallen for one of the classic blunders. British January is indeed usually UTC, but that particular January was on British Standard Time.


"British Standard Time" - no, no, no - British Summer Time. It was an experiment to see whether it was better to have darker mornings and lighter evenings. It was just about getting light by 9 a.m. It was great.

That would be great - in the middle of summer here it gets light around 5AM and we're lucky if it's dark by 9PM. When I was a kid it was GREAT - long days to go swimming. Now that I have kids, it SUCKS. Try getting a one year old to go to sleep at 7PM when it's still broad daylight!


Where I live we use this invention called a "curtain" which does an adequate task of ensuring that any room to which it is fitted can be made significantly darker than that of the ambient light-level outside. I've heard they're quite easy to make, although we also have places where you can exchange moderate quantities of money for a ready-made product, and you might even be able to get someone to help you install it, if for any reason it proves too difficult for you to do yourself.

Re: Color Me Stupid

2013-01-09 07:32 • by Paul (unregistered)
398785 in reply to 398733
Soviut:
24bit colour wasn't invented after 2000. Given that the client application is written in VB, there's a good chance they are Windows CE devices. Those supported bit depths higher than 8-bit (256 colours) and so did the languages running on them; Even VB.


'Early 1990s' is pre-Windows 95.

Windows CE was initially released in 1996, so not really 'early 1990s'

There were colour handheld devices in the early 1990s, but they weren't common or cheap and didn't have big screens. Most things were B&W (eg Apple Newton, PalmPilot etc) with later ones advancing to greyscale towards the end of the 1990s. For specialised situations you may have had colour, but for most handheld applications the cost wasn't worth it.

Re: Color Me Stupid

2013-01-09 07:50 • by Gumbull (unregistered)
398787 in reply to 398733
Soviut:

24bit colour wasn't invented after 2000.


No, but it was rare in the early 1990s.

I remember seeing a VGA display for the first time (in around 1989 IIRC) - in a university computer lab. We all stood around admiring the quality of rendering of a scantily clad woman (including the professors)...

But, remember that VGA was not 24 bit colour. It was only 18 bit colour (3 x 6 bits) and that was from a 256 colour palette.

We had to wait a few more years before "true colour" (24 bit) became available as a standard feature on a desktop PC, and even then it was rare - and not on handheld devices until MUCH later.

Re: Color Me Stupid

2013-01-09 10:47 • by Cbuttius
The real WTF (from the comments not the article) is that people think they can get more hours of daylight by adjusting their clocks (rather than setting their alarm clocks in summer time to get up an hour earlier).

I do know though that it is a very psychological thing. When I worked in Belgium for the whole summer of 1998, whenever I returned to England I kept my clocks in Central European Time (1 hour ahead of what it was in England). In particular it made getting up for early flights back much easier as my clock had its time an hour later than it really was. I did have to know to order the cab for the time it really was, not the time my clock said it was.

Re: Color Me Stupid

2013-01-09 10:48 • by Cbuttius
By the way I'd file this article as a CodeSOD not a feature article which means we've had 3 CodeSODs this week.

Re: Color Me Stupid

2013-01-09 12:24 • by pezpunk (unregistered)
398842 in reply to 398766
mog:
pezpunk:
i fail to see a viable case for the term "90s" referring to any decade other than the one spanning AD 90 to AD 99, at least by default. any other interpretation would be unnecessarily arbitrary and unintuitive. of course, prefacing all comments with a set of default assumptions, in xml format for human readability, would clear up these kinds of misunderstandings and allow greater flexibility in the long run.
Yes, because when everyone talks about the sixties (only decade worth a damn) their talking about 60AD to 69AD.....

Language is always vague and fucksticks misinterpret things (usually deliberately) while pedants pick holes in the factuality of possible interpretations.
If anyone reading this site was unable to decipher that nineties referred to the years between 1990 and 1999 (inclusive)....<insert finish to the sentence>


i appreciate the seriousness with which you treated my comments. next i expect a sincere appraisal of my suggestion that we all preface our comments with XML of global assumptions in the future.

Re: Color Me Stupid

2013-01-09 12:57 • by jay (unregistered)
I don't see why it's necessary to specify a century on the date in this case. As the story involves computer, clearly it could not have been referring to the 1890s or any earlier century, as electronic computers had not been invented yet. And it cannot be referring to any century after the 1990s, as the world ended on December 21, 2012, so there are no future centuries.

Re: Color Me Stupid

2013-01-09 13:02 • by jay (unregistered)
398847 in reply to 398734
Tom:
F:
Dates were frequently cited as (e.g.) "... the first year of the reign of King Xyzzy ...". So the first year after the birth of Jesus would naturally be labelled year 1.
And what about the year of this alleged birth? The zeroth year would naturally be labeled year zero, would it not?


That's hardly some ancient, obsolete convention. When, for example, you start a new job, don't you typically refer to the time from when you start to 12 months later as "my first year at this job"? Or do you really call it "my zeroth year at this job"? If the latter, I think you're in a decided minority.

Re: Color Me Stupid

2013-01-09 13:15 • by jay (unregistered)
398848 in reply to 398766
mog:
Yes, because when everyone talks about the sixties (only decade worth a damn) their talking about 60AD to 69AD.....


Wow, you must have different memories of the 60s than I do. As I recall the decade started with Nero in power, and he was a terrible emperor! Then we went through Galba, Otho, and Vitellius in rapid succession. They were turbulent and violent times, full of uncertainty. I, for one, was glad when the 60s ended.

Re: Color Me Stupid

2013-01-09 13:51 • by AN AMAZING CODER (unregistered)
398857 in reply to 398822
Cbuttius:
The real WTF (from the comments not the article) is that people think they can get more hours of daylight by adjusting their clocks (rather than setting their alarm clocks in summer time to get up an hour earlier).

I do know though that it is a very psychological thing. When I worked in Belgium for the whole summer of 1998, whenever I returned to England I kept my clocks in Central European Time (1 hour ahead of what it was in England). In particular it made getting up for early flights back much easier as my clock had its time an hour later than it really was. I did have to know to order the cab for the time it really was, not the time my clock said it was.


It has to do with coordinating that effort with everyone around the world as well.

Sure, you can get up an hour earlier... but then what? Do you go to work earlier and leave earlier? What if you can't?

As developers and tech folk, that doesn't have a huge impact to us. But if your job depends on having an optimal amount of daylight (or lack there of), it sure as hell does.

Re: Color Me Stupid

2013-01-09 14:15 • by BlueKnot
398862 in reply to 398675
The first error case creates a valid input for the second function. If it ever gets to Purple something has definately gone out of plumb.

Re: Color Me Stupid

2013-01-09 14:17 • by BlueKnot
398863 in reply to 398675
Warren:
This might seem over-engineered but how else could you implement an "error" case of white at one stage and purple at another....
The first error case creates a valid input for the second function. If it ever gets to Purple something has definately gone out of plumb.

I'm more baffled by
Return Color.Black 'color
and
Return Color.Orange 'bright yellow

Re: Color Me Stupid

2013-01-09 17:15 • by JJ (unregistered)
Return Color.White ' bright black

Re: Color Me Stupid

2013-01-09 18:31 • by Bill C. (unregistered)
398885 in reply to 398787
Gumbull:
I remember seeing a VGA display for the first time (in around 1989 IIRC) - in a university computer lab. We all stood around admiring the quality of rendering of a scantily clad woman (including the professors)...
So there's a well established tradition of women in computer science? I should change professions.

Re: Color Me Stupid

2013-01-10 05:59 • by moz (unregistered)
398905 in reply to 398848
jay:
mog:
Yes, because when everyone talks about the sixties (only decade worth a damn) their talking about 60AD to 69AD.....


Wow, you must have different memories of the 60s than I do. As I recall the decade started with Nero in power, and he was a terrible emperor! Then we went through Galba, Otho, and Vitellius in rapid succession. They were turbulent and violent times, full of uncertainty. I, for one, was glad when the 60s ended.

Are you part of one of those seditious cults, by any chance? I can see no other excuse for referring to the reigns of those emperors with such strange numbers.

Re: Color Me Stupid

2013-01-10 06:57 • by no laughing matter
398907 in reply to 398733
Soviut:
24bit colour wasn't invented after 2000.
24bit colour was invented in 1977:

"1977 Alvy Ray Smith implements first 24-bit red, green, blue (RGB) paint system Paint3 at the NYIT, for three E&S or Genisco frame buffers in parallel."

Re: Color Me Stupid

2013-01-10 12:54 • by jay (unregistered)
398958 in reply to 398905
moz:
jay:
mog:
Yes, because when everyone talks about the sixties (only decade worth a damn) their talking about 60AD to 69AD.....


Wow, you must have different memories of the 60s than I do. As I recall the decade started with Nero in power, and he was a terrible emperor! Then we went through Galba, Otho, and Vitellius in rapid succession. They were turbulent and violent times, full of uncertainty. I, for one, was glad when the 60s ended.

Are you part of one of those seditious cults, by any chance? I can see no other excuse for referring to the reigns of those emperors with such strange numbers.


Well, yes, of course at the time we called it the 800s (Anno Urbis). I was speaking proleptically.

Re: Color Me Stupid

2013-01-10 20:25 • by Pedant (unregistered)
399005 in reply to 398907
no laughing matter:
Soviut:
24bit colour wasn't invented after 2000.
24bit colour was invented in 1977:

"1977 Alvy Ray Smith implements first 24-bit red, green, blue (RGB) paint system Paint3 at the NYIT, for three E&S or Genisco frame buffers in parallel."

Interestingly, 1977 isn't after 2000.
« PrevPage 1 | Page 2 | Page 3Next »

Add Comment