Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

You're right - there is a 15 minute window after initially being posted. However, I'm pretty sure this only applies when it's the original poster who edits the post. Don't quote me on it though - I might be mistaken.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

If that were the case, vBulletin would automatically insert a little "Edited by XXX" beneath their post.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I know I'm late, but I just stumbled upon this thread and couldn't resist ...

[tex]glove*2[/tex] ... there ya go, some LaTeX gloves

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Better late than never:

#include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;

enum run {TERMINATE=0, LOOP, NoRoot, HighIterations};

double f(double x, double k, double n, double l) {
return (((x*(1 + (k*n))/((1 + (k*x))))) - l);
}
double derivative(double x, double k, double n) { 
return 1 + ((k*n)/((1+x)*(1+x)));
}

run newton(int NIterations, double TOL, double& x, double k, double n, double l, int summation) {

for(int iter = 1; iter <= NIterations; iter++) {
double derivativex = 1 + ((k*n)/((1+x)*(1+x)));

if(derivativex == 0.0) {
return HighIterations;
}

double deriv = -f(x, k, n, l)/derivativex;
x = x + deriv;

if(fabs(deriv) < TOL) {
return TERMINATE;
}

cout << "Iteration " << iter << ": x = " << x << ", dx = " << deriv << endl;
} 
return LOOP;

double sum = 0;
for (int i = 0; i < summation + 1; i++) { //perform the function
sum = sum + (x*(1 + (k*n)/(1 + (k*x))) - l);
}
}

int main() {
double zero;
double tolerance;
double k;
double n;
double l;
int iterations;
int summ;

cout << "please enter a value for M, the number of different binding molecules: ";
cin >> summ;
for (int q = 0; q < summ; q++) {
cout << "please enter a value for k, the equilibrium constant(s): ";
cin >> k;
}
for (int z = 0; z < summ; z++) {
cout << "please enter a value for n, the total concentration(s) of the …
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Embarassed Dani says she forgot to install LaTeX on our new webserver. :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm reading but have been purposely avoiding posting a lot in this thread because it does me no good to constantly come between bickering members. :)

Over the last few days, I've kept to my word and have been checking on the Software Dev forums twice daily and adding code tags to new posts when needed. We average about 70+ new posts within 30 threads in the Software Dev forums daily, and of those, I've needed to add fewer than 5 sets of code tags each day. If you ask me, that's not terrible.

Like I said, I don't want to go the way of JavaScript or any other type of parser unless it's a last resort. Currently, less than 10% of our posts in the programming forum forget code tags, and so far it hasn't been a problem at all for me to add code tags in a reasonable amount of time after a post is made. Certainly not the huge problem you're making it out to be.

You also made reference to when I said that if I am going to do something, I want to do it right. Adding a very rudiamentary JavaScript parser to look for curly brackets to some of the programming forums and not to others is very "messy" so-to-speak. Frankly, it's a little cheesy (IMO), it's a drastic hindrance to usability, it has the possibility of going off when code tags aren't necessary (it's not foolproof by any stretch of the imagination), it …

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Swap links :) Get your site visible to spiders crawling other sites and finding yours. A big misconception is that a Google sitemap will let Google find your site and know about your pages. Simply not true! The only way to get Google to spider your site is by building pagerank through incoming links (known as backlinks). The higher your pagerank, the more frequently googlebot will return to your site and the more pages it will spider at a time. If you find that google isn't spidering your most important pages, a sitemap will lend them a helping hand by allowing you to specify what pages you give a higher priority to. But, remember, you need backlinks to build pagerank, and pagerank dictates how many pages they'll spider ... a sitemap will just let you tell googlebot which of your pages are more important and should get first dibbs at the googlebot.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

By integration functions do you mean stuff like this:

[IMG]http://img20.imageshack.us/img20/1562/int4kv.png[/IMG]

where the the upper and lower bounds are defined?

iamthwee, DaniWeb actually has built-in Tex functionality by using the tex bbcode. There is no need to hotlink tex from an image upload service

iamthwee=x^2

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Welcome to DaniWeb ... whether you're a lurker or a frequent poster, there is a lot for both novices and experts on this site, so enjoy :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I, too, use Apple's X11 with Fink.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Wikimedia's API is used specifically for this purpose.

http://en.wikipedia.org/wiki/API

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi there! Welcome :) Hopefully we'll be able to help you.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

News and Internet Discussion - This is where our Blogging feature comes into play. Currently our blogs serve as the perfect place for IT news ... members can name their own blog, categorize entries, members can comment on blog entries, it's all searchable by username or category, and there are multiple RSS feeds available. Additionally, moderators have the ability to mark well-written blog entries as featured where they appear on our homepage.

