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.
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.
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.
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!
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.
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…
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.
We almost never need to worry about memory in JavaScript. We can create an array and put different kind of data in it, despite the size of every object is totally different. The trend of client side apps makes us want to have better JavaScript performance. JavaScript now gives us ArrayBuffer, which is used to represent a generic, fixed-length raw binary data buffer. This series include three parts about memory management and introduces us to ArrayBuffer and ShareArray Buffer.
With JavaScript approaching near-ubiquity as the scripting language of the web browser, it will benefit you to have a strong understanding of its event-driven interaction model and how it differs from the request-response model typically found in languages like Ruby, Python, or Java. In this post, we explain some core concepts of the JavaScript concurrency model, including it’s event loop and message queue in hopes of improving your understanding of a language you’re definitely already writing, but perhaps don’t fully understand.
BetterDev Link
Every Monday