Errors/Warnings/Bugs

Announcements, comments, ideas, feedback, and "How do I... ?" questions
Post Reply
TitanCode
Posts: 32
Joined: Sat Apr 26, 2025 11:22 am

Re: Errors/Warnings/Bugs

Post by TitanCode »

Try this tread:
viewtopic.php?p=73689
Image
AndrewMcCall
Posts: 1
Joined: Sun Oct 12, 2025 4:25 pm

Re: Errors/Warnings/Bugs

Post by AndrewMcCall »

[Bug on Forum Registration Page]

The link on the register page (projecteuler.chat/ucp.php?mode=register) back to the main site has a typo. The link goes to projecteuleT.net which of course, doesn't exist. This is a lovely way to start a phishing attack though.
Just log out, go to register and accept the conditions to see the link.

ss-20251012-162557.png

Thanks for reading,
I'm still new so apologies if this is not the correct place for this sort of report.
You do not have the required permissions to view the files attached to this post.
User avatar
euler
Administrator
Posts: 4998
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Errors/Warnings/Bugs

Post by euler »

Thank you for reporting this. I have no idea how long it's been like that. Good spot!

It should now be fixed. 8-)
Image
impudens simia et macrologus profundus fabulae
philiplu
Posts: 92
Joined: Wed Aug 02, 2017 8:51 pm
Location: Redmond, WA, USA

Re: Errors/Warnings/Bugs

Post by philiplu »

I made a short post to the forum for PE965, at https://projecteuler.net/thread=965#448070. When I open the forum thread, or refresh the page, the code block in the post is defaulting to opened instead of closed. Also, minor nit, but the code block is now including an extra blank line at the start.

Edit: Seems to be on purpose; very short code blocks apparently now default to opened.
Image
User avatar
euler
Administrator
Posts: 4998
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Errors/Warnings/Bugs

Post by euler »

It was an intentional change some time ago. It seemed pointless to expand a code box to find short blocks of code, so code that does not exceed 10 lines or 80 characters in width will show open by default. It used to be 5 lines, but I increased slightly a couple of weeks ago, so maybe that's why you noticed it now. It's also likely that other recent problems required much longer blocks of code to solve.

I've also fixed the empty line at the start of the code block.
Image
impudens simia et macrologus profundus fabulae
i707107
Posts: 12
Joined: Mon Nov 11, 2024 10:10 pm

Re: Errors/Warnings/Bugs

Post by i707107 »

The times that problems were solved in History section is not coherent with my time zone. Also, the problem title fonts became too small.

It was okay about 3 days ago.
User avatar
euler
Administrator
Posts: 4998
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Errors/Warnings/Bugs

Post by euler »

Some changes were made the other day that clearly impacted that. Could you check to see if it is displaying correctly now?
Image
impudens simia et macrologus profundus fabulae
i707107
Posts: 12
Joined: Mon Nov 11, 2024 10:10 pm

Re: Errors/Warnings/Bugs

Post by i707107 »

The fonts are still small, but the times are correct now.
Incompleteusern
Posts: 9
Joined: Sun Aug 17, 2025 8:09 am

Re: Errors/Warnings/Bugs

Post by Incompleteusern »

The difficulty bar for problem 957 is orange despite it being at less than 100 solves, in comparison to say 949, 943, 910, and 942. I don't know if this is intentional, or a consequence of the leaderboard being closed early.
User avatar
euler
Administrator
Posts: 4998
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Errors/Warnings/Bugs

Post by euler »

