Better HN
topnewbestaskshowjobs
Log inSign up

chimeracoder

21,186 karma · joined Oct 12, 2010 (16y ago) · 6,050 submissions

Inveterate builder.

Personal site: http://www.adityamukerjee.net/

My email is pretty easy to guess from my username.

Submissions

comment 13y ago · link · parent

For others: note that that's only because Queue29 assigned 0 to a variable before using it as the denominator, so there's no way for Go to catch that at compile-time.

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

Well, that also lets the NSA (or anybody who intercepts the CD) release the key to try and make it look like it came from Wikileaks.

Depending on how an adversary times that, it could be damaging for Wikileaks.

comment 13y ago · link · parent

> escape \000\040

in my screenrc changes this to 'CTRL+spacebar', which I find much more sensible.

comment 13y ago · link · parent

I'm not entirely sure what problem you're referring to here, but I wrote a tool to enable with mapping JSON to native Go types: https://github.com/ChimeraCoder/gojson . Basically, you specify the narrowest possible type that covers all expected (valid) inputs.

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

> I've always found Palantir terrifying. The name itself is just so brazen.

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

> Chomsky would have fit right in with the founding fathers.

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

> Problem #3 - Too high of a threshold for funding.

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

Rockmelt has (had) a very strong leadership team (founders were very successful in the 90s), and a number of strong engineers.

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

> Glenn Greenwald is a US citizen.

Who is forced to live abroad, due to DOMA.

(That may not be quite what OP was trying to say, but it's worth mentioning).

comment 13y ago · link · parent

You're correct - there are serious security concerns with Authy's product, which were pointed out on an earlier HN thread: https://news.ycombinator.com/item?id=4916983

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

What do you mean by 'check' in this case? Check the keys against the keys for all other VM instances that you've provisioned from the same VPS provider?

comment 13y ago · link · parent

Slightly OT, but I always recognized you on HN as a lawyer - now I see it appears you have an engineering background as well? Why the switch?

comment 13y ago · link · parent

FYI, B&N is a bookstore - B&H is an electronics store run by Hasidic Jews: http://en.wikipedia.org/wiki/B%26H_Photo_Video

:)

comment 13y ago · link · parent

> Right now it's possible, but in a long-winded way

How is it long-winded? Basic operations such as cd, ls, etc., all work inside IPython.

Also, try envoy[0] for subprocesses.

https://github.com/kennethreitz/envoy

comment 13y ago · link · parent

> MIT/BSD are fully supported by the FSF and are GPL compliant. They are free software licenses in all aspects.

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

> Send it to the email account that will be protected by two-factor authentication using the key, and it won't really matter.

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

Is there anything specific you can point to that would explain what you mean here?

Or are you referring to thing such as the Mir, Unity, etc. controveries?

comment 13y ago · link · parent

On every[0] Humble Bundle so far, the highest average donations come from Linux users.

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

> This means that downloading and running the binary is suddenly a very obscure use case. It should be for you, too.

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

> May I suggest (at least for people who aren't trying to remain anonymous/pseudo-anonymous here), PGP/GPG key IDs and fingerprints in your profiles?

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

facepalm

Yes, I redact my above comment to remove that example.

However, I still stand by my statement that PGP UX is a client issue, not an inherent protocol issue (ie, it's fixable without abandoning PGP entirely).

comment 13y ago · link · parent

> PGP UX is horrible and still stuck in the 90s! It's great for people who need it and it was really necessary to be invented. But something like OTR is the real successor.

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

> This (everyone has to use it or it's pointless)

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

> Start using encryption to make your communication harder to snoop. GPG for email and OTR for instant messaging are great places to start.

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

> Funny you say that, as Reddit had majorly sided with Nate Silver way before election day.

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

> if I'm talking to my mailserver over HTTPS/IMAP TLS, I don't mind where the traffic is routed.

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

I think people are mad because it seems inevitable that, like all other new Gmail features/UI changes/etc., it will become mandatory within less than a year.

comment 13y ago · link · parent

I'm not sure if this is the answer you're looking for, but degrees/radians are considered dimensionless in that they're defined by the ratio of two lengths.

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

Yes, it's been there for almost a year: https://duckduckgo.com/traffic.html (note the label 'L').

comment 13y ago · link · parent

Try prepending !s to your searches when needed in DuckDuckGo.

That will send results through StartPage, which will return you Google's results, but through a proxy (mitigating the privacy loss by using Google).

1
162163164
202