# How to grade extra credit?

• I just got this grade update. Apparently, the LMS my school is using does not know how to handle extra credit assignments.

• Alright, I'll bite. What letter grade would you assign to NaN%?

• @Ben L. said:

What letter grade would you assign to NaN%?
NaL (Not a Letter)?

At least the divide by zero didn't crash the whole system.

• @El_Heffe said:

@Ben L. said:

What letter grade would you assign to NaN%?
NaL (Not a Letter)?

At least the divide by zero didn't crash the whole system.

I reckon that was just luck. The code has just assigned the first character of the error message...

• @Ben L. said:

Alright, I'll bite. What letter grade would you assign to NaN%?
Don't you mean positive infinity? ∞ seems the obvious answer.

• @Zecc said:

@Ben L. said:

Alright, I'll bite. What letter grade would you assign to NaN%?
Don't you mean positive infinity? ∞ seems the obvious answer.

I'm assuming that 0 means "zero" and not "positive zero".

• I don't think tinypic likes you very much (or maybe it was just a network hiccough)...

• Also, I wonder what could possibly fit in that tiny little redacted space?

Also, I wonder what could possibly fit in that tiny little redacted space?

Student's first name most likely.

• @FrostCat said:

Also, I wonder what could possibly fit in that tiny little redacted space?

Student's first name most likely.

Pretty sure we can figure it out from the exact spacing between the "b" and the "!".

• @anonymous234 said:

@FrostCat said:

Also, I wonder what could possibly fit in that tiny little redacted space?

Student's first name most likely.

Pretty sure we can figure it out from the exact spacing between the "b" and the "!".

My vote is for "Jed".

@Zemm said:
@anonymous234 said:
@FrostCat said:

Also, I wonder what could possibly fit in that tiny little redacted space?

Student's first name most likely.

Pretty sure we can figure it out from the exact spacing between the "b" and the "!".

My vote is for "Jed".

@Zemm said:
@anonymous234 said:
@FrostCat said:

Also, I wonder what could possibly fit in that tiny little redacted space?

Student's first name most likely.

Pretty sure we can figure it out from the exact spacing between the "b" and the "!".

My vote is for "Jebediah Atkinson".

WATFY

• So, am I still the only person who can see both pictures I posted? I'd have thought that some of you wizards would have found the second one by now. And no, the star is Unicode, not a picture.

So, am I still the only person who can see both pictures I posted? I'd have thought that some of you wizards would have found the second one by now. And no, the star is Unicode, not a picture.
<p style="display:none"> tends to not show stuff in any sane browser.

• @PJH said:

<p style="display:none"> tends to not show stuff in any sane browser.
It's not supposed to show anything. That's kind of the point. Neither do HTML comments, but unlike Remy I can't use those (I've tried). And this type of "hidden" text is just annoying.

• @El_Heffe said:

<img src="http://forums.thedailywtf.com/forums/data:
No, I’m sure I didn’t post that.

@El_Heffe said:
<img src="http://forums.thedailywtf.com/forums/data:
No, I’m sure I didn’t post that.

Community Server is pretty sure you did post that.

• @Ben L. said:

@El_Heffe said:
<img src="http://forums.thedailywtf.com/forums/data:
No, I’m sure I didn’t post that.

Community Server is pretty sure you did post that.
No it isn't. What was actually posted looks nothing like what happens if you quote the post (another CSWTF in its own right, since it doesn't result in an image) but I'm failing to see where/how the [code]<img src="http://..[/code] in El_Heffe's post was generated..

• Oh.... well CS forums doesn't like the data: url. The only way to post an image with a data: url is to use [img]data:...[/img], because it doesn't recognise that it's an image and so it doesn't try to mangle the url. <img src="data:..."> won't work.

CS forums
CS forums are one of the biggest WTFs around. Which is why we keep using them…

• @PJH said:

@Ben L. said:
@El_Heffe said:
<img src="http://forums.thedailywtf.com/forums/data:
No, I’m sure I didn’t post that.

Community Server is pretty sure you did post that.
No it isn't. What was actually posted looks nothing like what happens if you quote the post (another CSWTF in its own right, since it doesn't result in an image) but I'm failing to see where/how the <font face="Lucida Console" size="2"><img src="http://..</font> in El_Heffe's post was generated..
If you go to the post by anotherusername it looks normal. Just one line of text with no image. Hit "Reply" and then "Quote", and that's still all you see. Now hit the "HTML" button and you see the image data.

Notice the url of the image data: <img src="http://forums.thedailywtf.com/forums/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjgAAAC

Mr. Anotherusername was fooling around with data urls and got tripped up by one of Community Servers many WTFs.

• @El_Heffe said:

Hit "Reply" and then "Quote", and that's still all you see. Now hit the "HTML" button and you see the image data.
That's CS WTFing, and is not showing what was submitted but a bastardized version of the equivalent of passing BBCode through Bad Translator. My screenshot shows what was submitted - no URL was present in the beginning.@El_Heffe said:
Mr. Anotherusername was fooling around with data urls and got tripped up by one of Community Servers many WTFs.
No they weren't. The <p style="display:none"> is what prevented the picture showing.

