Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tydok
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
tydok
6y ago
Ask more? The book is expensive. If he lowers the price, say to $10, the sales will probably increase 10x.
2.
▲
by
tydok
6y ago
> How far should we go in making things generic ? Never make things generic apriori.
3.
▲
by
tydok
6y ago
> 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...
4.
▲
by
tydok
6y ago
Yeah, but perhaps the 90% of each 5% is common to all users.
5.
▲
by
tydok
7y ago
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).
6.
▲
by
tydok
7y ago
> 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 c
7.
▲
by
tydok
7y ago
Still, isn't it one stream per client? Why 10 streams each?
8.
▲
by
tydok
7y ago
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.
9.
▲
by
tydok
7y ago
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
10.
▲
by
tydok
7y ago
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.
11.
▲
by
tydok
7y ago
Taste and Aesthetics https://www.artima.com/intv/taste.html Taste for Makers http://www.paulgraham.com/taste.html
12.
▲
by
tydok
7y ago
"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"
13.
▲
by
tydok
7y ago
We use double buffering to avoid flickering, but still we have to clear the back buffers.
14.
▲
by
tydok
7y ago
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
15.
▲
by
tydok
9y ago
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.
16.
▲
by
tydok
9y ago
Very interesting. It contains a few subtitle providers I've never heard before. Thanks for posting it.
17.
▲
by
tydok
9y ago
Perhaps the most difficult problem is to find a subtitle in multiple languages.
18.
▲
by
tydok
9y ago
The problem isn't only about matching subtitles to movies but also where to look for subtitles, e.g. opensubtitles.org, subscene.com, etc.
19.
▲
by
tydok
10y ago
Good idea, I could do it.
20.
▲
by
tydok
10y ago
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 re
21.
▲
by
tydok
10y ago
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 distribut
22.
▲
by
tydok
10y ago
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.
23.
▲
by
tydok
11y ago
> 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
24.
▲
by
tydok
13y ago
Jack of all trades, master of none.
25.
▲
by
tydok
13y ago
That's keyboard ghosting. http://en.wikipedia.org/wiki/Rollover_%28key%29#Key_jamming_... http://www.microsoft.com/appliedsciences/antighostingexplain...
26.
▲
by
tydok
13y ago
My solution http://i.imgur.com/S2L9pht.jpg
27.
▲
by
tydok
14y ago
thank you
28.
▲
by
tydok
14y ago
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 :)
29.
▲
by
tydok
14y ago
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
30.
▲
by
tydok
14y ago
"There's a lot of space out there to get lost in."
More ›