java 

Paolo Amoroso: Revisiting Building Android Apps in Python Using Kivy with Android Studio

One of the books I read on Kivy, a Python cross-platform GUI framework, is Building Android Apps in Python Using Kivy with Android Studio: With Pyjnius, Plyer, and Buildozer by Ahmed Fawzy Mohamed Gad (Apress, 2019). My comments on the book, which focused on it not being a good match for my learning needs, sounded negative. Perhaps unnecessarily so. The cover of Building Android Apps in Python Using Kivy with Android Studio in Google Play Books on my Pixel 2 XL. The author, Ahmed Fawzy Mohamed Gad, emailed me concerning…

Read More

Loan Amortisation Schedule using R and Python

In this post, we will explain how you can calculate your monthly loan instalments the way bank calculates using R and Python. In financial world, analysts generally use MS Excel software for calculating principal and interest portion of instalment using PPMT, IPMT functions. As data science is growing and trending these days, it is important to know how you can do the same using popular data science programming languages such as R and Python. When you take a loan from bank at x% annual interest rate for N number of…

Read More
Programming 

Samuel Sutch: Learn Robotics Programming: Build and control autonomous robots using Raspberry Pi 3 and Python

Price: $39.99(as of Oct 26,2019 06:03:34 UTC – Details) Danny Staple builds robots and gadgets as a hobbyist, makes videos about his work with robots, and attends community events such as PiWars and Arduino Day. He has been a professional Python programmer, later moving into DevOps, since 2009, and a software engineer since 2000. He has worked with embedded systems, including embedded Linux systems, throughout the majority of his career. He has been a mentor at a local CoderDojo, where he taught how to code with Python. He has run…

Read More

The best way to fetch multiple entities by id using JPA and Hibernate

Introduction In this article, we are going to see how we can load multiple entities by id at once when using JPA and Hibernate. Loading multiple entities by their identifier is a very common requirement when using JPA and Hibernate. Hence, we are going to see how we can optimize the underlying SQL query execution. Domain Model For the following examples, we are going to use the following Book entity: Now, let’s consider we have added several Book entities into our database: Notice how nicely we can build the JPA…

Read More
Programming 

Stack Abuse: Time Series Prediction using LSTM with PyTorch in Python

Time series data, as the name suggests is a type of data that changes with time. For instance, the temperature in a 24-hour time period, the price of various products in a month, the stock prices of a particular company in a year. Advanced deep learning models such as Long Short Term Memory Networks (LSTM), are capable of capturing patterns in the time series data, and therefore can be used to make predictions regarding the future trend of the data. In this article, you will see how to use LSTM…

Read More
css 

How to Create Motion Hover Effects with Image Distortions using Three.js

The reveal hover effect on images has become a very popular pattern in modern websites. It plays an important role in taking the user experience to a higher level. But usually these kind of animations remain too “flat”. Natural movements with a realistic feel are much more enjoyable for the user. In this tutorial we’re going to build some special interactive reveal effects for images when a link is hovered. The aim is to add fluid and interesting motion to the effects. We will be exploring three different types of…

Read More

Python Send Email Using SMTP

In this tutorial we will see how to send email using Python. We will need two python libraries for the same, smtplib will be used for making a host for sending email it will also handle routing of email between different servers. email package allows us to use HTML and other kind of text in our email, we can also use attachments using the same.  For sending email we will first need to create a local SMTP (Simple Mail Transfer Protocol) server. This can be done by creating an SMTP…

Read More
css 

How to Create a Responsive Form Using TailwindCSS

The accepted approach to building websites when working with HTML and CSS is to write the structure in the HTML file and implement the styles in a CSS file. But what if you could add the styles using classes right there in your HTML file? As it happens, you can, and that’s what we’re going to do thanks to TailwindCSS. Introducing TailwindCSS According to the TailwindCSS documentation: “Tailwind CSS is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without…

Read More