October 1, 2017
What is Artificial Intelligence (AI)? Are you thinking of Chappie, Terminator, and Lucy? Sentient, self-aware robots are closer to becoming a reality than you think. Developing computer systems that equal or exceed human intelligence is the crux of artificial intelligence. Artificial Intelligence (AI) is the study of computer science focusing on developing software or machines […]
Webinar Date: May 18, 2017
HackerEarth is pleased to announce its next webinar on Data Visualization, to help you learn from the best programmers and domain experts from all over the world. Agenda of this webinar: Data analytics using Python's numpy, scikit, pandas modules Data Visualisation using Python's matplotlib module Big Data Analytics using PySpark with spark-core and mllib Speaker: […]
Webinar Date: March 23, 2017
HackerEarth is pleased to announce its next webinar on Blockchain, to help you learn from the best programmers and domain experts from all over the world. Agenda of this webinar: - What is Bitcoin? - Why use Bitcoin? - An overview of how bitcoin/blockchain technology could help the current financial system - What Blockchain platform […]
February 14, 2017
You might remember the Lisp parser we created in the article (Building Your Own Lisp Parser Part I), which is a pre-requisite for this post. You will now see how the buffered input class (UngettableInput in the previous post) can be improved. The Problems Although the UngettableInput class works for our Lisp parser, it is highly […]
February 1, 2017
While writing a full-blown compiler for a programming language is a difficult and frustrating task, writing a smaller and more specific parser can be surprisingly easy if you know a small trick. On the other hand, parsing problems pops up at several places in modern-day programming. So, learning this useful trick can be rewarding. Source: […]
January 12, 2017
Python is one of the most popular programming environments and many developers look to HackerEarth as a way to learn more about the language. Consequently, for the challenges that are hosted on our platform, a huge number of submissions are in Python. We all know how we are able to pass the initial test case, […]
December 29, 2016
In our previous redis blog we gave a brief introduction on how to interface between python and redis. In this post, we will use Redis as a cache, to build the backend of our basic twitter app. We first start the server, if it’s in a stopped state. [crayon-5aafaae0ce392832224845/] In case you have not installed […]
December 22, 2016
This is  a small tutorial to start using Redis with Python. We will look at the steps that tell you how to install Redis in your local ubuntu machine. As we are compiling from source this should also represent how to install in any linux distribution. Then, we can look at some basic commands in […]
December 15, 2016
This post will help you get started with Python decorators through some real life examples. Some familiarity with the Python programming language is expected.   Before directly jumping into decorators, let’s take a step back and start with Python functions. This will help you understand the concepts better. Functions A function in Python can be […]
November 16, 2016
NSA whistleblower in exile, Edward Snowden, talks about how FBI could have reviewed 650K emails in less than 8 days! @jeffjarvis Drop non-responsive To:/CC:/BCC:, hash both sets, then subtract those that match. Old laptops could do it in minutes-to-hours. — Edward Snowden (@Snowden) November 7, 2016 Snowden says the FBI could have used hashing to […]