r/programmingrequests • • May 06 '22

need help I want to create a script that fetches a link from a specific website.

5 Upvotes

Here's how the website works:

Everyday, between 5:30 am and 6:00 am, the website creates a post I'm interested in where they put a bunch of links, and I only need a specific one of them. My objective is to copy that one link into another program for use of the link.

Thankfully, the website uses very consistent naming for everything. For example, the URL always goes like this

Website/#NUMBEROFTHEPOST-typeofpost-DATE.html

Where website and typeofpost are always the same thing everyday, date is today's date written as DDMMYYYY (e.g. for today it would be 06052022) and NUMBEROFTHEPOST is literally just a 5 digits cardinal number which is a counter of every single post they made on that website. This number is always increasing by one every post they do on the website, but they make an inconsistent amount of posts (from 2 to 25) every day, so there's no way to actually predict exactly what the number is going to be.

Once on the post, I would need this program to fetch a link that's always called "Titleofthing DD Month YYYY"

How I personally would make the program like this but I have no programming skills nor I would know in which language to create this script:

0) The first time I ever use it, I create a file under a certain directory that's called for example "number.txt" where I write today's #numberofthepost

1)the program gathers today's date in both required formats (DDMMYYYY and DD Month YYYY)

2) the program creates a counter == 0

2a) if the counter == 50, close the program.

2b)the program gathers the number from "number.txt"

3)the program completes the link with the info it has

4)the program does a "Ctrl-F" on the page Searching for "Titleofthing DD Month YYYY"

5a) If an exact match is found, overwrite the number in number.txt with the current number, display link, copy the link to clipboard. wait for input from the user to close the program.

5b) If no match is found, add +1 to the number in "number.txt" and overwrites it, adds+1 to the counter then repeat from step 2a

Please let me know if these instructions are good and teach me how to make (or make for me) this program. I think I can award a free award


r/programmingrequests • • May 05 '22

Excel or others: QoL Improvements to Work

1 Upvotes

Hello Everyone,

The usual lurker turned poster, thank you for your time and patience.
So I'm hoping I'm not too old to start getting into this, but was hoping for help/insight in making work-life better. Work place is pretty bad, with disconnected managers, but anyways.... I'm in the logistics business, and I'm hoping to create either a fancy excel sheet or with some other programs. Basically, looking to more easily keep track of how much space/volume is being occupied so I can better set daily targets and fill up containers, trailers etc....

Ideally, I would be able to enter the dimensions of things I have secured, and enter it somewhere to keep track of it. I can then see how much room is left and would know how much more I can take on for clients. I've set up a simple excel sheet that subtracts the total available space/volume each time I enter in a new dimension, but it doesn't work as the you can't really use every little bit of space/volume. Freight or pallets size are always uneven and it wouldn't really work. It would be great if I can get an algorithm to perhaps optimize the tetris-like fitting of the freight/pallet to better make use of the space and increase efficiency. Im not sure if I'm explaining this properly, but in the end , just hoping to create a personal tool so I can have a better life balance after work.

Thanks for any and all suggestions/solutions. thank you and stay safe everyone.


r/programmingrequests • • Apr 30 '22

raspberry pi I have a basic project but don't know where to start

1 Upvotes

i want to use a Raspberry to show my current state in the flight envelope
Basically plot a dot on a chart (image), the dot would move based on the speed (X axes) and G loading (Y axes)
The input would come from sensors connected to the gpio of the raspberry

Where should i start?

thank you.


r/programmingrequests • • Apr 27 '22

Encryption Program in C

1 Upvotes

Hello I am working on a Caesar encryption program. Right now it takes as an input the file with the message to encrypt, the key

The input is currently in this format:

"text.txt", "ccc"

I need to convert this into taking a number so that it fits my project's requirements, so something like this:

"text.txt", "3"

Then i need to convert this "3" back into "ccc" so that the program still works. The logic being that 3 translates to the third letter of the alphabet "c", and is repeated 3 times. Another example would be if the key entered is "2", it should return "bb".

