Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Anon_troll
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
Anon_troll
6d ago
An alternative wording for the same idea: If you are at picture 1, you have 100% chance of selecting it as the current winner. If you are at picture 2, you have 1/2 chance of selecting it as the current winner, or 1/2 chance of ke
2.
▲
by
Anon_troll
6d ago
The len(pics) can be O(n), especially if iterators are used like here. Also, an O(1) lookup would require a previous O(n) pass over the data anyway. The picture selection algorithm's kind of single-pass iterator usage might have been m
3.
▲
by
Anon_troll
10mo ago
It's a shame the campaign of RA3 was boring. They got the theme and cutscenes right, but the campaign missions were rather slow, generic and forgettable. It's the opposite of C&C3, which had a good campaign but the theme was a
4.
▲
by
Anon_troll
1y ago
The hash-based algorithm is only O(n) because the entry size has a limit. In a more general case, it would be something more like O(m(n * e)). Here n is the number of entries, e is the maximum entry size and m is a function describing how c
5.
▲
by
Anon_troll
1y ago
I encountered similar trouble with both Firefox and Chrome on Ubuntu. Based on a quick Firefox performance report on the minified source code, most of the time seems to be spent in functionality looking like frame handling. There are some s
6.
▲
by
Anon_troll
1y ago
Extracting text from DOCX is easy. Anything related to layout is non-trivial and extremely brittle. To get the layout correct, you need to reverse engineer details down to Word's numerical accuracy so that content appears at the correc
7.
▲
by
Anon_troll
2y ago
The comb walls are basically like chewing gum. It does not have much taste.
8.
▲
by
Anon_troll
2y ago
This sounds like https://bash-org-archive.com/?5273 (original website no longer exists).
9.
▲
by
Anon_troll
4y ago
One major problem here is the mixup of UX and technical implementation details. From UX point of view, the link example goes nowhere, it just opens a dialog. From that point of view it the fact it uses anchors to do so is not really relevan
10.
▲
by
Anon_troll
4y ago
> A more reasonable question would be, how many partially completed sudoku grids are there which have a unique solution. We don't know the answer to that. If you interpret "unique" to mean that two puzzles that lead to the
11.
▲
by
Anon_troll
5y ago
I don't think Firefox and Chrome run extensions/plugins in private windows without you first allowing them to run. That might be the case here.
12.
▲
by
Anon_troll
5y ago
The whitespace and formatting are not significant to the compiler, but they can provide a lot of information to the reader of the code. You can often see where the writer put the most effort and thought by just seeing how they wrote it. Thi
13.
▲
by
Anon_troll
5y ago
> Minecraft does doors right in comparably simple way, and I think few if any players have a problem with it See https://bugs.mojang.com/browse/MC-149060 "Villagers "spam" doors by opening and closing
14.
▲
by
Anon_troll
8y ago
# Linux hard mode set -e The tab completion integration is especially nice.