News for hackers. Stuff that matters.

BMorearty

Re:Dear Rubyists: Shopify Isn't Your Enemy on Thursday October 09, 2025 @04:28PM (#45532692)
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.
Re:Dear Rubyists: Shopify Isn't Your Enemy on Thursday October 09, 2025 @11:12AM (#45528821)
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.”

Sure, Google is making sure app vendors comply with regulations in specialized industries. /s
Re:Caniemail.com (like caniuse but for email content) on Monday May 06, 2024 @08:52PM (#40281156)
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.

Re:Ugly Avatar on Monday March 25, 2024 @05:36PM (#39821518)
hee hee
Got it! Thank you for the explanation.
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."
Re:Weird Debugging Tricks the Browser Doesn't Want You to Know on Saturday November 11, 2023 @10:43AM (#38231302)
Under the section "Debugging Property Reads": how would you convert `{configOption: true}` to `{get configOption() { debugger; return true; }}` using a conditional breakpoint?
Re:Switching to Elixir on Friday November 10, 2023 @01:36AM (#38215797)
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.” ¯\_(ツ)_/¯

Re:Switching to Elixir on Thursday November 09, 2023 @11:52PM (#38215193)
> 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`.

Re:What I learned getting acquired by Google on Thursday November 09, 2023 @04:02PM (#38211245)
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?
Thank you. That is a much more lucid and complete explanation than was given in the article.
Re:Oldest footprints in North America push back human arrival on Thursday October 05, 2023 @05:40PM (#37784627)
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?

Re:Can’t send email more than 500 miles (2002) on Wednesday September 20, 2023 @12:40AM (#37580443)
One of my favorite bug stories to tell people.
I followed my left-leaning parents' advice to get paid for doing something I love. But luckily for me I love coding.
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.
Re:Cookie Clicker saved my PhD on Thursday June 22, 2023 @07:16PM (#36440553)
This article asked me to click to accept cookies. :P
Re:Google I/O 2023 on Wednesday May 10, 2023 @02:25PM (#35891332)
I missed the search and maps improvements. What did they say?
Re:Google Reader shut down announced ten years ago today on Monday March 13, 2023 @03:24AM (#35132277)
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.
Re:HP rolled out update blocking 3rd party ink cartridges on Wednesday March 08, 2023 @10:55AM (#35070564)
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.
Re:Using AI tools to design an entire website on Sunday February 19, 2023 @09:06PM (#34864161)
Seems like you're changing the subject.
Re:Using AI tools to design an entire website on Sunday February 19, 2023 @08:22PM (#34863854)
Oh like Google Docs.
Re:Using AI tools to design an entire website on Sunday February 19, 2023 @08:07PM (#34863749)
Software is only for real when you can run it on your home computer?

Google isn't for real yet?

Nice. A few more ideas: consolidate small functions into one huge function; change await to callback hell in JS; goto!
Re:Did anyone else lose their marbles? on Monday February 06, 2023 @02:07AM (#34674259)
> 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.

What's ridiculous about tipping on a receipt?
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

Re:how to completely own an airline in 3 easy steps on Thursday January 19, 2023 @10:32PM (#34448870)
`cat` aliased to `bat`, nice. :) I really like bat.
Re:Why Is Amazon Selling These Fake 16TB Portable SSD Drives? on Tuesday January 17, 2023 @03:18AM (#34410264)
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. :(
Re:Help Locked out of 10 years Gmail account on Wednesday January 04, 2023 @02:57AM (#34243200)
Okay I’ve been trying out your suggestion for a week. I think I will keep it.

Older »