Split Up Large Text File

Efficiently Reading in and Iterating Through Large Files with Python

NoSQL Data Modeling Techniques

Reblogged from Highly Scalable Blog:

Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post

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.

Read more… 3 950 more words

NoSQL Data Modeling Techniques
Categories: Uncategorized

Một số ứng dụng cơ bản với Codeigniter

Nếu chúng ta muốn làm quen nhanh với một ứng dụng liên quan đến database với Codeigniter thì xem qua ứng dụng mẫu này:

http://www.grocerycrud.com/

Categories: Công nghệ Web Thẻ:, , ,

Remove index.php in Codeigniter

Hôm nay đọc bài này, tôi thấy quan trọng nên xin tác giả mang về đây.

If you work with CodeIgniter, you will soon learn fast enough that the CodeIgniter framework, by default, uses the index.php in its URL. Here’s an example of how the URL would look like with the index.php being visible.

CodeIgniter URL

http://example.com/index.php/news/article/my_article

.htaccess

To remove the index.php from the URL, you will need to add mod rewrite rules to the .htaccess file in your main CodeIgniter directory. Use this code. Change the rewrite base to your own settings.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ci/

RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]

RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>

config.php

In addition, you will need to edit the /application/config/config.php file. Make sure to remove index.php reference within the file.

$config['index_page'] = '';
Categories: Công nghệ Web Thẻ:,

Coding styles comparison in the Open Source Software world

Coding style guide

I read the article this morning and liked this statement “Programming style is one of the holy wars of computer programming. However, regardless of your tastes one thing is certain: when in Rome, do as the Romans do. That is, learning the accepted style of a programming language is just as important as learning the language itself.”

Below are the coding style guides of which you should be aware:

Google C++ style guide
Mozilla coding style guide
OCaml style guide
Java style guide
Microsoft style
Hungarian style
Linux kernel C style

Học Thế Nào

How We Learn

BA SÀM

Cơ quan ngôn luận của THÔNG TẤN XÃ VỈA HÈ

Hà Huy Khoái

Sapere aude

Open Daily

The Everyperson's Journey with Open Source

Dan's Functional Rants

Note: Visit http://www.dandersen.arrakis.es/ for more up-to-date content.

Vietnamese Backpackers

The memory of all my trips.

/home/edivad

Tech Travels

texblog

because LaTeX matters

Linux Owns

All about Linux

Huyền Học

Tình Yêu là chân lý cao nhất.

Hiệu Minh Blog

Càng đi xa, càng thấy mình nhỏ bé

Levite Chronicles

helping people emotionally understand the truth of God's work

Quantitative and Applied Economics

There are two things you are better off not watching in the making: sausages and econometric estimates. -Edward Leamer

Resa's Blog

Mostly my experiences with Linux and some other things

Le Club des Chercheurs Universitaires Etrangers

Đọt Chuối Non

Tư duy tích cực mỗi ngày

Lê Ngọc Anh Thư

Nothing is impossible