In this post, I try to discuss the element-wise operations of the entire Neural Network algorithm first before doing any vectorization. Because I believe it is easier to focus on one thing at a time.
Background I found our extensions being detected as corrupted in the Chrome stable release version 59. After some research, I found a related bug report. Basically, if the extension contains files with file size with is the multiple of 4096, the extension will be marked as corrupted. Printing all files’ name and size This following python code […]
Introduction: Firebase, Backend as a service, released a new feature Cloud Functions. It allows developers write back-end code without worrying handling a server. In the following blog post, I explored how fast it is to create a simple HTTP request listener. 1. Install the Firebase CLI tools: npm install -g firebase-tools 2. Login with Google […]
Tutorial about controlling multiple Arduinos via Bluetooth Low Power (BLE) with python multi-threading.
Setup Download gettext http://mlocati.github.io/gettext-iconv-windows/ Install the binary executable and make sure select “Add application directory to your environmental path” option. Run the following instruction through manage.py: makemessages -l en If you are using PyCharm, pressing ALT + CTRL + R will show you the manage.py task popup If everything is fine you will see the […]
Setting up pip and making HTTP JSON request with python
There are no pull-up resistors, because we can use the internal pull-up of Arduino. pinMode(A0, INPUT_PULLUP); int reading = analogRead(A0); Here, 1k / N are used as the load resistor. Actually (200~1k)/N resistor can be used. (lower resistor -> higher detect range).
Background: The website contains a signup form which consists of a Languages dropdown option. In order to get language options from the database, we need to call an AJAX get request. Problem: 1) Where to trigger the Ajax call in the react life cycle. 2) How to use redux to handle UI changes after AJAX […]
Setup: Enable the SSH server from the config menu: sudo raspi-config Setting up WiFi for the Pi: http://raspberrypihq.com/how-to-add-wifi-to-the-raspberry-pi/ In order to connect to the Pi via SSH through router, we have to fix the IP address of the Pi. In order to allow the Pi sending requests to the server (localhost in my laptop), we have […]