New answers tagged

2 votes

PHP local document crawler

It is unfortunate that no answers have been received since this was posted more than 10 years ago. Perhaps you've learned a few things since then and/or the code has changed. Regardless hopefully the ...
user avatar
1 vote

File dump in assembly

Here are some things that may help you improve your program. Make sure your code is complete If you're going to ask for a code review, it should be your complete, best code to be respectful of the ...
user avatar
  • 64.4k
1 vote

No Reference Image Quality Assessment for Video in Matlab

The Issue of Frame Rate In this experimental implementation, the part of frame rate of outputVideo may different from the input video. After checking the document ...
user avatar
  • 3,546
3 votes
Accepted

Adding string to a text file without duplicates

You could make some improvements: Open the file just once in read+update mode. Instead of current_id_list, use a set, which can test whether an item is one of the ...
user avatar
1 vote

touch command in C

Avoid overflow With exceptional long names, below overflows the buffer. ...
user avatar
4 votes

touch command in C

There is no need to deal with directories There is no reason to pass touch() both a dir and a ...
user avatar
  • 33.1k
1 vote
Accepted

No Reference Image Quality Assessment for Video in Matlab

MATLAB Editor warnings On these two lines, the MATLAB Editor gives a warning "Use of brackets [] is unnecessary". This is because they're not concatenating anything, there's only one thing ...
user avatar
  • 4,062

Top 50 recent answers are included