Posts

Showing posts from February, 2021

21/02/2021 - complaint wall, group work communication difficulties

one bad deed begets another done with my complaint to mcdonald's page via PM. i was sick of the staff's rudeness in terms of both her actions eg telling me to move back brusquely, and then shutting the door in my face, possibly to save aircon for the restaurant, and her speech response 'you can tell mgmt directly if you dont agree with their rules', 'this is my name tag'. ok, since you are so bold, dont mind if i do. i just think you have terrible attitude and i wish to voice it to your mgmt besides my original suggestion about seating 1 pax at the partition 1-2pax booths. what can i say recently there was a group project where i did my best to give good feedback for the rest but unfortunately my own subgroup didn't do to well. didn't have good communication with the team mate.

20/02/2021 - react hangman game

Image
 finally completed the react showcase component for hangman added in keyboard buttons as i realised for mobile there's a missing keyboard. learning reflections react pass handler function to render https://reactjs.org/docs/faq-functions.html react hooks handler windows event useeffect window event listener + usecallback handler https://stackoverflow.com/questions/55565444/how-to-register-event-with-useeffect-hooks

16/02/2021 - hardsell and negotiation

when you face more than one, group pressure when there is a barrier, like a counter set your limits beforehand ask to defer and insist beware the free gift and law or reciprocity shaming and compensation with prideful moves when the sales person is too good, your conversation is all ya, ya, ya when you like and trust the sales person when the sales person refers to you as being similar to someone close to them

16/02/2021 - clean code in javascript

style guide   https://www.amazon.com/Maintainable-JavaScript-Writing-Readable-Code/dp/1449327680 section on testing https://www.amazon.com/Web-Development-Node-Express-Leveraging/dp/1492053511 common errors https://rollbar.com/blog/top-10-javascript-errors/

15/02/2021 - narcicism spectrum

https://openpsychometrics.org/tests/NPI/ https://openpsychometrics.org/tests/NPI/results.php?r=10,2,1,0,2,1,1,3

13/02/2021 - guy winch emotional first aid (rumination)

Image

12/02/2021 - cny

 had spaghetti aglio olio for cny eve i think i cooked too little, abit hungry now cny is a no event as it is covid and mum is keen not to visit spent sometime pushing my code folders to github repos not too sure about version control still, did try out cloning and updating. but hazy about pulling in github itself, i accidentally delete my repo

11/02/2021 - git commands for remote repo

git commands inital upload: git init --create github repo, copy the url create .gitignore, add in /node_modules, .env etc git commit . -m '<msg>' git remote add origin <url> git checkout -b <branch> git push origin <branch> deleting folder: (in case you added node module by accident) git checkout <branch> git rm -r <folder> git commit . -m '<msg>' git push origin <branch> adding/deleting/checking remote: git remote add origin <url> git remote -v git remote remove origin updating file: git commit . -m "<msg>" git push origin <branch> cloning from remote to local, updating changes from local to remote: --within working folder git init git clone <url> --> you get a subfolder with the cloned repo cd into the cloned folder git commit . -m "<msg>" git add remote origin <url> git fetch origin git push origin <branch> amend single file: git commit <file> -m 

06/02/2021 - mental health

i have not been sleeping well recently. dont know why am worried about the impact on my mental health not exercise for a couple days now. maybe i'll do it tomorrow. when i get depressed or demoralised i feel so fatigued and dont feel like doing anything of course activity does dispel it, but first i need some incident to lift up my mood so i can get back in action nowadays, instead of the word depressed, i use the word demoralised