I'm just beginning to learn libcurl. I'm a little confused on the callback function parts - both for CURLOP_WRITEFUNCTION and CURLOPT_READFUNCTION.
The help file (for READFUNCTION) says:
"...The data area pointed at by the pointer buffer should be filled up with at most size multiplied with...
I'm working on a form. The form is a table with pieces of equipment in one column, and the readings from that equipment in another column (plus a few others).
The equipment ID's are hard-coded into the form. Sometimes one of these pieces of equipment malfunctions or has to go out for repair, so...
I'm working on something for the Inspection area at work. They get these containers of small plastic spheres that get inspected. They measure the diameter with a set of calipers and record it on a paper report.
I'm working on a database for them. They always measure 10 and average them out. So I...
I've been away from JS for a while. I'm getting back into it for a project. The last time I remember working on something form-related. I remember reading back then that the getElementsByName() method was deprecated for everything except forms.
I go back to w3schools today to refresh my memory...
I actually code as a hobby. I've never done it professionally. But I've been doing it off and on since the early 2000's.
I code almost exclusively in C. I actually really like the language. But because I code as a hobby, I barely have time for my own projects, never mind anyone else's.
Currently...
Apparently I was mistaken. The change I made to the script path was too subtle. The reason I thought the change had no effect was because when I hit Ctrl+U to view the page source, it was the source before the change, so I thought it was the old page loading.
Just now I changed the CSS. I...
No I'm not sure [upsidedown]. I'm still quite new to this...
I actually don't remember how I installed Apache. I don't remember if it just came with my distribution of Mint, or if I did "sudo apt-get install apache2" afterward.
For the directory, I just meant the main directory where I'm...
I'm not great with web servers, and I'm especially new to Apache. (The only other web server I used was Abyss in Windows.)
I copied a couple html files from my old Windows drive to the Linux Apache directory. Loaded it. Realized I needed to update a path to a JS file. When I refreshed, I saw no...
I did... pretty sure anyway... After running:
SET GLOBAL local_infile=TRUE;
I quit out of MySQL. The I ran:
sudo service mysql stop
sudo service mysql start
Then when I checked the local_infile variable again, is was set back to OFF. So I set it back on again. Then I loaded DBeaver (the program...
I'm fairly new to MySQL. I'm using version 8.0 on Linux Mint 20. I'm trying to fill a table with a csv file. The csv file is on another drive, so I used the following to load the table:
LOAD DATA LOCAL INFILE '/path/to/file/whatever.csv'
INTO TABLE my_table
LINES TERMINATED BY '\r\n';
I forget...
I appreciate the suggestions, but I didn't have any luck. First I tried adding the extra bit to the query string. No change. The I went back to the cgi, I added the line:
printf("Cache-Control: no-store\n");
and recompiled. Not sure if that was the right thing to do or not, but it didn't seem to...
Eons ago I wrote an app for the machine shop I worked in. Without getting into too much detail, it takes a metric measurement, and a category (H12, r6, c9, F10, etc), looks up the dimensions for that category, and gives the results in millimeters and inches.
I wrote it as an HTML form. The form...
Wait... If you can just treat a tag attribute as a DOM element property, it seems like that makes the getElementsByName() function useless.
In your JSfiddle, I would have thought the only way to access that form would have been:
document.getElementsByName("formX")[0]
Hello, I'm trying to help out IT a bit. We had someone years ago write our purchasing system. They left years ago and left us to figure out the source code. It was written back in approximately 2005. I'm still fairly new to JavaScript, but as I'm going through the code, I keep seeing an object...
Thank you. That worked. But after I made the change to the '.profile' file, I had to reboot for it to take effect. Is there a way to reload that file without having to do that?
Thanks. I tried that. I copied and pasted those two lines to the end of my '.profile' file:
export LIBRARY_PATH=~/Cthings/mylibs
export CPATH=~/Cthings/mylibs
but I'm still getting "No such file or directory" errors. What am I missing?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.