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

The blog also goes into much more detail regarding node integration: https://aws.amazon.com/blogs/aws/run-code-cloud/

122.

Node.js Advisory Board(joyent.com ↗)

5 points · by sync · 12y ago · discuss

123.

Emergency API Updates in All Joyent Data Centers(help.joyent.com ↗)

1 points · by sync · 12y ago · discuss

comment 12y ago · link · parent

And here's how to do the same in plain JS with ES6, available now in node (--harmony) and (I believe?) Chrome Canary.

    function *() {
      try {
        let body = yield request("https://x.io/");
        return yield request("https://x.io/?q=" + body.hash);
      } catch (e) {
        // do what you like with the error
      }
    }

comment 12y ago · link · parent

Well that's super fancy, but also seems super complicated.

You could also just use client-side multi-part S3 uploads [1] and skip ... this process entirely. Seems like the Service oriented architecture is hurting more than helping here.

1. e.g. https://github.com/TTLabs/EvaporateJS

comment 12y ago · link · parent

We frequently ran into the issue of the object having been deleted while sitting in the job queue, so Model.find(id) would blow up. I'd be curious to hear if GlobalID did anything about that.

comment 12y ago · link · parent

So how do you scale out to multiple droplets on Digital Ocean? Set up your own HAProxy instance?

What do you do when one of your droplets disappears or crashes?

Where do you host your database?

Not quizzing, real questions from someone also looking to drop heroku.

comment 12y ago · link · parent

Huge release this time around. Congrats guys & gals!

`r.args` isn't very flashy but is a huge step forward for ReQL.

Removing protobuf makes deploying to certain platforms (e.g. heroku) so much easier.

Promises support for the Javascript driver brings it to the modern age.

And of course changefeeds and `r.http`!

If you've been hearing about RethinkDB and thinking about trying it out, now's a great time to spin the wheels.

comment 12y ago · link · parent

You mean like the "import" function in ES6?

comment 12y ago · link · parent

From the readme:

    Currently the API for screen capturing is supported only by Google Chrome, Canary and Chromium by enabling an experimental flag.

    In order to enable the flag:

    Go to chrome://flags
    Enable - "Enable screen capture support in getUserMedia()"
    Restart your browser
https://github.com/mgechev/jscapture#how-to-use

comment 12y ago · link · parent

Author mentions SelfControl [1], which is great, but a bit rough.

I'd recommend Focus [2] instead -- much nicer experience, and I believe it's made by a fellow HNer.

[1] http://selfcontrolapp.com/ [2] http://heyfocus.com/

comment 12y ago · link · parent

I don't understand. Are you not continuing to think about the problem (or the next problem) while tests are running, regardless of how long they take?

comment 12y ago · link · parent

> "I want my feedback to be so fast that I can't think before it shows up. If I can think, then I'll sometimes lose attention, and I don't want to lose attention."

Don't you want to think while programming? I feel like that's practically all I do -- I spend most of my time thinking about a problem and very little actually writing code.

comment 12y ago · link · parent

Yep, cf. "I firmly believe Rack is shackling progress for Ruby on the web." - @tenderlove

https://twitter.com/tenderlove/status/443893529010393089

comment 12y ago · link · parent

Be sure to check out RethinkDB as well, which is pretty much mongo with a MUCH nicer query interface and saner locking.

http://rethinkdb.com/ http://rethinkdb.com/docs/comparison-tables/

comment 12y ago · link · parent

Lead Front-End Developer - Thought Industries - Full Time REMOTE - Anywhere, USA

Thought Industries is an early stage startup in the Consumer Learning space. We enable companies to launch and sell their own online school— think Shopify meets Udemy/Coursera. We just closed a seed-round and have a solid SaaS business model with paying clients.

We’re looking for a Lead Front-End Developer to join us as Engineer #2. You would be a good fit if:

    You are awesome with JavaScript & CSS.
    You are excited about new web technologies like ES6.
    You sweat the small stuff, but know when to just ship it.
    You have an eye for good design, but aren't necessarily a designer.
    You are passionate about building elegant web products.
    You care deeply about the user experience.
We're an Ember.js shop and it would be great if you already have lots of Ember experience, but we aren’t focused on specific keywords. We are looking for evidence that you're smart, adaptable, and exceptionally productive.

About us:

We work 40-hour weeks, live a sustainable lifestyle, and enjoy what we do. We love open source and have contributed to several projects including our own. On the backend we use node.js, koa, and RethinkDB. On the frontend it’s all Ember.js, Handlebars, and SCSS.

Interested in learning more? Shoot me an email: chris@thoughtindustries.com

comment 12y ago · link · parent

I think the real power of Keen is the ability to gather analytics for your clients. If you're a platform (think Shopify), your customers probably want some sort of dashboard and reporting on their customers.

Keen makes this too easy with their embeddable JS visualizations: https://keen.io/docs/data-visualization/ and scoped keys for security: https://keen.io/docs/security/#scoped-key

Also checkout this comparison of Mixpanel & Keen: https://keen.io/blog/67519816958/mixpanel-vs-keen-io-whats-t...

comment 12y ago · link · parent

Actually, it's not promises. It's generators.

co thunkifies promises: https://github.com/visionmedia/co/blob/master/index.js#L209-...

comment 12y ago · link · parent

Async code is super easy to reason about when using ES6 Generators, which are available now in node v0.11.

Here's both a series and a waterfall example: https://github.com/visionmedia/co#example

comment 12y ago · link · parent

Well, after entering all of my information (billing address + facebook + email confirmation + credit card details) I am presented with: http://monosnap.com/image/Q8brXxtQsTJEkReseHlSyNolOgf2TX

"call_us_maybe"

Now filled with regret.

comment 12y ago · link · parent

Off topic: Author is seeking employment & could use some life guidance... https://twitter.com/robcolbert

comment 12y ago · link · parent

http://support.apple.com/kb/HT6114

says at the bottom "For detailed information about the security content of this update, see Apple security updates.[1]"

[1] http://support.apple.com/kb/HT1222

comment 12y ago · link · parent

I'd be interested in knowing more details. It doesn't seem like some of their pages (e.g. https://asana.com/product ) would be very easy to represent in markdown, especially considering the image carousels.

comment 12y ago · link · parent

How are people integrating their own webhooks into their apps? e.g. What is the backend for github or stripe's webhooks?

I'm surprised there's not a SaaS that handles the distribution, security, retries, and introspection for you...

145.

Me And Facebook Open Academy(tenderlovemaking.com ↗)

28 points · by sync · 12y ago · 6 comments

comment 12y ago · link · parent

    The old Netflix DVD shipping service still runs on the old code base on top of a few large Oracle databases.
Interestingly put. I didn't realize their DVD service is so neglected -- wonder how long it will be around?

comment 12y ago · link · parent

Here's a direct link to the start of the interview: https://www.youtube.com/watch?feature=player_detailpage&v=-7...

comment 12y ago · link · parent

Seems like Opsworks does a lot more than just the provisioning, no?

"AWS OpsWorks can scale your application using automatic load-based or time-based scaling and maintain the health of your application by detecting failed instances and replacing them. You have full control of deployments and automation of each component."

How would you suggest using Ansible to cover that side of things?

comment 12y ago · link · parent

Yeah, syntax highlighting would be awesome to start...
1
456
11