Twitter Updates

XML on the InDesign

Saturday, May 31, 2008
In the past year, I made three programs for the InDesign using the XML.

The first step was a test version for me to understand the XML specification on the InDesign. I needed to know how an object of the InDesign correlates with an element of XML. It’s a research work level, just one year ago.

The second step too was a test version. This one aimed to remake a catalog I made before, but there was no order from a client. It was a mere target. A XML this program handles became complexity one because of hoping too much, and too many things I didn't know. I did try and error many times. It was at the end of last year.

The third step was for a real job. I intend to write simply as possible as I can. But elements hierarchy might be too simple in contradiction to the previous job. I couldn’t sight features of XML in the structure and thought the structure was not considered about getting out modified data on a document of InDesign. Anyhow, I was required to make documents by no mistake. So, I chose an easy way. It was just one month ago.

Now, I’m designing one of the fourth step in consideration of some defects in history and a demand for next job. I want to get a comfortable result.

Postscript, it is rain today, too. (>.<)

Twice a week

Wednesday, May 28, 2008
I’m busy and tired now, so in a pinch. Updating this diary has kept a pace of twice a week since the first of the year. I want to keep it. but I come close to break off. So, I wrote whatever I thought. hee-hee :-p Today’s diary is so little content.

A culvert

Saturday, May 24, 2008
A part of my garden is very poorly drained. I am in trouble with long rain. If it rain hard, the ground quite drains away. Before now, I seared some plants because of the watery soil.

I bought some sort of roses and planted them last week. But soon It rained hardly by a stroke of bad luck. The day after next, they drooped but they don’t die yet. I temporarily moved them to other grounds in a flurry.

Therefore, I think I'm going to make a culvert there. Despite this it seems to rain today, too.

The photograph is the rose which was shot before planting.

I need suEXEC

Wednesday, May 21, 2008
Recently, for a few days I have written a CGI program used only in local area network at my work. I’ll make the CGI send some image files to a client machine. It’s not a way to click on a link of a Browser to download them. I want to send them via AFP using the AppleEvent. Because those files have some resource data in a data-fork. If a Browser downloads image files, those resource data aren’t included in files downloaded.

I already prepared a program of the AppleScript to send files by using a IP address of a client and a full path of a file that a client selected. But when the CGI in the Perl language executed the AppleScript one via the osascript command, I was aware it is impossible to do that. Ordinarily, it seems the osascript command is executed as user “www”. In this case, the command is denied permission.

To clear the problem is very hard for me. I seem to have to compile the suEXEC command personally. I knew it when I read this web page. Things I need to do are to get the source of Apache, and to compile it, and to move the suEXEC command into an applicable directory. I wonder can I do that?

postscript:
I did! My CGI executed the osascript :-)
Wednesday, 21 May 2008 17:48:21 +0900

 Show corrected text

Recently, for a few days I have written a CGI program used only in local area network at my work.

Recently, I wrote a CGI program that is used only in the local area network at my work.

I'll make the CGI send some image files to a client machine.
It's not a way to click on a link of a Browser to download them.

I have made the CGI send some image files to a client machine, but this is not allowing me to click on a link to download the whole files.

I want to send them via AFP using the AppleEvent.
Because those files have some resource data in a data-fork.

I want to send them via AFP using AppleEvent, because the files have some resource data in a data-fork.

If a Browser downloads image files, those resource data aren't included in files downloaded.

If a browser downloads the image files, the resource data will not be included in the download.

I already prepared a program of the AppleScript to send files by using a IP address of a client and a full path of a file that a client selected.

I prepared an AppleScript to send files using the client's IP address and a full path of the selected file.

But when the CGI in the Perl language executed the AppleScript one via the osascript command, I was aware it is impossible to do that.

When the CGI in the Perl language tried to execute the AppleScript via the osascript command, it seemed to be impossible.

Ordinarily, it seems the osascript command is executed as user "www".

Ordinarily, the osascript command is executed as user "www."

In this case, the command is denied permission.

In this case, the command is denied permission.

To clear the problem is very hard for me.

Clearing this problem has been very difficult for me.

I seem to have to compile the suEXEC command personally.

It seems that I need to compile the suEXEC command manually.

I knew it when I read this web page: http://lists.runrev.com/pipermail/use-revolution/2007-March/096041.html.

I realized this when I read this web page: http://lists.runrev.com/pipermail/use-revolution/2007-March/096041.html.

Things I need to do are to get the source of Apache, and to compile it, and to move the suEXEC command into an applicable directory.

I need to get the source of Apache, compile it, and move the suEXEC command into an applicable directory.

I wonder can I do that?

How can I do that?

