Readit News logoReadit News
fyp commented on Quadratic Method: Detailed Explanation (2020)   poshenloh.com/quadraticde... · Posted by u/aleyan
amelius · 5 years ago
But the explanation doesn't easily generalize to higher order polynomials.
fyp · 5 years ago
There's actually an entire branch of math (galois theory) that spawned from the fact that it doesn't generalize!

In particular, there's no formula for polynomials of degree 5 or higher.

https://en.wikipedia.org/wiki/Abel%E2%80%93Ruffini_theorem

fyp commented on Hacked billboards make Teslas see phantom objects causing them to swerve or stop   newsweek.com/hacked-billb... · Posted by u/alistairSH
fyp · 5 years ago
There are a lot of similar failure modes in humans.

Sometimes they're are used for good, like making drivers slow down: https://www.insider.com/optical-illusions-3d-crosswalk-drivi...

But other times they cause crashes: https://imgur.com/a/kYr94

fyp commented on The Great CoffeeScript to Typescript Migration of 2017   dropbox.tech/frontend/the... · Posted by u/dgoldstein0
CapriciousCptl · 6 years ago
I fully remember picking up coffeescript because Dropbox had used it. I only ever used it on one project. I try and remember that every time I have the urge to go with Reason, Elm or even wasm compiling things. Long live JS.
fyp · 6 years ago
I don't know the details but I heard the original codebase was javascript but they used an automated script to convert it to coffeescript as an hack week project! That's some serious long term damage they did in that one week.

Edit: Found the 2012 post, pretty useful for doing a postmortem https://dropbox.tech/application/dropbox-dives-into-coffeesc...

fyp commented on My robotic basketball hoop won't let you miss [video]   youtube.com/watch?v=FycDx... · Posted by u/o10449366
fyp · 6 years ago
Another similar project by Mark Rober for darts: https://www.youtube.com/watch?v=MHTizZ_XcUM
fyp commented on Using PostgreSQL for JSON Storage   info.crunchydata.com/blog... · Posted by u/craigkerstiens
fyp · 6 years ago
This is probably premature optimization, but what's the performance cost of updating a deeply nested field inside a jsonb? What about indexing it?

(compared to storing in some normalized form or in other popular document stores)

fyp commented on Lyft lays off 17% of workforce, furloughs hundreds more   cnbc.com/2020/04/29/lyft-... · Posted by u/organicfigs
fyp · 6 years ago
Uber/airbnb/lyft were considered in the same tier as facebook/google before corona. With google also slowing hiring, are the engineers laid off all going to be absorbed by facebook?

Deleted Comment

fyp commented on Ask HN: What scientific phenomenon do you wish someone would explain better?    · Posted by u/qqqqquinnnnn
Crazyontap · 6 years ago
What happens when you actually fall inside a black hole and what is the singularity.

I never really understood what happened really when the guy fell inside it in Interstellar and how come he started seeing all those photos. I just accepted it as Hollywood bs.

I know my question is based on a movie but would still like to know what will someone witness (assuming of course they somehow live)

fyp · 6 years ago
I have not read it myself but the answer can probably be found in the book "The Science of Interstellar" [1]

Kip Thorne, a Nobel prize-winning physicist, worked as the science advisor for Interstellar so the hollywood bs is pretty good!

[1]: https://www.amazon.com/Science-Interstellar-Kip-Thorne/dp/03...

fyp commented on Which is better on Android: divide by 2 or shift by 1?   jakewharton.com/which-is-... · Posted by u/zdw
remcob · 6 years ago
Another fast way to double a number is to add it to itself.
fyp · 6 years ago
Isn't that the wrong direction for the optimization? I would assume you would want to compile adding two numbers into shifting by one, not the other way around.

(I know nothing about hardware, it just intuitively seems like moving a bunch of bits over by 1 should be faster than dealing with xor and carries)

u/fyp

KarmaCake day585November 4, 2019View Original