• Breaking News

    Sunday, August 30, 2020

    What is the point of inverting a binary tree? Computer Science

    What is the point of inverting a binary tree? Computer Science


    What is the point of inverting a binary tree?

    Posted: 29 Aug 2020 08:45 PM PDT

    It might be obvious but for someone like me who primarily does web development and just general programming, I cannot see the point of inverting one.

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

    [Pure gold] The internet explained

    Posted: 29 Aug 2020 09:35 PM PDT

    I'd like to share a masterpiece article I found by accident that explains the internet.

    If the author sees this, please know that I'm following you, keep being awesome.

    https://explained-from-first-principles.com/internet/

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

    Can an nondeterministic language (or TM) produce a "no" answer to NP-complete questions in polynomial time? If so, how in a few cases?

    Posted: 29 Aug 2020 10:27 AM PDT

    I've been stuck reasoning about this problem recently. Let's take the traveling salesman decision problem as an example:

    Is there a path through a graph G which visits every node once and whose edges amount to a cost less than C

    If I want to produce an "yes" answer to this problem with a nondeterministic machine, my algorithm is simple: nondeterministically grab nodes from G and the sum the weight of the edges between them, and if the total cost is less than C, yield "yes" and accept, otherwise loop or whatever. This is clearly polynomial (linear) in the number of nodes in G.

    However, I can't figure out a way to produce a "no" answer to this decision problem in polynomial time. The problem of proving that there isn't a path with a cost less than C seems to run into the same problem that the generalized traveling salesman problem has: any algorithm needs to do work on every possible path to prove the result. I don't think that you would be able to do this in polynomial time, even nondeterministically.

    Am I thinking about this wrong? Or is my concept of NP-complete wrong, and that we don't have deciders which run in polynomial time nondeterministically for NP-complete problems, just recognizers.

    submitted by /u/1or10
    [link] [comments]

    Are the bytecodes of languages other than C compiled directly to machine code, or do they also get compiled to assembly first?

    Posted: 29 Aug 2020 10:52 AM PDT

    Apparently the C compiler compiles C source code into assembly code, which is specific to one CPU architecture and is not portable. (Assembly code then gets compiled into machine code aka binary code. I think one assembly compiler is called gcc?)

    The Java compiler on the other hand compiles Java source code into Java bytecode. Unlike assembly code, this code is still portable. It is taken by the Java virtual machine and compiled to...? What? Is it first compiled to assembly, which then gets compiled to machine code? Or does the Java VM compile straight to machine code? I've seen both stated online and I'm not sure which is correct

    Another way to phrase the question is whether "assembly code" is synonymous with "C bytecode"

    Please correct me if anything I said was wrong

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

    What is a Micro-Controller (MCU) In Contrast to a Computer, Specifically a Single Board Computer (SBC) Like the Raspberry Pi?

    Posted: 29 Aug 2020 05:22 PM PDT

    I am a developer who never studied computer science, but the field interests me and I would like to learn more about it. Every explanation I found about the micro controller was one of two things:

    1. explaining it as a small low-power computer on a single chip. Given SBCs like the Raspberry Pi also share those characteristics, but are full computers, I found that explanation insufficient

    2. In-depth explanation about its components (cpu, memory, etc.) in a way that seems I would have understood if I extensively knew about computers today at a low level. Sadly, I do not.

    I think what would help me understand is comparing with computers, specifically SBCs. My understanding of MCUs currently is that they're low power and low cost, but can only run one program over and over again, and cannot do complex things like load an operating system. What I would like to understand is what complexity are MCUs missing that forms the limitations that prevent MCUs of being full computers like the Pi.

    Thanks in advance!

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

    Which skill is good for the future?

    Posted: 30 Aug 2020 03:44 AM PDT

    Hello, I need advice about select a good skill for the future but I don't know which field is good!! I very like Virtualization and development a hypervisor like Xen, but I don't know how can I start and which skills are needed. Most of hypervisors written in C, but I heard C\C++ are not useful in the future because of Rust-Lang and Linux kernel wants use Rust-Lang too. I'm thankful if anyone share opinions here.

    Thank you.

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

    What career choices would I have if I pursued a PhD and MBA?

    Posted: 30 Aug 2020 01:22 AM PDT

    I'm looking to get into Georgia tech's computer science PhD program with a focus in artificial intelligence. They also offer to earn a degree on the side as well which is the MBA which I plan on being in management of information systems. What career choices would I have if I completed this program.

    submitted by /u/hey-its-your-IT-boy
    [link] [comments]

    State of the art in lip-syncing a talking face video!

    Posted: 29 Aug 2020 05:24 PM PDT

    Learn Python for free!!

    Posted: 29 Aug 2020 02:10 PM PDT

    GirlsCodeIt, in partnership with GirlPlex, is opening up its first python course!! It will start on Sept. 5 where you will learn about errors, data types, conditionals, loops, functions, etc. It is completely free and anyone and everyone is allowed to sign up! Adult? Sign Up! Teenager (Boys and Girls)? Sign up! It is never too late to learn how to program!

    If you are interested, here's the link to sign up: https://www.girlscodeit.org/our-python-course

    https://preview.redd.it/ys3ttj0ob0k51.png?width=538&format=png&auto=webp&s=338f2832d62e9dd000db3ad22a0cf22d23f24a1d

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

    Would you be willing to teach other people the programming language you know?

    Posted: 29 Aug 2020 12:25 PM PDT

    Best way to use the Boyer Moore algorithm on binary text?

    Posted: 29 Aug 2020 09:20 AM PDT

    No comments:

    Post a Comment