ishutteratthethought
Allowing Ads
omg...stupidity kills good photo paper every day D:[/QUOTE
That's not all it kills! A bit OT here, but check out the Darwin Awards for some real stupidity. At least this woman only messed up some photo paper.
http://www.darwinawards.com/
I think we should be a bit fair here. I don't know the particulars of the photo paper example but if your only point of reference was ink jet photo paper, opening the package would not be as stupid as it might appear to us.
So maybe not quite up to the level of the Darwin awards or even the bulk film example. Though still good for a chuckle.
Yes we do! F type paper IS photographic paper!
Steve
Quite.Yes, it is. You, me, and 99.999% (just an estimate) of APUG forum members know that.
But some people may never have been exposed (no pun intended) to photo paper that was not ink jet. So they have no experience with photo paper that is light sensitive.
My point is that most of us are experts in some things, knowledgeable in many things, and frankly ignorant of some things. Ignorance and stupidity are not necessarily the same.
Y...
But some people may never have been exposed (no pun intended) to photo paper that was not ink jet....
//for some crazy reason, sometimes the loop above creates 7 chars.
//that is why the below usees substring to get exactly 6 Hex chars.
Quite.
Tell you what - anyone who can't tell me immediately why the following bit of code written by some fule is hysterically funny, I officially declare to be an idiot worthy of the Darwin Awards:
private static final String[] HEX_STRING_VALUES = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "A", "B", "C", "D", "E", "F"};
[...]
And no, you're not allowed to go and look it up from TheDailyWTF (from whence it is borrowed.)
IndeedLOL They knew there was a problem and could not see it. OMG.
I have never been able to get any exposure out of that ink jet photo paper. Seems really really slow, so slow I guess light doesn't bother it.
In fairness, the OP never used the term "stupid".
Quite.
Tell you what - anyone who can't tell me immediately why the following bit of code written by some fule is hysterically funny, I officially declare to be an idiot worthy of the Darwin Awards:
private static final String[] HEX_STRING_VALUES = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "A", "B", "C", "D", "E", "F"};And no, you're not allowed to go and look it up from TheDailyWTF (from whence it is borrowed.)
[...]
StringBuilder sb = new StringBuilder();
for ( int h = 0; h < 6; h++ ) {
int randomHex = randomGen.nextInt(HEX_STRING_VALUES.length);
sb.append( HEX_STRING_VALUES[randomHex] );
}
//for some crazy reason, sometimes the loop above creates 7 chars.
//that is why the below usees substring to get exactly 6 Hex chars.
defaultVisualStyle.setColor( "0x" + sb.substring( 0, 6 ) );
Indeed.
Don't get me wrong - I thought the OP was funny too, it's just when it gets to calling people stupid or Darwin Award candidates that I think it crosses the line to hurtful and nasty. Maybe if the person making the cockup is an alleged professional you can take that attitude, but if it's just an ignorant - in the non pejorative sense - person the correct response is to laugh about it and educate them, not deride them.
As Roy Walker used to say on Catchphrase - it's good, but it's not right.That one is sad, took me about 2 seconds to figure it out, and I haven't written code in about 3 years. The loop is right, but they are not making sure that sb is an empty string, not sure how StringBuilder works in this particular instance, but
StringBuilder sb = new StringBuilder(""); // passes an empty char string
would probably work, or adding the line:
sb = ""; // set sb to be equal to an empty char string, the overload of = should let this work
should also work, this is pretty basic stuff, although it is a very common bug.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?