Better HN
topnewbestaskshowjobs
Log inSign up

animeshk

162 karma · joined Aug 2, 2016 (10y ago) · 134 submissions

Programmer, entrepreneur.
Submissions

1.

Quantum Computing Explained(clerro.com ↗)

232 points · by animeshk · 8y ago · 48 comments

2.

Nvidia built two algorithms which work together to generate photorealistic faces(bbc.com ↗)

4 points · by animeshk · 9y ago · discuss

3.

IBM brings blockchain technology to resolve trade finance woes(tech.economictimes.indiatimes.com ↗)

2 points · by animeshk · 9y ago · discuss

4.

BMW to spend $237M on battery cell center(reuters.com ↗)

2 points · by animeshk · 9y ago · discuss

5.

The ghost towns that were created by the oil rush(bbc.com ↗)

2 points · by animeshk · 9y ago · discuss

6.

How to Use the STL with Legacy Output Collections(fluentcpp.com ↗)

1 points · by animeshk · 9y ago · discuss

7.

Deep fat fryers may help form cooling clouds(bbc.com ↗)

13 points · by animeshk · 9y ago · 5 comments

8.

Tesla releases ‘expected price’ of semi electric truck: $150,000 to $200,000(electrek.co ↗)

17 points · by animeshk · 9y ago · 9 comments

9.

Edit Images on the Command Line with GraphicsMagick(jorin.me ↗)

4 points · by animeshk · 9y ago · discuss

10.

Apple's supplier Foxconn stops interns' illegal overtime at iPhone X factory(bbc.com ↗)

2 points · by animeshk · 9y ago · discuss

11.

NASA raced a Google-funded robot drone against a world-class human pilot(cnbc.com ↗)

1 points · by animeshk · 9y ago · discuss

12.

Lyft gets approval to test self-driving cars on public roads in California(techcrunch.com ↗)

3 points · by animeshk · 9y ago · discuss

13.

Apple shows off self-driving tech breakthrough in obstacle detection(thenextweb.com ↗)

1 points · by animeshk · 9y ago · discuss

14.

Iranian Behzad Mesri Charged in HBO Hack, ‘Game of Thrones’ Script Theft(nbcnews.com ↗)

1 points · by animeshk · 9y ago · discuss

15.

Skype removed from China Apple and Android app stores(bbc.com ↗)

2 points · by animeshk · 9y ago · discuss

16.

Uber and Volvo strike deal for 24,000 self-drive cars(bbc.com ↗)

2 points · by animeshk · 9y ago · discuss

comment 9y ago · link · parent

Oh yeah.. absolutely! :D

comment 9y ago · link · parent

When a test is contrapositive, it's actually testing for composites. So technically, it should output True for composite but then, the name isPrime doesn't do justice. So I changed the outputs to strings 'Prime' and 'Composite'.

comment 9y ago · link · parent

Wow. didn't know that! Will add it to the section on Rabin-Miller. Thanks :)

comment 9y ago · link · parent

I wish i could type out that number without losing my sanity.

comment 9y ago · link · parent

You're absolutely right. I just made that change in the article. Thanks for pointing it out!

comment 9y ago · link · parent

Okay.. so 1 should neither be prime nor composite. Because - a) 1 cannot be written as a product of two different factors : ruling out 1 to be composite b) 1 has only 1 positive divisor : ruling it out to be prime

That's indeed a special case which can be mentioned in the article.

comment 9y ago · link · parent

Same here.. My fascination began when I learned about Glitch Primes, Cyclops numbers and the bloody Riemann Hypothesis!

comment 9y ago · link · parent

I'm trying to look for the inequivalence you pointed at. The two definitions written are-

1.A prime number is a natural number that has no positive divisors other than 1 and itself.

2. A prime number is a number that has exactly two factors - 1 and itself.

Both statements clearly seem to be accounting for 1. Am I missing something here?

25.

Primes and Primality Testing(clerro.com ↗)

44 points · by animeshk · 9y ago · 25 comments

comment 9y ago · link · parent

They send both. Seems like the invites for interview are sent first.

27.

Inviting writers who love teaching concepts from math, programming, science etc.(medium.com ↗)

4 points · by animeshk · 9y ago · discuss

12345