티스토리 툴바


HTML(Hypertext Markup Language)은 문서를 위한 용도개발된 언어입니다. 이를 인터넷 상에서 사용하기 위해서는 HTML 문서를 가져와서 전달하는 프로그램이 필요합니다. 이러한 프로그램을 웹 서버라고 부릅니다. 사실 웹 서버라고 해서, 대단한 프로그램은 아니고, 컴퓨터에 띄워 놓으면 인터넷을 통해 HTML 문서를 전달하는 프로그램입니다.

 

  웹 서버의 기본 기능은 위의 그림과 같이 HTML문서를 가져와서 전달하는 것입니다. 그러나, 이러한 방법은 단순히 저장되어 있는 문서만을 제공하기 때문에, 다양한 서비스(예: 이 메일, 게시판, 주식정보 등)를 제공 할 수 없습니다. 예를 들어 주식 정보를 제공하는 사이트가 있다고 생각해봅니다. 문서의 내용은 시간에 따라 새로운 내용이 업데이트 되어야 합니다.

 

  위의 그림은 1월 7일과 8일의 결과가 다릅니다. 즉, 하얀색 글씨는 고정되어 있는 글씨이지만, 노란 색 글씨는 실시간으로 업데이트 되어야 하는 부분입니다.

 

<HTML 문서를 가져오기> - 일반적인 방법

  하지만, 주식 서비스와 같이 실시간으로 내용이 변해야 하는 경우에는, 위와 같은 방법으로는 사용이 어렵습니다. 그래서, 프로그래머들은 필요할 때마다 프로그램을 통해 HTML 문서를 작성하는 방법을 생각해냅니다. 주1)

<프로그램으로 HTML 만들기> - CGI 방법

  예를 들면, 아래와 같은 프로그램을 통해, 메시지를 만들게 됩니다. .

 

<프로그램으로 HTML 만들기> - 간단한 프로그램 부분

  날짜와 가격은 변하는 수(variable)이기 때문에 따로 '$날짜'와 '$가격'과 같이 따로 받아오게 됩니다. 이 값들을 바탕으로, 웹 서버는 HTML로 텍스트를($output)을 직접 만들어 전달합니다.

 

  즉 위와 같이, 문서를 달라는 요청이 있을 때, 문서를 직접 조립해서 주는 것이지요. 이러한 방식으로 웹 페이지를 만드는 방식을 CGI(Common Gateway Interface)라고 부릅니다. 이러한 패러다임은 단순히 문서를 제공하는 것에서 확장되어, 다양한 서비스(이 메일, 게시판, 뉴스 등)를 제공할 수 있게 만드는 기반이 됩니다. 다양한 웹 프로그래밍 언어들(PHP, JSP, ASP 등등) 또한 이에서 파생되었다고 볼 수 있습니다. [1]

웹 프로그래밍의 가계도 - 서버 [2]

CGI 식으로 웹 서비스를 만들기 위해서는 고려해야 할 사항이 많습니다. 미리 약속된 웹 규격도 맞춰야 하고 (HTTP), 성능도 나와야 하고, 사용자에 대한 정보도 저장해야 하고(Session), 확장성도 고려해야 하고, 보안도 생각해야 합니다. 사실은 이것 외에도 고려해야 할 사항이 꽤 있습니다. 그에 비해서, 웹 프로그래밍 언어(예: PHP, JSP, ASP)들은 위에서 열거한 기본 기능들을 기본적으로 제공하면서, 좀 더 쉽게 사용할 수 있는 편의성과 함께 자신들만의 장점들을 제공합니다. 주2) 주3)

  예를 들어 찜닭을 만든다고 생각해 보겠습니다.
(1) CGI 식으로 만든다면…… 먼저 닭부터 잡아야 합니다. 그리고, 털도 뽑고, 양념도 어느 정도 직접 만들어야 합니다.
(2) 웹 프로그래밍 언어 식으로 만든다면, 슈퍼에서 닭과 양념장을 사서 쉽게 만들 수 있습니다. 심지어 어떤 제품들은 전자레인지에 데우기만 하면 완성되는 제품들도 있습니다. (예: Ruby on Rails)

  그래서, CGI가 나쁘냐고 물어보신다면, 꼭 그렇지는 않습니다. CGI식으로 찖닭을 만드는 경우 시간도 오래 걸리고, 만드는 사람에 따라 맛은 보장되지 않습니다만, 반대로 환상의 찜닭을 만들 수도 있습니다. 동일하게, 전자레인지용 찜닭의 경우는 쉽게 만들 수 있고, 일정한 맛은 보장되지만, 품질을 어느 정도 포기해야 할 수도 있습니다.

  다음 이야기에서는 내가 입력한 정보(예: 아이디, 패스워드)가 어떻게 서버에 전달되는지, 그 방법에 대해서 살펴보겠습니다. :)

