My Psychology of Decision Making

Lately I’ve thought about traveling a fair bit. Not so much about the next destination, but more about cultures and traveling in general. For instance, how new opportunities arise when we are…

Source: My Psychology of Decision Making


NoSQL Data Modeling Techniques

Highly Scalable Blog

NoSQL databases are often compared by various non-functional criteria, such as scalability, performance, and consistency. This aspect of NoSQL is well-studied both in practice and theory because specific non-functional properties are often the main justification for NoSQL usage and fundamental results on distributed systems like the CAP theorem apply well to NoSQL systems.  At the same time, NoSQL data modeling is not so well studied and lacks the systematic theory found in relational databases. In this article I provide a short comparison of NoSQL system families from the data modeling point of view and digest several common modeling techniques.

I would like to thank Daniel Kirkdorffer who reviewed the article and cleaned up the grammar.

To  explore data modeling techniques, we have to start with a more or less systematic view of NoSQL data models that preferably reveals trends and interconnections. The following figure depicts imaginary “evolution” of the major NoSQL…

View original post 3,581 more words

JSON prettifying in VIM

VIM – How to format and syntax highlight JSON file


  • Run this command in shell

    sudo cpan JSON::XS

  • Put this line to ~/.vimrc

    map <leader>jt <Esc>:%!json_xs -f json -t json-pretty<CR>

  • When want to format JSON file press


  • credit : “tidify” a json in vim

Syntax highlighting