HN user

XeO3

71 karma
Posts0
Comments24
View on HN
No posts found.

"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.

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.

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.

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.

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.

his colleagues at cambridge, created a unit called 'dirac', which was 1 word/hour to describe his taciturn nature :o)

There are always more people who'd rather speak than listen. :)

Imho, this type of abstraction should be allowed in case of code repetition. So the reviewer/debugger will have to go non linear only one time.

In any other case the whole code should be in one file.

Yeah. I didn't get what the big deal was about it until I read the 30 second and turns he mentioned in his explanation.

We are hard-wired to follow crowds. That’s what ensured our survival in the past. We have mirror neurons in our brain. The sole purpose of these neurons is to mimic other people’s behavior (and choices). Your willpower does not stand a chance against thousands of years of evolution.

This is not entirely correct. I mean it`d be difficult but not impossible.