HNHacker News
TopNewBestAskShowJobs

pnt

215 karma · joined March 19, 2013

submissionscomments
pnt··on We Should Ditch Nginx
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.

pnt··on Creditcard.js: a more usable credit card form
When JS is not available, this becomes a regular HTML form with inputs and selects.
pnt··on Memories of Mozilla at 15 and Thoughts on Mozilla Research
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.
pnt··on Karma: Spectacular Test Runner for JavaScript
This project was originally called Testacular. I was little confused at first, thinking it was a late and flat April fool's joke.
pnt··on Anders Hejlsberg and Lars Bak: TypeScript, JavaScript, and Dart
> 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).

pnt··on Show HN: Heap is a new approach to analytics. Just capture everything
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.
pnt··on Anders Hejlsberg and Lars Bak: TypeScript, JavaScript, and Dart
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.
pnt··on Why we're moving away from Ember.js
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.
pnt··on Show HN: Heap is a new approach to analytics. Just capture everything
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.