r/programmingrequests • • Feb 08 '23

solved✔️ Best lightweight way to have my computer automatically check whether NUMLOCK is active, and activate it if not?

2 Upvotes

My computer sometimes decides (for no apparent reason) to disable the tenkey on my full-sized keyboard. I am reasonably certain that I am not inadvertently pressing the NUMLOCK key because it happens several times per day, and sometimes it happens without my even having touched the keyboard.

I've done some research on ways to keep my tenkey pad active at all times. All I have found are methods of setting the startup default by editing the registry. That helps, but doesn't solve the issue.

I know other people have experienced this issue, because I came across them in my searching. None of those threads have had answers either.

No language preference.

Any help is welcome.


r/programmingrequests • • Dec 11 '22

Python Need help with simple Python machine learning model

2 Upvotes

Hello all,

I am currently trying to implement a Python machine learning model that takes a list of UserID-ItemID pairs to train on, and then must be deployed on a list of target userID-ItemID pairs and predict whether the target pair existed in the train pair (e.g. has the user reviewed the item or not?) and create a new file with 0 next to the pair if not and 1 if. I currently have got the file into Jupyter Notebooks, and have loaded the training UserID-ItemID into a dataframe, but I am stuck on how to use this to train a model. Can you please help me get this set up?


r/programmingrequests • • Nov 19 '22

need help [Python] Webscrape Anime Genres from Name

2 Upvotes

I have an excel / pandas dataframe with 1300 names of different animes. I need a way to get a genre for them all. I am fairly new to web scraping and cannot figure out how to web scrape MyAnimeList or Wikipedia to get the genre. Thank in advance. (I can send the excel file as needed)


r/programmingrequests • • Nov 01 '22

Modded version of the Youtube app that disables the entire shorts feature?

2 Upvotes

i’m getting really tired of watching stupid children dancing and people killing animals and christian/muslim propaganda and pretty much everything else you can find on there. i wouldn’t even care if it made the rest of the app buggy. hell, i’d even take a version of the app that crashed every time i tried to watch a short.


r/programmingrequests • • Oct 30 '22

solved✔️ Photoshop text-fill bot

2 Upvotes

Novice here.

Was hoping there was a way to iterate through a given list of strings and fill those individual strings into a specified text box on photoshop

Let me know what everyone thinks!!


r/programmingrequests • • Oct 25 '22

need help Where can i find someone who can make a program that changes picture metadata dates based on the name of the picture file

2 Upvotes

I have a few few thousand images with where the metadata has been accidently changed to a wrong date, but the file name still portrays the right date. there are way to much pictures to individually change the metadata myself, but i thought it wouldn't be to hard to create a tool to change the metadata dates based on the name of the file. is this the right sub reddit to look for someone who could do this or should i look somewhere else ?


r/programmingrequests • • Oct 17 '22

Solved✔️ A simple math calculation problem in C++

2 Upvotes

I usually code in Python, but I need to solve this problem faster by using C++ (or any other language that may be faster for this case).

The task is about the Collatz conjecture. Take any number N. If it is odd, multiply by 3 and add 1 (N -> 3N+1), if it is even, divide by two (N -> N/2). Repeat until it gets to one.

Example with number 3: 3, 10, 5, 16, 8, 4, 2, 1

Let Col(N) be a function that outputs the number of steps in this process. For the example above, Col(3) = 7

Then, the program needs to output the sum of Col(k) from k=1 to m, for some input number m, that is, to return Col(1) + Col(2) + Col(3) + ... + Col(m)

The Wikipedia article on the Collatz conjecture has a description on the computation in binary, if it is of any use.


r/programmingrequests • • Oct 03 '22

Looking to automate a workflow - software that can be taught to pull keywords from emails

2 Upvotes

Anyone have any suggestions on software that can be used to automate the workflow of reading an email, pulling out relevant information and filling it out into a web form in another tab? Specifically software solutions that can be taught to look for keyword categories in gmail and automatically pull them out?

For example, with the categories of "product", "cost", and "quantity" it could pull out relevant information from an email advertising the bulk sale of graphics cards.

Ideally something with an API. And then any suggestions on a program that can take inputs and autofill forms in chrome? I saw there's some pretty robust extensions that can autofill from the chrome web store, but they use static inputs, not dynamic. Any links appreciated!


r/programmingrequests • • Sep 12 '22

need help [Paid] Looking for someone to help scrape Ontario Campground website for cancellations

2 Upvotes

