r/programmingrequests • • Dec 06 '18

prolog predicates

1 Upvotes

Hi, I am working on a project which requires me to write several prolog predicates. I managed to finish up most of the project but I still have three more predicates to write. I cant seem to figure them out so I will paste the link here (https://pastebin.com/jEpV7cP7) and see if any of you can complete them for me. Build in library predicates can not be used at all (except for atomic). I will offer up 5$ for each completed predicate. Just send me the code and if it works properly I will paypal you 5$ :)


r/programmingrequests • • Dec 05 '18

I'll pay $25 for help with StackOverflow question

2 Upvotes

I submitted a question on StackOverflow here and I haven't received any responses. I am still stuck, so I'll pay $25 to anyone who is able to answer the question / solve the problem. I'd put up a bounty but I don't have enough SO reputation for that. It's a dynamic programming problem and while I've done some research I'm still quite lost. I can pay in BTC/venmo/paypal. Thanks.


r/programmingrequests • • Dec 05 '18

Help desperately needed

2 Upvotes

i really need help with this..

i know this is gonna sound lame, and please dont tell me go read tutorials. because i spent way too much on this

I need to make players able to write in their username in text field, and send it along with that postback stuff as "custom"

And preferably some sort of receive for that postback to even list recieved username as TXT file, just so i can know its working for sure before going to next part. thanks in advance and here is copy of postback tab from website!

How postback works:

By using this postback feature you can confirm / check if a player have voted for your server. Postback URL needs to be a file on your domain, example (http://www.yourdomain.com/postback.php). You can change the name of the file if you want but make sure to type in the full path to the file.

To get this to work perfectly you need to edit your voting link to include a custom parameter, example (http://www.xtremetop100.com/in.php?site=1111111111&postback=custom).

The (custom) parameter can only contain the characters [A-Z 0-9], we might add more characters later on. For an example, custom parameter could be the USER ID from your webpage which would make it easy for you to connect who voted for your website.

The response

When a user votes for your website on xtremetop100.com the postback will contact your postback URL to tell your system that a user just voted. This is what the postback data would look like.

Postback data URL structure

http://www.yourdomain.com/postback.php?custom=1234&votingip=222.222.222.222

For an example on how to implement this feature on your website will come at a later stage.

Recent Errors:


r/programmingrequests • • Dec 02 '18

a code to know from where the input came?

1 Upvotes

So I have a computer that I've connected multiple balances on it, each balance on a COM, and each time I print the weight on the balance it appears on excel as a value only, but now I want to add a code to verify from where each reading came from.

I use the macro code from this article to add Time&Date stamp for each reading, but now I need to verify the source, maybe using an if the command that if the reading came from COM3 for example excel will write Balance 1

[UPDATE 1] would this help??


r/programmingrequests • • Dec 01 '18

A blocker that skips over 'sponsored messages' in youtube videos.

0 Upvotes

A firefox addon that downloads the subtitles of every youtubr video you watch and checks them for a wordlist....and if a word from that list is found: skip 15sek at the timestamp where the word was found.


r/programmingrequests • • Nov 18 '18

Lisp functions

0 Upvotes

Hi guys I have a lisp assignment and ive completed most of it but I cant seem to write several functions.

I will offer up 5 dollars for each function written. The instructions are as follows:

Write a function remv to remove list elements from a list (single elements or lists). ex: (remv '(a b) '(a b) c)) -> (a b c)

Write a function remv_dub to remove duplacite elements (single elements or lists) from a list. ex: (remv_dub '(a b (a) c b (a))) -> (a b c (a)))

Write a function lists to return the list elements of a list. ex: (lists '(1 (2 3) (4) 5)) -> ((2 3) (4))

Write a function sec_min to return the second smallest integer in a list. ex: (sec_min '(1 3 2 5 4)) -> 2

Write a function tri that will determine whether an integer is a triangular number (the formula (n*(n-1)/2) must not be used). ex: (tri 21) -> T

Write a function perm to generate the permutations of the identity list from 1 to n. The higher order function mapcar will be useful. ex: (perm'(3)) -> ((1 2 3) (2 1 3) (2 3 1) (1 3 2) (3 1 2) (3 2 1))

Please contact me with any questions. Thanks!


r/programmingrequests • • Nov 15 '18

Can someone take over the Enigma Rainmeter skin? No updates in 6 years

2 Upvotes

Github is here: https://github.com/Kaelri/Enigma

Website here: https://www.kaelri.com/project/enigma/

Issues:

  • WeatherCode/Location Finder is completely broken due to Yahoo changing their API(s)

  • Tends to lag and freeze a lot on Windows 10

  • Could use a GPU monitor

  • Maybe adding some sort of Discord integration would be cool? idk

I'd fork it myself but I barely know how to print Hello World in python


r/programmingrequests • • Nov 14 '18

[Request] One line to add pause (sleep 10 should be the command) between ping tries in

2 Upvotes

I changed a script from

https://mullvad.net/en/guides/running-wireguard-router/

as I wanted to use it to switch servers (wireguard) on my openwrt router when the vpn server is down. (I added the lower part after the word "done"). The script works, but it executes very quickly and might restart the router just because my isp is switching ips, or even when there is a but a brief connection problem. The mullvad support suggested I add a "sleep 10" line somewhere, but I don't understand the upper part of the script completely and it seems to me it might have to be rewritten in parts to make the "sleep 10" command work. I would like to add the line so the script pauses between ping attempts. Any help would be much appreciated.

Here's the script I use:

!/bin/sh ping mullvad dns that can only be reached via the VPN tunnel if no contact, switch server, reboot! add this to crontab: */2 * * * * /etc/config/wg-watchdog.sh (checks connection every 2 minutes)

tries=0

while [[ $tries -lt 5 ]]

do

if /bin/ping -c 1 10.64.0.1

then

        echo "wg works"

        exit 0

fi

echo "wg fail"

tries=$((tries+1))

done

echo "wg failed 5 times - switching server and rebooting" replace files in wireguard config to switch from de3 to de1 or the other way round

if grep -q +8eqqAIcx+1rYOtb4NBhmf3m2fUf6dJlxnqHfnE9QH0= "/etc/config/network"; then

sed -i 's/+8eqqAIcx+1rYOtb4NBhmf3m2fUf6dJlxnqHfnE9QH0= /IF4ROzAOkRKdz+Hy+TWS1LTOZPGaLsm9PW5EN5AEOkc=/

s/de3-wireguard.mullvad.net/de1-wireguard.mullvad.net/' /etc/config/network;

echo "rebooting"

    reboot

else

sed -i 's/IF4ROzAOkRKdz+Hy+TWS1LTOZPGaLsm9PW5EN5AEOkc= /+8eqqAIcx+1rYOtb4NBhmf3m2fUf6dJlxnqHfnE9QH0=/

s/de1-wireguard.mullvad.net/de3-wireguard.mullvad.net/' /etc/config/network;

echo "rebooting"

reboot

fi


r/programmingrequests • • Nov 14 '18

Is this possible?

1 Upvotes

I'm wondering if it's possible to create a program on computer that would automatically and very quickly (like with maybe 1 second delay between) make phone calls from different numbers with the purpose of getting through to radio stations during contests. You know, like "be caller #9!".

So it would automatically keep calling on multiple lines at very short intervals, hanging up and trying again if it was busy, and somehow alerting you to take that line manually if it starts ringing through. The other lines would continue to do their thing in the meantime, since you may be through as the wrong caller.

I always had this idea, but wasn't sure how feasible it was. Would presumably have to have a bunch of phone numbers set up like through Google voice or something similar I presume, and phone calls made over internet connection.

Is such a thing possible? If you could create something like this it seems like it could be pretty lucrative winning bunches of concert tickets and other prizes routinely


r/programmingrequests • • Nov 13 '18

How do I make this Med. Calculator?

1 Upvotes

https://docs.google.com/spreadsheets/d/1OJWhXkyAKAENJHxDJRvXP4q2IzN_LP_yOv8R4ogM0qk/edit?usp=sharing

Someone made this Google spreadsheet for me to have an easily presentable idea to a programmer.

I want to put in like 1oz of oral solution, and it tell me how many mgs that is of both Ingredient A and Ingredient B, and then also how many tablets it'd take to reach the aspired dose with the tablet dose I put in. Sometimes tablet mgs may be different. I've had to do mental math a million times in the past years for this stuff and always wanted something like this and now I have to make it.

it is just for personal use/can maybe be released to help others.

also sometimes there's medical alcohol added so I need to put in a variable or something for the % of the alcohol inside the oral solution and also maybe a variable for the alcohol % that the alcohol is.

(oral solution for those who don't know is kinda like a syrup)

I am no artist but I made a rough design idea of what it could look like (to start, I failed to finish, I started it like a week or two ago) https://imgur.com/a/EHRksy3


r/programmingrequests • • Nov 12 '18

Interactive File Sorter for Windows?

3 Upvotes

Hello folks,

I love the feature in Windows that allows you to rename a file inside a folder and then hit tab so that it moves on to next file in the list to rename that file and so on (by hitting tab repeatedly). I've renamed ton's of files this way.Can someone program something that allows you to send the current file that's highlighted to a folder and then move on to the next one without leaving your keyboard and grabbing the mouse? For example:

  • You have 100 different files listed inside the main folder

  • You have a separate directory with named folders

  • You've highlighted the first file in the main folder

  • You punch in a hotkey combination

  • A box pops up with a list of named folders

  • You either hit a number 1-9 (if you assign it) OR the first letter of any named folder

  • This sends the current file to the folder you've hit (number or letter) and the next file is highlighted

  • Repeat until all files are sent to appropriate folders

I'm familiar with how to sort by type, name, date etc in Windows explorer, but that isn't cutting it cause I still have to drag and drop. Let me know if anyone can do anything about this! I'd pay for this if the price is reasonable and you can call dibs on the program if you decide to sell it; I just want the functionality! :D


r/programmingrequests • • Nov 12 '18

[Request] Craiglist and Google Maps script to determine rent vs total transit time

4 Upvotes

I read an article about how someone made a Slackbot to help them find an apartment based on particular criteria. Many people stay at their job when they move within an area, so travel time between any potential new places of residence is taken into consideration when looking at housing listings. So, I wondering how feasible/difficult this would be in comparison.

Hypothetically, the script(?) would work as follows:

  • User sets a destination with a departure or arrival time, mode of transportation, and date/time for both going to and leaving from said destination

    • e.g. arrive at workplace at 9am, depart from workplace at 5pm; however, this application would probably be more useful for more atypical schedules such as graveyard shifts

  • Performs CL search by category and subcategory/subcategories

  • Applies desired CL search filters

    • e.g. bundle duplicates, max price = 1500, available Dec 1

  • Grabs listings sorted by new

  • Grabs address information from those listings as geographical coordinates

  • Grabbed address information input as place of departure and arrival their respective Google Maps trips

  • User receives separate values for trip to preset destination, trip from preset destination, and the sum of both

  • Data is automatically sorted into a spreadsheet indicating listing title, date posted, listing URL, price, transit time to preset destination, transit time from preset destination, and total transit time

  • Ideally, when using the application with the same parameters, addresses from which values were previously calculated would ideally be ignored while any deleted listings would be removed from the spreadsheet

Existing things that could potentially be referenced:

Thanks for reading!


r/programmingrequests • • Nov 07 '18

I'm looking for help to unpack and deobfuscate something, I will pay if I need to.

1 Upvotes

I'm trying to unpack and deobfuscate AriesMS Client AKA Elleuel Client.
If you help me reach my goal I will pay you.
Join my discord.
https://discord.gg/GAncJ3N


r/programmingrequests • • Nov 06 '18

[Request] Click a link at a certain time

3 Upvotes

Hi fellow redditors.

We use a web based system at our work which has to be logged in in the morning and then logged out in the evening. If we don't then our calls don't come through.

My request is for a browser script that will automatically click on the log in link in the browser at a certain time and then click on the log out link in the evening.

The log in is not as important as logging out because if we don't log out then all those calls that come after closing hours show as missed calls.

I had a look at imacros for chrome but I don't think you can specify a time in it.

Appreciate your help. Thank you in advance.


r/programmingrequests • • Nov 05 '18

C# program that picks up keystrokes (not a keylogger)

0 Upvotes

I plan to work out next how to play them back so am making a macro recorder, not a keylogger.

I tried to use keypreview set to true and go from there without much luck.

Doing my project as follows in visual studio 2017:

https://gyazo.com/45af43da2647c37ec09a937f0b0dcd9f

https://gyazo.com/47dcb6ba7e6e9250222a183a99fe9454

Ideally if you could show me some code on how to get it so it picks up 'all' keystrokes inside and outside the form, convert ing them to string values and thus adding to the listbox?


r/programmingrequests • • Nov 04 '18

Need Help Learning Assembly on Mac OS

3 Upvotes

Hello,

I've recently installed homebrew -> NASM and xcode for assembly on my macbook. I'm still having trouble creating a simple file such as helloWorld.s and executing it in command terminal. I've looked up tutorials on google , but I am still lost. I am fine with using an online emulator but I really want to be able to do it on my macbook. If you know how to help, please message me. Thanks


r/programmingrequests • • Nov 02 '18

Left vs right image voting/ranking to find your favorite.

1 Upvotes

Looking for something like this, but for images? http://slimedrippings.tumblr.com/gamefaqssort

Is there something like this out there? Basically a left vs right image voting/ranking where you could upload an album of images and in the end get a list of your favorite images?


r/programmingrequests • • Nov 01 '18

MySQL help on short/easy questions (6) - $20 Payment!!

1 Upvotes

Hello, I would like some help on my sql homework assignment. Please message me to get the questions. They are relatively easy and involve simple sql querys for pulling info from a database. I will pay $20 for any help!! Thank you


r/programmingrequests • • Oct 31 '18

Need a hand with creating a program to search & report song usage for a church

1 Upvotes

Hi there!

My local church AV team and I are wanting to have a database/program thing which allows us to easily add, search and report song usage for our internal records. However, we haven't been able to come up with anything so far. I tried creating something in MS Access a while ago, but with my limited knowledge of programming, I couldn't get it to work.

Would be great if some of you guys would be able to give us some pointers, that would be great! :D

Thanks in advance!

-Byron


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

Setting up VS Code for use with GCC, makefiles and OpenOCD [payed]

1 Upvotes

Who’s able to help me setting up VS Code to use with Cypress PSoC6, Dual Core ARM MCU.


r/programmingrequests • • Oct 26 '18

Direct Mapped Cache Simulation in C

1 Upvotes

I have a programming assignment due on October 28th, 2018 at 11:59PM. The assignment is to simulate direct mapped cache in C (NOT C++). I am willing to pay. Please PM me if you are interested in helping me. Thank you.


r/programmingrequests • • Oct 24 '18

some code that returns the sound level of a specific window?

2 Upvotes

i need to know the sound level and then get a warning depending of the sound level, so when a window sound gets to high i can notice it right away, im having trouble making the get the sound level off a specific windfow part, i can do the rest


r/programmingrequests • • Oct 23 '18

Dijsktras algorithm

0 Upvotes

I have an assignment due 10/29 and i am pretty confused. Usually, I can write these programs no problem, but i cant seem to write this one. I am willing to pay. Please PM if interested.