[1] CGI에 대한 내용의 WIKI
http://ko.wikipedia.org/wiki/%EA%B3%B5%EC%9A%A9_%EA%B2%8C%EC%9D%B4%ED%8A%B8%EC%9B%A8%EC%9D%B4_%EC%9D%B8%ED%84%B0%ED%8E%98%EC%9D%B4%EC%8A%A4

[2]http://upload.wikimedia.org/wikipedia/commons/e/e4/Web_development_timeline.png

  주1) 실제의 서버에서는 요청이 있을 때마다 매 순간 페이지를 생성하지는 않습니다. 계속 동일한 내용을 보내주어야 한다면, 매 순간 HTML 문서를 새로 만드는 것이 아닌, 이전에 미리 만들어놓은 HTML문서를 돌려줍니다. 이 방법을 캐쉬(Cache)라고 합니다.

주2) 엄밀히 말하면, 웹 프로그래밍 언어가 기본 기능을 제공하는 것이 아니라, 웹 서버(Web Application Server)나 서버 모듈이 제공한다고 볼 수 있습니다.

주3) 각 웹 프로그래밍 언어들은 자신만의 장점들을 가지고 있는 경우가 많습니다. PHP(Personal Home Page Tools)은 누구나 쉽게 만들 수 있도록 개발된 언어이고, ASP는 윈도우(.NET) 환경에서 사용되도록 고려되었습니다. JSP는 JAVA기반으로 어떤 컴퓨터나 OS(Linux, Windows 등)에서도 잘 동작합니다.

저작자 표시 비영리 변경 금지
Posted by kkckc

초창기 웹은 단순히 멀티미디어 문서의 작성과 이를 공유하기 위한 목적으로 만들어졌습니다. 웹을 구성하는 언어인 HTML(Hyper Text Markup Language)는 1980년대에 처음 아이디어가 나왔지만, 1991년에야 처음으로 시작되었습니다. [1] 서비스가 만들어 진지 20년이 되지 않는 것이지요. 이러한 웹의 나이는 컴퓨터 시스템의 역사 속에서도 상대적으로 어린 편에 속합니다. 그러나, 1980년대 이후의 개인용 컴퓨터(PC)의 보급과 1990년대 인터넷의 폭발적인 성장 앞에서 웹은 가장 대중화된 서비스로 자리잡습니다.

 

1990년 ~ 2008년 세계 인터넷 사용자수 [WorldBank]

 

웹에서 사용되는 언어인 HTML(HyperText Markup Language)의 기본 기능은 '(1) 스타일(예: 밑줄, 굵게)이 있는 문서 + (2) 문서간 링크' 라고 생각하시면 큰 무리가 없을 것 같습니다. 그렇다면, 문서에 스타일이나 링크를 어떻게 저장하는 것일까요? 옷을 사면 옷에 태그(꼬리표, Tag)를 붙여서 태그에 옷의 크기, 가격 등을 따로 표시하는 것과 같이, HTML도 태그라는 방법을 통해 필요한 정보를 표시합니다. 아래 그림에서 <B>, <U>와 같이 텍스트에 따로 정보를 표시해준 부분을 태그라고 부릅니다. HTML은 미리 약속된 태그의 정보를 통해 스타일 및 링크를 표현합니다.

 

 

