Better HN
topnewbestaskshowjobs
Log inSign up

_harry

318 karma · joined Aug 11, 2010 (16y ago) · 76 submissions

Javascript @airbnb

@hshoff

Submissions

1.

Bringing Together React, D3, and Their Ecosystem(smashingmagazine.com ↗)

2 points · by _harry · 8y ago · discuss

comment 9y ago · link · parent

vx author here. Happy to answer any questions folks might have. This is a project I've been working on for the past 5 months at my job at Airbnb.

The goal of vx is to make d3 feel at home in any react codebase.

github: https://github.com/hshoff/vx/

gallery: https://vx-demo.now.sh/gallery

tutorials: https://github.com/hshoff/viewsource

comment 9y ago · link · parent

One of the Airbnb style guide authors here.

The point about quotes comes up often. The important part for us is consistency at Airbnb. We use eslint to enforce and maintain the consistency. Would it be more consistent to treat strings the same everywhere? For some projects sure. We diverge from the community a bit in the sense that we treat JSX as not JS and we aim to be consistent about that. If your project treats JSX and JS the same then yes, we've certainly seen folks do this. As always, please do what works best for your team or project [1]. Forks encouraged.

I will say an added benefit of including a style guide in a project for large teams that may get lost jumping straight into prettier, has been helping our engineers become stronger javascript programmers in the process of learning our style guide. That's largely anecdotal evidence from my time at Airbnb and of course your mileage my vary.

Personally, I support the Prettier mission 100%. Easier consistency is huge. Removing barriers to contributing to open source projects is huge. PR reviews focused on what the code is doing vs painful style nits is huge. It's been great to see this come from the community and I look forward to seeing where the community takes it. Congrats to all of the contributors on the 1.0!

[1] https://github.com/airbnb/javascript/issues/102

comment 9y ago · link · parent

- fix abuse & troll problem

- clarify community guidelines

- threaded replies

- upvotes

- groups public/private

- add channels

- follow anything, focus on live

- then I'd buy Reddit & Imgur.

5.

Building a login flow that doesn’t require entering a password for Apple TV(medium.com ↗)

1 points · by _harry · 10y ago · discuss

6.

Enzyme: JavaScript Testing Utilities for React(medium.com ↗)

5 points · by _harry · 10y ago · discuss

7.

Data Infrastructure at Airbnb(medium.com ↗)

3 points · by _harry · 10y ago · discuss

8.

Airbnb Product and Engineering teams now hiring in Portland(medium.com ↗)

9 points · by _harry · 10y ago · 1 comment

9.

How well does NPS predict rebooking?(nerds.airbnb.com ↗)

3 points · by _harry · 10y ago · discuss

10.

Airbnb’s AirPal: new ways to get answers from Hive and Hadoop(thenewstack.io ↗)

9 points · by _harry · 11y ago · 1 comment

11.

Airpal: A web-based query execution tool built on top of Facebook's PrestoDB(airbnb.github.io ↗)

4 points · by _harry · 11y ago · discuss

12.

Large Scale Payments Systems and Ruby on Rails(nerds.airbnb.com ↗)

18 points · by _harry · 11y ago · 2 comments

comment 12y ago · link · parent

Yup! We only recommend !function(){}(); for a module where you just need your function to run. If you rely on the return value use (function(){})(); or (function(){}()); (more on this: https://github.com/airbnb/javascript/issues/21)

comment 13y ago · link · parent

I deleted my comment because I realized it was tangential to your point and don't want to sidetrack discussion. Carry on!

15.

Introducing SmartStack: Service Discovery in the Cloud(nerds.airbnb.com ↗)

94 points · by _harry · 13y ago · 37 comments

16.

Airbnb is engineering itself into a data-driven company(gigaom.com ↗)

6 points · by _harry · 13y ago · discuss

17.

The story behind the all new Airbnb for android(nerds.airbnb.com ↗)

11 points · by _harry · 13y ago · discuss

comment 13y ago · link · parent

Wired had a great article on Mesos that mentions Conviva also uses Mesos: http://www.wired.com/wiredenterprise/2013/03/google-borg-twi...

19.

Airbnb is partnering with the City of New York to provide hurricane relief(blog.airbnb.com ↗)

4 points · by _harry · 14y ago · discuss

comment 14y ago · link · parent

We love Europe!

I'm told the talk will be live streaming here: http://replay.vidyo.airbnb.com/replay/webcastShow.html?key=y... and a recording will be posted here: http://www.airbnb.com/tech_talks at some point in the future.

comment 14y ago · link · parent

That was our first project that used Backbone. Since then, Backbone has made its way to the web site all over the place.

comment 14y ago · link · parent

Haha, good digging.

That's the gross/first-draft/would-this-work version.

I'll be talking about why I think that approach is undesirable and some ideas for making it better.

23.

Airbnb Streamlines Booking Process for Last-Minute Travel(allthingsd.com ↗)

1 points · by _harry · 14y ago · discuss

123