Create API using Express JS and Sequelize

Sequelize

Introduction to ORM Sequelize.js an ORM (Object/Relational Mapper) which provides easy access to MySQL, MariaDB, SQLite or PostgreSQL databases by mapping database entries to objects and vice versa. It has very powerful migrations mechanism that can transform existing database schema into a new version. It also provides database synchronization mechanisms that can create database structure by specifying…
Read more

The Power of Generics : Swift

Generics

One of the most powerful features introduced in Swift was Generics. Generics are used to avoid duplication and to provide abstraction. The generic code allows you to write flexible, reusable functions and data types that can work with any type that matches the defined constraints. Swift standard libraries are built with generics code. Swift’s ‘Array’ and…
Read more

Higher order functions in Swift

Swift

Higher-order functions are functions that can accept other function or closure as parameters. I’ll introduce some very useful higher-order functions. Those functions are Map, Filter, Reduce, Sorted, CompactMap, Chaining, Contains. Other new higher-order functions were introduced in Swift 4.2. Those functions are AllSatisfy, FirstIndex, LastIndex and RemoveAll. Map Map function can be used to loop…
Read more

Basics of Create ML and Turi Create

ML and Turi-01 blog image

In WWDC 2018, Apple unveiled some of the most advanced technological achievements in the field of Machine Learning by adding capabilities to train custom ML models with the help of Xcode and other available tools. Apple basically introduced two ways to train custom ML models, one of which is Create ML and another one is…
Read more