Better HN
topnewbestaskshowjobs
Log inSign up

cosgroveb

1,790 karma · joined Apr 12, 2010 (16y ago) · 443 submissions

Submissions

comment 4y ago · link · parent

Selection bias of some sort from people who abstain from alcohol?

comment 13y ago · link · parent

I explain this in a comment that's a bit further down the page but here it is in a nutshell:

* You're right that this is very similar to our previous offering. At its core, the encryption logic is the same.

* While both libraries offer an object which will encrypt your data, that's literally all our previous offering did. New helpers used in conjunction with data attributes eliminate the need to write custom onSubmit handlers, making your integration far simpler.

* We host the JavaScript, making linking directly to it an option.

These things make our JavaScript library substantially easier to use. That, plus the fact that we now recommend Braintree.js over Transparent Redirect motivated us to rebrand it.

comment 13y ago · link · parent

Sorry to hear you had a rough time with Transparent Redirect. Having fielded quite a few e-mails on this very issue, I'd say it's possibly the biggest limitation with TR.

There are only a couple options available in the situation you describe. First, you could vault the card before you charge it. Not great. Extra code, and you may not really want to store the card after the sale (depending upon your use-case). The other work-around, while not involving the vault may even be worse. If you don't want to vault the card, you could issue a void after confirming TR if something went awry (or say you're out of stock).

This is why we're really excited about getting Braintree.js into people's hands. It eliminates an extra round-trip for the customer to a third-party which is necessary with tokenization or TR. You can validate the form data before you decide to initiate the sale. It's really simple, too.

comment 13y ago · link · parent

Hi Michael,

Braintree developer here. You're right that Braintree.js is based upon our end-to-end encryption library. While that's been out of beta for some time, it was strictly for encryption (that's literally the only thing it did).

In this iteration we've added some helper methods to the Braintree object that make it much easier, in our opinion, to encrypt your payment form. In the past, if you wanted to use our encryption library, you had to intercept the POST to your server with a custom onSubmit handler to encrypt the data. Now, it's as simple as giving the id of the form you wish to encrypt and substituting the "name" attribute on your form inputs with "data-encrypted-name".

Additionally, unlike our previous encryption library, we're now hosting the JavaScript in our datacenter using the same highly available infrastructure we built for our gateway. This makes it easier to get up and going when you're spiking out your integration.

Ultimately, we felt that these improvements justified re-branding the library, especially since we now recommend Braintree.js over Transparent Redirect. Transparent Redirect unfortunately made it kind of awkward if you wanted to do your own server-side validation on the form data or do anything with AJAX.

comment 14y ago · link · parent

The link to "helpful info from a redditor" about calling representatives is not-so-ironically blacked out.

comment 15y ago · link · parent

At least they didn't provide a one-line install from a non-https server, too.

Just use "curl http://www.example.com/install_this.sh | sudo sh"!

comment 15y ago · link · parent

Either the author of the comment I replied to ninja edited his comment or I need to work on my reading comprehension. I think it was the first thing though...

comment 15y ago · link · parent

Google Closure Tools is not the same thing as Clojure.

A little confusing I am sure since Closure Templates is a templating system that dynamically generates HTML in Java and JavaScript... And Clojure is a language that targets the JVM.

I have no experience with Closure Tools but Clojure is awesome definitely.

comment 15y ago · link · parent

So not being sexist makes an industry boring? Maybe we need to throw in some racism and make things even more edgy!

comment 15y ago · link · parent

Well I think you're right...but this "culturism" that you talk about has something to do with the fact that Indians from India are not inherently very good at managing people or software projects.

It's not racism if it's true!

comment 15y ago · link · parent

I'd be interested to know the stats on how many people have had overdraft fees and never let it happen again (or seldom) vs. those who get them routinely.

It's happened to me. Once. Never again.

12.

Git for Computer Scientists(eagain.net ↗)

2 points · by cosgroveb · 15y ago · 1 comment

comment 15y ago · link · parent

I know a guy who was a broker on Wall Street throughout the 80's and 90's... He retired to take over the family farm, the sort of thing a lot of his peers wanted to do, and after 10 years of working non-stop to almost-not-quite break-even he's almost ready to sell it.

He says that he had no idea how much harder than working on Wall Street it would be. He's got to know everything about the domain, he's got to know accounting, sales, marketing, and just about every other aspect of running a business and it is exhausting for such small potential gains.

comment 15y ago · link · parent

Would you consider putting comment scores on a user's Comments page or perhaps on the permalink page to an individual comment? That way the truly curious can look?

comment 15y ago · link · parent

On top of Ruby we put the Rails web framework. It’s not very common to actually code anything in Ruby.

Is he really confusing programming languages with frameworks? I can't take anything serious that he writes anyways but that's pretty ignorant.

Even if it weren't an absurd statement you could say the same thing about Java, "on top of Java we put the Struts web framework. It's not very common to code anything in Java."

16.

You’ve Got To Admit It’s Getting Better(techcrunch.com ↗)

4 points · by cosgroveb · 15y ago · discuss

comment 15y ago · link · parent

I was shocked last night when I counted 27 articles about Steve Jobs and three about other stuff.

comment 15y ago · link · parent

Is satire, which often makes very heavy use of sarcasm, to be considered uncivilized?

comment 15y ago · link · parent

The article does mention that only 19 of the planned 66 are on-line yet. I think considering that, it really is a pretty stunning photo.

comment 15y ago · link · parent

I see on your site that you say, "recently, I also got rid of all of my possessions through a project called Cult of Less."

That must not have included all of your nice clothes.

comment 15y ago · link · parent

Have you ever tried to send bulk e-mail? Even if you're doing everything right with double-opt-in, watching your sender scores, managing your bounce-backs, etc, etc, etc, you will get banned by some major e-mail provider (say Yahoo or Comcast) and spend days to weeks (sometimes months) working to get it sorted out. So, no, I don't disagree with the e-mail thing at all.

comment 15y ago · link · parent

I don't think the fraud is really worth $50.
12345
15