Posts

Showing posts from December, 2019

Tips to stay safe online

Image
Hackers have devised numerous ways to steal important data which is then put to misuse. These days most of our important transactions happen over  internet . While an increasingly connected world makes our lives easier, it also poses great risk as we expose our personal data to cyber criminals or hackers. The  hackers  have devised numerous ways to steal important data which is then put to misuse. Below are six most common ways your data can be stolen and the precautions you can take to stay safe: 1.  Phish What is phishing? Phishing is a fake email masquerading as legitimate. Hackers create phishing emails through which they intend to steal your confidential information like passwords and bank account details. This kind of email appears to have come from a well-known person or organisation like your bank or company that you work for. These emails generally try to create an urgency or panic to trick users into giving out their personal details. For example, ...

Protect Yourself online when visiting links

Image
With more people storing personal information on their computers, it has never been more important to protect yourself from internet predators looking to gain access to your files. One of the many ways they can do this is by attacking your computer or trying to gather your information from an infected or malicious website you may visit, even if only once. The best thing you can do is to avoid malicious websites altogether. Here are the most prevalent tell-tale signs of a threatening website and some ways that you can protect yourself: Never  click on a link embedded in an email. Even if sent from someone you trust, always type the link into your browser Use your common sense.  Does a website look strange to you? Is it asking for sensitive personal information? If it looks unsafe, don’t take the risk. Look for signs of legitimacy.  Does the website list contact information or some signs of a real-world presence. If doubtful, contact them by phone or email to establi...

Good and bad practices while programming using python

Image
Python is a high-level multi-paradigm programming language that emphasizes readability. It’s being developed, maintained, and often used following the rules called The Zen of Python or PEP 20. This article shows several examples of good and bad practices of coding in Python that you’re likely to meet often. Using Unpacking to Write Concise Code Packing and unpacking are powerful Python features. You can use unpacking to assign values to your variables: >>> a , b = 2 , 'my-string' >>> a 2 >>> b 'my-string' You can exploit this behavior to implement probably the most concise and elegant variables swap in the entire world of computer programming: >>> a , b = b , a >>> a 'my-string' >>> b 2 That’s awesome! Unpacking can be used for the assignment to multiple variables in more complex cases. For example, you can assign like this: >>> x ...