• @PJH said:

@El_Heffe said:
Hit "Reply" and then "Quote", and that's still all you see. Now hit the "HTML" button and you see the image data.
That's CS WTFing, and is not showing what was submitted but a bastardized version of the equivalent of passing BBCode through Bad Translator. My screenshot shows what was submitted - no URL was present in the beginning.@El_Heffe said:
Mr. Anotherusername was fooling around with data urls and got tripped up by one of Community Servers many WTFs.
No they weren't. The <p style="display:none"> is what prevented the picture showing.
There's 2 things going on here. One is the  <p style="display:none">. The other one is a Community Server bug/feature.  What he posted (as shown in your screen shot) was:

Which CS turned into:

<img src="http://forums.thedailywtf.com/forums/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjgAAAC . . . . . . ">

Even if he hadn't used the  <p style="display:none">  the image still wouldn't have displayed because CS inserted an invalid url. Any time you're using CS's editor and insert an image or link without a full url, i.e., without the "http://" CS helpfully puts   <font face="courier new,courier">http://forums.thedailywtf.com/forums/</font>  at the beginning.

Fun.

• @El_Heffe said:

If you go to the post by anotherusername it looks normal. Just one line of text with no image. Hit "Reply" and then "Quote", and that's still all you see. Now hit the "HTML" button and you see the image data.

Notice the url of the image data: <img src="http://forums.thedailywtf.com/forums/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjgAAAC

Yes but view the HTML source of that post and it'll appear like this:

or use a GreaseMonkey script to turn off the display:none; CSS style...

@El_Heffe said:
Even if he hadn't used the  <p style="display:none">  the image still wouldn't have displayed because CS inserted an invalid url. Any time you're using CS's editor and insert an image or link without a full url, i.e., without the "http://" CS helpfully puts   <font face="courier new,courier">http://forums.thedailywtf.com/forums/</font>  at the beginning.

No... any time you're using CS's editor and insert an <img> tag without http://, it adds that text at the beginning. If you instead use an [img] tag, it doesn't.

• @El_Heffe said:

What he posted (as shown in your screen shot) was:

Which CS turned into:

<img src="http://forums.thedailywtf.com/forums/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjgAAAC . . . . . . ">

Even if he hadn't used the  <p style="display:none">  the image still wouldn't have displayed because CS inserted an invalid url.

For comparison (I can't be bothered screenshotting), their other post starts with

<p>I don't think tinypic likes you very much (or maybe it was just a network hiccough)...</p><p>[]img]data:image/gif;base64,R0lGODdhXQL0AOf...
which did render as an image.

• @PJH said:

For comparison (I can't be bothered screenshotting), their other post starts with

<p>I don't think tinypic likes you very much (or maybe it was just a network hiccough)...</p><p>[img]data:image/gif;base64,R0lGODdhXQL0AOf...
which did render as an image.
Yes.  CS did its usual mangling and yet the image displays. Very weird.

• @El_Heffe said:

@PJH said:

For comparison (I can't be bothered screenshotting), their other post starts with

<p>I don't think tinypic likes you very much (or maybe it was just a network hiccough)...</p><p>[img]data:image/gif;base64,R0lGODdhXQL0AOf...
which did render as an image.
Yes.  CS did its usual mangling and yet the image displays. Very weird.

CS only mangles it when the image is an <img>. So when an [img] is posted, it doesn't mangle the URL, but if you quote it, it uses an ordinary <img> tag and mangles the URL. Same for <a> and [url]. [url="data:text/html;,%3Chtml%3E%3Cbody%3E%3Cscript type='text/javascript'%3Ealert('Hello world!');%3C/script%3E%3C/body%3E%3C/html%3E"]see?[/url]

[code]

• @Ben L. said:

Alright, I'll bite. What letter grade would you assign to NaN%?

Is this like the various country date formatting where the numbers aren't in the place you expect them? In other words, is it that he received 0 out of 20 possible points? At which point the WTF is the grading system that simply doesn't call people the failures they really are.

• @Ben L. said:

Alright, I'll bite. What letter grade would you assign to NaN%?

After a bit of research, I have discovered the issue. The extra credit had a possible maximum value of 30 points. The part that was completed was only worth 20. The system knows this behind the scenes and assigned a grade accordingly. The zero is for marking the whole gradebook, to indicate that the points are extra credit.

I still think it should show all the data: achieved, maximum, and basis for scoring.

• @Jedalyzer said:

@Ben L. said:
Alright, I'll bite. What letter grade would you assign to NaN%?

After a bit of research, I have discovered the issue. The extra credit had a possible maximum value of 30 points. The part that was completed was only worth 20. The system knows this behind the scenes and assigned a grade accordingly. The zero is for marking the whole gradebook, to indicate that the points are extra credit.

I still think it should show all the data: achieved, maximum, and basis for scoring.

That doesn't make any sense! I got 136.8% on an assignment once. That doesn't mean the people who got 70% failed!

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.