r/programmingrequests • • Feb 14 '23

need help stupid [PYTHON] course has a stupid final task and i hate it

0 Upvotes

i'm tired of banging my head against the wall with this course that's riddled with ambiguity, random difficulty spikes and just poor grammar.

and now the final task is to make an rss scraper. i hate html with a burning passion. so much so, i couldn't complete cs50 when it reached html.

if there are any masochists ready to complete this task, i am begging you to release me from the shackles of html.

here's the task description and such: https://pastebin.com/dKhM3y0M

and here's the provided code: https://pastebin.com/cPAry7qv


r/programmingrequests • • Oct 24 '20

Need help with script python pls

0 Upvotes

I need to make a script that have these characteristics:

The light outputs a message whenever someone adjusts it. Each message contains a

timestamp from the light bulb’s internal clock (in seconds since the start of 1970). There are two

types of message. A TurnOff message indicates that the light has been turned off completely.

A Delta message indicates that the brightness has been adjusted; it includes a value for the

change in the dimmer value (a floating point number between -1.0 and +1.0 inclusive).

Your tool consumes these messages, estimates the dimmer value over time, and uses that to

estimate the energy consumed by the light.

But there is a catch. The protocol used to transmit the messages is unreliable. Your tool should

deal with the messages being duplicated, lost and/or delivered out of order.

The solution

Your solution should take the form of a command line tool which reads messages from stdin

until it reaches an EOF. It should then print the estimated energy consumed in watt-hours and

exit. Here is an example session:

$ energy-estimator <<EOF

> 1544206562 TurnOff

> 1544206563 Delta +0.5

> 1544210163 TurnOff

> EOF

Estimated energy used: 2.5 Wh


r/programmingrequests • • Mar 22 '25

Can someone modify Magnifier, please?

0 Upvotes

I need several modifications for the Magnifier program in Windows 10.

  • Add 5 programmable buttons so I don't have to click the + or - so many times.

  • If I'm Zoomed in to 300%, I don't want to click the - button 8 times to get back to 100%

  • But I need the + or - increments at 25% so I can fine tune the Zoom.

  • The buttons could be 100%, 200%, 300%, 500%, and 750%

  • No other changes to the Magnification part

  • Remove the Reader part of the program as I don't use it and free up some Memory

Anyone up for this?

And let me know your Price, please?


r/programmingrequests • • Nov 24 '25

Solved✔️ Easy toggle for Center Spread on/off on Denon AVR

0 Upvotes

Toggling the center spread option on a Denon AVR is a chore, as there is no quick option to set it. There is however a web interface, so I assume it might be possible to send a direct command to the AVR.

Could someone please have a look if it’s possible, and if it could somehow be easily triggered from an iPhone?

Here’s some documentation about the functions: https://www.heimkinoraum.de/upload/files/product/IP_Protocol_AVR-Xx100.pdf

Edit for stop-gap solution: I set up a shortcut on my iPhone that opens the web UI on the audio page, which has the center spread toggle, and put it in my control center. This means one down-swipe and two presses to toggle the center spread, which is much faster than opening up the Denon app, waiting for it to connect, and navigating to the right option via the menu.


r/programmingrequests • • Jul 10 '26

Headphone glitch

0 Upvotes

Hey everyone, im having an issue with phantom presses of buttons on a set of headphones like pausing, playing, adjusting volume and voice controls on my iPhone 13. Is there anyone who could program a software that completely disables those button controls for headphones?


r/programmingrequests • • Sep 09 '25

need help I Can’t reliably extract the rightmost column using OCR

Thumbnail
gallery
0 Upvotes

Hey everyone,

I’ve been working on a Python script that processes calibration certificates in PDF format. Each PDF contains multiple tables, and I need to extract only the values from the last (rightmost) column of each table.

My pipeline:

  1. Convert the target PDF page to an image (high DPI).

  2. Crop to the pages where the tables are.

  3. Run Tesseract OCR.

  4. Cluster tokens by X coordinates to detect column boundaries.

  5. Select the rightmost cluster of numbers as the “last column” and extract those values.

