謹賀新年
Я (Тэцуя Китахата) поздравляю Вас с наступающи новым годом -- 2006.
皆様にとって来るべき2006年が良い年となりますように。
Happy New Year!
HOWTO: Apache Forrest + Japanese (PDF rendering)
Feedbacks welcome. (tetsuya at apache dot org)
0. Download Apache Forrest :-)
blah-blah ... (run "forrest seed" whereever you want: /$PATH/$TO/ -- edit/create xdocs/***.xml in japanese ... etc. etc.)
1. Download Free Japanese Fonts ("Sazanami Fonts" might be the best).
http://www.terra-intl.com/fonts/sazanami-gothic.ttf (1)
http://www.terra-intl.com/fonts/sazanami-mincho.ttf (2)
2. Create Font-Metric Files (XML)
% java -cp $FORREST_HOME/lib/core/fop-0.20.5.jar org.apache.fop.fonts.apps.TTFReader /$PATH/$TO/sazanami-gothic.ttf /$PATH/$TO/sazanami-gothic.xml
% java -cp $FORREST_HOME/lib/core/fop-0.20.5.jar org.apache.fop.fonts.apps.TTFReader /$PATH/$TO/sazanami-mincho.ttf /$PATH/$TO/sazanami-mincho.xml
Note: You can download and use sazanami-gothic.xml and sazanami-mincho.xml if you use (1) and (2) above. If you download other font files or use Windows default fonts (MS-Mincho/MS-Gothic), you should create font-metric files equivalent for them by yourself.
3. Create new "userconfig.xml" file -- e.g. /$PATH/$TO/font/userconfig.xml
<configuration>
<fonts>
<font metrics-file="/$PATH/$TO/sazanami-gothic.xml" embed-file="/$PATH/$TO/sazanami-gothic.ttf" kerning="yes">
<font-triplet name="Gothic" style="normal" weight="normal"/>
<font-triplet name="Gothic" style="normal" weight="bold"/>
<font-triplet name="Gothic" style="italic" weight="normal"/>
<font-triplet name="Gothic" style="italic" weight="bold"/>
</font>
<font metrics-file="/$PATH/$TO/sazanami-mincho.xml" embed-file="/$PATH/$TO/sazanami-mincho.ttf" kerning="yes">
<font-triplet name="Mincho" style="normal" weight="normal"/>
<font-triplet name="Mincho" style="normal" weight="bold"/>
<font-triplet name="Mincho" style="italic" weight="normal"/>
<font-triplet name="Mincho" style="italic" weight="bold"/>
</font>
</fonts>
</configuration>
4. Edit /$PATH/$TO/resources/conf/sitemap.xmap ("fo2pdf" section)
<map:serializer name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer" mime-type="application/pdf">
<user-config src="/$PATH/$TO/font/userconfig.xml"/>
</map:serializer>
Note: Apache Forrest 0.7 provides PLUGIN functionality, so perhaps you should do above for these 2 files
$FORREST_HOME/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap
$FORREST_HOME/plugins/org.apache.forrest.plugin.output.pdf/output.xmap
5. Change "Skin" config-- edit $FORREST_HOME/main/webapp/skins/common/xslt/fo/document2fo.xsl
REPLACE: font-family="serif" -> font-family="Gothic"
REPLACE: font-family="sans-serif" -> font-family="Mincho"
REPLACE: <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> into <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" language="ja">
6. Yell out! "Run Forrest! Run!" with girlish voice --- :-)
% cd /$PATH/$TO/
% forrest site
SC UniPad - The Unicode Plain Text Editor
It was very nice for me to find "SC UniPad". I had been wondering how to deal with Cyrillics using keyboard (Should I buy another keyboard merely for the input of Cyrillic letters?). "SC UniPad" provides virtual keyboards.
The wonderful thing is -- UniPad is also able to convert Unicode characters into XML character reference, easily.
e.g. Меня зовут Тэцуя. (Меня зо вут Тэцуя.)
e.g. किताहाता तेतुया (किताहात ा तेतुया)
--- ah, plus UniPad can convert them into UCN (\u...). Java engineers who should deal with "Resource Bundles" can reap the maximum fruit from it.
e.g. ىيتاﺦاثا (\u0649\u064a\u062a\u0627\ufea6\u0627\u062b\u0627)
I learned Russian/Hindi/Arabic etc... @ the university (more than 10 years ago). Perhaps, I will remember them.
Line Breaking Properties
http://www.unicode.org/unicode/reports/tr14/
Are these implemented by Apache FOP?
I am now seeking the way to deal with "Japanese hyphenation" (kinsoku shori: http://ja.wikipedia.org/wiki/%E7%A6%81%E5%89%87) and "Punctuation" (http://en.wikipedia.org/wiki/Punctuation) .... hack, hack.
ApacheNews + PDF
For What It Worth :-), I've just added category based PDF files to "Apache News Online". For fun ;)
ex.1 http://www.apachenews.org/archives/news_apache_jakarta.pdf
ex.2 http://www.apachenews.org/archives/news_apache_webservices.pdf
ex.3 http://www.apachenews.org/archives/news_apache_xml.pdf
ex.4 http://www.apachenews.org/archives/news_apache_http.pdf
powered by Apache Forrest

I think this tells everything ;-)
cf. http://www.1060.org/blogxter/entry?publicid=E46619CC2F1EDF61AB5527BA6E65A95B
Generate PDF files / Oracle HTML DB
Memo, memo ...
Donation to Gmane
I made a donation to Gmane (To be precise -- Gmane Hardware Fund) a few days ago. My name appeared on the list here, soon. (Tusen takk, Lars!)
Donation to the Python Software Foundation
http://www.python.org/psf/donations.html
I donated some money to the Python Software Foundation the other day. Surprisingly, my name has been listed here within 24 hours. 24-HOURS! I could not believe it! (On the contrary, there are some Foundations which *NEVER* contacted me ... plus, my name listed nowhere -- I am still not sure where my donations might have gone :-( )
Needless to say, today I made an additional donation to the PSF -- with my sincere gratitude to the Foundation.
http://japan.cnet.com/news/ent/story/0,2000047623,20086628,00.htm
Disk Stakka - CD/DVD Manager / MSDN
As I mentioned before, I am now MSDN (Microsoft Developer Network) Subscriber. Luckily enough, I could get it from MSDN for gift campaign of this subscription -- comprehensive CD/DVD manager, "Disk Stakka".
Really nice tool. I often felt that managing CD/DVDs had been really boring. I love "Disk Stakka". According to the blurb :) -- "Disk Stakka makes traditional disc management obsolete". Perhaps, it would be true.
San Diego
For some reason, I found a nice website about San Diego, California written in Japanese. :-)
http://www.sandiegotown.com/
Note: ApacheCon US 2005 -- 10-14 December 2005
Orkut / Japanese
Seems that we can switch orkut.com's interface language to other than English (Portuguese, French, Italian, German, Spanish, Traditional & Simplified Chinese, Japanese, Korean, Dutch and Russian).
In order to switch orkut's interface language, go to "home page" and click on the "settings" button.
Reality Mining : MIT
Cool. For some reason, this reminded me of Apache Agora (Project).
http://www.soroban.com/fanzan/indexE.html
It might be very interesting to challenge "championship number 3 digit 10 rows" calc. Try it out!
http://jp.sun.com/javaone/index_e.html
MSDN Subscription - activated
I activated my MSDN Subscription account, again. I had been a member of MSDN Universal for three years (paid US$6,000 or more for it! year 2000 - 2003), and had left because I'd completely lost my motivation to work for information technology for the last three years.
Still expensive! - oldie but goodie
http://www.port80software.com/surveys/
... Really?
Bye-bye "Sub-Marine"
http://news.com.com/2100-1028_3-5737961.html
Seems that America is now trying to change the bad patend system, granting the patent to the first inventor, into the opposite system - principle of first-to-file - "Global Standard".
Good news, indeed. We are in the days of 21st century, not in the days of Christopher Columbus.
https://www.google.com/webmasters/sitemaps/
Great! By using this, perhaps I will never be annoyed by "GOOGLE BOT ATTACKS" -- I'd upgraded my web server several times ($350/month now! -- structural/cumulative fiscal deficit!) because I have had so many bots coming.
Relieved. :-)
http://update.microsoft.com/microsoftupdate/
plus ... seems that Mr. Furukawa, the Founder of Microsoft Japan, resigned MS-J CTO at last ... (sad) ... The end of MS era.
I will attend the ApacheCon EU 2005 (in Germany, July 20-22, 2005).
Plus, go to chicago in order to participate in another conference at Illinois, USA (August 17-21, 2005 -- plus summer vacation)
Journey-- :-)
Tech-On! tech news--straight from Asia
http://techon.nikkeibp.co.jp/english/
JBoss and NEC
http://nikkeibp.jp/wcs/show/leaf/CID/onair/jp/flash_rss/378008/
(Japanese)
and
http://jboss.org/jbossBlog/blog/mfleury/2005/05/30/I_am_in_tokyo.txt
----
Congratulations.
I, personally, would like to recommend Marc to set up, launch "certification" and "education"(training) programs (like SJC-P, SJC-WC) for the products of JBoss Federation (JBoss AS, JBoss Cache, Javassist ... ) in Japan.
(I once suggested such a kind of thing to the Board of Directors, Apache Software Foundation -- October 2003, if i remember correctly ---- They'd REJECTED, though :-( )
Japanese IT engineers DO like "certification"s. Big Market. Good Luck.
MailingList Archives, News Server, and RSS
I am still wondering which would be "smart" choice for us to convert among MailingList Archives (e.g. ezmlm archives), News Server Archives, and RSS feeds.
I once tried (experimantal) to setup "colobus" and to convert targeted mbox archives to (semi-automatic) news server archives. Plus, converted them to HTML and RSS -- by using (hacked :-) some PHP scripts found at PHP.net
I know that there are strong needs for "automated cross-convert" system. You do not have to rely upon "blog", if there are nice converters from MailingList archives to RSS -- as Content Management System (CMS). Mmmmm ... Consulting Apache James would be the smarter choice? :-)
Additional Donation to the ASF
Today, I've made out a check for US$750.00 at Citibank N.A. (Shibuya, Tokyo) for the purpose of my personal donation to the ASF (The Apache Software Foundation).
This was the first time (in my life) I issued a remittance check (Transfer).
# We are not accustomed to use "CHECK"s.
I will write a message/letter to the treasurer in order to tell him/her the specific targets and projects that I wish to directly support by these donations - US$1,500.00 (donation via this CHECK plus donation via PAYPAL that I've made 3 weeks ago) , and will enclose a check for US$750.00 with the letter, physical mail -- in the middle of June, 2005.
Hope these donations to be harmonized with the current assets of the ASF.
Updated:
Canceled -- because I've decided to attend the ApacheCon EU 2005. See you there!
Fear of POVERTY, Fear of CRITICISM
I'd been sick for these 3 years -- Fear of POVERTY.
I'd been sick for these 30 years -- Fear of CRITICISM (from the others).
I've completely lost my enthusiasm for works early in 2002 -- with frightful plastic debts.
I had to confess I had been at severe stage of alcoholism. I had to overcome.
----
NOW -- I am free! Free from these fears!
GOT OVER AT LAST!!
Love.
Donations to Apache (ASF)
This is the first time I contributed to the ASF (The Apache Software Foundation) via donations, financially - US$750 (via PAYPAL). This is what I'd wanted to do for a long time.
Perhaps other people and so many companies in our country (Japan) can / want to donate and support the ASF, financially, because many people feel "thanx" to the continuous activities and great products created by the foundation. However, there seem less fully worked-out ideas for it. -- I am still wondering how (tax deduction? listing up donator's names?) to raise the funds from our country.
# E.g. In our country, people prefer to use "Remittion-by-BANK-Draft" rather than "CHECK" -- normal business practice in Japan
http://www.apache.org/foundation/contributing.html
1st anniversary of apachenews.org
Seems that it is the 1st anniversary of apachenews.org.
Now, this has over 20,000 PVs per day.
I hope more apache folks (including the apache committers/members) to use this website -- especially, people in apache xml/webservices area.
----
http://www.apachenews.org/archives/cat_apache_jakarta_index.html
http://www.apachenews.org/archives/cat_apache_xml_index.html
http://www.apachenews.org/archives/cat_apache_webservices_index.html
FYI:
http://jakarta.terra-intl.com/
->
(JAKARTA.JP)
http://jakarta.jp/
Dragon Quest VIII
Now, I am playing the *most* famous R.P.G. series (in Japan), namely "DRAGON QUEST VIII". This title is perhaps not popular in other countries ("Dragon Warrior" is rather popular?).
It is remarkable that Dragon Quest VIII is so much "Final-Fantasialized", perhaps because of the merge of ENIX, Inc. and SQUARE, Inc.. However, the fondly-remembered back ground music brought me back to the memories of Dragon Quest I, II, III .... when I was in the elementary school.
I am sure that millions of the Japanese are also now staying up all night for playing "*THE* R.P.G." :-)
http://www.terra-intl.com/planet/xml/
I've been collecting news related to Apache XXX Projects for more than a half year. I've thought it that it would be useful if there were "planet" which gather the news from Apache XML Project and Apache-XML Related (Mostly Projects Graduated From Apache-XML into Top Level or Reorganized).
Planet Apache-XML Family provides its aggregated feeds in RSS 2.0,RSS 1.0 and RSS 0.9.
Have Fun.
---
Def.
Apache XML PROJECT -- http://xml.apache.org/
Apache-XML FAMILY -- Apache XML PROJECT + Apache WebServices + Apache Cocoon + Apache Forrest + Apache Lenya + Apache XMLBeans + Apache XML-Graphics (+ Apache Xerces + Apache Xalan)
http://www.terra-intl.com/planet/jakarta/
I've been collecting news related to Apache XXX Projects for more than a half year. I've thought it that it would be useful if there were "planet" which gather the news from Jakarta Project and Jakarta Related (Mostly Projects Graduated From Jakarta into Top Level or Reorganized).
Planet Jakarta Family provides its aggregated feeds in RSS 2.0,RSS 1.0 and RSS 0.9.
Have Fun.
---
Def.
Jakarta PROJECT -- http://jakarta.apache.org/
Jakarta FAMILY -- Jakarta PROJECT + Apache Ant + Apache Struts + Apache Geronimo + Apache Gump + Apache Maven + Apache Avalon + Apache James + Apache Excalibur + Apache Log4j (in LoggingServices) + Apache OJB/Torque (in DB) + Apache Jetspeed (in Portals)
-- can read the GAME far better than the players themselves. --
And ... "A bad habit is easy to get into and hard to get rid of..."
.