I'm located in Ontario and my family enjoys camping. Camping reservations are done through https://reservations.ontarioparks.com/. Some spots are in high demand and it can be hard to book certain spots. I'd like a python script that I can use that will periodically monitor the website for certain cancellations. I'd like the option of either monitoring a particular campground for any cancellations or monitoring a specific site at a campground. To get an idea of what I'm looking for, you can check out campnab.com. However, this site extends to campgrounds outside of Ontario. I'm looking for something limited to Ontario. Budget for this is $20. Although if you want to bid more or less, I'm open to that. I don't have a good sense of how much something like this would cost to build. If you can build it as a webapp that could be hosted on something like pythonanywhere, that would be a nice bonus, but not absolutely necessary. I'm also happy with something that can run locally from the command line.

I've implicitly assumed python would be a good solution for this, but I guess it would also be fine if a non-python solution were used, too.

If you want more details, feel free to message me privately. Thanks!


r/programmingrequests • • Aug 18 '22

need help looking to have (what I believe) is a fairly simple number crunching program to add some numbers up

2 Upvotes

Ok that title sucked. sorry.

here's what I need:

a program that takes a list of numbers (that will always have 2 decimal places) and adds them up. Some of the numbers will be negative some will be positive. the list might look like this

5.01

4.02

10000.99

3432432.32

-9.03

you will notice that 5.01 + 4.02 = 9.03

9.03 + -9.03 = 0.00

the program needs to look for anything that calculates out to 0.00

the list of numbers might be 5 long (like in the above example) or there might be 40 numbers it will vary each time the program is ran.

It might take 5 numbers (some positive and some negative) to calculate to 0.00 it might take 7 or 8 numbers to get to 0.00. It just depends on how the math works out.

I need the ability for the user to have the list of numbers in a .txt file.

they would enter (copy) the numbers into a .txt file. Then run the program and the program would show if anything calculated to 0.00

as if things weren't ugly enough.

let's use another example list:

1.00

-1.00

5.01

4.02

-9.03

45.00

-36.00

-9.00

ok in this example

1.00 + -1.00 = 0.00

5.01 + 4.02 + -9.03 = 0.00

45.00 + -36.00 + -9.00 = 0.00

there are 3 different groups of numbers that calculate out to 0.00

the program would need to report all 3 sets. If possible have it output the results into a new .txt file. but it doesn't have to give the results in a new .txt file it can just report them on the screen.

The simpler the program interface the better. I'm not looking for anything extremely pretty. Just something that will crunch the numbers and output the results.

This isn't for a college program. I've been out of college for .. ok it's been a while... about 30 years.

Please let me know if you have any interest in writing this for me.

It can be wrote in any language that you need it to be wrote in. Just as long as it will run on a windows 8 / 10 / 11 type computer.

Edit: the program can be in an executable that can be run on a computer with no internet access. Or if you want it could be on a web site. I’d prefer an executable on a stand alone computer.

Edit 2: For asking that, the numbers can be in any random order.

Also once the number or numbers are used they can be deleted from the list. So another words in your example there’s a -5 and five those two would be removed once it is reported that they are calculating to be zero.


r/programmingrequests • • Aug 09 '22

need help Turning a Manual Input into a Random Input

2 Upvotes

Need someone to help / tell me how to change a manual input on the STUMPS app, into a random input, where the person's input is decided by a generator. Any help is much appreciated.


r/programmingrequests • • Aug 09 '22

[PAID] Tasker workflow to automate Stortz and Bickel App (Volcano)

2 Upvotes

I am looking to setup Tasker to open the S&B App at certain times, and automatically turn the heat/fan on, and/or run a Workflow/Iteration.

It does not have to be Tasker; any other method that would work on an Android device would be fine. A further option would be instead of actually using the S&B App, to instead just send the relevant BLE signals to accomplish what I need to do.

Edit: This post may be helpful: https://www.reddit.com/r/VolcanoVaporiser/comments/vgr5cn/replacement_bags_for_hybrid/ijgzbxl

As will this: https://github.com/ImACoderImACoderImACoder/onyx


r/programmingrequests • • Jul 31 '22

Hold to spam tap floating widget for Android

2 Upvotes

There is a lot of apps on the Play Store that will take care of spam-clicking for you, they all let you set one or multiple points on the screen and starts clicking them when you hit the start button. But I am looking for something slightly different.