Yes, that is intentional. The current difficulty metrics use the FS times, so once the table closes, the difficulties are finalised, albeit not as reliable as using 100 members. This is why the spoilers have had such a harmful impact on Project Euler. :(
Image
impudens simia et macrologus profundus fabulae
byhill
Posts: 29
Joined: Mon Aug 01, 2022 3:13 am

Re: Errors/Warnings/Bugs

Post by byhill »

I believe then that problem 957 is not appearing in the progress bar graph. With 957, there are 19 problems rated at 90%, but it only says there are 18.

Thank you!
Image
universalset
Administrator
Posts: 347
Joined: Wed Nov 06, 2013 7:38 pm

Re: Errors/Warnings/Bugs

Post by universalset »

euler wrote: Sun Nov 02, 2025 8:31 am Yes, that is intentional. The current difficulty metrics use the FS times, so once the table closes, the difficulties are finalised, albeit not as reliable as using 100 members. This is why the spoilers have had such a harmful impact on Project Euler. :(
Are the first (up to) 100 solve times still being used for the difficulty calculation, with the only difference being whether the difficulty is considered finalized and the bar shown in orange, or are only the solves that are displayed in the table being used for the difficulty calculation? With the current rating of the problem I can imagine it being either way. (I hope it's the former...)
Image
User avatar
euler
Administrator
Posts: 4998
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Errors/Warnings/Bugs

Post by euler »

Once the table is closed it means we have no confidence in any further data. The bar shows orange because we have received all the data we are able to use to finalise the problem's difficulty. Fortunately, it is the early data that has the greatest influence on the metric, so it is not meaningless, just not as reliable as it could be.
Image
impudens simia et macrologus profundus fabulae
User avatar
euler
Administrator
Posts: 4998
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Errors/Warnings/Bugs

Post by euler »

byhill wrote: Sun Nov 02, 2025 3:58 pm I believe then that problem 957 is not appearing in the progress bar graph. With 957, there are 19 problems rated at 90%, but it only says there are 18.

Thank you!
Fixed.
Image
impudens simia et macrologus profundus fabulae
Derfellios
Posts: 3
Joined: Wed Aug 06, 2025 9:03 pm

Re: Errors/Warnings/Bugs

Post by Derfellios »

Hi, I think I found a small bug in the forums. If a post has two pieces of code, of which one is quoted, then extending the code sometimes breaks. See, for example, the post of jhn_nln in https://projecteuler.net/thread=89;page=6. If I open the quoted code first, everything is alright. But if I open the non-quoted code first (and then possibly close it first) and then open the quoted code, the code displays correctly, but the posts below do not move down to make room for the code.
User avatar
euler
Administrator
Posts: 4998
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Errors/Warnings/Bugs

Post by euler »

Great spot! Thank you for reporting. It should now be fixed.

The error was in the JavaScript and I'm guessing it crept in when I made some recent changes to trigger auto-expansion of code blocks that are short. The code wasn't properly checking the class of parent nodes in the case of nested collapsibles and it was messing up the quote division. I'm just hoping that the fix hasn't had some unexpected knock-on effect to other posts. It shouldn't as the changes should have made the script far more stable, so it was definitely a job worth doing. I'll just deal with those issues separately if they should ever arise.
Image
impudens simia et macrologus profundus fabulae
tec1234
Posts: 2
Joined: Mon Nov 17, 2025 7:07 am

Re: Errors/Warnings/Bugs

Post by tec1234 »

mathjax render failed on problem pages caused by CSP violation after recent cdn redirect:

Refused to load the script 'https://fastly.jsdelivr.net/npm/mathjax ... l-chtml.js' because it violates the following Content Security Policy directive: "script-src 'self' https://cdn.jsdelivr.net/gh/highlightjs/ https://cdn.jsdelivr.net/npm/mathjax@3/". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
amic
Posts: 4
Joined: Mon Feb 17, 2025 6:06 pm

Re: Errors/Warnings/Bugs

Post by amic »

I just realized that now, but it seems that some posts on the last forum (for problem 970) do not have author associated to them. When you try to quote one of these messages, it writes "Someone" instead.

I do not know if it is intentional, or a bug, or related to the posters which may be anonymous. But I did not remember having seen that in any other solution thread.
User avatar
euler
Administrator
Posts: 4998
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Errors/Warnings/Bugs

Post by euler »

@amic: Yes, it is due to a recent change. Those members have private profiles. In the past, usernames still showed in the threads, but it makes more sense to hide the details of members with private profiles.
tec1234 wrote: Mon Nov 17, 2025 7:16 am mathjax render failed on problem pages caused by CSP violation after recent cdn redirect:
Is this still happening for you? I have not seen the error. I'm also uncertain why it would be using the subdomain fastly?
Image
impudens simia et macrologus profundus fabulae
tec1234
Posts: 2
Joined: Mon Nov 17, 2025 7:07 am

Re: Errors/Warnings/Bugs

Post by tec1234 »

euler wrote: Tue Nov 18, 2025 10:34 pm
tec1234 wrote: Mon Nov 17, 2025 7:16 am mathjax render failed on problem pages caused by CSP violation after recent cdn redirect:
Is this still happening for you? I have not seen the error. I'm also uncertain why it would be using the subdomain fastly?
Sorry. After recheck, it is due to my local extension. invalid issue.
Post Reply