Posts by user14272 • 169 points
7 posts
-
0
votes0
answers48
viewsQ: Ajax - Commando Load does not work
I wonder why the load command is not loading the header.htmlfile. PS.: Both are in the same folder. File: main.html <!DOCTYPE html> <html lang="en"> <head> <meta…
-
1
votes1
answer1196
viewsQ: Cut part of an Image using a point list of a polygon
I have an image (see below) and a list of points that represent a given polygon of the image (e.g.. contours=[ [1430,2003], [1429,2003], [1428,2003], .... ]). I want to create a new image that has…
-
1
votes1
answer143
viewsQ: Numpy Array Error With dtype=numpy.uint8
The code below works normally, however the elements are "objects". M = numpy.array([[1,2,3],[1,2],[1,2,3,4]],dtype=object) However, when executing the code below, I receive the message "Setting an…
-
0
votes0
answers114
viewsQ: Read TXT with Extended Ascii
I made the code below to read a TXT file that contains extended char from ascii table. int main(void){ printf("%c %c %c %c %c %c %c %c %c \n",205,187,186,187,200,201,205,188); FILE…
-
5
votes1
answer4125
viewsQ: Latex - Quote from natbib without brackets
I wish that, in some places, the command " citep{XX}" makes the reference in the format [XX] and in others appears only XX. XX is the reference number (1, 2, 3, ....). Package definition:…
-
6
votes1
answer344
viewsQ: Data Alignment, Data Structure Padding and C
Can anyone explain to me how processing/compiling does padding? I don’t understand why the structure structc_t has a size of 24, shouldn’t it be 16 equal to structd_t? Note: Data on 64-bit Intel…
-
3
votes1
answer113
viewsQ: Jdialog does not show Jlabel
I created a class called Jdialogprogress, but when I "call it" the Jlabel object does not show on the screen. I’m calling it that: JDialogProgress Progress = new JDialogProgress(new JFrame(),…