BMorearty

Joined 16 years ago

Karma
594
Submissions
182
Member since
Apr 6
Software engineer, ex-Airbnb. Old-timer in the industry. Fan of TypeScript, JavaScript, Ruby, Rails, Rust. @BMorearty on X.
View on Hacker News

Recent submissions

Comment · 1 year ago
I’m in the same boat, unsure if this is outdated. I left Airbnb five years ago and haven’t followed up to ask anyone what the current state of the tech is.
Comment · 1 year ago
I’m not trying to follow the latest Ruby dustup and don’t have a stake in it but as an Airbnb alum I did find this part particularly identifiable:

“Yet, Ruby and Rails remain the default stack at Shopify, and the only reason for that is the CEO. Every Shopify employee knows that suggesting straying away from Ruby wouldn’t fly there. And I’m convinced that if it were anyone else at the helm, Shopify would have joined the long list of companies that attempted to migrate to something else and are now stuck with both a Ruby monolith and a ton of half-migrated micro-services in Java or Go.”

Comment · 1 year ago
Sure, Google is making sure app vendors comply with regulations in specialized industries. /s
Comment · 2 years ago
A website like this is not required. It's just nice to have. Somehow we've managed to use email without this website it for the decades that email has supported HTML.

Caniuse exists too, does that mean HTML and CSS are broken? Nah, it's just a useful resource to help people decide what tradeoffs to make.

Comment · 2 years ago
hee hee
Comment · 3 years ago
Got it! Thank you for the explanation.
Comment · 3 years ago
Thanks, I know I could do it in the console or the original source. But I was referring to the fact that the sentence in the post says to convert it to a getter "either in the original source code or using a conditional breakpoint."
Comment · 3 years ago
Under the section "Debugging Property Reads": how would you convert `{configOption: true}` to `{get configOption() { debugger; return true; }}` using a conditional breakpoint?
Comment · 3 years ago
I know Ruby != Rails but the example wasn’t mine. It was from the paragraph I quoted from the post, which conflates the two.

It may be true in Python--I don’t use it much--but I know Ruby well. It was my primary language for 13 years, at multiple companies. I taught it to over a thousand engineers at Airbnb over the course of five years. I still disagree that it is common to use exceptions for control flow.

Maybe it’s a matter of the interpretation of the word “common.” ¯\_(ツ)_/¯

Comment · 3 years ago
> In Ruby it's common to use exceptions for control flow.

I think this is just plain incorrect. The example given later in this paragraph is the Rails `update` method--but the approach used in all canonical Rails examples and generators is the non-exception version of `update`.

Comment · 3 years ago
I've worked as an employee and as a contractor in Silicon Valley (never at Google). While it was nice to be treated like an employee by some companies, my attitude was that it's just understood that as a contractor I'm not as much a member of the team as the employees are, and I'm the first to be let go if the money gets tight. Those were the tradeoffs of the flexibility I got. If contractors are the same as employees, why even have a distinction?
Comment · 3 years ago
Thank you. That is a much more lucid and complete explanation than was given in the article.
Comment · 3 years ago
I'm confused by this article. It says "New evidence adds to work showing people made these prints [in New Mexico] sometime between 21,000 and 23,000 years ago." It supposedly contradicts experts' belief for decades that "the first people in the Americas migrated from Siberia across the Bering Strait on a land bridge exposed during the last glacial maximum, sometime between 26,500 and 19,000 years ago.

How is that contradictory?

Comment · 3 years ago
One of my favorite bug stories to tell people.
Comment · 3 years ago
I followed my left-leaning parents' advice to get paid for doing something I love. But luckily for me I love coding.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton