56 karma · joined September 25, 2008
Never make things generic apriori.
The clock hand problem can be solved with the Rule of Three
https://en.wikipedia.org/wiki/Cross-multiplication#Rule_of_T...
The server will send 9 video streams to each connection, but it has to process only 10 video streams since it will send the same video data to all clients, if we ignore client bandwidth.
Secondly, if we consider receivers bandwidth, a client can encode 2 or 3 video streams, e.g. low, medium, and high quality video.
For example: Relative value of the pieces, Control of the center, Pawn structure, Tactics, Initiative, Tempo, Opposition, Keep the position balanced, Develop multiple ideas/areas (strategy), Control open lines (files/ranks/diagonals) and crossings
Taste for Makers http://www.paulgraham.com/taste.html
The Observer and Mediator patterns can then be used for wiring components.
I applied it on the minefield in the article and I solved it.
To put it another way, on two adjacent tiles where there's one mine, if you had the choice to reveal a 2 or a 6, which one would you choose?
Try to apply the tactic I mentioned to solve the minefield in the article.
50-50 chances on nearby/adjacent tiles aren't actually 50%. If one tile would reveal a 4 and the other a 2, pick the second, because 4s are more rare.
How the Ancient Greeks Invented Programming http://www.infoq.com/presentations/Philosophy-Programming
Summary:
Matt Butcher explores the philosophical systems devised by Plato and Aristotle, showing how Plato laid the foundations for what is now OOP, while Aristotle’s dynamic model is at the core of FP.
I like to make simple games when I learn a new language. While playing with javascript and canvas, I wrote this http://nick-d.appspot.com/tetris.html