Welcome to curated list of handpicked free online resources related to IT, cloud, Big Data, programming languages, Devops. Fresh news and community maintained list of links updated daily. Like what you see? [ Join our newsletter ]

How a quantum computer could break 2048-bit RSA encryption in 8 hours

Categories

Tags security-and-privacy data-and-analytics ai-and-machine-learning

A new study shows that quantum technology will catch up with today’s encryption standards much sooner than expected. That should worry anybody who needs to store data securely for 25 years or so. Article open MIT Technology review (technologyreview.com) site.

Many people worry that quantum computers will be able to crack certain codes used to send secure messages. The codes in question encrypt data using “trapdoor” mathematical functions that work easily in one direction but not in the other. That makes encrypting data easy but decoding it hugely difficult without the help of a special key.

These encryption systems have never been unbreakable. Instead, their security is based on the huge amount of time it would take for a classical computer to do the job.

Modern encryption methods are specifically designed so that decoding them would take so long they are practically unbreakable.

So computer scientists have attempted to calculate the resources such a quantum computer might need and then work out how long it will be until such a machine can be built. And the answer has always been decades.

Today, that thinking needs to be revised thanks to the work of Craig Gidney at Google in Santa Barbara and Martin Ekerå at the KTH Royal Institute of Technology in Stockholm, Sweden. These guys have found a more efficient way for quantum computers to perform the code-breaking calculations, reducing the resources they require by orders of magnitude.

Very interesting read, well worth your time!

[Read More]

Microsoft's Quantum Development Kit goes open source on GitHub

Categories

Tags data-and-analytics cloud-and-infrastructure ai-and-machine-learning software-engineering

Announcement form Microsoft about open sourcing Quantum Devleopment Kit (QDK). The QDK launched in preview last year, and is Microsoft’s attempt to get developers familiar with quantum computing before it goes mainstream. Developers will now be able to contribute to the QDK’s development via GitHub. Quantum for everyone.

“By open-sourcing the Quantum Development Kit in GitHub, we enable developers to contribute alongside an emerging community of quantum computing programmers,” Microsoft said in a blog post announcing its plans to open source the QDK earlier this year. “We initiated this work last year when we open-sourced several features of the Quantum Development Kit, including the libraries and samples.”

Quantum computing is largely seen as the next major frontier in computing. Great!

[Read More]

Python machine learning tutorial: predicting Airbnb prices

Categories

Tags data-and-analytics ai-and-machine-learning how-to backend-development

Machine learning is pretty undeniably the hottest topic in data science right now. It’s also the basic concept that underpins some of the most exciting areas in technology, like self-driving cars and predictive analytics. An article by dataquest.io in which you will be introduced to the fundamental concepts of machine learning. As you follow along, you’ll build your very first model from scratch to make predictions, while understanding exactly how your model works.

In it author explains:

  • What is Machine Learning?
  • Predicting Airbnb Rental Prices
  • About Airbnb Data
  • The K-nearest neighbors algorithm
  • Euclidean distance
  • Building a Basic KNN Model
  • Evaluating Our Model
  • Using RMSE to Evaluate Our Model

… and much more in this lengthy article. We learned what machine learning is, and walked through a very basic, manual “model” for predicting a house’s sale price. Great read!

[Read More]

Searching for ET using AI on GCP

Categories

Tags data-and-analytics cloud-and-infrastructure ai-and-machine-learning

Rob Harrand wrote this article about aproject playing with open data from SETI. They say that the best way to learn data science is to create something. Some of the most interesting data publicly available in GitHub repositories is data from the SETI Institute (the Search for Extraterrestial Intelligence).

The folks over at SETI were keen to help author out and made it clear that engaging “citizen scientists” was something they wanted to do more of in the future.

The article then describes:

  • SETI and Citizen Science
  • SETI’s use of Deep Learning
  • The ABACAD Approach to finding ET
  • Code on GCP Datalab
  • Simulating the data
  • Building a deep learning model
  • Making predictions from ABACAD filterbank files

.. and more. Author started to process data on Kaggle, thanks to their free data hosting and GPU support. He created a notebook (known as a “kernel” on Kaggle) that introduced typical SETI data and the filterbank file format, followed by one using deep-learning to distinguish between different types of simulated data (as per the summer challenge).

Code for this project can be found here. Nice one!

[Read More]

Setup vim for elixir development

Categories

Tags backend-development software-engineering miscellaneous how-to

A guide by Amirali Esmaeili for developers programming in Elixir. As the title says, it’s not a topic about choosing suitable editor / IDE for elixir development, you love vim and ofcourse elixir and all you need is a simple guide get a nice, fast and productive environment for elixir development in vim.

Regardless of language you are coding in you need features listed below (and provided in this guide):

  • Syntax highlighting
  • Smart code completions
  • Go to definition and Find references
  • Hover docs
  • Real time diagnostics
  • Code formatter

To achieve all the above features author uses coc.nvim, a plugin which adds vscode like features to vim including a great Language Server support. coc.nvim is very powerful yet easy to setup and configure, you can use different plugins to achieve a productive development environment. Easy!

[Read More]

The differences between Bitcoin and Libra should matter to policymakers

