Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. EkBass

    HTML & CSS Set minimum with for HTML <dialog> ?

    There is not a built-in CSS property to control the dialog's minimum width like you asked. <dialog id="myDialog"> This is a dialog content! </dialog> <button onclick="document.getElementById('myDialog').showModal()">Open Dialog</button> #myDialog { min-width: 300px; /* Set minimum widht...
  2. EkBass

    Python Do I need someone to make a project for me?

    Maybe someone would, if you tell a bit more what you need. In best case, we can help you to make it yourself.
  3. EkBass

    Node.JS Rotes in Nodejs

    When these things occurs, change suffix from ".js" to ".cjs" and node treats your code in more relaxed way than E6 standards requires. Example here: AiConsoleChat/AiConsoleChat.cjs at main · EkBass/AiConsoleChat
  4. EkBass

    Node.JS Using import vs require?

    Thats excatly what i would have said, if i would not be a old fart lol
  5. EkBass

    Node.JS Using import vs require?

    import is part of ES6-standard and more used in modern scripts. Require is something you can see a lots of specially in server side, older scripts. Personally i like require more, but i am gettin old fart here.
  6. EkBass

    Chat locally with Llama2-7b via console

    Ok. Tokeniser had issues after 512 tokens. It was a problem of old things i accidently left there. Should be fixed now. Max context is 8192 tokens and history is preserved in context up to 2048 characters. Logging system sucks, i guess XML or json is something i want to add some day in random...
  7. EkBass

    Hello From Rick P

    Welcome from EkBass :alien:
  8. EkBass

    Chat locally with Llama2-7b via console

    Hi folks. I am surprised of the development of the smaller models in past two years. Current 13b and even 7b models can outrun DaVinci 3.0 thought OpenAI has also moved on with its products. However, im using I7-7700 with 32gb ram (no GPU) and this client with 7b model runs smoothly. No need to...
  9. EkBass

    PHP Asking for your feedback on a PHP code security scanner in beta

    You are absolutely right, that php is dominant on back ends at servers. And most likely will be so for years. But other languages are gaining popularity in that area. So when you have this neat system, extending it to cover future languages aswell is something to consider. Good luck with this...
  10. EkBass

    PHP Asking for your feedback on a PHP code security scanner in beta

    Hi. Neat project you have there. Im bit surprised that you picked php, which i think is a language that is used less all the time. I might be wrong though. Any ideas to turn this to scan javascript? I gave few short codes this to check out. Seems valid scanner on that basis. My codes were...
  11. EkBass

    Chat with OpenAIAPI in console

    Hi Malcolm. This is not so valid code anymore, after OpenAI moved APi towards ChatGPT model. This propably works, but i should update the code some time.
  12. EkBass

    Fun activity Know any good programming jokes?

    Two Foo's went in to a bar, but the other didnt quite fit. This works in Finnish but not sure does it so in english.
  13. EkBass

    Fun activity Know any good programming jokes?

    I really love this train of thoughts
  14. EkBass

    Python Ran into trouble for a string-prediction problem...

    Your error message is a traceback that ends to line 37. You dont have much experience in programming? I suggest you to start training and fine tuning with some more easier model, such as DialoGPT and once you can master it, move to more trickier models.
  15. EkBass

    Python Ran into trouble for a string-prediction problem...

    Another way is to add cells to 1D array until it is divisible with 5.
  16. EkBass

    Python Ran into trouble for a string-prediction problem...

    At line 37 you try to reshape 1D array size of 14102 as a 2D array with 5 rows/cells. However, you cant divide 14102 with 5, so reshaping causes error. That is what i assume, not the absolute truth. Try to reshape it with a number that is possible to divide with 5. If that does not cause error...
  17. EkBass

    Fun activity Know any good programming jokes?

    My code does not have bugs, i just placed some random features on it.
  18. EkBass

    Python Ran into trouble for a string-prediction problem...

    python is not my strong point, but if my logic is cool, then the problem is that 14102 is not divisible by 5 and this causes the error.
  19. EkBass

    validation error, help please

    Just tried and validator seems to work with your pages fine.
  20. EkBass

    validation error, help please

    What comes for your frontpage, pretty common errors and warnings. Pretty easy to fix. https://validator.w3.org/nu/?doc=https%3A%2F%2Fforallthetime.com%2F
Back
Top Bottom