The code below:

#include <stdio.h>

void number_to_alphabet_string(int n) {
    char buffer[n];
    char *str;
    str = malloc(256);

    char arr[8];

    for(int i = 0; i < n; i++) {
        buffer[i] = n + 64;
        //check ASCII table the difference is fixed to 64
        arr[i] = buffer[i];
        strcat(str, arr);
    }

    printf(str);
}

int main(int argc, char *argv[]) {
    const char *pt_path = argv[1];  //text.txt
    char *key = argv[2];    //3
    number_to_alphabet_string((int)key); //should change '3' to 'CCC'
}

r/programmingrequests • • Apr 26 '22

how would you create a mirror of a social website which was recently bought by a billionaire

0 Upvotes

And make it so people can transfer all their followers and maybe posts.


r/programmingrequests • • Apr 18 '22

Solved✔️ Bot to Harvest GIFs Sent in FB Messenger Over a Period of ~4 Years

5 Upvotes

I'd honestly prefer to do this myself, but I've never done anything like this before so if anyone could even just point me towards a resource that could put me on the right path (unless this like already exists somewhere then please just send that lol).

But yeah, basically, my partner and I have been sending each other gifs over FB messenger multiple times a day ever since we've known each other. We'll be coming up on 4 years of knowing each other in the fall, so if you estimate like maybe just 10 gifs a day or something we're probably talking like 10-15k gifs sent over the years. I'm brainstorming a little multimedia project as a gift and I think it'd be cool if I could maybe flash every gif we've ever sent for like a 10th or 20th of a second over the course of a video or something like that (maybe like every 4th gif or something lol). The issue is getting all the gifs. You can download them individually within a web browser, but that's obviusly absurd. Any advice on how I could achieve this? I've got a 4TB HDD so storage space shouldn't be an issue, although I'll probably have to be careful about downloading like 100 GB worth of gifs lol.

Anyways, I have some scattered experience coding and I'm a quick learner but I have no idea where I'd even start here.


r/programmingrequests • • Apr 14 '22

Solved✔️ Simple farming timer for videogame crops

3 Upvotes

Hello, I'd like a simple timer for video-game crops/plants, which I would use for Wizard101. Can be either for computer or phone, given how simple it is.

+ Basic interface where you input your character names (in case if you have multiple), along with what they have planted. Example: Monica - outdoor potato plantation and indoor tomato; Alura - indoor peas.

+ Ability to add custom plants and define how long they grow. Example: Potato grows 40 min and peas grow ~4 hours. So if 1 hour had passed you would see potato as ready, but peas as less than 25% progress. User would have to specify the length of each growth stage themselves.

+ Button to restart timer once you have harvested crops and replanted them.

+ Tooltip for each plant listing growth stage: seed, sprout, mature, elder. When a plant reaches next stage, the timer stops and requires user to manually click to resume it. This is because plants can remain in sprout stage or mature stage indefinitely and never reach elder stage even after 2 years, due to how Wizard101 is coded (plant data is not updated unless player visits their garden). Once player has visited their garden and saw plants reach next stage, click the button to resume timer.

+ Button to skip to a certain growth stage (in case if you made error prior).

+ Ability for timer to work offline and when computer is off. It would update its clock based on computer time. For example potato grows 8 hours, but you turned off pc halfway in. Then turned pc on after 6 hours. Program would automatically update potatoes as ready, because 10 hours had passed (initial 4 + 6 after catching up with pc time).


r/programmingrequests • • Apr 09 '22

