r/programmingrequests • • Aug 21 '18

Create, share and run code anywhere

2 Upvotes

Greetings /r/programmingrequests! I've been working on an idea that I thought folks here might be interested in.

It's a new place where you can share and run code: https://pugbee.com/

If you need a script or piece of code that generally takes data in, does various tasks and spits data back out, you will probably find it useful.

Not only can you find and run programs on Pugbee -- you can submit requests for coders to write things for you. We're working on adding more programs and building a community to help provide useful programs for anyone.

Hope someone here finds it useful!


r/programmingrequests • • Jul 05 '18

A counter that displays the sub count of r/ThanosDidNothingWrong divided by two.

2 Upvotes

r/programmingrequests • • Jun 26 '18

I want to delete all cookies of another website in visitor's computer when they visit my website. Is it possible ?

2 Upvotes

My website is running on wordpress. I want to delete another website's cookies when people visit my website.

Is it possible to do?


r/programmingrequests • • Jun 19 '18

Help for generating all possible distribution of a Right triangle

2 Upvotes

I'm looking to automatically list all possible distributions, according to a submitted number.

It should list all possible "right triangular" distributions, like this:

X X X X

X X X

X X

X

...according to these 2 rules:

  1. the line above should always be longer (or equal) than the next one, never shorter!

  2. the amount of rows shortens the maximum length of the top line, because it is substracted from it

So, if you enter "9" you could have these kind of results:

Result 1:

x x x x x x x x x

Result 2:

x x x x x x x x

x

Result 3:

x x x x x x x

x x

Result 4:

x x x x x x x

x

x

...and you could even get this result:

x x x

x x x

x x x

....all the way, until you get 9 rows of 1 column each.

How can I achieve that?? The function should also work if you enter "2", then it would only list 1 row of 2 cols, or 2 rows of 1 col each.


r/programmingrequests • • Jun 06 '18

How to crawl reviews page to find average stats of each reviewer [specifically hostels to find average age/gender of travellers]

2 Upvotes

I'm currently solo travelling and am keen to avoid hostels that are

a) sausage fests (i.e. 80% male) and b) full of 18 year olds (I'm 32 and can't relate)

The go-to hostelling site is hostelworld.com. The reviews for each hostel state the gender and age range of each reviewer as can be seen here:

https://www.hostelworld.com/hosteldetails.php/Hostel-Lullaby/Chiang-Mai/285374#reviews

I have some small programming skills and would be very happy if someone would be able to push me in the right direction to get me started. Of course, if someone was happy to do the whole thing I wouldn't complain, but that is not what I'm after, I want to improve my skills and this looks like a great little project- I just don't know how to get started.

Thanks!


r/programmingrequests • • Jun 05 '18

download movie posters for movies in a list of torrent files

2 Upvotes

I have lots of torrent files for movies from a particular website - rarbg

I can usually decide if i want to download a movie or not by looking at the movie poster. Can anyone help me with a script to retrieve movie posters automatically? The torrent file names are all of this form.

A.Blade.In.The.Dark.1983.720p.BluRay.H264.AAC-RARBG-[rarbg.to] A.Boy.and.His.Dog.1975.720p.BluRay.H264.AAC-RARBG-[rarbg.to] A.Brush.With.Death.2007.720p.BluRay.H264.AAC-RARBG-[rarbg.to] A.Cadaver.Christmas.2011.720p.BluRay.H264.AAC-RARBG-[rarbg.to]

I have found some movie database softwares (like ant movie catalogue) which will download info on a bunch of movies if the names of the movies are in a csv or excel file. But i am unable to create a text or excel file which gets the names of movies from the torrent filenames properly. I am guessing that this would be the easiest way to achieve my goal.


r/programmingrequests • • May 30 '18

Programming (Processing) help needed!

2 Upvotes