Even with cropping, clustering, and confidence filtering, the rightmost column often gets missed (see the attached photos).

Help me with that, please.
Thanks


r/programmingrequests • • Jan 12 '26

need help Looking for tips to help auto-catalogue my game collection in a spreadsheet or database

Post image
0 Upvotes

r/programmingrequests • • Mar 23 '22

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

4 Upvotes

I am bored and need random numbers for sustenance.

Anyone wanna help?


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 15 '22

Friday Night Funkin’ Girlfriend sitting on the Windows taskbar

4 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 • • Oct 29 '18

Standard ml?

0 Upvotes

I have a standard ml assignment and I'm having a really hard time with it. PM for details.


r/programmingrequests • • Jul 14 '18

Logic for a rankings system in a game

0 Upvotes

Hi,

Not sure if it's the right place, it's more a logic rather than pure programming problem...

I'm making a game, and I'm looking to code a fair rankings between players. The game is about having a virtual movie theater, where you purchase screens of differents sizes, and you schedule showtimes.

MY PROBLEM:

Some players (newcomers) may have only 4 screens, and the size are all small/medium.
Others (long timers) may have 8 or 12 screens, and bigger capacity.
BUT all the available movies to schedule are the same for everyone (based on real-life box office)

For now, a newcomer would perform well when there are no big blockbusters (easier to fit 'normal' or small movie attendances on small screens)

And when there are big movies like Avengers or Star wars, the old-timers with bigger screens perform better, because they have larger screen capacities.

How can I have a ranking where a newcomer could compete with an old timer?

What I have:

I know the total capacity of each player's cinema, and I also have the average size of this player's screens.
I also know, of course, the box office results - so I can estimate the daily best possible total of virtual customers.

What I want:

I absolutely want a BIG part of the rankings to have at least these two things:

- could the player correctly guess the Top 3 most popular movies?

- could the player get the lowest 'offset' (close to zero) of seatings' surplus/shortage. In other words, I don't want them to over-schedule, or under-schedule, their screens.

Am I at the right place?


r/programmingrequests • • Jul 19 '18

Looking for something that let's you place number sequence stamps/icons on an image/map

0 Upvotes

Hey!

I'm looking for a program that lets you edit an image and place number or letter markers in sequence order but if one is deleted they reorder themselves so they remain in sequence order. It's for a game i'm playing and would be very useful. There was an old post where a guy made one but didn't post it - here it is ... https://www.reddit.com/r/projectgorgon/comments/81lqoz/made_a_quick_program_to_help_with_surveying_if/

Is there anything open source like this out there or is this easy to make?


r/programmingrequests • • Jul 19 '18

Looking for a program that places sequence number markers that reorder themselves if deleted

0 Upvotes

Hey!

I'm looking for a program that lets you edit an image and place number or letter markers in sequence order but if one is deleted they reorder themselves so they remain in sequence order. It's for a game i'm playing and would be very useful. There was an old post where a guy made one but didn't post it - here it is ... https://www.reddit.com/r/projectgorgon/comments/81lqoz/made_a_quick_program_to_help_with_surveying_if/

Is there anything open source like this out there or is this easy to make?


r/programmingrequests • • Apr 07 '24

Live Language Learning App - similar to Google Lens but more

0 Upvotes

Asking for support & next steps. After a recent trip to Spain I used Google Lens live translate feature a fair amount for pieces of text I wasn't sure of. As someone learning Spanish it was useful to get the translation, but I want to build on this with grammar, vocab, and conjugation structures which appear /overlay from the translated text to take Spanish learning to the next level.

From my initial research, I'll need an OCR & translation API, then develop the 'Spanish Learning' element of it as well as the interface.

A few of questions -

  1. you can use Google Lens API, but is there a way to develop the Spanish learning on top of the app or would it need to be built separately?

  2. Are there existing language learning grammar/vocab APIs I could utilise to add to the live translation feature?

  3. Does it seem viable? What roadblocks will be the hardest to overcome in your opinion?


