• Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Reinstallation/Activation Problems

    I used the method Rev Jim noted about "don't have the key." Now there are things that happens too often so I'll keep it short. 1. The client only had …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Reinstallation/Activation Problems

    My sister likes to bush buttons, any buttons, all buttons. As a result, I felt her computer could not be fixed. I reinstalled Windows 10 pro for her from an …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in How can i make a vertical bar chart without arrays, using only loops?

    OK we can use the various loops and IF. Remember we have many design choices here but the goal is NOT to design well here as the assignment forbid arrays. …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in python paramiko exec_command run local bash script on remote server

    I'll lead with this: I have used remote ssh many times but NOT what you are trying. This is me just thinking about your question so here goes. My first …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching python paramiko exec_command run local bash script on remote server

    I am trying to run my local bash script on remote server without copying it into remote server. It is as simple as following for test purpose. There are more …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in write this program in C++

    I'd decide if you want to write some voting code or look at the link I gave. Remember I take it this is a real request from you and not …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in write this program in C++

    Your second post in this thread doesn't look like credit card code. Looks like voting code. Mistake?
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Python converting radian to degree

    Maybe after line 8? I get it that folk struggle to write code and some math but here most of us want you to write the code so you can …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in write this program in C++

    Since this is not homework but something you need for your app or work, try https://www.geeksforgeeks.org/program-credit-card-number-validation/
  • Member Avatar for rproffitt
    rproffitt

    Began Watching write this program in C++

    [You may use arrays] Credit Card Number Validation Payment card usage in Egypt is on a steady rise. According to the CBE report there are over 22 million active debit …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Python converting radian to degree

    > The conversion between radians and degrees is: degrees = radians * 180 / pi . You should be able to do this when the need arises.
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Python converting radian to degree

    from sympy import Symbol, Derivative, cos import math pi= math.pi t= Symbol('t') function_t = 2*cos(2*math.pi*t)*2.718**(-(math.pi*t)/2) f1 = (function_t.doit().subs({t:1.5})) print("When t=1.5,", f1) I can't find a way to calculate cos in …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in C++ Magic The Gathering Game

    I see nine such projects at https://github.com/topics/magic-the-gathering?l=c%2B%2B Maybe use one of these to start, then add what you feel is missing. When done, contribute to the project you started with.
  • Member Avatar for rproffitt
    rproffitt

    Began Watching C++ Magic The Gathering Game

    Hello, looking for help in implementing a game. I don't know if anyone is familiar with it. No Third Libraries allowed. I've been on it for 3 weeks and I've …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in magic the gathering

    I see 9 such projects at https://github.com/topics/magic-the-gathering?l=c%2B%2B Why start from scratch?
  • Member Avatar for rproffitt
    rproffitt

    Began Watching magic the gathering

    Hi guys! I am currently using c++ and I wanted to start doing basics of a game with oop. And I thought MGT would be good. So, the problem is …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in logrotate with formatting problem

    In short, if you want to use a handler to write to the log, then that's what you use and never use other methods to write to such log. Tutorial …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching logrotate with formatting problem

    Hi , I am new to python. I am trying to have a logrotate feature and also try to print the logs in formatted fashion. So I have created two …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Ajeet_8 in How to Insert Date into Text (tkinter)

    import datetime self.textarea.insert(END,f"{datetime.datetime.now}") textarea.insert(END,f"{datetime.datetime.now()}")
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in How can i make a vertical bar chart without arrays, using only loops?

    So the if statement can't be used? Harsh assignment there. Remember I have to take your words as they fell.
  • Member Avatar for rproffitt
    rproffitt

    Began Watching How can i make a vertical bar chart without arrays, using only loops?

    I am beginner and still learning c++. So this was a question in my assignment to make a horizontal bar chart something like this, Example: Input: N1=>8 , N2=>6 , …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in In this function you have to display the current time and date of your syst

    Shouldn't this vary by: 1. Which compiler and libraries you use? 2. Can it vary with the OS? Remember that homework assignments are done by you but let's dig in. …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching In this function you have to display the current time and date of your syst

    In this function you have to display the current time and date of your system. You can use built-in functions and/or pre-processor directives for this purpose. Your output should be …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in to accept name,class and roll no and print them

    I would be guessing if this is homework but we only assist where you are stuck rather than do your homework. Today you see paper printing from apps but hey, …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching to accept name,class and roll no and print them

    please give me the whole program
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Dani in can anyone help me please,its very urgent and my eyes is souring :(

    ABSPATH is static, right? Remove the single quotes around it and that should do the trick.
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in How can i pass password to command prompt automatically using python script

    I had to read a little about Ansible but a quick thought would be that I would write out a new YAML (yml) file to automate this. Remember this is …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching How can i pass password to command prompt automatically using python script

    [root@codegaurd]# cat runplaybook.py import subprocess subprocess.run(['ansible-playbook', 'main.yml', '--ask-vault-pass']) [root@codegaurd]# python3 runplaybook.py Vault password: I have to pass it in same code when prompted. I do not want to change the …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in can anyone help me please,its very urgent and my eyes is souring :(

    My debug methods would be: 1. Check my syntax at and around that line. 2. Echo/print/log the ABSPATH value at about line 7886 to see what it is. 3. Add …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching can anyone help me please,its very urgent and my eyes is souring :(

    ![Screenshot_(2).png](https://static.daniweb.com/attachments/4/c0a0afbf51cd49a05979817aec55aae8.png) ![Screenshot_(1).png](https://static.daniweb.com/attachments/4/64076d813428db9ea62993455ba6feb8.png)
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Reverend Jim in except ValueError... i dont know how to fix it

    If you are going to print out `y = a^x + b`, and you are going to prompt for `a`, `b`, etc, then you might as well use `a` and …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Motherboard problems.

    There's not enough story here to narrow it down. Try sharing, make, model, age, when you dropped it and so on.
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Motherboard problems.

    My laptop turns on, its fun runs but won't display anything. How to fix such problem?
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Dani in Hi everyone, I'm 1kpop

    > I should have clarified I was asking about the candy version. I understood what you meant. It was a joke. Sorry for hijacking your topic, 1kpop! ;)
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Dani in Hi everyone, I'm 1kpop

    Hi there. So nice to meet you. Welcome to DaniWeb!! rproffitt, I would assume that all fish eaten in Sweden are Swedish fish.
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Dani in Q.No2 Write a C++ program which ❼ take two 4 × 4 matrices and add them ❼ a

    Sorry, we won't just do your homework for you here at DaniWeb. Please post the code you have so far along with where you're stuck, what's confusing you, where any …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in except ValueError... i dont know how to fix it

    Line 12 jumps out to me and I could be wrong here has an oddly named variable. Try something plain but descriptive. Read https://www.w3schools.com/python/gloss_python_variable_names.asp as to why I worry that's …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching except ValueError... i dont know how to fix it

    import math import numpy as np import matplotlib.pyplot as plt print("y = a^x + b") jarda=0 while jarda<=0 or jarda==1: jarda=int(input("zadej a ")) def v() : while True: číslo=(input("zadej b …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Hi everyone, I'm 1kpop

    Welcome. Are Swedish Fish popular there?
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Hi everyone, I'm 1kpop

    hy i am new here
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in i want to ask a question of java

    There are a lot of members that use Java. Can you expand your question? 1. Is it a general Java issue? 2. Is there a specific issue you need to …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching i want to ask a question of java

    i want java mcq. i need help in java
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in GUESSING GAME HERE

    Please clarify if you are having a specific Python issue/question or if you are searching for folk to write this for you.
  • Member Avatar for rproffitt
    rproffitt

    Began Watching GUESSING GAME HERE

    GUESSING GAME HERE please help im new in this python programming 1. This is a game that allows a user to play guessing one single number to try to win …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in Reduce the dimensions of the full recording mobile screen/view

    This looks to be a continuation of https://www.daniweb.com/programming/web-development/threads/535177/text-across-the-page-video-camera-screen where we kicked this around. In short, if you use the native recording app, you can't exercise controls you want. You must …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching Reduce the dimensions of the full recording mobile screen/view

    This html web page code, when viewed via mobile device, captures video from the mobile device. By tapping the page, the mobile video full screen appears, ready to begin recording. …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to Dani in What is studying Computer Science in College like?

    I've definitely written about this before on DaniWeb ... I'll have to see if I can pull it up. But, to answer your question, it really depends on what your …
  • Member Avatar for rproffitt
    rproffitt

    Gave Reputation to zak99 in can anyone solve this please

    Consider the following implementation of the node and doubly linked-list: Extend the class doubly_linked_list by adding the following methods: *Largest method .This method should return the largest element in a …
  • Member Avatar for rproffitt
    rproffitt

    Replied To a Post in can anyone solve this please

    A few problems here. 1. "Reusable Code Snippet" is for you to share a working tested snippet along with you expounding what it is and does. 2. Dumping code after …
  • Member Avatar for rproffitt
    rproffitt

    Began Watching can anyone solve this please

    Consider the following implementation of the node and doubly linked-list: Extend the class doubly_linked_list by adding the following methods: *Largest method .This method should return the largest element in a …

The End.