• Breaking News

    Sunday, March 3, 2019

    The Tech Inside a Baidu Engineer’s AI-Powered Cat Shelter Computer Science

    The Tech Inside a Baidu Engineer’s AI-Powered Cat Shelter Computer Science


    The Tech Inside a Baidu Engineer’s AI-Powered Cat Shelter

    Posted: 02 Mar 2019 11:26 PM PST

    Why does building a heap have an upper bound of O(n) and not O(n log n)?

    Posted: 02 Mar 2019 03:06 PM PST

    Assuming we have n elements to insert into a heap, we insert it (O(1)), and then heapify (O(logn)), and repeat n times.

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

    how to scale analog to digital converter input to range

    Posted: 02 Mar 2019 10:23 PM PST

    I have a friend building an arduino based boost gauge. it reads pressure from a sensor through a analog to digital converter (adc). The range of the adc is 0 - 1023. The sensor is supposed to have a max output of 44psi. We used a pump to apply 30psi and the adc output 1000. Without any pressure applied to the gauge, the adc outputs 330. The pressures that we applied are in the table that follows below. We tried using the built in arduino map function to scale the 0 - 1023 range to -30 to 30psi but it never seems to be correct. psi = map(analogRead(A0), 0, 1023, -30, 30)

    -27 - 26
    -20 - 92
    -10 - 196
    0 - 330
    10 - 548
    20 - 783
    30 - 1000

    Does anyone know what the equation should be to properly scale the 0-1023 adc values to output a pressure in the domain of -30 and 30? I tried to create a slope-intercept equation using a slop of 21.7 and the intercept of 330 but that wasn't correct.

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

    Dynamic programming with memoization [step-by-step example]

    Posted: 03 Mar 2019 03:46 AM PST

    https://yourbasic.org/algorithms/dynamic-programming-explained/

    This is yet another attempt to explain the basics of dynamic programming. The example problem is reasonably easy, but hopefully extensive enough to illustrate most of the tricky issues.

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

    What's the shelf life of a Data Structures and Algorithms textbook?

    Posted: 02 Mar 2019 06:09 AM PST

    I came across this Data Structures & Algorithm Analysis book and I like the author's writing style and textbook layout. However, on the book's website, the authors states that "March 2013 was rather a long time ago in the life of a Computer Science textbook" and he also considers this version " OBSOLETE". This would probably lead someone to believe that the book isn't much useful anymore but I don't think that's the case.

    The book seems to go over what might be a two-semester Data Structure and Algorithms (DSA) course. I'm using it as a reference for my first DSA class but I'm wondering why the author might've made such statement. How much have data structures and algorithms taught in a CS undergraduate level course have changed over the last five years?

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

    Which binary bit number is equivalent to 1 second? [Verilog]

    Posted: 02 Mar 2019 11:59 PM PST

    with 25MHz oscillating frequency

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

    Which computer science related accounts do you follow on Twitter?

    Posted: 02 Mar 2019 07:19 AM PST

    Considering how fast technology is developing these days, it's hard to stay up to date. So I have created a multireddit of all my favorite CS related subs and I regularly check Arxiv sanity preserver. Other than reddit, I stay away from other social media platforms but recently a friend told me that twitter is also a good site to get the latest news on recent developments.

    Which computer science related accounts do you follow on twitter?

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

    If you could recommend an Economics major (with MS Finance) to pursue one CS skill for a CS career that is in high demand, what would it be?

    Posted: 02 Mar 2019 01:29 PM PST

    When best to use priority queues?

    Posted: 02 Mar 2019 01:26 PM PST

    (Title says it all.)

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

    Storage in computers?

    Posted: 02 Mar 2019 11:12 AM PST

    If i want to save something in a computer such as a number 1 that would be 001 but if i save 001 in a computer how would the computer know that 001 is 1. Should we first save the number 1 in memory and tell the computer that hey this is 1 and it is 001 in your language. Basically if we want to save something, how would a computer know what are we saving to determine its output. Like if i say the computer hey i wanna save 10011 and i actually intended it to be The letter A how would the computer know 10011 is A?

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

    Do most computer scientists find programming unrewarding or is it really programming for someone else (i.e., implementing a given specification) that they find unrewarding?

    Posted: 02 Mar 2019 08:58 AM PST

    No comments:

    Post a Comment