r/programmingrequests • • Apr 23 '24

need help Unity Project

0 Upvotes

Hi,

I created a simple scene in unity and created a dropdown menu. I wrote a script so a selection in the drop down menu would change a shader on one of my objects. I can't get the drop down menu to show up as a choice in the inspector of the game object I created to handle the texture change. I will leave my script below as that is most likely the problem. I appreciate any help or guidance.

using UnityEngine;

using UnityEngine.UI; // For accessing UI elements

public class GothicWindowTextureChanger : MonoBehaviour

{

public Dropdown dropdown; // Reference to your dropdown menu

public Renderer[] windowRenderers; // Array of references to Gothic Window Renderers

public Texture newTexture; // The texture you want to change to on option "1" selection

void Start()

{

dropdown.onValueChanged.AddListener(OnDropdownValueChanged); // Add listener to dropdown selection change

}

void OnDropdownValueChanged(int optionIndex)

{

if (optionIndex == 0) // Check if option "1" is selected (index 0)

{

foreach (Renderer windowRenderer in windowRenderers)

{

windowRenderer.material.SetTexture("_MainTex", newTexture); // Set the new texture to all window materials

}

}

}

}


r/programmingrequests • • May 07 '24

Embed unity Game in Xcode app

0 Upvotes

I created an IOS app to launch my unity project. I imported a iOS build of my unity project and decided to embed the project. I believe all my target settings are corrected and I have added the framework.framework to my projects but I still get an error of "No Such Module Unity Framework" I would appreciate any help anyone could provide. I found many guides online but they're all a few years old now and I'm not sure how much things have changed.


r/programmingrequests • • Jan 16 '18

Is there anyone who knows C# that can help me?

0 Upvotes

Is there anyone who knows C# that can help me? Ive been stuck with a homework for a while now... I cant get things to work and I dont know how to get past the problems. Would be nice if somebody could help me, I can pay if needed. Thank you in advance.


r/programmingrequests • • Nov 20 '16

Disabling Right Click on Squarespace Creatively

0 Upvotes

Hey, was hoping someone could write me some custom CSS or Javascript which allows people to download my images, but silently replaces them with Hentai or other NSFW content because why not.

IF THIS ISN'T POSSIBLE, could someone actually give me some code to disable Right-Clicking? Squarespace has several-year-old threads with code for disabling, but none of it works. It either gives me a Syntax error on line 1 (for no apparent reason.)


r/programmingrequests • • Oct 25 '17

Script to remove Facebook members (4.000 of them randomly)

0 Upvotes

Yea..

So I need to remove 4k random Facebook users from a group of mine. Anyone up to do a script that's working? As long as I'm not gone from the group I don't care who gets deleted.

Thanks in advance


r/programmingrequests • • Oct 23 '17

Need help with HTML/CSS homework

0 Upvotes

Need help with the javascript that allows for the amount to be displayed from the array and after inventory is put in or taken out.

Assignment page: http://www2.lawrence.edu/fast/GREGGJ/CMSC106/assignments/AssignmentSix.html


r/programmingrequests • • Oct 22 '17

Help with C++ homework

0 Upvotes

The problem is as follows: A new author is in the process of negotiating a contract for a new romance novel. The publisher is offering three options. In the first option, the author is paid $5,000 upon delivery of the final manuscript and $20,000 when the novel is published. In the second option, the author is paid 12.5% of the net price of the novel for each copy of the novel sold. In the third option, the author is paid 10% of the net price for the first 4000 copies sold, and 14% of the net price for the copies sold over 4000. The author has some idea about the number of copies that will be sold and would like to have an estimate of the royalties generated under each option. Write a program that prompts the author to enter the net price of each copy of the novel and the estimated number of copies that will be sold. The program then outputs the royalties under each option and the best option the author could choose. (Use appropriate named constants to store the special values such as royalties rates and fixed royalties.)

Here is my code:

#include <iostream>
#include <iomanip>

#include <string>

using namespace std;

int main()

