• Breaking News

    Tuesday, November 20, 2018

    Why is there only one CPU on a motherboard? Computer Science

    Why is there only one CPU on a motherboard? Computer Science


    Why is there only one CPU on a motherboard?

    Posted: 19 Nov 2018 03:34 PM PST

    I posted this in the Superthread, but got no resoonse and really wanted to quench my thirst for an answer on this: So I am a linguist, and I lean towards computational linguistics and conversational AI as my interests. Through just casual discussion with some peers and bored thoughts, I was wondering why computers don't have dedicated processors for things like NLP/NLU versus computer processes? So in terms of cognitive science, why doesn't a company incorporate another CPU on a motherboard strictly for the sake of artifical intellegence, similar to regions in the brain?

    This thread has been so interesting, and I just wanted to thank everyone for the really nice and thorough responses. This is extremely gratifying.

    submitted by /u/abottomful
    [link] [comments]

    What are some situations you might not elect to use the merge sort?

    Posted: 19 Nov 2018 05:53 PM PST

    Might be a dumb question, just came to my mind on the bus ride back home

    submitted by /u/thisGuyCodes
    [link] [comments]

    How to find time complexity of Selection Sort?

    Posted: 19 Nov 2018 11:04 AM PST

    I'm having a hard time analyzing the time complexity of Selection Sort. I'm supposed to analyze the pseudocode line by line and I'm using the book 'Introduction to Algorithms' as my textbook. As you can see, my best case is wrong as selection sort has the time complexity as O(n2 ) for best and worst cases as it iterates till the minimum value is found. Here is what I did, my reasoning is in accordance with the insertion sort analysis right to it. Here is the math.

    Pseudocode:

    1. for i to length_of_list 2. min_pos = i 3. for j = i +1 to length_of_list 4. if list[min_pos]>list[j] 5. min_pos = j 6. temp = list[i] 7. list[i] = list[min_pos] 8. list[min_pos] = temp 
    1. I took the first line as n because the for loop runs 'n' number of times. It is already assumed that it will run for n+1 times to exit the loop. Would it have run for n-1 time if the loop ran from 1 to A.length_of_list - 1?
    2. So the second line will run one less than the for loop as it is the part of the body; n times
    3. This is where I think it all goes wrong. For distinction, I have let tj denote the number of times the inner For loop will run for the value of j which runs from 2 [as j = i +1] to n.
    4. The if statement is inside the inner For loop so will run one less than inner for loop.
    5. The minimum position; j will run two less than the inner For loop for the same reason.

    6, 7, 8 being the body of the outer For loop, will run one less than the loop itself.

    Best case:

    If the selection sort, even if the array is sorted, iterates for n number of times. You only know which element is the minimum after it iterates till the end of the non-sorted part. Even if the array is sorted, you have to iterate till the end. Then you know for sure if you found the minimum to put it on the right place (at the end of the already sorted part). So will there be any difference between the best and worst case calculation? Thanks.

    submitted by /u/shellshohk
    [link] [comments]

    Discord server / forum about Prgramming, weekly coding events, ethical hacking and more!

    Posted: 20 Nov 2018 01:21 AM PST

    🚫 !WARNING! Trolls and toxic people not allowed and not wanted.

    𝕀𝕟𝕧𝕚𝕤𝕚𝕓𝕝𝕖 𝕎𝕖𝕓

    ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

    WE HAVE:

    🔹 44 text channels 🗂

    🔹 roles to fit everyone with a self-role system📌

    🔹 an active community that is constantly growing👨🏼‍💻

    ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

    THIS SERVER IS ABOUT:

    🔹 Programming⌨️🕹

    🔹 weekly Coding / Decrypting** challenges** 0️⃣1️⃣

    🔹 Ethical Hacking 🕵🏼‍♂️

    🔹 Link sharing 🔗

    🔹 and much more ( Politics, Gaming) 💡

    ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

    Join now to be a member of the Invisible Web. https://discord.gg/VwaUPy4

    submitted by /u/EmotionIce
    [link] [comments]

    Latest stories published on SingularityNET

    Posted: 19 Nov 2018 11:00 PM PST

    Infix to Prefix Conversion

    Posted: 19 Nov 2018 05:02 PM PST

    Which of RISC or CISC be more indicative of the semantic gap problem?

    Posted: 19 Nov 2018 01:04 PM PST

    I know they are both solutions to the problem to an extent but which of them contribute to the problem more rather than fixing it?

    submitted by /u/Crossfire_dcr
    [link] [comments]

    Is there any application or any example where a single-threaded server would be more suitable than multi?

    Posted: 19 Nov 2018 02:41 PM PST

    Please don't tell me multi-threaded is preferable, I know this. I just need to think of a situation (no matter how rare) where a single thread would do the job

    submitted by /u/Crossfire_dcr
    [link] [comments]

    No comments:

    Post a Comment