• Global Unique IDentifier
    Computer Science,  Interview Questions,  Technology

    Understanding Globally Unique Identifier (GUID)

    Short for Globally Unique Identifier, a unique 128-bit number that is produced by the Windows OS or by some Windows applications to identify a particular component, application, file, database entry, and/or user. For instance, a Web site may generate a GUID and assign it to a user's browser to record and track the session. A GUID is also used in a Windows registry to identify COM DLLs. Knowing where to look in the registry and having the correct GUID yields a lot information about a COM object (i.e., information in the type library, its physical location, etc.). Windows also identifies user accounts by a username (computer/domain and username) and assigns…

  • Preparing for a Software Developer interview
    Interview Questions,  Tips

    Preparing for a Software Developer Interview

    After working for quite some time at the same company, you decide it’s time to look around for another job. And there’s nothing wrong with that. You want to develop yourself as a person, but you’re also looking for a great opportunity to develop your skillset. Preferably, in a whole different environment. So, you start looking for job applications on the internet. After spending hours looking for the perfect job application, you finally found it. The job hunt was successful. This has got to be the one! You decide to not waste any more time and you start writing your motivational letter. Obviously, you are the most suitable candidate for…

  • Major components of a browser
    Technology,  Web Development

    Major components of a web browser

    When you’re building web apps, however, you don’t just write isolated JavaScript code that runs on its own. The JavaScript you write is interacting with the environment. Understanding this environment, how it works and what it is composed of will allow you to build better apps and be well-prepared for potential issues that might arise once your apps are released into the wild.

  • What is URL Encoding and How does it work?
    Computer Science,  Software Development,  Technology,  Tips,  Web Development

    What is URL Encoding and How does it work?

    You may think that a "valid" URL is self-evident, but that's not quite the case. A URL entered within an address bar in a browser, for example, may contain special characters (e.g. "上海+中國"); the browser needs to internally translate those characters into a different encoding before transmission. By the same token, any code that generates or accepts UTF-8 input might treat URLs with UTF-8 characters as "valid", but would also need to translate those characters before sending them out to a web server. This process is called URL-encoding or percent-encoding.

  • What did happen or what happened
    English,  Tips

    What did happen or what happened

    This is a LONG answer — the question hits home on a classic example of the English language’s tendency for exceptions. It causes lots of confusion even for native speakers. Both forms are grammatically correct (contrary to the insistence of some British grammar purists). The first one (“What happened?”) is the one most of us would likely ever to need in normal life. The short practical answer:— Use “did” when we knew something had happened but wanted more details. In other words, treat “did” as an emphatic to express some kind or level of surprise, shock, disbelief, doubt or need for confirmation. It’s like, if that didn’t happen, what actually happened? The short technical answer:— The structure depends…