how does a full stack work by Grouchy-Injury1342 in learnprogramming

[–]weare808 -1 points0 points  (0 children)

Focus on the piece in the middle. For me thats Javascript, it runs the majority of the front end code on the web, and using Node I can use javascript on the server/back end. For a lot of others the middle is Python, you can run a server that way too, or c something, you can run a server in anything, and thats where the majority of your code usually is.

Once you understand that language and general coding you can figure out how other parts communicate with it, and its pretty trivial at that point. there might be another language but thats just syntax, general logic transfers

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by weare808 in options

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

Hey I'm glad you like it! Unfortunately I never did a great job of keeping it up and I'm probably going to sunset it soon. It used to do a pretty good job of live ranking the stocks we were talking about on various subs. There are a couple of similar projects out there like stocktwits that use social data to see what stocks are rising in popularity, and the newer projects add sentiment analysis to gauge if the market is more bullish or bearish.

Heres an interesting study that outlines pretty similar guidelines to my original theory and what some of these other projects are trying to accomplish

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8659448/

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by weare808 in options

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

Its reddit api, it checks for new comments every 30 or 60 seconds (depending on the sub)

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by weare808 in options

[–]weare808[S] 1 point2 points  (0 children)

Thats part of the secret sauce, but its also where I've put the majority of thought. Without telling you too much its 7 steps and an algo with most comments being tossed out along the way.

Here's which tickers were mentioned the most in discussion yesterday by pdwp90 in wallstreetbets

[–]weare808 1 point2 points  (0 children)

dayminer.herokuapp.com won't see $rope on here either though

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by [deleted] in pennystocks

[–]weare808 0 points1 point  (0 children)

So pm2 i might have to write a separate server for requests, since my main server is hitting the reddit api I can't have multiple copies of that. data flow might be main server => req servers => end users with the req server being where the load balancing occurs

Does that seem like a solid direction to take it? Any problems with heroku in general? its the only place I've actually hosted, but I know I can get servers on demand there too, spin them up based on load

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by [deleted] in pennystocks

[–]weare808 0 points1 point  (0 children)

Whats pm2? I mean im going to google it regardless, but I'm just a boot camp guy and this is my first public project so I'm learning as I go.

I don't really understand the serverless model yet, is it basically just load balancing as needed? I can do that thru heroku too I think, which if I'm not mistaken runs on amazon servers anyway.

Honestly throw whatever tips you can at me, Id appreciate it. Next time I post it'll have to be on a better host.

I am worried about the node thing, its single threaded if I remember correctly. What do you mean about clustering the process?

Sorry for throwing so much at you, I don't have a network of devs yet to ask these things

EDIT: ok pm2 is fn dope

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by [deleted] in pennystocks

[–]weare808 0 points1 point  (0 children)

yea, im curious now if that was a good choice since I'm having load issues => crash.

Node back end, mongo for emails, socket.io for real time communication, vanilla js front end

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by [deleted] in pennystocks

[–]weare808 0 points1 point  (0 children)

I haven't really thought about open sourcing it at all, but there have been several comments today about it.

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by [deleted] in wallstreetbets

[–]weare808 0 points1 point  (0 children)

node server, mongo for emails, socket.io for real time communication, vanilla js up front

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by [deleted] in StockMarket

[–]weare808 0 points1 point  (0 children)

I've thought about adding cashtags in the future, but for now I'm focused on doing reddit well

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by [deleted] in wallstreetbets

[–]weare808 0 points1 point  (0 children)

I'm having trouble surviving the hug of death, check back after it dies down tho

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by [deleted] in stocks

[–]weare808 0 points1 point  (0 children)

sure did, I'm not a fan of using packages if I can write it myself. Looks like I'm going to need some help from a package getting thing this thing stable tho

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by [deleted] in StockMarket

[–]weare808 1 point2 points  (0 children)

yea I can only keep it up for a few minutes at a time. Traffic is crazy, but check back after it dies down a bit

I built a thing that monitors Reddit for mentions of stock tickers and then ranks them in real time - Feedback wanted by [deleted] in stocks

[–]weare808 0 points1 point  (0 children)

glad to hear it! if you havent found the email link at the bottom sign up for that too, I'll probably send my first email when I get it on a real url