comments

Commenting approach: How to comment something that's used elsewhere in app?

Hi, all. My IVR app contains a lot of global variables, as a side effect of an inescapable vendor-supplied framework. As such, there are a lot of cases where a variable is given a value on one JSP, and is not touched again until a caller has gone several dialogs deep into the app. When I have to add or modify such a variable, I leave ...

Adding a Facebook comments box to my site. It works,but is my technique correct?

I wanted to add a simple comments box to my page, so I did this: Created new application Filled out ONLY 'Site URL' and 'Site Domain' (I overlooked canvas or any other options) Got my appID In my HTML file added the FB namespace included the FB JavaScript file executed fb.init() with my appID and I'm able to use fb:comments on my...

Disqus Integration with my authentication system

Is it possible to integrate Disqus with my existing authentication solution? I am developing a app using RoR and authologic! ...

Wordpress Comment Issue

go to: and then click on any of the "view article" buttons on the recent comments section. You will see that it cuts off the top half of the page. I can't seem to figure out why. If anyone could help me it would be greatly appreciated! ...

Should Django's comments form know when user is logged in?

I'm using the standard Django comments app in my project. If the User is logged in then the comment form still shows fields for user_name and user_email. If anything is entered into those, the data is saved to the database with the comment, along with the user_id of the logged-in User. When the comment is displayed, the name of the logg...

rails: Facebook comments button can't recognize different resources!

Hello everybody, I try to implement a facebook comment box to my catalogue controller. Every catalogue entry should have his one facebook comments! The problem is that the fxml doesn't recognize different resources. www.remme.com/catalogues www.remme.com/catalogues/2 www.remme.com/catalogues/3 This seems to be the same page for faceb...

Comments in Pascal

I have a compiler homework question that wants me to draw a DFA for Pascal comments, but I have never (and probably never will) use Pascal. The question does not specify if we should use ANSI Pascal or Turbo Pascal, so I was going to do one for both. Some Google searches showed me that Turbo Pascal allows nested comments as long as the...

What are methods that affect their explicit parameters called?

I'm documenting some code in C++ right now, and one of the methods I intend to write will sort an array. It won't create a new array, though, it will sort the elements of the given array in place. I want to include a remark along the lines of, "if the original ordering was important to you, then don't use this method!" But I would rather...

How to add comment for an attribute definition from within a tag?

Let's say we have the below code: <Window x:Class="Consus.Client.UI.Sandbox.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary" x:Name="Ribbo...

Drupal 6: "Facebook" style comment ordering (threaded, descending+ascending)

Hello. Working with Drupal 6, my goal is to order a set of threaded comments similar to how Facebook outputs comments: with the 'anchor' or first comment in each thread sorted DESC, and any 'internal' thread replies sorted ASC so the newest comments are at the bottom. Here's the SQL query from comment_render, with ordering by COMMENT_OR...

How to use ajaxdoc

I am not able to figure it , How to use ajaxdoc for generating comments for my scripts. I would appreciate, if you can provide a little tutorial about this or an example. Do I need to use this project dll. ...

see the dll comments in c#

I have written the c# comments of my function,and then i gave the dll file to my friends who need it,but when he use those functions ,he can't see the comments,how to solve this problem? Ps: I can see the comments when i use it in my project; ...

What hosted-commenting tools produce clean markup?

You may be familiar with IntenseDebate, Disqus, and their ilk. These tools produce wretched markup that pollutes my pages significantly and is difficult to style correctly. I have a site which is statically generated. Are there hosted commenting options that are simple, clean, unobstrusive, and easy to style? ...

What is everyone's take on "documentary" (i.e. not functional) comments?

So we have fancy version control systems these days where we can comment on changes made to code. Is it any longer relevant to put similar "documentary" comments in your code? For example, in a file called Helper.cs: /* * Filename: Helper.cs * Author: Will Johansson * Created: 7/1/2010 * Purpose: Internal helper functionality for XY...

Drupal Views of nodes to show node comments

Hello everybody! I've encountered a Drupal problem: I'm using the Views module for rendering nodes of a kind, based on the user id of it's author (it is a Content Profile actually). I want the view to show the comments for the node, just like in node/%. I could not find any option in views or any relevant module. Am I in the wrong direc...

Facebook Connect FB.CommentClient.add_onComment Method inexplicably stopped working.

I've been using FB Connect for some time now. The code below has worked fine since I first implemented it. In the last week I did some server configurations to enable mod_deflate and it has stopped working. Comments work, only the callback function has stopped working. Has anyone had a similar experience? Can anyone recommend a ...

How do I get access to the request object when validating a django.contrib.comments form?

I would like to run a check on the IP-adress when users post with django comments. I can easily override and customize the form used by django.comments, but I need access to the request object to add an IP-test to its clean(). Is it possible to get access to this in a clean way? An alternative could be to check the IP when recieving th...

Commenting Objects within Dojo classes with JSDOC toolkit

Hey, I've searched and have found partial answers but none that seem to working - at least as I expect - in my situation. So I am trying to comment http://pastebin.com/eRF0VjmR and running into issues when I try to comment objects. The ones in question are "subscribers", "options", and "fn". As you can see for "fn" (line 756) I am u...

Textmate shortcut for add/remove HTML or JavaScript comments

Is there a shortcut in Textmate for quickly adding/removing comments in HTML/JavaScript? ...

Javascript comments for ajax calls

At the moment I use phpDoc style comments when documenting javascript functions, mainly because I am used to the syntax and I feel that phpDoc is a good, comprehensive commenting style to adopt. One thing it doesn't cover though is Ajax requests (obviously) and I was wondering if there was a set standard for commenting these? Or if any...