HNHacker News
TopNewBestAskShowJobs

absherwin

765 karma · joined October 4, 2012

submissionscomments
absherwin··on The Airbnb Economy in New York: Lucrative but Often Unlawful
It's possible in both cases. The difference is two-fold: The landlord can control the probability of damage through the application process, assuming some people are predictably more risky, and the renter can be required to purchase insurance to ensure that damages are paid. I doubt (but haven't confirmed) that a standard renter's policy covers damages arising from short-term rentals.
absherwin··on The Airbnb Economy in New York: Lucrative but Often Unlawful
The guarantee terms and conditions exclude damage to common areas and units not owned or controlled by the host. Water damage or a truly abusive guest still leave the host exposed to claims and the landlord exposed to damages for which no solvent party has liability.
absherwin··on 15 years ago, Congress kept Mickey Mouse copyrighted. Will they do it again?
Replace copyright with monopoly and your argument is equally sensible. Using textbook micro, the cost of copyright is clear. The copyright on Mickey Mouse raises the cost of goods featuring it. In a world without copyright, my expenditure on Mickey Mouse videos will decrease likely resulting in consuming somewhat more Mickey Mouse videos but for lower total cost and deploying some of the saved money to other goods that I desire. Hence, I will consume more of that good and a greater variety at the same income making me better off.
absherwin··on BlackBerry to cut 4,500 jobs, predicts 2nd quarter loss of $950M
Kipling's The Palace is also fitting perhaps even more so for those building today's successful platforms: http://www.kipling.org.uk/poems_palace.htm.

WHEN I was a King and a Mason - a Master proven and skilled

I cleared me ground for a Palace such as a King should build.

I decreed and dug down to my levels. Presently under the silt

I came on the wreck of a Palace such as a King had built.

There was no worth in the fashion - there was no wit in the plan -

Hither and thither, aimless, the ruined footings ran -

Masonry, brute, mishandled, but carven on every stone:

"After me cometh a Builder. Tell him I too have known.

Swift to my use in the trenches, where my well-planned ground-works grew,

I tumbled his quoins and his ashlars, and cut and reset them anew.

Lime I milled of his marbles; burned it slacked it, and spread;

Taking and leaving at pleasure the gifts of the humble dead.

Yet I despised not nor gloried; yet, as we wrenched them apart,

I read in the razed foundations the heart of that builder’s heart.

As he had written and pleaded, so did I understand

The form of the dream he had followed in the face of the thing he had planned.

When I was a King and a Mason, in the open noon of my pride,

They sent me a Word from the Darkness. They whispered and called me aside.

They said - "The end is forbidden." They said - "Thy use is fulfilled.

"Thy Palace shall stand as that other’s - the spoil of a King who shall build."

I called my men from my trenches, my quarries my wharves and my sheers.

All I had wrought I abandoned to the faith of the faithless years.

Only I cut on the timber - only I carved on the stone:

"After me cometh a Builder. Tell him, I too have known."

absherwin··on Keep Your GitHub Email Address Private
Absolutely nothing. According to the linked help page, a fake email address must be provided to git config. They'd need a separate copy of the repo with the blinded email address for public access. It's not hard to do but I imagine it would bother repo maintainers that an individual user could cause different repos to be served. Of course, everyone could just decide that email in commits isn't worth the privacy risk. It's a trade-off.

For the curious: Downloading all the repos and extracting email addresses takes 1-2 days and costs <$50 on AWS.

absherwin··on Keep Your GitHub Email Address Private
Anyone seriously worried about privacy should also ensure that their gravatar doesn't point to their real email address, especially if there's a simple relationship between the email addresss and GitHub username.

Edit: Apparently, this doesn't re-write the actual repo so anyone seriously interested in e-mail addresses will be unaffected. It was already easier to get e-mails via cloning rather than through scraping or the API.

