Skip to content

Computer Science

Subforums

  1. Discussion of computer problems

    • 431 posts
  1. Started by Rilex,

    Hello, I had a little fun with ChatGPT. I gave it some of my theory about consciousness and asked it to act as Richard Dawkins giving a counterargument. Then, Michio Kaku backed it up As we reflect upon ourselves, we are drawn towards something within us that is timeless, something beyond our physical selves that we cannot fully comprehend. This inner essence, this consciousness, is the very essence of our being. This raises many questions. For example, if we were to create a clone of another human, identical in every way, would the clone possess the same consciousness as its original? While the clone may seem identical at the moment of its creation…

    • 0

      Reputation Points

    • 8 replies
    • 2.8k views
    • 1 follower
  2. Started by kenny1999,

    Long time ago I happened to read some articles about CD/DVD rot, I don't remember the details now but the key point was - Data stored on CD/DVD would lose a little bit over time. Is it real? If a CD/DVD disc is kept and stored normally, will there be some data loss after 10 or 20 years?

  3. Started by toucana,

    This is a recent video posted by a computer repair YT channel I follow. What intrigued me was the nature of the problem. Basically a computer gamer tried to improve the performance of an Asus laptop by applying liquid metal to the motherboard - instead of the thermal paste normally used on heatsinks. And it left me wondering - Did they sleep through the class about metal being an excellent conductor of electricty - or what ? Kudos to the repair guy for getting this one running again ! https://www.youtube.com/watch?v=B-mClhyaJng

    • 0

      Reputation Points

    • 0 replies
    • 780 views
  4. I have a front-end (React) application. I want to build it and deploy to 3 environments - dev, test and production. As every front-end app it needs to call some APIs. API addresses will vary between the environments. So they should be stored as environment variables. I utilize S2I Openshift build strategy to create the image. The image should be built and kind of sealed for changes, then before deployment to each particular environment the variables should be injected. So I believe the proper solution is to have chained, two-stage build. First one S2I which compiles sources and puts it into Nginx/Apache/other container, and second which takes the result of the f…

    • 0

      Reputation Points

    • 0 replies
    • 1.3k views
  5. When I click on an item inside a dropdown list, the item is correctly clicked but the error: "stale element is not attached to the page document" is raised. I guess this error is raised because of an element I use as changed inside the DOM or has been refreshed, but I didn't find any solutions for now. Here's my code: exam_question_type = self.driver.find_element(By.XPATH, f"//*[name()='svg'][@class='css-19bqh2r']") exam_question_type.click() WebDriverWait(self.driver).until(ec.visibility_of_element_located((By.CSS_SELECTOR, 'class=" css-b02ejv-menu"')) select_question_type = self.driver.find_elements(By.CSS_SELECTOR, 'class="CustomOptionMenu_button__2GnMd"') for …

    • 0

      Reputation Points

    • 1 reply
    • 1.7k views
  6. Started by Shade,

    Abstract: popular systems for representing numbers in a computer are considered. Serious shortcomings of the IEEE 754 system are revealed, and options for systems to replace it are proposed. It's shown that addition is enough to perform calculations with numbers. Link to the article: github.com/shadenova/Nova/blob/main/The End of IEEE 754.pdf

  7. Abstract: proposed an asynchronous functional architecture that executes declarative code in the graph form and supports laziness and parallelism by default. It's shown that such an architecture has very important advantages over the von Neumann architecture. Link to the article: github.com/shadenova/Nova/blob/main/Can Architecture Be Liberated from the von Neumann Style.pdf

  8. Every time I login my bank account, I can see my ID and password ........... are there, all I need to do is click "Enter'. I did "clear data" and "clear history" , @Tools->Setting--> "privacy and security" many times, it just does NOT work.

  9. Started by TheArtOfDHT,

    What does everyone experienced in AI system design think? I want to write a paper on how to apply analog to digital systems due to the fact I have imagined a digital/analog architecture.

    • 0

      Reputation Points

    • 3 replies
    • 1.8k views
    • 1 follower
  10. The UK government are thoroughly convinced that there is simply no way to means test energy payments to the public in any way for the low-income demographic for example. And that means testing such benefits is too expensive and complex. However, I think that actually, it's very much possible. As an example, there is a wealth of data held by corporations, banks, and governments on members of the public. My proposal in its simplest form would require the consent from individuals to allow a government or third-party ai system to access this data, such as bank accounts, benefits, employment tax data, etc in order to means test individuals or indeed households and to calc…

  11. Does the Market Always decide? An application for AI? I think that the markets require directional corrections and tweaks however both UK Tory doctrine and governments around the globe believe that the market always decides. Ai is now sufficiently advanced to provide suggestions on legislative and policy tweaks to ensure that the market finds the best way forward the majority of the time through both countrywide and global ai cooperation whilst accounting for disparities in political and cultural systems around the globe. However I can foresee glaring problems with the idea, if there were such a system errors would occur when the ai decisions that the ai system ma…

    • 3

      Reputation Points

    • 51 replies
    • 8.7k views
    • 2 followers
  12. https://www.youtube.com/watch?v=di3OXhHMZmI It starts at 6:16 It's the part where he's pointing his hand in this picture. I didn't get it although it's pretty mechanical, so I'd like to learn that technique as this is really useful in RSA algorithm(rather than having to memorize some values). I've been searching for a method like that since I saw this problem(been months) but could not find a technique like that. And it was always about just do it rather having any mechanical method like this one. So, I want to learn this. Or, if you have any other simple methods to solve this equation, please tell me

    • 0

      Reputation Points

    • 0 replies
    • 1k views
    • 1 follower
  13. Started by indra123,

    I am learning sorting algorithms. Bubble Sort is easy. I was reading about Merge Sort, Quick Sort & Selection Sort. I found two blog posts which explain Merge Sort & Quick Sort easily with time complexity analysis. Sharing them here: links to blogs removed by moderator I am still trying to find something simple on Selection Sort. I will share it when I get it. In case you have a good resource on Selection Sort, plz share.

    • 0

      Reputation Points

    • 1 reply
    • 1.2k views
    • 1 follower
  14. Started by zak100,

    Hi, I am using pycharm to execute my program, I am getting following error: Process finished with exit code 1 Following is my code: import pymysql.cursors # con = pymysql.connect('zulfi'@'localhost' (password: NO)) conn = pymysql.connect(host='localhost', user='root', password='', database='db', charset='utf8mb4', cursorclass=pymysql.cursors.DictCursor) I have created "db" database in mysql: Somebody please guide me. Zulfi.

    • 2

      Reputation Points

    • 9 replies
    • 3.9k views
  15. In one of my interview the interview asked me about Matrix Multiplication, wanted to understand how does this work? Any code example can anyone suggest me?

    • 0

      Reputation Points

    • 2 replies
    • 2.4k views
    • 1 follower
  16. Having recently read up about the Beale Papers and the seeming impregnability of its two remaining unbroken ciphers to cryptanalysis (even allowing for the possibility that they may be fake) I should like to know if quantum computers will be able to crack such so-called 'book ciphers'. I gather that the one-time pad cipher is said to be - when applied correctly - theoretically impossible to break by any known means, which may be a comforting thought. So does the same invincibility apply to book ciphers like those two (alleged) ciphers contained in the Beale Papers? Many thanks. https://en.wikipedia.org/wiki/Beale_ciphers

  17. Started by studiot,

    A funny thing happened, leaving me perplexed. A week or so ago a pair of usb powered + 3.5mm jack speakers stopped working. On removing the backs I saw that one of the leads connecting to one speaker itself had come off so this morning I soldered it back on. After testing the speakers on an older laptop where they now worked I returned the speakers to their original laptop where they also worked again. This evening the speakers had stopped working again, on firing up that laptop. Yet they started came back to life immediately on plugging them into the older laptop again. Back to their normal laptop and -- No joy no workee. Ba…

    • 1

      Reputation Points

    • 3 replies
    • 1.6k views
    • 1 follower
  18. Started by Richard Baker,

    I am working on a platform that does not have z buffering hardware support. I am trying to sort polygons in a scene according to z distance so I can implement the painter's algorithm, but I am having no luck. Currently I divide the game into regions and sort the polygons manually in each region according to what looks right. But I would like to know the mathematical solution. I don't have any cyclical overlaps and I don't have any intersecting objects but I do have polygons that touch. Thank you for your help.

    • 0

      Reputation Points

    • 8 replies
    • 4.6k views
  19. The high energy consumption of cryptocurrencies is often criticized - has there been any further development in this area? Are there already more energy-efficient cryptocurrencies? The proof of personhood protocol consumes much less energy than proof of work or proof of stake - do some cryptocurrencies already use this protocol or which cryptocurrencies use this protocol? I think if you don't minimize the high energy consumption, it becomes very easy to criticize the technology behind it. If you want cryptocurrencies to succeed, you will also need to pay attention to energy consumption.

    • 0

      Reputation Points

    • 6 replies
    • 3.7k views
  20. Started by Richard Baker,

    I have an implicit surface given by s(x,y,z)=c where c is a constant. I take a square let's say 16 pixels high by 16 pixels wide Each of the four corners of the square, I do this: Send a ray passing through the pixel into the scene Use Harts sphere-tracing algorithm to determine the point on the ray that is closest to the level set f=c Now instead of applying Phong Blinn I just calculate the first order partial derivatives fx, fy and fz but I also calculate the second order partial derivatives fxx, fyy, fzz, fxy, fyz and fzx. I use theses derivatives to calculate the coefficients of a quadric surface that is essentially a three-variable T…

    • 0

      Reputation Points

    • 10 replies
    • 3.2k views
  21. We want authentication ie -> the source written in the received message should be the actual real source that sent the message. ->information should not be altered in the way (data integrity) So to support this, book does this. But I can’t realize how it is helping authentication? How do we know the source in the received message is actual source? (You might say by comparing the received hash and computed hash of received email message) but that I can’t feel it how. Leaving PGP aside, What is the best way in real life to know that the message is sent to me by someone whom I know? Maybe if we have some well establ…

    • 0

      Reputation Points

    • 0 replies
    • 1.1k views
    • 1 follower
  22. We are doing a research project on careers in Software Development, specifically on how companies can best attract talent both at home and abroad. We would love to get your insight, if you are currently working in or looking to work in Software Development, please fill out the form. https://forms.gle/jmooUT8pb5jnQwEz8 We are interested in gaining even further qualitative feedback from you via a phone call, if you are able to help please contact Floris Ruys (f.ruys@alumni.esade.edu). Thank you so much in advance!

    • 0

      Reputation Points

    • 0 replies
    • 1.2k views
    • 1 follower
  23. I have downloaded and installed ' C c-programs application from Windows store. I copied one program named 'Days Convertion' from it to my Notepad++ and saved it as c source file in the Documents folder. When I tried to compile it using gcc, gcc said unable to find the file. How can I fix this error? The c program is as follows: /* Write a c program to convert given number of days to a measure of time * given in years, weeks and days. For example 375 days is equal to 1 year * 1 week and 3 days (ignore leap year) */ #include stdio.h #define DAYSINWEEK 7 void main() { int ndays, year, week, days; printf("Enter the n…

    • 0

      Reputation Points

    • 3 replies
    • 1.8k views
    • 1 follower
  24. Started by Genady,

    You can actually try this language model online: Playground (textsynth.com) I've tried this conversation: My name is John. I am 34 years old. I was walking in the wood two days ago, and suddenly rain started falling. And yesterday the same thing happened. Q: Was John wet yesterday? And the system has answered: A: Yes, he was. I've found it very impressive. However, then I've modified the conversation a bit: My name is John. I am 34 year old. I was walking in the wood two days ago, and suddenly rain started falling. Yesterday this didn't happen. Q: Was John wet yesterday? And it has answered: A: Yes. Somewhat disappo…

    • 0

      Reputation Points

    • 12 replies
    • 3.3k views
    • 1 follower

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.

Account

Navigation

Search

Search

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.