User Profile

Collapse

Profile Sidebar

Collapse
shivajikobardan
shivajikobardan
Last Activity: Jan 19 '23, 02:37 PM
Joined: Jun 7 '22
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • What should I do Before I give up programming?

    I'm in the verge of giving up programming and wondering what could I do before I give up to make sure I did what everyone did.

    I've a bachelors degree in computer science. I didn't do it as well as I'd have liked to do, but that degree has gave me familiarity with most terms used in basic programming.

    I spent last 3 months working on web development. I learnt html,css,bootst rap, javascript and react till date(In bootcamp),...
    See more | Go to post

  • How to paint an element in screen using javascript?

    Code:
    <div class="body">
        <div id="board">
          <div id="bat" class="bat"></div>
          <div id="ball" class="ball"></div>
        </div>
      </div>
    This is my HTML.
    I've done CSS For all of them and generated this:

    Now, I want the bat to move left and right when I press arrow keys....
    See more | Go to post

  • Why does "if condition" executes in this below code-Javascript-requestAnimationFrame

    I'm currently watching tutorials to build projects as I'm still not in a phase where I can carve a project that I want all on my own.
    Currently, working on a snake game.

    Code:
    let speed = 2;
    let lastPaintTime = 0;
    
    //Game functions
    function main(ctime) {
      window.requestAnimationFrame(main);
      if ((ctime - lastPaintTime) / 1000 < 1 / speed) {
        return;
      }
      lastPaintTime
    ...
    See more | Go to post

  • shivajikobardan
    started a topic How do promises program flow work?

    How do promises program flow work?

    Promises syntax that I learnt:


    Code:
    let p = new Promise(function (resolve, reject) {
      let x = 20, y = 20;
      if (x == y) {
        resolve();
    
      }
      else {
        reject();
      }
    })
    
    p.then(function () {
      console.log("that's correct");
    })
    
      .catch(function () {
        console.log("that's not correct");
    ...
    See more | Go to post

  • thank you for your feedback.
    See more | Go to post

    Leave a comment:


  • shivajikobardan
    started a topic How do I think about recursion.

    How do I think about recursion.

    I got the idea for problems like factorials or finding sum from 1 to n, where there's a pattern visible. Like this:

    Source:https://99x.io/blog/recursion-is-not-hard-here-is-the-right-way-to-think

    I got it for things like addition, subtraction, division, multiplication of two numbers as well.

    eg: a+b

    =a+b-1+1

    =SUM(a+1,b-1)

    Now, I am wondering how it'll be for...
    See more | Go to post

  • Best course on bootstrap to learn bootstrap for someone who requires more mentoring?

    I'm struggling with frontend. Although my basics of html,css are clear, I'm having trouble in building websites and I'm just putting baby steps towards it. Thus a guidance from a mentor would be really helpful to me in learning. If I don't find any resources, my plan is to just google and read till I understand.

    I want to ask this question because I wasted lots of time in the past in bad resources. I bought "CSS Cookbook",...
    See more | Go to post

  • Why does changing parent’s style has no effect in child’s style in css?


    Take this code for example:

    Code:
     <div class="super">
            <div class="extra">text</div>
     </div>
    *

    Code:
    .extra
    {
        background-color: crimson;
    }
    
    .super{
        background-color: cyan;
    }
    *
    The background color is crimson at last. It’s related to CSS specificity. I’m...
    See more | Go to post

  • Lucene confusion about first and third step?

    These are the steps of indexing in Lucene given in our syllabus-:

    <Broken Link>

    I understand the second step clearly. But I don't understand the first and third step. It's not mentioned clearly in this figure imo. Can you clear my confusion? Plus the sources that I refer don't even mention it like this, they explain it differently. I'm not sure from where this is copied from.

    What are we doing in...
    See more | Go to post
    Last edited by zmbd; Jul 29 '22, 03:08 PM. Reason: [z{Link Broken}]

  • How to make network redundant and what changes to do in subnetting(or can I just ignore it?)

    This question is pretty basic and anyone who has used packet tracer labs can easily answer this questions.

    >Considering these factors, propose a redundant network design architecture in hierarchical form for a bank having four departments namely HR(20 pcs), marketing(20 pcs), finance(45 pcs), IT (30 pcs). Each department has managed its own DHCP server. IT department has managed FTP server, HTTP server, and DNS server as well. Use...
    See more | Go to post

  • clouldflare CDN transmit time calculation for assets

    https://www.cloudflare. com/learning/cdn/performance/#:~:text=In%20o rder%20improve% 20page%20load,l oads%20and%20lo wer%20bandwidth %20costs.

    I am talking about this page.

    It says-:

    “1500ms: The five assets are delivered asynchronously to the client from the origin server in Singapore.”

    1 response takes 250ms, then 5 responses should be taking 1250ms.
    And

    “800ms: The...
    See more | Go to post

  • How to configure IP Based virtual hosting in apache server?

    I am student. I am studying "internet technology" subject. In this subject, I am studying about virtual web hosting. Here in this topic, I am studying about types of virtual web hosting. They are-:

    1) Port based virtual web hosting

    2) Name based virtual web hosting

    3) IP based virtual web hosting


    I am asked to write "how to configure ip based virtual hosting in apache...
    See more | Go to post
No activity results to display
Show More
Working...