absherwin··on Trends that will create demand for an Unconditional Basic Income
Of course, there are imperfections in some assets. Let's not talk in the abstract. We've established that this problem applies to 5.8% of assets. Some percentage of those have reasonably computable valuations. If not or if the valuation is contested, we can allow tax to be paid on profits as an alternative or a cumulative tax to be paid at sale based on average value through the holding period which could be inferred given a standard growth curve.

Real-estate appraisals are imperfect but getting within 20% most of the time is quite achievable. The main problem is for unusual or expensive properties which could be handled similarly to hard-to-value assets.

Your statement doesn't follow unless defining that subset is easy. What should be included or excluded? As we're discussing corporations, we have ample evidence of the ability to game. You could suggest closing loopholes but most of the loopholes also have legitimate uses.

You write that "capital assets are valued at sale for income purposes" is a solution to the difficulty in measuring their value. Why is this the case? Remember that the origin of this discussion is whether it's better to tax corporate income or the wealth of those who own the vast majority of that income. Are you asserting that valuing a person's equity holdings is difficult?

absherwin··on Trends that will create demand for an Unconditional Basic Income
You're absolutely right about where the risk lies. That's why large shareholders have become increasingly concerned about alignment. CEO pay is increasingly in equity and they are subject to minimum equity holding requirements and clawbacks. I'd like to see larger minimums relative to their equity compensation but in the grand scheme of things this is a small issue.

It's also worth noting that short-term investors are a greater threat to long-term focused decisions than pay incentives. Most CEO's aren't actually foolish enough to risk destroying their company for more money in the near-term. They like their jobs so what does terrify them is an investor demanding more leverage or adopting a riskier strategy on pain of advocating removal or a hostile takeover. When Chuck Prince said he couldn't sit down until the music stopped, he wasn't worried about a smaller bonus but about posting lower profits that would have led to calls for his removal. "There was a merchant in Baghdad..."

absherwin··on Trends that will create demand for an Unconditional Basic Income
Non-financial non-real estate assets account for 5.8% of the total according to the Fed's flow of funds report (Z.1) table B.100: http://www.federalreserve.gov/releases/z1/Current/z1r-5.pdf. Note this also includes non-profits but that's a relatively small distortion.

Wealth is the value of everything you have less what you owe. Every item can be valued by seeing what people would pay for it, which is usually just its current market price. How do you determine income objectively? You could merely take wealth at two points in time but our society has declined to define it that way because much of the money coming in might go to some sort of expense which ought to be excluded, which is neither objective or simple, and because some changes (such as fluctuations in asset prices) are assumed to be transitory and therefore impractical to tax. The latter is actually the source of most of the perfectly legal tax evasion in this country: Hold stocks, generate value, pay nothing until you sell which needn't be ever.

absherwin··on Trends that will create demand for an Unconditional Basic Income
Yes, given executive compensation trends, I wouldn't be surprised if executives would get a disproportionate share. That's largely irrelevant to understanding the aggregate impact. At large corporations, CEO compensation is usually less than 0.1% of profits.
absherwin··on Trends that will create demand for an Unconditional Basic Income
Given that the vast majority of wealth in this country in held in liquid assets or in real estate which is already taxed based on value, why do you suppose that a scheme to tax it would be more complex than the corporate tax system which employs on the order of ten thousand people and generates returns that are often thousands or even tens of thousands of pages and has been shown to be amenable to a wide variety of gaming through manipulating the timing and geographic incidence of profit?

There will be some complicated edge cases but there will be relatively few and the ability to game them is less because wealth is a simpler concept than income.

absherwin··on Trends that will create demand for an Unconditional Basic Income
It's not that simple. Of course, the direct effect of corporate taxes is mostly on the wealthy who own most of the stock but that's not necessarily the group who gets most of the wealth--more on that below. Even in terms of direct payments, wealth isn't the only important factor. As significant is a company's willingness to be creative. I have never seen a corporate tax scheme that's ungamable that doesn't involve giving the IRS more discretion post-hoc in applying the law nor is one feasible in practice given the resources a company tends to devote to minimizing a multi-billion dollar tax bill. So we have the perverse situation where, to a significant degree, tax creativity is a productive economic activity and belief in adhering more closely to the spirit of the law of punished with higher taxes.

