21,186 karma · joined Oct 12, 2010 (16y ago) · 6,050 submissions
Personal site: http://www.adityamukerjee.net/
My email is pretty easy to guess from my username.
comment 13y ago · link · parent
If you divide by a literal 0, this is a compile-time error, so there's no panic (and no need to recover()): http://play.golang.org/p/E0jSDAHwtg
comment 13y ago · link · parent
If your JSON is effectively "strongly typed" (most APIs are), this is going to be a huge win for you.
If your JSON is not, then you'll have a problem in any statically typed language (not just Go), because you need some way to reason about the type. You'll also have the same problem with dynamically typed languages as well - the main difference is that Go will never do implicit casts (I would view this as a good thing).
I've done a lot of work in Go involving JSON (that's originally why I wrote the above tool - to save myself time), and in practice, it's rare that I have to do anything more than decode, check for an error[0], and then move on.
[0] Which is something everyone should do in all languages, not just Go - once you've confirmed that there is no error, you rid yourself of a lot of possible bugs that could pop up later on in harder-to-discover places.
comment 13y ago · link · parent
For those who missed the reference, it refers to the all-seeing stone used by the (spoiler!) evil wizard Sarumon.
Depending on your political persuasion, you may find that to be a very fitting name. But I'm surprised that the founders would have chosen it.
comment 13y ago · link · parent
By today's standards, many of the founding fathers would be deemed "terrorists" or "enemies of the state [kingdom]".
A nation naturally seeks to preserve itself, so perhaps that's not surprising, but it's worth pondering for a moment.
comment 13y ago · link · parent
I looked at this and had the opposite reaction. $50K is between 50 and 75% of a full-time developer's salary in NYC for a single year (I believe it's similar in SF). Are we expected to believe that that's all it would take to get Cocoa libraries running seamlessly on GNU?
Granted, I've never dealt with Cocoa at all, so maybe I'm overestimating this, but it seems like a lot of work.
I mean, how can you take a 15-year, multi-person project, and then assume it's going to be completed with a single person-year[0]?
[0] I don't mean literally a single person - I'm referring to a person-year being a unit of "work" (ie, the theoretical work equivalent of one person for a year).
comment 13y ago · link · parent
It seems clear that this is an acquisition for talent, since they're shutting the product down with less than 30 days' notice.
For <$70MM, that could be a relatively cheap acquisition of talent that has proven their ability to make things (if not necessarily proven their ability to make a product that people want to buy - which is where Yahoo's responsibility and vision come into play).
comment 13y ago · link · parent
Personally, I'd be concerned with trusting my credentials with any company unless all members of the leadership team (yes, including "nontech" people) are incredibly familiar with basic security terminology and practices.
(Note that the founder is unclear when PBKDF2 and AES are being used in the product, which is concerning, because they have very different use cases and should be hard to confuse).
comment 13y ago · link · parent
:)
comment 13y ago · link · parent
To be clear, GPL compliance is not a prerequisite to being a free software license. There exist many free software licenses which are not technically GPL compliant for various reasons: http://www.gnu.org/licenses/license-list.html#GPLIncompatibl...
However, while freedom does not imply GPL compliance, I do believe GPL compliance implies freedom. I'm not 100% certain of this, but I can't think of a counterexample or how that might not be true.
(I know you probably know this, but I want to make sure others reading your comment do too).
comment 13y ago · link · parent
Unless, of course, the email is intercepted in transit.
If your email is being sent in the clear, it doesn't matter whether or not you use SSL and/or two-factor authentication to connect to your server - the email has been compromised long before.
comment 13y ago · link · parent
On some, they've even donated the same amount or more in total dollars compared to OS X users - ie, Linux users have been more profitable even though they have a much smaller market share.
In short, Linux users are very profitable (per-user).
[0] I can't confirm that it's 100%, but it's been every Humble Bundle I've participated in (a lot), which I think is a large enough sample size for the purposes of this statement.
comment 13y ago · link · parent
That's very much not true, especially when you start dealing with corporate/enterprise systems (and remember, Go is intended as a systems programming language).
Just last week I heard Eliot Horowitz (CTO of 10Gen) talking about how it's advantageous for them to use Go for parts of their product, because they can provide guarantees about the software that they're running ("Hey, you're running the exact same file as what we're providing you, not fetching dependencies separately and interpreting things on-the-fly, etc.")
From a security perspective, these corporate clients have already entered into contractual agreements where they don't really care to verify that the source and binary refer to the same code.
If I'm paying a third-party company to provide me with software and services, I'm trusting them to provide security at multiple levels. I'm probably not even auditing their source code myself, so the idea that they would ship us a binary that didn't match the source code is something that wouldn't even enter my mind.
What I've described above is not an obscure use case.
Yes, there are other things that could go wrong that statically compiled binaries can't solve, but from the point of view of a bank or a large, non-tech corporation, it's one less link that could fail in the process.
comment 13y ago · link · parent
PGP fingerprints should be verified out-of-band (ie, in person) before being signed.
However, that's not a bad idea as long as people understand what the fingerprints do and do not imply.
I, for one, put my PGP fingerprint on my business cards. Most people don't even notice it (it's light grey text on white, easy to miss), but a few have caught on.
comment 13y ago · link · parent
As tptacek commented on an earlier post, all of the alternatives to PGP provide more or less the same UX that PGP is capable of. It's not inconceivable that my PGP client could do most of the legwork (ie, fetching keys from keyservers, encrypting automatically, etc.) for me while maintaining compatibility with PGP.
In any case, I don't really want to enter a PGP vs. OTR discussion right now, because my original point is that many self-identified hackers use neither. If people read this thread and begin to use either one or the other, I consider that to be a win for now!
comment 13y ago · link · parent
First, "everyone" does not have to use PGP for signing to be worthwhile. And I'm not saying that everyone already does; I'm saying that we should start.
Furthermore,
> Gmail, and other webmail clients are why PGP doesn't get used.
Gmail presents inherent problems with privacy and data access from the get-go. It's not a coincidence that Gmail's web interface will never be compatible with PGP.
Fortunately, Gmail still allows IMAP access, which means that people who use clients like Thunderbird and Outlook (yes, Outlook) can use PGP with their Gmail-hosted email addresses.
Maybe you're not one of those people, but a large number of people on HN are.
comment 13y ago · link · parent
I am oftentimes surprised by how few self-identifying hackers use end-to-end encryption like PGP/GPG.
Many of us use clients like Thunderbird already, which make GPG setup and use rather simple. I set up GPG on Thunderbird for my dad (who is a complete Luddite) - it took me <15 minutes, and he's been using it to email with me for over a year.
I encourage everyone reading this to set aside 15 minutes to set up GPG encryption and send a GPG-signed/encrypted email to a friend[0]. You'll see it's not so scary, and this is one of the single biggest things you can do to protect your privacy online.
[0] If you don't have any friends with PGP keys, feel free to email me. :)
comment 13y ago · link · parent
Be that as it may, Nate Silver is actually thoughtful, articulate, and well-reasoned - three words which do not describe /r/politics, etc.
It's not just a matter of which opinions one holds; it's a matter of how intelligently one expresses them and defends them with data and evidence.
(The irony with Reddit's love of FiveThirtyEight - and with the right-wing criticism of FiveThirtyEight being 'partisan' during the 2012 election cycle - is that Nate Silver is not himself an entirely left-wing person as much as people often thing. You'd have to dig pretty deep back into the archives of pre-NYT FiveThirtyEight to notice this, but he holds rather somewhat moderate or right-wing views on a number of issues).
comment 13y ago · link · parent
You do unless you're using PGP for all your emails, because SMTP can be easily intercepted in plan-text.
Of course, if you're using full end-to-end encryption (like PGP) for all your emails, you don't care so much about using HTTPS to fetch them, because you're using end-to-end encryption.
comment 13y ago · link · parent
There's no way for the value of 1 radian to magically 'double' without causing π radians to magically amount to a full circle, which would seriously warp Euclidean geometry as we know it.
comment 13y ago · link · parent