|
Hmm. Tempting...
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris - would it be possible to turn off smiley parsing within <pre> and <code> blocks? These generally represent code, and you probably don't want smileys in code?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Can you send me a link to a message with code that contains smileys? The code should be smart enough to not convert, but it can always be improved.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
I would, except I 'refactored' the smiley out (I always preview). However, it was a regex, like this:
std::tr1::regex re("^([^:]*):(\\d+)\\s+(\\d+)\\s+(\\S)\\s+(\\S)$");
The preview indicates an anti-smiley (the correct reaction to any regex, possibly) between the first two captures.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Added to the bug list. Thanks
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Given the rapid growth rate of people demanding answers to the most basic questions, such as "what is LINQ: introduction and suitable example", I think it would be prudent to add a "Google it!" button next to the reply link in our message boards which would send them to google.com. I think it would also be appropriately humorous to have this button include some derogatory yet funny quip about the brainlessness and incompetence of the poster being replied to. It would also be quite enjoyable for all of us plagued with having to respond or even look at these demands if said poster was, oh, banned from posting for a day, with a nice clear message as to why they are banned? Perhaps we could encourage a return to the older culture of CodeProject...where people actually asked questions about challenging problems so those who respond can actually be interested in responding.
Perhaps we can have a little CodeProject contest to see who can write the best engine for generating "humorous derogatory quips" to go along with the google.com link.
|
|
|
|
|
That's funny. Your idea about "humorous derogatory quips" would be amusing to some, but the problem is that sometimes it is not possible to determine if the poster is stupid (and should be looking for a different profession) or ignorant (as we all are, about some things).
Still, I think the idea for prompt to search google is a good one. Maybe above the text box, there could be Would you like to try google first?, along with an edit field for question, and a google button.
|
|
|
|
|
Jon Rista wrote: Perhaps we can have a little CodeProject contest to see who can write the best engine for generating "humorous derogatory quips" to go along with the google.com link
Now that idea I like!
As to the google it link, I reckon I need to make the 'auto-search an answer' suggestion that was made, oh, years ago, a higher priority. Let's stop dumb questions being answered in the first place.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Woot!
|
|
|
|
|
Hi Chris,
Take a look.
Jeff
Connected to www.codeproject.com:80
Sent 132 bytes:
GET http:
Host: www.codeproject.com:80
User-Agent: html page tear-ror
Received 56431 bytes
Response Header:
HTTP/1.1 200 OK
Date: Sat, 14 Feb 2009 19:53:27 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Set-Cookie: SessionGUID=67b76284-7f37-4ffe-afea-2c7d4f089397; path=/
Set-Cookie: SessionGUID=67b76284-7f37-4ffe-afea-2c7d4f089397; path=/
Set-Cookie: cntid=225; expires=Fri, 14-Aug-2009 04:00:00 GMT; path=/
Set-Cookie: SessionGUID=67b76284-7f37-4ffe-afea-2c7d4f089397; path=/
Set-Cookie: ASP.NET_SessionId=1z15b055xyf21gqfdpljkorp; path=/; HttpOnly
Set-Cookie: SessionGUID=67b76284-7f37-4ffe-afea-2c7d4f089397; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 55785
Response Body:
[ Snip ]
|
|
|
|
|
Thanks, I've opened a ticket.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Hi Chris,
I'm working with a small program to tear html pages (you will see it in your logs as 'User-Agent: html page tear-ror'.
Would it be possible to have the web servers add their identity to the headers? For example X-Server: Web16.
I'm finding some inconsistencies at times with served pages. When an issue is encountered, I dump the response-header and discard the message-body. I discard the body because the issue lies with the Content-Length field. I'd like to discuss what I am seeing and offer up the offending server.
Jeff
|
|
|
|
|
Jeffrey Walton wrote: I'm finding some inconsistencies at times with served pages ... the issue lies with the Content-Length field.
I was observing it near constantly yesterday. But I have have not observed it today.
|
|
|
|
|
Hi Jeff,
Haven't seen you for a while.
You will find server id on the last line of each page, for both forums and article pages. It will appear like "web18".
|
|
|
|
|
Hi Hans,
Hans Dietrich wrote: Haven't seen you for a while.
I've missed my pet programming projects . I'm putting finishing touches on a TCP/IP/HTTP/Wireshark article. It's a warmup to something more interesting (IMHO).
Hans Dietrich wrote: You will find server id on the last line of each page
Yep... unfortunately I will not parse it if Content-Length is not correct (plus it is tough to fish out down there). Web browsers allow a lot of slop - I prefer not.
I can trade a couple of extra cookies in my current response-headers.
Jeff
|
|
|
|
|
It would be really nice to have a split-screen forum preview tool like this[^].
I read about it here[^]. It's fantastic.
Basically, it's a forum preview tool that lets you preview how your post will look live... while you write it. The top shows what you type with your tags in place while the bottom shows how the post will look when it is posted for things like bold, italics, inline code , and
code blocks. Actually, I wouldn't mind having an online article editor that works like this, too.
What do you think?
|
|
|
|
|
That sounds like a very cool tool.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
What about simply moving to a WYSIWYG forum editor?
|
|
|
|
|
While this would not prevent posts in the wrong forum, if every new post page had a drop down for forum and a message type for Programming Question it could be possible to catch some of them. Heck, such a feature is probably already implemented in your administrative tool.
Need custom software developed? I do C# development and consulting all over the United States.
If you don't ask questions the answers won't stand in your way.
Doing a job is like selecting a mule, you can't choose just the front half xor the back half so when you ask me to do a job don't expect me to do it half-assed.
|
|
|
|
|
So every new message would have to explicitly state which forum it should go into?
Then every message would go in the first forum.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
No, every message would default to the appropriate forum type with the option to change it.
Ie, if you clicked new message in the C# board the new message would open like expected and if a user did no action but type a message the post would go to the C# board. Now, if there were a drop down right next to the post message button with the name of the active forum it would serve as a second reminder. It would take deliberate action on someones part to use a tool like that to post in the wrong place.
Need custom software developed? I do C# development and consulting all over the United States.
If you don't ask questions the answers won't stand in your way.
Doing a job is like selecting a mule, you can't choose just the front half xor the back half so when you ask me to do a job don't expect me to do it half-assed.
|
|
|
|
|
Ennis Ray Lynch, Jr. wrote: Now, if there were a drop down right next to the post message button with the name of the active forum it would serve as a second reminder.
You think this will be more effective than a big, red 'DO NOT POST PROGRAMMING QUESTIONS IN THIS FORUM'? message?
No - I will be implementing a system that simply allows members to move posts.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
It would allow moving of posts if it were available in the edit post page as well.
I think it would just be another tool in the arsenal to help with the issue. There is nothing you can truly do to stop an idiot from being an idiot but you can put hurdles in the way.
Need custom software developed? I do C# development and consulting all over the United States.
If you don't ask questions the answers won't stand in your way.
Doing a job is like selecting a mule, you can't choose just the front half xor the back half so when you ask me to do a job don't expect me to do it half-assed.
|
|
|
|
|
|
Chris Maunder wrote: No - I will be implementing a system that simply allows members to move posts.
Great to hear! Will this go so far as to provide the forum management features I had suggested ages ago?
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|