인터넷 익스플로러나 파이어 폭스와 같은 웹 브라우저를 통해 코드부분을 불러오면, 위의 그림과 같이 태그의 내용을 '해석(Interpret)'해서 보여줍니다. 기본적인 웹 브라우저의 기능은 인터넷에 있는 HTML 문서를 받아온 후 위의 그림과 같이 해석해서 보여주는 것입니다. 이러한 태그들의 사용 방법은 표준으로 미리 약속되어 있습니다. 예를 들면 <B>는 굵게, <U>는 밑줄 이런 식으로 미리 정해져 있는 것이지요. 어떤 사람이 <B>가 아니라 <BOLD>를 쓰고 싶더라도, 미리 약속된 표준들을 지키지 않으면 브라우저에서 이를 해석할 수 없게 됩니다. 국제기관에서는 이에 대해서 표준안(RFC: Request for Comments)을 만들었는데, HTML의 경우 RFC 1866 이라는 문서를 통해 사용법을 명시하고 있습니다. [2] 표준이라고 말하면, 뭔가 대단해 보이지만, 사실 설명한 것과 같이 "<B>라고 하면 굵게 표시하기로 한다" 와 같은 정해진 약속이나, "어떻게 표시하면 문제 생길 수 있으니 웬만하면 하지 말 것(Recommendation)", "이건 꼭 적어줘야 함(Mandatory)" 뭐 이런 내용들의 리스트랍니다. 사실, 태그 등은 표준에서 지원하지 않는 방법으로 작성 하더라도, 브라우저에서 지원한다면 기술적으로는 문제가 없습니다. 그러나, 편의성 측면에서는 문제가 생길 수 있습니다. 예를 들면 초창기의 브라우저들은 표준에 없는 태그들을 지원해서, 익스플로러에서 보이는 페이지가 넷스케이프 (파이어폭스의 전신입니다)에서 잘 안보이거나, 그 반대의 현상이 나타나기도 했습니다.

 

인터넷과 프로토콜

 

HTML은 텍스트(HyperText)를 태그(Tag)를 이용해서 정보(스타일, 링크 등)를 저장한 언어입니다. 그러나, 인터넷 상에서 HTML을 주고 받기 위해서는 정해진 규칙이 필요합니다. 프로토콜(Protocol)의 의미는 인터넷 상에서 미리 정해진 통신 규약을 의미하는데, 대단한 건 아니고, 미리 약속해 놓은 규칙입니다. 예를 들면, 철수라는 사람이 중국집 컴퓨터에 접속해서 "BBB"라고 보내면, 중국집에서는 "배고파"라고 해석하고, "볶음밥"이라는 응답을 보내기로 미리 규칙을 만들었다고 생각해봅시다, 이것도 일종의 프로토콜입니다. 프로토콜은 실제로 약속을 정하기 나름입니다. 표준을 만드는 사람들은 HTML문서를 인터넷 상에서 주고 받는 방식에 대해서도 표준 규약을 만들었는데, 이를 HTTP(HyperText Transfer Protocol)라고 부릅니다. [3] 풀어 이야기하면 "정보가 들어간 텍스트(HyperText)를 전송하는 프로토콜(규칙)"이라는 뜻입니다. 웹 브라우저에 주소 창에서 자동으로 HTTP라고 붙게 되는 것을 많이들 보셨을 텐데요, 바로 그겁니다! J

 

이 HTTP 프로토콜의 기본은 의외로 간단합니다. 내 컴퓨터를 클라이언트(Client)라고 부르고, 우리가 접속하는 컴퓨터(예를 들면 구글에서 서비스를 제공하는 컴퓨터)를 서버(Server)라고 부르겠습니다. HTML은 철저하게 다음과 같은 절차로 움직입니다. 주1)

 

(1) 클라이언트는 서버에게 HTML 페이지를 달라고 요청합니다. (용어로는 Request라고 합니다.)

(2) 서버는 클라이언트에 HTML 페이지를 넘겨줍니다. (용어로는 Response라고 합니다)

 

 

클라이언트는 무조건 능동적으로 요청하고, 서버는 무조건 수동적으로 1회 응답하는 것이 두 컴퓨터의 역할입니다. 메시지를 서로 주고 받는 것은 우리가 메신저나 카카오톡 같은 곳에서 메시지를 주고 받는 것으로 생각하면 무난합니다. (서버는 절대 먼저 나에게 말을 걸지 않습니다. 내가 말하면 대꾸할 뿐입니다! 그것도 말 걸 때마다 딱 한번씩만 대꾸합니다) 아래는 전송되는 메시지의 예입니다.

 

 

좀 더 쉽게 해석하면 아래와 같은 말이지요 :)

 

 