What I want is a floating point on the screen that you can touch and move. And as long as you touch it it, will tap that point on the screen at a pace of about 5 times per second (possibly adjustable), and then stop as soon as the point is released.

My use case would be for battling in Pokemon GO, but I am sure there are other mobile games that could make good use of such an app and heal some sore fingertips.


r/programmingrequests • • Jul 31 '22

python/javascript Seeking collaborators for Django and desktop app for DAW project collaboration for artists/bands, producers, engineers etc.

Thumbnail self.programmingbuddies
2 Upvotes

r/programmingrequests • • Jul 23 '22

[SMT] I'm looking for a bot or api to scrape my finance websites and automatically update a live csv

2 Upvotes

I'm hoping to either scrub Mint(intuit) or my personal financial websites. They require sign-in and 2fa to access detailed reports, and what I would like is to be able to have something to report transactions, fill them into a live csv that I can link to a google sheet.
I have the linking and live csv parts figured out but I cannot for the life of me find anything to either actively track or report on my spending & income. If anyone knows of a program (preferably free or <5$/month) that already does this I would love to hear of it, otherwise I'd be happy to pay for what's made. I have absolutely no preference of language, so long as I can run it on windows. I appreciate any responses


r/programmingrequests • • Jul 19 '22

need help Kindle Programming Request

2 Upvotes

Hey guys, odd request but would anyone be willing to make me a Polish to English Dictionary for the kindle? I've been trying to find one or make one for the past couple hours but No one's wanted to do this I guess nor can I code in the slightest. I've found a github set of code which could work? I don't understand any of the lingo so I'm not really sure. If there is anyone who's proficient in this kind of thing, I'll be willing to pay as I'd rather this than have to buy a tablet to be able to translate words in Polish Books. If anyone is interested, pm me so we can discuss things like links, prices etc.


r/programmingrequests • • Jul 14 '22

how much might it cost to get all the page titles from commoncrawl?

2 Upvotes

The crawl archive for June/July 2022 is now available! The data was crawled June 24 – July 7 and contains 3.1 billion web pages or 370 TiB of uncompressed content. Page captures are from 44 million hosts or 35 million registered domains and include 1.4 billion new URLs, not visited in any of our prior crawls.

https://commoncrawl.org/2022/07/june-july-2022-crawl-archive-now-available/


r/programmingrequests • • Jul 14 '22

need help Zhiyun Transmission Transmount Emulator

2 Upvotes

Hey everyone, I couldn’t find anything online so figured I’d try here. I currently have a Weebill S camera gimbal from Zhiyun. The Weebill S is capable of being remotely controlled from controller and gyroscopic field monitor. I’m looking to see if it would be possible to emulate the transmount systems that Zhiyun makes with a pc programmed controller.

I can buy the appropriate WiFi antennas and whatever other hardware may be needed, just trying to skip the big bill on being able to simply control the gimbal remotely.


r/programmingrequests • • Jul 07 '22

solved✔️ Started a new job and I'm working from home, just need a simple batchfile

2 Upvotes

Hey,

I'm very happy because I've landed the job I've wanted, which gives me time (and money) to start learning coding on my own. I'm still far away from that stage, due to onboarding and induction stuff, but I'm already geared up to work from home.

TLDR in this paragraph: basically what I want is a script file that when I click it it changes the power settings to economy and makes the two displays switch to mirror mode, and clicking it again to revert it (or another script for that) to high performance and expanded screen. It's not a payed job, I'm literally asking for someone to do me a favor, I know your time has worth. :)

The setup is my own rig and a chromebook (don't hate, it's pretty easy to learn how to work around the bugs) with two monitors. I just want to have the option to have both turned on (spotify and torrenting, for example) and I'm afraid I would forget to change the settings. Since I'm a no icon desktop guy, I'm willing to sacrifice that for 2 icons that would serve as reminders.

I can't code but I can somewhat interpret simple strings, tho.

thnaks in advance


r/programmingrequests • • Jun 03 '22

need help Google Apps Script - Help with approach to a project

2 Upvotes

Update: To explain visually what I'm trying to achieve, I've tried to do this in a vid https://www.youtube.com/watch?v=lxN_6U28zmM

I couldn't find a community that helps with the logic/pseudocode of a program, so hopefully this question sits fine here.

With Apps Script, I've imported Calendar Events into a Spreadsheet ["Time Blocks" tab] and calculated their duration in minutes. There's also a column with the unique ID of each Event.

On the "Task Estimation" tab are some tasks with the estimated time needed to complete the task and some other bits I was playing around with.

