Better HN
topnewbestaskshowjobs
Log inSign up

pnt

215 karma · joined Mar 19, 2013 (13y ago) · 20 submissions

Submissions

1.

DJB on crypto api design, ChaCha20 in OpenSSL(groups.google.com ↗)

5 points · by pnt · 12y ago · discuss

2.

React's DOM Diff Algorithm(facebook.github.io ↗)

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

comment 13y ago · link · parent

Nginx can log to stdout (access_log /dev/stdout) and be piped to a program that reads from stdin and forwards to rsyslog.

Technical workarounds aside, the blog author should get approval from his manager/ceo to purchase commercial nginx. I don't see what's unreasonable about a profitable business paying for a useful commercial feature.

comment 13y ago · link · parent

When JS is not available, this becomes a regular HTML form with inputs and selects.

5.

Creditcard.js: a more usable credit card form(creditcardjs.com ↗)

184 points · by pnt · 13y ago · 108 comments

6.

Javascript Crypto. Ugly duckling with good reason? -- JSConf EU 2013(youtube.com ↗)

3 points · by pnt · 13y ago · discuss

7.

Adam Langley: Playing with the Certificate Transparency pilot log (imperialviolet.org ↗)

1 points · by pnt · 13y ago · discuss

8.

A programmer's guide to creating art for your game(gamefromscratch.com ↗)

2 points · by pnt · 13y ago · discuss

comment 13y ago · link · parent

Rewriting the browser stack in an evolving language feels like trying to shoot the moon. However, I hesitate to bet against Mozilla when it comes to impossible rewrites.

comment 13y ago · link · parent

This project was originally called Testacular. I was little confused at first, thinking it was a late and flat April fool's joke.

11.

Upcoming PostgreSQL Security Release: April 4, 2013(postgresql.org ↗)

4 points · by pnt · 13y ago · discuss

12.

OpenSSH 6.2 released (adds aes-gcm, encrypt-then-mac) (lwn.net ↗)

1 points · by pnt · 13y ago · discuss

comment 13y ago · link · parent

> Dart's VM isn't Chrome-only

I meant that dart is chrome-only in practice. I don't know of any other browser vendor that bundles the dart vm, including the few browsers based on chromium like rockmelt or 360.

> However, I think that even if initial reaction might have been better with such a response, Google clearly did the right thing by being up front about their vision.

I can appreciate Google's directness regarding Dart's intention. However, from a web developer's perspective, Dart's multiple backends is very unappealing. I hesitate to adopt even a language like clojurescript or coffeescript because of debugging barriers and potential bugs in the language's crevices (though these problems are diminishing with things like source map support).

comment 13y ago · link · parent

What if you tracked the event's parents, e.g. button <- div <- .sidebar <- body, etc.? When presenting the events to the user, you could hide generic parents like 'div' and only show interesting parents with ids or classes. To search through events, perhaps the user could use css selector syntax in addition to the current UI you have.

comment 13y ago · link · parent

I feel like Dart's emphasis on a fast but chrome-only vm has hindered it's adoption. I understand their goal, unlike most compile-to-js languages, was a language more amenable to fast implementation. However, I think the initial community reaction would have been more positive if Dart was positioned first as a language that compiled to js, with the added benefit that it runs significantly faster on Chrome.

comment 13y ago · link · parent

I've hacked my webserver to respond to any request that looks like a Backbone route. For example, if you define a backbone route '/search/:query/:page', the server will return a minimal html page to any request starting with '/search'. The minimal html contains the backbone and app javascript, which then dynamically renders the page.

comment 13y ago · link · parent

Does Heap track event streams like mouse position and scrolling? The storage overhead would be significantly larger than instantaneous events like clicks, but this data would be interesting.