4,248 karma · joined Aug 13, 2010 (16y ago) · 545 submissions
comment 12y ago · link · parent
* MS is not a good example of a strong engineering org. Further, it is not a good example because Windows sucks.
* Google doesn't employ every smart person ever.
* Google can't actually compete. (ed note: in any field, or just against iOS and Fb?)
* My argument is like the argument that no one would supplant Windows.
* Given enough time, everything dies.
Points 2 and 3 are about Google. Let's start there. You're right that Google doesn't employ every smart person ever, but then, who said they did? :) But there are a limited number of search relevance engineers, and finding enough to keep up with Google is a monumental, and maybe insurmountable feat. If you want to compete with Google, you will need to have a serious advantage that supercedes this. That is just a fact.
Point 3 is about competition. I'll grant you that G+ is no Facebook, but Android is the most widely adopted mobile OS on the planet, and by a huge margin -- iOS is basically not even competitive, except for the top 5% of the market. Further, a billion smartphones will be bought this year, the most of which will be Internet enabled Android devices, and most of which will be bought in developing countries by people coming on the Internet for the first time. You tell me who's forward thinking there, because when that market comes online, it will be huge. The fact that you mention this as being non-competitive indicates to me that you might not know what you're talking about. :(
Point 1 is about the MS org. What can I say, OP, I work here, so maybe I'm not the best person to have this discussion with. But FWIW I chose this place over some much sexier jobs because the team I work with is arguably the best of its type in the world. There are bad neighborhoods, but the disparity between a good team in MS and a good team at Google is basically negligible. Also I think Windows is one of the great engineering feats of CS, so ... :| (Note that I still use UNIX at home.)
Point 4 is probably the result of confusion. I don't think no one can compete with Google. Bing has 20% market share! Clearly we can. But I do think it will be hard to compete with Google on search quality. I don't see how you can argue that.
And point 5 is obviously true but not relevant.
EDIT: Actually I now see your point 1 as saying "MS couldn't pull this off because they're not a good engineering org, but someone else could". Maybe someone else can build a better search engine, but I think what MS has pulled off with Bing is a monumental feat.
For starters, we built the entire Bing stack from scratch. No OSS. No common platforms like the JVM. Nothing like that. We started from nothing, and invented the server infrastructure, the data pipeline, the runtime that would support the site, the ML tools, everything. The fact that the site runs at all is a small miracle, but the site does not "just" run: the most remarkable thing by far is that the quality of our tooling is quite incredible, generally an order of magnitude better than the OSS equivalents. For example, the largest deployment of an OSS NoSQL datastore seems to be a few thousand nodes. The small NoSQL cluster backing our MapReduce implementation is stably deployed on a cluster an order of magnitude larger than this. This is something you only really see at companies like Amazon, Google, or MS.
I understand that the consumer market is not something MS is strong at, but I am hoping this gives you a taste of the scale and quality of what's happening behind the scenes. Happy to talk more about this if you drop me a line or skype me at `mrclemmer` :)
comment 12y ago · link · parent
The dominating cost is not hiring smart people to work on the problem, it's hiring enough smart people to work on the problem.
Consider. Here at Microsoft, we employ a search relevance staff of -- what, 20% the size of Google's? And Google's engineers are rock solid. MS might be able to make up a small margin, but our search relevance staff -- good though they are -- cannot compete with a brilliant workforce that is 5 times larger than them. If we are going to actually compete with Google, the problem is not hiring smart people, it's hiring 5 times the current number of smart people employed for this task at MS.
Never mind buying such a team. MS can afford that. How do you even find that many people in 2-3 years?
When you consider the rest of the data, the case for building something like Google really begins to look grim. For example, how much does it really cost to build a search engine? We've poured at least tens of millions of dollars into just search relevance (I'm not even counting infrastructure). That's good mileage, considering that this way is littered with the corpses of companies like Cuil, who made investments in this area and failed miserably. Still, while this has been a great deal for us, we're still not there yet, and it's not clear we will be in the very near future. And so it's worth wondering: if MS can't buy something like that, realistically, who can? DDG? lol no.
In the end, this is the true dominating cost of building a search engine: people capital. Other bottlenecks, like engineering debt, politics, etc. pale against the sheer, awe-inspiring investment of Google in people capital.
comment 12y ago · link · parent
The discussion is about security vulnerabilities. Comments berating the people who worked on this because they didn't pick a problem that's manly enough are completely irrelevant to the discussion at hand. They only serves to reaffirm the commenter's belief that they are smart.
Furthermore, while it is obvious the commenter doesn't believe the article is worth discussing, they certainly did not give good reasons for believing this. The whole comment is basically making the point that the summary is too elementary to be taken seriously, which ridiculous enough to deserve someone calling it out -- if it's so elementary, then why wasn't the find friends problem fixed? That only strengthens the case for this article.
comment 12y ago · link · parent
First off, security exploits are not measured in how hard they are to pull off, they're measured in overall impact. This is because the point of security is to prevent such exploits, not to wave your dick around like an idiot. The point of this post is that there are very serious exploits in the service. That justifies the post being on the frontpage regardless of how hard they were to find. (Hint: the fact that you call it a "high school" exploit does not negate the fact that it's a serious vulnerability.)
Second off, Snapchat had a long time to fix this and they didn't. Maybe you would have "just fixed it" but the fact that they didn't is also newsworthy and totally justifies this post being here.
comment 12y ago · link · parent
I'm just saying, 9 months down the road, if they had the optimal version of their security protocol, someone could still break in and write a post that "audits" it, just like we get every couple of months on the HN frontpage. Everyone would laugh, again. Some people would know that it's as good as it gets, but most people would just be in it for the circle jerk. There's no win for them here. That's all I'm saying.
*
Also, seeing your edit responding to my edit, sorry, I sometimes post before I work everything out perfectly. This isn't really an indictment of you guys specifically. I think your work is great.
comment 12y ago · link · parent
The problem basically comes down to the fact that Snapchat needs to be able to discriminate between clients that are legit, and clients that are not legit. In other words, at some point Snapchat has to trust that it's distributing the server key (or cookie or whatever it uses in the future to allow clients to say "hey, it's me, you can trust me") to a legit client and NOT to a badguy client. This is not possible. Consider this issue taken to the extreme: even if you built Snapchat directly into the OS, and then signed, you could still root the phone and spoof the relevant parts of the OS to make it seem like you're a legit client when really you're not. Note that even pinning the cert doesn't work. You can still get around it by sniffing around the relevant buffers.
Spoofing the client basically guarantees that the API can be tricked into providing services that it was designed to avoid providing. For example, you can save all Snaps upon receipt. This is a trivial abuse. There are much graver implications that lead to much graver privacy concerns, but I hope you'll understand when I don't publicly announce them. :) Though perhaps Chris will tell you about them if you ask nicely.
comment 12y ago · link · parent
Yeah, I just dropped Bobby a note. I was like: "here's what I did", and he was like, that's pretty cool, how did you get in. And then I described the exploit. And then we had a short conversation about things they might have fixed that are easy to fix.
comment 12y ago · link · parent
While a lot of the security problems they have could indeed be fixed, I think it's worth noting a couple things.
* The Snapchat API is fundamentally insecurable as it exists today. The problem is not that Snapchat could have secured their API against unauthorized access and simply failed to do so, it's that their API cannot possibly be secured, AND they happened to make some bad mistakes along the way. Even a serious security team would have been unable to lock everything down. They might have locked some of these issues down, but they would not have gotten all of them.
* So, while I sympathize with the feeling that Snapchat is anti-OSS and anti-hacker, realistically, I also sympathize with Snapchat's position. They don't have that many options. What are they going to do? Their public position -- i.e., that you should not break their TOS -- does not strike me as especially unreasonable considering that investing millions into security will still not give them a bulletproof solution.
* Also worth noting is that Snapchat does not unilaterally ignore security inquiries, or at least, they did not ignore me. I emailed them personally and the response I got (from a high-level employee) was warm and encouraging. I did not get the cold shoulder. In fact, I found our interactions quite pleasant, and it made me want to help them lock things down.
Ultimately I think it's easy to write off the team as just a bunch of incompetent fools, but let's be realistic here: it's easier to break things than make them provably unbreakable.
Again, yes they've made some bad mistakes, but posturing about breaking a system that cannot be secured is perhaps not the best use of Gibson's obvious talent. The same also goes for the many other security researchers who've audited the API.
comment 12y ago · link · parent
Our process was:
* Use MITMProxy to execute a man-in-the-middle attack, which lets you see all the packets in plaintext. It's a command line app which prettifies the packets in a readable way.
* From the packets we can get a lot of info, like where the packets are going, what data the fields contain, etc.
* We can also intercept the packages and mess with the fields to see what breaks when we change things.
* From here we use smali to decompile the Android DPK. Since debugging symbols are left in, this leaves a lot of info for us to look at.
* We ctrl-F for words like "encrypt" and "secret". This leads us right to the call to util android encrypt which is encrypting the images. The argument is a hard-coded secret string that turns out to be used everywhere.
* Looking through the source where that key is used we see that it's also used to generate request tokens, which validate that a request to the API is valid.
* And so on. Eventually with some more poking around we end up with the library here.
comment 12y ago · link · parent
I don't read PHP, but you're right that we're not the first to get through the API. We might be among the first to misappropriate the service for use of storing and managing arbitrary files, though.
FWIW, we did do this from scratch. I have no idea if this library has the same secret keys and stuff, but after we finished we went back and looked at other amateur audits and found the API to be basically unchanged in form between them, meaning that if they changed the API, it differed only in the specifics of the keys used, and not in say the protocol for handing server tokens and request tokens out. (I still don't know if the keys are the same between that library and our core, for example.)
comment 12y ago · link · parent
As we speak I'm writing the feature that will allow you to use a config file ('~/.snapchat_fs') to configure, e.g., the encryption protocol used, which would make storing features more secure for you, the user, in the event Snapchat starts snooping through stuff you've uploaded.
comment 12y ago · link · parent
As for your "is this useful" question, I use it to send files to myself, my friends, and other computers, since it's a bit like asynchronous SCP. But of course YMMV.
comment 13y ago · link · parent
That said, I have no degree in political science. So, WTF do I know. Here is your grain of salt. You're probably right though that I should not use "fiscally conservative" as the opposite of "fiscally liberal", because they are not really opposites.
comment 13y ago · link · parent
Maybe the first part is going in the direction of a productive discussion -- are you complaining that the split between "right wing" and "left wing" is so general as to lose all salience to the discussion at hand? I assume that can't be your position, because that's pretty obviously wrong.
comment 13y ago · link · parent
I won't pretend to be a master political theoretician, so corrections are welcome, but at a high level here is what is going on.
In most of political theory, the spectrum breaks down roughly into two huge types of political party (and yes this is a massive generalization):
* those on the right wing, which are typically fiscally liberal and socially conservative, that is, they believe that companies should behave as they like, but people need to be told how to behave even in their private lives, and
* those on the left wing, which are mainly socially liberal, that is, they believe that the government should tax and regulate more heavily, but that people should be able to do what they like privately.
Across the globe what it means to be "a liberal" is different. In the US, the "liberal" signifier refers to the fact that the person believes that the government should not regulate personal decisions like gay marriage. In France, it is the opposite: the "liberal" signifer refers to the fact that they like less regulation on the markets.
The Economist, simply put, is liberal in the sense that it tends to favor less regulation on both these fronts: it favors legalization of drugs and gay marriage, but also less regulation for markets.
There are of course exceptions (it favors gun regulation for example), but this is basically the position that it has come to call "radical centerism". The magazine is often called libertarian, but only conveniently so -- the gun control exception in particular casts this supposition into doubt, and rather than accept this branding, the editorial staff has evidently decided to pick this new title.
This is probably the right move. For all its flaws, this is something that the article did get right.
comment 13y ago · link · parent
aphyr's introduction seemed to me like a kind of warm "you can do it". I felt pleasantly fuzzy -- it was good to hear that someone was looking out for people like me, and other groups that are more obviously disenfranchised than mine (mine has it comparatively well off I think). Because of this encouragement, I read the entire post. In this respect it was absolutely effective. It accomplished precisely what it set out to accomplish.
Cue HN comments. I read them and my first reaction was, I didn't understand why it's not ok to say what aphyr said. It seemed so positive and innocuous. Why is it not ok to explicitly encourage me, or my sister, or my partner, to program? Never mind that aphyr put it in the "who is this for" section, which seems (to me) to be an eminently appropriate place to put such a thing.
But as I read more of them, I began to wonder whether what I thought and what other people think are so different that I'm just never going to fit in with this community. For example, people are complaining that this seems out of place -- do they just not understand how positive this was for me? I felt profoundly comfortable and accepted reading the tutorial, and I seriously doubt anyone felt excluded -- how could someone object to such a thing? Another commenter explains that, actually, this statement is bad for groups like mine because it reminds us that we're separated. But it was so warm I thought, I don't see how that could be true -- maybe I'm missing something. I started to think that maybe these issues are not reconcilable.
So, I began to doubt myself. Eventually the entire effect of the introduction was reversed. Soon I felt worse than when I started.
Then today happened. Let's consider some facts.
* The "who this is for" section appeared yesterday.
* That was part 1.
* This is part 2.
* Not only were the HN comments on part 1 dominated by this issue, but also the HN comments in part 2.
* So, merely writing this once is enough for the issue to follow you around in subsequent posts.
As a member of one of these underrepresented groups I'm both shocked and -- honestly? -- kind of hurt that the community can't even let this go when we're supposed to be discussing an entirely different section of the book. Besides this, if aphyr can't write this in the "who is this for" section, then where, precisely, is it appropriate to have this discussion?
People of HN, you may not be convinced that this was the right thing to do, but do know that this type of discussion is actively hurting your ability to be diverse. At the very least, I hope this pins a human story to this issue. What you are doing here does affect people. As a community it is time that we take this seriously.
380.
Twitter's IPO in simple terms(blog.nullspace.io ↗)
2 points · by antics · 13y ago · discuss
381.
Replacing Python(roscidus.com ↗)
173 points · by antics · 13y ago · 139 comments