As for the economic payers. Consider what happens if we eliminate corporate taxes: The company has more money. It can use that money in three general ways: Lower prices, raise pay or return it to shareholders. In a company with little competition, the optimal calculation is fairly simple. Does the additional return enable new entrants at current prices? Do we have employees who could leave and create competition and to what extent does the additional cash-flow make it more likely? In a competitive environment, the right answer is based on the sensitivity of profit to talent, the sensitivity of talent to pay increases, and the sensitivity of consumers to price decreases.

Given this different factors, what's the empirical answer? It varies based on circumstance and no one can say definitively. Here's an example of one attempt to answer based on variation in European tax rates that suggests that 49% of the taxes are paid by workers: http://www.econstor.eu/bitstream/10419/51691/1/66322666X.pdf. You can find many more papers with different points of view through your favorite search engine.

absherwin··on Unshackle the Middle Class
You can fix this without government intervention: Launch an a16z ETF. It could help you as well because you could secure more favorable terms if you so desired to offset the additional work.

This may yield higher returns to investors than they could otherwise receive but, if so, it's only because they underestimate you. If the return on funds invested with you is expected to be higher, the ETF's price will increase until the perceived risk-adjusted return is equal to that in the market. What causes the types of entities who receive above average returns through nontraditional vehicles to achieve them is some combination of the the higher cost of raising that money, more limited availability and social convention.

absherwin··on Asking the U.S. to allow Google to publish more national security request data
While you're correct as a matter of legal theory, this doesn't happen in practice. Aside from Felt and Miller who were given small fines and then pardoned, can you name another precedent for prosecuting government employees for overreach in intelligence and security matters? Is there even a single example where a meaningful penalty was dispensed?
absherwin··on San Francisco median home hits $1 million
http://www.cmegroup.com/trading/real-estate/files/spcaseshil...

Beware. The liquidity of these markets is vastly lower than that of equities. Also remember Keynes: "The market can remain irrational longer than you can stay solvent" or in this case longer than the contract durations offered.

absherwin··on Challenge HN: Break my in-browser crypto for $1000
Since it's too late to edit, I'm posting here to correct my statement that Chrome is the only browser that supports HSTS preload; Firefox does as well.
absherwin··on Challenge HN: Break my in-browser crypto for $1000
I appreciate your responding thoughtfully.

Regarding Moxie, I noted in the original post and immediately after his first post that he'd need to provide a valid SSL certificate. He asserted one wasn't necessary and I assumed perhaps he had some other trick to make it appear as though he had one so I invited him to email me details. His attack didn't do that and it turned out he had interpreted the requirement for a valid SSL certificate to mean that he couldn't present one the browser would flag as invalid. I'm sorry if you or he feel that I wasted his time.

The SSL connectivity for the server did work. The only way to defend against the attack Moxie posted would be to modify my browser. The exploit Moxie used depends on the fact that if one doesn't type https:// the browser will request http. You could argue my error was abbreviating in the posting but that wouldn't change how users type it. The best defense against this is HSTS which comes in two flavors: The standard version is applied after first visting the site. Would you have said that invalidated the attack? The attack would work just as well on a browser with cleared cache or running in incognito mode.

The only real defense which, to my knowledge, only exists in Chrome is the HSTS preload. I suppose I could have noted that I'd modify my browser to have it on the HSTS but that doesn't effect real world security either.

That said, I am extremely curious how you would defend against SSL stripping in the wild. This seems like a potentially devastating attack. None of the banks that I checked are on the preload and many don't seem to use HSTS at all. What defenses would you have considered sufficient so as not to consider this trivially exploitable by an SSL redirect vulnerability that effects almost the entire web?

