News for hackers. Stuff that matters.

XeO3

Re:That XOR Trick (2020) on Wednesday July 02, 2025 @11:18PM (#44451325)
Apart from these applications of XOR, a favourite one is using Bitwise AND to find Even/Odd numbers.
I adore "The Secret World of Arrietty" and "When Marnie Was There". I hope Hiromasa Yonebayashi gets to direct more of Ghibli's movies.
Re:React 19 on Thursday December 05, 2024 @11:47PM (#42336426)
Yep. One thing I noticed that how intuitive it was to implement setInterval in class. However, in hooks, you probably need a guide for that.

https://overreacted.io/making-setinterval-declarative-with-r...

Re:418 I'm a Teapot on Monday October 28, 2024 @03:48AM (#41968627)
Google has it too. :) https://www.google.com/teapot
Re:Tō Reo – A Māori Spellchecker on Saturday September 21, 2024 @06:04AM (#41608878)
Yeah, that element should be 'textarea' instead of 'div' or at least the 'contenteditable' should be true.
https://www.sharedrop.io/ as well. It's open sourced, too.
Re:The Lord of the Rings Family Tree on Wednesday March 27, 2024 @09:55PM (#39846951)
Balrog is missing. Not sure, if it's its own race or belongs to demon category.
Re:Eloquent JavaScript 4th edition (2024) on Thursday March 07, 2024 @12:41PM (#39631975)
"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.
Re:Deep Cloning Objects in JavaScript, the Modern Way on Thursday December 21, 2023 @10:25PM (#38730622)
It is mentioned in the exception list of structuredClone.

https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers...

Re:JavaScript Is Weird on Sunday August 13, 2023 @01:08PM (#37111831)
> 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.

Re:The Persistence of Prog Rock (2017) on Friday August 04, 2023 @10:18PM (#37008335)
Porcupine Tree/Steven Wilson, too. "Deadwing" is one of their best work.
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.

Re:Closer to Johannes Vermeer on Tuesday January 24, 2023 @12:42PM (#34507082)
Are there any more sites like these?

I saw one for Hieronymus Bosch`s painting: The Garden of Earthly Delights

https://archief.ntr.nl/tuinderlusten/en.html

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.

Re:Ask HN: Best books read in 2022 on Saturday December 03, 2022 @09:51PM (#33850077)
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.

Re:Google announces Pixel 5, Pixel 4A 5G, and Pixel 4A on Monday August 03, 2020 @11:30PM (#24046254)
Sometimes you don`t have to trade. I`m using Samsung S10e with headphone jack and IP68 rating. Best compact phone ever.
Re:Paul Dirac: The Mozart of Science (2008) on Monday August 12, 2019 @04:13AM (#20673495)
> 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. :)

Re:Avoid Indirection in Code on Monday June 24, 2019 @04:44AM (#20261576)
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.

There was an article on techdirt which outlined the aftermath of killing NN in Portugal. The ISP started splitting net into several packages.

https://pbs.twimg.com/media/DNGlrABUIAAr9RO.jpg:large

Re:NSA's Puzzle Periodical on Monday August 22, 2016 @02:15PM (#12338229)
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.
On other note, "Udta Punjab" may be the first movie to receive A/C (adult with caution) certification as recommended by Shyam Benegal Committee.

Source : http://indianexpress.com/article/entertainment/bollywood/udt...

Re:How Following Others Will Leave You Broke on Thursday January 28, 2016 @12:31AM (#10986489)
> 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.

Re:Ask HN: Who is hiring? (February 2015) on Monday February 02, 2015 @09:49AM (#8984357)
Thank You so much!
Re:Ask HN: Who is hiring? (February 2015) on Monday February 02, 2015 @08:25AM (#8984005)
I am applying for Linux Core Operating System - Junior Developer. Do I need to provide the reference?