Log
-
[TOEFL/Writing] Question 2 : Discussion of advertising charitable work
Not only should we use sad images but also we should use hapy images. First of all, using only sad images could trigger discomfort. However, as Clair mentioned, using only happy images is not enough to raise donations. As a middle ground, people should try this strategy: using sad images first in order to help people feel sorry and then using inspirational images after the donation. This story l..
2025.05.30 22:36 -
[TOEFL/Writing] Question 1 : Discuss Communal Online Encyclopedias
First WritingThe writer and the lecturer talked about communal online encyclopedias (COEs). The writer talked about the problems of COEs and the lecturer talked about the benefits.First, the writer mentioned that contributors on COEs are sometimes nonspecialists. They lack academic credentials, and for this reason, they can write inaccurate information. However, the lecturer argued that traditio..
2025.05.26 22:49 -
[TOEFL/Writing] Question 1 : Sea otter
The writer and the lecturer argued about sea otter populations problems. The writer mentioned sea otter populations are declining because of pollution, and the lecturer has a different interpretation of the writer's evidence. First, the writer said that pollution like oil rigs and industrial chemicals are a cause of the declining sea otter populations. Consequently, pollution makes sea otters h..
2025.05.24 07:46 -
[30 Days of JS] Interval Cancellation / Promise Time Limit
/** * @param {Function} fn * @param {Array} args * @param {number} t * @return {Function} */var cancellable = function(fn, args, t) { fn(...args); const intervalId = setInterval(() => { fn(...args); }, t); return () => clearInterval(intervalId);};/** * const result = []; * * const fn = (x) => x * 2; * const args = [4], t = 35, cancelTimeMs = 190; * * const start = performance.now(); *..
2025.05.18 10:41 -
[30 Days of JS] Sleep / Timeout Cancellation
/** * @param {number} millis * @return {Promise} */async function sleep(millis) { return new Promise(resolve => setTimeout(resolve, millis));}setTimeout : makes delay(callback, delayTime) : callback - 딜레이 후 실행시킬 함수 / delayTime - 얼마나 딜레이 시킬 것인가/** * @param {Function} fn * @param {Array} args * @param {number} t * @return {Function} */var cancellable = function(fn, args, t) { const timeoutId..
2025.05.15 10:54 -
[Github] CLI로 Push 하기
VSCode 터미널 열기 : ctrl + `Branch 없이 Main에서 Push 하는 경우git add .git commit -m "Your descriptive commit message"git push origin main
2025.05.15 06:55 -
[30 Days of JS] Memoize / Add two promises
/** * @param {Function} fn * @return {Function} */function memoize(fn) { const cache = new Map(); return function (...args) { const key = JSON.stringify(args); if (cache.has(key)) { return cache.get(key); } const result = fn(...args); cache.set(key, result); return result; };}Map()input으로 들어온 것들을 pair로 만들어서 순서대로 기억하도록 만들어 줌JSON.string..
2025.05.14 09:13 -
[TOEFL/Writing] Question 1 : Discussion of smart cars
My WritingSmart cars are continuously communicating with a centered-control system and dribe themselves using a lot of sensors. However, a new technology always has some problems and the writer and lecturer are discussing the pros and cons of smart cars. First, the writer argued that smart cars can prevent accidents with a lot of sensors. These sensors can measure most things: distance between c..
2025.05.12 23:32