|
Sorry but this a private matter now. If everyone wants let it go, then STOP commenting.
No comment
|
|
|
|
|
Mark Nischalke wrote: If everyone wants let it go, then STOP commenting.
Irony...
Peace out.
|
|
|
|
|
|
David1987 wrote: Many people are ridiculing stephen for asking how to generate numbers divisible
by 5.
Yeah it’s quite distressing that people who can write a few lines of code think that they are somehow superior to non-programmers when they themselves are mostly clueless as to anything non-programming related. Maybe it’s a sub-conscious awareness of these shortcomings that makes them behave like assholes when they get that once-in-a-while sporadic opportunity to do so.
|
|
|
|
|
That's disappointing.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Inserting a space between two letters doesn't trigger a preview update.
Whitespace is only safely ignorable at the ends of lines, not in the middle.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
The preview is never updated for any white space.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
I know, and that's the problem. When I type "Thisis a bug" and then go back to insert the missing space the preview doesn't update. It should only ignore whitespace at the end of lines, and the start of lines outside of pre blocks.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
why should spaces be treated differently, a change is a change? and when applied I would assume it got applied for a reason.
|
|
|
|
|
white space at the end of a line, or the start of a line outside of a pre-block has no impact on the output. Ignoring it is a simple optimization to reduce server load and network traffic. The problem is that as currently implemented the code is:
if (!IsWhiteSpace(newChar))
{
UpdatePreview();
}
When it should be:
if (!IsWhiteSpace(newChar) ||
(IsWhiteSpace(newChar) && WhiteSpaceMattersHere(cursorPosition)))
{
UpdatePreview();
}
Oh and I spotted another minor bug. When wrapping text in a pre block the update isn't triggered when the pre tags are inserted, but when I click in the edit control returning its focus. (FF5.0)
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
|
I just noticed carriage returns (newlines) are also not triggering a preview update; splitting an existing paragraph into two paragraphs by hitting ENTER twice does not update the preview. This isn't good.
|
|
|
|
|
I've fixed this, and the issue with the preview not updating when you apply a codeblock has been lessened, in that it will update within a fraction of a second via the timer. The format buttons aren't (yet) plugged directly into the message preview system (which would mean instant update) and the onchange event for a textbox only fires when focus changes.
Will try and get to the signature update today.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Guess I need to start looking for new bugs then.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
Should these really be classified as debater points? While generally not language specific most are general programming discussions as opposed to the standard lounge drivel.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
Yes.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
why?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
When in doubt defaulting to debator seems to be the general approach. And I agree with it. Better to give debator points for a programming discussion than to give authority points for a discussion on bra-sizes (yes, we've had that twice in the poll-forums in the past).
|
|
|
|
|
Nishant Sivakumar wrote: Better to give debator points for a programming discussion than to give authority points for a discussion on bra-sizes
What if I'm an authority on bra sizes? ...my wife's of course, not mine.
Just along for the ride.
"the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
|
|
|
|
|
My hyperbole generator is stuck in the on position.
Now that we've got that aside...
The Konami code doesn't appear to do anything on the CP home page[^].
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
Well, if it makes you feel any better, I just added it to our portfolio management system
Yes, really.
|
|
|
|
|
That is correct.
Have you tried other pages[^]?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
that's a secondary page. There's nothing less of main page than the home page, so you really need to have something there. You also probably need to add it to the article/QA interfaces (the main listing pages don't do anything; didn't test deeper).
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|
|
I'll get right on that, Dan.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Doesn't seem to work in IE though. Or maybe it doesn't work if I'm logged in. Not sure.
Martin Fowler wrote: Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
|
|
|
|