Indexing Faces on Instagram
This article is about how to build a face search engine by indexing faces on Instagram. It’s similar to fuzzy string search, but with picture of faces instead of string. You will get a better understanding of computer vision via this article: how to standarize data, the technique to turn images into data, and detecting similarity of data. It’s a good read and fun to play with. It’s also completely open-source.
How does Database Index Work?
Usually, we just add an index and call it a day. But what does the underlying data storage looks like? Are there different type of index? This StackOverflow question is a nice summation. Make sure you read all the answers, especially about hash index and b-tree index.
Google Shell Guide
Bash is everywhere, on your Mac or your server. It’s very useful as a scripting language. If you write Bash a lot, you know the ‘gotchas’, and the necessiity of a style guide. You can adopt this guide quickly to improve safety and readability of your Bash code.
Refactoring Ruby: DRY up your Domain Models Using a Struct Table
It’s very usual for an application to have some sort of enum type, we usually put them in model or some sort of class with a property name representing it’s meaning to avoid magic value. Then more information will be added, and it becomes harder and harder to understand since those data can also be referenced from other places outside of that class. This article helps us DRY (Don’t Repeat Yourself) that. It also has some great rules about naming. Check it out!
Performance Checklists for SREs 2016
This is an short summary of a video record at a conference about Linux performance. You can also just go through the checklist, it includes some nice tools to check performance.
Linux Performance Tool as an Image
Set this as your desktop image. It’s a list of tools that are used to measure performance of different components, from hardware to software on Linux. It brings you quick insights of what we can use to troubleshoot performance of your system: is the disk slow, or is it the network or the CPU that is being bottle neck here…
Visual Git Guide
Git is very easy to pickup to the point that many miss some more other useful features, such as cherry-pick and rebase because add, commit, merge serve us so well. Chances are you’re using Git every day, so if you haven’t haven’t had time to dive deeper into Git, this short visual guide will be very useful.
A Crash Course in Memory Management
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this