My site has several listing pages and on each page, I'd like to enable a commenting mechanism, but I want it to be as open source as humanly possible. This means full use of OpenID's, Facebook connect, etc. Does such a system exist that'll allow users to post their comments on my listing pages?
By the way, my site utilizes a LAMP archit...
Hi,
I was recently hired in a company. They have a lot of C++ and C# code source files and almost one different commenting style per file. (Well this is exagerated, but you have the picture)
This morning, I show my new collegues how my personnal code was commented and how easy it was to generate a documentation from it (I use Doxygen)...
Comment rows are counted in the NR.
Is there some flag to ignore comments?
How can you limit the range in AWK, not like piping | sed -e '1d', to ignore comment rows?
Example
$ awk '{sum+=$3} END {avg=sum/NR} END {print avg}' coriolis_data
0.885491 // WRONG divided by 11, should be by 10
$ cat coriolis_data ...
With the JSF/Seam/RichFaces stack, is there a way to mark up comments (on XHTML pages) so that they will not be included in the HTML output? I.e., something like JSP's <%-- comments --%>, as opposed to normal <!-- comments -->.
I heard that facelets.SKIP_COMMENTS context-param migth do this for normal HTML comments, but is there any oth...
How would I list a page of the top commented pages on the site with PHP and mysql?
The database is set up sort of like this:
page_id | username | comment | date_submitted
--------+----------+---------+---------------
1 | bob | hello | current date
1 | joe | byebye | current date
4 | joe | stuff | d...
I am asking this because I use Python, but it could apply to other interpreted languages as well (ruby, php, javascript).
Whenever I leave a comment in my code, is it slowing down the interpreter? My limited understanding of an interpreter is that it reads program expressions in as strings and converts those strings into code. It seems ...
I noticed that in the Linux kernel 2.4 file sched.c there's a line that says:
void scheduling_functions_start_here(void) { }
and one that says
void scheduling_functions_end_here(void) { }
Shouldn't this kind of stuff be written as a comment? What is the gain of using functions?
...
Please consider the following code with which I'm trying to parse only the first phpDoc style comment (noy using any other libraries) in a file (file contents put in $data variable for testing purposes):
$data = "
/**
* @file A lot of info about this file
* Could even continue on the next line
* @author [email protected]
*...
I have this:
/**
* @file
* API for loading and interacting with modules.
* More explaination here.
*
* @author Reveller <me@localhost>
* @version 19:05 28-12-2008
*/
I'm looking for a regex to strip all but the @token data, so the result would be:
@file API for loading and interacting with modules. More explaination here.
@au...
Hi Folks,
I am looking for a blogging and comments system that can smoothly integrate with my Django sites. I've found there is a lot on the Net and got lost a bit, and I don't have much experience on this. Hope you guys can give me some suggestions.
Here are the things that I would like to have:
Tag Clouds
Articles Archive (by month...
Hi,
I'm starting to develop an activity stream. I've read both How to implement the activity stream in a social network and What’s the best manner of implementing a social activity stream?. What I haven't found is the best way to add comments to the activities. As in facebook, each comment can be commented by another person.
If each ac...
How do I comment out a block of tags in XML?
I.e. How can I comment out <staticText> and everything inside it, in the code below?
<detail>
<band height="20">
<staticText>
<reportElement x="180" y="0" width="200" height="20"/>
<text><![CDATA[Hello World!]]></text>
</staticText>
</band>
</detail>
...
As a student in computer engineering I have been pressured to type up very detailed comments for everything I do. I can see this being very useful for group projects or in the work place but when you work on your own projects do you spend as much time commenting?
As a personal project I am working on grows more and more complicated I s...
I have some code from a Chinese business partner, and all of the comments in the code are in Chinese. However, Visual Studio displays them as gibberish. How can I get them to display properly. Here is a code example with some comments converted to gibberish:
//Á¬½Óµ½·þÎñÆ÷
void CTestAPIDlg::OnBnClickedButton2()
{
UpdateData(TRUE)...
Hello,
I'm a little afraid of using Wordpress because of his connotation "all made", plus my website is 100% hand coded, actually, i use the phpBB but it's not what I want cause visitors have to go out of the website to go to the forum to see the news.
So how/what can I do to have my own news system management (publish/review/moderate ...
I'm integrating the Facebook Like Button into a site. The likeing functionality is working fine except that you cannot add comments to your like after you've clicked the like button. Several sites including CNN has this working so this should be possible.
The docs mention that you need to use the JavaScript SDK to get commenting to work...
I'm using comment_reply_link, for the reply links on every comment, but I want to use an image instead of text. I only need the link of the comment reply, not the whole thing. Codex wasn't helpful, neither the WP forums.
<span class="reply">
<a href="<?php //comment reply link here ?>">
<img src="<?php bloginfo('template_url') ?>/...
Hi everyone,
I've used this tuto (http://www.duckrowing.com/2010/03/18/documenting-objective-c-with-doxygen-part-ii/) to create my documentation... I would like to run doxygen in some directories and not in others! The problem is that I don't want to reorganize all the directories! Is it possible to put a file in the directories I don't...
I'm writing facebook app in fbml (not in iframe).
I added comments with <fb:comments ...> and it appears to work.
However, to add a comment, user has to click Add a comment... link to see the textarea and post button.
I am wondering is there a way to automatically show the form?
I want it to really look like here:
developers.facebook...
I am havinging a problem with eclipses formatter that i cannot seem to figure out.
If i have a line of code with comments that is over 80 characters, like:
Something something = new Something(somethingElse) // some comments here about the code.
then the first time i run the formatter, it will set it up correctly, like:
Something som...