Computer Science

How to Create an Interactive Web Application using a Jupyter Notebook

Summary: To create an interactive web application in a Jupyter Notebook, use the three libraries ipywidgets, voila, and binder. This requires only basic Python programming skills without the need to learn a new framework. There are various Python tools available to create web applications and frontend GUIs.  For example, Flask and Django. As useful as …

How to Create an Interactive Web Application using a Jupyter Notebook Read More »

[Course Lesson] Top 13 PIP Commands

When working with Python, a programmer often encounters situations where she needs to install packages not contained in the Standard Library. In such situations, she must install modules from online repositories using packager installers. The goal of this article is to help beginners develop a working knowledge of pip (acronym for “PIP Installs Packages”) as …

[Course Lesson] Top 13 PIP Commands Read More »

Smart Contract Randomness or ReplicatedLogic Attack

In this tutorial, the randomness attack or also called replicated logic attack is analyzed. The problem in Solidity contracts is finding the true source of randomness. We will see how generating a random number using on chain data cannot be trusted.   The tutorial starts with exploiting the randomness vulnerability, followed by the possible solutions. Let …

Smart Contract Randomness or ReplicatedLogic Attack Read More »