HNHacker News
TopNewBestAskShowJobs

BMorearty

594 karma · joined April 6, 2010

Software engineer, ex-Airbnb. Old-timer in the industry. Fan of TypeScript, JavaScript, Ruby, Rails, Rust. @BMorearty on X.
submissionscomments
BMorearty··on Dear Rubyists: Shopify Isn't Your Enemy
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.
BMorearty··on Dear Rubyists: Shopify Isn't Your Enemy
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.”

BMorearty··on “Fewer Users” Warning Hurting Specialized and New Apps
Sure, Google is making sure app vendors comply with regulations in specialized industries. /s
BMorearty··on Caniemail.com – like caniuse but for email content
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.

BMorearty··on Ugly Avatar
hee hee
BMorearty··on Debugging tricks in the browser
Got it! Thank you for the explanation.
BMorearty··on Debugging tricks in the browser
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."
BMorearty··on Debugging tricks in the browser
Under the section "Debugging Property Reads": how would you convert `{configOption: true}` to `{get configOption() { debugger; return true; }}` using a conditional breakpoint?
BMorearty··on Switching to Elixir
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.” ¯\_(ツ)_/¯

BMorearty··on Switching to Elixir
> 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`.

BMorearty··on What I learned getting acquired by Google
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?
BMorearty··on Oldest footprints in North America push back human arrival
Thank you. That is a much more lucid and complete explanation than was given in the article.
BMorearty··on Oldest footprints in North America push back human arrival
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?

BMorearty··on Can’t send email more than 500 miles (2002)
One of my favorite bug stories to tell people.
BMorearty··on A Caltech Nobel laureate celebrates his 100th birthday, then gets back to work
I followed my left-leaning parents' advice to get paid for doing something I love. But luckily for me I love coding.
BMorearty··on Sao Paulo: A city with no outdoor advertisements (2013)
This unexpectedly reminded me of what East Berlin looked like in 1988. It looked gray and dull compared to West Berlin. I've told this story for years without realizing that lack of outdoor advertising made the difference.
BMorearty··on Cookie Clicker saved my PhD
This article asked me to click to accept cookies. :P
BMorearty··on Google I/O 2023
I missed the search and maps improvements. What did they say?
BMorearty··on Google Reader shut down announced ten years ago today
It took me ten years to get back into using an RSS reader. Over that time, I found individual blog posts to read via links from Twitter. And there were a few that I subscribed to over email. But now with the whole Twitter debacle, a month ago I looked around to find a good RSS reader and installed NetNewsWire. It's nice to be back.
BMorearty··on HP have updated their printers to ban ‘non-HP’ cartridges
Even if your old one does start to go bad, I discovered it can be more effective to repair than replace for a multifunction printer/scanner. My old Brother was on the fritz a year ago. After being shocked by prices for new ones, I found a printer repair shop across the Bay from me. They fixed it for much less than the price of a new one. And they told me to keep it as long as I can because it’s such a good piece of hardware.
BMorearty··on Creating a landing page using AI tools and no code
Seems like you're changing the subject.
BMorearty··on Creating a landing page using AI tools and no code
Oh like Google Docs.
BMorearty··on Creating a landing page using AI tools and no code
Software is only for real when you can run it on your home computer?

Google isn't for real yet?

BMorearty··on Show HN: Spaghettify – A VSCode Extension to make your code worse with AI
Nice. A few more ideas: consolidate small functions into one huge function; change await to callback hell in JS; goto!
BMorearty··on Ask HN: Did anyone else lose their marbles?
> I’ll never forgive myself for what I put my family through.

How is your family now? Is it intact? Have they been able to forgive you?

Glad you seem to be doing better.

BMorearty··on Ask HN: Those making $500+/month on side projects in 2023 – Show and tell
What's ridiculous about tipping on a receipt?
BMorearty··on Ask HN: Those making $500+/month on side projects in 2023 – Show and tell
So, 13 months ago [0] you said on HN that you were making $120k/month with 3000 users. How come you're still making the same amount but with 18x more users than you had more than a year ago? What's the disconnect?

[0] https://news.ycombinator.com/item?id=29671480

BMorearty··on How to own an airline in 3 easy steps and grab the TSA nofly list along the way
`cat` aliased to `bat`, nice. :) I really like bat.
BMorearty··on Why is Amazon selling fake 16TB portable SSD drives?
I would like to...but when I want to buy some random product and the first thing I need to do is find a store that sells it, and then I add the product to my cart on that store and check out, and then it shows me a shipping price that's MORE than the product I'm buying, and takes 10 days to deliver...I end up heading back to Amazon. :(
BMorearty··on Ask HN: Help – Locked out of 10 years Gmail account
Okay I’ve been trying out your suggestion for a week. I think I will keep it.
Page 1 of 6Next →