Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teo_zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
781.
▲
by
teo_zero
3y ago
There's something wrong in the comparison calculation. To begin with, when n is exactly 2^k-1, I would expect all the functions to show k comparisons, including Skarupke's. In the plot, all the curves overlap at 64, 127 and 255 ex
782.
▲
by
teo_zero
3y ago
> What is your better thing? A shell script?
783.
▲
by
teo_zero
3y ago
How can a block-based language help students transition from block-based coding to text-based coding?
784.
▲
by
teo_zero
3y ago
You might be right. However I don't see anything wrong if I feel a will to destroy something and I resist it, so that no harm comes from my hatred. Hatred by itself is not necessarily something to condemn. Therefore "hate speech&q
785.
▲
by
teo_zero
3y ago
You should find another word, then. Because "hate" is still an emotion in my dictionary.
786.
▲
by
teo_zero
3y ago
> anyone still using monospaced fonts in their editors? The question is aren't you?
787.
▲
by
teo_zero
3y ago
> Other people reading your code... on your laptop, using your editor? No, rather in your web page, in the slides that you're projecting, in the paper that you typeset into PDF... The point is not about how you edit your own code. Y
788.
▲
by
teo_zero
3y ago
> when triplicate would get ligatures, Powerline characters, and so on. Answer, as nicely as possible: never. Undoubtedly he made an argument for ligatures, but why are Powerline characters in the same basket?
789.
▲
by
teo_zero
3y ago
For cursory tasks like reading a news? Tabs or simply clicking on the link is OK. For pages I have to work in, or even copy data from? new window.
790.
▲
by
teo_zero
3y ago
Probably, but I still don't know what this answer is!
791.
▲
by
teo_zero
3y ago
Question to all commenters who ask for tabs: all modern desktop environments offer powerful window management, which includes navigating between windows of the same application, hiding inactive windows, etc. What's so good about having
792.
▲
by
teo_zero
3y ago
Except that arr[...] - value may overflow, and is UB in C. Even removing the UB with something like __builtin_sub_overflow(), if arr[...] is INT_MAX and value is -2, then the difference will have the high bit set! I haven't tried it, b
793.
▲
by
teo_zero
3y ago
Isn't this forgetting another important part of programming, that is algorithms? You can have correctly modeled your data, but if you then use bubble sort, your program will suck anyway!
794.
▲
by
teo_zero
3y ago
Good advise. How do you usually define different sets of flags (for debugging, for production...) in your Makefile?
795.
▲
by
teo_zero
3y ago
Doesn't this run forever? Once length reaches 1 it will never go to 0.
796.
▲
by
teo_zero
3y ago
Let's be clear: the Porsche Cayenne 2024 is still the deathly oversized SUV it used to be, just a tiny bit less so because they put buttons back in one specific spot!
797.
▲
by
teo_zero
3y ago
I don't have any ad-blocker installed and only see 2 ads at the very beginning of the article. Not ideal but far from constantly battering. Using Chrome on Android.
798.
▲
by
teo_zero
3y ago
> being replaced by the bishop in the 15th and 16th centuries. > The bishop is a modern European invention. Actually the Atlas Obscura article shows that only a small portion of Europe adopted bishop. I often consider the English ver
799.
▲
by
teo_zero
3y ago
Amiga used to have the best file-path convention I've ever worked with: drive:dir/file where driver was not a letter like in Windows but rather the drive's label, so you could have Work:Pictures/HN.jpg. To go up to the p
800.
▲
by
teo_zero
4y ago
The title is misleading. It has nothing to do with boiling, but rather with temperature. Where I live, boiling water is well below 90°C and does not ruin green tea.
801.
▲
by
teo_zero
4y ago
Only if you're sure you'll never have to type it when the keyboard layout is set to something different from what you're used to. Good luck remembering where these special chars are...
802.
▲
by
teo_zero
4y ago
You seem to misunderstand the use of \ in LaTeX. It's not a separator, it's used to introduce a keyword. Everything stems from the need to tell apart the text from the non-textual information, or structure. For example you don
803.
▲
by
teo_zero
4y ago
Honestly, I don't see any difference in difficulty between LaTeX's syntax and Asciimath's one. The former has more backslashes and curly braces where the latter uses spaces and parens. I personally find LaTeX easier to read b
804.
▲
by
teo_zero
4y ago
Keepass + rclone to synchronize to Google Drive.
805.
▲
by
teo_zero
4y ago
I don't disagree, but the compiler could insert it automatically when you need it. In those rare cases where e.g. you want to use a function called printf() that's not the standard printf(), you explicitly opt out of the default v
806.
▲
by
teo_zero
4y ago
In my city they built an underground train station and forgot that diesel locomotives are still in service: the venting system was designed for electric trains only!
807.
▲
by
teo_zero
4y ago
C is already much better, but we still have some boilerplate. Currently this is the bare minimum: #include <stdio.h> int main() { printf("Hello world\n"); return 0; } But I wish we could get rid of that &q
808.
▲
by
teo_zero
4y ago
You don't need to prove anything to define sin.
809.
▲
by
teo_zero
4y ago
That would only prove that, given a triangle abc, you can construct another, different triangle for which the PT holds, not that the PT is valid for the given triangle.
810.
▲
by
teo_zero
4y ago
TIL that Prolog has loops. I can't imagine how you would use them, though.
More ›