Categories

Tags business-and-emerging-tech data-and-analytics

Libra is not designed to minimize the number of trusted parties in an economic transaction. Libra is designed to maintain a stable value and users trust the Libra Association’s management of a reserve fund to achieve that goal. Users also rely on the permissioned validators to add transactions to the ledger, and but for their participation a transaction would not go through.

Peter van Valkenburgh article about differences between Bitcoin and Facebook’s Libra. The two have different design goals, work in different ways, and raise different regulatory questions.

Author’s answer is that Bitcoin and Libra are very different projects that use very different technologies and, as a consequence, each project faces different regulatory and legal challenges.

The article then look sat the design goals of each project, the technologies they use, and conclude with a high-level comparison of the relevant laws and regulations:

  • Different design goals and priorities
  • Different technologies employed
  • Different regulatory consequences

For a deeper dive on the concepts of permissionless vs permissioned blockchains, the technical details involved in their development, and their legal implications, check out the Coin Center report: Open Matters: Why Permissionless Blockchains are Essential to the Future of the Internet. Nice one!

[Read More]

Create fluid conversations with QnA Maker multi-turn feature

Categories

Tags software-engineering ai-and-machine-learning business-and-emerging-tech cloud-and-infrastructure

Matt Wade authored this beginner guide to QnA Maker multi-trun conversations. In the past there was a glaring difference between a QnA Maker knowledge base (KB) and a real human: the ability to clarify, ask for more information or do anything more than a one-off question-response type of conversation. With multi-turn, the experience with your QnA KB is much more fluid and significantly more natural.

Multi-turn relies on follow-up prompts that are sent with an A (answer) when asked a Q (question). These prompts aren’t just helpful; they can pull the user along a set path of your design. That path can be whatever you think is logical or it can go in a direction that, over time, most users have shown to go.

The article is divided into these sections:

  • Prompt me (follow-up prompts sent with answer when asked question)
  • Example Contoso Restaurant Bot
  • A web of knowledge
  • The build-out process
  • Connecting your KB to your bot
  • Wrap up

To help you visualize multi-turn conversations, there is an example chatbot meant to be used on a restaurant’s website. Also, if you haven’t already checked it out, you want to learn all the new things that come with QnA Maker’s active learning. Good read!

[Read More]

Functional JavaScript: how to use array reduce for more than just numbers

Categories

Tags software-engineering frontend-and-mobile

An artcile by James Sinclair about reduce in JavaScript. Reduce is the Swiss-army knife of array iterator. It’s really powerful. So powerful, you can build most of the other array iterator methods with it, like .map(), .filter() and .flatMap().

Reduce is one of the most versatile functions that was ever discovered.

Why does reduce() cause people so much trouble?

Getting used to the idea of an initial value is a non-trivial step. And then the reducer function also has a different signature. It takes an accumulator value as well as the current array element. So learning .reduce() can be tricky because it’s so different from .map() and .filter().

Some interesting things we can do with reduce So, what interesting things can we do then?:

  • Convert an array to an object
  • Unfold to a larger array
  • Make two calculations in one traversal
  • Combine mapping and filtering into one pass
  • Run asynchronous functions in sequence

Plenty of code examples in this excellent resource which will teach you more advanced uses of reduce(). Nice one!

[Read More]

How to use GitLab and Ansible to create infrastructure as code

Categories

Tags devops-and-ci-cd

Sara Kassabian and Brad Downey wrote this piece for GitLab.com exploring GitLab CI and how this powerful tool can be used for a number of things, including infrastructure as code. GitLab is tool agnostic, but they use Ansible in this demonstration because it’s a language commonly used by developers for infrastructure as code.

What’s particularly cool about GitLab CI is that the code from the Ansible playbook can be edited and shipped without ever having to install any dependencies locally. The demo project, which calls for an update to the SNMP strings on all devices monthly per GitLab security policy, can be done entirely on GitLab.com.

The article then guides through the Ansible playbook, including:

  • Gather router facts
  • Display version
  • Display serial number
  • Configure SNMP

Committing the changes will automatically kick off a GitLab CI pipeline. GitLab CI pipelines are a string of sequential tasks that execute everything you need to test and implement your Ansible code. GitLab CI is configured with a single simple YAML file that lives in the repository, named .gitlab-ci.yml. The tutorial video and repository with the code provided. Great!

[Read More]

Big O Notation

Categories

Tags software-engineering frontend-and-mobile

Short article from interviewcake.com explaining Big O. Big O notation is the language we use for talking about how long an algorithm takes to run. It’s how we compare the efficiency of different approaches to a problem.

You should make a habit of thinking about the time and space complexity of algorithms as you design them. Before long this’ll become second nature, allowing you to see optimizations and potential performance issues right away.

It’s like math except it’s an awesome, not-boring kind of math where you get to wave your hands through the details and just focus on what’s basically happening.

With big O notation we express the runtime in terms of — brace yourself — how quickly it grows relative to the input, as the input gets arbitrarily large.

  • How quickly the runtime grows
  • Relative to the input
  • As the input gets arbitrarily large

Some code examples helping with explanation. Short but sweet.

[Read More]