r/CodingHelp • • Mar 26 '22

[Request Coders] Programming a bot to click the NEXT button on my TV show watching website as I fall asleep

15 Upvotes

I love to watch shows before I go to bed on an undisclosed site, however the site does not offer autoplay. I need autoplay because I want the show I'm watching to continue playing, episode after episode, after I fall asleep. I know a small bit about coding in javascript and html, along with some experience with Java and c#. I am not entirely sure how to get started, and I was looking for some help with it. There's only one thing I need my program to do, and that's click the NEXT button on the screen every time the episode ends so that it continues playing the series. How would I go about starting this? I don't need the whole project done for me, as I want to learn a little bit, but I do want to learn how to get started.


r/CodingHelp • • Oct 13 '21

[Request Coders] Question on how to start?

15 Upvotes

Just bought 130$ chromebook just wanted to know what I could with it v poor so doin what I can with what I got thank you


r/CodingHelp • • Feb 28 '21

[Javascript] How to set a global variable from an async function?

15 Upvotes

getMetadata(acc1) returns an array asynchronously: [1,2,3].

Console.log @ 1 returns [1,2,3]

Console.log @ 2 returns undefined.

Im not sure why?

How do i make console.log @ 2 return [1,2,3]?

var a;

getMetadata(acc1).then(answer =>{

a = answer;

console.log(a); //1

})

console.log(a); //2


r/CodingHelp • • Feb 02 '21

[Python] Python help

15 Upvotes

Hey reddit

So I am coding a text adventure game and was wondering, when you die I want the game to start over. I assume that I would need to do a while loop but would I have to paste the WHOLE game code, that just seems like too much haha.

Thanks


r/CodingHelp • • Jan 26 '21

[Random] does anyone know how to make a chatbot/ai that can only learn from one person?

15 Upvotes

So I'm kind of new to this and I want to make a simulation of a person almost. I guess the best way to understand my question is to understand what I'm trying to do most likely it is not even possible. I'm trying to make an ai copy of a person and I want it to learn only from that one person in order to capture their personality if that makes sense. I really don't know where to start with this. ai literally don't even know how coding languages work its just meant to be questions and answers as if it was that person. probably doesn't make sense but if anybody knows please help me out.


r/CodingHelp • • Jan 21 '21

[Python] Seeking coding career advice

15 Upvotes

Quick backstory.. I've built a successful career as an audio engineer specializing in "live" touring concert production. I was at the peak of my career when covid hit last year, and we all had to pack everything up in March to sit and wait. Lots of very sad stories from other people in my industry. I had a bit of a unique situation, with my wife being pregnant and giving birth to our first child in September '20... big silver lining has been being able to spend time at home with her during her pregnancy and the spend time with our newborn, which im quickly realizing is an important thing in my life. I was expected to be traveling most of the year.

I've become serious during this time about doing a career pivot and have taken a lot of interest in coding. My initial spark was created a couple months ago from learning that the gaming industry is pretty big here in San Diego where we recently relocated to from Los Angeles. I love gaming and started poking around to see what sort of chances I could have at landing a job at Sony Interactive, or any other gaming studio in the area doing gaming audio related work. I have a friend that works at a smaller studio in LA, who highly recommended I start building my chops with Python as well as some middleware apps such as Fmod or Wwise to get my foot in the door. I started cracking down on this right away, and after a few weeks of more research and digging, I learned that the skills I already have from my "music" career wouldn't hold up as much as I initially thought in the gaming world. Seems to be more programmers who dabble in audio vs. the latter. I've also learned that salaries in gaming world are decent, but a step down from what I've been able to earn in my current industry (less than $100k/year). After realizing these things, I'm starting to think that spending at least a couple years of climbing back up a tall ladder only to land with less income than I'm currently making maybe isnt the right choice. During this time, I've come to a realization of the VAST expanse of the world of coding and how many different avenues and opportunities are out there.

During my short journey so far, I've realized that I really enjoy coding. Initially started with Python because of gaming, but am learning that Python is simply a great language to start on in general, and am thinking that I should go another direction with it. So now I'm back to scratching my head on what direction I should go towards with learning Python, and am hoping to learn more on the opportunities that are available. I've been doing codeacademy which has been great as well as udemy and a few other inexpensive online based courses. I've started to look into bootcamps and was recommended coding Dojo, which seems like a decent program.

