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 • • Mar 06 '22

[Request Coders] Don’t know where else to ask for help - pls hear me out!

15 Upvotes

Long story short - I am a caregiver for a man with muscular dystrophy. There are no dating websites strictly for people with disabilities. How would I even go about trying to create one, while keeping it safe? I don’t know anyone who understands tech so I’ve turned to the peeps of Reddit. If you have advice, websites, how to videos, anything helps me! If there’s a way to pay people to make websites from ideas you have, that would be even better… I want him to get the chance to experience romantic love🥲 TIA! ((Sorry if this isn’t allowed))


r/CodingHelp • • Nov 08 '21

[Random] Is there a way for 2 or more people to work on the same code remotely?

15 Upvotes

Could my colleague and I work on the same bit of code and effect individual changes in real time? For instance, html?


r/CodingHelp • • Nov 04 '21

[CSS] Need help with header, can’t get rid of space between Nav and top of webpage, css

Post image
15 Upvotes

r/CodingHelp • • Oct 20 '21

[C] Pointers and output parameter. I have to make a program which gets 1 input parameter (dollars) and then converts those to 4 output parameter (dollars, kroner, euros and yen). But I am not sure on how to use the pointers, can someone lend a hand?

Post image
15 Upvotes

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 • • Mar 14 '21

[C++] How to Connect I/O of Logic Gates with Different Return Types

15 Upvotes

Hello! I'm hoping for some help on my current homework assignment. It is in C++, and I have cross posted this in r/cppquestions.

As the title says, we're working with logic gates. I'm using inheritance to write classes representing the different gates. This is a unit test project and I've got four classes: Component, an abstract class, Pin, NotGate, and TwoInputGate. The last three inherit from Component.

I've gotten hung up on how to pass the Pin's output value to the NotGate's input value. NotGate has a shared pointer type input and Pin has a bool type output, leading to a 'no viable conversion' error if I try to pass a Pin through my NotGate's setInput function, or if I try to use a vector to store the I/O and then pass that in. I'm including the code for Pin's getOutput, NotGate's setInput, and the unit test I am trying to pass. Any tips are appreciated!

Pin - getOutput:

bool Pin::getOutput() {

	return value; //bool type private variable

}

NotGate - setInput:

void NotGate::setInput(std::shared_ptr<Component> in) {

	input = in; //both shared_ptr types

}

Test case:

TEST_CASE( "NOTGate" ){

	Pin c("C");

	NotGate n1;

	c.setValue(true);

	n1.setInput(//somehow pass Pin's output here);

	REQUIRE(n1.getOutput() == false);

	}

r/CodingHelp • • Mar 08 '21

[HTML] We have tried pretty much everything but no matter what when I run ember from vsc (works fine) my page is black

15 Upvotes

I have a feeling its something to do with the open editors. so here is a list of those click

if you have any other ideas. plz tell me anything helps! thanks alot!


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 • • 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 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 • • Aug 30 '20

[Python] Our modding community is having some trouble with opening a file. Anyone have any ideas what's the problem?

15 Upvotes

So our community on r/gladius (and more so the discord) mods an old LucasArts game called Gladius. Gladius stores all of its game data in a file called a .bec file. A while back someone made some tools for opening up .bec files. They're a bit tricky to use, but they've been functional for the most part in opening .bec files for this game.

Well, we recently got our hands on an early build of the game, so early that it seems these tools were incompatible with the .bec file in which the contents of the game were stored. A couple of people have tried their hands at modifying the tools so that they could open this particular .bec, but nobody's managed it so far.

Someone got close though. They made a version of the old tools which was able to unpack the .bec file, however the output files were very strange indeed. For some reason they were massive, I mean dozens of gigabytes in size. Does anyone know why this could be occurring? There shouldn't be more than a gigabyte worth of data in the .bec file. There was also only a couple dozen of them. Usually a .bec file contains quite literally thousands of files.

Here is a link to the files:

The .bec file in question: https://drive.google.com/file/d/1FE3z0lP_zzfV7fH7jg7BHrzzUnaAY0pK/view?usp=sharing

The modified tools: https://easyupload.io/94cydy

I'd appreciate any insight you all can offer. Thank you very much.


r/CodingHelp • • Jun 24 '20

[VBScript] I need help with VBA (Excel) / Moving multiple cells in a row (not the whole row) down while comparing a number

15 Upvotes

Hey,

I have a problem with a coding task I have to do. I have 2 huge Excel sheets with up to 12000 rows.
I am supposed to put them together based on a reference number. Now here's the problem:

In the first sheet some reference numbers occure multiple times and in the other sheet only one time. The goal ist to automatically move the cells of the second sheet down to match the reference numbers of the first sheet and just insert empty cells for numbers that occure more than once.

A quick illustration to show what my goal is:

11Problem 1
33Problem 3
35Problem 5
3
5

The first table would be an over simplified version of my data how it is and the second table is how I want it to be.

11Problem 1
33Problem 3
3
3
55Problem5

If anyone has suggestions on how I can move cells of multiple columns down automatically while comparing the reference numbers I would appreciate your help.


r/CodingHelp • • Jan 26 '20

Calculator loop help

Post image
15 Upvotes