Now my brain is blocked with the logic of it all and can't work out how to move forward.

The aim for a basic version of my App Script is to assign each of the tasks to a calendar event time period ("Time Block"). Each task will then be sent to a Calendar with its corresponding details.

I'd eventually like to also apply conditions/settings to the tasks such as:

  • 450 minutes is the maximum time that can be assigned to tasks each day.

  • If a task does not have to be done in one go (can be split into different sessions) then it will be split into 45min sessions.

Here is the spreadsheet so you have a better visualisation of what I have: https://docs.google.com/spreadsheets/d/1RnlGCdLHaNfaCRnOwQ6ObJXUeVXdk6yrakTP_0CDhPU/edit?usp=sharing

In summary, this is a time-mapping project, and I'd like some ideas with the pseudocode please.

Thank you so much for your help!

Please keep your answers simple as I'm not great with coding!

Below is the Apps Script code that I have so far [updated 12th June -- any suggestions for improvement to my code would also be appreciated!]:

//getEvents & print to spreadsheet:  
function getEvents(){     
const TimeBlocksSheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Time Blocks");
const cal = CalendarApp.getOwnedCalendarById("[email protected]");
var Futuredate = new Date();
Futuredate.setDate(Futuredate.getDate() + 3); //how many days ahead do you want to block for?
const calEvents = (cal.getEvents(new Date(), Futuredate));
  
// Getting tasks
var tasksList = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Task Estimation");
var lr = tasksList.getLastRow();

  
//Task Settings
var sessionDuration = tasksList.getRange(2,13).getValue();
var dailyLimit = tasksList.getRange(5,13).getValue();  
var taskBuffer = tasksList.getRange(8,13).getValue();
//end of task settings
  
var timeBlocks = [];
var tasksArray = []; 

//Time Blocks(Events)

var lr = TimeBlocksSheet.getLastRow();
TimeBlocksSheet.getRange(2,1,lr,5).clearContent(); //clears content row,col,lastrow-1, 3cols
  
for(var i = 0;i<calEvents.length;i++){
  var unique = calEvents[i].getId(); //unique Event ID   
  var title = calEvents[i].getTitle();  
  var startdate = calEvents[i].getStartTime();
  var enddate = calEvents[i].getEndTime();
  var blockDuration = (enddate - startdate) / 60000; //converts the milliseconds into minutes
  
   function roundDown (blockDuration, sessionDuration) {
    return Math.floor(blockDuration/sessionDuration) * sessionDuration;
  }
  
  var noOfEventSessions = roundDown(blockDuration, sessionDuration)/sessionDuration; //uses roundDown function to get a whole number for number of sessions the Eventblock can take
    
  timeBlocks.push({
    BlockID: unique,
    BlockName: title,
    BlockStart: startdate,
    BlockEnd: enddate,
    AvailableTime: blockDuration,
    NoEventSessions: noOfEventSessions,
    allocatedTime: 0
    
  });

  TimeBlocksSheet.getRange(i+2, 1).setValue(title);
  TimeBlocksSheet.getRange(i+2, 2).setValue(startdate);
  TimeBlocksSheet.getRange(i+2, 2).setNumberFormat("dd/MM/yyyy h:mm:ss am/pm");
  TimeBlocksSheet.getRange(i+2, 3).setValue(enddate);
  TimeBlocksSheet.getRange(i+2, 3).setNumberFormat("dd/MM/yyyy h:mm:ss am/pm");
  TimeBlocksSheet.getRange(i+2, 4).setValue(blockDuration);
  TimeBlocksSheet.getRange(i+2, 5).setValue(unique);  
    
} //closes For loop
  
//Task loop  
for(var i = 2; i<=lr-4; i++){
  var taskID = Date.now() + Math.floor(Math.random());//unique task ID
  var taskTitle = tasksList.getRange(i,1).getValue(); //get task name
  var taskSplittable = tasksList.getRange(i,2).getValue(); //can the task be done over different session/days etc?
  
  
  var taskDuration = tasksList.getRange(i,3).getValue() * 60; //task duration in minutes, must be entered in spreadsheet as decimal e.g 1.5 = 1hr 30mins (90min) #### try to change ease of entering ####
  var taskDurationWbuffer = taskDuration * taskBuffer; // This is est of how long the task will take including the desired buffer entered in spreadsheet
    
  function roundUp (taskDurationWbuffer, sessionDuration) {
    return Math.ceil(taskDurationWbuffer/sessionDuration) * sessionDuration;
  }
    
  var noOfTaskSessions = roundUp(taskDurationWbuffer, sessionDuration)/sessionDuration; //uses roundUP function to get a whole number for number of sessions the task will require for completion
    
  tasksArray.push({
    TaskID: taskID,
    TaskName: taskTitle,
    TaskSplittable: taskSplittable,
    TaskDuration: taskDurationWbuffer,     
    TaskSessions: noOfTaskSessions,
  });
     
}//closes for loop
  
tasksArray.map(isSplittable);
timeBlocks.map(blocks);

var freeEvents = [];
//freeEvents.map(freeEvents); //should word in () match the var name?
  
//var occupiedEvents = [];
//occupiedEvents.map(occupiedEvents); //should word in () match the var name?

function isSplittable(task){
  var splittableTasks = [];  //do i need this?
  if (task.TaskSplittable == "Yes") {
    splittableTasks.push(task); //do i need this?
    var taskSessionsCounter = 0;
    
    while (taskSessionsCounter < task.TaskSessions){
      function blocks(block){ //1 here I want to loop through the timeBlocks array
        
        while (block.allocatedTime < block.NoEventSessions){
        block.allocatedTime++; //2 add +1 to each block in timeBlocks.allocatedTime
        } //closes while block
        
        } 
      var occupiedEvents = timeBlocks.find(function (item){
      return item.allocatedTime == item.NoEventSessions;
      });
      
      Logger.log(occupiedEvents);
      //occupiedEvents.filter(block);//3  once timeBlocks.allocatedTime = timeBlocks.NoEventSessions splice/send event to occupiedEvents array
     taskSessionsCounter++;
        }
            
      //6 add properties to the occupiedEvents array: taskID, tasktitle
      
    }
    
    //7 then Logger.log(occupiedEvents);
    
else if (task.TaskSplittable == "No") {
  return [task.TaskName + " cannot be split, decide what to do"];
  } else{
    return ["Not sure yet"];
  }
  
} //closes splittable tasks function


} // closes getEvents function