클라이언트는 필요한 페이지나 이미지 등이 있을 때마다, 위와 같은 방법으로 매번 일일이 서버에게 요청합니다. 다음은 실제로 메시지를 주고 받는 것을 캡춰한 것입니다. 주2)

 

 

 

위의 예는 텍스트를 통해 서버와 클라이언트 간의 Request와 Response 메시지의 전송을 보여주고 있습니다. 이러한 Request/Response 방식의 전송 방식은 단순하기 때문에, 본래의 목적인 문서를 전송하는 데에 최적화 되어 있습니다. 즉, 다시 말하면 HTTP가 제공할 수 있는 서비스의 한계는 분명합니다. 왜냐하면 서버는 무조건 클라이언트의 요청에 수동적으로 응답해야 하기 때문입니다. 서버는 클라이언트로 데이터를 직접 전송해 줄 수 없습니다. 예를 들어 웹으로 체스 게임 서비스를 만든다고 생각해보겠습니다.

(1) 사람1이 말을 움직여 움직인 위치를 서버로 보냅니다. (사람1 -> 서버)

(2) 서버는 사람1에게 잘 옮겼다고 응답합니다.

(3) 그러나 사람2는 내 차례가 진행되었는지 아닌지를 알 수 없습니다. 왜냐하면, 서버는 클라이언트로 직접 내용을 보낼 수 없기 때문입니다. (말씀 드렸듯이 HTTP에서 서버는 클라이언트의 요청에 대해서만 수동적으로 대답합니다)

 

 

이러한 명확한 한계는 웹을 통해 다양한 서비스(증권, 게임 등등)와 요구사항을 제공해야 하는, 현대의 웹 환경에서 액티브엑스(ActiveX)나 플래시(Flash) 등을 필요로 하게 되는 배경이 되기도 합니다.

 

다음 이야기에서는 고정된 문서인 HTML 문서로 어떻게 웹 서비스를 할 수 있는지, CGI(Common Gateway Interface)패러다임에 대해서 살펴보겠습니다.

 

주1) 실제의 HTTP 프로토콜의 규약은 문서를 저장하는 PUT, 문서를 지우는 DELETE 등의 여러 가지 액션을 가지지만, 일반적으로는 GET과 POST 명령이 사용됩니다.

주2) 윈도우의 command (cmd)에서 'telnet google.com 80'을 누르고 위의 Request 메시지를 입력 후 엔터 키를 두 번 누르시면 동일한 화면을 볼 수 있습니다.

 

[1] http://ko.wikipedia.org/wiki/HTML

[2] RFC 1866, HTML 2.0, http://www.rfc-editor.org/rfc/rfc1866.txt

[3] RFC 2616, HTTP 1.1, http://www.w3.org/Protocols/rfc2616/rfc2616.html

 

저작자 표시 비영리 변경 금지
Posted by kkckc

82. Persons VS People

UGLY: The system is now being used by 145 persons.

GOOD: The installed base comprises 37 people.

 

84. Feel VS Think

* Feel: only when the creature under discussion is experiencing an emotion

GOOD: Jade feels slightly soapy when you rub it.

* Think, believe, argue, and so on to denote intelligent activity.

GOOD: Helen thinks that computers can be extremely uncooperative.

 

87. Last

* You can run into problems when you use last, because the word is ambiguous

UGLY: The argument given in the last paragraph has been used for centuries.

GOOD: We shall now prove the theorem that we gave in the previous chapter.

SPLENDID: We shall now present the detail of the algorithm that we introduced in Section 11.2

 

88. Focus On

You should avoid overusing focus on. : 뭐 써도 되는데, 약간 위험할 수 있음

When you do use focus, be certain not to compound your sins by coupling it with upon

 

UGLY: Our discussion focuses on decision making under extreme time pressure.

GOOD: We shall concentrate on the positive aspects of marriage in this dissertation.

 

90. Around

* circa: 연대,  

BAD: The program uses around 4 MB of RAM

GOOD: The disk has approximately 4 MB available.

GOOD: Punch cards where in use years ago, circa the era of the flower children. 

93. Semicolon

The semicolon connects two sentences that are closely related to each other.

GOOD: This machine is difficult to use; for example, it crashes whenever you change windows.

 

94. Code: Use Other Font or something

UGLY: Use Procedure LoadSymptoms when you desperately need an illness.

