|
|
I will take a look at this.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
Thank you.
you can see problem in this question, OP just forgot to use the <pre> tag.
How can I change this code to solve n equation? .[^]
Would be nice to be able to block the changing process.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
I can't seem to replicate the issue.
for(int i=0; i<n; i++) {
a += i;
}
for(int i=0; i<n; i++) {
a += i;
}
for(int i=0; i<n; i++) {
a += i;
}
In QA and forums this seems to work OK.
In the QA you linked to, the code block wasn't enclosed in PRE, so it was treated as raw HTML. The <n was considered by our HTML cleaner as the start of a tag and it tried to correct it. It's kinda hard to fix issues like this because it could have easily been <i, which could legitimately been a mal-formed italic tag.
Best solution: make new users use Markdown. Still, it has it's own quirks...
cheers
Chris Maunder
|
|
|
|
|
Missing the <pre> tag is the common mistake of new members.
I wonder if encoding suspicious text would not be a better approach ?
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
|
When I download code from an article, I've started adding a file called "Origin.txt" which contains the CodeProject URL of the article I got it from.
Would it be possible to add that (or a .URL / .WEBLOC instead) automatically to the ZIP when it's uploaded to CP?
The reason I say that is that I only started creating the file myself when I wanted to recommend an article for the Nth time and couldn't remember where the heck I got it ... Not sure if it would work, can you add a link to the final article before it gets through moderation?
It would make it easier to "track" credits that are due in apps as well.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Hi all
that is the third time it happens.
I try to save and article the server reply the file does not exist and everything is gone
Today I lost 3 hours!
Please fix that bug
(is there any way to recover lost data?)
Cheers
Vincenzo S.
|
|
|
|
|
Hey boys
Good news: The autosaved version saved my life.
Everything is OK
(But the bug still remains)
Cheers
Vincenzo
|
|
|
|
|
Again
Perhaps that helps:
Everything started when I uploaded an image, then I decided to delete the old image to load the new one. When I tried to load the new version of the image the page said: that name already exists (shouldn't, I deleted that file.)
So I decided to refresh the page, and before the refresh, I tried to save the page I'm editing and the exception raised.
Then I discovered the 'automatically saved version' and Edited it
I loaded again the new image (with the same name) everything was OK
but when I added the image to the page the old image was displayed
Now I changed the name to the image
but I think this bug should be fixed
Cheers
Vincenzo
|
|
|
|
|
I've also noticed that the article editor has problems with deleting an image and then uploading another one with the same name.
|
|
|
|
|
I'm glad the auto-save did its job for you.
I'll look into the issue to deleting images though.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
Should the weekly poll accept multiple selections?
|
|
|
|
|
|
Fine for me. However, I have seen similar issues in the past when the page transfer gets interrupted (or somehow corrupted) so the browser cannot lay it out correctly.
|
|
|
|
|
Try Ctrl+F5.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
Also Firefox. OK on this site, but yours is what happened to me on GitHub just a few minutes ago!
EDIT: And happened again.
|
|
|
|
|
Try Ctrl+F5.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
No. I rebooted, and it's clear that MF MSFT have installed something. They wanted me to "set up Windows" by making Edge the default browser, letting me answer my phone on my PC, and sign up for an Office 365 trial. Whatever these sphincters did has messed things up. Now there are some icons that I don't see on this site (e.g. "mve" and "mva" instead of the icons).
|
|
|
|
|
All normal now. My FF "new tab" page didn't show the usual icons for frequently visited sites, but only GitHub and CP had problems. Other sites were OK, and their proper icons started to reappear as I visited them. Bizarre, though someone who knows more about browsers can likely explain it.
|
|
|
|
|
 Getting the same in Chrome and Edge as well.
Errors from the console:
Loading failed for the <script> with source "https://codeproject.freetls.fastly.net/script/Content/JS/editor.min.js?dt=2.8.20210530.1". Edit.aspx:50:1
11:39:19.705 Loading failed for the <script> with source "https://codeproject.freetls.fastly.net/script/JS/standard.min.js?dt=2.8.20210530.1". Edit.aspx:53:1
11:39:19.706
Uncaught ReferenceError: TextEditor is not defined
<anonymous> https://www.codeproject.com/script/Forums/Edit.aspx?fid=1645&select=5810295&floc=/suggestions.aspx&action=r:1058
Edit.aspx:1058:4
11:39:19.774
Some cookies are misusing the recommended "SameSite" attribute 2
11:39:20.390 Content Security Policy: Ignoring "'unsafe-inline'" within script-src: ‘strict-dynamic’ specified
11:39:20.390 Content Security Policy: Ignoring "https:" within script-src: ‘strict-dynamic’ specified
11:39:20.390 Content Security Policy: Ignoring "http:" within script-src: ‘strict-dynamic’ specified
11:39:20.392 Content Security Policy: Ignoring "'unsafe-inline'" within script-src: ‘strict-dynamic’ specified
11:39:20.392 Content Security Policy: Ignoring "https:" within script-src: ‘strict-dynamic’ specified
11:39:20.392 Content Security Policy: Ignoring "http:" within script-src: ‘strict-dynamic’ specified
11:39:20.551 Empty string passed to getElementById(). m_js_controller_fy2019.js:38:4189
11:39:20.604 An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing container.html:13
No way to post a screen-shot now, since the script isn't working.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Opening the failing script URL in a new tab:
https://codeproject.freetls.fastly.net/script/Forums/JS/forum.min.js?dt=2.8.20210530.1
returns:
Quote: Error 503 Service Unavailable
Service Unavailable
Guru Mediation:
Details: cache-lon4237-LON 1623148866 2146274595
Varnish cache server
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hi,
A large portion of the internet went down a few hours ago due to the Fastly CDN disruption[^].
Codeproject is a Fastly customer.
Best Wishes,
-David Delaune
|
|
|
|
|