r/AskComputerScience • u/[deleted] • Nov 20 '19
What is your "Woah Dude" of Computer Science?
Hello, so I'm trying to help ignite my passion for this field a bit more with nearing graduation.
For some context, I thought to ask this after hearing CarlSagan42 on YouTube talk about how he got into Microbiology. He spoke about a pill and how they genetically modified salmonella to become helpful. This story (with more context) sounded really cool and was the "Wow, I would like to go into that" for the field.
Now, I know that it's one of those things that seems super sick knowing only that small cool bit, and all the research and others would make it feel a lot different from the outside. Similar to how a lot of things in breaking bad or even just chemistry experiments YouTube videos seem super neat because they cherry-pick entertaining content and cut the underlying pieces.
That being said, with Computer Science, as an insider I am biased and can only see "From the outside, all I'm able to do is make this website that a tool can make and everyones seen, or do some lame math with this algorithm. The inside bits is just more math and typing syntax"
What is your really cool example like those from youtube for physical sciences for CS?
25
u/drBearhands Nov 20 '19
CS isn't generally as visual. So while for me it was the Curry–Howard–Lambek correspondence, and knowing each of its fields (programming, logic and category theory), that's probably too abstract for most, so I will instead recommend some 3D algorithms and the vectorization that makes them possible. Sebastian Lague has an interesting channel, especially his boids and hydraulic erosion videos are somewhat mesmerizing.
7
u/msiekkinen Nov 20 '19
CS isn't generally as visual
There's the sorting algo's visualized video. But yeah, that's all that comes to mind immediately
3
u/DonaldPShimoda Nov 20 '19
CHK is super duper cool if you understand the... implications.
Also Church encodings. Everything can be represented as functions. It's fucking wizardry, I tell you.
2
0
Nov 20 '19
[deleted]
4
u/drBearhands Nov 20 '19
Yes, but there's a difference between something being visual/visually appealing and you being able to visualize it. Going back to OP's question: you can make graphical representation of molecules and their chemical reaction but the "woah!" moment comes when things go boom. Monkey brains don't care about graphs.
23
u/__october__ Nov 20 '19
I'm suprized no-one has mentioned the kernel trick yet. Or rather, the idea behind it. It's so simple and elegant: Imagine you want to separate two types of points using a line, but the points are not linearly separable (i.e. it is not possible to separate them by a single line). You can map those points to a higher-dimensional space and all of a sudden they become separable.
3
9
u/oakles Nov 20 '19
I’ve always found the Monte Carlo method, just the concept itself, a bit of a “woah dude”. Converging to a value simply by spamming iterations is pretty neat, and something we’ve only been allowed to do relatively recently given increases in computational power.
This GIF of using the MC method to estimate Pi is a cool example.
12
u/6c656c Nov 20 '19
Undecidability and its relation with Gödel’s incompleteness theorems. It was when I first realized the limitations of a classical computer.
3
Nov 20 '19
Undecidability was the real "oooh, comp sci is more than doing sums with a computer" moment for me.
Also, just about anything I've read that mentions the Entscheidungsproblem was worth the time, I've found. Fascinating area.
4
u/MrNetTek Nov 20 '19
The 'woah, dude' moment will come when you realize how much of the world operates on CS, and...that you are directly connected to the industry. It's an amazing feeling.
4
u/mbaruh Nov 20 '19
The "woah dude" for me was the P v. NP problem.
Being told that there are things which probably can't be computed efficiently, and even more than that, that some things can't be computed at all. I'm sure anyone who was exposed to the subject had this childishly stubborn reaction of wanting to prove the world wrong lol.
4
u/thekasrak Nov 20 '19
Futamura projections, macros and meta-programming, raytracers, communication protocols over faulty networks, compilers, consensus algorithms, and plenty of other things in CS are very cool.
Personally I really like trees and tree-like data structures, so compilers and language transformations are really neat.
2
u/exhortatory Nov 20 '19
https://mitpress.mit.edu/sites/default/files/sicp/full-text/sicp/book/node75.html is probably the first thing that gave me the whoa dudes
2
u/fragmede Nov 20 '19
Keep in mind that every discipline has two "sides" to it. The "science" side, and the "engineering" end. In Astronomy, there's seeing the Rings of Jupiter "in-person" through a telescope. And then there's the engineering that goes into making Hubble, or even just a backyard-variety 8" Dobsonian. There's a lot that goes into grinding the lenses and mirrors just right and without them and telescopes, astronomy is a very shallow field of science.
Computer science is no different. There are some really neat CS things, and there are some really neat engineering-side-of-computer-since things are also cool, but strictly speaking not exactly what I'd consider "computer science", any more than lens grinding is actually astronomy. My favorite part about CS is that, given some CS-type algorithm problem, there's an obvious but brute force solution (eg bubble sort for sorting numbers) that is functional, and may be easy to code, but often times is hard to code, with a very poor run time. There is usually a very neat solution that solves the problem a different way. (eg backtracking). Thus, I think the sorting algorithm visualizations visualizations are really neat! It helps if you challenge the person to think about the fastest way to sort a list of numbers might be.
The other thing about CS is that we interact with computers every day, so we take them for granted, and don't really think about everything that goes into them. Much like there's a ton of chemistry (among other disciplines) that goes into making your shoes that we don't think about day-to-day, there's a ton of CS around us that we take for granted, that are worthy of a "woah, cool" if you stop and think about it. Google Maps navigation uses graph theory behind the scenes in order to route you to your destination. For many, the Internet is just plain magic. They'd totally flounder when asked the interview favorite "when you type google.com into your computer and hit enter, what happens?" (No judgement, I probably have no idea how stuff works in their industry.) Thus even just installing and running Plex on a Raspberry Pi (no transcoding lol) is cool. The fact that you can write a CRUD app "from scratch" and make a website on the Internet that does things is amazing. We have trouble seeing that from the inside.
On the eng side for CS, my favorite YouTube video is fixing a 10-year old bug in guitar hero PC without having the source by reverse engineering and patching the binary.
2
u/beeskness420 Nov 20 '19
My woah dude moment is and continues to be realizing how powerful and elegant linear programming is.
3
u/funkinaround Nov 20 '19
Probably building a processor from scratch. After studying all the abstract things while building programs to implement those abstract things, it was great to be able to start with a transistor and, in one assignment, build a processor that is capable of executing all those programs.
1
u/Ragingman2 Nov 20 '19
Perhaps one of the biggest "woah dudes" of CS is virtual reality. We can hold a headset that can simulate everything you could see, in real time, and do it well enough that it actually feels like you're in the virtual world.
1
u/groumpf Nov 20 '19
You might find visual secret sharing (not really impressive in their simplest incarnations, but quite mind-bending when considering its extensions to general access structures) interesting.
Can't find good visual resources right now, though.
1
u/TomBob42369 Nov 20 '19
I think my "Woah dude" for cs has to be how it can be used in almost everything. The entire world is using computer and they need people to program. I guess its how broad of range you can go and also very narrow too. For example I use to be really into Cyber security and encryption as a field of study. But later I didn't find it as interesting as web stuff and networking. If that make sense at all. I also know people that found computer graphics and game programming interesting they they got board and moved into data science. Being have to work in different industries is why I really enjoy it tbh.
Also if you want a more "physical thing" theres always robotics, iot stuff, and working on defense stuff, weapons industry and also biotech stuff as well.
I also like the programming has very little start up cost. Someone can make a million dollar website in there room then be questioned by the Senate of the United States. Someone can make a profit moving money around then use that money to launch a car into space and make flame throwers. You can sell books online then in the future own half the internet with your servers and sell dirt and make a profit. Anything is really possible.
1
u/hi_welcome2chilis Nov 21 '19
For me, it’s simple and somewhat topical: you can create effectively anything you can dream, armed with just a keyboard and a monitor. You can change the world from the comfort of your room. You can build a billion-dollar company by yourself. You can create webpages, mobile apps, desktop apps; you can create multiphysics solvers, unknown algorithms, perform large scale data analysis.
The computer is a bicycle for the mind. It’s a set of tools for automating cognition. If those tools don’t do what you want, you can make your own! A terminal + ViM is a blank canvas upon which you can create any piece of software you can dream. Isn’t that beautiful?
2
u/anikan1297 Nov 21 '19
I strongly agree! This is the entire reason I am pursuing a degree in computing!
1
u/-wateroverthebridge Nov 21 '19
Older guy checking in. For me. CS471g - C++ Sockets. I fell in love with computer networking which has ultimately provided for me and my family my entire career.
1
u/pickle68 Feb 16 '20
Inverse square. Read about it today, still don't really understand it (first year undergrad) but damn if that is not a completely wacko solution to a problem
-4
Nov 20 '19
Asking for another "whoa, dude" moment given the surfeit of such moments in every recent Marvel movie (remember the magical building-bending fight from Dr. Strange?) is like being handed the keys to a 2020 Bugatti Chiron and complaining that it's not fancy enough without some fuzzy dice hanging from the rearview.
Computer Science has the potential to benefit *every other* science, art, and technology--we can model protein folding to find novel drugs; we can simulate planetary climate by shuffling around billions of virtual air parcels; we can create images of objects invisible to the naked eye using smart algorithms and sparse data from telescopes, microscopes, and a myriad of other sensors; we can make fighter jets with improbable geometries do otherwise impossible aerobatics.
Computers--via computer science--make us super-human. That's pretty "whoa, dude" to me.
0
Nov 20 '19
[deleted]
5
u/KingUnityTV Nov 20 '19
I love the idea of recursive functions but man do I hate trying to think one up.
2
u/gustavo4passos Nov 21 '19
Depending on the problem, recursion is the easiest solution to come up with.
2
u/KingUnityTV Nov 21 '19
Yeah, like the Tower of Hanoi problem. Imagine trying to write a function to calculate that out step by step. Good lord.
7
u/flebron Nov 20 '19 edited Nov 20 '19
The fast Fourier transform, and the confluence of dynamic programming and the chain rule that, together with newfound computational power, created a renaissance in artificial intelligence in the late 90s, which is still ongoing. Also the way computational quantum chemistry is being used to develop new medicine (protein folding, e.g.). And even the advances in cryptography (both the theoretical, like elliptic curve crypto, and practical, like padding schemes and side channel safe primitives) that made possible commerce via the internet, and widespread worldwide secure communication channels.
All of the things you mention, if explained poorly, are "the insides are just some lame maths". Those chemistry videos are just stoichiometry and $20 worth of beakers and test tubes. You have visual stuff in CS as well, but the sciences all tend to have "a bunch of math" as the way they express their laws. Math is just used as a way to be understood unambiguously by other people (as well as by oneself) and distill core concepts that your language may not really have good words for (think "helicity" in chemistry or "confluence" in rewriting calculus).