GOOD: Use procedure LoadSymptoms when you desperately need an illness.

 

95. Comparatives

BAD: Unix was weaker in interprocess communication because its only facility for that activity was the pipe.

GOOD: Now, 4.3 BSD provides a richer set of facilities than that available previously.

 

106. Nonwords

* Do not use hyphen at all in most nonwords.

BAD: Use non-numerical analysis when you cannot obtain the exact values.

GOOD: Several nonnuclear sources of power are available.

 

107. Missing That

* Many people leave out that from sentences in which it belongs. The result is sloppy prose.

 

UGLY: Devon believes Max is sleeping late every morning.

GOOD: Max believes that Brian is a superb programmer.

 

108. All of

* longer term all of is silly when all alone will surface.

UGLY: Marina could not afford to spend all of her time driving back and forth over the hill

GOOD: Pat could not afford to spend all his money on the new mile-wide television set.

 

111. Issue

Far too many writer use issue as a catchall term. I recommend that you use more specific and more meaningful terms instead.

 

UGLY: Health-care issues are at issue in this year's discourse.

GOOD: Problems in health-care delivery and the lack of universal health-care insurance have caught the nation's attention this year.

 

113. So Called

* Wise writers avoid using it

UGLY: The so-called gold standard in this case is determined by common practice.

GOOD: The gold standard in this case is determined by a set of measurements locked in a secure vault.

 

114. Note That VS Notice That

* Note That: Strong Emphasis

* Notice that: for weaker emphasis, act or noticing

GOOD: Note that, when Max is relaxed and happy, BB climbs on his lap, rolls on her back, and wriggles invitingly.

GOOD: In the middle of a rainy morning, Holly noticed that the goats had been gnawing on the corners of the picnic table.

 

121. Not VS Rather Than

BAD: The logic example demonstrates modus ponens, not modus tolens.

GOOD: You should use proof by refutation, rather than resolution theorem proving.

 

131. Truncated Words

lab -> laboratory

memo -> memorandum

math -> mathematics, mathematical

ad -> advertisement

net -> network

phone -> telephone

 

135. Further VS Farther

* Farther: refers to distance

* Further: extents or degree

 

GOOD: "Well", reasoned Jan, "Don't write any further material into you get your brain plugged back in."

GOOD: "You're right," Lyn nodded. "I'll just sit a little farther away so that I can stop driving you batty"

 

저작자 표시 비영리 변경 금지
Posted by kkckc

51. Who Vs That

* THAT denotes nonhuman entities; who is correct word to use to denote humanoids of various ilks.

 

BAD: The scientists that designed this study method must have been a sadist.

GOOD: The programmer who designed this software deserves to reach Nirvana.

GOOD: The robot who delivered the hospital radiology films got lost and fell down the stairs.

 

* Use should use that for all objects and creatures that you do not consider to be remotely human.

BAD: Suresh was trying to identify the computer on the network who was causing all the trouble.

GOOD: Boris was trying to identify the function that would create the most gorgeous graphs for the demo.

 

52. Though

Either although or even though is preferable to the unnecessarily truncated though.

 

UGLY: Though the software is fast, the results that it produces are inaccurate.

GOOD: Although the machine is clumsy to use, its graphics capabilities are stupendous.

 

BAD: I am leaving you, though I love you.

GOOD: I am leaving you, even though I love you.

 

53. References to Parts

UGLY: Complete Step 3 before you enter Phase II.

GOOD: Sit on step 3, and ponder phase 2.

 

UGLY: In phase (II), we will measure the CPU burst times, ~~~ ~~~

UGLY: Test the algorithm that you developed in part (b) on three different data sets.

GOOD: Part c shows the history of various versions of the Unix operating system.

 

UGLY?: Figure 4a shows why virtual memory can be much larger than physical memory.

UGLY?: Figure 5.7a shows the page table ~~

GOOD: Figure 2(b) shows the transfer of paged memory to contiguous disk space.

GOOD: Figure 6.2(c) shows the steps in handling a page fault.

 

54. Dates and Times of the Day

* Use a comma after the day of the month when you give a date with the year.

UGLY: What happened on March 15 1022?

GOOD: August 9, 1991, is a special day for Lyn.

 

* Don't put a comma after a month.

UGLY: By the end of March, 1994, Lyn had not written a single word of her manuscript.