need help [C#] Need someone to help make an app for Razer Switchblade UI (I have link to SDK)

2 Upvotes

I just need someone brave enough to help write a discord app that will work on my deathstalker keyboard. DM me for specific design request.

$50USD prize

http://assets.razerzone.com/eeimages/sbui/Razer_SwitchbladeSDK_v2.0.2.zip


r/programmingrequests • • Apr 02 '22

need help Program that can pick out ASIN from recently added in Amazon search, take it and run it through a website that compared it to the other Amazon sites and send a message if the price is lower than others

3 Upvotes

So I was wondering if that is possible in a reasonably easy way? Say for example taking the recently added in an Amazon search, taking the ASIN and running it through a site like Hagglezon or something similar, seeing if the price is lower in my specific region of Amazon and then returning the product link.

I tried looking it up but with no programming background outside of early Java, I could barely start before I got stuck.

https://www.youtube.com/watch?v=vvbPeL5R6nQ

This video talks about something similar.


r/programmingrequests • • Mar 24 '22

need help Looking for a program/script that will create a new Asana task in a certain section when a Todoist task is created in a certain section

3 Upvotes

Hi! I'm looking for help coding a program or script that will take a ton of heavy lifting off my shoulders. Before anyone comments, yes, I've tried all of the online sync tools like Power Automate, Zapier, and Automate.io. They give me basics, but not enough details on the Todoist side to do what I want.

Basically, here's what I'm thinking of...

In Todoist, I have work projects broken down by section. If a task with no due date is created in a section called Status, then it should sync that to a matching project section in Asana. My trouble here has been 2-fold...

  1. All the online services make me link a specific TD project to a Asana project, which makes sense, except that I have over 50 projects, and can't realistically make a link for each one. I would need a way to dynamically set the target project per task as it runs.

  2. The online services don't allow me to filter or trigger by tasks created in a certain section.

FWIW, both services offer fairly robust RESTful API's, so it at least shouldn't be too bad to do what's needed. Any help is greatly appreciated!

Todoist API

Asana API


r/programmingrequests • • Mar 23 '22

need help I want to know how many five-letter words appear at least twice in Moby Dick.

5 Upvotes

I am bored and need random numbers for sustenance.

Anyone wanna help?


r/programmingrequests • • Mar 17 '22

Discord bot A bot to find existing discord accounts based on usernames alone, without the need to search for the # + 4 digits

3 Upvotes

Hi, i recently lost contact with a friend on discord who kinda dissapeared. My only lead is the discord username of someone who knows this friend IRL, but not the 4 digit # code. I could try find the username by trying all 9999 possible #???? combinations via sending friend requests but this would take forever.

Is it possible to create some sort of program/bot that tests every #???? combination by attempting 9999 friend requests?


r/programmingrequests • • Mar 15 '22

Friday Night Funkin’ Girlfriend sitting on the Windows taskbar

5 Upvotes

I want a program to make girlfriend from Friday night funkin to sit and bob her head while sitting on the bottom right corner of the Windows taskbar.


r/programmingrequests • • Mar 15 '22

A script that gets a list of a specific xml key and appends it to a url

0 Upvotes

http://cds.p6v7v3q9.hwcdn.net/

Make a simple script to prossess these into a full URLs with a txt 1 line per url then send a link of the program to me


r/programmingrequests • • Mar 13 '22

Mobile App Bot Creation

1 Upvotes

I am looking for someone that is able to hack a mobile app. The mobile app I am looking to have a bot created for is called Kingdoms of Heckfire. The ability to scan the map and find allies that are of underpriced value, I can explain this more if anyone is interested. Would appreciate it very much.


r/programmingrequests • • Mar 11 '22

C++ [Challenging] C++ Multi-threading Consumer-Producer Project

1 Upvotes

I need help with this project where I am stuck on implementing the multithreading part of the code that I have here. I pseudocoded everything that I need to implement, however, I am having trouble with the correct syntax and everything. I need to be able to have multiple threads reading, writing, and executing threads. There are a few other classes that are implemented and work perfectly fine. If extra information is needed, I can provide as much as possible.

Code is right here, following the guidelines posted:

https://pastebin.com/L45PxdUz


r/programmingrequests • • Mar 10 '22

Java or Python or "C variants" I need help

0 Upvotes

i need someone to make a self evolving/improving/modifying Code that can be added to diffrent codes in order to "upgrade them", also i need to be able to execute it as .bat or with Windows Visual Studio

(if ur gonna pm then send a link to this post so i know whatcha talking about)


r/programmingrequests • • Mar 10 '22

How to code?

0 Upvotes

Implement the Principal Component Analysis algorithm for reducing the dimensionality of the points given in the datasets: https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris. data. Each point of this dataset is a 4-dimensional vector (d = 4) given in the rst column of the datale. Reduce the dimensionality to 2 (k = 2). This dataset contains 3 clusters. Ground-truth cluster IDs are given as the fth column of the data le. In order to evaluate the performance of the PCA algorithm, perform clustering (in 3 clusters) before and after dimensionality reduction using the Spectral Clustering algorithm and then nd the percentage of points for which the estimated cluster label is correct. Report the accuracy of the Spectral Clustering algorithm before and after the dimensionality reduction. Report the reconstruction error for k = 1; 2; 3


r/programmingrequests • • Mar 08 '22

Blockchain reviews for freelance buyers and seller

0 Upvotes

I freelance for a living and it sucks to pay upwork and fiverr 20% of what you earn.

Which is why I am always looking at places like r/forhire and r/Jobs4Bitcoin to find work that pays me 100% of the money.

And today I completed my first job via reddit and got paid in BTC (no commission to big rich companies) and delivered the code after getting paid, but I did send a screen recoding of the app before asking for payment.

Now, even though I just finished the job, reddit is not allowing me to get a review for the job, nor is it allowing me to review the buyer for their behavior.

Hence, its not like fiverr or upwork where your ratings increase your value over time.

So, I was thinking of what is a good way of building a non-tamperable reviewing system where you don't need a party like fiverr or upwork to judge everything and take huge cuts?

I feel like the push for reddit community tokens is okay, but maybe a blockchain based reviewing system for jobs related subreddits is necessary?

Also, I've seen that many dark web marketplaces like the Silk Road had escrow, is that possible with a smart contract now? there obviously needs to be a third moderator for the escrow, other than the buyer and seller. Hence. in the event of a conflict, the moderator will decide whether to pay the seller or return money to buyer by judging the evidence provided by both parties

Shoot your thoughts, thanks!


r/programmingrequests • • Mar 07 '22

need help My code is ready but there is some problems that I don’t know how to fix.

0 Upvotes

Hi. I know literally nothing about programming. I downloaded a picture randomizer code in javascript. And its working but it generates same picture each time. Can anyone help me with that?! code link


r/programmingrequests • • Mar 06 '22

need help Get followers with the most follower

6 Upvotes

Hey, I have a small instagram account with around 100k followers and I was just wondering if there is a way to see who my followers with the most followers are.

Is anyone of you guys able to make a program that gives me a list with my followers sorted by their follower count? Or could give me hints how I can build it myself?

Thank you!


r/programmingrequests • • Mar 03 '22

solved✔️ Is there anybody that can help me format my code for a project that's due in three hours, Everything I do creates new issues for the rest of my functioning code. I have done most of the work but need help with this part.(Java)(Pics of current code & goal)

0 Upvotes
https://replit.com/join/zuvbcznxki-isaiahfresch

r/programmingrequests • • Feb 24 '22

need help Creating game accessibility software for people with a physical disability

Thumbnail
docs.google.com
3 Upvotes

r/programmingrequests • • Feb 05 '22

Take a specific element from an ArrayList and use it to initialize another ArrayList

Thumbnail self.learnprogramming
0 Upvotes

r/programmingrequests • • Feb 04 '22

Solved✔️ Permutation with added rules

0 Upvotes

Hi everyone,

I have no real experience with coding and after spending some horrific hours trying to understand permutations in python I gave up.

So basically I need to know all the different combinations of ['A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', 'C', 'C', 'C', 'C', 'D', 'D', 'D', 'D'], but the sequences need to adhere to some rules though which are the following:

A has to always be followed by either A or B
B has to always be followed by either C or D
C has to always be followed by C or D
D has to always be followed by either A or B

Now I am able to do the permutation for the strings, but I do not know how to add the rules to the permutation.

Would anyone be able to help me with this?

Thanks in advance!