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

    Image Cropping and Loading Issues on Website (HTML/CSS Issue)

    Sounds as loading issue for me too. Share more information to get proper answers. Are you developing this locally or in some server somewhere at the internet? What backend you have, more code from frontend too please. Size and type of original images etc.
  2. EkBass

    How do you think India's growth in GCCs will impact its position in the global economy?

    In my opinion, India's transition from being seen as an "affordable" option to a "gambler" in the global market is undoubtedly a positive development. The amount of so-called "brain work" will increase, and thanks to our interconnected world, much of this work can be done remotely. From what I...
  3. EkBass

    Number to words QB -> nodejs conversion.

    Hi. I was looking old snippets on one Finnish programming site and noticed this: Ohjelmointiputka: Koodit: QB: Luku kirjoitettuna It is a QB code that converts numbers to words, in Finnish. You can guess rest and here is conversion of it in nodejs. I also translated numbers in english. I am...
  4. EkBass

    Java I want to learn java printf formatter.

    Not sure if best, but seems pretty good: Formatting Output with printf() in Java | Baeldung
  5. EkBass

    Java Why is Math.sin(Math.PI/2) returning an exact value but not Math.sin(Math.PI*2)?

    The reason for the results you see especially in the "corners" where sine should be zero, is due to the rounding of the float representation of PI. This rounding goes through the calculations, which usually but not always, gets the perfect results in trigonometric functions. I believe that...
  6. EkBass

    Not a code project, but...

    ...this is harder than coding lol https://github.com/EkBass/fin-eng-translations-set/tree/main
  7. EkBass

    JavaScript Is this actually JavaScript?

    That seems to be some-kind of pseudo code with js and C#.
  8. EkBass

    JavaScript Breakdown of this code? Questions

    // Initializes test_obj. With [] it would be a array. let test_obj = {}; // Adds a number property test_obj.number = {}; // Adds a nested number property. test_obj.number.number = 8; // Creates a reference to the nested object let new_number = test_obj.number; // Updates nested number value...
  9. EkBass

    JavaScript Set breakpoint on loading time

    Youre welcome
  10. EkBass

    JavaScript Set breakpoint on loading time

    Is it possible, if you create somekind of mutation observer that causes pause once something is changed. Then by checking call stack you can find what causes them? Or am i talking about something different here lol
  11. EkBass

    Problems with footer styling

    And you are 100% sure, that you have stopped all previous divs before opening the footer div?
  12. EkBass

    Problems with footer styling

    More info required. Atleast i cant pinpoint the problem with provided data. Though here is many badass php programmers who might.
  13. EkBass

    Problems with footer styling

    Also, you use paragraph inside of link. <div class="column"><a href="Home.html"><p>Phone Home</p></a></div> Your code does not reveal the style of paragraph, but often it has values similar what we see in your attachment. There is no any need to use paragraph inside link in your case...
  14. EkBass

    Problems with footer styling

    This sets up the width of column, no matter the contents. Play with it to find proper value. width: 300px;
  15. EkBass

    PHP ZIP folder and subfolder, except 2 folders

    BTW. I dont know which platform you are using or may it change in time. I would check does the dir path consist the name of folders you dont want to include instead of checking for excact match. This ofcourse requires that your directories are named so that they cant cause human mistakes...
  16. EkBass

    PHP ZIP folder and subfolder, except 2 folders

    By examining this part of code, you can figure out what is missing. It is a parameter that starts with "e" ;) if($sourcePath == $dirName){ self::dirToZip($sourcePath, $z, 0); }else{ self::dirToZip($sourcePath, $z, strlen("$parentPath/")); }
  17. EkBass

    PHP ZIP folder and subfolder, except 2 folders

    BTW. Not 100% sure about Windows, but with Linux the directory names as case-sensitive. I do think that Windows is not so picky though
  18. EkBass

    PHP ZIP folder and subfolder, except 2 folders

    I think it should be doable with pretty minor adjustments. Since i am using my work computer, i cant test the code but here is the idea how you can achieve your goal. Minor bugs and typos propably, but you can figure em out. <?php class ZipArchiver { public static function...
  19. EkBass

    JavaScript Ajax - how to load a website and receive data fra extern URL

    Hi. I would seperate your php in its own file, like this. <?php // fetch_data.php // retrieve data $result = file_get_contents('https://domain/data/cmd.php'); // Test output echo $result; ?> And then handle the page itself with HTML5. ... ... ... <head> <title>42</title>...
Back
Top Bottom