GOOD: By the end of October 1994, Lyn's book ~

 

* Should spell out first, fifteenth, and so on in a date, as else where

BAD: Lyn suffered a serious car accident on August 9th.

GOOD: For years, Lyn has found August ninth to be either wondrously good or appallingly bad.

 

* Hyphenate after mid- but not early or late.

BAD: This dress was stylish in the mid 1940s.

GOOD: Flappers where abundant in the mid-1920s.

 

* How to set a time

BAD: At two A.M. in the morning ~

BAD: At 23:00 at night, ~~

GOOD: At 9:30 P.M., on the night 

GOOD: By 21:00,

GOOD: At 6 in the morning, ~~

 

* Use small capital letters and periods for A.M, P.M. ~~

BAD: Max did not get home from work until 3 AM.

GOOD: By 3:00 A.M., all was well again ~~

 

BAD: In 4 BC, ~~

GOOD: By 2000 B.C., 

 

55. Reason Is Because

Do not use reason is because 

BAD: The reason Max's spanking-new machine jammed is because Red object ~~

GOOD: The reason the mail carrier has not come is that she was attacked yesterday.

GOOD: Boris sighed heavily and wiped his brow, because debugging was not always easy.

GOOD: The reason why Lyn eventually became slightly less hysterical is that the four musketeers.

 

56. With Terms

* Meet people rather than meeting with people 

UGLY: I would like to meet with you to discuss pointer types.

GOOD: I would like to meet you to discuss types pointedly.

 

* Visit People rather than visiting with them

UGLY: Holly visited with Misha while he lay ill in bed.

GOOD: Sachiko visited peter.

 

* Consult people rather than consulting with them

UGLY: I would like to consult with a decision analyst.

GOOD: Lyn would like to consult her personal decision analyst.

 

* place objects or people with each other, rather than together with each other.

UGLY: This table contains the addresses, together with the telephone numbers.

GOOD: This table contains the marketing targets, with the telephone numbers.

 

* Avoid using along with to mean as well as or simply with.

UGLY: Lyn packed in Max's briefcase the relevant disks, along with a banana and a handful of dried apricots.

GOOD: Max brought Lyn chocolate, as well as nectarines and mints, when they were working late together.

 

UGLY: Lyn took Red along with her when she went to visit Max at Lumina.

GOOD: Max took Lyn with him on his trip to Chile.

 

57. Equals

* You should use the term is equal to, and should avoid equals.

 

BAD: If x equals to y, then we have no more work to do.

GOOD: When x is equal to y, we exit the loop.

 

* You should be careful when you use the phrase greater than or equal to.  (also to, less than or equal to)

BAD: We set a greater or equal to b.

GOOD: We set z greater than or equal to p.

BAD: Let x be less or equal to y.

GOOD: Use a p value of less than or equal to 0.05.

 

58. Placement of Adverbs.

In general, you should place adverbs after the verbs that they modify, and usually should place them at the end of the phrase or clause to which they belong.

 

GOOD: Once you get to the podium, slowly walk through the door, even if your desire to rush in headlong is powerful.

SPLENDID: Once you get to the top, climb into heaven slowly.

 

THERE ARE NO SIMPLE, ABSOLUTE RULES HERE! NUANCES~!

 

59. US VS British spelling

US VS GB

afterward not afterwards 

..

..

 

60. Placement of Prepositions

Is is cruel to leave prepositions (with, for, to, from, under, on, in, and so on) dangling at the end of the clauses that contain them;

 

BAD: Lyn wondered whom she would be living with in Ladakh, and what she was waiting for.

GOOD: Max wondered for whom he would be cooking in Woodside, and for what he was worrying about such questions when he had several companies to run.

 

BAD: what did you pick that up from?

GOOD: From whom did you learn that trick?

 

61. Different From

BAD: Information is different than knowledge.

GOOD: A database is different from a knowledge base.

 

62. Callouts

* You should call out all figures, tables, programs, and boxes,  or other numbered blocks in text. 

 

GOOD: Figure 3.4 shows a camel after the final straw.

SPLENDID: To see an optical illusion, you should turn to Figure 5.6, on page 486.

 

* You should not include information about the provenance of a figure or table with the callout;

BAD: The network layer interact as shown in Figure 3.7; this figure is adaped from Russell [7].

