Jump to content

Computer Help

Discussion of computer problems

  1. Hello, I am not sure if this forum is only for computer issues but if so sorry to post this here. Right now I'm trying to decide which offer is the best way to follow a career either as a software/game developer or pen tester. So far I narrowed my options to University of Western Ontario, Computer science and University of Waterloo, Mathematics. Even though Western is offering cs which is what I wanted, I heard that Waterloo is a better university for both math and computer science programs. To sum up, which offer do you think would be more beneficial for my future career desires?

    • 0

      Reputation Points

    • 1 reply
    • 1.5k views
    • 1 follower
  2. Started by Netra77,

    Thank you all of you guys for expanding my knowledge in computer architect field.Actually,i am undergrad student.Now i think i have get enough knowldge in field of computer architecture.Now ,i have been moving to programming field.I want to ask you below one question and give answer which would be understandable for me ⬇️⬇️⬇️ Why data type is important in programming language??why can't we just run our programme without inclusion of data type

  3. Started by zak100,

    Hi, I want to create a graph from the following data. Please provide me the steps. Garph1 BS CPU Percentage 12 Memory Usage 15773696 sdiskusage total 9.82901E+11 sdiskusage used 1.41429E+11 sdisk usage free 7.91472E+11 sdisk usage percentage 15.2 virtual Memory 10234679296 rss 15773696 Time 1.026669979 Graph2 SS CPU Percentage 2 Memory Usage 15769600 sdiskusage total 9.82901E+11 sdiskusage used 1.41429E+11 sdisk usage free 7.91472E+11 sdisk usage percentage 15.2 virtual Memory 10545913856 rss 15769600 Time 1.026956081 Graph3 BSBS CPU Percentage 12 Memory Usage 15773696 sdiskusage total 9.82901E+1…

    • 0

      Reputation Points

    • 7 replies
    • 2k views
  4. Hi, First I want to discuss the running time of original version. Form the book (Allen Weiss), I found: What I understood from this that before placing the items, FF traverses all the bins from beginning to end i.e. n bins. Now each bin can have n items, because of that the running time is O(n^2). Somebody please guide me is the above version correct or not. Zulfi.

    • 0

      Reputation Points

    • 3 replies
    • 1.5k views
  5. Hi, Can somebody please explain me the following figure in the context of online bin packing algorithm: I can't understand the concept related to the ration 4/3. Somebody please guide me. Zulfi.

    • 0

      Reputation Points

    • 17 replies
    • 3.2k views
  6. Hi, I have underlined the words "single center", will this be single site. I can't understand this greedy approach? why its bad? Somebody please guide me. Zulfi.

    • 0

      Reputation Points

    • 1 reply
    • 1.5k views
  7. Hi, I am trying to read the attached text: It uses some variables having subscript and superscript. I have underlined them in the attached figure. Somebody please guide me what is the name of the underlined notations and how we read them?

    • 0

      Reputation Points

    • 0 replies
    • 1.1k views
  8. Started by zak100,

    Hi, I am trying to understand the concept of NRU from the following link. I have got some problem in understanding the text below: https://www.informit.com/articles/article.aspx?p=25260&seqNum=3 I have bolded the text. I have two problems: Page fault occurs if the page is not in memory but the above text says that (a)the page fault occurs at the time of modifying or writing the page? I can’t understand that. (b) Also I cant understand the text “, allowing the operating system to set the M bit and change the page's mode to READ/WRITE.” What is meant by READ/WRITE? If we are setting the M bit then it should be WRITE mode only? Why the text s…

    • 0

      Reputation Points

    • 5 replies
    • 1.7k views
  9. Started by zak100,

    Hi, I want to create a GIF file from a text file of 500 x 500 dimensions. I got some help to create the following program which works fine but I have not tried it for text file. Also how I can add the 500 x 500 dimension. My code is: import imageio images = [] filenames = ["one.jpeg", "two.png", "three.png"] for filename in filenames: images.append(imageio.imread(f'./images/{filename}')) #imageio. imageio.mimsave('./images/movie.gif', images) Somebody please guide me. Zulfi.

    • 0

      Reputation Points

    • 8 replies
    • 2.3k views
  10. Started by zak100,

    Hi, I have two sorting programs. I want to concurrently execute them. I have written the following code using help from this forum: pid = os.getpid() # current process print("start thread") psutil.Process(pid).cpu_percent(interval=0) th1 = threading.Thread(target=BubbleSort, args=(k, arr2)) th2 = threading.Thread(target=selectionSort, args=(k, arr2)) th1.start() th2.start() while th1.is_alive(): print("CPU usage:" + str(psutil.Process(pid).cpu_percent(interval=1))) print("thread1 ended") while th2.is_alive(): print("CPU usage:" + str(psutil.Process(pid).cpu_pe…

    • 0

      Reputation Points

    • 11 replies
    • 2.9k views
  11. Hi there, hope you are all doing well in the current Corona situation! My code: Array = [5,2,3,3,4,6,8] for i in range(len(Array)): for j in range(i+1,len(Array)): if i != j and Array[i] == Array[j]: print('found one: ', Array[i]) I am still working my way through a python book and a question came up that had me identify duplicates within an array. Above is the solution which I came up with and it works. But I wanted to break out of both loops, because a previous iteration of this code produced each variable twice (I did not have the i+1 part). Now I found several solutions here: https://nedbatchelder.com/blog/201608/breaking_out_of_two_loops.html An…

    • 0

      Reputation Points

    • 7 replies
    • 1.7k views
  12. Started by zak100,

    Hi, I am trying to display system information in Python. I am now getting following error: My program is below: import psutil import os class Counting_SysInfo: def __init__(self, i): self.i = i def Print_Numbers(self): for i in range(50): print (i) def system_info(self): # return the memory usage in MB self.Print_Numbers() process = psutil.Process(os.getpid()) mem = process.get_memory_info()[0] / float(2 ** 30) # memory in GB cpu = process.cpu_percent() / psutil.cpu_count() disk = process.disk_usage(part.mountpoint).percent # https://github.com/gia…

    • 0

      Reputation Points

    • 30 replies
    • 37.2k views
  13. Started by Dagl1,

    Hi, I have recently started going through a python textbook and in one of the exercises I find myself not really understanding why the code does what it does. The reason why the 0+1 is there, is that in the actual program those will be the iterable (i) in a loop. The code should swap two values in a list , I guess that itself can be done more simply than this code, but I will search/figure that part out myself. I am most interested in the behaviour of the following Python 3.8.1 code (I added comments with what I THINK should/would happen). List = [5,1,2,3,4] TempList = List # Set Templist equal to List print(List[0]) # Returns 5 TempList[0] = List…

    • 0

      Reputation Points

    • 2 replies
    • 1.4k views
  14. Started by AbdullahBaloch,

    We have a project in which we have to count people entering in a room and automatically turn on the light when the first person enters the room and turn off the lights when the last person leaves i.e no one is there in the room anymore. I was thinking of using 2 laser diodes and LDR to make a sensor and then monitor the order in which the sensor detects something for example if the 1st one detects an obstacle and than the 2nd it means someone has entered the room and vise versa.

    • 0

      Reputation Points

    • 3 replies
    • 1.2k views
    • 1 follower
  15. Started by mathematic,

    While I am typing something fairly lengthy, occasionally a message pops up asking if I want to go into some mode, where I don't type. When I see it, my answer is always no However on occasion I am busy typing without looking at the screen. If this message pops up and I don't check no, it assumes a yes answer and locks the keyboard. How can I get the keyboard back? Whenever it happens, the only recourse I know about is do a restart, which is a nuisance.

    • 0

      Reputation Points

    • 3 replies
    • 1.7k views
  16. Started by Niklas111,

    So this may seems simple to most of you but i need a good explanation of covering this format of binary to decimal "0110 1010". Im having trouble finding a good tutorial. I would like a detailed explanation of method of how to translate it. Thank you.

    • 0

      Reputation Points

    • 2 replies
    • 1.2k views
  17. Can someone help me on functions in c++

    • 0

      Reputation Points

    • 18 replies
    • 5.1k views
    • 1 follower
  18. Started by Nice guy,

    can any in the house give me idea of what this means. Design and development of an expert system that teaches figure of speech

    • 0

      Reputation Points

    • 7 replies
    • 1.9k views
    • 1 follower
  19. Did any one tell me how to write assembly language code, and how to understand the forms of 0,1?

    • 0

      Reputation Points

    • 6 replies
    • 2.3k views
  20. Started by studiot,

    My Toshiba Satellite laptop, which I principally use for Skype has been misbehaving lately. After booting its response is glacial. Responding to a keystroke can take 1/2 minutes. According to Taskmanager the processor and memory are less than 50% used, but the HD is noted at 100%. The HD is only about half full with about 150GB left. If I force it to boot into safemode (with networking) everything is fine an Skype works, but is useless because the camera and sound are deactivated. The normal mode works once after it has been in safemode, however. I can't see this being a virus competing for HD resources, just one of the Windows screwups. …

    • 0

      Reputation Points

    • 22 replies
    • 3.2k views
    • 1 follower
  21. I am working on a project to create a website to learn programming languages like Python, Java, C++, C and C#. Along with this, It also covers algorithms and its implementation in various languages. LINK REMOVED

    • 0

      Reputation Points

    • 1 reply
    • 1.2k views
  22. Started by Nedcim,

    I found that my hand held calculator makes a computation error. I entered the expression (4sin80°)/sin40° and my calculator returned a value of ~ 5.13. I had previously entered the expression (4sin60°)/sin40° and my calculator returned a value of ~ 5.39 so I knew there was an error. I found the expression in error. I wanted to find where this error originated. I tried several iterations but still got the the same value. I approximated the the value of the numerator and denominator and that gave a correct approximation. I continued 3.93/0.640 gave a correct approximation of 6.13, but 3.93/0.641 returned a value of ~ 5.13 with same error as above. I never had a c…

    • 0

      Reputation Points

    • 7 replies
    • 2.2k views
    • 1 follower
  23. Started by Londy,

    Hi all, I'm making progress in my research on Cloud storage security. I'm looking at incorporating both Symmetric and Asymmetric Algorithms (AES, 3DES, RC5, Serpent, RSA, DHKE, ECC, etc) into a system design such that the user can as matter of choice select any of combinations of the algorithms to encrypt their data before they upload to a cloud server. My challenge now is a modelling and simulation platform or tool that I can use to model this system and test several possibilities. Your contributions are highly appreciated. Thanks!

    • 0

      Reputation Points

    • 2 replies
    • 1.5k views
    • 1 follower
  24. Started by Londy,

    Hi all, Please what is the appropriate research methodology or methodologies suitable in carrying out research on Cloud storage security?

    • 0

      Reputation Points

    • 18 replies
    • 2.8k views
    • 2 followers
  25. Started by Art Man,

    Brand new computer. I disabled the Realtek network adapters, this should, in theory, prevent any and all backdoor hacking into my computer. Although I have done this the information on my computer such as the text that I write is being leaked into the internet in basically real time. This means that spyware was pre-installed onto this computer that allows a secondary internet connection. Does anyone know how to permanently and fully disable and/or corrupt the wireless software and network adapters so that no connection is possible at all, no matter what, through any spyware means? Thanks. I might have to open up the computer and remove all applicable hardware.

    • 0

      Reputation Points

    • 17 replies
    • 2.3k views
    • 3 followers

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.