Thread games / quizzes / competitions - We had a Contests forum for nearly two years and it proved futile. No one submitted any contests other than blatant spam such as: "My forum is running a contest where if you post 50 times I will give you $5" ... Clearly, another contest forum isn't going to work unless / until the idea is revamped.

Photo gallery - Currently members can submit a profile picture which appears in their member profile and also on their blog page. I'm afraid that offering more elaborate photo albums at this time will take DaniWeb from less of a technical authority into more of a MySpace, which isn't necessarily the direction I want to head. Perhaps a "post your rig" photo album or such ... but a photo album for members' pets doesn't really scream, "This is a technical authority for professionals! What you read here can be trusted."

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

www.globalspec.com is an engineering search engine that currently has a partnership with DaniWeb.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Don't create tableless, CSS-only XHTML markup because spiders have an easier time with it than spaghetti code. Create it for usability and accessibility :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi! Welcome to DaniWeb. Good luck both on the job search and finishing your degree.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

It's always a very nice thing to have tech celebrities on the site. Actually convincing them to take time out of their busy schedules is another matter entirely ... of course, I'll see what I can do ... whatever that is :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hey shadowphoenix. Welcome to DaniWeb! Only one powerpoint slide, eh? Looks like you have your hands full :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Is SEO a big part of how you do business online? If so, stop! The number one piece of advice I could give anyone is to design and develop your websites for your target audience - for your users - instead of for the search engines. In fact, doing so will actually IMPROVE your search engine rankings. Search engines are focusing more and more on tweaking their algorithms to best perform when presented with websites that are designed for real users. Additionally, they can easily spot keyword and link stuffing and other "seo techniques" more than ever before.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Good luck :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

As some of you may already know, if you're not getting very relevant AdSense ads, you can use <!-- google_ad_section_start --> and <!-- google_ad_section_start(weight=ignore) --> to direct the MediaPartners bot to focus on your content areas.

Has anyone has a very noticable increase in AdSense revenue after implementing this? How long does it take AdSense to catch on after implemented?

Thanks!! :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi fellow PHP and MySQL person :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi and welcome! :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm familiar with the GeSHI syntax highligher but I have absolutely zero experience with Invision. I'm afraid that's my problem :( The only thing I can think of is that GeSHI's parser is automatically adding <div> tags to do its color coding, and it's causing some incorrectly nested <div> tags somewhere ... causing the <div> which opens the quote area to not close properly where it should.

I know that GeSHI's configuration allows you to set it up using <font> tags or <div> tags ... if I remember correctly. Try turning GeSHI's <div> tag option off and see if that fixes the problem. Otherwise, play around with GeSHI's configuration and actually set it up to parse your posts, but not to change any of the font or color coding. This way you'll know whether the problem is in running your posts through GeSHI in the first place or in something GeSHI is doing to alter your posts' output, screwing something up.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm really confused what you're asking. I don't see a quote anywhere in the snippet you provided. Also, what does this have to do with GeSHI? Are you passing all posts through it?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Ok cool. :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I said that it was impossible when you were talking about a parser that determines where code begins and ends in a post and automagically adds code tags. Once you explained to me what cprogramming.com actually does, I said that doing so was feasable.

BTW, I *still* haven't received my confirmation email from cprogramming.com, despite going into my User CP and making sure my email address was correct. I know a good number of you guys are cprogramming members so could one of you perhaps bring this to the attention of one of their admins? I would but ... well ... I don't really care :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

<offtopic>When I was in school, I was hanging out in the Computer Science Student Lounge when a professor walked in to get a soda out of the vending machine. Then, he exclaimed he had this great idea to give the first year students a project with vending machines and we all got into a discussion with him about it. Thread just brought back memories. Carry on your way.</offtopic>

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

This is very strange. However, I can't get the overflow: auto; and, more specifically, overflow-x: auto; behaviors to work properly on any of the Mozilla browsers (Firefox, Camino) on an Intel mac and yet they work fine on a PPC mac and in Windows. Regardless of whether scrollbars are needed or not, they always crop off the right 50 pixels or so of all text - even midword. Ideas anyone? I am assuming that this is just a bug in the newly Intel-compiled mac software.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Did that work?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

In the past we had a problem where visiting the Viruses and Spyware forum would throw back a whole bunch of browser errors because apparently there was something going around and when people posted infected HijackThis logs, Internet Explorer would pick up the malicious code from within the log and execute it.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Are you going to be the one to disagree with Narue right when she's near back with us?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Thank you for the words of advice, Narue :) Like I said, I think that this problem is better solved through moderation.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Please post the log, in This forum.

Yes, this is an inappropriate place for technical support questions - you'll receive much better assistance posting in the Viruses and Spyware forum :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

>You can't teach fools. Or the one post wonders, which is what daniweb mostly caters for, well in the software development forums anyway. ;)

Well I am going to try very hard to change that. Just watch me :)