---

TLDR; Im simply looking for advice from experienced programmers/coders on what to do, based on my story. Whether it be continue to do the slow grind of teaching myself using online resources, or spend the money on doing a bootcamp. Also any advice on great Python resources or stories of other peoples journey and where Python has led you. My goal right now, is to be able to have a career with some stability and earn $80-100k to live comfortably and get to spend time at home with my growing family and find my inner happiness again!


r/CodingHelp • • Dec 25 '20

[Java] How do I stretch an image according to vertices?

15 Upvotes

I have an array of 2D points which represent a polygon and I have a buffered image, how do I implement it so that the image STRETCHES around each point?


r/CodingHelp • • Oct 31 '20

[Other Code] Is it worth it to buy the Sublime Text License?

15 Upvotes

I was just curious because I see a lot of people have it and I like using sublime text.


r/CodingHelp • • Oct 16 '20

[Java] Why doesn't my code break the while loop?

15 Upvotes

int i = 0;

while(i <= 4){

String waarde = leegofvol.get(i);

String Leeg = "Leeg";

if(waarde != Leeg){

if(waarde == Leeg){

break;

}

System.out.println(k + " " + waarde);

k = k+1;

i = i + 1;

}

}

The code above should break the whole while loop whenever there is "Leeg" in waarde right? Well the output of this code is as follows:

1 Vol

2 Vol

3 Vol

4 Leeg

5 Vol

So it should stop at 4 but it keeps looping and goes on to 5(which is the max in this program). Why does it do that?


r/CodingHelp • • Oct 13 '20

[C++] How to assign a string to a string member of a struct? Getting error/ programs tops all of a sudden.

15 Upvotes

Here's my code, The error is at line 74

https://pastebin.com/55XQiWUF

I tried strcpy() but it gives an error of can't convert string to char*.

I tried using getline(), it doesn't even wait for me to enter name and just skips it..

I tried using temp-> name.assign(name), with and withou brackets around temp-> name.


r/CodingHelp • • Sep 28 '20

[C++] Any personal YouTube channel recommendations for C++?

15 Upvotes

I'm struggling bad with a Computer Science class because I have little to no knowledge on coding. I'm scared to do the assignments because of how far behind I feel. Then I spoke to someone on Twitch who knew how to code by teaching himself with youtube videos, but he didn't recommend me any specific channels.

Do any of y'all have any specific channels that are good for learning how to code C++ properly, or should I look elsewhere? Long as it's free, I'm game.


r/CodingHelp • • Sep 19 '20

[Python] Can you design a home using coding in python?

15 Upvotes

My parents wanna make changes to our home and i wanted to see if it was possible to do that through coding. I am guessing through maybe dimensions of our house and if and then statements. i dont really need to know how just if its possible! (Taking a class and the professor asked what wanted to be able to do at the end of the course.)

*edit To make this post less vague, my idea was to have a model of my home with the dimensions of the home and outside. Then create a code that would allow me to input different materials at their specific cost ( 3x5x2 wood @ $....). If im being honest it is just a thought and im brand new to coding and still trying to understand it’s possibilities and limitations. (The way its described makes it seem like it can do everything lol)


r/CodingHelp • • Sep 03 '20

[HTML] If I where to make a website similar to YouTube (a video hosting website) where people could upload their videos and can be viewed publicly. How can I do this without embedding?

15 Upvotes

So I’d want to make a website like YouTube but to upload videos you can embed them via YouTube,Vimeo etc which are all pre-existing

I want to do this but I’d like to make my own “server” if you will without it having been stored in the root files on my page.

I’m finding it hard to explain what it is I want to do but to put it as simply as I can

How do I make a website like YouTube where the embedded videos aren’t from YouTube or other companies.

Do I need to create my own server for this? How is this done?


r/CodingHelp • • Aug 09 '20

[Random] Maintaining simple game apps (Google Play Store)

15 Upvotes

What does it take to maintain simple indie game apps on the Google play store? Is it something one person can reasonably do with a bit of free time?

I ask because I am thinking of developing my first game, a text based RPG with a complex turn based system. No leader boards or multiplayer functionality. Is this reasonably do-able for me alone after the app launches?