It was my last day of work and I'm happy I finished my remaining tasks on time. And now, it's time for me to move on to my next journey. The only reason I took the job was for me to get enough experience to build my own app. So I already planned it that I will quit my job after 3 years since I signed the 3-year bond contract. Didn't know that it was tough having one source of income but I think I'm good since I'm still living with my parents... There are times that I compare my income and life to my coworkers, same age brackets and shit... which resulted for me to lose my focus and my mind shifted a lot of times, and I think it's a waste of time to repeat it again. But... at the end of the day... I'm just too lazy I guess and I think that a day job is not suited for me. I'm more of the build one app and make it rain type of guy... Don't even know what to do now!!! I guess I'll try playing stocks and multiplying my money while trying to build my ...
Btw if you want the more in depth version of this tutorial then checkout this youtube video:
It's amazing isn't it? The computer can now even speak with just 2 lines of codes.
And here are the tools that we need:
First, let's create a project folder and a file named index.js. Then open a cmd on that folder and type the command:
npm initEnter the details it needs or just press enter till a file named package.json is created. After that we continue by installing the Say library.
npm i --save say
Remember: In most cases, in coding you don't want to reinvent the wheel since you'll just waste your time and second you'll have more bugs (they went this path too but since they got first they already fixed most of the bugs) and we don't want the stress.
const say = require('say');
say.speak("Hello World!");
It's amazing isn't it? The computer can now even speak with just 2 lines of codes.
Life is really simple, but we insist on making it complicated. - Confucious
Comments
Post a Comment