HNHacker News
TopNewBestAskShowJobs

gautamnarula

916 karma · joined September 5, 2012

Backend and ML Engineer

Author of Remain Free

www.gautamnarula.com

submissionscomments
gautamnarula··on Learn to play chess online
For those who already know how to play chess but want to get better (preferably quickly with minimal, targeted training), I wrote a guide called "How to Get Good at Chess, Fast" that hit #2 on HN: http://www.gautamnarula.com/how-to-get-good-at-chess-fast/
gautamnarula··on The two Detroits: a city both collapsing and gentrifying at the same time
I recently met someone who traveled to Detroit regularly for work. He said downtown Detroit was terrifying--no cars at all to be seen, and only homeless people around him. He chose to stay in his hotel most of the time, because he feared for his safety.

I wonder what fixing Detroit would look like. The city is in free fall--high crime, deteriorating infrastructure, and a declining tax base. How would this be reversed? In a time where many cities are booming (Atlanta, Boston, New York, San Francisco, Denver, etc.) Detroit is collapsing.

My guess is that fixing Detroit would start with a massive cash infusion from the state or federal government to address crime and crumbling infrastructure. Nobody wants to live in a city that is unsafe and has no quality housing or reliable transportation. I'm not sure what the next steps after that would be.

2) Build a new

gautamnarula··on The Case of Richard Glossip
PG, thanks for writing about this and bringing both this case and the death penalty to readers' attention.

Richard Glossip's case is similar in many ways to Troy Davis[1]. You may recognize that name--in 2011, when he was executed, he was the world's most famous death row inmate. Like Glossip, Troy Davis had no physical evidence against him. His conviction (of murdering a police officer) was based primarily on 9 eyewitness testimonies. SEVEN of those eyewitnesses recanted or altered their testimonies, many citing police coercion or intimidation. Ten new witnesses came forward saying one of the two non-recanting witnesses, Sylvester Coles, confessed to the murder.

A few days before he was executed, ONE MILLION people signed a petition to the Georgia Board of Pardons and Paroles. Despite this, and the many doubts in his case, Troy Davis was executed on September 21, 2011.

I was close friends with Troy--I first visited him on death row in 2008 (when I was 15), and spent the next three years visiting him, corresponding with him, and talking to him on the phone. Troy was so well-known because his case epitomized everything that is wrong with the American justice system and the death penalty--racial bias (he was a black man accused of killing a white cop in 1980s Georgia), an overzealous DA with a history of prosecutorial misconduct, police coercion and witness tampering, the execution of innocents (over a dozen death row inmates have been exonerated since he was executed in 2011...how many innocents were executed in that time?) and a justice system so rigid and brittle that it would not even commute his sentence to life imprisonment, despite even a federal judge admitting Troy had shown at least a "minimal" level of doubt in his case.

Troy's last words, recorded minutes before he was executed, are haunting: https://www.youtube.com/watch?v=98dlGv0k2MM

In 2012, I raised 11k on Kickstarter to write a book on my relationship with Troy Davis called Remain Free[2]. It talks about many of the ugly aspects of his life on death row and of the legal corruption in his case that he (and I) couldn't publicly talk about while he was still alive. Since the book is built on hundreds of recorded conversations, in person visits, and letters with Troy, you really get a sense of who he was as a person and the kind of toll two decades on death row takes on him and his family.

If you'd like a copy, you can order it on Amazon[3] or through http://remainfree.com. All profits go to the Innocence Project [4], a non-profit that works to free wrongfully convicted individuals through DNA testing. Alternatively, email me (gautamnarula[at]gmail.com) a screenshot of a $10 donation to the Innocence Project, and I'll send you the e-book for free. Donate $20 to the Innocence Project, and I'll send you a physical copy for just the cost of shipping ($3 in the US).

[1] https://en.wikipedia.org/wiki/Troy_Davis

[2] http://remainfree.com

[3] http://www.amazon.com/Remain-Free-Memoir-Gautam-Narula/dp/09...

[4] http://innocenceproject.org

