2014年7月17日 星期四

[Database Design Idea] Designs user table id by unique code rather than by auto_incrementing

Someone designs the appuser table as follows:

appuser_id
candy
abigail
florance
simon
peter
...

rather than
appuser_id
1
2
3
4
5
...

to save the effort on table joining and retrieving. For reference.

2014年6月30日 星期一

[NAS] Some Reminders on Adding an NAS to Network


  • RAID 5 - needs at least 3 HDs
  • Either one among 3 is down, data can be recovered; for two, nothing can be done.
  • Using Reserved IP from DHCP is better, since when network is down, plugging NAS to another network with simple setting (DHCP giving random IP) and NAS can be used immediately
  • Setting Reserved IP requires the device's MAC address. Need to check the given IP and its MAC address from router
  • In windows, NAS drive can be searched by typing \\TheNASName\TheFolderCreated.
  • Only Disk Quota can be set. Cannot set a quota for a created folder. Thus the users can share the resources among a disk, but not a folder. If allocation for different users is needed, created different disks.

Random Exhibition Title Generator

  https://www.mit.edu/~ruchill/lazycurator.html