Recent submissions

Comment · 1 year ago
Apart from these applications of XOR, a favourite one is using Bitwise AND to find Even/Odd numbers.
Comment · 1 year ago
I adore "The Secret World of Arrietty" and "When Marnie Was There". I hope Hiromasa Yonebayashi gets to direct more of Ghibli's movies.
Comment · 1 year ago
Comment · 2 years ago
Comment · 2 years ago
Yeah, that element should be 'textarea' instead of 'div' or at least the 'contenteditable' should be true.
Comment · 2 years ago
https://www.sharedrop.io/ as well. It's open sourced, too.
Comment · 2 years ago
Balrog is missing. Not sure, if it's its own race or belongs to demon category.
Comment · 2 years ago
"JavaScript: The Definitive Guide" does go deeper, with thorough examples in all the topics mentioned in the index. It also provides examples of static types using Flow instead of TypeScript.
Comment · 2 years ago
Comment · 3 years ago
> In general, if a statement begins with (, [, /, +, or -, there is a chance that it could be interpreted as a continuation of the statement before, if semicolon isn`t provided.

While /, +, and - are rare in the beginning of the statement, ( and [ aren't.

Comment · 3 years ago
Porcupine Tree/Steven Wilson, too. "Deadwing" is one of their best work.
Comment · 3 years ago
From Feynman`s biography, on trying to separate the isotopes of uranium:

> It was such a shock to me to see that a committee of men (Oppenheimer, Compton, Tolman, Smyth, Urey, and Rabi) could present a whole lot of ideas, each one thinking of a new facet, while remembering what the other fella said, so that, at the end, the decision is made as to which idea was the best - summing it all up - without having to say it three times. These were very great men indeed.

Comment · 3 years ago
Comment · 3 years ago
The one difference I can see is how chatGPT optimises the code based on the instruction you provide, while Copilot could only complete the code in one way.

For instance I asked chatGPT to write a code for square root which it did using inbuilt Math.sqrt function. I instructed it to write without using inbuilt function which it did. However, no matter how many times I instructed it to avoid using Math.floor or Math.ceil, it was not taking any heed.

Comment · 3 years ago
The Strangest man by Graham Farmelo.

It`s a biography of Paul Dirac, considered one of the best physicists of the 20th century. The book elucidates his obscure life and his contribution to quantum physics while not being overly jargonistic.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton