Live data from Hacker News

CS 168: The Modern Algorithmic Toolbox

web.stanford.edu

21–30 of 101 posts

Re: CS 168: The Modern Algorithmic Toolbox

#21
post #5

Very neat. They write: > In this course, we’ll be looking for the following trifecta: (i) ideas that are non-obvious, even to the well-trained computer scientist, so that we’re not wasting your time; (ii) conceptually simple — realistically, these are the only ideas that you might remember a year or more from now, when you’re a start-up founder, senior software engineer, PhD student, etc. (iii) fundamental, meaning t…

I don’t understand the connection between 1 and 2. What happened to the relationship between Apple and Akamai?

Consistent hashing is needed for cashing/CDN.

Re: CS 168: The Modern Algorithmic Toolbox

#22
post #3

> Zero hits for "hardware". Are there algorithm courses that take into account how hardware affects algorithms? For example with databases, you have implement theoretically inefficient algorithms which are faster in practice (mostly because they use sequential access).

Usually that lives in more applied courses, I guess partially because there is less useful theoretical treatment of that and the usually-taught tools don't really fit it. "A cache miss is 1000x slower" is just a constant factor after all ;)

Re: CS 168: The Modern Algorithmic Toolbox

#23
post #20

Earlier quoted context omitted.

I don’t understand the connection between 1 and 2. What happened to the relationship between Apple and Akamai?

Sorry, I left something out. The authors mention earlier in the lecture that > [The algorithm (Consistent Hashing)] has real applications [and] gave birth to Akamai, which to this day is a major player in the Internet. [...] (Quantitatively, Akamai serves 10-30% of all internet traffic, and has a market cap ≈ $19B.) This makes the rejection notice so funny.

The rejection notice is funny now, but to researchers whose careers depend on publications, such unfounded rejections are anything but.

Re: CS 168: The Modern Algorithmic Toolbox

#24
post #5

Very neat. They write: > In this course, we’ll be looking for the following trifecta: (i) ideas that are non-obvious, even to the well-trained computer scientist, so that we’re not wasting your time; (ii) conceptually simple — realistically, these are the only ideas that you might remember a year or more from now, when you’re a start-up founder, senior software engineer, PhD student, etc. (iii) fundamental, meaning t…

Here’s one explanation of Consistent Hashing by a popular author that just started a systems design YouTube channel:

https://m.youtube.com/watch?v=UF9Iqmg94tk

Re: CS 168: The Modern Algorithmic Toolbox

#25
post #5

Very neat. They write: > In this course, we’ll be looking for the following trifecta: (i) ideas that are non-obvious, even to the well-trained computer scientist, so that we’re not wasting your time; (ii) conceptually simple — realistically, these are the only ideas that you might remember a year or more from now, when you’re a start-up founder, senior software engineer, PhD student, etc. (iii) fundamental, meaning t…

> (i) ideas that are non-obvious, even to the well-trained computer scientist

> In the first lesson, they discuss consistent hashing, and they seem to have achieved their goals.

I was really excited when I read your comment here before clicking the link, but having had a look at the rest of the curriculum, I'm slightly underwhelmed.

- Generalization ... Empirical risk minimization.

- lossy compression

- Similarity Search. (Dis)similarity metrics: Jaccard, Euclidean, Lp....

- Regularization. The polynomial embedding and random projection, L2 regularization, and L1 regularization as a computationally tractable surrogate for L0 regularization.

- Understanding Principal Component Analysis (PCA). ... The simple geometry of "diagonals in disguise." The power iteration algorithm.

- Low-rank matrix approximations. The singular value decomposition (SVD), applications to matrix compression, de-noising, and matrix completion (i.e. recovering missing entries).

- Graphs as matrices and the Laplacian of a graph. Interpretations of the largest and smallest eigenvectors/eigenvalues of the Laplacian. Spectral embeddings. Interpretations of the second eigenvalue

- Markov Chains, stationary distributions. Markov Chain Monte Carlo (MCMC)

- Fourier methods

- Compressive sensing

- Linear and convex programming. Matrix completion

- Differential privacy

I was thinking that the vast majority of those topics should be pretty much standard knowledge for a mathematically trained computer scientist (not being an expert in each of them, but knowing the basics of what they do, how they work and where they're applied). What level is this course at?

Re: CS 168: The Modern Algorithmic Toolbox

#27
post #25
post #5

Very neat. They write: > In this course, we’ll be looking for the following trifecta: (i) ideas that are non-obvious, even to the well-trained computer scientist, so that we’re not wasting your time; (ii) conceptually simple — realistically, these are the only ideas that you might remember a year or more from now, when you’re a start-up founder, senior software engineer, PhD student, etc. (iii) fundamental, meaning t…

> (i) ideas that are non-obvious , even to the well-trained computer scientist > In the first lesson, they discuss consistent hashing, and they seem to have achieved their goals. I was really excited when I read your comment here before clicking the link, but having had a look at the rest of the curriculum, I'm slightly underwhelmed. - Generalization ... Empirical risk minimization. - lossy compression - Similarity S…

Guessing from the number (168), probably second year? So not too basic if that's what you're implying

Re: CS 168: The Modern Algorithmic Toolbox

#28
post #25
post #5

Very neat. They write: > In this course, we’ll be looking for the following trifecta: (i) ideas that are non-obvious, even to the well-trained computer scientist, so that we’re not wasting your time; (ii) conceptually simple — realistically, these are the only ideas that you might remember a year or more from now, when you’re a start-up founder, senior software engineer, PhD student, etc. (iii) fundamental, meaning t…

> (i) ideas that are non-obvious , even to the well-trained computer scientist > In the first lesson, they discuss consistent hashing, and they seem to have achieved their goals. I was really excited when I read your comment here before clicking the link, but having had a look at the rest of the curriculum, I'm slightly underwhelmed. - Generalization ... Empirical risk minimization. - lossy compression - Similarity S…

> I was thinking that the vast majority of those topics should be pretty much standard knowledge for a mathematically trained computer scientist

Well yes, this is literally that mathematical training.

Re: CS 168: The Modern Algorithmic Toolbox

#29

> tHE TRue vAlue Of cOlleGE Is THE NEtwork NOT ThE COurSeS Well clearly people haven't been taking courses as cool as this.

To answer your strawman, nah for me I got zero network from "college" but I enjoyed the education. Financially the biggest benefit is not getting rejected from jobs that require it.

Re: CS 168: The Modern Algorithmic Toolbox

#30
post #25

Earlier quoted context omitted.

> (i) ideas that are non-obvious , even to the well-trained computer scientist > In the first lesson, they discuss consistent hashing, and they seem to have achieved their goals. I was really excited when I read your comment here before clicking the link, but having had a look at the rest of the curriculum, I'm slightly underwhelmed. - Generalization ... Empirical risk minimization. - lossy compression - Similarity S…

> I was thinking that the vast majority of those topics should be pretty much standard knowledge for a mathematically trained computer scientist Well yes, this is literally that mathematical training.

yeah, I guess I was expecting postgrad-level stuff on things that are curious to people who finished a CS education
Post reply on HN