Better HN
topnewbestaskshowjobs
Log inSign up

sync

1,885 karma · joined Jul 17, 2009 (17y ago) · 314 submissions

building hotwash.com
Submissions

comment 12y ago · link · parent

All that for a service that was up just a week.

"We put together a quick-and-dirty LDAP server implementation"

Yeah, no problem. Just slapped that together. Clearly some great sysadmins at Stripe.

Coming from a hands-off heroku world, this definitely increases my respect for ops guys/gals.

comment 12y ago · link · parent

There's always `fs.readdirSync` etc. node isn't forcing async on you, especially when it comes to file handling.

comment 12y ago · link · parent

A simple try/catch around the whole thing would take care of error handling for the generator example.

comment 12y ago · link · parent

Rails servers like Unicorn can still only support ~4 concurrent requests on regular dynos (roughly 1 per virtualized core), lessening the problem but not solving it if you have many requests per second.

comment 12y ago · link · parent

You can do line-level comments on commits as well, outside of a pull request.

comment 12y ago · link · parent

To prevent layout thrashing yourself, you can use this library: https://github.com/wilsonpage/fastdom

Ember.JS (and possibly Angular?) does this for you automatically.

comment 12y ago · link · parent

You can drop an existing CSS resource into SCSS without modification.

comment 12y ago · link · parent

Stars is a great ranking technique, e.g.http://www.node-modules.com/search?q=postgresql&u=

comment 12y ago · link · parent

Check out RethinkDB: http://rethinkdb.com/

Supports joins out of the box, and has much saner locking. It is in its infancy still, but I believe are coming out with a LTS release shortly.

comment 12y ago · link · parent

Stripe targets marketplaces too: https://stripe.com/connect -- you have your work cut out for you!

comment 12y ago · link · parent

Undo button is awesome.

More web apps need an undo button.

comment 12y ago · link · parent

Seems like you can actually create a project on the left: https://www.monosnap.com/image/NEWTlovotIcjL5wqSYceVSFX2P7Bm...

comment 12y ago · link · parent

Looks really promising if it can work on complex dynamic sites!

The sample script provided is totally incorrect though:

  <script src="//cdn.tryhoudini.com/houdini.js"></script>
  Houdini.init("xxxx")
  Houdini.startListening();
Missing a script tag around `Houduni.init ... Houdini.startListening()`

164.

Ember.js - Security Releases - Ember 1.0.1, 1.1.3, 1.2.1, and 1.3.1(emberjs.com ↗)

2 points · by sync · 12y ago · discuss

165.

How did toast become the latest artisanal food craze?(psmag.com ↗)

10 points · by sync · 12y ago · discuss

comment 12y ago · link · parent

Not using a JS Framework? Congratulations, you've just built your own ad hoc JS Framework.

Suddenly, anyone who joins moot will have to invest tons of effort in your custom framework instead of being able to hit the ground running.

167.

Announcing Scala.js v0.2(groups.google.com ↗)

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

comment 12y ago · link · parent

I'd be afraid of inheriting any codebase that made extensive use of these JS macros.

You really have no idea what this is doing (the canonical example from sweetjs.org):

  class Person {
    constructor(name) {
      this.name = name;
    }

    say(msg) {
      console.log(this.name + " says: " + msg);
    }
  }
It's not javascript -- it's your own made up "language" of macros.

I do believe with a steady hand this could lead to some great things, but the example on sweetjs.org seems rather heavy handed. Having different `class` macro definitions between codebases that use sweet.js will devolve into madness.

169.

Experience Mirra 2 - Herman Miller(hermanmiller.com ↗)

1 points · by sync · 12y ago · discuss

comment 12y ago · link · parent

Technically, no. The payment happens within an iframe secured with https: https://www.simplegoods.co/embed/PKGTEISN

comment 13y ago · link · parent

Cute! And timely.

Looks like you still have some work to do: https://www.monosnap.com/image/JkLBAEYvPAOE96ab7YqrFoXgc

& Here's the console output: https://www.monosnap.com/image/JWwoDPyQrFyrokGxIt0b4i8Qe

comment 13y ago · link · parent

Hey, just took a look at soundslice, looks super nice.

FYI, it doesn't look your payment modal works on smaller browser windows: https://www.monosnap.com/image/UvJbxMQEwkzqLH5btNJ7a9G6Q ... no visible pay button, and the modal itself scrolls when you scroll the page.

comment 13y ago · link · parent

https://addons.heroku.com/librato provides insight into your Heroku dynos.

https://addons.heroku.com/adept-scale does too to some extent.

comment 13y ago · link · parent

I wonder how many WebSocket connections one dyno can take?

Also seems like this would make heroku's routing problems[1] even worse.

[1] http://news.rapgenius.com/Jesper-joergensen-routing-performa... et al.

175.

Using WebSockets on Heroku with Ruby(devcenter.heroku.com ↗)

1 points · by sync · 13y ago · discuss

comment 13y ago · link · parent

Dynos already run in different availability zones: https://devcenter.heroku.com/articles/production-check

You can take that a step further by running dynos in the European (eu-west-1) region: https://devcenter.heroku.com/articles/regions

177.

Phone verification - Basecamp help(basecamp.com ↗)

1 points · by sync · 13y ago · discuss

comment 13y ago · link · parent

Interesting, love this functionality. Why the three day limit? Why 'temporary' at all?

I've been looking for essentially an API for an email inbox. Does something like that exist?

comment 13y ago · link · parent

Comparing this code ( e.g. https://github.com/stripe/shop/blob/master/public/assets/js/... )

to something like https://checkout.stripe.com/v2/checkout.js is like night and day. JS vs. compiled CoffeeScript. One large, monolithic file vs. obviously concatenated files. Variable naming, commenting, etc.

It's interesting -- I wonder what kind of code style guidelines they have over there, if any.

comment 13y ago · link · parent

Looks quite awesome! It would be helpful to include some installation instructions for those of us unfamiliar with python libraries... do I use pip? do I use easy_install? do I git clone and then do something with setup.py?
1
567
11