Got a school project due in a few days and I want a background with twinkly stars added to my current sketch that I've got. Because the sketch is in 3D I'm not sure how I can add twinkly stars to the background. I want something like this as the background (https://www.youtube.com/watch?v=UVXlrBwlp80&t=127s). If anyone can help me please message me and I will send you my current processing sketch! willing to pay!


r/programmingrequests • • May 24 '18

Randomize all numbers in a text file by a small percentage

2 Upvotes

I've got 300,000 numbers that I want to increase or decrease randomly by a few values. I'm not looking to generate numbers but just modify the ones that I already have


r/programmingrequests • • May 23 '18

Idea using the SMMRY tool

2 Upvotes

Hi all,

I want to make a program which allows me to use the SMMRY tool (the one that reddit uses to summarize articles), to summarize articles and import them into an excel file. Ideally I would be on the articles web page and then I would select a button and it would create the summary in excel.

If anyone has any advice on the right steps I could take it would be much appreciated!


r/programmingrequests • • May 17 '18

Thoughts on low-code software development?

2 Upvotes

What are your thoughts on low-code development platforms? Platforms that allow people with no coding skills to create their own software without writing any code and also allows people with technical experience to reduce all of the mundane tasks setting up each project.


r/programmingrequests • • May 16 '18

Need some help with code.org GameLab project I'm working on.

2 Upvotes

What I'm trying to do is set up a bunch of bricks on the top of the screen (maybe 10 x 4) that experience their own collisions and get destroyed when they're hit by the ball. I'd like for their colors to be chosen at random between the four colored sprites I've already chosen.

I'm not that far into the other aspects of the game, so not much else works yet. Also, there's a lot of code that is commented out because I'm not sure it's the right way to do what I want. Sorry for having such a mess of code, I hope it's understandable.

I've been stuck on this for 3 classes and have no idea what to do. We didn't work with GameLab before, so I took the challenge to use it but now I'm having some trouble.

Here's the link to my project: https://studio.code.org/projects/gamelab/Ewh7jZaTPL-II-iEkL7a6DRnRCM_VY5F5S9Ya6sK7hQ

I will definitely mention in my final product which I hand in that I got help from whoever decides to help me.


r/programmingrequests • • May 06 '18

I need help with making a GUI File with this code

2 Upvotes

I've made a hangman game on python, but I'm too sure how to put it in as a GUI (tkinter) form. Help Me!

code:

from random import * HANGMANPICS = ['''

+---+ | | | | | | =========''', '''

+---+ | | O | | | | =========''', '''

+---+ | | O | | | | | =========''', '''

+---+ | | O | /| | | | =========''', '''

+---+ | | O | /|\ | | | =========''', '''

+---+ | | O | /|\ | / | | =========''', '''

+---+ | | O | /|\ | / \ | | =========''']

words = 'ant baboon badger bat bear beaver camel cat clam cobra cougar coyote crow deer dog donkey duck eagle ferret fox frog goat goose hawk lion lizard llama mole monkey moose mouse mule newt otter owl panda parrot pigeon python rabbit ram rat raven rhino salmon seal shark sheep skunk sloth snake spider stork swan tiger toad trout turkey turtle weasel whale wolf wombat zebra'.split() allAlpha = 'abcdefghijklmnopqrstuvwxyz' def randomWord(words): word_index = randrange(0,len(words)) return words[word_index]

def displayBoard(HANGMANPICS, incorrect_count, secret_word): print('HANGMAN GAME', end='') print('\nYou Have:') print(HANGMANPICS[incorrect_count]) print(secret_word)

def game(Selected_word): secret_word = '_'*len(Selected_word) incorrect_count = 0 Finished = False while not Finished: count = 0 displayBoard(HANGMANPICS, incorrect_count,secret_word) charactor = input('Enter Your Guess : ') usedAlphabat(charactor) for i in range(len(Selected_word)): if Selected_word[i] in charactor: secret_word = secret_word[:i]+Selected_word[i]+secret_word[i+1:] count += 1 if count == 0: incorrect_count += 1 if secret_word == Selected_word: Finished = True if incorrect_count == len(HANGMANPICS)-1: Finished = True

def usedAlphabat(inputChar): global allAlpha for i in range(len(allAlpha)): if allAlpha[i] == inputChar: allAlpha = allAlpha[:i]+'_'+allAlpha[i+1:] print(allAlpha)

def main(): Finished = False while not Finished: game(randomWord(words)) print('Game Over, If you Would Like To Play Again Press y or n') regame = input() if regame == 'y': pass else: Finished = True

if name == 'main': main()


r/programmingrequests • • May 02 '18

Hope someone can continue the Easy 7-Zip Program.

2 Upvotes

I hope someone can continue the Easy 7-Zip program and update it to the latest 7-Zip build and host it on Github. I tried contacting the developer but seems he is unavailable.

http://www.e7z.org/

The source code for both the the Easy 7-Zip project and 7-Zip can be found on their respective sites.


r/programmingrequests • • Apr 30 '18

Need help with code

2 Upvotes

Someone has given me this code and it's supposed to give a big clue to a certain story I've been breaking my mind on it, and I just can't figure it out. Can someone help me? This is the code: 22, 22, 4, 7, 6, 17, 0, 4, 25, 0, 4, 10, 8, 4, 5, 24, 7, 22, 7,18, 0, 11, 18, 13, 4


r/programmingrequests • • Apr 17 '18

allocation program

2 Upvotes

Please find below the requirement.
The input will be a file with two columns. One with student ID numbers and the other with the subjects that they are doing. For example https://ibb.co/e0BUNH
Along with this, there are two restrictions, max students (which is the maximum number of students to be allocated to a day) and max days (which is the maximum number of days in which allocations can be made).
The program should allocate the subjects to different days without causing a clash. For example, if a student has ACCY1 and PHY1 then these should not be allocated to the same day. If the program is not able to find a clash free spot for a subject within the max_days and/or max_students restriction, then it should allocate it to the day with the least clashes.
After completing the allocations, the program should check to see that students do not have allocations on adjacent days. For example, student 1234 should not have an allocation on Day 0 and Day 2 if they already have an allocation on Day 1. This means that the program should shuffle the days to fulfill this requirement. I will leave this to you to decide whether this shuffling is best suited at the end or if it should be applied when the allocation is being performed.
The output will be three files.
One will have the allocations with the total allocation of the day and subjects. For example:
Day 0 (100): ACCY1 (40), PHY1 (40), STAT2 (20)
Day 1 (50): ACCY2 (10), ENGG3 (30), STAT1 (10)
and so on.
The second will have the clashes. This will mention the day, the subjects and the students with a clash on that day. For example:
Day 0: ACCY1, STAT2 (1234, 1245, 3678)
Day 1: No clashes
and so on.(1234, 1245 and 3678 and student ID numbers)
The third will have the day wise breakdown of how many students have an adjacent allocation. For example:
Day 0: Day 1(3), Day 2 (1), Day 3 (0) and so on for each day.
Day 1: Day 0 (0), Day 1 (3) and so on for each day.
and so on for all the days.
/u/ionab10 has done an amazing job of the allocation bit at https://github.com/ionab10/graphs/blob/master/graph_colouring.py if someone wants to get an idea of it.
Thank you very much for your help.


r/programmingrequests • • Apr 14 '18

[Request] Program a Bible trivia game for me

2 Upvotes

Hey all, I'm a professor who teaches Bible and I'd like to make a simply Bible trivia game for my students. What I'd like for it to be is a game that gives a verse from the Bible, and then the person has to choose the book of the Bible that it comes from. It should have an Old Testament mode, a New Testament mode, and a whole Bible mode. It'd be a bonus if it also had an hard mode where you had to put the book of the Bible and the chapter. I'm willing to pay for the job. But I have no idea what is a decent rate for this would be, so I'm open to suggestions. Thanks!


r/programmingrequests • • Apr 09 '18

How to create a graph with specific edge lenghts that looks organized?

2 Upvotes

My specific case requires 13 nodes, some connecting to up to 8 other ones, and all edges have specific lenghts.

I want to create it in such a way that the lenghts are on the same scale, and also it coming out organized (it becomes a tangled mess 9 out of 10 times).

Any ideas on how to do this? Anyone up to taking a crack at it?

Thanks.


r/programmingrequests • • Apr 08 '18

Lightning strike in Processing3

2 Upvotes

I have been trying to create a Processing3 sketch following this sudo code. I just want to be able to draw a lightning strike from Point A to B, randomly.


r/programmingrequests • • Mar 19 '18

Looking for a script that will select specific radio buttons from a form on chrome, firefox or both.

2 Upvotes

So this is for my job which I'm trying to make things easier for myself. I have a set of radio buttons for each question that I need to answer by selecting one of the radio buttons for each question. Think of it as a type of form. I want to be able to have a template where it auto checks all the radio button and I can manually go and change the ones I need to change before I submit it. How do I do this? I have no programming knowledge besides some HTML but I also I know this is something that shouldn't be too hard to accomplish.


r/programmingrequests • • Mar 08 '18

Program that can allow me and my friend to face chat each other with a video from a streaming service like hulu in the middle of it so we can both react to an episode at same time even though we live far away?

2 Upvotes

I was wanting to watch a show with my friend, but since we don't live by each other I thought if there was a program to allow us both to watch with our faces, then we can react at the same time. We both have accounts.


r/programmingrequests • • Mar 08 '18

[Request] A script so when my FB account posts it will auto post to a group

2 Upvotes

r/programmingrequests • • Mar 07 '18

I need a full stack software developer to make a software, I'm paying for the whole project

2 Upvotes

it's for a little clinic, i'm looking for inventory, Accounts receivable, Accounts payable and print checks.


r/programmingrequests • • Mar 06 '18

Complicated decryption algorithm help

2 Upvotes

So, some background. I'm part of an ARG that often uses multi-layered autokey vig ciphertext. And the keys are often hidden in plain sight but within paragraphs of unneeded text. So, with this info, someone devised a brute forcer. The program, however, was only ever released in a very early non-working stage, and he left with his final version some time ago (he just decoded stuff and sent us the answers if it succeeded, and it did a lot of the time).

We need the program running again, and asap.

The program was able to:

*Take in a prose, which was a bunch of text with supposed keys hidden in it

*Take in the ciphertext

*Take a guess of the ciphertext's contents, so "mslwo 4" = "trial 4" for example, and this was used to verify if a decryption was a success (Messages start one of very few ways, so we were able to guess the words with a strong possibility of success)

*Run every possible combination of the words multiple layers deep, and it ran until it found a solution or continued going down more and more layers until manually stopped

I have the old version of his code, but it's not working at all. The code can be found here:

https://pastebin.com/DCJskD1s

I know this is a huge task, but I don't know anywhere near enough python to even begin understanding how this code works, and much less enough to know how to fix it. I don't have much to offer, but if you can help us out we could use the help right now. Please message me with questions, and thank you so so so very much for your time!

Tyler


r/programmingrequests • • Mar 01 '18

Fixing something I haven't made (PHP)

2 Upvotes

Hello reddit, I stumbled upon a PHP based website that allowed to generate fake history for a made-up kingdom. The problem is, the file is broken and when I try to send the form, nothing happens (when I check the debugger it tells me that something is wrong with the executing file) I found that the developper of the site posted the whole code on a forum, but I can't seem to find the problem myself.

Can anybody help me fix this ? It would be super useful to me !

Thank you very much.

Here's the link to the mediafire to get the whole wamagaloo.

PS - I don't know if I'm in the right place, if not I'm really sorry. I didn't know where else to go. .w.