Your argument above effectively reduces to: The web is insecure so you always lose and putting in a disclaimer to ban such attacks is weaselly. The SSL vulnerability is a huge problem but that doesn't mean understanding the security of the rest of the system is worthless.

I never said I'd check the fingerprint of the certificate against my memory. Moxie used that retort against me after his attack produced a session that was obviously not over https. I explicitly denied that that was one of my criteria. That said, at least in chrome, appspot.com is pinned.

The irony is that this does show that SJCL provides a modest security increase over plaintext in the case of broken SSL. It requires a per-site attack to be constructed ahead of time vs. simply reviewing the plaintext for all sites after the fact and picking what's valuable.

Your key argument seems to be that naive developers might use JS crypto because of this. If they use it naively, I'm sorry for that. I'm also sorry if they exclude it naively because of other rhetoric. I hoped that this would generate more nuanced discussion that would cause them to be more aware of the risks if they chose to use it. Obviously that wasn't the case and nothing was learned about the various angles from this app could be exploited aside from the trivial one.

I truly appreciate your laying out your reasons above. I understand I struck a negative chord but am glad that we've been able to move into discussing the specific technical issues.

absherwin··on Challenge HN: Break my in-browser crypto for $1000
Yes, my name is public. I don't really care about you mentioning it. What I care about is my name being mentioned in a way that implies my dishonesty which is all lawnchair_larry originally argued. His argument had two components: You're making a false accusation and it's more harmful because you're using my real name.

You chose to reassert that you believe your accusation is true without responding to the specific points raised and turn the focus of the discussion to the subsidiary point.

absherwin··on Challenge HN: Break my in-browser crypto for $1000
Thanks. This is an attempt at doing three things: 1. Learning more about the security risks of JavaScript 2. Facilitating a more create and nuanced discussion of its pros and cons 3. Learning about interacting with HN

I failed at my second goal and while I've succeeded in the third it was in different way than anticipated.

I also to reiterate that this isn't some backhanded attempt at a product launch. I would have hoped that my statements, using an appspot domain, no design and limited functionality would have made that clear.

absherwin··on Challenge HN: Break my in-browser crypto for $1000
I truly appreciate your attitude. As you can imagine, having my integrity questioned is quite hurtful. So before I address, your point, thank you. Your comment means a lot to me.

Moxie did provide a more detailed attack description. I had to correct an iptables command and modify sslstrip to alter the JS but otherwise his instructions were complete and correct. Per the original instructions, he should have had to configure the proxy but that's purely a function of who does that labor so I happily did the small amount of extra work.

Once I completed the attack, I learned as I suspected from reading about sslstrip, the SSL certificate was removed. I thanked Moxie for his efforts and praised his work but informed him that it didn't meet the initial requirements. He argued that it works in the wild and that I could acquire appspot.cc and a certificate for that. I replied that if he wanted to conduct a convincing enough demo that I would be fooled into clicking, I'd consider that sufficiently close to being valid. Alternatively, he could produce an SSL certificat e that the browser would accept as valid for that domain. I agreed that a user in the wild might not be as cautious but that in agreeing to route my traffic through a malicious proxy, I recognized I was giving an attacker a significant advantage and that's why I made a valid SSL certificate a requirement in the initial post.

He replied back that any LAN can be malicious so he disagrees with my assessment and that he didn't trust I wouldn't throw up more unreasonable objections and that I should pay.

I replied outlining exactly how I would evaluate any alterations to the MITM he's proposing. It was at this time he posted to twitter. I heard about that and emailed him and he denied he was accusing of of dishonesty but only noting that I had declined to pay the reward tptacek thought he was owed. I remained concerned that it wouldn't be taken that way and unfortunately tptacek has proven my fears correct.

In any event, I asked him if he believed his approach genuinely met the valid certificate requirement at this point because I wanted to assess whether he was he felt my rules were unfair or that I wasn't abiding by them. He declined to reply to that question.

