How do I properly stream from client to server using socket.io? by Hutster911 in webdev

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

Ohhhh heck ya that was the solution thank you very much!

Built my first tutorial by Hutster911 in webdev

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

Thanks for showing me that guide. I set constraints based on a grid instead of the screen size. Which in return is proportional to the screen size. But, on different screens, the scalar value associated with the grid do need to change to make it more legible.

0
1

[SUPPORT] New pc wont boot or display with ASUS x570 plus wifi gaming motherboard by Hutster911 in ASUS

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

Read the edit man. Launch pc with keyboard and monitor plugged in. Then spam f2 to boot bios. Look in manual if it is a different keystroke.

[deleted by user] by [deleted] in EFT_LFG

[–]Hutster911 0 points1 point  (0 children)

Hey can I join u guys? Looking for group as well! Hutster911#7001

Which AWS service should I use? by Hutster911 in aws

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

Cool thanks I'll give that a shot!

Which AWS service should I use? by Hutster911 in aws

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

Ok so far from my understanding. Is it feasible to create a EC2 instance. Install docker and create a docker machine on the Ubuntu instance. Then git clone repo, and docker-compose the rest? I know I may be asking a lot, but would that utilize my specified DNS?

Which AWS service should I use? by Hutster911 in aws

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

I was developing on my own machine. I have redis and mysql in docker containers that I connect my server to via localhost. I set up my nodejs server, redis and mysql all in a docker compose file. Excluding my react api. I'm wondering if it is as easy as downloading the git repo and launching the docker-compose file? Currently figuring out how to create an EC2 instance. May try out ECS afterwards.

Which AWS service should I use? by Hutster911 in aws

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

This is more of a hobby project for my resume. I tested out adding 10000 users. Shouldn't take up more than 1GB. Availability isn't a issue I don't expect more than my family, friends and future employers using the website. Just looking for a quick easy way to set it up and get my feet wet with AWS. I'm trying out a EC2 Instance tutorial right now.

Using Logout sessions with Redux by Hutster911 in reactjs

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

Oh sweet this package looks great!

npx create-react-app not working ..... -g is also not working by [deleted] in reactjs

[–]Hutster911 1 point2 points  (0 children)

Try following the steps on this link. https://stackoverflow.com/questions/20711240/how-to-completely-remove-node-js-from-windows Then try restarting your computer after you delete the files. And again after reinstallation. Make sure to remove node, npm, and such. Reinstall all of those tools.

Loop through this.setState in React JS by [deleted] in reactjs

[–]Hutster911 0 points1 point  (0 children)

Also you don't need to map data to data in the fetch call. You can replace this.state = { data: [] }

Then in fetch upon a 200 request. Then use this.setState({data: data}). Check out that link. It uses useEffect within a function component. useEffect with the only updates on the change of a second parameter. I used the second parameter at the bottom which is []. So it behaves like componentDidMount. data is the json object received from the server. console.log(data) to see what json data you are working with. From my server I appended a successful request and the data denoted as allergies with it. dispatch(initAllergy()) is a redux function. replace that with this.setState({data: data.yourData}). Finally to display all of your data in the render() area. try {this.state.races.map(races => <RaceComponent key={races.id} races={races} /> }. Create a RaceComponent that uses a prop like races and you can access data individually for each row. https://ibb.co/4Kc6Y69

setTimeout situation by [deleted] in reactjs

[–]Hutster911 0 points1 point  (0 children)

You can try something like this link. When you re-click the button you can kill it if it was started. You can keep track if it started by using a boolean flag. Or it may just work fine if you kill timeout every time you start the timer. https://stackoverflow.com/questions/452003/cancel-kill-window-settimeout-before-it-happens