Computer Science
Subforums
-
Discussion of computer problems
- 434 posts
3274 topics in this forum
-
I am to do a seminar on drone technology but I am not well acquainted with how the micro controller works. Pls I need a little more explanation to help me out. Thanks
-
0
Reputation Points
- 1 reply
- 747 views
-
-
So take a look at the video below. The idea is when you run a retro game in modern CPU you can run it in turbo speed. With such a mechanism applied to an emulator, I want to run Python program in turbo speed. I know it might not be possible with Python because of its vast libraries, but perhaps I can gear up an exe executable with this method?
-
0
Reputation Points
- 4 replies
- 1.5k views
-
-
I want to make a game with Unity 3D. I have not decided if it should be in 2D or 3D. The idea is like this. If you've played Command and Conquer then you know you can make an infantry camp. And my game would start out with a mercenary camp and I can hire people to kill zombies(randomly generated on the map), or work in a company to get money. Now if you ask me why killing zombie does not get you money I would say I have no idea cuz I just thought of this idea. The unique part about this game is the character's movements are all automated. Meaning they would explore the map and kill zombies by themselves, same goes for going to the company and working to earn money. As you…
-
0
Reputation Points
- 6 replies
- 1.5k views
-
-
I am learning about java programs currently reading Data structure using java by duncan bell when he goes over the basic structure of a java program. In which being at the lowest level is the "record/payload", the next being "data structures" the next being "the application" and finally is the "driver"/"main class." My question is where do algorithms factor into this hierarchy? Would it fit in with data structures? Or would they be at the applications level due to them actually using the data structures. Thank you for your response.
-
1
Reputation Points
- 14 replies
- 2k views
- 1 follower
-
-
After installing successfully the chatterbot with python 3.7. I tried to run this beginning of a simple code for a chatbot: from chatterbot import ChatBot from chatterbot.trainers import ListTrainer chatbot=ChatBot("test") But i have this error (screenShot): Thank you in advance for youre responses.
-
0
Reputation Points
- 2 replies
- 1.5k views
- 1 follower
-
-
I am implementing DeWall's DT algorithm. I am having a tough time determining just how some of the methods are supposed to go. My first question: how would I represent a d-simplex in my code? I am using a game engine to generate a mesh with this and it requires a set of vertices and then a set of triangle mappings to those vertices to create the polygons. Is the d-simplex different from a poly/face? Ive been reading this paper to figure it out: http://vcg.isti.cnr.it/publications/papers/dewall.pdf So my questions are: How are Extract(), MakeFirstSimplex(), MakeSimplex() supposed to work? A general (and specific) description of the methods…
-
0
Reputation Points
- 1 reply
- 870 views
- 1 follower
-
-
I notice there are a lot of robotics for coding on facebook,did any one buy before ?
-
0
Reputation Points
- 1 reply
- 959 views
- 1 follower
-
-
Hi, I want to understand the purpose of tags in EVM assembly and their relationship with Solidity function. pragma solidity ^0.5.1; import './Mod.sol'; contract MOFTest{ ModifiedBank mb; constructor(address payable addressOfBank, uint amount) public {} function deposit (uint amount ) payable public { } } I found that if I have a constructor then Remix IDE will have only 2 tags but now I have 2 functions and I found that there are 5 tags. Kindly explain me what is the purpose of tags and what is their relationship with Solidity functions? Also the tags are appearing in a haphazard manner, first tag1 and tag2 , then ag…
-
0
Reputation Points
- 0 replies
- 890 views
-
-
is it possible to factor a large number in polynomial time using this method?
-
0
Reputation Points
- 5 replies
- 1.6k views
-
-
Does anyone have a solvent recipe for cleaning the works of an Epson or Brother inkjet ? I found this website that has some interesting suggestions, but more are welcome. http://www.northlight-images.co.uk/inkjet-printer-cleaning/
-
0
Reputation Points
- 0 replies
- 791 views
- 1 follower
-
-
Explain the shortest way to create a new MST that occurs when adding a new node and Edge weight, without touching the nodes and edge weights of the existing MST that we have
-
0
Reputation Points
- 1 reply
- 994 views
-
-
World Champion 1996 Kasparov drew a six game match against IBM's "Deep Blue" 200 core computer. In 1997 Karparov lost against same. From that time on the World Computer Chess Championships became the battleground for computers alone, which may have been considered invincible to human players. "Crafty GUI" is free on the net and can be easily beaten...if you use the slider to dumb it down, give it a ludicrous time to move, and accept the human privilege of ignoring your own loss on time, while backtracking tactical and strategic errors ad nauseum until its enemy king falls. Eventually a compute + coding called "Stockfish" lost to another called "Jonny Chess" manufactured a…
-
1
Reputation Points
- 7 replies
- 1.9k views
- 1 follower
-
-
Hi, I have written the following Python program: 1.a= ["a", "f", "bar", "b","a", "aaaaa"] 2.ind = {a[i]:i for i in range(len(a))} 3.print(ind) 4.print("ind['a']= {0}".format(ind['a'])) 5.print("a[5]= {0}, a[4]= {1}, a[3]= {2}, a[2] = {3}, a[1] = {4}, a[0]= {5}".format(a[5],a[4], a[3], a[2], a[1], a[0])) output is: Line #1 , I can understand, we are creating an array of 6 elements, starting index is 0 and end index is 5. I can’t understand following things in line#2: a) what is the purpose of ‘ind’ variabel? b) What is the purpose of curly bracket in line#2 c)What is the purpose of colon in line#2 d) Which statement…
-
1
Reputation Points
- 3 replies
- 2k views
-
-
Maian Tool Repository: How to store contract retrieved from etherscan.io and what is ‘test.sol’ Hi, Hi, I am to execute the MAIAN tool from its repository on docker. The link at : GITHub Maian tool Issue The above link provided details of how to execute the MAIAN tool from docker. I am in the MAIAN tool repository on docker. They have first tried to access a smart contract from docker using Etherscan.io: Accessing smart contract using Etherscan.io The name of the contract is KaratBankCoin. They have not told where to store the contract. Later on they used the command: pyt…
-
1
Reputation Points
- 2 replies
- 1.7k views
-
-
Hi, I have created a two player board game url deleted - rule 2.7 Thes problem is that AI is easily beatable. I used heuristics to find best move for the AI. The rules of game are as follows 1) 9 by 9 grid is divided into 9 grids of smaller 3 x 3 Tic Tac Toe boards. 2) Opponents move determines where the player has to make a move. 3) For each smaller 3 x 3 grid rules of nomal Tic Tac Toe apply 4) If the smaller grid is won then no move can be made in that grid 5) If the player is sent to such a grid then player can make move in any of the free 3 x 3 grids . My approach is not correct as I check difference between number of x's and 0's in a grid and some other para…
-
0
Reputation Points
- 2 replies
- 889 views
-
-
Hi, I have installed nodejs on my ubuntu machine. I am trying to install web3 on my ubuntu 18.04 system. I am using the following command: @lc2530hz:~$ sudo npm install -g web3 but I am getting the error: sudo: npm: command not found But when I am typing: @lc2530hz:~$ npm --version 6.14.6 Kindly guide me how to install web3. I have got some solution here: https://askubuntu.com/questions/1301489/problem-with-installing-web3-using-npm But I don't know how to implement it. Somebody please guide me. Zulfi.
-
1
Reputation Points
- 3 replies
- 4.6k views
-
-
Hi, I am trying to compile a python code on ubuntu 18.04: from __future__ import print_function from web3 import Web3, KeepAliveRPCProvider, IPCProvider import argparse,subprocess,sys At the end I am getting the error: I found one post which says: Can the above hint help me to solve the web3 module not found error? Please guide me how I can implement the above technique? Zulfi.
-
1
Reputation Points
- 6 replies
- 2.4k views
-
-
Hi, I am getting "Tensor Flow" package problem. I am running the code on PyCharm community version3: I installed the package on the terminal: But still I am getting error, somebody please guide me. Zulfi.
-
2
Reputation Points
- 8 replies
- 1.5k views
-
-
Greetings everyone, I am new to this forum and am excited as such. Another forum that I frequent - The Fossil Forum - seems to adopt the same the software or platform as this one; it's familiarity I find comforting alongside the fact that there are, supposedly, many people interested in science here. Now for the what I am creating this post for. My topic here concerns a paper I am trying to reproduce for a challenge. I have about a month remaining before I need to finish my reproduction and am a ways off from having achieved a solid foundation from which I can begin running the tests I need to run. The paper - https://arxiv.org/pdf/2006.06936v1.pdf - I am t…
-
0
Reputation Points
- 4 replies
- 1.6k views
-
-
There seems to be a new book out, I was hoping we could discuss these most serious thoughts considering they concern us all. It reads. Let me be clear, 7.5 billion people, even more animals and endless greenlife and soil cannot consume endless gallons of water everyday and constantly be replaced out of nowhere. The Earth does not create it's own water, we are in the matrix. Another fact of life is the trains in Britain are now run by Abellio, they are twice the width of the track and hang over just a little. Our true origin is Glasgow. It is called the matrix Facts of life by Raymond Signus.
-
0
Reputation Points
- 12 replies
- 2.1k views
- 3 followers
-
-
Hi, I want to implement a Machine learning based vulnerability detection tool for Smart Contracts. I have found a paper related to this implementation. I have attached it. SOmebody please guide me how to implement LSTM (Long Short Term Memory). Towards Safer Smart Contracts A Sequence Learning Approach_HW.pdf
-
0
Reputation Points
- 29 replies
- 87.2k views
- 1 follower
-
-
Greetings! Thank you in advance for reading my post. If you are willing/able to provide any assistance it would be greatly appreciated. Request: I am seeking a point of contact with expertise in video image processing to provide insight and guidance on appropriate data formatting for follow on neural network analytics. Background: I am a physician who is developing a research project that uses video data to derive diagnostic indicators. I have a deep understanding of the medical problem sets and a sense of what is possible using various emerging AI capabilities. However, I have significant technical knowledge gaps regarding the bridge between data collection…
-
0
Reputation Points
- 4 replies
- 1.6k views
- 1 follower
-
-
Hi, Somebody please guide me how to develop Ethereum Smart Contract (SC) tool for dynamic analysis? If there is a link for a dynamic analysis tool kindly provide me. Otherwise give a me general idea and the steps and hints how to complete those steps. Zulfi.
-
0
Reputation Points
- 3 replies
- 981 views
- 1 follower
-
-
Hi, I am trying to modify the following Python Pickle program. It always starts by generating a ">". I have tried to use "print" statements but it is ignoring them. Kindly guide me how to modify the program: import pickle #trainer program b=open('war&peace.txt') text=[] print("Testing the code") for line in b: for word in line.split(): text.append (word) b.close() textset=list(set(text)) follow={} print("Testing") print(text) for l in range(len(textset)): working=[] check=textset[l] for w in range(len(text)-1): if check==text[w] and text[w][-1] not in '(),.?!': working.append(str(text[w+1])) follow[check]=wor…
-
0
Reputation Points
- 17 replies
- 2.2k views
-
-
response= "the following information: Your Course’s Name," cnt = 0 matched = [] userInfoToRetrieve = ["Your Professor’s Name", "Your Course’s Name", "Your Course#", "Your id#", "Your Email address"] for i in range(5): print("i= ", i) if userInfoToRetrieve[i] in response: matched[cnt] = i cnt = cnt + 1 print ("cnt =", cnt) if cnt > 0: break print ("cnt = ", cnt) Hi, I am getting following error in the above program: Somebody please guide me. Zulfi. Hi, I have solved this problem: matched = np.empty(5) Zulfi.
-
0
Reputation Points
- 2 replies
- 1.2k views
-