Nov. 26 News, Articles
The decreasing semiconductor
: It is a crucial material for supply chain
Southeast Asia is having a hard time with the Covid,
-> Since the factories are gathered in those areas, now, the production line is slowing down.
What should we learn to earn much money in Data Science?
-> Linear Regression
-> How to plot things
Nov.25 News, Articles
News1
Russian troop build-up near Ukraine
Russian: West is intensifying the situation by providing weapons to kyiv
News2
Thanks Giving: Thanking for god for the country. Pilgrims brought food to indigenous people and celebrated together.
News3
Immigrants trying to move to developed countries.
Russia and Berarusie
Discussion1
Alien in economics: The sum of the trading profits and losses are totally minus as the whole world. This is because people more precisely check how much they imported more than how much they exported.
The unknown side of the economy is the risk we should care about
Discusion2
Poeple have skepticism toward advancement, changes in their mind. Poeple tend to see the same thing, not distinguish the difference.
Discusion3
Be stronger rather than being smater.
Article by Josh Lachkovic
Lessons learned from his failure in his startup
1, Do not make excuses for PMF (Product-market fit)
3, Think too much in the future state.
Ex) We will be able to pay back next year once we have 5000 customers
4, He loved his solution, not the problems
5, He loved his first idea
Nov 20 Reflection
Avoiding pain is more painful than the pain.
Think before react
You have to find the responsibility that drives you.
People don't remember what you did.
The ability to receive a lot of feedbacks
Pain, hurt -> stop people from receiving feedback
short-run: lose your face
long-run: your future
Take feedback as pressure, challenge.
Ego problem -> They don't know what they want
If you don't know how to react, you don't have responsibility
They are not aggressive enough to do
If I have a problem, chat in the group chat
Come up with solutions not to let it happen again
Find the root problem
Being aggressive with how you learn
YOU ARE JUST NOT TRYING TO FIGURE OUT YOURSELF
what's the difference between me and people who are ahead of me.
Life is descending escalator
If you put problems on other people, you feel good but you don't get good
If you feel you don't want to face a problem, that's why you have to deal with it.
Observe and reflect on yourself
Nov 19 Reflection
Distinguish between self-awareness and self-talk.
Self-awareness is a direction you have to go and self-talk is insurance.
With self-awareness, you can find where you have to improve.
People who confront distress, they usually do self-talk.
Introspector/ Aware/ Seeker/ Pleaser
change your reference point can change your awareness.
Look at people above you.
Self-aware people know what they are doing, why they are doing
First Step: Do actions, try to explain the harsh reality
The reality of me:
I haven't worked yet -> Even I knew I needed the experience to work a part-time job, but I assumed that I was the smart guy who can do his own business, which was not true.
My weakness: when I say I do something, I do, but I do really slowly unlike passionate entrepreneurs. I do not have their mid-set yet, but I just assuming I'm good enough because that would make me feel good for the time being.
I'm not so much disciplined, but I know I keep improving. Maybe I should try other ways to improve myself.
I know I haven't accomplished any big projects yet.
I know I haven't studied how to earn money and how to save money and how to spend money.
非同期通信1
同期通信、非同期通信の違いは、
非同期通信においてはブラウザを再読み込みしなくても、ブラウザに表示される情報が自動で変わるという点である。
これを実現するには、JavaScriptを用いる。JavaScriptはブラウザ上でのポインターの動きによってメソッドの効果を発揮できる。
非同期通信の流れは、
1、ポインターの動きにJavaScriptが反応
2、得た情報をコントローラーに受け渡す。
3、コントローラーはモデルなどとやり取りをし、サーバー側からレスポンスが返ってくる。
4、JavaScriptがレスポンスを元に、ブラウザのHTML,CSSを改修してユーザーに表示
今回は、1と2について書く
1
HTMLの要素をdocumentを用いて取得し、それの動きによってJavaScript内のメソッドを動かす。この時、ユーザーによって送られたデータがある場合、まず、このデータはjson形式で送られる。そしてFormData(フォーム)という形式でインスタンスにこのデータを与える事ができる。
2
XMLHttpRequestを用いてサーバー側と通信を行う。まず、XHRインスタンスを生成し、このインスタンスに操作を行わせる。XHR.open()というメソッドによってHTTP通信のメソッドや、パス、そして非同期通信かどうかという情報を与える。また、XHR.send(データ)によってデータを送る事ができる。