nserrino's comments

nserrino | 6 years ago | on: 42 is found to be the sum of three cubes

For a^3 + b^3 + c^3 = 42,

You can enumerate a,b pairs and then you need to check whether the "locked in" value of c^3 is a cube.

However imagine it takes 1ns to validate a given pair [a,b].

The eventual solution was [-80538738812075974, 80435758145817515, 12602123297335631].

Since no combination of 3 positive (and therefore small) numbers has worked, we know that one of a,b,c are negative. Let's assume at least one of a,b are negative since it doesn't matter how we allocate them.

To reach the final pair of a = 80435758145817515 (the smaller positive integer) and b = -80538738812075974, you have to increment "a" (starting from 0) 80435758145817515 times and decrement "b" (starting from 0) 80538738812075974 times.

That is 80538738812075974*80435758145817515 possible combinations.

Let's assume each one takes 1 ns (which I believe is fairly optimistic at least for a single machine)

That results in a runtime of 6.5e+24 seconds, aka 2.1e+17 years. No matter how many machines you add, the brute force approach does not appear to be feasible.

I am interested to learn more about how they solved it if not brute force.

nserrino | 7 years ago | on: GitLab raises $100M from Iconiq, GV, and Khosla, at $1.1B valuation

Ok, so maybe people in high cost of living areas aren't discouraged when the salary scales with their cost of living. But doesn't that effectively bias gitlab against those candidates because they have to pay them more? At some point there are unavoidable incentives that crop up as a result of the asymmetry.

nserrino | 8 years ago | on: Stop encouraging girls to code for a living

The stories I hear from my female friends in law, medicine, non-profit, etc -- especially law -- make my experiences as a woman in tech seem downright blessed. Yet you never hear people telling women not to go into law (or whatever) due to discrimination.

Tech is not perfect, but I wish I had known about it sooner than college as an option for me. Once discovered, I totally fell in love with it and had to play catchup. That is why I spent time mentoring high school girls who were considering engineering, and a lot of them ended up pursuing it now that they are in college.

I think unilaterally pushing girls one way or another is wrong, but a lot of girls don't get as much exposure to tech so it is helpful to specifically tell them about it.

nserrino | 8 years ago | on: Ask HN: Best books you read in 2017?

Without a doubt, the best book I read in 2017 was the three body problem (first in a trilogy). I actually came across it in an interview with Alina Cohen of Initialized via the 20 minute VC podcast. It intrigued me to not know what it was about, and I recommend that people who are interested in reading it go in with as little information as possible.

Going to start the second one this weekend :)

nserrino | 8 years ago | on: The Mating Crisis Among Educated Women

The other commenter referenced growing apart as a risk, and there were definitely "growing pains" for me and my partner. But ultimately I agree with you that it is really valuable to grow through early adulthood with someone if you find the right person. Glad you found someone to grow with now though!

nserrino | 8 years ago | on: The Mating Crisis Among Educated Women

I've noticed the preferences among my male and female friends diverging over time. In college, everyone seemed to want the same thing -- a partner that was both successful and attractive. But now as we make it to our late twenties, I noticed that they "settle" differently. My female friends increasingly prefer an older guy with a great career and my male friends a younger woman who is less accomplished than they were at their age. They both still say they want the same thing -- and I totally buy it -- but it is hard to find the perfect person so sacrifices tend to be made.

I have definitely noticed the happiest people I know, in terms of romance, found their life partner in college.

nserrino | 8 years ago | on: Chicago taxi industry sliding towards collapse

True but there are good taxi drivers out there too, who bought a $300k thing that is now worth nothing. Anyway that is why I said "some sympathy", because obviously the service was lacking. But I blame that more on a government restriction on those services that (previously) didn't incentive good service, not individual taxi drivers.

nserrino | 8 years ago | on: Chicago taxi industry sliding towards collapse

Yes definitely agree the system was bad -- hence why I am basically a permanent Uber/Lyft customer. Doesn't mean that a fast one wasn't pulled on those who bought into it under the premise that it would be enforced.

nserrino | 8 years ago | on: Chicago taxi industry sliding towards collapse

I probably won't ever take a taxi again, but have some sympathy for the cab drivers who put their life savings in medallions. The city effectively promised them the exclusive right to give taxi rides, but didn't do anything about a non-medallion entity doing that same thing. They put hundreds of thousands of dollars into something meaningless.
page 2