Errors/Warnings/Bugs
- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: Errors/Warnings/Bugs
Yes, 800 problems is quite a landmark.
Thanks for letting me know about the minimal output for problems. It should be fixed now.
Thanks for letting me know about the minimal output for problems. It should be fixed now.

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
More a minor curiosity or caching issue than a real bug, I suspect, but I noticed something strange in the Big Game Hunter award recipients. There are currently 41 people in newly-created level 31, who have solved at least 775 problems, which mean they have at most 25 unsolved problems. That means they should all have the Big Game Hunter award for solving at least half the 50 most difficult problems. But if you look at that award's recipients, it only shows 32 people at level 31. Why the missing people? At the current time, the Big Game Hunter list was updated more recently than the level 31 list.
Scanning the diffs, looks like the people missing from the Big Game Hunter list are Jerome R, Tepsi, aleksey, gmt, grechnik, hos-lyric, uwi, voltara, and x22, all of whom have been active in the past day.
Scanning the diffs, looks like the people missing from the Big Game Hunter list are Jerome R, Tepsi, aleksey, gmt, grechnik, hos-lyric, uwi, voltara, and x22, all of whom have been active in the past day.

- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: Errors/Warnings/Bugs
Interesting and thank you for drawing this to my attention.
Awards are earned when a problem is solved or a member visits their own progress page (awards sub-section). It seems that the script which triggered when a problem is solved wasn't checking difficulty based awards properly. Visiting the progress page for a couple of test cases from those you listed gave them the award.
I've made some changes, which I hope will have solved the issue and hasn't caused some other undesired effect. :fingers-crossed:
Awards are earned when a problem is solved or a member visits their own progress page (awards sub-section). It seems that the script which triggered when a problem is solved wasn't checking difficulty based awards properly. Visiting the progress page for a couple of test cases from those you listed gave them the award.
I've made some changes, which I hope will have solved the issue and hasn't caused some other undesired effect. :fingers-crossed:

impudens simia et macrologus profundus fabulae
-
Decarabia
- Posts: 6
- Joined: Tue Sep 06, 2016 5:03 am
Re: Errors/Warnings/Bugs
After solving problem 360 I got again a message indicating (wrongly) that I got the big game hunter award. Unfortunately that's still too far away for me...
(It's a pity because I wanted a screenshot of the "problem solved" page, since I got a level up. But now this screenshot shows the "new award" line... which would be nice, if not for the detail that I know it's not true
).
(It's a pity because I wanted a screenshot of the "problem solved" page, since I got a level up. But now this screenshot shows the "new award" line... which would be nice, if not for the detail that I know it's not true
-
hidesugar
- Posts: 7
- Joined: Tue Apr 04, 2017 9:48 am
Re: Errors/Warnings/Bugs
Why my post in thread 799 is not permanent?
Is it just a bug or does my post violate the rules?
https://projecteuler.net/action=redirect;post_id=401131
Is it just a bug or does my post violate the rules?
https://projecteuler.net/action=redirect;post_id=401131
- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: Errors/Warnings/Bugs
@Decarabia: Thank you for reporting this. I have no idea how this happened, but it seems one of the scripts had reverted back to an old version that had this issue. It should be fixed for the next time you or anyone else solves a problem. I am sorry to say that it means you've lost it again, but it's always good to have a goal to work towards.
@hidesugar: Your post certainly does not violate any rules and I don't know what could have caused it. I did upload a lot of changes last night to implement some features for the admin team, but nothing I did should have caused temporary/permanent posts to be affected. I've set your post to permanent again, but we'll have to keep an eye on things. Can you remember if it was originally permanent or did you not notice at the time?
@hidesugar: Your post certainly does not violate any rules and I don't know what could have caused it. I did upload a lot of changes last night to implement some features for the admin team, but nothing I did should have caused temporary/permanent posts to be affected. I've set your post to permanent again, but we'll have to keep an eye on things. Can you remember if it was originally permanent or did you not notice at the time?

impudens simia et macrologus profundus fabulae
-
hidesugar
- Posts: 7
- Joined: Tue Apr 04, 2017 9:48 am
-
Decarabia
- Posts: 6
- Joined: Tue Sep 06, 2016 5:03 am
Re: Errors/Warnings/Bugs
Of courseeuler wrote: Fri Jun 17, 2022 5:45 pm I am sorry to say that it means you've lost it again, but it's always good to have a goal to work towards.
Thanks again for all your work.
-
SirMrGuy
- Posts: 2
- Joined: Mon Jun 20, 2022 1:25 am
Re: Errors/Warnings/Bugs
For a lot of problems, the "solved by" count seems to have decreased substantially at some point. As far as I can tell not every problem has been affected, but e.g. Problem 1 is way lower than it used to be (726k now vs. something like a million; it had 949k back in May 2020, which is when I decided to save all of PE's solve data to a spreadsheet for some reason), and the numbers don't agree with the Statistics page. Is this a bug, or the result of something intentional?
(and congrats on 800+ excellent problems, onwards to 900!)
(and congrats on 800+ excellent problems, onwards to 900!)

- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: Errors/Warnings/Bugs
Thanks for the heads-up. I'd completely missed that. I'd made a small error in one of the scripts in the recent changes. It should be fixed now. I've manually synced problem 1 to check it is working properly, but it will take time for the counts to synchronise properly for the other problems. This happens when someone solves a problem.

impudens simia et macrologus profundus fabulae
-
radeye
- Posts: 9
- Joined: Mon Oct 30, 2017 7:13 pm
Re: Errors/Warnings/Bugs
On the Eulerians page, performance is misspelt (peformance) in one location.
- heteroing
- Posts: 80
- Joined: Thu Sep 10, 2020 10:23 am
- Contact:
Re: Errors/Warnings/Bugs
Hopefully this is the right spot for this. Code snippets in the language Nim do not render properly. I'm not sure if this is because the syntax highlighter needs to be updated or something. Previous posts about syntax highlighting indicate that the site uses highlight.js, which should support Nim fully. For an example take a look at my post in the thread for 508 (link), where it thinks that // are supposed to be comments, and ignores the real comments which start with #.
Not sure if there's a great solution to this but I thought I'd make note of it.
Not sure if there's a great solution to this but I thought I'd make note of it.

- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: Errors/Warnings/Bugs
By default, highlight.js supports 40 of the most popular languages. Upon request, it is necessary to add support modules for other languages that cannot be rendered by its generic handling algorithm. As you're saying it doesn't do a good job, I've added specific support for Nim.

impudens simia et macrologus profundus fabulae
- heteroing
- Posts: 80
- Joined: Thu Sep 10, 2020 10:23 am
- Contact:
Re: Errors/Warnings/Bugs
Thanks for adding it!
However.. the highlighting works on light mode, but me and a friend have verified that using dark mode, no syntax highlighting is used for any code snippets in any language.
However.. the highlighting works on light mode, but me and a friend have verified that using dark mode, no syntax highlighting is used for any code snippets in any language.

- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: Errors/Warnings/Bugs
Thank you for letting me know. When I remember, I update the highlight.js CDN links to the latest versions (currently 11.5.1). It seems that the old dark mode style we used: tomorrow-night, has been removed for no obvious reason. It's a shame because it is a really nice version. For the sake of consistency I have replaced both light and dark versions with "Stack Overflow" themes.

impudens simia et macrologus profundus fabulae
- heteroing
- Posts: 80
- Joined: Thu Sep 10, 2020 10:23 am
- Contact:
Re: Errors/Warnings/Bugs
It seems at least on my end that dark mode code highlighting is still broken.

- euler
- Administrator
- Posts: 5095
- Joined: Sun Mar 05, 2006 4:49 pm
- Location: Cheshire, England
- Contact:
Re: Errors/Warnings/Bugs
It was working last night when I uploaded it, but it wasn't working for me when I just checked now. It looks like one of their CDN streams wasn't working, so I've changed them all to a different one. Could you check again?

impudens simia et macrologus profundus fabulae
- heteroing
- Posts: 80
- Joined: Thu Sep 10, 2020 10:23 am
- Contact:
-
endagorion
- Posts: 57
- Joined: Mon Nov 21, 2011 9:19 pm
Re: Errors/Warnings/Bugs
When trying to open main site, I'm getting a "certificate expired" warning from Firefox (it actually doesn't let me through to the site).
The certificate for projecteuler.net expired on 19/09/2022.
Error code: SEC_ERROR_EXPIRED_CERTIFICATE
-
radeye
- Posts: 9
- Joined: Mon Oct 30, 2017 7:13 pm
Re: Errors/Warnings/Bugs
Yep, cert is expired, and HSTS means you can't "bypass" the warning. This is a code red.