This thread will be kept open to other non-parsing suggestions.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

A ha ha, ok. Just for you though.

Thank you :)

To wrap up this discussion ... An elaborate code parser which determines where code starts and stops is out of the question. A simple JavaScript that does a search for { and } and [code] is feasable but would be limited to just a small section of the site, which has the overhead of having to check for what forum we're posting in before doing so, and additionally could essentially add confusion if implemented in some programming forums but not others. Additionally, it really is only a very last resort temporary solution.

So far ... nothing out of [code] yesterday or today. I'll try to do a daily check :) Like I said, teaching members to be better members is always a better solution. Perhaps (and hopefully) we won't even need to consider anything else because this will solve our problem.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

:)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Per post #45:

While I would still love to go ahead with this, I'm not so sure it is in the near future. After leaving this poll up for somewhere near 7 months to see if I could get a general idea of how much interest there is, only a dozen people said they might be able to come.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Congrats to you.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Gah ... I've had enough of this issue - I think it's been discussed to death already.

iamthewee ... I would have contacted you via PM but you have PMs disabled ... would you please be able to refrain from manually adding your graphic signature to all of your posts. Please use text-only signatures within our control panel and if you really like that image, set it as your avatar :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Yes ... it's just a search for { } which is viable in JavaScript ... although certainly not a foolproof method or something that makes sense to do on a site that has a lot more than just C code :) It *is* a temporary last resort though.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

The system they use forces people to use code tags that contain curly brackets. Which is often the case when students post their entire program.

Well that would explain it ... it would be just a search for { or } within a post and if that is found without [code], then it would present the user with a message. That is viable ... but not so for DaniWeb, when curly brackets are used quite often when not posting code snippets. Additionally - it would only make sense for some of our programming languages, which really just adds confusion into the mix. I'm really not all too fond of such a rudimentary hack because it's not fool proof and I would rather do something 100% right or not at all.

Let's give my way a shot first (the wysiwyg editor watermark, etc) ... if it's STILL a serious problem, perhaps I'll do something like that temporarily.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I tried to register on cpogramming but I never received my confirmation email to activate my account. I've waited an hour :( I even double checked my email address.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

It's not as memory heavy as you might think because once you visit a forum, it automatically considers all threads within that forum older than 15 days as read. (From what I understand at least, I might be mistaken). The previous cookie-based method wasn't working well for us because a lot of our members access the site from home and from work and cookies don't remember settings. Additionally, a lot of the Windows users frequently clear their cookie settings when trying to debug IE problems and browser hijacks. Besides, without database-stored thread marking, I wouldn't be able to have added that neat feature to the homepage that shows recently viewed threads when you're logged in :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Tester, please be sure to post your question in the Software Development forums. This is an inappropriate place for help :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm confused why. For me, when I click on the Posts Since Last Visit link, it works the same way with 3.0.x as it does with 3.5. The only difference is now it additionally shows "threads that have not been updated since your last visit but still contain unread posts" below the listing. I find it more helpful :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

This has been tried in the past, and it really isn't cost-effective to send visitors away with a Google search. I have also tried using the Google API to perform Google searches while keeping the users on DaniWeb (ie: http://www.daniweb.com/search/search.php?q=SOME_QUERY to perform a google sitewide search where SOME_QUERY is whatever you'd like), but Google limits the number of queries that can be performed daily and we surpassed their max, even after emailing them asking to raise the limit.

If you're a frequent Googler, may I suggest the Google toolbar :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

It's very probably that cprogramming just has a more efficient group of moderators, especially since they focus exclusively on programming. :)

I went to the cprogramming.com website and into the C++ forum. The third thread listed, http://cboard.cprogramming.com/showthread.php?t=78438, has multiple posts with code that isn't in [code] tags. Cleary, they face the same problem we do. They probably just have a more diligent moderation staff, in addition to perhaps a more experienced community of programmers who are more used to using [code] tags. Who knows ... but the point of the matter is, that it really just isn't feasable to do anything server side as far as parsing is concerned.

I am open to OTHER suggestions though. :) Please also note that this week will be one of the worst since a new school semester just began. Therefore, a lot of first year students are in the first and second weeks of beginner programming courses. If we can get through this week enforcing [code] tags, we can get through the rest of the year :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hmm ... this still isn't working and I don't understand why. According to this page on Adobe's site:

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14201

The background of a Flash movie can be set to transparent. This allows the background color or image of the HTML page that contains the Flash movie to show through and allows the layering of Flash content with DHTML content.

However, the DaniWeb CSS-based menu still renders behind the Flash ad in Firefox. GRRR ... any suggestions?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I know they have an announcement about it but I'm not familiar with anything they do server-side. Could someone who is a cprogramming frequent visitor please confirm?