HNHacker News
TopNewBestAskShowJobs

pyduan

2,650 karma · joined September 3, 2013

Founder and President at Bayes Impact.

http://www.bayesimpact.org Email: paul@ above.

YC Badge: 0xeca2a9092a17cb6a9cf466fc44e74803e732cd60

submissionscomments
pyduan··on Airbnb says this man does not exist. So I had coffee with him
The fact there are arbitrage opportunities are precisely the reason the regulations exist.

The problem is that the market equilibrium would be really bad for residents. You have to stop and think about what there being no such opportunity would mean: housing in these areas is in scarce supply, and letting the market do its thing would incentivize people to convert rooms to full-time hotels at the expense of people who actually live there (since the true market value of a room is much higher than the average rent; in other words, your arbitrage opportunity), which will in turn reduce the supply of apartments available for residents, thus making rent even more expensive than it is right now for the few that will be able to afford it.

I agree the regulations are not perfect, but people have to understand it comes from a conscious political decision to protect residents. And this by the way is why you need a government to create such rules, because contrary to what people like the man in this article might think, the market equilibrium is not always the most desirable situation.

pyduan··on Guy tries to sell chinese watch Z3 as his own work
I know Indiegogo is hard at work towards building automated scam/fraud detection systems. I work in this space (I build such systems for Eventbrite) and from my conversation with them it seems they're new to these problems but are making them a priority. Now Indiegogo has a slightly different model (campaigns can be created by anyone and are not curated) than Kickstarter that makes it more of a priority for them, but hopefully with the recent cases of fraud on Kickstarter they're putting more work into prevention as well.

