Apply new theme.

This commit is contained in:
Kazuhiro MUSASHI 2021-11-13 12:11:49 +09:00
parent 2f71f13ce7
commit abeb8c9894
434 changed files with 1700 additions and 3922 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@ public
*.swp
static/ogp/*.webp
assets/font/*.ttf
.hugo_build.lock
resources

View File

@ -1,34 +1,263 @@
baseURL = "https://blog.kazu634.com/"
title = "His greatness lies in his sense of responsibility"
DefaultContentLanguage = "ja"
languageCode = "ja"
theme = "angels-ladder"
HasCJKLanguage = true
# [en, zh-cn, fr, ...] determines default content language
defaultContentLanguage = "en"
# language code
languageCode = "jp"
title = "His greatness lies in his sense of responsibilities."
# Change the default theme to be use when building the site with Hugo
theme = "LoveIt"
# Author config
[author]
name = "kazu634"
email = "simoom634@yahoo.co.jp"
link = ""
[params]
subtitle = "named after the quotation from Wind, Sand, and Stars by Saint Exupery."
facebook = "https://www.facebook.com/kazu634"
twitter = "https://twitter.com/MusashiKazuhiro"
github = "https://github.com/kazu634"
profile = "/images/profile.png"
analytics = "UA-57665492-1"
copyright = "Written by Kazuhiro MUSASHI"
author = "kazu634"
# LoveIt theme version
version = "0.2.X"
# site description
description = "@kazu634のブログです"
# site keywords
keywords = ["Blog", "Hugo", "Tech"]
# site default theme ("light", "dark", "auto")
defaultTheme = "auto"
# LoveIt NEW | 0.2.0 date format
dateFormat = "2006-01-02"
description = "the blog written by @MusashiKazuhiro"
title = "His greatness lies in his sense of responsibility"
images = ["/images/profile.png"]
[params.page.seo]
# image URL
images = []
# Publisher info
[params.page.seo.publisher]
name = "kazu634"
logoUrl = ""
[taxonomies]
category = "categories"
series = "series"
tag = "tags"
# Header config
[params.header]
# desktop header mode ("fixed", "normal", "auto")
desktopMode = "fixed"
# mobile header mode ("fixed", "normal", "auto")
mobileMode = "auto"
# LoveIt NEW | 0.2.0 Header title config
[params.header.title]
# title name
name = "His greatness lies in his sense of responsibilities"
# you can add extra information before the name (HTML format is supported), such as icons
pre = ""
# you can add extra information after the name (HTML format is supported), such as icons
post = ""
# LoveIt NEW | 0.2.5 whether to use typeit animation for title name
typeit = false
[params.footer]
enable = true
# LoveIt NEW | 0.2.0 Custom content (HTML format is supported)
custom = ''
# LoveIt NEW | 0.2.0 whether to show Hugo and theme info
hugo = true
# LoveIt NEW | 0.2.0 whether to show copyright info
copyright = true
# LoveIt NEW | 0.2.0 whether to show the author
author = true
# Site creation time
since = 2005
# LoveIt NEW | 0.2.0 Section (all posts) page config
[params.section]
# special amount of posts in each section page
paginate = 15
# date format (month and day)
dateFormat = "01-02"
# amount of RSS pages
rss = 10
# LoveIt NEW | 0.2.0 List (category or tag) page config
[params.list]
# special amount of posts in each list page
paginate = 15
# date format (month and day)
dateFormat = "01-02"
# amount of RSS pages
rss = 10
# Home page config
[params.home]
# LoveIt NEW | 0.2.0 amount of RSS pages
rss = 10
# Home page profile
[params.home.profile]
enable = true
# URL of avatar shown in home page
avatarURL = "/images/profile.png"
# LoveIt CHANGED | 0.2.7 title shown in home page (HTML format is supported)
title = "Kazuhiro MUSASHI"
# subtitle shown in home page
subtitle = "ITエンジニアです。本当は手を動かしたいけど、いまはプレセールスやっています。"
# whether to use typeit animation for subtitle
typeit = true
# whether to show social links
social = true
# LoveIt NEW | 0.2.0 disclaimer (HTML format is supported)
disclaimer = "Opinions are my own."
# Home page posts
[params.home.posts]
enable = true
# special amount of posts in each home posts page
paginate = 5
# LoveIt DELETED | 0.2.0 replaced with hiddenFromHomePage in params.page
# default behavior when you don't set "hiddenFromHomePage" in front matter
defaultHiddenFromHomePage = false
# Social config about the author
[params.social]
Gitea = "https://gitea.kazu634.com/kazu634"
Twitter = "MusashiKazuhiro"
Facebook = "kazu634"
Linkedin = "一弘-武蔵-b90bba54"
Flickr = "42332031@N02"
RSS = true # LoveIt NEW | 0.2.0
# LoveIt CHANGED | 0.2.0 Page config
[params.page]
# LoveIt NEW | 0.2.0 whether to hide a page from home page
hiddenFromHomePage = false
# LoveIt NEW | 0.2.0 whether to hide a page from search results
hiddenFromSearch = false
# LoveIt NEW | 0.2.0 whether to enable twemoji
twemoji = true
# whether to enable lightgallery
lightgallery = true
# LoveIt NEW | 0.2.0 whether to enable the ruby extended syntax
ruby = true
# LoveIt NEW | 0.2.0 whether to enable the fraction extended syntax
fraction = true
# LoveIt NEW | 0.2.0 whether to enable the fontawesome extended syntax
fontawesome = true
# whether to show link to Raw Markdown content of the content
linkToMarkdown = true
# LoveIt NEW | 0.2.4 whether to show the full text content in RSS
rssFullText = false
# LoveIt NEW | 0.2.0 Table of the contents config
[params.page.toc]
# whether to enable the table of the contents
enable = true
# LoveIt NEW | 0.2.9 whether to keep the static table of the contents in front of the post
keepStatic = false
# whether to make the table of the contents in the sidebar automatically collapsed
auto = true
# LoveIt CHANGED | 0.2.0 KaTeX mathematical formulas
[params.page.math]
enable = true
# default block delimiter is $$ ... $$ and \\[ ... \\]
blockLeftDelimiter = ""
blockRightDelimiter = ""
# default inline delimiter is $ ... $ and \\( ... \\)
inlineLeftDelimiter = ""
inlineRightDelimiter = ""
# KaTeX extension copy_tex
copyTex = true
# KaTeX extension mhchem
mhchem = true
# LoveIt NEW | 0.2.0 Code config
[params.page.code]
# whether to show the copy button of the code block
copy = true
# the maximum number of lines of displayed code by default
maxShownLines = 10
# LoveIt NEW | 0.2.0 Mapbox GL JS config
[params.page.mapbox]
# access token of Mapbox GL JS
accessToken = ""
# style for the light theme
lightStyle = "mapbox://styles/mapbox/light-v9"
# style for the dark theme
darkStyle = "mapbox://styles/mapbox/dark-v9"
# whether to add NavigationControl
navigation = true
# whether to add GeolocateControl
geolocate = true
# whether to add ScaleControl
scale = true
# whether to add FullscreenControl
fullscreen = true
# LoveIt CHANGED | 0.2.0 social share links in post page
[params.page.share]
enable = true
Twitter = true
Facebook = true
Line = true
Pocket = true
# LoveIt NEW | 0.2.0 Analytics config
[params.analytics]
enable = true
# Google Analytics
[params.analytics.google]
id = "UA-57665492-1"
# whether to anonymize IP
anonymizeIP = true
[menu]
[[menu.main]]
identifier = "posts"
# you can add extra information before the name (HTML format is supported), such as icons
pre = ""
# you can add extra information after the name (HTML format is supported), such as icons
post = ""
name = "Posts"
url = "/posts/"
# title will be shown when you hover on this menu link
title = ""
weight = 1
[[menu.main]]
identifier = "tags"
pre = ""
post = ""
name = "Tags"
url = "/tags/"
title = ""
weight = 2
[[menu.main]]
identifier = "categories"
pre = ""
post = ""
name = "Categories"
url = "/categories/"
title = ""
weight = 3
[markup]
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
[markup.highlight]
codeFences = true
guessSyntax = true
style = "monokai"
lineNos = true
lineNumbersInTable = true
# false is a necessary configuration (https://github.com/dillonzq/LoveIt/issues/158)
noClasses = false
# Goldmark is from Hugo 0.60 the default library used for Markdown
[markup.goldmark]
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = true
[markup.goldmark.renderer]
unsafe= true
# whether to use HTML tags directly in the document
unsafe = true
# Table Of Contents settings
[markup.tableOfContents]
startLevel = 2
endLevel = 6

View File

@ -22,13 +22,8 @@ HasCJKLanguage = true
category = "categories"
series = "series"
tag = "tags"
[markup]
[markup.highlight]
codeFences = true
guessSyntax = true
style = "monokai"
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe= true

View File

@ -1,9 +0,0 @@
---
title: Labs Page
date: 2019-04-08T15:04:05Z
publishdate: 2019-04-08T15:04:05Z
---
まとまった分量の技術的な文章を置くために設置してみました。主に`Javascript`や`CSS`を使った実験ができればいいなと思っています

View File

@ -1,399 +0,0 @@
---
title: Ubuntu インストールの自動化
author: kazu634
date: 2011-01-02T15:04:05Z
author:
- kazu634
categories:
- Labs
- Linux
tags:
- ubuntu
- preseed
---
<div class="section">
<p>
<a href="http://d.hatena.ne.jp/asin/B004EBH770" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://d.hatena.ne.jp/asin/B004EBH770', 'Software Design');">Software Design</a> で紹介されていたOS構築自動化を試してみました。なお、 <a href="http://d.hatena.ne.jp/asin/B004EBH770" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://d.hatena.ne.jp/asin/B004EBH770', 'Software Design');">Software Design</a> では、 Red Hat Linux の Kickstart の紹介がメインでしたが、ここでは Ubuntu (というかDebian 系)の Preseed の使い方を眺めてみます。ちなみに対象は Ubuntu Server 10.04 です。
</p>
<h4>
OS 構築の自動化
</h4>
<p>
Ubuntu をインストールする際は、言語・キーボードの設定、ネットワークの設定、パーティーションの設定、インストールするパッケージの設定などを行います。
</p>
<p>
<center>
</center>
</p>
<p>
<a href="http://f.hatena.ne.jp/sirocco634/20110102195155" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://f.hatena.ne.jp/sirocco634/20110102195155', '');" class="hatena-fotolife" target="_blank"><img src="http://cdn-ak.f.st-hatena.com/images/fotolife/s/sirocco634/20110102/20110102195155.png" alt="f:id:sirocco634:20110102195155p:image" title="f:id:sirocco634:20110102195155p:image" class="hatena-fotolife" /></a>
</p></p>
<p>
それに対して Preseed を用いた場合、各種設定ファイルを事前に準備することで、対話的な応答を自動応答で済ませることができます。
</p>
<p>
<center>
</center>
</p>
<p>
<a href="http://f.hatena.ne.jp/sirocco634/20110102195156" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://f.hatena.ne.jp/sirocco634/20110102195156', '');" class="hatena-fotolife" target="_blank"><img src="http://cdn-ak.f.st-hatena.com/images/fotolife/s/sirocco634/20110102/20110102195156.png" alt="f:id:sirocco634:20110102195156p:image" title="f:id:sirocco634:20110102195156p:image" class="hatena-fotolife" /></a>
</p></p>
<p>
さらにインストール終了後に、任意のスクリプトを実行することができます。これを行うことで、設定ファイルを書き換えることも可能♪
</p>
<h4>
設定ファイル
</h4>
<p>
設定ファイルは以下のようになります。ちなみに以下の設定ファイルは
</p>
<ul>
<li>
タイムゾーンは「Asia/Tokyo」
</li>
<li>
NTP の設定を行う
</li>
<li>
パーティションは「LVM」で、ガイドに任せて出来る限り LVM として使用する
</li>
<li>
作成するユーザーは「kazu634」、パスワードは「simoom634」
</li>
<li>
SSHサーバを導入する
</li>
<li>
Git, SQLite3 を導入する
</li>
</ul>
<pre class="syntax-highlight">
<span class="synComment">#### Contents of the preconfiguration file (for )</span>
<span class="synComment">### Mirror settings</span>
<span class="synComment"># If you select ftp, the mirror/country string does not need to be set.</span>
<span class="synComment">#d-i mirror/protocol string ftp</span>
d-i mirror/country string manual
d-i mirror/http/hostname string jp.archive.ubuntu.com
d-i mirror/http/directory string /ubuntu/
d-i mirror/http/proxy string
<span class="synComment"># Alternatively: by default, the installer uses CC.archive.ubuntu.com where</span>
<span class="synComment"># CC is the ISO-3166-2 code for the selected country. You can preseed this</span>
<span class="synComment"># so that it does so without asking.</span>
<span class="synComment">#d-i mirror/http/mirror select CC.archive.ubuntu.com</span>
<span class="synComment"># Suite to install.</span>
<span class="synComment">#d-i mirror/suite string </span>
<span class="synComment"># Suite to use for loading installer components (optional).</span>
<span class="synComment">#d-i mirror/udeb/suite string </span>
<span class="synComment"># Components to use for loading installer components (optional).</span>
<span class="synComment">#d-i mirror/udeb/components multiselect main, restricted</span>
<span class="synComment">### Clock and time zone setup</span>
<span class="synComment"># Controls whether or not the hardware clock is set to UTC.</span>
d-i clock-setup/utc boolean true
<span class="synComment"># You may set this to any valid setting for $TZ; see the contents of</span>
<span class="synComment"># /usr/share/zoneinfo/ for valid values.</span>
d-i time/zone string Asia/Tokyo
<span class="synComment"># Controls whether to use NTP to set the clock during the install</span>
d-i clock-setup/ntp boolean true
<span class="synComment"># NTP server to use. The default is almost always fine here.</span>
d-i clock-setup/ntp-server string ntp.ubuntu.com
<span class="synComment">### Partitioning</span>
<span class="synComment"># If the system has free space you can choose to only partition that space.</span>
<span class="synComment"># Alternatives: custom, some_device, some_device_crypto, some_device_lvm.</span>
<span class="synComment">#d-i partman-auto/init_automatically_partition select biggest_free</span>
<span class="synComment"># Alternatively, you can specify a disk to partition. The device name must</span>
<span class="synComment"># be given in traditional non-devfs format.</span>
<span class="synComment"># Note: A disk must be specified, unless the system has only one disk.</span>
<span class="synComment"># For example, to use the first SCSI/SATA hard disk:</span>
d-i partman-auto/disk string /dev/sda
<span class="synComment"># In addition, you'll need to specify the method to use.</span>
<span class="synComment"># The presently available methods are: &#34;regular&#34;, &#34;lvm&#34; and &#34;crypto&#34;</span>
d-i partman-auto/method string lvm
<span class="synComment"># If one of the disks that are going to be automatically partitioned</span>
<span class="synComment"># contains an old LVM configuration, the user will normally receive a</span>
<span class="synComment"># warning. This can be preseeded away...</span>
d-i partman-lvm/device_remove_lvm boolean true
<span class="synComment"># The same applies to pre-existing software RAID array:</span>
d-i partman-md/device_remove_md boolean true
<span class="synComment"># And the same goes for the confirmation to write the lvm partitions.</span>
d-i partman-lvm/confirm boolean true
<span class="synComment"># For LVM partitioning, you can select how much of the volume group to use</span>
<span class="synComment"># for logical volumes.</span>
d-i partman-auto-lvm/guided_size string max
<span class="synComment">#d-i partman-auto-lvm/guided_size string 10GB</span>
<span class="synComment">#d-i partman-auto-lvm/guided_size string 50%</span>
<span class="synComment"># You can choose one of the three predefined partitioning recipes:</span>
<span class="synComment"># - atomic: all files in one partition</span>
<span class="synComment"># - home: separate /home partition</span>
<span class="synComment"># - multi: separate /home, /usr, /var, and /tmp partitions</span>
d-i partman-auto/choose_recipe select atomic
<span class="synComment"># Or provide a recipe of your own...</span>
<span class="synComment"># The recipe format is documented in the file devel/partman-auto-recipe.txt.</span>
<span class="synComment"># If you have a way to get a recipe file into the d-i environment, you can</span>
<span class="synComment"># just point at it.</span>
<span class="synComment">#d-i partman-auto/expert_recipe_file string /hd-media/recipe</span>
<span class="synComment"># If not, you can put an entire recipe into the preconfiguration file in one</span>
<span class="synComment"># (logical) line. This example creates a small /boot partition, suitable</span>
<span class="synComment"># swap, and uses the rest of the space for the root partition:</span>
<span class="synComment">#d-i partman-auto/expert_recipe string \</span>
<span class="synComment"># boot-root :: \</span>
<span class="synComment"># 40 50 100 ext3 \</span>
<span class="synComment"># $primary{ } $bootable{ } \</span>
<span class="synComment"># method{ format } format{ } \</span>
<span class="synComment"># use_filesystem{ } filesystem{ ext3 } \</span>
<span class="synComment"># mountpoint{ /boot } \</span>
<span class="synComment"># . \</span>
<span class="synComment"># 500 10000 1000000000 ext3 \</span>
<span class="synComment"># method{ format } format{ } \</span>
<span class="synComment"># use_filesystem{ } filesystem{ ext3 } \</span>
<span class="synComment"># mountpoint{ / } \</span>
<span class="synComment"># . \</span>
<span class="synComment"># 64 512 300% linux-swap \</span>
<span class="synComment"># method{ swap } format{ } \</span>
<span class="synComment"># .</span>
<span class="synComment"># If you just want to change the default filesystem from ext3 to something</span>
<span class="synComment"># else, you can do that without providing a full recipe.</span>
<span class="synComment">#d-i partman/default_filesystem string ext4</span>
<span class="synComment"># This makes partman automatically partition without confirmation, provided</span>
<span class="synComment"># that you told it what to do using one of the methods above.</span>
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
<span class="synComment">### Controlling how partitions are mounted</span>
<span class="synComment"># The default is to mount by UUID, but you can also choose &#34;traditional&#34; to</span>
<span class="synComment"># use traditional device names, or &#34;label&#34; to try filesystem labels before</span>
<span class="synComment"># falling back to UUIDs.</span>
<span class="synComment">#d-i partman/mount_style select uuid</span>
<span class="synComment">### Base system installation</span>
<span class="synComment"># The kernel image (meta) package to be installed; &#34;none&#34; can be used if no</span>
<span class="synComment"># kernel is to be installed.</span>
d-i base-installer/kernel/image string linux-server
<span class="synComment">### Account setup</span>
<span class="synComment"># Skip creation of a root account (normal user account will be able to</span>
<span class="synComment"># use sudo). The default is false; preseed this to true if you want to set</span>
<span class="synComment"># a root password.</span>
<span class="synComment">#d-i passwd/root-login boolean false</span>
<span class="synComment"># Alternatively, to skip creation of a normal user account.</span>
<span class="synComment">#d-i passwd/make-user boolean false</span>
<span class="synComment"># Root password, either in clear text</span>
<span class="synComment">#d-i passwd/root-password password r00tme</span>
<span class="synComment">#d-i passwd/root-password-again password r00tme</span>
<span class="synComment"># or encrypted using an MD5 hash.</span>
<span class="synComment">#d-i passwd/root-password-crypted password [MD5 hash]</span>
<span class="synComment"># To create a normal user account.</span>
d-i passwd/user-fullname string Kazuhiro MUSASHI
d-i passwd/username string kazu634
<span class="synComment"># Normal user's password, either in clear text</span>
d-i passwd/user-password password simoom634
d-i passwd/user-password-again password simoom634
<span class="synComment"># or encrypted using an MD5 hash.</span>
<span class="synComment">#d-i passwd/user-password-crypted password [MD5 hash]</span>
<span class="synComment"># Create the first user with the specified UID instead of the default.</span>
<span class="synComment">#d-i passwd/user-uid string 1010</span>
<span class="synComment"># The installer will warn about weak passwords. If you are sure you know</span>
<span class="synComment"># what you're doing and want to override it, uncomment this.</span>
d-i user-setup/allow-password-weak boolean true
<span class="synComment"># The user account will be added to some standard initial groups. To</span>
<span class="synComment"># override that, use this.</span>
<span class="synComment">#d-i passwd/user-default-groups string audio cdrom video</span>
<span class="synComment"># Set to true if you want to encrypt the first user's home directory.</span>
d-i user-setup/encrypt-home boolean false
<span class="synComment">### Apt setup</span>
<span class="synComment"># You can choose to install restricted and universe software, or to install</span>
<span class="synComment"># software from the backports repository.</span>
<span class="synComment">#d-i apt-setup/restricted boolean true</span>
<span class="synComment">#d-i apt-setup/universe boolean true</span>
<span class="synComment">#d-i apt-setup/backports boolean true</span>
<span class="synComment"># Uncomment this if you don't want to use a network mirror.</span>
<span class="synComment">#d-i apt-setup/use_mirror boolean false</span>
<span class="synComment"># Select which update services to use; define the mirrors to be used.</span>
<span class="synComment"># Values shown below are the normal defaults.</span>
<span class="synComment">#d-i apt-setup/services-select multiselect security</span>
<span class="synComment">#d-i apt-setup/security_host string security.ubuntu.com</span>
<span class="synComment">#d-i apt-setup/security_path string /ubuntu</span>
<span class="synComment"># Additional repositories, local[0-9] available</span>
<span class="synComment">#d-i apt-setup/local0/repository string \</span>
<span class="synComment"># http://local.server/ubuntu main</span>
<span class="synComment">#d-i apt-setup/local0/comment string local server</span>
<span class="synComment"># Enable deb-src lines</span>
<span class="synComment">#d-i apt-setup/local0/source boolean true</span>
<span class="synComment"># URL to the public key of the local repository; you must provide a key or</span>
<span class="synComment"># apt will complain about the unauthenticated repository and so the</span>
<span class="synComment"># sources.list line will be left commented out</span>
<span class="synComment">#d-i apt-setup/local0/key string http://local.server/key</span>
<span class="synComment"># By default the installer requires that repositories be authenticated</span>
<span class="synComment"># using a known gpg key. This setting can be used to disable that</span>
<span class="synComment"># authentication. Warning: Insecure, not recommended.</span>
<span class="synComment">#d-i debian-installer/allow_unauthenticated string true</span>
<span class="synComment">### Package selection</span>
tasksel tasksel/first multiselect standard, OpenSSH server
<span class="synComment">#tasksel tasksel/first multiselect lamp-server, print-server</span>
<span class="synComment">#tasksel tasksel/first multiselect kubuntu-desktop</span>
<span class="synComment"># Individual additional packages to install</span>
d-i pkgsel/include string build-essential, git-core, unzip, pkg-config, sqlite3, libsqlite3-dev
<span class="synComment"># Whether to upgrade packages after debootstrap.</span>
<span class="synComment"># Allowed values: none, safe-upgrade, full-upgrade</span>
d-i pkgsel/upgrade select safe-upgrade
<span class="synComment"># Language pack selection</span>
d-i pkgsel/language-packs multiselect
<span class="synComment"># Policy for applying updates. May be &#34;none&#34; (no automatic updates),</span>
<span class="synComment"># &#34;unattended-upgrades&#34; (install security updates automatically), or</span>
<span class="synComment"># &#34;landscape&#34; (manage system with Landscape).</span>
d-i pkgsel/update-policy select none
<span class="synComment"># Some versions of the installer can report back on what software you have</span>
<span class="synComment"># installed, and what software you use. The default is not to report back,</span>
<span class="synComment"># but sending reports helps the project determine what software is most</span>
<span class="synComment"># popular and include it on CDs.</span>
<span class="synComment">#popularity-contest popularity-contest/participate boolean false</span>
<span class="synComment"># By default, the system's locate database will be updated after the</span>
<span class="synComment"># installer has finished installing most packages. This may take a while, so</span>
<span class="synComment"># if you don't want it, you can set this to &#34;false&#34; to turn it off.</span>
d-i pkgsel/updatedb boolean false
<span class="synComment">### Boot loader installation</span>
<span class="synComment"># Grub is the default boot loader (for x86). If you want lilo installed</span>
<span class="synComment"># instead, uncomment this:</span>
<span class="synComment">#d-i grub-installer/skip boolean true</span>
<span class="synComment"># To also skip installing lilo, and install no bootloader, uncomment this</span>
<span class="synComment"># too:</span>
<span class="synComment">#d-i lilo-installer/skip boolean true</span>
<span class="synComment"># This is fairly safe to set, it makes grub install automatically to the MBR</span>
<span class="synComment"># if no other operating system is detected on the machine.</span>
d-i grub-installer/only_debian boolean true
<span class="synComment"># This one makes grub-installer install to the MBR if it also finds some other</span>
<span class="synComment"># OS, which is less safe as it might not be able to boot that other OS.</span>
d-i grub-installer/with_other_os boolean true
<span class="synComment"># Alternatively, if you want to install to a location other than the mbr,</span>
<span class="synComment"># uncomment and edit these lines:</span>
<span class="synComment">#d-i grub-installer/only_debian boolean false</span>
<span class="synComment">#d-i grub-installer/with_other_os boolean false</span>
<span class="synComment">#d-i grub-installer/bootdev string (hd0,0)</span>
<span class="synComment"># To install grub to multiple disks:</span>
<span class="synComment">#d-i grub-installer/bootdev string (hd0,0) (hd1,0) (hd2,0)</span>
<span class="synComment"># Optional password for grub, either in clear text</span>
<span class="synComment">#d-i grub-installer/password password r00tme</span>
<span class="synComment">#d-i grub-installer/password-again password r00tme</span>
<span class="synComment"># or encrypted using an MD5 hash, see grub-md5-crypt(8).</span>
<span class="synComment">#d-i grub-installer/password-crypted password [MD5 hash]</span>
<span class="synComment">### Finishing up the installation</span>
<span class="synComment"># During installations from serial console, the regular virtual consoles</span>
<span class="synComment"># (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next</span>
<span class="synComment"># line to prevent this.</span>
<span class="synComment">#d-i finish-install/keep-consoles boolean true</span>
<span class="synComment"># Avoid that last message about the install being complete.</span>
d-i finish-install/reboot_in_progress note
<span class="synComment"># This will prevent the installer from ejecting the CD during the reboot,</span>
<span class="synComment"># which is useful in some situations.</span>
<span class="synComment">#d-i cdrom-detect/eject boolean false</span>
<span class="synComment"># This is how to make the installer shutdown when finished, but not</span>
<span class="synComment"># reboot into the installed system.</span>
<span class="synComment">#d-i debian-installer/exit/halt boolean true</span>
<span class="synComment"># This will power off the machine instead of just halting it.</span>
<span class="synComment">#d-i debian-installer/exit/poweroff boolean true</span>
<span class="synComment">### X configuration</span>
<span class="synComment"># X can detect the right driver for some cards, but if you're preseeding,</span>
<span class="synComment"># you override whatever it chooses. Still, vesa will work most places.</span>
<span class="synComment">#xserver-xorg xserver-xorg/config/device/driver select vesa</span>
<span class="synComment"># A caveat with mouse autodetection is that if it fails, X will retry it</span>
<span class="synComment"># over and over. So if it's preseeded to be done, there is a possibility of</span>
<span class="synComment"># an infinite loop if the mouse is not autodetected.</span>
<span class="synComment">#xserver-xorg xserver-xorg/autodetect_mouse boolean true</span>
<span class="synComment"># Monitor autodetection is recommended.</span>
<span class="synComment"># xserver-xorg xserver-xorg/autodetect_monitor boolean true</span>
<span class="synComment"># Uncomment if you have an LCD display.</span>
<span class="synComment">#xserver-xorg xserver-xorg/config/monitor/lcd boolean true</span>
<span class="synComment"># X has three configuration paths for the monitor. Here's how to preseed</span>
<span class="synComment"># the &#34;medium&#34; path, which is always available. The &#34;simple&#34; path may not</span>
<span class="synComment"># be available, and the &#34;advanced&#34; path asks too many questions.</span>
<span class="synComment"># xserver-xorg xserver-xorg/config/monitor/selection-method \</span>
<span class="synComment"># select medium</span>
<span class="synComment"># xserver-xorg xserver-xorg/config/monitor/mode-list \</span>
<span class="synComment"># select 1024x768 @ 60 Hz</span>
<span class="synComment">### Preseeding other packages</span>
<span class="synComment"># Depending on what software you choose to install, or if things go wrong</span>
<span class="synComment"># during the installation process, it's possible that other questions may</span>
<span class="synComment"># be asked. You can preseed those too, of course. To get a list of every</span>
<span class="synComment"># possible question that could be asked during an install, do an</span>
<span class="synComment"># installation, and then run these commands:</span>
<span class="synComment"># debconf-get-selections --installer &#62; file</span>
<span class="synComment"># debconf-get-selections &#62;&#62; file</span>
<span class="synComment">#### Advanced options</span>
<span class="synComment">### Running custom commands during the installation</span>
<span class="synComment"># d-i preseeding is inherently not secure. Nothing in the installer checks</span>
<span class="synComment"># for attempts at buffer overflows or other exploits of the values of a</span>
<span class="synComment"># preconfiguration file like this one. Only use preconfiguration files from</span>
<span class="synComment"># trusted locations! To drive that home, and because it's generally useful,</span>
<span class="synComment"># here's a way to run any shell command you'd like inside the installer,</span>
<span class="synComment"># automatically.</span>
<span class="synComment"># This first command is run as early as possible, just after</span>
<span class="synComment"># preseeding is read.</span>
<span class="synComment">#d-i preseed/early_command string anna-install some-udeb</span>
<span class="synComment"># This command is run immediately before the partitioner starts. It may be</span>
<span class="synComment"># useful to apply dynamic partitioner preseeding that depends on the state</span>
<span class="synComment"># of the disks (which may not be visible when preseed/early_command runs).</span>
<span class="synComment">#d-i partman/early_command string debconf-set partman-auto/disk &#34;$(list-devices disk | head -n1)&#34;</span>
<span class="synComment"># This command is run just before the install finishes, but when there is</span>
<span class="synComment"># still a usable /target directory. You can chroot to /target and use it</span>
<span class="synComment"># directly, or use the apt-install and in-target commands to easily install</span>
<span class="synComment"># packages and run commands in the target system.</span>
d-i preseed/late_command string wget http://www3232u.sakura.ne.jp/preseed/preseed.sh -O /target/tmp/preseed.sh; in-target chmod +x /tmp/preseed.sh; in-target /tmp/preseed.sh
</pre>
<h4>
インストーラーに設定ファイルを指定する
</h4>
<p>
下の画面で F6 キーを押して、
</p>
<p>
<center>
</center>
</p>
<p>
<a href="http://f.hatena.ne.jp/sirocco634/20110102175435" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://f.hatena.ne.jp/sirocco634/20110102175435', '');" class="hatena-fotolife" target="_blank"><img src="http://cdn-ak.f.st-hatena.com/images/fotolife/s/sirocco634/20110102/20110102175435.jpg" alt="f:id:sirocco634:20110102175435j:image" title="f:id:sirocco634:20110102175435j:image" class="hatena-fotolife" /></a>
</p></p>
<blockquote>
<p>
FILE=&#8230;
</p>
</blockquote>
<p>
の部分を
</p>
<blockquote>
<p>
url=http://設定ファイルの在り処
</p>
</blockquote>
<p>
に書き換えます。例えば:
</p>
<p>
<center>
</center>
</p>
<p>
<a href="http://f.hatena.ne.jp/sirocco634/20110102175434" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://f.hatena.ne.jp/sirocco634/20110102175434', '');" class="hatena-fotolife" target="_blank"><img src="http://cdn-ak.f.st-hatena.com/images/fotolife/s/sirocco634/20110102/20110102175434.jpg" alt="f:id:sirocco634:20110102175434j:image" title="f:id:sirocco634:20110102175434j:image" class="hatena-fotolife" /></a>
</p></p>
</div>

View File

@ -1,21 +0,0 @@
---
title: 『容疑者 室井慎次』
author: kazu634
date: 2005-09-22T15:04:05Z
author:
- kazu634
categories:
- Misc
tags:
- movie
---
<div class="section">
<p>
 読んでいる人の価値観を相対化するのが小説の条件と保坂和志は考えている、と下のエントリーで書いた。そのように書いているうちに、最近観た<a href="http://www.odoru-legend.com/suspect/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.odoru-legend.com/suspect/', '『容疑者 室井慎次』');" target="_blank">『容疑者 室井慎次』</a>でも見ている人の価値観を相対化するような描写が行われていたことに気づいた。
</p></p>
<p>
 『踊る~』シリーズでは、わくさんと青島刑事といった世代間の交流や、男性と女性といった異なる立場にある人々がどのように感じているのかということを扱った作品であるとも捉えることができる。今回の『室井慎次』でも、田中麗奈演じる新米弁護士と室井さんという世代も性別も異なる二人の価値観というものが同時に提示されていた。<a href="http://www.odoru-legend.com/suspect/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.odoru-legend.com/suspect/', '「室井さんの過去」');" target="_blank">「室井さんの過去」</a>(注意:まだ映画を観ていない人は見ない方がいいです!)の捉え方も、二人の間では異なっていた。同じ事態を目の前にしていても捉え方は異なる、という当たり前のことが当たり前のように提示されているというのは注目すべきことなのではないだろうか。エンターテイメント作品だ何だと言われているけれど、「様々な価値観がこの世の中にはあり、世界は複雑なのだ」ということを多くの人に提示しているということだけを見ても、『踊る~』シリーズはもっと評価されてしかるべきではないだろうか。
</p>
</div>

View File

@ -1,117 +0,0 @@
---
title: 単騎、千里を走る
author: kazu634
date: 2006-02-07T15:04:05Z
author:
- kazu634
categories:
- Misc
tags:
- movie
---
<div class="section">
<p>
<a href="http://www.tanki-senri.com/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.tanki-senri.com/', '');" target="_blank"><img class="pict" src="https://images-na.ssl-images-amazon.com/images/I/51ZGX3XT0EL.jpg" alt="tanki_senri" width="160" height="177" align="left" border="0" /></a>
</p>
<p>
もう二日ぐらい前になりますが、<a href="http://www.tanki-senri.com/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.tanki-senri.com/', '『単騎、千里を走る。』');" target="blank">『単騎、千里を走る。』</a>を観てきました。高倉健主演・<a href="http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6', 'チャン・イーモウ');" target="blank">チャン・イーモウ</a>監督作品です。いや、とてもよかったです。
</p>
<p>
<small>続きはネタバレ含みそうなので、↓をクリック♪</small>
</p>
<p>
&nbsp;
</p>
<p>
高倉健演じる主人公が、死に瀕した息子の代わりに中国に向かうというのが大雑把なあらすじ。息子は中国仮面舞踊の研究者で、「単騎、千里を走る」という関羽を扱った芝居をまた観に行くという約束をしていた。だが、息子は末期の肝臓ガンに冒されていた。高倉健演じる父は、息子とここ10年ぐらい疎遠になっていたが、息子との仲を修復したいと考え、中国へ赴く。だが、「単騎、千里を走る」を演じられる役者は犯罪を犯し、牢屋に入っていた。何としても「単騎、千里を走る」をビデオに収め、息子に見せたいと考えた主人公は、様々な人々を動かして、ついに「単騎、千里を走る」の撮影に成功する…というのが、ストーリーの基本ラインになるのかな。
</p>
<p>
印象的だったのは、
</p>
<ul>
<li>
「単騎、千里を走る」を撮影した時点では息子が死んでおり、撮影する意味をなくしていたのだが、主人公は自分のために動いてくれた様々な人の気持ちに答えるために、周囲の人に息子の死を悟らせないようにし、「単騎、千里を走る」を演じるように頼む場面
</li>
<li>
「単騎、千里を走る」の関羽役を演じる役者の息子もまた父親との仲がうまくいっておらず、高倉健演じる主人公が自分の息子とダブらせて関わっていこうとしていき、心を開いてもらう場面
</li>
<li>
時間的に自分の息子が死んだのは、役者の息子と心のふれあいが果たされた頃だということがさりげなく観客に提示される部分
</li>
</ul>
<p>
こうした主人公を高倉健が渋く演じているわけです。
</p>
<p>
&nbsp;
</p>
<p>
この映画を観て強く興味を引きつけられたのは、<a href="http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6', 'チャン・イーモウ');" target="blank">チャン・イーモウ</a>監督の映画の作り方でした。自分が専門とする<a href="http://ja.wikipedia.org/wiki/%E3%82%B3%E3%83%B3%E3%83%A9%E3%83%83%E3%83%89" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://ja.wikipedia.org/wiki/%E3%82%B3%E3%83%B3%E3%83%A9%E3%83%83%E3%83%89', 'コンラッド');" target="blank">コンラッド</a>との類似した点がとてもあるように感じました。例えば、
</p>
<ul>
<li>
コンラッドはポーランド人でありながら、後年イギリスに帰化し、作家としての名声を獲得する。この映画でも、主人公は全く何が話されているのかわからない中国に飛び込み、人々を動かして目的を果たす。
</li>
<li>
コンラッドの作品は一人称の語り手が、自分の主観を前面に押し出して物語を語る。この映画も、高倉健演じる主人公の主観を通した物語が語られている<small>と考えていいと思う</small>
</li>
<li>
コンラッドの有名作である『闇の奥』・『ロード・ジム』は枠物語<sup>【注1】</sup>である。<a href="http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6', 'チャン・イーモウ');" target="blank">チャン・イーモウ</a><a href="http://en.wikipedia.org/wiki/Hero_%28film%29" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://en.wikipedia.org/wiki/Hero_%28film%29', '『HERO』');" target="blank">『HERO』</a>で枠物語を映画に移植していると捉えることができる。
</li>
</ul>
<p>
というところが、自分の専門と重なって面白いと感じました。
</p>
<hr />
<div class="amazlet-box" style="margin-bottom: 0px;">
<div class="amazlet-image" style="float: left; margin: 0px 12px 1px 0px;">
<a href="https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/', '');" target="_blank" name="amazletlink"><img style="border: none;" src="https://images-na.ssl-images-amazon.com/images/I/51ZGX3XT0EL._SL160_.jpg" alt="単騎、千里を走る。 [DVD]" /></a>
</div>
<div class="amazlet-info" style="line-height: 120%; margin-bottom: 10px;">
<div class="amazlet-name" style="margin-bottom: 10px; line-height: 120%;">
<p>
<a href="https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/', '単騎、千里を走る。 [DVD]');" target="_blank" name="amazletlink">単騎、千里を走る。 [DVD]</a>
</p>
<div class="amazlet-powered-date" style="font-size: 80%; margin-top: 5px; line-height: 120%;">
posted with <a href="http://www.amazlet.com/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.amazlet.com/', 'amazlet');" title="amazlet" target="_blank">amazlet</a> at 14.11.23
</div>
</div>
<div class="amazlet-detail">
東宝 (2006-09-22)<br /> 売り上げランキング: 1,197
</div>
<div class="amazlet-sub-info" style="float: left;">
<div class="amazlet-link" style="margin-top: 5px;">
<a href="https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/', 'Amazon.co.jpで詳細を見る');" target="_blank" name="amazletlink">Amazon.co.jpで詳細を見る</a>
</div>
</div>
</div>
<div class="amazlet-footer" style="clear: left;">
</div>
</div>
<hr />
<ul>
<li>
注1 &#8211; 一つの物語の中に複数の物語を含む小説形式。複数の話者が次々と語る短編の集成として全編が構成されるものをさすが話者が交替しない《千夜一夜物語》なども枠物語と呼ばれる。西洋ではこの形式はルネサンス期の文学に多くみられ口承文芸から文字文芸への移行や俗語の散文による小説の成立を示唆するものとして文学史上注目される。その典型的なものはボッカッチョの《デカメロン》でペストを避けて郊外の別荘に落ちあった10人の男女が交替で司会役をつとめ残りの9人が順次物語るという形式のもとに教訓譚ロマンス滑稽譚艶笑譚等々多様な短編が集められている。チョーサーの《カンタベリー物語》マルグリット・ド・ナバールの《エプタメロン》もその好例である。またストラパローラの《愛しき夜毎》やバジーレの《お話のお話》はこの形式によって後世に貴重な民話の集大成をもたらした。近代にもゲーテをはじめケラーホフマンスティーブンソンらの作品にこの形式をとったものがあるが代表作《カルメン》がそうであるようにとくにメリメはこれを得意とした。枠物語の形式は西欧文学にのみみられるものではなく物語文学を持つ諸民族の文学に共通に存在するといえよう。日本でも中世の説話や御伽草子などにこの形式がみられるがたとえば室町期の小説《三人法師》は3人の高野聖のそれぞれの発心譚によって全体が構成される枠物語のすぐれた小品である。
</li>
</ul>
</div>

View File

@ -1,93 +0,0 @@
---
title: Gaucheで外部コマンドを実行する
date: 2011-09-19T15:04:05Z
author:
- kazu634
categories:
- Labs
- Program
tags:
- gauche
- lisp
---
<div class="section">
<p>
Gaucheで外部コマンドを実行しようとしたのですが、うまく行かなかったのでとりあえずダンプしておきます。
</p>
<h4>
やりたいこと
</h4>
<p>
外部コマンドをGaucheから実行したい
</p>
<h4>
ここまではわかった
</h4>
<p>
Gaucheで外部コマンドを実行する場合は、どうやら run-process というものがあるらしいので、このコマンドを使えばよさそう
</p>
<h4>
うまく行かなかったこと
</h4>
<p>
次のようなコマンドを実行したかったけれど、実行に失敗した:
</p>
<pre class="syntax-highlight">
% virt-<span class="synStatement">install</span> <span class="synSpecial">--name</span> dev1 <span class="synSpecial">--ram</span> <span class="synConstant">512</span> <span class="synSpecial">--disk</span> <span class="synIdentifier">path</span>=<span class="synIdentifier">dev1.img,size</span>=<span class="synConstant">10</span> <span class="synSpecial">--vcpus</span> <span class="synConstant">1</span> <span class="synSpecial">--network</span> <span class="synIdentifier">bridge</span>=<span class="synIdentifier">br0,model</span>=virtio <span class="synSpecial">--graphic</span> <span class="synIdentifier">vnc,listen</span>=<span class="synConstant"></span>.<span class="synConstant"></span>.<span class="synConstant"></span>.<span class="synConstant"></span> <span class="synSpecial">--pxe</span>
</pre>
<p>
とりあえず REPL から実行してみます:
</p>
<pre class="syntax-highlight">
gosh<span class="synStatement">&#62;</span> <span class="synStatement">(</span>use gauche.process<span class="synStatement">)</span>
<span class="synComment">#&#60;undef&#62;</span>
gosh<span class="synStatement">&#62;</span> <span class="synStatement">(</span>run-process <span class="synStatement">'</span><span class="synConstant">(virt-install --name dev1 --ram 512 --disk path=dev1.img,size=10 --vcpus 1 --network bridge=br0,model=virtio --graphic vnc,listen=0.0.0.0 --pxe))</span>
<span class="synConstant">#&#60;process 1148 &#34;virt-install&#34; active&#62;</span>
<span class="synConstant">gosh&#62; ERROR Unknown argument </span><span class="synStatement">'</span>,<span class="synIdentifier">size</span>=<span class="synConstant">10</span><span class="synStatement">'</span>
</pre>
<p>
なんか上手くいかない。マニュアルにはこんな記述が。。。:
</p>
<blockquote title="404 Not Found" cite="http://practical-scheme.net/gauche/man/gauche-refj_92.html">
<p>
cmd/argsの各要素は、x->stringで文字列に変換されます。
</p>
<p>
<cite><a href="http://practical-scheme.net/gauche/man/gauche-refj_92.html" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://practical-scheme.net/gauche/man/gauche-refj_92.html', 'Gauche ユーザリファレンス: 9.16 gauche.mop.singleton &#8211; シングルトン');" target="_blank">Gauche ユーザリファレンス: 9.16 gauche.mop.singleton &#8211; シングルトン</a></cite>
</p>
</blockquote>
<p>
というわけで実験:
</p>
<pre class="syntax-highlight">
gosh<span class="synStatement">&#62;</span> <span class="synStatement">(</span>x-<span class="synStatement">&#62;</span>string <span class="synStatement">'</span><span class="synConstant">(virt-install --name dev1 --ram 512 --disk path=dev1.img,size=10 --vcpus 1 --network bridge=br0,model=virtio --graphic vnc,listen=0.0.0.0 --pxe))</span>
<span class="synConstant">&#34;(virt-install --name dev1 --ram 512 --disk path=dev1.img ,size=10 --vcpus 1 --network bridge=br0 ,model=virtio --graphic vnc ,listen=0.0.0.0 --pxe)&#34;</span>
</pre>
<p>
あっ、なんか「,」のところにスペースが入っている。。。原因はこれか。
</p>
<h4>
さてさて
</h4>
<p>
解決策はどうすればいいのだろうか。。。
</p>
</div>

View File

@ -1,9 +1,7 @@
---
title: おとなのひとにいってほしかった24のこと
author: kazu634
date: 2005-08-25T15:04:05Z
author:
- kazu634
author: kazu634
categories:
- Quotes
tags:
@ -12,43 +10,43 @@ tags:
<div class="section">
<p>
<a href="https://www.amazon.co.jp/exec/obidos/ASIN/439641076X/ref%3Dase%5Frakugaki0a-22/249-0170639-2669919" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.amazon.co.jp/exec/obidos/ASIN/439641076X/ref%3Dase%5Frakugaki0a-22/249-0170639-2669919', '');" target="_blank"><img width="145" align="left" alt="d1625747.jpg" src="http://image.blog.livedoor.jp/simoom634/imgs/d/1/d1625747.jpg" class="pict" height="204" border="0" /></a>
</p></p>
</p></p>
<p>
バイト先からの帰り道、本屋で何気なく見つけたのがこの本。面白そうなので手にとってぱらぱらとめくってみたんだけれど、これは面白い!素朴に語ってはいるものの、酸いも甘いも経験してきたという年月を感じさせるところがいいのではないだろうか。
</p></p>
</p></p>
<p>
自分は、Conradなんていう誰に聞いても含・ネイティブの大学教授「難しい」としか言われない骨太の作家を専門にしようとしているのだけれど、このConradもまた人生の酸いも甘いも経験してきたような骨太の価値観を元にして語っているのではないだろう―みたいに思っているので、こういうのは参考になるなぁ、と思った。帆船に乗った船乗りとして、Conradは常に自分の限界に立ち向かっていき、人として成長していったのではないのかなぁ。サン・テグジュペリも次のように言っているし。
</p>
<p>
<blockquote>
The earth teaches us more about ourselves than all the books in the world, because it is resistant to us. Self-discovery comes when man measures himself against an obstacle. To attain it, he needs an implement. He needs a carpenter&#8217;s plane, or a plough. Little by little, as he walks behind the plough, the farmer forces out a few of nature&#8217;s secrets, and the truth which he uncovers is universal. In the same way the aeroplane, the implement of the airline companies, brings man face to face wit all the old problems.</p>
</blockquote>
<p>
<blockquote>
</blockquote>
<p>
<center>
拙訳
</center>
<br />大地は世界中にあるどんな本よりも私たち自身について教えてくれる。理由は、自己を発見するのは障害に立ち向かっていくときであり、大地は私たちに抵抗するからだ。自己を発見するためには、道具が必要だ。大工のカンナや、あるいは鋤が必要になる。少しずつ、鋤で耕して行くにつれて、農夫は自然の秘密を見いだす。そして、その農夫が明らかにした真理というものは普遍的なものだ。同じようにして、飛行機―航空会社の道具―は飛行士に、そういった古くなってしまった問題に面と向かわせるのである。
</p>
</p>
<p>
ここでは、飛行機について語っているけれど、サン・テグジュペリが念頭に置いている「古い問題」というのは「障害に立ち向かっていく際の問題」なのではないかな。こう考えると、帆船というのは農夫にとっての鋤と同じものではないかなぁ…なんて思ってみたり。
</p>
</p>
<p>
ちなみに、英語で良ければ、<a href="http://www.pion314.com/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.pion314.com/', 'ここ');" target="_blank">ここ</a><a href="https://www.amazon.co.jp/exec/obidos/ASIN/439641076X/ref%3Dase%5Frakugaki0a-22/249-0170639-2669919" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.amazon.co.jp/exec/obidos/ASIN/439641076X/ref%3Dase%5Frakugaki0a-22/249-0170639-2669919', '『おとなのひとにいってほしかった24のこと』');" target="_blank">『おとなのひとにいってほしかった24のこと』</a>が読めます。ちなみに、その24のこととは、
</p>
<ul>
<li>
1: &#8220;The world does not turn round around you.&#8221;
@ -123,7 +121,7 @@ tags:
24: &#8220;The most important thing is to let your love go on errands.&#8221;
</li>
</ul>
<p>
でした。
</p></p>

View File

@ -0,0 +1,12 @@
+++
title = "『容疑者 室井慎次』"
date = 2005-09-22T15:04:05Z
description = ""
categories = ["Misc"]
author = "kazu634"
tags = ["movie"]
+++
読んでいる人の価値観を相対化するのが小説の条件と保坂和志は考えている、と下のエントリーで書いた。そのように書いているうちに、最近観た<a href="http://www.odoru-legend.com/suspect/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.odoru-legend.com/suspect/', '『容疑者 室井慎次』');" target="_blank">『容疑者 室井慎次』</a>でも見ている人の価値観を相対化するような描写が行われていたことに気づいた。
『踊る~』シリーズでは、わくさんと青島刑事といった世代間の交流や、男性と女性といった異なる立場にある人々がどのように感じているのかということを扱った作品であるとも捉えることができる。今回の『室井慎次』でも、田中麗奈演じる新米弁護士と室井さんという世代も性別も異なる二人の価値観というものが同時に提示されていた。<a href="http://www.odoru-legend.com/suspect/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.odoru-legend.com/suspect/', '「室井さんの過去」');" target="_blank">「室井さんの過去」</a>(注意:まだ映画を観ていない人は見ない方がいいです!)の捉え方も、二人の間では異なっていた。同じ事態を目の前にしていても捉え方は異なる、という当たり前のことが当たり前のように提示されているというのは注目すべきことなのではないだろうか。エンターテイメント作品だ何だと言われているけれど、「様々な価値観がこの世の中にはあり、世界は複雑なのだ」ということを多くの人に提示しているということだけを見ても、『踊る~』シリーズはもっと評価されてしかるべきではないだろうか。

View File

@ -1,210 +1,207 @@
---
title: 『踊る大捜査線に学ぶ組織論入門』
author: kazu634
date: 2005-11-23T15:04:05Z
author:
- kazu634
author: kazu634
categories:
- Quotes
tags:
- book
---
<div class="section">
<p>
 この本を読んで面白いと感じた部分は、できるマネージャーと凄いリーダーの違いでした。
</p>
<p>
<center>
</center>
</p>
<table cellspacing="0" cellpadding="2" border="1">
<tr valign="top">
<td>
できるマネージャー
</td>
<td>
すごいリーダー
</td>
</tr>
<tr valign="top">
<td>
・理性、データ、分析(左脳)
</td>
<td>
・感性、感情、直感(右脳)
</td>
</tr>
<tr valign="top">
<td>
・クールでテクノクラート風
</td>
<td>
・熱くビジョンを語る
</td>
</tr>
<tr valign="top">
<td>
・冷静さ、客観性を重視し、計数管理がうまくできる
</td>
<td>
・強烈な価値観を持っていて、それを押し通す、カリスマ
</td>
</tr>
<tr valign="top">
<td>
・システムを使う
</td>
<td>
・人間くささ、人間的魅力で人を引っ張る
</td>
</tr>
<tr valign="top">
<td>
・論理学やルールを重んじる
</td>
<td>
・人間学や人間的愛情を重んじる
</td>
</tr>
<tr valign="top">
<td>
・ルールを遵守する
</td>
<td>
・自分のフィロソフィーを守る
</td>
</tr>
<tr valign="top">
<td>
・誰がやってもうまくできる仕組みを作って、他の人(後継者)が効率よく仕事をやっていけるようにする
</td>
<td>
・この人について行きたいと思わせる、持って生まれた人間性が鍵なので、余人を持って代え難い
</td>
</tr>
<tr valign="top">
<td>
・バランス感覚に優れている
</td>
<td>
・大きな絵やビジョンを考え、それを追い求める
</td>
</tr>
<tr valign="top">
<td>
・しかし、どこか特別に際立っているところが必ずしもあるわけではない
</td>
<td>
・バランスがあると言うよりは、時に偏っているぐらい特徴のある思想を持つ。しかし、多少とも抜けがあり、はらはらさせる
</td>
</tr>
<tr valign="top">
<td>
・でも、抜けがなく安定力がある。平均以上にすべてが良くできる
</td>
<td>
・でも、その絵やビジョンが外れではなく、人に熱くアピールするときには、周りもついつい応援してしまう
</td>
</tr>
<tr valign="top">
<td>
・危機的状況を予防したり回避したりする
</td>
<td>
・危機的状況で迫力を出す
</td>
</tr>
<tr valign="top">
<td>
・必然的世界に生きる
</td>
<td>
・偶発的世界に生きる
</td>
</tr>
<tr valign="top">
<td>
・何かを守る
</td>
<td>
・何かを壊す、変化させる
</td>
</tr>
<tr valign="top">
<td>
・すでにある枠組みを大いに利用する
</td>
<td>
・枠組みを作り出すか、壊す
</td>
</tr>
<tr valign="top">
<td>
・調和、配慮
</td>
<td>
・攻撃的で妥協しない
</td>
</tr>
<tr valign="top">
<td>
・人の割り振りを行う
</td>
<td>
自分でぐいぐい前進する
</td>
</tr>
</table></p>
</table></p>
<p>
アップルのジョブズは完全に凄いリーダーなんだろうなぁ…というのが感想。
</p>
<hr />
<p>
<table cellpadding="5" border="0">
<tr>
<td valign="top">
<a href="https://www.amazon.co.jp/exec/obidos/ASIN/476126277X/goodpic-22/ref=nosim/" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.amazon.co.jp/exec/obidos/ASIN/476126277X/goodpic-22/ref=nosim/', '');" target="_blank"><img alt="476126277X" src="http://images.amazon.com/images/P/476126277X.01._SCMZZZZZZZ_.jpg" border="0" /></a>
</td>
<td valign="top">
<font size="-1"><a href="https://www.amazon.co.jp/exec/obidos/ASIN/476126277X/goodpic-22/ref=nosim/" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.amazon.co.jp/exec/obidos/ASIN/476126277X/goodpic-22/ref=nosim/', '踊る大捜査線に学ぶ組織論入門');" target="_blank">踊る大捜査線に学ぶ組織論入門</a></font>
</td>

View File

@ -0,0 +1,63 @@
+++
title = "単騎、千里を走る"
date = 2006-02-07T15:04:05Z
description = ""
categories = ["Misc"]
author = "kazu634"
tags = ["movie"]
+++
<a href="http://www.tanki-senri.com/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.tanki-senri.com/', '');" target="_blank"><img class="pict" src="https://images-na.ssl-images-amazon.com/images/I/51ZGX3XT0EL.jpg" alt="tanki_senri" width="160" height="177" align="left" border="0" /></a>
もう二日ぐらい前になりますが、<a href="http://www.tanki-senri.com/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.tanki-senri.com/', '『単騎、千里を走る。』');" target="blank">『単騎、千里を走る。』</a>を観てきました。高倉健主演・<a href="http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6', 'チャン・イーモウ');" target="blank">チャン・イーモウ</a>監督作品です。いや、とてもよかったです。
高倉健演じる主人公が、死に瀕した息子の代わりに中国に向かうというのが大雑把なあらすじ。息子は中国仮面舞踊の研究者で、「単騎、千里を走る」という関羽を扱った芝居をまた観に行くという約束をしていた。だが、息子は末期の肝臓ガンに冒されていた。高倉健演じる父は、息子とここ10年ぐらい疎遠になっていたが、息子との仲を修復したいと考え、中国へ赴く。だが、「単騎、千里を走る」を演じられる役者は犯罪を犯し、牢屋に入っていた。何としても「単騎、千里を走る」をビデオに収め、息子に見せたいと考えた主人公は、様々な人々を動かして、ついに「単騎、千里を走る」の撮影に成功する…というのが、ストーリーの基本ラインになるのかな。
印象的だったのは、
-「単騎、千里を走る」を撮影した時点では息子が死んでおり、撮影する意味をなくしていたのだが、主人公は自分のために動いてくれた様々な人の気持ちに答えるために、周囲の人に息子の死を悟らせないようにし、「単騎、千里を走る」を演じるように頼む場面
- 「単騎、千里を走る」の関羽役を演じる役者の息子もまた父親との仲がうまくいっておらず、高倉健演じる主人公が自分の息子とダブらせて関わっていこうとしていき、心を開いてもらう場面
- 時間的に自分の息子が死んだのは、役者の息子と心のふれあいが果たされた頃だということがさりげなく観客に提示される部分
こうした主人公を高倉健が渋く演じているわけです。
この映画を観て強く興味を引きつけられたのは、<a href="http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6', 'チャン・イーモウ');" target="blank">チャン・イーモウ</a>監督の映画の作り方でした。自分が専門とする<a href="http://ja.wikipedia.org/wiki/%E3%82%B3%E3%83%B3%E3%83%A9%E3%83%83%E3%83%89" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://ja.wikipedia.org/wiki/%E3%82%B3%E3%83%B3%E3%83%A9%E3%83%83%E3%83%89', 'コンラッド');" target="blank">コンラッド</a>との類似した点がとてもあるように感じました。例えば、
- コンラッドはポーランド人でありながら、後年イギリスに帰化し、作家としての名声を獲得する。この映画でも、主人公は全く何が話されているのかわからない中国に飛び込み、人々を動かして目的を果たす。
- コンラッドの作品は一人称の語り手が、自分の主観を前面に押し出して物語を語る。この映画も、高倉健演じる主人公の主観を通した物語が語られている<small>と考えていいと思う</small>
- コンラッドの有名作である『闇の奥』・『ロード・ジム』は枠物語<sup>【注1】</sup>である。<a href="http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%A3%E3%83%B3%E3%83%BB%E3%82%A4%E3%83%BC%E3%83%A2%E3%82%A6', 'チャン・イーモウ');" target="blank">チャン・イーモウ</a><a href="http://en.wikipedia.org/wiki/Hero_%28film%29" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://en.wikipedia.org/wiki/Hero_%28film%29', '『HERO』');" target="blank">『HERO』</a>で枠物語を映画に移植していると捉えることができる。
というところが、自分の専門と重なって面白いと感じました。
<hr />
<div class="amazlet-box" style="margin-bottom: 0px;">
<div class="amazlet-image" style="float: left; margin: 0px 12px 1px 0px;">
<a href="https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/', '');" target="_blank" name="amazletlink"><img style="border: none;" src="https://images-na.ssl-images-amazon.com/images/I/51ZGX3XT0EL._SL160_.jpg" alt="単騎、千里を走る。 [DVD]" /></a>
</div>
<div class="amazlet-info" style="line-height: 120%; margin-bottom: 10px;">
<div class="amazlet-name" style="margin-bottom: 10px; line-height: 120%;">
<p>
<a href="https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/', '単騎、千里を走る。 [DVD]');" target="_blank" name="amazletlink">単騎、千里を走る。 [DVD]</a>
</p>
<div class="amazlet-powered-date" style="font-size: 80%; margin-top: 5px; line-height: 120%;">
posted with <a href="http://www.amazlet.com/" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.amazlet.com/', 'amazlet');" title="amazlet" target="_blank">amazlet</a> at 14.11.23
</div>
</div>
<div class="amazlet-detail">
東宝 (2006-09-22)<br /> 売り上げランキング: 1,197
</div>
<div class="amazlet-sub-info" style="float: left;">
<div class="amazlet-link" style="margin-top: 5px;">
<a href="https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.amazon.co.jp/exec/obidos/ASIN/B000ELGLBW/simsnes-22/ref=nosim/', 'Amazon.co.jpで詳細を見る');" target="_blank" name="amazletlink">Amazon.co.jpで詳細を見る</a>
</div>
</div>
</div>
<div class="amazlet-footer" style="clear: left;">
</div>
</div>

View File

@ -1,26 +1,23 @@
---
title: ”The Hardest Lessons for Startups to Learn”で気になった部分
author: kazu634
date: 2006-05-06T15:04:05Z
author:
- kazu634
author: kazu634
categories:
- Quotes
tags:
- book
---
<div class="section">
<p>
<a href="http://www.paulgraham.com/startuplessons.html" onclick="__gaTracker('send', 'event', 'outbound-article', 'http://www.paulgraham.com/startuplessons.html', '');" target="_blank"><img alt="The Hardest Lessons for Startups to Learn" align="left" src="http://img.simpleapi.net/small/http://www.paulgraham.com/startuplessons.html" border="0" /></a>
</p></p>
</p></p>
<p>
 Paul Grahamのサイトで&#8221;The hardest Lessons for Startups to Learn&#8221;が公開されました。気になった部分について載せておきます。
</p>
<hr />
<ul>
<li>
Users hate bugs, but they don&#8217;t seem to mind a minimal version 1, if there&#8217;s more coming soon.<br /> bugsがあるのは論外だけれども、最小のversion 1であれば受け入れる。論文にたとえれば、根本的な事実誤認はあり得ないけれど、発展が見込めるものであればとりあえずはOK…ということか