Daily Update - 08/03/2022
Hi everyone, I am back!
This is my daily update. Today I didnt work and just stayed at home for the whole day. Pretty boring but somehow comforting!
It seems that it's hard for me to sleep for the past few months now. I usually get up being tired and soggy as if I didnt sleep the night before. I have to take sleeping pills daily. I think exercise helps. Maybe it's the anxiety or the depression, I am not really sure.
Anyway, today I learnt something new. I learned about Rest API, how it is structured and how to code in Express and how to create dynamic HTML template using EJS. EJS is pretty cool but I am not crazy about the tag ( <%= %>, <% %>, >% %<). It sucks because I have to manually add them on the javascript code I have in the .ejs files. I guess I like PHP in this case then as PHP only needs echo to spit out HTML texts.
However, Rest is cool, including Get (get data for the client), Post (receive data from the client to the server), Patch (update the data), and Delete (destroy the data).
I think the only advantage using EJS and Express is it facilitates the process. It does not necessarily make coding easier but it makes the process of creating the server and adding HTML texts faster.
That's the only thing I would compare to PHP. I still like PHP better though.
Also, today I start the second day of learning React.js. Let say, I am not too sure yet as I am still new to React. It uses JSX and React Virtual DOM. I am not really solid on those term but I know React has Babel as the transpiler to convert JSX code into vanilla javascript. I am still stuck at some points but hopefully I can fix it by tomorrow.
I didnt practice Leetcode today, which I should. My coding skill is still below average.
Oh I am also supposed to pick a project for Software Engineering and one for Data Science. I thought about Lip Reading, which is pretty cool. Maybe I'll do some projects that target the disabled (the mute, the deaf, the blind), making technology more accessible to them.
I should buy a few technical books to learn. I thought I can learn it online but staring at those electronic devices for the whole day already bleeds my eyes. So I am trying to find a way to study those in-depth without having to use my laptop. Maybe I should borrow books from UTSA library if they have. If they dont, I probably have to buy them from Amazon.
I cooked today too. Very fast. A little more than one hour as I finished the 13th episode of Boys Over Flowers. So I made sure I have food for work for the rest of the week.
Anyway, I just started to read a book today. It's called "On Earth We're briefly gorgeous". It's sad, really sad. I just read the starting chapter and already felt a deep sensation of loneliness and sorrow. But I like it. I'll tell you more about it when I get deeper!
That's all I have today! Good night!