BAD: The data for Table 7 were collected by graduate-student slaves; their accuracy is thus guaranteed.

 

63. Exclamation Point

UGLY: "Dammit!" screamed Max, "Why doesn't anyone understand that I just don't have a time?!"

GOOD: The earth moved! And then the waterbed collapsed.

 

64. Deduce VS Infer

Deduction: The general to specific

Inference: The specific to general

 

GOOD: Lyn knows that all men are marshmallows, and that Max is a man. Therefore, Lyn deduces that Max is a marshmallow.

GOOD: Lyn knows that living with Max is a riot, and that Max is a man. Therefore, Lyn infers that living with men is a riot.

 

65. Citations

It is important that you use a consistent style to cite you source. 

 

UGLY: Some times ago, Peter found Helen (Gorden, 1983); she has been organizing him ever since.

- A reader might think that, in 1983, Peter met someone ~~

GOOD: A previous study [Goldstein & Gorden, 1973] demonstrated that placing trust in authors is a necessary but risky policy.

GOOD: Arnold and Sterling [1994] report that bringing a port to market involves fast automatic conversion and tedious manual debugging.

 

66. The Fact That

The phrase the fact that is verbose, clumsy, dry, and overly formal.

 

UGLY: The fact that Red is immense is immediately evident when you meet him.

GOOD: The Red is breathtakingly handsome is immediately evident when he gazed into your eyes and purrs.

 

67. Cross-Reference

* You shall use the smallest-granularity place indicator available when you give a cross-reference.

UGLY: We shall discuss wombat mating practices later.

GOOD: We shall discuss the chemical analysis of crocodile tears in Chapter 7.

SPLENDID: We shall discuss how to remove a live mouse from a cat's mouse, without indicating a heart attack in any one of you, in Section 7.4.9.

 

* You should not give redundant information in a cross-reference.

+ Never use above or below

 

UGLY: The technique is described in the Methods section, Section 3.

GOOD: The statistical analysis that we used is described in Section 3.

SPLENDID: We described the study population in Section 3.

 

68. Proposals

* You should make it easy for your reader to cooperate with you.

- Write an Abstract

- Say why your work is important, and why your reader should fund it.

- Should be explicit about what you are proposing to do.

- not make commitments that you cannot keep.

- give the background to your work in terms of work done by other researchers or organizations, and of work done by you or your organization or laboratory.

- talk intelligently about why you are particularly well qualified to carry out the proposed work.

- talk intelligently about why your proposed work is the best approach by a relevant measure.

- specify precisely what you will deliver

- indicate what measures you will use to determine your success.

- Write authoritatively 

- provide a carefully thought-out budget that allows your reader to see at a glance how funds will be allotted.

- follow precisely the structure mandated by the funding agency or other oraganization.

- invite your reader to ask questions or otherwise to seek further information.

- before you begin to write a proposal that involves multiple actors - co-investigators, or subcontractors - you should clarify what roles everyone will play

- Plan the outline which everyone agree

- Multi-authored proposal, you should make up and agree to a page budget.

- set explicit deadlines for each person

- before the deadline, more than 2 minutes, you should make sure that your stuffs, printer, copier, stapler, car, so on, are working

- after you submit the proposal, you should do your best to forget about it until you get a response.

 

69. Better; Best, Worst

UGLY: This algorithm is better.

GOOD: This algorithm is faster.

 

70. Missing Words

You should use the various --- that indicates missing words and l----ters.

* 3-em dash (---) to indicate missing word

* 2-em dash (--) to indicate missing letters.

 

71. Aggravate (which is derived from the Latin aggravare, to make heavier)

GOOD: Drinking wine will aggravate your headache. (=making heavier)

GOOD: Smoking a Cuban cigar is likely to aggravate a cough.

 

Irritate means to annoy or provoke when the object irked is animate. 

(짜증나게[초조하게] 하다, 화나게 하다, 안달하게 하다(⇒ irritated))

GOOD: Max was irritated to find that he had lost his keys again.

 

72. Upon

Upon (which means up on) is only rarely the correct term to use; in most cases, the more elegant and simple on suffices.

 

UGLY: I shall discourse upon Silicon Valley formalisms in Chapter 5.

GOOD: We shall comment on the spit-happens phenomenon in Chapter 2.

 

