Category Archives: CS Research&Application

Best iOS and Android libraries every mobile developer should know

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, … Continue reading

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

Best Practice for Coding

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 … Continue reading

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

Web Basics

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 … Continue reading

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

How the Web Works

How 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   … Continue reading

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

Advanced Algorithm Research Notes

1. KMP Problem: find a substring in a string brute force: start from every position in str1 and compare with str2, time is O(n*m). optimization idea: position 1 and position 2 comparison is independent. prefix without last one and prefix … Continue reading

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

Javascript Learning Notes

1. Javascript Engine is synchronous 2. Browser and NodeJS are asynchronous, main thread in NodeJS is a single thread. 3. AngularJS: two way data binding 4. Callback Execute and obey after master/boss give an order (Callback functions define the order … Continue reading

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

Install common libs in Ubuntu

I host a Ubuntu (14.04) image in MacOS VirtualBox and there are some tips to install commonly used libraries: 1. open Chrome in ubuntu hosted in mac VirtualBox Error: NSS_VersionCheck(“3.26”) failed. Solution: (sudo apt-get –only-upgrade install libnss3) Tips: download chrome … Continue reading

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