DeepCoder : AI to write its own code

Many of the programmers get their code from StackOverflow and you can’t figure out how to add authentication to your Flask? Now, all thanks to the Internet. your robot can be as smart as $1,000,000 coder. It is dream of artificial intelligence to build systems that can write computer programs.

The system called DeepCoder,basically searches the corpus of code to build a project that works to spec. It is basically used for solving programming competition-style problems from input-output examples using deep learning. The approach is to train a neural network to predict the properties of the program that generated outputs from the inputs. We use the neural network’s prediction to augment the search techniques from the programming languages community.

self code

DeepCoder uses a technique called program synthesis: creating new programs by piecing together lines of code taken from existing software – just like a programmer might. Given a list of inputs and outputs for each code fragment, DeepCoder learned which pieces of code were needed to achieve the desired result overall.

“It could allow non-coders to simply describe an idea for a program and let the system build it”

The paper “DeepCoder: Learning to write programs” is by Matej Balog, University of Cambridge, and Alexander Gaunt, Marc Brockschmidt, Sebastian Nowozin, and Daniel Tarlow from Microsoft Research.

The authors said that in their work, they are proposing two main ideas, “(1) learn to induce programs; that is, use a corpus of program induction problems to learn strategies that generalize across problems, and (2) integrate neural network architectures with search-based techniques rather than replace them.”

For more : DeepCoder: Learning To Write Programs

Advertisements
WhatsApp and Telegram Bug Fixed

WhatsApp and Telegram Bug Fixed


We all know that WhatsApp and Telegram are instant messaging applications, which are used by wide number of audience all over the world to keep in touch with their peers and family. Most of these sites and applications have few security flaws by which the common users face issues because of them.

Security researchers showed that they could seize control of the user accounts in WhatsApp and Telegram and both of these instant messaging apps,WhatsApp and Telegram patched the flaws immediately.

Checkpoint Software Technologies said that it alerted Telegram and WhatsApp last week waiting until the vulnerability was patched before making it public. The company didn’t specify how many accounts were seized due to this flaws but just said that “hundreds of millions” of users accessing the messaging platform from web browsers in computers posed a danger.

The danger was that by just sending an innocent looking picture over WhatsApp or Telegram the attacker can gain access to message history, all the photos which they shared and send messages on behalf of the user.

The vulnerability made it possible for an attacker to booby-trap a digital image with malicious code that could spring into action after the picture is clicked on for viewing, according to Check Point.

The malicious code could then hijack an account, and even spread itself like a virus by sending infected messages to those listed as contacts. WhatsApp and Telegram has end-to-end encryption which makes only senders and receivers see what is in a message.The privacy protection had the side effect of preventing the services from being able to discern whether message contents included malicious code, according to Check Point.

To remedy the situation, both services shifted to finding and blocking viruses before messages are encrypted, the security researchers said.