Better HN
topnewbestaskshowjobs
Log inSign up

fyp

585 karma · joined Nov 4, 2019 (7y ago) · 162 submissions

Submissions

comment 5y ago · link · parent

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

comment 5y ago · link · parent

Previous thread: https://news.ycombinator.com/item?id=21720656

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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

comment 6y ago · link · parent

Another similar project by Mark Rober for darts: https://www.youtube.com/watch?v=MHTizZ_XcUM

comment 6y ago · link · parent

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)

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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)

comment 6y ago · link · parent

Even with worst-case scenario of bias, this is still extremely good news. My worry was always with super spreaders who refuse to isolate but the data is suggesting that those spreaders will still soon achieve herd immunity among themselves. As long as the rest of the society behaves we will still hit zero cases relatively quickly.

(which wasn't always clear to me before since I initially predicted that this will take years to work out)

comment 6y ago · link · parent

Use a profile picture that's already public and have been crawled a bajillion times. E.g. https://twitter.com/jbverschoor/photo

comment 6y ago · link · parent

Hmm is the argument that you can generate infinite money otherwise? I think the two directions only look superficially the same because externalities and labor isn't taken into account?

comment 6y ago · link · parent

One of my colleagues loathes competitive programmers and picks much harder problems for them. His grumpy rationale is that they shouldn't have it any easier just because they do interview problems as a sport. Usually the ICPC world finalist types will still ace it since he's too dunning-kruger to judge beyond his own skill level.

comment 6y ago · link · parent

Most algebraic structures are best understood by which axioms it satisfies. For example basically every subset of axioms of an abelian group is useful enough to have a name. Wiki has a really nice table:

Semigroupoid

Small Category

Groupoid

Magma

Quasigroup

Unital Magma

Loop

Semigroup

Inverse Semigroup

Monoid

Commutative monoid

Group

Abelian group

https://en.wikipedia.org/wiki/Abelian_group

comment 6y ago · link · parent

Does anyone else think NY called their peak prematurely? It seems like there's some periodicity in the data and there's always a slight two day drop every 7 days. This makes sense since many people are still working mon-fri in the city.

This is for NYC specifically (last few days of data are incomplete): https://www1.nyc.gov/site/doh/covid/covid-19-data.page

I wouldn't be surprised if NY continued surging in the coming days.

comment 6y ago · link · parent

An unexpected application of feistel network is for creating neural networks that are invertible!

https://arxiv.org/abs/1802.07088

comment 6y ago · link · parent

To put this in perspective, NYC is projected to run out of ventilators early next week[1]. That means if you catch it now and need ICU, there's no medical equipment to save you.

Whether government mandated or not, people are gonna stay the fuck home because they don't want themselves or their parents to die in a hallway.

[1] https://www.nytimes.com/2020/04/02/nyregion/coronavirus-new-...

comment 6y ago · link · parent

I lived on $200/month in SF (single person) and I definitely didn't "eat like an actual human being". But the problem was definitely me and not that it wasn't possible.

Usually in those financial conditions you also know your time is better spent elsewhere. An extra hour per day practicing for interviews is much better use of your time than cooking. So you do the most efficient thing possible, which is just throw whatever is cheapest per lb into a slow cooker and eat it for the rest of the week. Most stuff is pretty disgusting after a few days in the fridge.

It's probably possible do meal prep cheap/fast/delicious, but I definitely never learned how. Tips appreciated!

19.

Google Code Jam 2020(codingcompetitions.withgoogle.com ↗)

4 points · by fyp · 6y ago · discuss

comment 6y ago · link · parent

It's definitely not an unpopular opinion, especially on HN. Pre-corona I was probably a crazier privacy nut than most so I completely understand where you're coming from.

But right now our privacy is not worth more than our parents' and grandparents' lives. You ought to re-run your moral calculations with the current state of the world in mind. There are literally millions of lives at stake.

Also I am hoping for tech solutions that do preserve privacy to some degree. Singapore seems to have a decent solution where the user has to opt-in: https://www.businessinsider.com/singapore-coronavirus-app-tr...

comment 6y ago · link · parent

Even if you focus on pure tech problems, startups seems to be failing us in the US.

Other countries have scaled out thermal imaging for fever detection, face tracking for contact tracing, and have mobile apps that can warn people where a previous infected patient have visited before. I have yet to see any of that here.

comment 6y ago · link · parent

Your link is already a great resource, thanks for that! I didn't know Susan Fowler was a physics major at UPenn.

The tl;dr; seems to be get "University Physics with Modern Physics" and go from there?

comment 6y ago · link · parent

In china, a lot the spread isn't from stranger to stranger but family to family:

https://www.bloomberg.com/news/articles/2020-02-28/coronavir...

https://youtu.be/e3gCbkeARbY?t=37

How do you do physical distancing within your home? Eat meals alone? Don't share cups/plates? Wear gloves for doorknobs? I feel like there's currently no solution for this.

comment 6y ago · link · parent

The NY governor in your video cited that 40-60% of people are going to get it (20 min mark) and the same thing was said by CA governor a couple days ago too (56%): https://news.ycombinator.com/item?id=22633570

So it seems like there's a consensus within the top-level leadership that containment is impossible. I still don't understand why we've given up when China managed to do it.

comment 6y ago · link · parent

Side question: How do you create the "paper" texture? Or is it just an image here?

comment 6y ago · link · parent

Why did we give up on containment?

China and South Korea have shown that it's possible. China capped out at only 100k infected for a population of 1.4 billion.

Aiming to let 56% of your population get infected of which more than 3% will die is NOT the solution.

China's strategy seems simple enough. Close off borders of a region, stamp out all existing cases with aggressive testing, then keep the region at 0 cases by requiring mandatory 2 week quarantine before letting anyone in. Do this one region at a time until your country is all clean. Now their biggest problem is teaching the rest of the world this strategy.

comment 6y ago · link · parent

Are companies really laying people off this early? It's still unclear what the exact economic impact on tech companies will be.

If they are stopping interviews, I bet it's just due to the social distancing requirements. Once they figure out remote interviews it will restart again.

123456