Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teo_zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
451.
▲
by
teo_zero
2y ago
Better: take one of the existing engines, sort the moves from the best to the worst, if the top move has score S, randomly choose among the moves with score >= 0.9*S. You can simulate a better/worse player by increasing/decreas
452.
▲
by
teo_zero
2y ago
> In markup, everything is literal, unless you put a `#` sigil Unless it's a "=", then it begins a new section. And unless it's a "-" or a "+" or a "/", then it's a list item. A
453.
▲
by
teo_zero
2y ago
Embedding words like Figure or Section breaks not only declensions, but capitalization, too. Germans won't notice it because all their nouns are capitalized, and English speakers won't care because they're traditionally forgi
454.
▲
by
teo_zero
2y ago
> Typst authors being germans, one can hardly accuse them in the "everyone uses English" attitude. On the other hand, one can easily understand why, bein German, they assume Figure, Equation, etc. will always be capitalized. &g
455.
▲
by
teo_zero
2y ago
Interesting position that was not expressed before. However please note that the same could be said about writing a solver.
456.
▲
by
teo_zero
2y ago
All games are artificial problems, so your question actually is, what motivates people to engage in pastimes? Sudoku, crosswords, Simon Tatham's puzzles etc. are an excellent way to pass the time while keep training the mind. Sports ar
457.
▲
by
teo_zero
2y ago
On mobile I keep "=" pressed for 1 sec and it allows me to type ≈ ≠ and ≡. On Linux I use the sequence Insert, "/", "=", having mapped Insert to act as a Compose key (what other use do you have for it anyw
458.
▲
by
teo_zero
2y ago
I share some of TFA criticism: syntax highlighting just emphasizes what you should already see without it. The word "return" is a keyword of the language, you don't need it to be visually different from the rest to recognize
459.
▲
by
teo_zero
2y ago
The C committee has just deprecated trigraphs. It might be the right time to propose ≠ as alternative to != and then in 40 years we can deprecate != and only keep ≠
460.
▲
by
teo_zero
2y ago
> Do you smell them? It's irrelevant: you can smell many of them even after they have left the wagon or room, still you're not with them.
461.
▲
by
teo_zero
2y ago
Correct. A method to extract a pointer from an array already exists: int *p = &arr[0]; The mistake is to allow this: int *p = arr;
462.
▲
by
teo_zero
2y ago
I like standards and abhor bloat, but I must admit there are GNU extensions that are so useful and well known that it would be difficult to do without. Probably this happens when POSIX specs are too strict or feature-poor to be of use even
463.
▲
by
teo_zero
2y ago
Do you really expect an answer from a self-defined "ignorant"? Or is this a rhetoric question and you are hiding an answer inside it? If so I don't get it. Wouldn't it better to explain it in plain words?
464.
▲
by
teo_zero
2y ago
But isn't the chamber full of exhaust at the beginning of the second power stroke? What will burn?
465.
▲
by
teo_zero
2y ago
I'm sure they said the same when they saw the first photographs and compared them with paintings.
466.
▲
by
teo_zero
2y ago
> make cannot do any kind of dependency resolution Ignorant's question: isn't dependency resolution the core of make? What are you referring to here?
467.
▲
by
teo_zero
2y ago
How would the proposed solution work with this code? void foo() { char *p = malloc(...); defer free(p); ... { FILE *p = fopen(...); defer fclose(p); ... } return; } Would it run both deferr
468.
▲
by
teo_zero
2y ago
Apart from personal opinions, is there any evidence this is due to Google sabotaging uBlock rather than a legitimate technical concern (V2 vs V3 manifest)? Could uBlock implement V3 without losing its functionality?
469.
▲
by
teo_zero
2y ago
What you're suggesting is that the shell should have every possible command builtin and not call external programs. Let's analyze your example with 'rm': it works as long as 'rm' is an internal routine. If it
470.
▲
by
teo_zero
2y ago
The worst part is that if you're not running Linux but have a perfectly working 'timeout' command, the script will ignore it and fail.
471.
▲
by
teo_zero
2y ago
> Dealing with filenames with spaces is a pain, and files that start with a '-', Wait! The fact that arguments with a leading hyphen are interpreted as options is not bash's fault. It's ingrained in the convention of
472.
▲
by
teo_zero
2y ago
if [ -x "$(command -v gtimeout)" ]; then Interesting way to check if a command is installed. How is it better than the simpler and more common "if command...; then"?
473.
▲
by
teo_zero
2y ago
That's clear, my question is why the +e is inside the loop and thus is set at each iteration, while the -e is outside it and thus is set only once at the end.
474.
▲
by
teo_zero
2y ago
In the 4th section, is there a reason why set +e is inside the loop while set -e is outside, or is it just an error?
475.
▲
by
teo_zero
2y ago
So what? F3 detects frauds, it doesn't guarantee that you can avoid them.
476.
▲
by
teo_zero
2y ago
Despite the title, the article doesn't provide any useful insight that links touch typing and programmers. It goes like "programmers also take notes and write emails, therefore touch typing will make them quicker". But this a
477.
▲
by
teo_zero
2y ago
The application can handle it changing if (ms > 0) fenster_sleep(ms); to if (ms > 0 && ms <= 1000/60) fenster_sleep(ms);
478.
▲
by
teo_zero
2y ago
The parent post didn't say it's not present. In fact it's at the 26th place. So the ranking does not exclude non-paintings.
479.
▲
by
teo_zero
2y ago
> If not the most famous artwork in the world Wait, what?? Am I the only one who thinks this sentence is off by an order of magnitude? I'd bet that the Great Wave is not even one of the 10 most famous. Unfortunately I have no eviden
480.
▲
by
teo_zero
2y ago
Isn't Orient owned by Seiko?
More ›