Todo App using Spring Boot REST API

0. Overview We will implement simple Todo List app, with client using jQuery and backend use Spring Boot REST APIs. 1. Installation Spring Boot If you have both Ruby on Rails and Java Spring boot on the mac, when you type spring command, it will run spring from Ruby! To avoid that, let do symlink

Generating a Dart client for an App Engine Cloud Endpoints API

This article will show you how to generate a Dart client library for Google App Engine Cloud Endpoints. First we need to download root API discovery document : Now we have apis.json, create a folder name discovery and put apis.json in. Second, we will install https://github.com/dart-lang/discoveryapis_generator This will create a new Dart package with generated

Async Calls in Flutter

Synchronous/asynchronous generator in function await for wait till command finished async* (async each) for a stream whenever there is an update in stream yield* (yield each) for returning an update from a stream import ‘dart:async’;import ‘dart:io’;main() { listenCountDown();}listenCountDown() async { await for (var tick in countUp()) { print(“countDown $tick”); }}Stream<int> countDown() async* { var i

Zalo AI Challenge: Problems and Solutions

About Zalo AI Challenge poses a unique problem for participants to show their abilities: building algorithms to detect the gender/category/location of any given voice/song/photo Challenge 1: Music Genre Classification Description Music Genre classification is a difficult and interesting challenge. A good classification is very helpful for smart music storage, music recommendation, music search. Despite of

Ứng dụng Linear Regression: Dự đoán năng lượng tiêu thụ

Giới thiệu Thuật toán Linear Regression, hay còn gọi là Hồi quy tuyến tính, là thuật toán Machine Learning đơn giản, ngoài ra còn được biết tới với cái tên Linear Fitting. Đây là thuật toán supervised learning, học dựa trên dữ liệu cung cấp có tính chất tuyến tính. Bài toán Bài toán đặt ra

[C++] What is Mixins?

When you have bunch of ideas and concepts need to be modelled in your project, normally you go with inheritance, define common interface classes, but sometimes, they are not related at all or they are orthogonal for the most part. The idea with mix-ins is to provide a bunch of primitive classes, where each of them

Convolutional Neural Networks for Object Classification

In this post we will look at some Convolutional Neural Networks (CNNs) which solve the general tasks of classifying objects in an image. The architectures will be presented by date, you can scroll down to see the latest one. Traditional CNNs (1998) LeNet5, developed by Yann LeCun (Facebook FAIR), was a pioneering CNN that accelerated research

[iOS] Three wise monkeys emoji for UITextField password revealing

Users need something easy to use, and fun too, for example, the UITextField, for password section, recently we see it has reveal button (eye icon, or show) to see raw password. With this button, user doesn’t have to type password again for confirmation. For example, Facebook did with text SHOW and HIDE:   How about

Virtual Private Network for Multiple Platforms – Part 2

In the previous part, we already finished setting up Server node and Deep learning node, now it’s time to setup Mobile node (to control other servers securely). Current VPN setup: Server node (servernode, it has public IP address, and VNP IP will be 10.0.0.1) – done in part 1 Deep Learning node (odroidnode, VNP IP address

Virtual Private Network for Multiple Platforms – Part 1

For Smart home servers or local deep learning server, you may want to keep them inside a private network, or local network for security reason. To access those servers from outside, it’s necessary to setup a virtual private network (VPN) Assume that we have 3 nodes: Server node (servernode, it has public IP address, and