Skip to main content

Posts

Showing posts from July, 2020

My last day of work and hoping it's a beginning of something new

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

Creating a simple text to speech program like Wall-E with nodeJS

Creating your own WALL-E First of all to introduce you to what nodejs can do, we will start with a small project and use an available third party library named Say.js  for our text-to-speech program. With this you can build your own WALL-E. First let's install the libraries we need for this project:  npm i --save say npm i --save lodash Let's import them using: const say = require('say');  const _ = require('lodash'); let's try if the say library is working by making the computer say Hello World (literally of course!!!) say.speak('Hello World'); 😮 It does work right? Now remove that line and let's create something like a speech logger so that everything we ex'ed on our todo list, the computer will let us know by telling it to us loud and clear using the say library: What this does is we wrapped our say.speak in a promise so that everytime we call the logger the computer will stop and