Category: Coding

0

kafka in a nutshell

IntroductionKafka is a distributed publish-subscribe messaging system that is designed to be fast, scalable and reliable. It can be used in data analysis, stream processing and other similar tasks. Th

0

what does "this" refer to in javascript?

Introductionthis in javascript is always a mysterious thing. Some programmers who have written a lot of javascript code still cannot tell the value of this every now and then. So today, I decided to w

0

An Illustration of Various Encoding Schemes

What are encoding schemes?Encoding schemes are ways to store and retrieve characters in computers. For example, in ISO-8859-1(which is one of various encoding schemes), we use 01100001 to denote a, an

0

Serialization and Deserialization in Java

IntroductionSerialization: a process which converts a Java instance into a bunch of bytes, so it can be stored in disk/database or transferred through network. Deserialization: the opposite of Seriali

0

the machanism of garbage collectors in Java

There are several garbage collectors in Java, each has its specific usage scenario. To understand garbage collection, we first have to understand how heaps are divided in Java. Heaps are divided into

0

Inheritance in Javascript

Javascript uses prototype chains to make inheritance work, that’s a little odd given that other OOP languages usually use class and extend. So to fully understand inheritance in javascript, we first h

0

Hadoop Internals -- Configuration

IntroductionAs what is called, Configuration is used to store all kinds of configurations in the hadoop platform, either they are from files(like core-default.xml) or from users(set via conf.setInt(&q

0

Install fcitx on ubuntu 16.10

Run the following command. 1sudo apt-get install fcitx fcitx-table fcitx-googlepinyin fcitx-module-cloudpinyin Search for language support, and check Keyboard input method system is fcitx Reboot. Go t

0

Super CapsLock On Ubuntu 16.10

On ubuntu 16.10, make CapsLock act as Esc when it is hit, and as Ctrl when it is held. To make it work, modify /etc/default/keyboard, change 1XKBOPTIONS="" to 1XKBOPTIONS="caps:ctrl_mod