Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
readerrrr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
readerrrr
12y ago
Do you have any code examples?
32.
▲
by
readerrrr
12y ago
The article talks mostly about purity, and that is easily achieved.
33.
▲
by
readerrrr
12y ago
The thing is I know about the rule of equal number in each row and column, and have used it to solve a few 10x10, but when switching to a 4x4 I forgot it exists. I took some time and went trough the rules I knew, before posting this "e
34.
▲
by
readerrrr
12y ago
Well that's embarrassing.
35.
▲
by
readerrrr
12y ago
edit: I'm wrong. I have found a correct solution, yet the game doesn't accept it: B r r B r B B r B B r B B r B r The correct solution was: B r r B r B B r B B r r r r B B My guess
36.
▲
by
readerrrr
12y ago
And even that not completely...
37.
▲
by
readerrrr
12y ago
More constrains does not necessary translate to less choices. And even when it does, less choices do not necessary make it an easier game. For example: I remove undo move, then you certainly have less choices but, the game is harder( even
38.
▲
by
readerrrr
12y ago
10x10 solved. It seems too easy. It is almost an auto solver, you just have to find two blocks of the same color together, or two blocks with the same color with an empty block in-between. Great for a young person, but I would like to see a
39.
▲
by
readerrrr
12y ago
https://github.com/dotnet/corefx/blob/master/PATENTS.TXT
40.
▲
by
readerrrr
12y ago
There are two non-parallel lines in 4513( and I'm not talking about the two sets of parallel lines crossing each other ). Look carefully, and ignore other parallels. I haven't seen any such clear example in other primes( or any ot
41.
▲
by
readerrrr
12y ago
::blush::
42.
▲
by
readerrrr
12y ago
Because it grows exponentially. ( And it is interesting ) In reality you will use a O( (log n)^6 ) algorithm.
43.
▲
by
readerrrr
12y ago
It never stops generating primes, but it doesn't give a prime for every n.
44.
▲
by
readerrrr
12y ago
There is such a formula, it is very simple n^2+n+41 It doesn't generate sequential primes. That doesn't really matter, checking if a number is prime can be done in sublinear time complexity. The real problem is factoring la
45.
▲
by
readerrrr
12y ago
Try 4513 for two divergent lines in the first million and almost complete randomness in the 50th million.
46.
▲
by
readerrrr
12y ago
A couple of characters less in C ( I didn't count whitespace in both ): void qs( int* a , int z ) { if(z > 1){ ; int p = a[z/2], s = 0, e = z-1, t; while(s <= e) { for(;a[s] < p; s++); for(;a[e] > p; e--); if(s <= e
47.
▲
by
readerrrr
12y ago
I believe the fading starts at 0 ( a comment starts with 1 point ).
48.
▲
by
readerrrr
12y ago
That is also a problem. One downvote later and the comment is immediately biased toward future readers.
49.
▲
by
readerrrr
12y ago
That sounds like an incorrect fix. Since the comments are separated by trees, they should be positioned and compared to comments relative to that tree, not relative to the master tree. Being at the bottom of a sub-tree marks the comment aut
50.
▲
by
readerrrr
12y ago
If I understand the rules correctly, downvoting is used for not agreeing with a comment, and flags are used for inappropriate comments. But is fading the comment really the correct behaviour. Isn't the position on the page deciding whe
51.
▲
by
readerrrr
12y ago
Science is not profitable, its application is. And in a perfect world, wouldn't it be great if science was profitable? No, that would make it vulnerable to abuse, look at what happened to lawyering, college fees, private health care.
52.
▲
by
readerrrr
12y ago
Can you provide more information? How do you determine which paper is patented?
53.
▲
by
readerrrr
12y ago
That is nice, but I'm afraid the primary motivation was money. Which in the perfect world shouldn't be the case. I guess the end result is still better than most movies, a paper, and some science promotion for the general public.
54.
▲
by
readerrrr
12y ago
Given their motivation, which is to promote the movie and the book, I'm skeptical that this is a real discovery and not just something visualized that was previously in a mathematical form. If this is a real breakthrough, then where is
55.
▲
by
readerrrr
12y ago
We know: http://en.wikipedia.org/wiki/Electric_field http://en.wikipedia.org/wiki/Electric_charge http://en.wikipedia.org/wiki/Quantum_electrodynamics An electric field is g
56.
▲
by
readerrrr
12y ago
Really? Could you share the titles.
57.
▲
by
readerrrr
12y ago
The talk: https://www.youtube.com/watch?v=BUZvvvIFU9c&list=PLAc7HoDe-0...
58.
▲
by
readerrrr
12y ago
Yes! And hopefully you aren't using them.
59.
▲
by
readerrrr
12y ago
You must be joking. Why don't you "prove" that all the metadata is not used for commercial purposes, and that metadata isn't available to government agencies.
60.
▲
by
readerrrr
12y ago
You are trading your so far rarely touched privacy for solving minor first world annoyances.
More ›