- Intro
- stabilization policy
- fiscal policy vs monetary policy
- secular long-run growth
- economic aggregates
- aggregate output
- aggregate price level
- investment spending
- current account & financial account
- business cycle
- depression, recession, expansion
- employment
- employment, unemployment
- labor force = employment + unemployment
- discouraged worker
- underemployment
- inflation vs deflation
- concepts of nominal vs real
- consumer price index: CPI
- price stability
- inflation rate
- open economy vs close economy
- trade balance
- capital flows
- CH 24
- national income and product accounts (national accounts)
- consumer spending
- physical capital & financial capital
- government transfer
- social security benefit
- disposable income
- private saving
- financial market
- government borrowing
- government purchase of goods and services
- investment spending
- final goods and services
Monday, December 31, 2012
About Macroeconomics
Sunday, December 30, 2012
On Writing by Stephen King & Something...
Nowadays I read <On Writing> by Stephen King. It's my second time.
I already read it two years ago, but I want to remind his advice about writing. So I skip first part about author's youth memory. I know the first part is so touching. It is not a typical myth of a poor guy's success.
From the second chapter, he explains his thought about good writing. The following quotes are from the second chapter, "Toolbox".
The rules are also valid when we write in Korean (I'm Korean). Maybe they are independent on a particular language. They related to human-thinking process.
I focus on the second rule. Even in Korean, passive sentences is taboo in the literature or composition class at school. Besides teachers instruct not to use "I think that" or "My opinion is that" ( the first expression looks indecisive and the second is useless. )
In the technical writing about science & engineering authors use so many passive sentence because the object they handle is not a human, just things like some components of mechanics or some chemicals.
How about social science or philosophy?
I don't have read any paper of social science. But I remember that there are so many passive sentences in news articles about economy. I guess that all "science" articles include passive sentences.
When writing a academic article such as a paper for conference, author is pressed to describe only dry relation ship between the objects. So they cannot avoid to choose a passive sentence by setting a object as a subject.
I bought a paper book version. I always use paper books because of their size & weight. Their price affect as well.
I already read it two years ago, but I want to remind his advice about writing. So I skip first part about author's youth memory. I know the first part is so touching. It is not a typical myth of a poor guy's success.
Paper book version. it costs only $7.99. |
From the second chapter, he explains his thought about good writing. The following quotes are from the second chapter, "Toolbox".
Remember that the basic rule of vocabulary is use the first word that comes to your mind, if it is appropriate and colorful.
You should avoid the passive tense.
I believe the road to hell is paved with adverbs
The rules are also valid when we write in Korean (I'm Korean). Maybe they are independent on a particular language. They related to human-thinking process.
I focus on the second rule. Even in Korean, passive sentences is taboo in the literature or composition class at school. Besides teachers instruct not to use "I think that" or "My opinion is that" ( the first expression looks indecisive and the second is useless. )
In the technical writing about science & engineering authors use so many passive sentence because the object they handle is not a human, just things like some components of mechanics or some chemicals.
How about social science or philosophy?
I don't have read any paper of social science. But I remember that there are so many passive sentences in news articles about economy. I guess that all "science" articles include passive sentences.
When writing a academic article such as a paper for conference, author is pressed to describe only dry relation ship between the objects. So they cannot avoid to choose a passive sentence by setting a object as a subject.
I bought a paper book version. I always use paper books because of their size & weight. Their price affect as well.
Saturday, December 15, 2012
Sunday, April 22, 2012
Saturday, March 17, 2012
dokuwiki setup
- Reference
- Solution of access from other ip
- vim /etc/apache2/conf.d/dokuwiki.conf
----------------------------------------------------------------------------------
1 AliasMatch ^/dokuwiki/sites/[^/]+$ /usr/share/dokuwiki/
2 AliasMatch ^/dokuwiki/sites/[^/]+/(.*)$ /usr/share/dokuwiki/$1
3 #Alias /dokuwiki /usr/share/dokuwiki/ //<- Read Reference
4 Alias /dokuwiki /usr/share/dokuwiki
5
6 <Directory /usr/share/dokuwiki/>
7 Options +FollowSymLinks
8 AllowOverride All
9 order allow,deny
10 # Allow from localhost 127.0.0.1 ::1
11 Allow from all //<- Solution of access from external ip
12
13 <IfModule mod_rewrite.c>
14
15 # Uncomment to implement server-side URL rewriting
16 # (cf. <http://www.dokuwiki.org/config:userewrite>).
17 # Do *not* mix that with multisite!
18 #RewriteEngine on
19 #RewriteBase /dokuwiki
20 #RewriteRule ^lib - [L]
21 #RewriteRule ^doku.php - [L]
22 #RewriteRule ^feed.php - [L]
23 #RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]
24 #RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]
25 #RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L]
26 #RewriteRule ^$ doku.php [L]
27 #RewriteRule (.*) doku.php?id=$1 [QSA,L]
28 </IfModule>
29 </Directory>
30
31 <Directory /usr/share/dokuwiki/bin>
32 Deny from all
33 </Directory>
34
35 <Directory /var/lib/dokuwiki/data>
36 Deny from all
37 </Directory>
1 AliasMatch ^/dokuwiki/sites/[^/]+$ /usr/share/dokuwiki/
2 AliasMatch ^/dokuwiki/sites/[^/]+/(.*)$ /usr/share/dokuwiki/$1
3 #Alias /dokuwiki /usr/share/dokuwiki/ //<- Read Reference
4 Alias /dokuwiki /usr/share/dokuwiki
5
6 <Directory /usr/share/dokuwiki/>
7 Options +FollowSymLinks
8 AllowOverride All
9 order allow,deny
10 # Allow from localhost 127.0.0.1 ::1
11 Allow from all //<- Solution of access from external ip
12
13 <IfModule mod_rewrite.c>
14
15 # Uncomment to implement server-side URL rewriting
16 # (cf. <http://www.dokuwiki.org/config:userewrite>).
17 # Do *not* mix that with multisite!
18 #RewriteEngine on
19 #RewriteBase /dokuwiki
20 #RewriteRule ^lib - [L]
21 #RewriteRule ^doku.php - [L]
22 #RewriteRule ^feed.php - [L]
23 #RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]
24 #RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]
25 #RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L]
26 #RewriteRule ^$ doku.php [L]
27 #RewriteRule (.*) doku.php?id=$1 [QSA,L]
28 </IfModule>
29 </Directory>
30
31 <Directory /usr/share/dokuwiki/bin>
32 Deny from all
33 </Directory>
34
35 <Directory /var/lib/dokuwiki/data>
36 Deny from all
37 </Directory>
---------------------------------------------------------------------------
- back-up
- restore
----------------------------------------------------
service apache2 restart
//copy data
tar 20120125-dokuwiki-data.tar.gz
cp dokuwiki/* /var/lib/dokuwiki -rdf
chown www-data:www-data /var/lib/dokuwiki -R
rm dokuwiki -rdf
tar 20120125-dokuwiki-etc.tar.gz
cp dokuwiki/* /usr/share/dokuwiki/ -rdf
chown www-data:www-data /usr/share/dokuwiki -R
rm dokuwiki -rdf
tar 20120125-dokuwiki-conf.tar.gz
cp dokuwiki/* /etc/dokuwiki/ -rdf
rm dokuwiki -rdf
----------------------------------------------------
Gitweb Setup
= Gitweb Configuration =
http://blog.phlegx.com/2010/03/07/install-and-setup-gitweb-in-ubuntu-9-10-on-apache/
* Install required packages
sudo apt-get install gitweb
sudo apt-get install cgilib //<- cgi 관련
The following 2 items are not necessary for Ubuntu 12.04
* Link gitweb to apache
sudo mkdir /var/www/gitweb
cd /var/www/gitweb
sudo ln -s /usr/share/gitweb/* .
* Edit /etc/apache2/apache.conf. Add the following
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<directory /var/www/gitweb>
Options Indexes FollowSymlinks ExecCGI
DirectoryIndex /cgi-bin/gitweb.cgi
AllowOverride All
</directory>
* Edit /etc/gitweb.conf
# path to git projects (<project>.git)
#$projectroot = "/var/cache/git"; // <-default setting
$projectroot = "/home/DriverTeam/Repositories"; // <-your git directory
* <font color="#ff0000">!!!!Confirm the repository directories's permission. Check Read/Exec permission for "others account"(gitweb).!!! </font>
* Restart apache
sudo /etc/init.d/apache2 restart
* Visit http://host_addr/gitweb
Sunday, January 29, 2012
2012-01-29 States of the Art : Mobile 3D
* Exynos 4210
http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=844&partnum=Exynos%204210
* mali open source driver
http://limadriver.org/
http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=844&partnum=Exynos%204210
* mali open source driver
http://limadriver.org/
Saturday, January 28, 2012
Install redmine
I referred to the following documents
http://www.redmine.org/projects/redmine/wiki/RedmineInstall ( redmine basic setup & Ruby setup )
http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu ( appache setup using passenger)
http://theeye.pe.kr/entry/how-to-install-redmine-which-good-project-management-system-is-better-than-trac
http://blog.naver.com/budget74?Redirect=Log&logNo=90103735211
0. Install redmine
- sudo apt-get install redmine
- libraries related to Ruby are installed automatically.
-
1. Install Mysql
- Install
sudo apt-get install mysql-server mysql-client
- Setup for redmine
sudo /etc/init.d/mysql restart ( stop for halting mysqld for special command : e.g. mysqld_safe --skip-grant )
- create databases for redmine
sudo a2enmod passenger
2. RubySetting
- Create the database structure, by running the following command under the application root directory ( in my case : /usr/share/redmine/public )
(+) forced database type setting
$ rails --database=mysql
3. Appache
By default, passenger runs as 'nobody', so you'll need to fix that. In /etc/apache2/mods-vailable/passenger.conf, add:
You'll also need to configure the /var/www/redmine location in /etc/apache2/sites-available/default by adding:
- Enable passenger:
Restart apache2
and you should be able to access Redmine at: http://redmine.server.ip.address/redmine
If you receive a "403: Forbidden" error after setting up Redmine, the Redmine 'public' folder may have incorrect permissions set. The executable bit on the public folder must be enabled or you will receive a "403: Forbidden" error when attempting to access Redmine.
4. admin account
id/pw: admin/admin
http://www.redmine.org/projects/redmine/wiki/RedmineInstall ( redmine basic setup & Ruby setup )
http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu ( appache setup using passenger)
http://theeye.pe.kr/entry/how-to-install-redmine-which-good-project-management-system-is-better-than-trac
http://blog.naver.com/budget74?Redirect=Log&logNo=90103735211
0. Install redmine
- sudo apt-get install redmine
- libraries related to Ruby are installed automatically.
-
1. Install Mysql
- Install
sudo apt-get install mysql-server mysql-client
- Setup for redmine
sudo /etc/init.d/mysql restart ( stop for halting mysqld for special command : e.g. mysqld_safe --skip-grant )
- create databases for redmine
$mysql -u root -p
mysql> //type the following sql command
create database redmine character set utf8;
create user 'redmine'@'localhost' identified by 'my_password';
grant all privileges on redmine.* to 'redmine'@'localhost';
--------------------------------------------------------------------------------------
$sudo /etc/init.d/mysqld stop
$ mysqld_safe --skip-grant
$ mysql //use the another terminal
mysql> use mysql;
mysql> update user set password=password('') where user = 'root'; mysql> flush privileges;
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
tmax@control-machine:/var/www/redmine$ mysql -u redmine -p
Enter password: //type password
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 46
Server version: 5.1.41-3ubuntu12.10 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| redmine |
+--------------------+
2 rows in set (0.00 sec)
mysql>
--------------------------------------------------------------------------------------
sudo a2enmod passenger
2. RubySetting
- Create the database structure, by running the following command under the application root directory ( in my case : /usr/share/redmine/public )
$rake generate_session_store
$sudo RAILS_ENV=production rake db:migrate
$ sudo RAILS_ENV=production rake redmine:load_default_data
(+) forced database type setting
$ rails
3. Appache
$ sudo apt-get install libapache2-mod-passenge
$ sudo ln -s /usr/share/redmine/public /var/www/redmine //link redmine into www
By default, passenger runs as 'nobody', so you'll need to fix that. In /etc/apache2/mods-vailable/passenger.conf, add:
----------------------------------------------------------------
PassengerDefaultUser www-data
----------------------------------------------------------------
[In my case]
----------------------------------------------------------------
1 <ifmodule mod_passenger.c="">
2 PassengerRoot /usr
3 PassengerRuby /usr/bin/ruby
4 PassengerDefaultUser www-data
5 </ifmodule>
----------------------------------------------------------------
You'll also need to configure the /var/www/redmine location in /etc/apache2/sites-available/default by adding:
----------------------------------------------------------------
<Directory /var/www/redmine>
RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on
</Directory>
----------------------------------------------------------------
In my case
----------------------------------------------------------------
....
32 Alias /doc/ "/usr/share/doc/"
33
34 Options Indexes MultiViews FollowSymLinks
35 AllowOverride None
36 Order deny,allow
37 Deny from all
38 Allow from 127.0.0.0/255.0.0.0 ::1/128
39
40</Directory> <Directory /var/www/redmine>
41 RailsBaseURI /redmine
42 PassengerResolveSymlinksInDocumentRoot on
43
44
----------------------------------------------------------------
- Enable passenger:
$ sudo a2enmod passenger
Restart apache2
$ sudo /etc/init.d/apache2 restart
and you should be able to access Redmine at: http://redmine.server.ip.address/redmine
If you receive a "403: Forbidden" error after setting up Redmine, the Redmine 'public' folder may have incorrect permissions set. The executable bit on the public folder must be enabled or you will receive a "403: Forbidden" error when attempting to access Redmine.
$ sudo chmod a+x /usr/share/redmine/public
4. admin account
id/pw: admin/admin
Subscribe to:
Posts (Atom)