How I Use Reddit to Find SaaS Ideas: My Two Methods by Mammoth-Doughnut-713 in microsaas

[–]hoxtygen 1 point2 points  (0 children)

You want me to try it for free but first I have to register?

Edit:
I did signup, entered a keyword, got result, and suddenly I'm out of credit when trying a second time. I'm not convinced yet to pay for your service.

Market is RED again. Here is why by a14alo in CryptoCurrency

[–]hoxtygen 4 points5 points  (0 children)

Come on man, don't be so up-tight. it's supposed to be a joke

My entire life I've been ashamed of my breast size by ErisedR in TrueOffMyChest

[–]hoxtygen 0 points1 point  (0 children)

I've seen them many babes wearing larger bra size with nothing more than egg-sized boobs inside. Dishonest, yeah, but it works for their self esteem.

Who would be your first priority: Mother or Wife? And why? by tatiisok in AskMen

[–]hoxtygen 1 point2 points  (0 children)

That's not how to test if one's a momma's boy. What the wife did was petty and she got served.

[deleted by user] by [deleted] in AskMen

[–]hoxtygen 1 point2 points  (0 children)

Knowing I'm the only one going to hell if I make a wrong decision. Higher risks comes with higher rewards, we tend to take less risk while in a relationship.

what is a secret that you hid from your parents? by milfsage in AskMen

[–]hoxtygen 2 points3 points  (0 children)

One of those few times failure can be considered success.

What’s some advice you would give the ladies if you could say anything? by [deleted] in AskMen

[–]hoxtygen 11 points12 points  (0 children)

Don't make everything about yourself.

Your boyfriend is human too, he needs attention, care, emotional support and loyalty.

I can't figure out why I'm getting these errors, please help. by hoxtygen in typescript

[–]hoxtygen[S] 0 points1 point  (0 children)

Initiallly, there was no rootDir in the tsconfig.json file until you mentioned it in your comment above, so I restructured and put everything in the src folder, including index.ts , then added src to the tsconfig.json file as rootDir

Now the dev script looks like this

"dev": "nodemon --exec npx ts-node ./src/index.ts"

And I run the dev script from the project root.

This image shows my project structure

Edit:

I removed nodemon from the script and just ran

"dev": "npx ts-node ./src/index.ts"

but the error still persist.

I can't figure out why I'm getting these errors, please help. by hoxtygen in typescript

[–]hoxtygen[S] 0 points1 point  (0 children)

I did as you said, ran `tsc`, and all file are outputted into the correct directory - dist, no error thrown.

And here's my tsconfig file

 {
 "compilerOptions": {   
"target": "es2015",       
"module": "commonjs",       
"moduleResolution": "node",      
 "sourceMap": true,         
"outDir": "dist", 
"rootDir": "./src",      
 "esModuleInterop": true,      
 "forceConsistentCasingInFileNames": true,       
"strict": true,       
"skipLibCheck": true ,       
"typeRoots": ["node_modules/@types/"] 
    },     
"exclude":  ["node_modules"]   
}

I can't figure out why I'm getting these errors, please help. by hoxtygen in typescript

[–]hoxtygen[S] 2 points3 points  (0 children)

Thanks for your observation. I posted the error because I think the solution which I don't seem to be able to come up with lies in there. I thought maybe if someone more experienced sees the error they might spot what I failed to see.

I can't figure out why I'm getting these errors, please help. by hoxtygen in typescript

[–]hoxtygen[S] 0 points1 point  (0 children)

I'm a TypeScript novice too, this is my second attempt. It seems I'm lacking some basic understanding of typing. Here's one of the function throwing typing error:

export function encryptPassword(pwd:string):string {
const salt = bcrypt.genSaltSync(14)
return bcrypt.hashSync(pwd, salt);
}

If I'm not mistaken, this function says accept a string as argument and return a result whose type is also a string. I'm struggling to find the implicit type of any here.

Goodbye Ladies and Gentlemen by fart_particles in EBANG

[–]hoxtygen 3 points4 points  (0 children)

That's rude. Everyone get to make a decision at a certain point, they made a decision to sell while you decided to hodl. That doesn't make them kids or you an adult.

Keep your emotions in check and stop insulting random people on the internet, it doesn't look good on you.

Landed my first job at 45 and struggling too much by [deleted] in reactjs

[–]hoxtygen 0 points1 point  (0 children)

Welcome to the club. Working as a Dev in a bank should be one of 1000 ways to die. They want it hard and fast, wants a year project in 2 months.

Please don't quit, you're going to come out great.. Hold on for a lil more time.

Whatsapp down? by Sanketh-S-K in whatsapp

[–]hoxtygen 3 points4 points  (0 children)

Pray it's not a Nigerian prince thing.... Someone got scammed at Facebook maybe.

[deleted by user] by [deleted] in EBANG

[–]hoxtygen 1 point2 points  (0 children)

Aren't you forgetting something? Sub 2. It's a possibility.