Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. AbidingDude

    libcurl Basics

    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...
  2. AbidingDude

    replaceChild() and Keeping Relationships

    Nevermind. I'm an idiot. The relationships are kept. I was just accidentally checking the replaced node instead of the new one.
  3. AbidingDude

    replaceChild() and Keeping Relationships

    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...
  4. AbidingDude

    One Constraint for Multiple Columns

    Good point...
  5. AbidingDude

    One Constraint for Multiple Columns

    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...
  6. AbidingDude

    Where Does The "name" Attribute Stand?

    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...
  7. AbidingDude

    C coders and maybe do some fun things

    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...
  8. AbidingDude

    Newbie Apache Cache Question

    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...
  9. AbidingDude

    Newbie Apache Cache Question

    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...
  10. AbidingDude

    Newbie Apache Cache Question

    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...
  11. AbidingDude

    Loading From A CSV File

    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...
  12. AbidingDude

    Loading From A CSV File

    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...
  13. AbidingDude

    Dynamically Create A Table

    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...
  14. AbidingDude

    Dynamically Create A Table

    Correction. The tag attribute is getting updated, but the cgi does not appear to be called again.
  15. AbidingDude

    Dynamically Create A Table

    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...
  16. AbidingDude

    formX DOM Object?

    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]
  17. AbidingDude

    formX DOM Object?

    I see. I didn't realize the 'name' attribute could be used as an object... I'm slowly learning.
  18. AbidingDude

    formX DOM Object?

    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...
  19. AbidingDude

    Using My Libraries in Linux

    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?
  20. AbidingDude

    Using My Libraries in Linux

    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?

Part and Inventory Search

Back
Top