|
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
|
|
|
|
|
Is it possible?
// TESTING
[img]http://img17.imageshack.us/img17/7831/clipboard01md8.png[/img]
|
|
|
|
|
Possible, yes. A good idea? We're still debating.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
an excellent idea.
some questions, mainly architectural and algorithmic ones, beg for one or a few images.
you could have a weekly poll on the subject.
you could restrict the use to gold members...
whatever argument against it is also valid for articles, where images *are* supported;
and since an article doesn't need any text the lack of image support for messages is an
invitation to writeshoot an article.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
Luc Pattyn wrote: an excellent idea
I agree that images would be a welcome addition (from a user's perspective).
Jeff
|
|
|
|
|
Unfortunately, allowing off site images would really be a royal PITA. The solution I like best is an upload images directory that can then be pseudo tagged in posts. Clearly the images could then only be downloaded with the appropriate referrer to keep CP from being the next Image Host provider.
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.
|
|
|
|
|
If an image is worth a thousand words, then anything said about images can also be said about text. Do we have problems with text on CP? Yes, every day, and they get nicely resolved via the Report button. It will be no different with images.
As others have suggested, the use of images in posts can be restricted to gold and above, thus solving the #1 concern about images being posted by immature users.
Chris, I know you and Dave are concerned about this. I'm just wondering what your reaction is going to be when people start saying things like, "Well, I stopped posting on CP because they don't allow images in posts, but stackoverflow.com does."
The last time I looked, stackoverflow had not become a cesspool of pornographic images. If they can handle it, why can't CP?
|
|
|
|
|
We have problems enough with the resident kidiots posting NSFW text on the board. Letting them embed links to goatse, tubgirl, lemon party, or even just normal pron would be a catastrophe!!!!!!!
EDIT: when they can only post links, eyeball scanning can largely protect against going somewhere offensive, and for unknowns other posters can put warnings in replies. If the material opens automatically that's not possible.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
What about yourself? Or members who have shown they have some self-restraint? What if the default setting was 'do not show images' for current members?
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
My opinion is that the potential for abuse far outweighs the potential benefit.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
Pictures are gonna be a bad idea.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
huh?
Im talking about IMAGES, not iFrames...
|
|
|
|