UGLY: Maria and Geoff decided upon a control technique that used agendas in a separate element class.

GOOD: Malcolm and Gelareh agreed on a new control WME.

 

* Occasionally, upon is the term of choice.

GOOD: Lyn leapt upon her white horse and rescued Max from his distress.

 

73. Whether VS If

* Whether: Whether or not이 가능할 때

UGLY: Ted did not know if the variable n was an integer or a real number.

GOOD: Darlene did not know whether Bachmann's O notation couild be used with S(x), where x is a real number.

 

* In most cases where whether or not is correct, you should use simply whether.

UGLY: You can use the ID3 approach, whether you know what discrimination trees and features values are or not.

 

* You should use if when you are simply placing a constraint.

GOOD: If a=b, then go to step 4.

 

74. Sections and Heads

Detail

GOOD: Section I Introduction

GOOD: Section I Assessment of the Benefits of Qualitative and Quantitative Reasoning

 

* Parallel

BAD: Section 5 Whether to Have Sex

        Section 6 Sex Can Be Fun

        Section 7 Is Sex Dangerous?

 

GOOD: Section 5 Whether to Fall in Love?

          Section 6 Why Falling in Love Can Be Fun?

          Section 7 How to Avoid the Dangers of Falling in Love?

 

75. Comprise

* You should not use comprise to indicate that the parts constitute (or make up) the whole.

BAD: A person is comprised of one or many parts.

GOOD: A person comprises heart, soul, and mind.

 

* Never use the phrase is comprised of

BAD: The software package is comprised of numerous lines of buggy code.

GOOD: The software package comprises a number of useful tools.

 

76. In Order To

The phrase in order to is fusty and verbose.

 

UGLY: Judy brought Steve new shoes, in oder to protect the white linoleum.

GOOD: Lyn climbed a tree, to avoid fighting with Max.

SPLENDID: Red climbed the tree after Lyn, so that he could help Lyn to climb down.

 

77. Em Dashes: --- em dash

BAD: Max had many worries--his company, his house, his car, and his socks, so he tended to frown often.

GOOD: Max had many sources of joy---his joy, his research institute, his house, his gourmet dinners, and his three felines---so he managed to survive from one day to the next.

 

* Note that you should use em dashes, rather than commas, to insert a clause that begins with for example or that is.

BAD: Various birds, for example penguins and roast chickens, have had an illustrious history in the field.

GOOD: Various towers---for example, those of Hanoi---have featured largely as well.

GOOD: Max had all the necessities of life---that is, food, shelter, warmth, and on-demand snuggles.

 

* You should use one em dash if you wish to tack on an extra thought at the end of a sentence.

GOOD: Spencer also has many business concerns---his coffee company being the main one; nonetheless, he takes off every Sunday to be with Therese.

 

* Do not use more than two em-dashes

BAD: ~~~ -- ~~ -- ~~ -- ~~ -- ~~

GOOD: ~~~ (~~) ~~~ (~~) ~~

=> You can use an em dash to indicate interrupted quoted speech.

GOOD: Richard -- -- ~~~ -- -- ~~~

 

78. Eminent, Emanate, Imminent, Immanent

* Eminent: Outstanding

GOOD: Carver is an eminent scientist.

* Emanate: to issue forth from, or to spring from (발산하다)

GOOD: Carver emanates charm and brilliance

* Imminent: about to happen or impending

GOOD: Carver's imminent arrival sent Lyn dashing around the house.

* Immanent: inherent, or existing only in the mind (내재적인, 마음 속에서만의)

GOOD: Carver was not sure what it would mean for him to be an immanent guest in Lyn's house.

 

79. Expect but non-arriving Agents

* to be fair to your reader, you should name whom you intend to name, and should deliver on any promises that you make about the forthcoming identification of an agent.

 

BAD: To solve the problem of derangements, generating functions were used by Max.

GOOD: To introduce power series, Max defined the general binomial series B(z) and the generalized exponential series E(z).

 

80. Its VS It's

* its: belonging to it

GOOD: Lyn was puzzled, because, if a rule's specificity is the number of value tests performed on the LHS, then what is its sensitivity?

 

* it's: it is

It's been a great year for workaholism in the Dupre-Henrion household.

저작자 표시 비영리 변경 금지
Posted by kkckc