Live data from Hacker News

Ask YC: What have you learned that rocked your world?

news.ycombinator.com

1–10 of 85 posts

Ask YC: What have you learned that rocked your world?

#1
My question is meant to be open-ended and not limited to programming. My examples:

Meta-programming, in ruby (the power of code that creates code, being released from the tyranny of typing)

Social psychology (Social proof, hacks for relating to people, hacks for appealing to the opposite sex, hacks for reading people)

Economics (Why the minimum wage is damaging, why free trade is good)

Re: Ask YC: What have you learned that rocked your world?

#4
post #3

Mathematical things: A clever geometric proof of the AM-GM inequality, the Monty Hall problem, functional programming.

Agreed. The Monty hall problem is definitely a mind-bender in a good way. I started with Erlang, but haven't found a project that begged for it yet, though...

Re: Ask YC: What have you learned that rocked your world?

#5
That the hack is the architecture.

Architectures are designed to solve the known set of problems at the time of inception. When that problem set changes people try to adapt the architecture to solve the new problem set. Usually this is done through the path of least resistance. The easiest to implement with the least known side effects.

My favorite example: Web browsers were never ever meant to host applications when they were first designed. They can only passably do so today through elaborate hacks. This is why writing a good web application is so difficult and time consuming. These hacks are now well known established parts of what is the accepted architecture of web browsers but they were once hacks and are still hacks.

Similar examples exist all over the place. Design for the future and build for today...

Re: Ask YC: What have you learned that rocked your world?

#8
Complex and emergent systems. Certain systems can have only local interactions but have global effects. Some effects in nature are not the result of a single cause, but from the interactions of many local parts. One can design robust behavior (though not necessarily optimal) in the global system through only defining local interactions. Many biological systems have this architecture, such as ant colonies, immune systems, and neural networks, and flocks. So do non-biological ones, such as capitalistic economies, traffic jams, and choosing neighbors. The Atlantic's "Seeing around corners" is a good intro to the topic, as well as "The computational beauty of nature"

Sexual selection is the second child of Darwin that people haven't paid as much attention to, but he spent a significant amount of time devoting study to it. It poses interesting questions on the canonical natural selection mechanisms, when mate selection is factored in. When you look at the mating systems of other animals, there's a wide wide variety. From males that care for the young, polygamy being the norm in birds, homosexuality not all that uncommon in the animal kingdom, and factors that affect male:female size ratio. After learning about it, you dismiss arguments people make about how this or that aspect of nature is 'unnatural'. Chances are, they've never looked, and think all mating systems are like human ones.

Quitting the for-loop through functional programming styles. Hello map, inject, and each. Understanding the power of Lisp, and why it has parens everywhere. Understanding continuations are functions that don't return, and you merely chain them together. Still working on monads though.

Re: Ask YC: What have you learned that rocked your world?

#10
Euler's equation.

That conservation laws follow from deeper symmetry principles (Noether's theorem). Symmetry under translation corresponds to conservation of momentum, symmetry under rotation to conservation of angular momentum, symmetry in time to conservation of energy!

http://mathworld.wolfram.com/NoethersSymmetryTheorem.html

Post reply on HN