Ask more? The book is expensive. If he lowers the price, say to $10, the sales will probably increase 10x.
HN user
tydok
How far should we go in making things generic ?
Never make things generic apriori.
which is probably some trivial math...
The clock hand problem can be solved with the Rule of Three
https://en.wikipedia.org/wiki/Cross-multiplication#Rule_of_T...
Yeah, but perhaps the 90% of each 5% is common to all users.
Exactly. It scales linearly, not quadratically. I forgot to mention that since clients do the "original" encoding, the server actually does less work (regarding resolution tiers).
100 outgoing video feeds. Not many machines can encode 100 video feeds in realtime
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.
Still, isn't it one stream per client? Why 10 streams each?
Firstly, a client will have 10 outgoing video streams at most, not 100!
Secondly, if we consider receivers bandwidth, a client can encode 2 or 3 video streams, e.g. low, medium, and high quality video.
The fundamentals are about positional elements and strategic principles.
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
Yes, it's indeed a property, not a problem. The problem is the accidental complexity which has the tendency to increase and requires constant effort/energy from us to keep it low.
Taste and Aesthetics https://www.artima.com/intv/taste.html
Taste for Makers http://www.paulgraham.com/taste.html
"I have yet to see an interesting piece of code that comes from these OO people [...] It claims that everything is an object. Even if it is true it is not very interesting"
We use double buffering to avoid flickering, but still we have to clear the back buffers.
Classes vs Data Structures, or maybe Objects vs Data Structures, or maybe Classes vs Objects, or maybe Data vs Data Structures, or maybe Data vs State, or maybe Classes vs Types, or maybe OOP vs FP, or maybe I don't know what I'm talking about...
I use extensively in my projects the Component decoupling pattern: http://gameprogrammingpatterns.com/component.html
The Observer and Mediator patterns can then be used for wiring components.
Very interesting. It contains a few subtitle providers I've never heard before. Thanks for posting it.
Perhaps the most difficult problem is to find a subtitle in multiple languages.
The problem isn't only about matching subtitles to movies but also where to look for subtitles, e.g. opensubtitles.org, subscene.com, etc.
Good idea, I could do it.
It's not based on math, it's empirical. In practice seems to work.
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?
The mines are uniformly distributed, yes, but the numbers are not. In a relatively sparse minefield, how likely is to find a 4? Of course depending on the "shape" of a cluster, chances can be 50%. The mines influence the distribution of numbers, not the other way around.
Try to apply the tactic I mentioned to solve the minefield in the article.
I use a simple but effective tactic.
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.
someone in Greece 2000 years ago
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.
Jack of all trades, master of none.
My solution http://i.imgur.com/S2L9pht.jpg
thank you
Your girl friend is absolutely correct. Graphics don't mean much. I added colors but I spent most of the time tuning the keyboard controls :)
Nice work.
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
"There's a lot of space out there to get lost in."