June 10, 2017

Powered by Hugo

After 1.5+ year, I finally got some motivations to rebuild my personal website using Hugo and a cleaner hugo-future-imperfect theme. Hugo is fast and modern as it is advertised and is suitable for more than blogs. I am happier with it than Jekyll, which powers my previous blogger, partially because I don’t need to install an additional Ruby run-time. Amazon AWS is also improving. The new S3 console is easier to use with more features. Read more

January 24, 2016

Arduino OpenWeatherMap Client

This project requires Arduino UNO, Arudino Ethernet Shield, and a 1602 LCD display. My plan is to build a simple OpenWeatherMap client using Arduino UNO + Ethernet Shield and output weather information to LCD. OpenWeatherMap Signup We have to get an APPID from OpenWeatherMap to use their Weather API. The free account is sufficient for this project. Arduino Ethernet Library Arduino website has a complete reference to the Ethernet library. Read more

November 30, 2015

FFmpeg API Notes

This is my FFmpeg API notes when I was working on audio and video encoding/decoding projects. This note isn’t complete and you may first want to take a look at An ffmpeg and SDL Tutorial. Initialization FFmpeg library must be initialized before using any of the encoder, decoder, muxers, demuxers, and filters. avcodec_register_all. For libavcodec, register all codecs, parsers, and bitstream filters which were enabled at configuration time. av_register_all. Read more

November 28, 2015

std::atomic vs. volatile

For tl;dr people, from Effective Modern C++: std::atomic is for data accessed from multiple threads without using mutexes. It’s a tool for writing concurrent software. volatile is for memory where reads and writes should not be optimized away. It’s a tool for working with special memory. volatile is a type qualifier that you can use to declare that an object can be modified in the program by the hardware. Read more

November 28, 2015

It Works!

If you see this page, Amazon Web Services are successfully configured and working. No further configuration is required. For online documentation and support please refer to Route 53, S3, and CloudFront. Also, refer to Hosting a Static Website on Amazon Web Services and Jekyll. Thank you for visiting jiaweihuang.com.

© 2015-2019 Jiawei Huang

Powered by Hugo & Kiss.