Wednesday, February 23, 2011

Disable XP Built-In Zip Support

1) regsvr32 /u %windir%\system32\zipfldr.dll
2) Turn off system restore
3) delete key ที่ชื่อ zipfldr.dll ใน registry
4) delete zipfldr.dll ใน win\system32 และ win\system32\dllcache
อาจต้องเข้า safemode ถึงจะ del หมด

Monday, February 7, 2011

document-oriented database





NoSQL Glossary

Shard
======
- a broken piece or fragment of a brittle substance, esp of pottery
= Horizontal partitioning data
ตัวอย่างเช่น
ข้อมูล user 1 - 10 เก็บข้อมูลที่ shard 1
ข้อมูล user 11-20 เก็บข้อมูลที่ shard 2
- Normally, one uses two servers per shard to ensure availability.

Eventual Consistency
====================
As the data is replicated, the latest version of something is sitting on some node in the cluster, but older versions are still out there on other nodes, but eventually all nodes will see the latest version.

NoSQL

Main Idea
==========
- ไม่จำเป็นต้องใช้ relational db ในการเก็บข้อมูล
ใช้แค่ primary key look-up ก็เพียงพอ-> retrieve ข้อมูลแล้ว
- Just put the schema at the app level and keep it all in one place
, rather than duplicating it at the database level.

Category
=========
- Key/Value
Pure key/value stores are blobs stored by key.
- Tabular
Some projects use a Google BigTable-like data model
which we call “tabular” here —
or one can think of it as “multidimensional tabular”.
- Document-Oriented
Typical of these are JSON-style data stores.


Common Characters
=================
- Schema-Free data model
- de-normalized
- Distributed (Good Response Time, ...)
- Shard
- Replicated
- Eventually Consistent
- Map/Reduce

เรียบเรียงโดย สิริพงษ์ พงศ์ภิญโญภาพ

References
============
http://www.narisa.com/blog/up1/index.php?showentry=1650
http://nontster.wordpress.com/2009/12/15/413/
http://wiki.apache.org/cassandra/ArchitectureOverview
http://www.mongodb.org/display/DOCS/Sharding+Introduction
http://nosql-databases.org/
http://www.linux-mag.com/cache/7579/1.html
http://blog.mongodb.org/post/142940558/what-is-the-right-data-model

Saturday, February 5, 2011

ขยายสัญญาณ wireless จาก nlink ด้วย WRT54GL

1) Update fireware WRT54GL
===========================
ผมทำตามขั้นตอนจาก http://spalinux.com/2009/04/install_dd-wrt_firmware_on_linksys_wrt54gl

โดย fireware ของ dd-wrt v24 preSP2 (Build13064)
ซึ่งไฟล์ที่ใช้ upgrade คือ dd-wrt.v24_mini_generic.bin
และ dd-wrt.v24_std_generic.bin

ปล. ตอน upgrade เป็น mini เมื่อเข้าหน้า admin console มันแจ้งบน title bar ว่า error
ไม่ได้สนใจมัน upgrade ต่อด้วย std แล้ว error ก็หายไป

2) nlink
=========
ผมกำหนดดังรูป




3) WRT54GL
==========




# Under Wireless -> Basic Settings:
* Wireless mode: Repeater
* Wireless Network mode: (set to match the host)
* Wireless Network Name (SSID): the SSID of the network you connect to
* Network Configuration: Bridged
* Save
* Add 1 virtual interface
* Enter a new (unique) SSID of your choice
* Wireless SSID Broadcast: Enable
* AP Isolation: Disable
* Network Configuration: Bridged
* Save
(หลังจาก apply change และ reboot router
Wireless mode มันเปลี่ยนเป็น Repeater Bridge เอง)

# Under Security:
* Uncheck all items in the "Block WAN Request" section (except Filter Multicast)....THEN disable the SPI firewall


4) Go Online
============
เมื่อใช้งานเครือข่าย, ก็เชื่อมต่อไปยัง SSID ของ virtual interface ได้เลย

Note
====
- ผมกำหนดความปลอดภัยด้วย mac address filter เพียงอย่างเดียว
ไม่ได้ใช้ WEP หรือ WPA เป็นต้น
(ซึ่งไม่ได้ลงรายละเอียดไว้)

- เมื่อต้องการเข้า control panel
ของ nlink ก็ http://192.168.1.1/
ถ้าของ WRT54GL ก็ http://192.168.1.101/


เรียบเรียงโดย สิริพงษ์ พงศ์ภิญโญภาพ