The comparison is `myapp.localhost` vs `localhost:3000`. This is especially useful when you have web servers permanently running on your computer on ports, not just for momentaneous local development.
HN user
csciutto
How your classmate became a con artist:
"It’s a choice that’s laden with power. Unlike a bank or a traditional business, consultancies have little capital apart from the graduates they hire. A consultancy is a machine for prestige, and you are the source of their prestige, the smoke that obscures the truth of a business that subsists on the crudity of cutting and selling. They purchased your transcript, and they purchased your diploma, but you have the power to take them away. Without you, a firm has no more weight than the shells through which it is paid.
So withhold your labor, withhold your prestige, and watch as the façade begins tumbling down."
https://stanfordsphere.com/2020/01/30/how-your-classmate-bec...
I'll throw in a vote for using p5.js to make some cool generative art. Setup is less than 5 lines of code, and you can make some really nice art.
More importantly than the React code, I was playing around with `next.js` and `now.sh`. It was the simplest setup I've ever done. Barely any boilerplate, support for es6, and instant deploy. :)
Code: https://github.com/csciutto/challenges/tree/master/808
Clojure. Lisps in general are beautiful.
It might just be that I don't have much experience with JS, but it profoundly annoys be that a "tiny" script has 8 additional config files...
The Stanford curriculum goes from Java to C++ to C in the first core year of classes.
Our final project is a memory Allocator (Malloc, Realloc, Free). By the end, students really do grasp computer organization and architecture.
I'm curious if a combination of JavaScript: The Good Parts, and a professor that emphasizes good practices can offset JS's inherent problems.
Very few people formally learn JS. It's usually more of a read up on syntax, read documentation of a library, apply concepts.
As a Stanford student, an important caveat is that 106J is not replacing 106A. It is still being tested out this quarter, and this is the first time it's being offered. Enrollment in 106A is still around 400 while 106J is 40.