Search results

  1. Antero360

    JavaScript Javascript Ajax success data to be accessible in another Javascript file .

    Could you post the code that produces this error?
  2. Antero360

    JavaScript Javascript Ajax success data to be accessible in another Javascript file .

    So I played around with some data... and this should show you the basics..
  3. Antero360

    JavaScript Javascript Ajax success data to be accessible in another Javascript file .

    do me a favor... can you print out the length of result
  4. Antero360

    JavaScript Javascript Ajax success data to be accessible in another Javascript file .

    Because that is not how you access data in json format. you need to do something like result.data.whatever
  5. Antero360

    JavaScript Javascript Ajax success data to be accessible in another Javascript file .

    This method is almost correct @anishtulsyan22... the only step that @Josiah maybe has left out is the fact whenever you store something whether it be sessionStorage or localStorage, it is usually saved as a string. You would still need to convert that string into json in order to utilize the...
  6. Antero360

    JavaScript Javascript Ajax success data to be accessible in another Javascript file .

    var reader = new FileReader(); var content = reader.readAsText('/path/to/file'); var json = JSON.parse(content); console.log(json); That should work for ya
  7. Antero360

    JavaScript Javascript Ajax success data to be accessible in another Javascript file .

    HI there, You would have to read in the data from file1.js as a string and convert it into a json object.
  8. Antero360

    Changing page size

    Hi there, You could just try body { padding: 0 5%; } which is the same as body { padding: 0 5% 0 5%; } 0 padding on top and bottom, and 5% on left and right.
  9. Antero360

    C Missing Files/Executables In Bash (Launched via C)

    Have you tried running your script under root?
  10. Antero360

    CSS/HTML Rotating Text

    Hi there, Not sure what the issue is. I copied your code and ran it locally on my end, and it seems to be working fine, at least in Chrome. What browser were you testing on?
  11. Antero360

    C Missing Files/Executables In Bash (Launched via C)

    Hi there, First, a bit of a warning regarding this: Not saying you're trying to do anything malicious, but please be mindful of the security risks your question implies with "execute arbitrary code". Second, what are the binaries that your program does not have visibility to?
  12. Antero360

    Video Game Theory and Ideas

    Hey there, Sorry I am late to the party lol, but as with any advice you will hear from any and all caring mods/admins on either Discord servers or forums, do be careful and mindful of the links you decide to click on. Figure out whether these sites are reputable and legit, easier said than done...
  13. Antero360

    Python Tried many times to fix the string prediction problem but...

    I don't believe read_strings is a built-in function of python...I will double check, but yes, the reason, at least based on the error messages, is that since read_strings is not a defined function anywhere in your code or imported code, the variable "arrays" is not being set which if I am...
  14. Antero360

    Python Tried many times to fix the string prediction problem but...

    Hi there, So off the bat, the error message points to a very specific line in your code: model.fit(X_train, y_train, batch_size=BATCH_SIZE, epochs=10) Chances that you are getting this error because you commented out that one other line of code that was erroring out, are very high ;) Speaking...
  15. Antero360

    Code Forum testing links google

    Code Forum testing links google
  16. Antero360

    Node.JS Express js not working

    Hi there, Someone feel free to call me out on this one lol... but from my own experiences working with node inside of Visual Studio, I know for a fact that VS sets default nodejs server port to 1337 (and yes, I am sure Microsoft is fully aware what that particular number represents lol, why they...
  17. Antero360

    Errors when posting, editing and reviewing

    I think it may be due to a cache issue... may not have caught the change in ips.. try clearing your cache
  18. Antero360

    GUI sub forum

    Hey @menator01 Not sure what you mean by GUI section... are you requesting to start a section just for GUI related python questions, or requesting some kind of GUI that you feel would be beneficial for the community? I'm sure that @Malcolm can grant that
  19. Antero360

    Hi

    Welcome @Paul59 to Code Forum
  20. Antero360

    Why does my website show 502 error?

    HI there Whenever you get a HTTP Status code in the 500s, that usually means there is an error server-side. This could be many things: server is down due to misconfiguration/ddos attack/ issues in code. Please look at your log files and feel free to post that so we could further diagnose the...
Top Bottom