absherwin··on Challenge HN: Break my in-browser crypto for $1000
I haven't paid anyone yet because no attack has yet met the conditions. As others have noted, a valid SSL certificate is required for this to work.

Moxie suggested that I acquire a certificate for a similar domain to meet that requirement but that doesn't meet either the normal definition of valid (If a show requires a valid ticket to be shown at the entrance, will one from last night do?). He did claim that producing a forged certificate is possible and I have no reason to doubt him. However, he noted that he nor anyone else would produce one for a reward of this amount.

We were still corresponding when he made the tweet in question. I ultimately asked him if he believed that a certificate to another domain was a valid certificate and his reply didn't address that point but discussed instead why he and tptacek are frustrated by these kind of contests.

I'm sorry I seem to have offended you.

absherwin··on Letter To A Young Programmer Considering A Startup
Think of what's being built as a machine for taking several great ideas and spreading them to areas to which they haven't yet spread.

While there's much talk of disruption in startups, their goal isn't to destroy, it's to build something better and the destruction results therefrom. Considered that way, the institutionalization of startups doesn't contradict their mission any more than writing in a higher level language makes one less of a programmer.

I agree with most of the details; most people's incentives aren't pure. While that may not be ideal, yet far it has accelerated innovation.

absherwin··on Challenge HN: Break my in-browser crypto for $1000
The key is derived by PBKDF2 with 1000 iterations. For weaker passwords, I suspect a couple of order of magnitude strengthening would be required.

Your point about weak passwords holds in both ordinary clients and in the browser. It's just a matter of degree. There are plenty of sufficiently strong passwords that are memorable. Since the degree of weakness tolerable is logarithmically proportional to the hashing time and JS is usually within an order of magnitude of native code, the additional entropy required is small given equivalent hashing time.

absherwin··on Challenge HN: Break my in-browser crypto for $1000
Intercepting the plaintext of the communications to the server isn't sufficient since the password is sent to the server after being hashed and the plaintext is encrypted. It may provide the basis for an attack but in itself it doesn't break the second layer of security.

Ironically, this is an advantage of having a second layer of cryptography in the browser. It forces an attacker to do significantly more work to acquire the data passively or requires an active attack.

absherwin··on Challenge HN: Break my in-browser crypto for $1000
1. Agreed. That's an avenue by which a vulnerability in the server or communication channel could be exploited.

2. It doesn't exist. The code was written in the same form it was uploaded.

absherwin··on Challenge HN: Break my in-browser crypto for $1000
Email me and I'll send you the DB dump. You can brute force it . I don't think it's as trivial as you suspect but I'd love for you to prove me wrong.
absherwin··on Challenge HN: Break my in-browser crypto for $1000
You're implicitly applying different threat models to browser-downloaded vs. alternatively downloaded code.

If the maintainer of JS code make a mistake and fixes it in future versions, there's no need to worry about it anymore either. However, every time I upgrade I'm just as much at risk from someone attacking either my connection or having attacked the server. So to believe it's more secure, you have to believe those things are easier to do in the context of a web application.

absherwin··on Challenge HN: Break my in-browser crypto for $1000
I've emailed him to arrange. If it works, he will receive the reward.
absherwin··on Challenge HN: Break my in-browser crypto for $1000
I welcome the discussion and am learning what I can from it. I was hoping for an exploit. So far one person has proposed one that may work.

Those are creative solutions to your contest. I should have been cleverer.

absherwin··on Challenge HN: Break my in-browser crypto for $1000
1. As discussed in another comment, this requires a similar level of trust to encrypting the data on the server. The only difference here is that, to the best of my knowledge, an attacker who took control of the server, could silently log the plaintexts in the server side case while some indication would be provided in the client-side case. Most wouldn't notice it but some would eventually.

2. The code I wrote isn't obfuscated. The code at the top is just SJCL and angular.js which are https://github.com/bitwiseshiftleft/sjcl and https://github.com/angular/angular.js

← PreviousPage 3 of 5Next →