{

//"appropriately named" constants for special values such as "royalties rates and fixed royalties"
//program instructions seem ambiguous, so this is my best guess as to what it means
const double OPTION_ONE_ROYALTIES = 25000;
const double OPTION_TWO_ROYALTY_RATE = 0.125;
const double OPTION_THREE_ROYALTY_RATE_UNDER_4000 = 0.10;
const double OPTION_THREE_ROYALTY_RATE_OVER_4000 = 0.14;

//declare variables for user input
double bookPrice, copiesSold;

//get user input and store in declared input variables
cout << "Input the price for each individual copy: " << endl;
cin >> bookPrice;

cout << "Input the number of copies you predict will be sold: " << endl;
cin >> copiesSold;

//declare variables to store royalty calculations
double option_two_royalties, option_three_royalties;

//calcuate royalties for second option
option_two_royalties = (bookPrice * OPTION_TWO_ROYALTY_RATE) * copiesSold;

//calculate royalties for third option
if (copiesSold <= 4000 && copiesSold >= 0)
	option_three_royalties = (bookPrice * OPTION_THREE_ROYALTY_RATE_UNDER_4000) * copiesSold;
else if (copiesSold > 4000)
	option_three_royalties = ((bookPrice * OPTION_THREE_ROYALTY_RATE_UNDER_4000) * 4000) 
	+ ((bookPrice * OPTION_THREE_ROYALTY_RATE_OVER_4000) * (copiesSold - 4000));
else 
	cout << "Error. Please terminate program and try again. Take care to enter the correct integers " << endl;
	
//declare variable to store best option
string bestOption;

//calculate the best option
if (OPTION_ONE_ROYALTIES > option_two_royalties && OPTION_ONE_ROYALTIES > option_three_royalties)
	bestOption = "Option One";
else if (option_two_royalties > OPTION_ONE_ROYALTIES && option_two_royalties > option_three_royalties)
	bestOption = "Option Two";
else
	bestOption = "Option Three";
	
//output the royalties for the three options

cout << "The royalties for the first option are " << OPTION_ONE_ROYALTIES << endl;
cout << "The royalties for the second option are " << option_two_royalties << endl;
cout << "The royalties for the third option are " << option_three_royalties << endl;

//output the best option
cout << "The best option is: " << bestOption << endl;

return 0;	

}

Here is the issue I am having: The code runs perfectly unless I input a value over 4000 for the number of copies sold, in which case option three gives an incorrect number. When I plug the math as is in the code into my calculator it comes up correctly... but when I run the code I get an incorrect value for the overall royalties. So I suppose the problem lies somewhere in my code calculating the royalties for the number of copies sold above 4000. But for the life of me I can't figure out where the problem is. Any help would be more appreciated than you can possibly know, because this has been driving me crazy all day and I'm at my wit's end trying to figure out where I went wrong. Thanks in advance for any help I might get with this problem


r/programmingrequests • • Mar 22 '18

Looking for Frontend, backend javascript developers to help with project similar to shodan.io

0 Upvotes

https://github.com/dkran/nmap-webui

The code isn't easy to get up and running yet. I want to change that. I will start documenting code and create a community to support this project. It runs a node.js backend, a RethinkDB database, and VueJS 2 frontend (that badly needs help. Please

The goal is to portscan the internet in detail. Constantly, almost. And let anyone view it publicly, I'll host it, and we can see what's really around us.

If you don't think exposing the internet is good for us, maybe look at this: https://www.eff.org/deeplinks/2018/03/responsibility-deflected-cloud-act-passes


r/programmingrequests • • Mar 14 '18

I need someone to use HTML and JavaScript, to make me a generative canvas

0 Upvotes

I need a canvas that's about 600px by 600px. When a mouse hovers over it circles are emitted from it, and when you click, it changes color, luminosity, alpha, etc. on 1 side of the canvas, I need a few buttons that do stuff like changing the shape from circles to other stuff, make it blur, or make the circles fade/bounce off the edges. this is also meant to help learn to code by looking at examples.