r/programmingrequests • • May 17 '22

(Python) Take a text file with a list of words, and find n-character strings with x results along with the corresponding words

2 Upvotes

I don't code at all, and I don't know if this subreddit is appropriate for this, but here I go.

If you take a list of words (separated by newline) like:

clean
clear
dream
see

and tell the program to find 3-character strings with 2 results, it should output a text file that contains

CLE clean clear
LEA clean clear

So essentially, the strings are alphabetized and the words that contain that string are beside it. Or if I tell it to find 2-character strings with 1 result, it should give

AM dream
AN clean
AR clear
... (and so on)

(or maybe even n-character strings with 0 results!)

I hope I was clear enough, thanks!


r/programmingrequests • • May 16 '22

homework My website looks nothing like the one in the video I'm using as a guide, please help

2 Upvotes

In visual studio code im making a responsive website with the help of a youtube video, the problem is that my site looks nothing like the one in the video cause some of the code isn't running. How do i fix this? help

This is the video that i used: (I'm 19:20 minutes in)

https://www.youtube.com/watch?v=TVFu4-Kd4oM&t=1163s&ab_channel=Mr.WebDesigner

These are the links to my code and how the site currently looks: (sorry its that i dont know how to share with github)

https://imgur.com/a/5elkNtk

https://imgur.com/a/8zrvkr1

https://imgur.com/a/SGlLaQw

https://imgur.com/a/7kmuYvQ


r/programmingrequests • • May 13 '22

C++ Need help for a tip

2 Upvotes

Need someone to write me a program in C++.

Will tip if i get my request.

The program structure should be like this.

Menu

  1. Registration of new employee

  2. Registration of e-mail address

  3. Printing of a list of employees

  4. Printing of Fibonacci

  5. Quit program (it should have a loop)

  6. You must register first name + last name in a list.

  7. For all new employees, you must automatically create an e-mail address with the syntax of your 2 initials + three letters in the first name + three letters in the last name followed by @ universum.nu. Example [email protected]. Use a function. (nothing should be entered by you) There should also be a check for duplicates.

  8. Print a nice list with surname, first name, e-mail address. Use a function.

  9. A printout of the nth century in the Fibonacci sequence. If I enter 7, the Fibonacci number 13 should be displayed.

*NOTE ONLY IN C++ NO OTHER LANGUAGES*


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