All in all, I don't think it's an inescapable problem. It is perfectly possible to build scam-detection systems (we do so at Eventbrite, to prevent people pretending to be selling tickets for an event they're not actually organizers of), and although it's not easy as these crowd-sourcing grow larger they'll hopefully have more resources to put behind it.

[1] Like this guy: http://www.onthemedia.org/story/new-kind-kickstarter-scam-ba...

pyduan··on Guy tries to sell chinese watch Z3 as his own work
Citation needed.

1/ There are gullible (not necessarily dumb, by the way) people everywhere, why would Kickstarter's user base be exempt from that? Besides, Kickstarter is fairly mainstream now, so there's no reason to think it's only frequented by well-informed technology enthousiasts. The point is that they're trying to target the most gullible fraction of the website's user base, not that all of it consists of naive people.

2/ You claim it's not effective. However, it looks like they're close to reaching their goal with 300+ backers and almost 40k in pledges, so it seems to me like it works.

3/ "Either way the project gets caught at an early stage and cancelled." This doesn't seem true. This project hasn't been taken down so far, and it looks like they were only discovered today after having run for long enough to collect 40k in pledges. Had these (alledged) scammers been more modest (40k goal, earlier deadline) they would have gotten away with it. Besides, Kickstarter has had several cases of fraud and scam recently, so it looks like their Trust&Safety procedure has not fully matured yet (which is normal since they've recently grown big enough that this is enough of a concern to create a dedicated department). This is a concern big crowdsourcing platforms are starting to face, and for working in the fraud detection space and often discussing these matters with other tech companies I can say it's still something fairly new to them.

4/ All this discussion is completely besides the original point I was trying to make. Whether this particular instance is going to go through or not, my point was that there is something interesting about scammers in that they seem to (consciously or not) have their own culture and implicit codes, one of which being this very specific type of communication that seems egregious to most of us but could drive better conversion among their target population. I thought this was an interesting/amusing thought, but you're free to disagree.

pyduan··on Guy tries to sell chinese watch Z3 as his own work
Kickstarter is not the one who needs the convincing at this stage, it's the potential backers. Case in point, this post does not link to an official Kickstarter investigation, but to a spontaneous one made by a random commenter.
pyduan··on Guy tries to sell chinese watch Z3 as his own work
That reminds me of that argument that scammers purposefully introduce spelling mistakes and other types of obvious red flags because it filters out the smart recipients and only leaves people who are likely to be gullible enough to take the bait and not investigate too much. I wonder if there isn't something similar at play here, with the unprofessional-looking style actually just being a case of tailoring your communication to your market...
pyduan··on DHS stalls no-fly list trial by putting witness on no-fly list
I don't know the case well enough to comment on it, but my money would be the same explanation: badly coded automatic discovery systems. The DHS has been caring notoriously little about false positives and I wouldn't be surprised if some obscure rule got triggered because of her mother being on a blacklist for who-knows-what reason either related to her original ban to the lawsuit. The DHS must change because its mixture of incompetence, lack of transparency, and absence of supervision is a recipe disaster, but saying this particular case was made on purpose seems like sensationalist FUD to me. I could be wrong and it might be true, but I think everyone is jumping on conclusions way too fast.

There is no excuse to the government allegedly lying in court, but I have a hard time imagining anyone would do such a stupid move in their right mind. What could one hope to achieve by putting the daughter on the no-fly-list in the first place? That the key witness missing her flight would cause her testimony to be ignored? That stalling the process by a few days would tip the balance in their favor? That the consequences of the plot being discovered (which depended on the Malaysian airline keeping its mouth shut) do not considerably outweigh its benefits? Also noteworthy is that this particular case is an appeal to a first decision back in in February 2012 that the DHS won, for reasons completely unrelated to Dr. Ibrahim being or not being able to board the flight: http://caselaw.findlaw.com/us-9th-circuit/1438741.html

pyduan··on DHS stalls no-fly list trial by putting witness on no-fly list
This is probably what happened, and not some not very subtle (not to mention completely useless) scheme by the DHS as the title of the article seems to suggest.

I cannot speak for what process the DHS or the TSA use, but what is done in the industry to ensure the person they're transacting with is not on some blacklist (which is mandatory, as per OFAC regulations) is using fuzzy string matching algorithms. Usually it's some variant of measures like the Jaro-Winkler distance [1], which is commonly used to compare names, or phonetic algorithms like Soundex [2], which we know is used by the US government for the census.

Unfortunately, these algorithms tend to work reasonably well for western names but not so much for picking up the subtleties of other languages and cultures, like "islah" (which apparently means "reform") vs. "islam". It wouldn't surprise me if the the DHS simply relies on automatic discovery algorithms and does not have a team of sufficiently trained people with both the language skills on call to do manual checks.

[1] http://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance [2] http://en.wikipedia.org/wiki/Soundex

pyduan··on Why Hacker News should use a different Deterministic Algorithm, Not a Random One
> The flaw in your post is that deterministic does not mean showing everyone the same thing. Though to be fair, a random number generator would be used to determine which users to expose the article too (just not how many of them).

Well to be fair, what you are describing is a random experiment in the statistical sense, ie. something modeled by a probability space. I see what you're saying, but I would say your usage of the word is the nonstandard one, not chilldream's.

pyduan··on Why Hacker News should use a different Deterministic Algorithm, Not a Random One
Probability matching is hardly what I would call a deterministic algorithm. What the authors likely means is that we should use a probabilistic algorithm rather than a random one.

Nitpicking aside, I disagree with the usage of the original quote:

> “It appears to be a quite general principle that, whenever there is a randomized way of doing something, then there is a nonrandomized way that delivers better performance but requires more thought.” E.T. Jaynes

What randomized methods are good at is reducing bias. In our case, there are several sources of bias: - The population that upvotes links on the 'new' page is different than the one that upvotes links on the frontpage - The probability of upvotes (which I assume are either ratios of upvotes to impressions or the ratio of upvotes to clicks) itself is determined by several factors other than article quality: article type and headline quality (and there is another interesting debate about quality vs. popularity, since sensationalized headlines are likely to get more clicks) to cite the main culprits, but there are many others.

I have three problems with this article:

1. The proposed strategy answers the question of variance but not bias, which is where the problem differs from a simple multi-armed bandit problem. Now we could build sophisticated models that try to take all these into account and get an unbiased estimator of quality, but it's likely be a pursuit that's not worth the payoff.

2. Adding random noise to the rankings is likely to be much more efficient. The author here suggests computing the posterior probability of an article being better than another for each pair of articles, which seems rather impractical.

3. Most importantly: is overall quality of the frontpage really the ultimate optimization objective? This solution doesn't solve the problem of the N+1th article receiving much fewer votes than the Nth, where N is the number of articles shown on the frontpage, while being arguably equally deserving. I would argue that the problem of minimizing the probability of a good article getting few pageviews is actually the more important one, because we have more good articles than slots on the frontpage. A randomized algorithm would be much better equipped for this purpose.

Of course, the other thing is that for bragging purposes "We made the frontpage of HN" sounds much better than "We made the frontpage of HN for 60% of the users". But that's a different problem altogether...

Edit: writing this comment made me think of alternative solutions. An easy-to-implement one would be to add 5 or so slots at the bottom of the frontpage that would contain random picks from the 2nd or 3rd page in a rotating manner. That would give good articles which weren't fortunate enough to get good visibility a chance at floating up to the top, without all the implications of changing the ranking algorithm itself. In other words, add fuzziness to the threshold instead of the ranking.

pyduan··on Brushing your teeth: no longer the best thing for your teeth?
From what I understand these would be complementary: the advantage of a probiotic solution would be that you basically get the treatment from time to time then never have to care about periodontal disease (which affects almost half of the US population [1]) or tooth decay, and then just have to brush your teeth or tongue to freshen your breath (but without long-term consequences if you don't).

[1] http://www.perio.org/consumer/cdc-study.htm

pyduan··on Bitcoin Deflation and Economic Activity
Your argument only holds if your time discounting factor is greater than the rate of deflation. In the case of Bitcoin this is clearly not the case since prices can double overnight, unless you're arguing that you're so adverse to waiting that you'd rather purchase something today than tomorrow at half price.
pyduan··on 17% of employees are required to use personal social accounts for work
While the figure might seem shocking, keep in mind this is 17% of employees who responded to the VentureBeat survey, not of all employees, and that not only we don't even have a sample size, but on top of that the survey is only "about a third of the way done".

Not only is this a highly biased subset (VentureBeat readers) in the first place, but the question is very poorly defined: "Are you required to use your personal social account(s) for work purposes? [yes/no/not required but encouraged]". What does "encouraged" means? What count as "social accounts" (arguably, the consequences are not the same if they ask for my Facebook than my Linkedin)? What does "work purposes" mean? Is it merely suggesting that at an all hands meeting that employee support the newest marketing campaign, or is this actively pressuring employees into writing positive statuses about their company on Facebook? If the documentation on how to use Jobvite includes a section on how to share job postings on Linkedin, does this count as being encouraged?

I don't want to minimize the issue because there are definitely cases of employers crossing the line of what is acceptable, but these results looks completely worthless to me .

pyduan··on 17% of employees are required to use personal social accounts for work
44% actually. But I agree that this figures seems unrealistic.
pyduan··on Nut consumption reduces risk of death
I wouldn't be so categorical. Regarding assessing causality, with an appropriate choice of instruments (food prices, tax on specific food categories) one could use instrumental variable regression to disambiguate the relationship. I'm not sure if this is standard practice in this field but a quick search seems to indicate this has been done before.

As to why one would think nuts have protective effects at all -- I'm not a nutritionist, but from what I gather nuts do seem to have some desirable nutritional properties (high on unsaturated fats, protein and minerals), so that assertion doesn't seem that far-fetched to me.

pyduan··on Machine learning is easier than it looks
Thanks for responding. I fully agree with your comment -- as I said, I too think many people are sometimes put off by the apparent complexity of machine learning, and demystifying how it works is a great thing. Unfortunately there's always a risk that a "hey, maybe this isn't so hard after all" might turns into a "wow, that was easy". While I think the former is great, the latter is dangerous because machine learning is often used to make decisions (sometimes crucial, for example when dealing with financial transactions), so I would argue more care should be taken than if we were talking about general purpose programming: if you trust an algorithm with making important business decisions, then you better have an intimate knowledge of how it works.

While I again agree with the underlying sentiment, I was just a bit disappointed that it seems to invite the reader to be satisfied of himself rather than motivate him to dig deeper. Nothing a future blog post can't solve though!

pyduan··on Machine learning is easier than it looks
As someone who works in machine learning, I have mixed feelings about this article. While encouraging people to start learning about ML by demystifying it is a great thing, this article comes off as slightly cocky and dangerous. Programmers who believe they understand ML while only having a simplistic view of it risk not only to create less-than-optimal algorithms, and might instead create downright dangerous models: http://static.squarespace.com/static/5150aec6e4b0e340ec52710...

In the context of fraud detection (one of the main areas I work in these days), a model that is right for the wrong reasons might lead to catastrophic losses when the underlying assumption that made the results valid suddenly ceases to be true.

Aside from the fact the techniques he mentioned are some of the simplest in machine learning (and are hardly those that would immediately come to mind when I think "machine learning"), the top comment on the article is spot on:

> "The academic papers are introducing new algorithms and proving properties about them, you’re applying the result. You’re standing on giants’ shoulders and thinking it’s easy to see as far as they do."

While understanding how the algorithm works is of course important (and I do agree that they are often more readable when translated to code), understanding why (and when) they work is equally important. Does each K-Means iteration always reach a stable configuration? When can you expect it to converge fast? How do you choose the number of clusters, and how does this affect convergence speed? Does the way you initialize your centroids have a significant effect on the outcome? If yes, which initializations tend to work better in which situations?

These are all questions I might ask in an interview, but more importantly, being able to answer these is often the difference between blindly applying a technique and applying it intelligently. Even for "simple" algorithms such as K-Means, implementing them is often only the tip of the iceberg.

pyduan··on Show HN: A search engine that lets you 'add' words as vectors
I agree disambiguation is a tough problem, but I'm curious to see whether the vector representation learned by word2vec can help in that regard. Have you considered using clustering to attach a few possible cluster memberships to each word (which would hopefully each capture information about a different usage context), then selecting the meanings for each word that give the maximum overlap?

The idea being that the words used to search on your website are likely to be conceptually similar (one doesn't add apples to oranges), so you can assume that "queen (sovereign) + man (noun) - woman" makes more sense that "queen (band) + man (unix command) - woman" because "man (noun)" and "woman" are likely to belong to similar clusters and not "man (unix command)".

pyduan··on Snapchat images that have "disappeared forever" stay right on your phone...
I don't agree with this argument. To me, it sounds a lot like the one that was used for a long time to justify Chrome showing stored passwords in plaintext without prompting for a password: "the only strong permission boundary for your password storage is the OS user account".

While in theory yes, a system is only as secure as its weakest component, this completely misses the point that what we're trying to prevent here is casual spying and that the person receiving the content is not always the one you want to guard against. True, if you don't trust the one you're sending pictures to there is nothing you can do, but that's not a reason to make all other types of spying effortlessly easy.

Because users believe (whether they're right to do so is beside the point; fact is, they do) their messages disappear from the target device, they might be compelled to send photos that are a bit more private in nature than those they'd usually send through other channels. Most often, what you want to prevent is curious third parties ("friends", jealous boyfriends or girlfriends, the police) who somehow got access of your phone from easily accessing all the pictures you've ever received after the fact, and properly deleting images after reception (which I believe they now do, as this issue has been known for a long time now) would actually achieve just that.

← PreviousPage 3 of 3