Post general comments here

by Alex on Apr 28, 2015 - 11:48:46 pm UTC
  • (3/0)
This is the place to post general comments, such as pressing bugs or broader questions.

Comments (Search)


Shouldn't this message be changed?

Since problems from expired contests are added to the main Judge, submissions within the originating contest will still be saved to the problem on the main judge, so "Contest is over - submission will not be recorded." is a tad misleading.

Thanks. I changed it to "Contest is over - submission will appear on the main Judge."

There's a blank in the corresponding area, as opposed to the original faded icon.

Also, comment deletion returns a 'Not authorized!' - but that could be because I broke something / my permissions were modified from testing a potential security hole o_o.

Also, from testing that security hole:
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: psetter

Filename: controllers/comments.php

Line Number: 237
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: csetter

Filename: controllers/comments.php

Line Number: 237

Thanks. I fixed it.

Yeah, on that note, recently I wasn't able to delete a comment tree with the bomb icon, as it gave me an error - I had to do it manually. Perhaps this feature is broken now (unless you just fixed it).

It should be fixed, as the bug that was causing it was the same as the one causing other irregularities in the front end.

The faded icon uses a CSS property that will not become valid until CSS 3.0 is adopted. In the meantime, this was the best solution that didn't break standards compliance.

Comment page links on the General or Contest Main pages are broken:

A Database Error Occurred
Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''690',10' at line 1

SELECT AS id,replyto,place,date,username,title,msg,sticky FROM comments LEFT OUTER JOIN (problems LEFT OUTER JOIN contests ON problems.contest = ON WHERE ( IS NOT NULL AND (place = '' OR author = 'jargon' OR setter = 'jargon' OR problems.contest = 34)) ORDER BY sticky DESC, date DESC LIMIT '690',10

Quotes around the 690 shouldn't be there =P.

Also, you really should escape all your table/column names with backticks or double quotation marks...

Fixed. Blame PHP for being weakly typed.

Meh, I don't see the point of escaping table names. It's not as though they're dynamically generated or anything.

I'm considering running a CCC practice contest ahead of the actual CCC (which will be held on March 1st, according to the CEMC website).

How many people would be interested in writing?

I would be.


You know that green plus? That's the reply button. Use it.

I'm going to have to say I agree with Brian.
It gets really annoying after someone replies to your comment and you reply to them with another comment. It gets confusing to see which one's for which...

You're missing one possibility in your if-else-if ladder.

i do not get why i am getting this wrong; i did the test cases stated there and the examples that bbi5291 stated, on my computer and i got them all right, but I got it wrong on Peg judge

Could we add Perl?

Perl has been added. If it complains about locale, let me know.

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: problem

Filename: controllers/submissions.php

Line Number: 754

Submit a problem in a disallowed language (e.g., A+B2 in Ruby).

Fixed. PHP sucks.

Just wondering,
why are some users not shown on the 'Users' page under all, but are still visible if you go to their link directly? (Like Dr.Sane, for example)
Is there an expiry limit for accounts?
Also, I believe some of the new members should be tagged as being PEG members.

(P.S. I know you're probably busy with uni work Brian, so I'm sorry for making all these requests. They're just here so you know what I think should be done whenever you have the time)

Only users who logged in during the last month are shown. I think this feature is just designed to prevent the usage of exorbitant amounts of space on the page, but I could implement pagination.

I don't know all the PEG members; let Saravannan and Joyce take care of it.

I'll be sure to 'remind' them.