How to “comment-out” (add comment) in a batch/cmd?

I have a batch file that runs several python scripts that do table modifications. I want to have users comment out the 1-2 python scripts that they don’t want to run, rather than removing them from the batch file (so the next user knows these scripts exist as options!) I also want to add comments … Read more

Find out which moderator approved comment?

Is there any way to find out what moderators have approved a comment, and then display that information on the front-end? e.g. John says: “This is a great article” – Approved by Admin1 1 1 To record the moderator that approves the comment: function wpse_comment_moderator_log( $comment ) { global $current_user; get_currentuserinfo(); update_comment_meta( $comment->comment_ID, ‘approved_by’, $current_user->user_login … Read more

Why is executing Java code in comments with certain Unicode characters allowed?

The following code produces the output “Hello World!” (no really, try it). public static void main(String… args) { // The comment below is not a typo. // \u000d System.out.println(“Hello World!”); } The reason for this is that the Java compiler parses the Unicode character \u000d as a new line and gets transformed into: public static … Read more