- Function.call and Function.apply are two very important methods and you should be very familiar with them if you are good at functional javascript. The most important and the only purpose of these two methods is to convert one input to another.
These two methods are easy to use but also easy to confuse, people always f...
TaoAlphatechjsapplycall Su, April 17, 20169 minutes to read - What Docker does ?Docker is a software that help you implement the concept of Linux container which is pretty similar with virtual machine but more light-weight.
Docker has a really great system or workflow that make build, ship and deploy your product really easy to do. You can find a lot of posts about docker on the ...
TaoAlphatechdocker Th, March 10, 20168 minutes to read - Comparison based sorting algorithmsWe have discussed all popular comparison based sorting algorithms: insertion sort and selection sort, bubble sort and merge sort, Quicksort and Heap Sort.
All these algorithms are great under most of conditions, but their lower bound is O(nlogn), they can not do better.
If for some re...
TaoAlphatechsortalgorithm Tu, January 19, 201620 minutes to read - Last time we have finished the four different sorting algorithms including : insertion sort and selection sort, bubble sort and merge sort, check on Series section for these posts.
Now let’s continue playing with another one or two.
Median Sort and QuicksortMedian SortSimiliar with merge sort, we still use divide and c...
TaoAlphatechsortalgorithm Tu, January 19, 201618 minutes to read - Yesterday, I added airbnb blog to my subscriptions, and found an interesting feature on this blog: when you scroll down, there will be a progressbar on the top of the page showing the progress of your reading on this post. So I just added it to my blog :)
Actually the logic is pretty simple, you calculate the distance ...
TaoAlphatechcssprogress Sa, January 16, 20165 minutes to read - As I promised, I have been working on refactoring the feedpusher with pure JS/nodeJS from last week. Now I have set up the basic database struture and spider which has already been running for one week with 80 sites and 8k feeds stored into my mongodb on raspberry pi.
Today, I jsut set up a new process to crawl the upd...
TaoAlphatechjs Tu, January 12, 201612 minutes to read - orginal post
@kangax’s ES6 quiz, explained@kangax created a new interesting quiz, this time devoted to ES6 (aka ES2015). I found this quiz very interesting and quite hard (made myself 3 mistakes on first pass).
Here we go with the explanations:
Question 1:123456(function(x, f = () => x) { var x; var y = x; x...
Dmitry Soshnikovtech Mo, January 11, 201631 minutes to read - Today I finally made my first angularJS app which is a simple todo app connected with my First nodejs cli tool: baby. They share the same data set, so you can think it as the UI for baby todo part (I will build the UI for other nice features, one by one).
I really like the interface of the Papaly, especially the speed ...
TaoAlphatechcssblur Th, December 31, 20158 minutes to read - WhySince I have migrated my entire blog to hexo, so I need to rewrite a lot modules :) Today we talk about related articles and how to generate api files in your hexo blog.
HowRelated ArticlesUnlike jekyll, hexo doesn’t have a built-in module to populate the related articles (meanwhile, jekyll’s built-in related articl...
TaoAlphatechJS Su, December 27, 201515 minutes to read - IntroductionBriefly speaking, NodeJS is like using JS on back-end stuff. Its really cooooooool and exctied for every JS developer !!!
I just started to learn Node, and in order to learn it better, I made a small cli tool for myself, it’s quit helpful actually.
Meet BabyI named this tool as ‘baby’ with a lot of reasons…...
TaoAlphatechJSCLINodeJS Mo, December 7, 20156 minutes to read