|
It appears that all new members of CodeProject are in the USA, according to their home pages. Is there something preventing them selecting their home country when they create a new account?
|
|
|
|
|
Looking at the accounts opened today (9th of May) there are several that did changed the country - so it seems to be possible...
Looking at the others - most of them seems like generated by some code, not human made. That may explain why the country is the default...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
I was referring to all the new accounts created to post in QA. I assume it is just laziness (like some of the questions) but there may have been some other reason.
|
|
|
|
|
Not all - I'm from germany.
|
|
|
|
|
Has his time machine failed, again?
"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!
|
|
|
|
|
Today is Mothers Day in Oz, the US and probably other miscellaneous countries.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
while(true) {
do_work();
} It wasn't like this before, and I'll have a pile of editing to do if it isn't fixed.
modified 1-May-21 18:46pm.
|
|
|
|
|
Strange ... but confirmed, and only for "specifically named" C and C++ comments:
while(true)
{
do_work();
}
while(true) {
do_work();
}
while(true) {
do_work();
}
while(true)
{
do_work();
}
while(true)
{
do_work();
}
"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!
|
|
|
|
|
By "specifically named", do you mean that only the C/C++ examples are broken? I'm surprised that the first one is colorized at all, given that it doesn't specify a language.
|
|
|
|
|
If you don't specify anything, it tried to work it out for you - and mostly does a pretty good job.
But only the C / C++ ones gave a comment problem.
"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!
|
|
|
|
|
|
I wasn't sure what you meant, but it looks like a backslash at the end of a line continues a comment. This makes sense insofar as it escapes the endline character, but I still think it's silly.
|
|
|
|
|
One thing I learned when writing specifications. Make one or two silly, easy to fix, mistakes or requirements. The reviewers need to find something to justify their existence, so make both your lives easier.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
|
I added Solution 3 to the question at Performing arithmetic operations with textbox values[^]. But now, when I click the Copy Code button in my solution it picks up random code from elsewhere in the entry, e.g.
On Button click, divide the value of textbox1 with the sum of the values of TesxtBox2, TextBox3, and TextBox4, then multiply the result with the value of TextBox5. Show the final result in textBox6. I have tried manipulating the below code, but doesn't seem to get. Would appreciate any valuable assistance
Which is from the question.
[edit]
I restarted Chrome and it is working now.
[/edit]
modified 26-Apr-21 6:30am.
|
|
|
|
|
Works fine for me in Firefox 88.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
This was using Chrome, and it happened at least five times for me. I just restarted Chrome and it appears to be OK.
|
|
|
|
|
|
|
Unfortunately, this fixed itself before I could track down the issue.
I'll keep a lookout for this should it happen again.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
Hi all
Is there a way to change the font CP uses to display code snippets in articles?
My new tablet is currently showing code in Courier New and I always code in a non serif font.
Regards
|
|
|
|
|
Do you have Consolas installed?
The CSS for the code shows:
font-family: Consolas, "Courier New", Courier, mono
So Courier New is a "fallback" font, if Consolas isn't installed.
(You can see this by using Chrome Inspect, then looking at the Computed tab for the element.)
"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!
|
|
|
|
|
Many thx OG, I'll pursue that idea.
[Update]
Bummer. Consolas is a MS font and appears not to be available on Android.
Would it be feasible to have a fallback for Consolas in the same way there is a fallback for Courier New?
modified 24-Apr-21 22:53pm.
|
|
|
|
|
Might be a dumb idea, but can you download a font you like and rename it so your browser thinks it's consolas?
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Yeah, totally. I'll just replace courier with monospace which will be Droid Sans Mono on Android
cheers
Chris Maunder
|
|
|
|