Skip to content

Online Golden Rules a.k.a. Digital Etiquette


Web1.0 to Web2.0 revolutionized the way humans communicate online.
No longer are we the sole publisher of a particular page on the
Internet but rather a drop in the ocean of intertwined conversations
spanning multiple continents and different ethnic backgrounds. We are
therefore morally obligated to bound by ‘Golden Rules’ (ethic of reciprocity)
that is applied the in the form of law and justice in physical presence
but ‘lost’ as we navigate through the craziness of the Internet.



However, ethical issue on the Internet of right and wrong is blurred
with the presence of anonymity and often overwhelming of information
overflow causes one to disintegrate their integrity and loses themselves
among the wonders of opinion and various of voices. My fellow colleague
has once told me to never look at the comment sections of “Youtube” but
I was too curious. Too curious for my own good which resulted in
frustration and anger at some of the users. Etiquette lost its way for
users that post racist comments and humiliation of taunts against other
users and to members of the online community. This illustrate the fact
that ethical judgement is ‘stolen’ under the presence of anonymity. 


We
would think twice about our action in physical world in which it causes
emotion or physical harm to others due to cause and effect relationship
imposed by governing bodies but the introduction of virtual presence
have removed this basic safety net. I believe through education and
awareness, we could reduce the pollutant on the Web and abiding by the
‘Golden Rule’ in the digital world would eliminate hateful comments.


The Golden Rule


One should treat others as one would like others to treat oneself.” Antony Flew (1979).The MacMillan Press. p. 134. ISBN 0-330-48730-2.


Appendix:


a.k.a => also known as


Youtube => a digital platform for distribution of videos and user engagement.


Continue reading "Online Golden Rules a.k.a. Digital Etiquette"

Bind9 DNS Webmin Primary to Slave

After configuring my primary DNS server and setting up the slave DNS server I realized even though the message says:

Test transfer successfully fetched 34 records from at least one nameserver. Actual transfers by BIND should also succeed.


 

The actual Zone isn't updated. Somehow I suspect it was a permission bug but /var/lib/bind was already given 777

Will figure out what needs to be changed for slave to update from the master DNS.

Random Stuff

Somehow a quote got stuck in my head, "what is an ocean but multitude of crops" ~David_Mitchell



LOL, I just realized I meant drops instead of crops, I guess that's what happens when you attempt to watch Food Inc.

Raspberry Pi Web Server with Serendipity

Just trying to put something on my raspberry pi and checking load


 21:49:23 up 49 days, 20:21,  5 users,  load average: 0.96, 1.22, 1.07


Edited: 2013/05/13 Assumption of Debian Operating System


I realized that wordpress takes 7~9 seconds to load on raspberry pi 256Mb after testing various of ways to speed it up. Unfortunately without running caching service such as varnish or APC there's no shortcut to reducing the load time. Hence someone recommended a light weight blogging system known as serendipity. Dispite the funny backend interface. It's is without a doubt, blazing fast and support mobile client with a cute template installed. It's a big daunting for beginners but is fairly simple and straight forwarded to setup and operate.Assuming you have installed mysql server and know the basic about LNMP.


Before starting with the goodies, layout the basic user & group permission.


groupadd nginxgroup


adduser -g nginxgroup -d /dev/null -s /dev/null nginx




wget -c http://nginx.org/download/nginx-1.4.1.tar.gz *from the official nginx, need to get exact latest version.


tar -zxvf nginx[tab].tar.gz   *The tab should auto complete the naming of the version


cd nginx[tab]


We're compiling nginx with everything possible just to be lazy later on in case we needed anything, this does come at a big performance loss but for beginner who cares. I personally like my prefix in /etc/nginx but it's up to you.The sbin-path is important as that's where executable file is located, think of it as Windows(R) .exe file


./configure --prefix=/etc/nginx  --sbin-path=/usr/sbin --user=nginx --group=nginxgroup --with-http_ssl_module --with-http_spdy_module --with-rtsig_module --with-select_module --with-poll_module --with-file-aio  --with-ipv6 --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module --with-pcre-jit


 I've left out --with-mail, --with-mail_ssl_module, --with-google_perftools_module , --with-cpp_test_module , and the rest can be found at ./configure --help




make


sudo make install *make install doesn't work without being root since you are installing into a restricted area of /usr/sbin.


sudo aptitude install php5-fpm *you could compile php5 but it's a bit time consuming


sudo aptitude install vim *my favorite editor, :set nu and :syntax on is useful within vim settings


sudo vim /etc/php5/fpm/pool.d/www.conf


set line 91 or pm.max_children = 5 and change to 2 since we're on 700Mhz cpu and it's a single core therefore having multiple fork of processing at the same doesn't make any sense.


set line 96 or pm.start_servers = 2 and change to 1


set line 106 or pm.max_spare_servers = 3 and change to 1


set line 117 or  ;pm.max_requests = 500 and remove the ; and change 500 to 25


use :wq to complete write and quit vim


sudo service php5-fpm restart


head to http://www.s9y.org/12.html to find the latest version


mkdir /var/www && chown -R www-data:www-data && cd /var/www


wget -c http://prdownloads.sourceforge.net/php-blog/serendipity-1.7.tar.gz?download


tar -C /var/www -zxvf serendipity[tab]


cd serendipity[tab] as needed


Now configure /etc/nginx.conf or sudo vim /etc/nginx/vhost/www.yourdomain.ext.conf


remember to sudo service nginx configtest after making any changes. 


sudo service nginx reload  as oppose to restart to reduce downtime. We hate downtime right?


For future reading: I suggest reading up http://tengine.taobao.org/  which is based on nginx 1.2.9 but contain my dynamic module making commercial site feasible.


Continue reading "Raspberry Pi Web Server with Serendipity"