Live data from Hacker News

Professor solves 240 computer science exam problems in 4 hours [video]

youtube.com

141–150 of 173 posts

Re: Professor solves 240 computer science exam problems in 4 hours [video]

#141
This man was an INCREDIBLE BOON to me when I was studying Theoretical Computer Science just last semester. Awesome resource. Thank you Easy Theory!

He has another channel where he posts things that mainly pertain to Sipser's Computation. You can find it here: https://www.youtube.com/c/RyanDougherty/videos

Re: Professor solves 240 computer science exam problems in 4 hours [video]

#142
post #91
post #50

Earlier quoted context omitted.

A lot of people give theory a lot of crap. But that's normally because they are not comfortable with the material. If you are comfortable with the material, you see applications for it all over the place, and use it all the time. Sure, you don't have to ground your system in some kind of formal model (you can just code-til-it-works), but when you do I've found it always ends up as a far simpler and more resilient pro…

I think people are ready for things at certain times. I think history class was wasted on me in high school because I was a kid and didn't have much life experience. But years later with a better grasp on human nature I think I would have had a better grasp. Another example is a foreign language class. I took it in middle school, in high school and later in college. I learned lots and lots of theory for many years. B…

I've always sort of wished I could go back and get my CS degree after I had a few years experience in industry, instead of getting it before. I feel like I would have appreciated what I was learning a lot more.

Re: Professor solves 240 computer science exam problems in 4 hours [video]

#143
post #50

Earlier quoted context omitted.

A lot of people give theory a lot of crap. But that's normally because they are not comfortable with the material. If you are comfortable with the material, you see applications for it all over the place, and use it all the time. Sure, you don't have to ground your system in some kind of formal model (you can just code-til-it-works), but when you do I've found it always ends up as a far simpler and more resilient pro…

I found it also helps with the hardest problem in software development: naming things. Without knowledge of the theory it can be hard to come up with a descriptive name for some data structure/algorithm you created to solve your problem. With some knowledge of the theory you can more easily put a name to what you have created, making it easier for other people to understand and giving them something to Google if they…

What’s wrong with FactoryProducerProxy? /jk

Re: Professor solves 240 computer science exam problems in 4 hours [video]

#144

Earlier quoted context omitted.

Web development, embedded systems, and game dev. I use FSMs, pushdown automata, and hierarchical state machines all the time.

What's amazing to me is how uncommon state machines are in software, comparatively. In ASIC and FPGA design, it's so fundamental and ubiquitous. At least with synchronous designs.

I pushed for using state machines and more formal methods in the rewrite of a system that I and a number of other devs were hired for. The idea was turned down in favor of lots of ad hoc state and string constants, even though the system has a limited and distinct set of states on the main domain objects. People don't do it because people don't do it, and they're afraid others aren't going to understand it.

The vast majority of companies essentially code and design to the lowest common denominator so that their devs are fungible cogs.

Re: Professor solves 240 computer science exam problems in 4 hours [video]

#145
post #118
post #91

Earlier quoted context omitted.

I think people are ready for things at certain times. I think history class was wasted on me in high school because I was a kid and didn't have much life experience. But years later with a better grasp on human nature I think I would have had a better grasp. Another example is a foreign language class. I took it in middle school, in high school and later in college. I learned lots and lots of theory for many years. B…

Agreed. The reason its not that way is that schools are mostly state-run daycare programs, setup so that parents can work, not a genuine implementation of skill building.

No, the reason is that the people who teach are naturally of greater experience and age. When you reach their age/experience they are starting to make sense.

Re: Professor solves 240 computer science exam problems in 4 hours [video]

#146
post #76

Interesting how so many of these problems are probably hard for a fraction of the people that want to pass this exam simply because of the language in which they are expressed. For example, and I've noticed this pattern with some regularity: large and complex expression in a paper or some other document. Actual implementation: one or more for loops with an add or a multiply in the body of the loop with some initializ…

That's an excellent question! It may be worth considering that the answer may not be as significant as some might guess. GATE is an exam that tests if you're ready for graduate school. Part of being ready for a specialized field is being fluent in the vocabulary and parlance used in that field, as this enables rapid learning and smooths communication. That you can understand the ideas if they are restated and re-expr…

[deleted]

Re: Professor solves 240 computer science exam problems in 4 hours [video]

#147

As a math professor, I'm amazed that our students learn to answer exam questions about damped, driven systems without internalizing anything about the idea. Now, our pandemic is a damped, driven system and no one gets it. I love multiple choice. I aced Regents exams in high school by borrowing old study guides to memorize the missing half of the corpus. I recently had a great time taking the Triplebyte quiz inebriate…

A bit unfair to treat it as a race. He's talking through the problem for the benefit of the audience. If he was just thinking like you were (not speaking) I'm sure he'd go faster.

Re: Professor solves 240 computer science exam problems in 4 hours [video]

#148

These...don't seem that hard? I mean I just took a class on Theory of Computation but I did pretty poorly in it and stopped paying attention when we switched to online. Most of these seem to be CFG/RE questions with fairly simple answers. I'd expect some more challenging stuff with constructions from a graduate entrance exam.

I only went through the first ten or so questions so far (will do more later cuz it's neat stuff) but yeah, all if this was covered in a single semester of automata in my undergraduate. Although, maybe a graduate entrance exam isn't supposed to test much more than what you learn during the course of undergraduate classes.

Re: Professor solves 240 computer science exam problems in 4 hours [video]

#149
post #50
post #43

I need to defend theory of computer science here, it seems. Please note that this computer science , not computer engineering . The idea of automata, regular languages, turing machines, and whatnot inform some of the most fundamental results of computer science . At least in the fields where I work [compilers, formal verification], all of the above theory is common parlance. Everyone working on this stuff knows all o…

A lot of people give theory a lot of crap. But that's normally because they are not comfortable with the material. If you are comfortable with the material, you see applications for it all over the place, and use it all the time. Sure, you don't have to ground your system in some kind of formal model (you can just code-til-it-works), but when you do I've found it always ends up as a far simpler and more resilient pro…

There's often a gap in abstraction where you just don't see the point nor the value.. until you do. Follows the usual enlightened 'aah'

Re: Professor solves 240 computer science exam problems in 4 hours [video]

#150
post #85

Earlier quoted context omitted.

But do those fields have a similar split between the language used by the theoretical and the practical side of things?

Generally no, because they do not have large populations of self-taught professional practitioners who never learned theory. Least common denominator writing is very useful for a great many things. It is wonderful and ideally suited for items aimed at a popular audience. It just may not always be ideal for efficient and precise technical communication.

I don't really buy this. You're framing this as if people don't use this notation because they are self taught. But I've worked in companies full of fresh out of college people and we didn't use this notation when working on projects. And when working on group projects in college, we didn't use it either when discussing possible solutions. We used pseudocode.

Beyond that, I think you're selling an ideal here in these other professions that doesn't necessarily exist. There certainly is some vocabulary overlap but a huge problem in e.g. medicine is practicing doctors not being able to understand the science behind medicines and procedures that biased 3rd parties are recommending they offer to patients.

Post reply on HN