Computer Science
Subforums
3275 topics in this forum
-
Hi, I am trying to execute the following code: df2 = pd.DataFrame(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]), columns=['a', 'b', 'c']) df2 = pd.DataFrame(data=d, dtype=np.int8) print(df2) I am getting the following error message: Somebody please guide me. Zulfi.
-
0
Reputation Points
- 2 replies
- 1k views
-
-
# Python dictionary to act as an adjacency list graph = { '7' : ['19','21', '14'], '19': ['1', '12', '31'], '21': [], '14': ['23', '6'], '1' : [], '12': [], '31': [], '23': [], '6' : [] } visited = [] # List of visited nodes of graph. def dfs(visited, graph, node): if node not in visited: visited.append(node) for neighbor in graph[node]: dfs(visited, graph, neighbor) print(node) # Driver Code print("Following is the Depth-First Search") dfs(visited, graph, '7') print("visited=",vis…
-
0
Reputation Points
- 2 replies
- 1k views
- 1 follower
-
-
I was thinking recently how I can protect my own code as a copyright material. Seeing as I publish it online, it is a somewhat of a problem. I found this: http://haacked.com/archive/2006/01/24/TheDevelopersGuideToCopyrightLaw-Part1.aspx But I was wondering if anyone here knows or has any opinions/thoughts about this. I'm not sure if this was discussed before, but it's a major concern to any developer (newbie or professional) that intends to either build something for someone else, or publish his system on the outside world. I guess server-side programming (like PHP) is a bit less of a problem because the code isn't visible. But what about Javascript? copying …
-
0
Reputation Points
- 2 replies
- 1k views
-
-
As stated in the topic, how to do this?? for both Audio and Video?? Albert
-
0
Reputation Points
- 4 replies
- 1k views
-
-
In middle/late nineties, I frequented several forums long gone now. Cannot remember their exact website names. Is there a method to find if their contents are kept somewhere ? Am after MSN forums for sixties Cadillacs; and Popular Electronics, ElectronicsNow forums. Any suggestions/help will be appreciated.
-
0
Reputation Points
- 0 replies
- 1k views
-
-
Hi, I was wondering if there is any data on different "typical" bit-error rates for different broadband technologies (esp. adsl, adsl2+, vdsl2, caple tv (docsis 3.0) and 3g (cdma2000)). I've been searching the internet for quite some time now without any luck. If anybody could help me out here it would be very appreciated!
-
0
Reputation Points
- 1 reply
- 1k views
-
-
-
Hi everyone, I’ve been following recent developments in AI and how they're being integrated into software development workflows. Tools like GitHub Copilot, ChatGPT, and AI-powered testing suites are changing the way developers write, review, and optimize code. What fascinates me is how AI isn’t just assisting with code completion—it’s also influencing architecture decisions, bug detection, and even team collaboration. In your opinion, how far can we go with AI in the dev lifecycle? Do you think we’ll ever reach a point where AI handles most of the actual coding, leaving humans to focus mainly on high-level logic and design? Would love to hear your thoughts or any research…
-
0
Reputation Points
- 6 replies
- 1k views
- 1 follower
-
-
Hello everyone I am searching for a (free) program that can compare two folders. Now I have 2 folders full of files, one original and one back-up. It it's possible to compare them with a program that would be very useful. I hope someone can help me. Greetings, Gilles
-
0
Reputation Points
- 2 replies
- 1k views
-
-
-
Has anyone here used Blazor and know if it is worthwhile learning? Blazor appears to be an attempt to replace JavaScript with .net core C#. https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor
-
0
Reputation Points
- 0 replies
- 1k views
-
-
Hi, I got some in complet program from a book "aipython": The code after some modification is: fun_list1 = [ ] for j in range(5): def fun1(e): return e + j fun_list1.append(fun1) for x in fun_list1: print(x) What I understand is that I have a for loop which is invokingthe function "fun1(e)" 5 times and the return value is stored in a list.I trying to print the list, I am getting following output: So I understand that I have to put this whole thing in a function and then pass some argument e to the function, and then it will work. Some body please guide how to execute this program such that I get some answer for the list…
-
0
Reputation Points
- 3 replies
- 1k views
- 1 follower
-
-
The program - First, write a letter or a symbol, such as "x", then move the "x" using arrow keys, to left, to right, go up or go down.
-
0
Reputation Points
- 0 replies
- 1k views
-
-
Ben Goertzel is CEO of Novemente, a software company racing to develop the first artificially intelligent agent for Second Life, the internet virtual environment. His creation will learn by interacting with Second Life participants, and Ben in confident that it will meet -- and eventually exceed -- human level intelligence. In this new Machines Like Us interview, Ben discusses his projects in detail.
-
0
Reputation Points
- 0 replies
- 1k views
-
-
Hello Everyone, I'm currently an IT Recruiter/Project Manager looking to go back to school for Computer Science, more specifically software engineering. Currently I have a Bachelor's Degree in Business, and eventually want to pursue a MA in Comp Sci. I'm looking for Post-Bach or secondary Bachelor programs to gain some technical knowledge before I try to get into a master's program. I've found programs at UMass and Tufts, http://www.cs.tufts.edu/Other-Graduate-Programs/post-baccalaureate-computer-science-minor.html https://www.cs.umass.edu/content/second-bachelors-degree Was wondering if anyone had any suggestions as to where else I could look? I'm …
-
0
Reputation Points
- 0 replies
- 1k views
- 1 follower
-
-
I had a long conversatuon qith Chatgpt ------------------------------------------ geometry question: Given a triangle - all sides unequal. Place a semicircle entirely inside the triangle. What is maximum possible semicircle for prescribed triangle? Describe semicircle by locations of end points and midpoint. c-------- The maximum possible semicircle that can be placed inside a triangle with all sides unequal is known as the incenter circle and is tangent to all three sides of the triangle. The endpoints of the diameter of the semicircle lie on the two sides of the triangle that form the smallest angle and the midpoint of the diameter is the incenter of t…
-
0
Reputation Points
- 3 replies
- 1k views
- 1 follower
-
-
Hi. I am having some trouble with choosing a field in CS. I am currently a junior in UCSD as a CS major. I am not sure which field I should get into. For now, I am learning to webpage/server/networking, because it seems to be the most practical, which can help me find a good job easily after graduating. Since I really need to decide what technical elective courses to take, I would like to decide what field I will major in. Please give me some advice on various fields and how to make this decision. I want to get into a field that is practical and useful, so that finding a good job would be easy. Thank you very much.
-
0
Reputation Points
- 1 reply
- 1k views
-
-
On my gmail account, I have set up to reply using another of my email accounts yet when someone receives it, the address shows as on behalf of “hotmail.com”.. I don’t want this to appear. What is the point of sending it from gmail if the whole of the gmail address is going to show. Does anyone know what i am talking about?
-
0
Reputation Points
- 2 replies
- 1k views
-
-
Does anyone need help programming PIC ?
-
0
Reputation Points
- 1 reply
- 1k views
-
-
Here's a newish article by another author: Scientists Show Human Consciousness Could Be a Side Effect of 'Entropy' Paper in article: https://arxiv.org/abs/1606.00821 My earlier thread regarding human purpose, entropy and artificial general intelligence may be a good way to help explain the paper above. (See the earlier thread) Anyway, the paper from the new article above says the more deep in sleep the mind, the lower the entropy. The converse is true, the more awake the mind is, the higher the information content, the higher the amount of neuronal interactions, the higher the values of entropy. The paper uses "Stirling Approximat…
-
0
Reputation Points
- 0 replies
- 1k views
-
-
Hi, I am trying to understand the following question: In a 3-bit block cipher, suppose a sender transmits a cipher text including c(1), r(1), c(2), r(2), c(3), r(3) to a receiver. Find the original plaintext at the receiver. Here c(1) = 100, r(1) = 001, c(2) = 010, r(2)= 111, c(3) = 000, and r(3) = 100. A block cipher encryption key table (Ks) is also shown below: The answer for the first case is: M(1) = Ks(c(1) XOR r(1) = Ks(100) XOR 001 = 010 From the table, the output corresponding to 100 to 011. But the above answer is 010. I can't understand this. Somebody please guide me. Zulfi.
-
0
Reputation Points
- 0 replies
- 1k views
-
-
I notice there are a lot of robotics for coding on facebook,did any one buy before ?
-
0
Reputation Points
- 1 reply
- 1k views
- 1 follower
-
-
http://news.yahoo.com/s/space/20050819/sc_space/scientistsmesswiththespeedoflight does the link work for everyone?
-
0
Reputation Points
- 2 replies
- 1k views
-
-
Help me with resources and especially books for real time system. Thank you.
-
0
Reputation Points
- 2 replies
- 1k views
-
-
We've been using Alice (the IDE, not the language) to teach introductory programming, but I've always found the interface clunky and confusing, and so far from what the students end up doing later as to almost render the experience moot. Our students seem to have trouble separating what they learn about programming from what they've learned about Alice in particular. The next class they take introduces them to writing Windows apps in Visual Basic, which is just a whole different ball of wax. (From there they go to an advanced Windows forms class, then my ASP.NET course, where they learn some C# to compliment their VB knowledge.) For a long time we taught them pseud…
-
0
Reputation Points
- 0 replies
- 1k views
-