A.I, Data and Software Engineering

CategoryProject

Tutorial: Multi-touch gesture for android

multi-touch

Multi-touch gestures are very useful in many common scenarios, such as zooming, panning. For game development, handling multi-touch is essential. This post will give a quick guide for handling multi-touch points. Project structure We create a new project name MultiTouch with Java and add a new class named GameScene as a subclass of android.view.View. The basic GameScene class is as follows. 12345...

THE JOEL TEST quick note: 12 STEPS TO BETTER CODE

Joel test questions

Recently, I came across a company’s profile and found their Joel test. Basically, it is for a better quality of software team/company. So I decided to share it here in the simplified version. The great part about it is that it takes about 3-5 minutes compared to approx 6 years to understand SEMA. The Joel Test Joel test questions The neat thing about The Joel Test is that it’s easy to get a...

WHAT IS GIT REBASE?

git rebase

Rebasing is the process of moving or combining a sequence of commits to a new base commit. Rebasing is most useful and easily visualized in the context of a feature branching workflow. The visualized general process is as the following: From a content perspective, rebasing is changing the base of your branch from one commit to another making it appear as if you’d created your branch from a...

Advanced Python: Object operations and comparisons

python trademark

In many cases, it is convenient to perform mathematical operations on objects rather than numerical values. Python classes have the ability to emulate the behaviour of numeric values to support operations like addition and subtraction. You can override many more to support number-like functionality. Numeric functions In the following table, the right column contains expressions...

Build an android calculator in 5 minutes

calculator kotlin

Mobile Calculator This tutorial, we demonstrate how to use Android Kotlin to build a mobile calculator in just 5 minutes. It is really simple and fun. You can watch a video tutorial at the end of this post. Create an android project with Kotlin From Android Studio welcome page, select “Create a new project” and follow the instruction on screen. Enter the app name, package name and use...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Pin It on Pinterest