gautamnarula··on Ask HN: Where to move within US?
Don't move to Georgia (I assume when considering Georgia you meant Atlanta or suburb of Atlanta).

Pros: Low cost of living, lots of space relative to other places, people are probably friendlier than they are in NJ.

Cons: Traffic is absolutely horrendous (only LA has worse traffic), high crime (in the city--it varies by suburb), really hot and humid summers, terrible mass transit (combine that with terrible, terrible traffic...), backward politics (I'm saying that not as a conservative or liberal, but rather as an observer. In 2012, the GA Secretary of State basically openly endorsed the idea that Obama may not have been born in America...), bad schools.

The tech scene is decent thanks to Georgia Tech. But you can do better than here.

gautamnarula··on The 21-year-old building India's largest hotel network
I hung out with Ritesh for a while two years ago when we were both finalists for the Thiel Fellowship. I found him very impressive even back then, and he was just a really genuine and nice guy. I'm happy to hear he and OYO are doing so well!
gautamnarula··on YC Fellowship optimal cut-off from 6500 applicants
A good approach would be to use Elo ratings from chess in a similar fashion to how Mark Zuckerberg used Elo ratings for Facemash when he was at Harvard.

Assign each application a rating of 1000. Randomly select two applications and show them to a partner. The partner selects the better application, or declares a tie. The Elo ratings are updated accordingly. Aggregate this over many partners and many applications, and you now have a quantifiable measure of YC's aggregate preferences for the applications. Further, you can now calculate the probability that YC will prefer one application over the other by comparing ratings, even if the two applications have never been directly compared before.

Then, rank based on ratings and select the top N (N being the number they want to interview).

The cool thing about this is it's very simple to implement (easily done in a day, or even a few hours). It'd be a useful measure even for YC's regular batches, which have more manageable numbers.

gautamnarula··on Why PHP is obsolete (2014)
> Universities are usually teaching Ruby and Rails in their web programming courses (at least in US).

I wish this were the case. As an undergraduate in 2013, I took an intro web programming class where we were taught using Java and J2EE...in 2013! My friend went to a school with a top CS program (top 10 or top 20 in the country I think), and his web programming class was also in Java, though I don't remember if they used the horrid J2EE or not.

As a side note, I learned more and made more progress teaching myself Python and Django in a week than I did in that class.

gautamnarula··on Tell Sam Altman: I will take your bet
I didn't follow the program exactly, but it was influential in my training (and quick improvement) during my teen years.

It's a shame you stopped playing. I'm sure it would've been interesting to see how the program would have to adapt as you aimed for 2200 and beyond.

gautamnarula··on Tell Sam Altman: I will take your bet
Unrelated, but are you the same Michael de la Maza who wrote Rapid Chess Improvement?
gautamnarula··on The 'SimCity' Empire Has Fallen and 'Skylines' Is Picking Up the Pieces
I haven't! Thanks for letting me know about it. Hopefully it works just as they say. Unfortunately the site is down right now.
gautamnarula··on The 'SimCity' Empire Has Fallen and 'Skylines' Is Picking Up the Pieces
Skylines looks promising, but I'm still reserving judgement. It's a shame that EA completely botched the new Sim City.

I wish EA would port Sim City 4 to Windows 7/8/10. I would pay good money for that. As it is, I can't get Sim City 4 to work on Windows 7 without frequent freezes and crashes.

gautamnarula··on Show HN: Sitekite – Imgur for Websites
I actually created a site for hosting text (that looked pretty) that doesn't require signup and is very minimal and clean: http://www.millisay.com

Right now it doesn't support any markdown or image embedding mainly because not too many people use it, but I wouldn't be opposed to adding it if users saw the need.

gautamnarula··on Ask HN: What's the best way to buy a claimed domain name?
This is fantastic advice, thanks. Unfortunately, I can't really afford a "bargain" deal of even a few thousand dollars. Still, I'll keep this in mind.

Also, a lesson for everyone out there: I was about to buy the .co of the domain name but hesitated for a day to ask this question, and it was purchased by somebody else today! Don't hesitate if there's a domain you want.

gautamnarula··on Why I Don’t Do CrossFit
As someone who used to do "brosplits" and recently switched to heavy compound movements, I can definitely attest to the benefits of the latter. If I had to choose one, I would go with the compound exercises (squats, deadlifts, overhead press, barbell rows, bench press, etc.), but I think the best routines incorporate both types of exercises. That's why I like routines like ICF 5x5[1], which is centered around heavy compound lifts but also includes smaller isolation lifts as accessories.

[1] http://www.muscleandstrength.com/workouts/jason-blaha-ice-cr...

gautamnarula··on Death-penalty analysis reveals extent of wrongful convictions
From the article: "At least one in 25 people on death row in the United States would be exonerated if given enough time...That number still underestimates the rate of false convictions, Gross says, because many innocent people never manage to prove their innocence."

Abstract of the study available here: http://www.pnas.org/content/early/2014/04/23/1306417111

Edit: Full paper here: http://www.pnas.org/content/early/2014/04/23/1306417111.full...

gautamnarula··on Ask HN: Idea Sunday
Thanks good feedback, thanks! I've changed it to "Recent". The tripcode idea is very interesting...I'll definitely have to think about implementing it.
gautamnarula··on Ask HN: Idea Sunday
I created something similar to #1: http://millisay.com

It hasn't really taken off, but I also haven't put much effort into promoting it. It still lacks a few features (I've been busy with other projects), but I really like the clean, simple design and a few people have posted some interesting stuff.

gautamnarula··on Show HN: A better elance just for designers
I used 99designs to get a book cover designed and I was very happy with the results. My designer was responsive, friendly, and made a wonderful design that went above and beyond what I was expecting.

However, I was unhappy with how little the designer actually received. I paid $799 to run the competition, and the winning designer only got $387! Charging >50% commission seems highly exploitative, especially when all the designers who don't get selected receive nothing at all despite spending spending time creating designs.

gautamnarula··on What You Can't Say (2004)
Sam Harris, a neuroscientist and philosopher, wrote an interesting post on Islamophobia and how he believes it doesn't actually exist, at least not in the framework that we normally consider phobias: http://www.samharris.org/site/full_text/response-to-controve...

The relevant part:

The meaning of “Islamophobia” is not at all like the meanings of those other terms. It is simply not easy to differentiate prejudice against Muslims from ordinary racism and xenophobia directed at Arabs, Pakistanis, Somalis, and other people who happen to be Muslim. Of course, there is no question that such bigotry exists, and it is as odious as Greenwald believes. But inventing a new term does not give us license to say that there is a new form of hatred in the world. How does the term “anti-Semitism” differ? Well, we have a 2000-year-old tradition of religiously inspired hatred against Jews, conceived as a distinct race of people, both by those who hate them and by Jews themselves. Anti-Semitism is, therefore, a specific form of racism that, as everyone knows, has taken many terrible turns over the years (and is now especially prevalent among Muslims, for reasons that can be explicitly traced not merely to recent conflicts over land in the Middle East, but to the doctrine of Islam). “Sexism,” generally speaking, is a bias against women, not because of any doctrines they might espouse, but because they were born without a Y chromosome. The meanings of these terms are clear, and each names a form of hatred and exclusion directed at people, as people, not because of their behavior or beliefs, but because of the mere circumstances of their birth.

Islamophobia is something else entirely. It is, Greenwald tells us in his three points, an “irrational” and “disproportionate” and “unjustified” focus on Muslims. But the only way that Muslims can reasonably be said to exist as a group is in terms of their adherence to the doctrine of Islam. There is no race of Muslims. They are not united by any physical traits or a diaspora. Unlike Judaism, Islam is a vast, missionary faith. The only thing that defines the class of All Muslims—and the only thing that could make this group the possible target of anyone’s “irrational” fear, “disproportionate” focus, or “unjustified” criticism—is their adherence to a set of beliefs and the behaviors that these beliefs inspire.

And, unlike a person’s racial characteristics or gender, beliefs can be argued for, tested, criticized, and changed. In fact, wherever the norms of rational conversation are allowed to do their work, beliefs must earn respect. More important, beliefs are claims about reality and about how human beings should live within it—so they necessarily lead to behavior, and to values, laws, and public institutions that affect the lives of all people, whether they share these beliefs or not. Beliefs end marriages and start wars.

So “Islamophobia” must be—it really can only be—an irrational, disproportionate, and unjustified fear of certain people, regardless of their ethnicity or any other accidental trait, because of what they believe and to the degree to which they believe it. Thus the relevant question to ask is whether a special concern about people who are deeply committed to the actual doctrines of Islam, in the aftermath of September 11th, 2001, is irrational, disproportionate, and unjustified.

gautamnarula··on Intern at a YC Company
> Please submit your application by March 21. We'll notify you by March 31 if you've been accepted.

That's it? There's no interview or coding test? I'm all for a quick process, but I've never seen a tech company accept interns like this. Or does accepted mean you've been accepted for an interview at a YC company?

gautamnarula··on Free eBooks On Machine Learning
I also have this book and highly recommend it.
gautamnarula··on A Programmer's Guide to Data Mining
This looks great! Is there an email list or any other way I can get notifications as new material is added/revised?
gautamnarula··on Show HN: I made a SaaS that helps keep freelancer's pipeline full - with no code
If this works as advertised, it's pretty cool! I have a few questions though:

How exactly do you find the leads? Did you write software to do it (and if so, how does it work?) or are you manually searching for leads?

Does everyone get the same leads? That is, if I were to sign up for the web developer leads, does that mean that every other person who signed up for the web developer leads gets the same 5-10 leads per day/week and I have to compete with all your other customers for them? Or do you have a big pool of equal quality leads and randomly select a small number to send to each person?

Also, friendly typo alert: "I'm an independent designer who's worked with startups, ad agency's" should be "I'm an independent designer who's worked with startups, ad agencies"

Overall, this looks pretty cool. Good luck!

gautamnarula··on Ask HN: Personal Advice on joining Stanford's Summer Program
I also went to Stanford Summer School in 2012 (I didn't take your same class, but maybe we walked by each other or something!), and honestly I thought it was a waste of money. Not that there was no value in it, but the price was exhorbitant and that definitely could have been applied to all sorts of cool things. Fortunately I was funded via an outside source, but I still wish I had put that money towards something else. It really seems like a way the university makes money of the Stanford brand name.

The other thing is that a large portion of the Summer School students are people (like me) who don't normally go to Stanford. So if you're trying to network with them, it may not be ideal.

I don't know what the best way to meet investors is, but I don't think it is Stanford Summer School is it.

gautamnarula··on Show HN: Probabilistically Generating HN Post Titles
My favorite: Germany Minister o Justice demands immediate response to "Paul Graham's Letter to YC Companies"
gautamnarula··on Show HN: An Android app to create ranking ladders for multiplayer games
The algorithm I used app is a simple modification of the standard elo formula, which I got from the US Chess Federation's rating estimator[1]. For two player games, the app uses the standard elo formula. For games with more than two players, it simply calculates the expected score as per a two player game and then divides it by (num_players/2). For instance, a two player game with player A and B rated 1200 would result in a expected score of .5 for each player. In a four player game, the pair-wise expected score is calculated by averaging the opponents' ratings and then using a standard elo calculation. This is then divided by (4/2) to give the expected score. For those interested, I wrote a blog post where I go into more detail [2].

Although this is a pretty crude method, I've been pretty happy with the results. I run a Settlers of Catan league where 111 rated games have been played. Here's a graph of all players who have played more than 5 games: http://imgur.com/ZoICwNM

Here's the rating distribution: http://imgur.com/Rot4zkF

The current ratings for those in the graph above:

1185

1079

1067

1043

1001

991

975

973

937

928

916

912

906

854

Median: 974, Mean: 983

Overall, I think this algorithm produces more accurate ratings than many other multiplayer rating systems, including the one the official online Settlers of Catan site uses (I discuss this in my blog post). This algorithm does break down if there is a really large rating difference (i.e. 500+ points) between one player and the rest, but that's a pretty unlikely scenario.

The source code is available on Github [3]. Pull requests welcome! If anybody wants to create an iOS version, I'd be happy to collaborate and help out in any way. There is also a desktop version I made eons ago for those without Android—unfortunately, I never added in two player functionality [4].

[1] http://www.glicko.net/ratings/approx.pdf [2] http://www.gautamnarula.com/rating/ [3] https://github.com/gnarizzy/gameratingcalculator [4] http://www.mediafire.com/download/3n3ah3lt571ngy2/Game+Ratin...

gautamnarula··on The World Chess Championship is an anachronism
One statistician has developed a system to compare players across time. I don't know enough about statistics to say if it's valid or not, but it's interesting to look at. Unfortunately, it hasn't been updated in almost a decade, since it says Carlsen's peak rating was 2556 in January 2005. http://www.chessmetrics.com/cm/
gautamnarula··on The World Chess Championship is an anachronism
The system works for the top players, but I think once you move below the elite rank the rankings aren't really accurate. I think the system is arbitrary for a few reasons:

1) The number of points awarded for tournament performance seems pretty arbitrary. For instance, winning a grand slam results in 2000 points, while coming in second is worth 1200 points and coming in third/fourth is worth 720 points [1]. Is coming in second really only 60% as good as coming in first? It's hard to believe there's some deep, evidence-based rationale behind picking these precise values.

2) The tournament hierarchy is also arbitrary. A win at a Grand Slam is worth 2000 points, while winning gold in the Olympics is worth 750 points [1]. Why? Shouldn't the points awarded be based purely on the strength of your competition?

There are other issues, such as rewarding someone who plays a ton of tournaments with mediocre performances, versus someone who plays less often but with better results (though this is somewhat offset with the difference in points awarded based on performance). I've had friends complain about similar systems in video games-- apparently in Halo the top rung of players is full of mediocre players who play a lot, racking up points in the process and moving up the ranks.

Since tennis doesn't have a concept of "World Champion," I think the sport would be better served to switch to the Elo system like chess. It provides an accurate comparison of relative player strengths, it does a decent job dealing with the plays a lot vs. better results problem, and it functions exactly the same regardless of the tournament you play in-- you only get more points if you perform better or play stronger opponents. Another interesting tidbit is that it gives you a statistical probability of any player beating any other, which isn't possible under the ATP system.

[1] https://en.wikipedia.org/wiki/ATP_ranking

Edit: One other problem with ATP points--since most tennis tournaments are knockout (as opposed to swiss pairings used in chess tournaments [2]) the only thing you know for sure is that the winner as the best player in the tournament, assuming tennis results are transitive (a big assumption). But if you're unlucky enough to be in the knockout branch that features the best player, you could be knocked out earlier than your would otherwise merit, which means you could get far less points than you deserve.

[2] https://en.wikipedia.org/wiki/Swiss_pairings

gautamnarula··on The World Chess Championship is an anachronism
That's true. My comment was premised on the assumption that we want to retain a World Champion title. And there is definitely a whole new element that comes into play with matches. If we still want to stick to the tradition of a world championship match, perhaps the best way to do it is to have a double round robin of the top 10 players, and the top two finishers then play a match for the title of World Champion.

Your comment about rewarding consistent but rarely brilliant versus uneven but great bring up another interesting nuance about matches versus tournaments. Fischer complained that once a player gets ahead in a match, there is no motivation to play fighting chess because every half point bring him closer to winning a match, and players are therefore incentivized to play for a draw. In a tournament, that usually isn't the case since the leader will typically have a few players nipping at his heels.

gautamnarula··on The World Chess Championship is an anachronism
Yup! Pull requests are welcome. https://github.com/gnarizzy/GameRatingCalculator
← PreviousPage 4 of 5Next →