Better HN
topnewbestaskshowjobs
Log inSign up

dyoder

923 karma · joined Jun 29, 2010 (16y ago) · 115 submissions

Submissions

91.

RSpec and the Uncanny Valley(pandastrike.com ↗)

1 points · by dyoder · 12y ago · discuss

92.

Everything Has Changed(pandastrike.com ↗)

1 points · by dyoder · 12y ago · discuss

93.

HTTP Made Simple(pandastrike.com ↗)

2 points · by dyoder · 12y ago · 2 comments

94.

Browser-Based N-Body Simulator in CoffeeScript(nbody.pandastrike.com ↗)

2 points · by dyoder · 12y ago · 1 comment

95.

The Emerging (Security) Threat to Satellite Communications(threatpost.com ↗)

1 points · by dyoder · 12y ago · discuss

comment 12y ago · link · parent

> ...it's just an API failure

This. As far as the bandwidth issue goes, effective use of caching and compression can go a long way. Schemes varying the responses via the URL compromise schema validation based on media type (see JSON Schema, for example). Specific cases where fat or thin requests truly make a difference can be addressed with additional media types.

97.

Maryland dealer will sell nation’s first smart gun(washingtonpost.com ↗)

2 points · by dyoder · 12y ago · discuss

comment 12y ago · link · parent

Very interesting. I was thinking something similar could be done in Haskell.

99.

TLS/SSL implementation in Haskell(github.com ↗)

231 points · by dyoder · 12y ago · 176 comments

100.

View and analyze thousands of exploited websites.(threatglass.com ↗)

2 points · by dyoder · 12y ago · discuss

comment 13y ago · link · parent

The negative response to this post is over the top.

At most, you can say that they overstated their case by neglecting to talk about server trust and using the word "comfortable" in an article about security. :)

To address a few red herrings:

Saying that no solution is better than a flawed solution is absurd. There's no such thing as impenetrable security. On that basis, we shouldn't bother with HTTPS. For that matter, we shouldn't bother with passwords, either.

We do these things because they make attacks incrementally more difficult and thus redirect attackers' efforts to more vulnerable targets, or make it expensive enough not to bother. Every little bit helps.

Saying that you can't do this because you have to verify everything on every page load utterly ignores the past decade of development of rich client applications.

Saying that you shouldn't do this because it's been tried before also ignores virtually the entire history of technological innovation.

This is important problem and constructive criticism from security experts is extremely valuable. But the only "sophistry" I'm seeing here is from the people who can help the most.

This is a beta, invite-only app bootstrapped out of the proverbial garage. Their blog post on the technical details missed a few things. If you've ever been in those shoes, you know how easy that is to do. I've seen billion dollar companies do worse. Most of the article was accurate, well-written, and probably helpful to a lot of readers.

Help 'em out, don't tear 'em down.

comment 13y ago · link · parent

make sure your login and signup are via HTTPS before you go much further.

comment 14y ago · link · parent

You get 'windowed queries into the channel history for free' on spire.io as well.

comment 14y ago · link · parent

FWIW, we use HTTP as intended, not to tunnel RPCs.

comment 14y ago · link · parent

Correct. We do not yet work well offline. Request buffering, data storage, and synchronization are on our roadmap.

comment 14y ago · link · parent

Also, you can implement data synchronization over a messaging layer but not the other way around. So I'd say our approach is actually more flexible. And we do plan to introduce APIs to make data synchronization easier.

comment 14y ago · link · parent

Wasn't aware of it, actually. Thanks for mentioning it. Looks very interesting. I'll also amend the blog post.

108.

Request for comments: capability security for Web applications(spire.io ↗)

12 points · by dyoder · 14y ago · 3 comments

comment 14y ago · link · parent

Nailed it. Composite resources and good use of caching with fine-grained resources can go a long way.

HTTP is a pretty sophisticated protocol, when all is said and done. That means there is a learning curve in using it effectively. However, a good BaaS takes care of that for you, including providing default client libraries that know how to take advantage of the API properly.

(Full-disclosure: my company, spire.io, has recently launched a REST API BaaS that attempts to address exactly these concerns.)

comment 14y ago · link · parent

We use CORS at spire.io.

comment 14y ago · link · parent

Thanks for your suggestion, Matthew.

We do anticipate some applications wanting more than one instance. There are two scenarios where this comes up.

1. You want separate connections per instance. This is useful in load testing, among other things.

2. You want to provide different default options for different instances.

Neither of these scenarios is supported very well in this release, but we expect to add support for them shortly.

112.

The Death Ray And The Lean Startup(borderstylo.com ↗)

2 points · by dyoder · 16y ago · discuss

1234