AI Serving

ai-slideshow-solve-problemsa-712

1. Serving

End to end system (given input and provide output, accept request and give response)

AI serving (using AI technique to provide response for request)

 

2. Traditional Web Application

Whole page reload when direct to other pages

 

3. Single Page Application (SPA)

Browser does most of heavy lifting, make AJAX call to request JSON result

Fast, easy to debug (keep logs until reload), friendly for mobile apps, cache local storage

 

4. Memory leak

C++: forget to release declared resource (char *ptr = new char[10]; dele[] ptr; )

c# / java: class member variable holds native resource (hardware related, file handler, socket) which need to be garbage collected when destruct class instance, otherwise memory leak.

node.js : node.js or browser bug

Python: python internal bug

 

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money, BlackFriday.fm to check latest news, ads and sales in BlackFriday shopping season.

Follow me @Yaoli0615 at Twitter to get latest tech updates.

 

Resources:

Pattern Recognition and Machine Learning

Machine Learning with R

Machine Learning Map

Machine Learning Algorithms Pros and Cons

Mathematical Decision Making: Predictive Models and Optimization

Advertisements
Posted in Artificial Intelligence, Uncategorized | Tagged , | Leave a comment

Machine Learning Blogs

machine-learning-7-1-1-696x492

Machine Learning is Fun!

Deep Learning

Kevin’s code and idea

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money, BlackFriday.fm to check latest news, ads and sales in BlackFriday shopping season.

Follow me @Yaoli0615 at Twitter to get latest tech updates.

 

Resources:

Pattern Recognition and Machine Learning

Machine Learning with R

Machine Learning Map

Machine Learning Algorithms Pros and Cons

Mathematical Decision Making: Predictive Models and Optimization

Posted in CS Research&Application, Uncategorized | Tagged , | Leave a comment

Web Development Basics (10-29-2017)

447567-the-best-web-hosting-services-for-2014

– Past:SOAP ( HTTP + XML )

– Present:REST ( HTTP + JSON )

– Future:gRPC + Protocol Buffers

 

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money, BlackFriday.fm to check latest news, ads and sales in BlackFriday shopping season.

Follow me @Yaoli0615 at Twitter to get latest tech updates.

Posted in CS Research&Application, Uncategorized | Tagged | Leave a comment

Best iOS and Android libraries every mobile developer should know

opensource-300x173

iOS

AFNetwork (network)

UALogger (logging)

JSONModel (model object mapping, from json to class)

JsonDB (json DB store, query and manipulation)

Fabric (Crashlytics, collect crash report)

DFImageManger (image preheating, caching and loading)

DeepLinkKit (deep link)

HCSStarRatingView (star rating)

CleverTap (data collection, analysis, push notification)

UICKeyChainStore (resolve keychain pain)

Google-Mobile-Ads (ads)

FBAudiceNetwork (ads)

Toast (android toast like view)

SVProgressHUD (progress hud)

UITextField+Shake (UITextField category with shake effect)

NSString-Email (NSString category to check string is email or not)

Xcode’s memory debugging facilities: Visual Memory Debugger, Zombies Instrument, Address Sanitizer, Thread Sanitizer and malloc diagnostics

AppCode (much better than Xcode in coding)

 

Android

Glide (image loading, caching)

Genymotion Android Emulator (much faster than Android Studio Emulator)

 

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money, BlackFriday.fm to check latest news, ads and sales in BlackFriday shopping season.

Follow me @Yaoli0615 at Twitter to get latest tech updates.

 

 

Posted in CS Research&Application, iOS, Uncategorized | Tagged , , | Leave a comment

Best Practice for Coding

wpid-Programming-Wallpaper-3

1. Annotation always write before the code

2. Remove the console.log message and the redundant code once done.

3. For Javascript, prefer console.debug() when you have to have temporary logging in the code.

4. killall python

5. If need more data export and import, install MongoDB locally is better than using mLab.

 

To be continue …

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money.

Follow me @Yaoli0615 at Twitter to get latest tech updates.

Posted in CS Research&Application, Intern&Job, IT, Uncategorized | Tagged , , | Leave a comment

Web Basics

447567-the-best-web-hosting-services-for-2014
1. authentication: who you are
authorization: what you can do

cookie: more physical

session: context (teaching – learning, lecturing)
session cookie (bank login)
persistent cookie (remember me option)
token – certificate

2. multi-thread

context thread
thread pool
blocking I/O
single thread
non-blocking I/O (then go to end of queue)
3. Semantic Versioning
breaking . feature . fix (1.3.1)
~ (tilde): update to the latest fix version
^ (caret): update to the latest feature and fix versions
4. Socket vs Port
A socket represents a single connection between two network applications.
A port represents an endpoint or “channel” for network communications.
5. NoSQL is not schema free, but dynamic schema (implicit structure/schema, row and column, match to code expectation)

6. Reactive Programming

a sequence of data stream
cancellable (subscription)
used in both frontend and backend, stream data is like audio, video, stock ticket info, twitter tweets, IoT data, etc.
Pull vs Push
Pull: consumer, function, iterators, active
Push: producer, Promises, Observables, passive
Observable: play from beginning for every subscriber
Subject: on live, no replay
7. SQL vs NoSQL
MySQL (Netflix user info, movie info, payment)
need transaction (transfer money), strong consistency (no same name in system), well structured
MongoDB (Comments)
more flexible, frequent write
S3 (movie data)
huge size, no need mutation
replica (whole data)
shard (partial data)

 

8. Apache Benchmark (A/B test)
ab -c 100 -n 1000 https://www.google.com/
9. Code Editor
Brackets (friendly to front end development)
10. ECMAScript 6 equivalents in ES5 (link)
11. Regular Expression
online tool: RegExr
12. 在 2016 年学 JavaScript 是一种什么样的体验?(link)

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money.Follow me @Yaoli0615 at Twitter to get latest tech updates.

Posted in CS Research&Application, IT, Uncategorized | Tagged , | Leave a comment

How the Web Works

447567-the-best-web-hosting-services-for-2014How the Web Works: A Primer for Newcomers to Web Development (or anyone, really)

https://medium.freecodecamp.org/how-the-web-works-a-primer-for-newcomers-to-web-development-or-anyone-really-b4584e63585c

How the Web Works Part II: Client-Server Model & the Structure of a Web Application

https://medium.freecodecamp.org/how-the-web-works-part-ii-client-server-model-the-structure-of-a-web-application-735b4b6d76e3

How the Web Works Part III: HTTP & REST

https://medium.freecodecamp.org/how-the-web-works-part-iii-http-rest-e61bc50fa0a

 

A Beginner-Friendly Introduction to Containers, VMs and Docker

https://medium.freecodecamp.org/a-beginner-friendly-introduction-to-containers-vms-and-docker-79a9e3e119b

Linux namespace and control group.

 

Donate $5 to me for a coffee with PayPal and read more professional and interesting technical blog articles about web and mobile development. Feel free to visit my web app, WhizWallet, to apply for credit, store or gift cards, DealsPlus to browse daily deals and store coupons to save money.

Follow me @Yaoli0615 at Twitter to get latest tech updates.

Posted in CS Research&Application, Uncategorized | Tagged , , , | Leave a comment