Posts

How to overcome Procrastination

Image
  As the saying goes, Procrastination is a thief of time and a serial murderer of the would be world's greatest dreams. Overcoming procrastination can save you a lot of failures in life The root cause of procrastination for most people ain't laziness, it is anxiety, the best way to get something done is to begin right away. Your anxiety will tell you the worst case scenario. If you're a procrastinator, you will find every excuse not to do what you need to do, do it first, I call it reverse procrastination. Discover your Response. Recognize your excuses, how do you succeed in dissuading yourself?, know and recognize the strategies that can prevent you from making these excuses. Set a Limit Set a time limit for each task or goal you have to accomplish. Imagine your future self. Picture how wonderful it will be to have completed the task, It keeps you away from instant gratification of wanting to differ. Break your work into little steps Part of the reason we find ourselves pr...

What are Unit Tests and Why Should You Write Them?

Image
  Unit tests are simple scripts that check whether a given unit—class, function, module, etc. is working as expected.  They are meant to be simple, to cover the happy path of the code plus a few edge cases. They contribute to the long-term success of a project because of the reasons I discuss below.  As your code grows in size and complexity, tests will force you to break it into manageable pieces. Tests will become an additional resource for the next person working the code to figure out what it’s doing. As a junior programmer, you might be confused by unit tests. To make things worse, tests used as examples often make their purpose more unclear. When you see stuff like you are right to doubt whether there is a solid reason to spend any time writing them. Below, I show my reasons for writing unit tests. # What are unit tests? Unit tests are simple scripts that check whether a given unit—class, function, module, etc.—is working as expected. They are meant to be rather sim...

Modern bots traffic and how to detect them

  Bot detection is the first step in preventing automated attacks on your websites, mobile apps, and APIs. It separates your traffic into requests coming from humans and requests coming from bots. Because at least a third of the world’s total web traffic consists of malicious bot traffic, good bot detection is vital for protecting businesses against online security threats. But detecting bot traffic is harder than it has ever been. Bot developers are constantly finding new ways to get around the standard security solutions that most companies still rely on. This includes the use of captcha farms, artificial intelligence, and instrumentation frameworks such as Puppeteer. Today, efficient bot detection requires truly specialized know-how. This article will cover the following topics: What is bot traffic? Why is bot detection important? Why is bot detection so challenging? How can you identify bot traffic? Common bot traffic detection methods & techniques (& their limitations)...