懶惰宗他力本願寺

自らの力によらず、何かの力すなわち他力を頼み怠惰な生活と往生を願うことを要旨とする懶惰宗の本山、及び架空の宗派。

Topics in the 4th week of June

f:id:hanakowl:20170530015424j:plain
6月4週


==========

6/24 SAT

〆の言葉はごめんなさい<<<ありがとう
>> 謝罪文の〆に「ありがとう」(または「よろしく」)が使われていると好印象である。
こう感じたのは、ある2人が同じ内容について謝罪した文章を読んだときだった。
指摘を受けた部分について、「申し訳ない」という意思は文中で十分伝わっているため、〆まで「この度は申し訳なかった」とされると、指摘した側も言いすぎた人のような雰囲気が醸し出される。しかし、「勉強不足ですまない、参考にして成長していくんでこれからもよろしく」といったような〆の言い回しの方は、なんとなく丸く収まった感が醸し出されていたのである。コミュニケーション上級者はどう感じるのかはわからないが、少なくとも自分は意識的に〆を「ごめんなさい」にしない方向で文章を書くようにした。
もちろん、些細なことではなく割とでかめの間違いの場合は謝罪一辺倒ルートとなるだろうが。


プログラミング学習
JavaScript 学習コース基礎編
prog-8.com


英語学習
C 1. Seaside Hotel is now recruiting a manager for their newly opened branch in Urayasu.
B 2. The new city regulation pertains only to companies with 100 or more employees.
A 3. Fountain Investment could possibly achieve the goal of a 30 percent reduction in operational costs for the year.
C 4. For a short time, Greg Smith lived in the Village of Caronport before moving to Vancouver island at the age of eighteen.
B 5. Gary Anderson was honored by family and friends at a party celebrating his retirement after nearly 35 years of service.
C 6. To apply for a patent, several countries still require that all documents translated into their own languages.
B 7. Future Software is a company that produces language learning materials for which it has received numerous awards over the past ten years.
D 8. The lounges on the third floor are reserved for business and first-class passengers with a same-day return ticket.
C 9. Employing more than 1,000 people, Sunshine Manufacturing is one of the most important businesses in the town of Bicol.

A 1. Before submitting a request, please refer to the vacation policy printed in the employee manual.
D 2. As Ms. Smith has already received a permit from the city, she looks forward to beginning construction of her driveway soon.
A 3. Apple Airways announced that it will temporarily reduce the number of weekly flights to Bangkok from June 1.
B 4. The Tokyo Tribute is offering 50 percent off home delivery for new readers when they sign up for a year's subscription.
A 5. A passenger criticized the travel agency for failing to respond quickly to her request for discount tickets.
C. 6. Mail carriers are encouraged to wear comfortable shoes as their work involves considerate walking.
A 7. The DroidPhone 9000 is built for durability and should withstand being being dropped from heights of up to seven meters.
D 8. The manager hired additional employees to assist in the store during the busy summer months.
A 9. Beyond the dwindling supply, the multinational oil giant is facing a growing number of risks that could jeopardize its future.
A 10. To help us assist your business further, please complete a customer satisfaction survey.

6/25 SUN

プログラミング学習
codeprep.jp

配列を文字数多い順でソート(馬鹿みたいに詰まった)

初期状態
function sort(array) {s
  return array;
}

偶然辿り着いた結果
function sort(array) {
  array.sort(function(a,b) {
    return a.length > b.length ? -1 : 1;
  });
  return array;
}

function の使い所についていまいち理解できていない模様(それ一番まずいのでは?)。
Google先生に色々聞いてみたが、結局バチッとした答えは見つからなかった。試行錯誤していたらコードが突然通っただけ。


配列内の最大値をreturnする

初期状態
function max(array) {
  return array[0];
}

結果
function max(array) {
  var result = array.reduce(function(previous, current, index, array) {
    return previous > current ? previous : current;
  });
  return result;
}

英語学習
A 11. Premium Luxury Products experienced another year of strong growth, confirms its readership in the cosmetics industry.
B 12. Because personal computers becomes outdated so rapidly, many large companies are choosing to lease.
B 13. The newly appointed president has already promised to resign if the company does not reach profitability by the end of the year.
B 14. Because the warranty has expired already, the dealer will not be able to cover the repair cost.
C 15. Ms. Adams orders office supplies on the third Friday of each month, so you should contact her if you need any.

B 16. Yesterday morning, the district supervisor will drop by a local store for her monthly visit.
C 17. Attracted by lower rent and convenient access to public transportation, Magic Media Company will relocate to Tarrytown next spring.
B Twenty one percent of those surveyed believe house prices in Richland will rise by 10% or more in the next twelve months.
C Designers at Star Electronics are exciting about the prospect of winning the prestigious award.
C Transcripts of all the presentations that were given during the conference can be found on the official Web site.

A The information that you requested will be send to your e-mail address within 24 hours.
D The addition of a new dish to the menu, featuring local food, have resulted in favorable feedback from customers.
B A wonderful antique chair was contributed to the museum by an anonymous donor.
C Audio One has been struggled this year despite the fact that personal music players are selling at record numbers.
D Nippon Noodle sells most of its products online, but some of them can also be bought at Asian grocery stores.

A Mr. Murphy sent a letter of complaint to the manufacturer, as two of the garden lamps he received were broken and did not operate properly.
C According to a national survey, purchases of cars fell 0.2 percent, while money spent on utilities was unchanged.
B First State Bank has streamlined its procedures for business clients, focusing on simplifying the process for obtaining short-term loans.
A Participants in last week's business trip have required to submit the travel expense report as promptly as possible.
A Residents of Yankton recently received a letter from the mayor inviting them to attend a community meeting on May 1.

間違えすぎにも程が