postscript:
I did! My CGI executed the osascript :-)
Wednesday, 21 May 2008 17:48:21 +0900

Postscript:
I did! My CGI executed the osascript :-)
Wednesday, 21 May 2008 17:48:21 +0900

Correction services

Friday, May 16, 2008
A few days ago, a article on my blog was corrected by a native speaker. After I checked the corrected article, I really felt that my English articles must to be corrected by outsiders as many as possible. I say anything but I care little for my wrong English sentences. I want to know those more. I got feeling I must not take a passive attitude and actively know what I don’t understand. But, I can’t ask him, Robert mistakes of all entries on my blog. I can’t make a request to him from me because his action absolutely is the gratuitous doing.

Long before I have known two websites provide correction services. But those are a little expensive or set expiration date for use.

Therefore, I looked for somewhere else I can order corrections within my budget. In the result, I found out only one site. That’s “GRAMLEE”. I tried 1oo words and got a good feeling. But Even if I read the FAQ, there was a thing I didn’t understand, so I would ask the site about it and sent a mail.
I want to ask you that there is a expiration date in the package.
Do I have to finish out it within a time frame limited?

About five or six minutes ago, I received a reply from there. What a speedy response!
There is no expiration date for the words in your balance.

I decided to buy the package. Already I have chosen one article from my old diaries and sent it there. I’ll show guys the result.

And then, Robert, I’m hoping your correction always. Let’s make small talk via e-mail :-)

A corrected diary

Tuesday, May 13, 2008
Did you already look at corrected diary? The subject of diary is Plasterboards. If you want to look at it, click the text link displayed on the day’s diary, “Show corrected text”.

Ugh! My English were almost wrong. . . Exactly, when I wrote this day’s diary, I had anxiety in a muddle. It was poor results. Especially, the last line of the first paragraph. Now I read anew it, and exactly I think it's a stupid sentence. But that was what I guessed. I am bloodied but unbowed.

Before a few days, a native speaker who wrote a comment on my this diary offered a correction to me. Then I took advantage of his kind offer. This correction was done by him. I thank him for that. He have made me notice some mistakes. His name is Robert. Thank you, Robert. If you would like, please correct my diary again.

Any way, what a lousy sentences. I need something to do for writing well. Hmm...

a, an and the

Friday, May 09, 2008
The definite article and the indefinite article are demon's gate for people of Japanese. After reading some tips and descriptions about them, I had a gut feeling that I understood well. But actually I didn’t digest at all. I can’t catch what “a”, “an” and “the” mean. What is slippery feeling like this?

This text made me aware of image of the definite article and the indefinite article. It’s written from observer's eye as programmer. That’s right. I think so, too. In English, to refer to instance of something is default. In contrast, in Japanese, to refer to class of something is default. English language doesn’t presuppose to mention a class, but a instance. This metaphor is easily to understand for me. I have felt like that English language rejects to mention abstract something.

Still I think, if exceptional handling are just a few, it’s easy. But really, there are many usages. It’s hard to make the right choice.

Plasterboards

Wednesday, May 07, 2008
I intended installing plasterboards before the end of four-day holiday. But the work didn’t end because a problem happened. Several parts of corners didn’t have strength enough to hold a wall as unmoving even if the wall would be pushed strongly. I have spent times to fix up the matter. I couldn’t imagine state of things that course threads screwed into stilts through plasterboards.

And, I planted a nursery of watermelon, eggplant, tomato and seeds of basil.


 Show corrected text

I intended installing plasterboards before the end of the four-day holiday. But the work job didn’t end because a problem happened. Several parts of corners corner parts didn’t have strength enough enough strength to hold a wall as unmoving even if the wall would be pushed strongly the wall still if it was pushed hard. I have spent times spent time to fix up the matter the problem. I couldn’t imagine state of things that course threads screwed into stilts through plasterboards I couldn't visualise where the screws went into the studs through the plasterboard.

And, I planted a nursery of watermelon, eggplant, tomato and seeds of basil basil seeds.

Tool shed again

Friday, May 02, 2008
My tool shed that I myself am building completed to the point of exterior work at the end of the year. Then I interrupted during winter as the off season. But I’ll do interior finish work starting tomorrow. I’ll tile floor cover and get the inside walls up during four-day holiday.

I want to perfect this tool shed before this summer because of Western Turf. Two years ago, Korean Turf planted on my garden was peeled off by me. Afterwards, my garden have be bald patch.

This slideshow is archival record of pictures. I knew two-by-four method with building this tool shed. Of course, I can’t build a house that humans live in. A size of this tool shed is my limit. And ... and there is the important thing to remember. I can’t build without my wife. She designed this. I only did physical labor.