Better HN
topnewbestaskshowjobs
Log inSign up

alexrtan

97 karma · joined Sep 14, 2016 (10y ago) · 15 submissions

Submissions

comment 2y ago · link · parent

They originally intended to shoot in Japan but couldn’t because of Covid. I thought the foliage and coastline were reasonably close to parts of Japan’s (I’ve been both there and to the Pacific NW).

I experienced what you’re describing when Power of the Dog tried to pass New Zealand off as Montana though.

comment 4y ago · link · parent

> There wasn't any guarantee before, either. If you want that guarantee, make the CI build every commit.

Guarantee is the wrong word. The point is that if you always squash merge after passing the entire test suite you don’t have a bunch of potential garbage commits in history that you have to wade through when bisecting.

As for building every commit that’s probably a tough sell and a poor use of money for what benefit?

comment 4y ago · link · parent

If someone else has done the pull request, I review it on GitHub, then they rebase and force push the original commit wouldn’t be on my machine unless I had pulled it earlier correct? Which is something I never do.

comment 4y ago · link · parent

Yeah but the other problem in pull requests is that if someone makes changes since the last time I reviewed and then they force push I can’t see the difference from the last time I reviewed. Also if they rebase and push multiple commits there’s no guarantee they would all pass CI which means you can’t guarantee it will work with bisecting.

comment 4y ago · link · parent

I don’t understand why people waste time manually rebasing pull requests when you can squash merge with one button and get essentially the same result. Not quite as bad as merging a bunch of commits that aren’t bisectable because they didn’t pass CI though.

comment 4y ago · link · parent

A public comment opposing policies that would lead to more affordable housing isn’t “gossip” or “conjecture.”

comment 4y ago · link · parent

It’s amazing how little inefficient land use/NIMBYism is discussed in American politics. It is actually even more important than healthcare as a cost of living issue. Especially for young people living in major cities.

comment 4y ago · link · parent

Probably not true, but even if it is being a NIMBY is still bad.

comment 4y ago · link · parent

In the same way San Francisco allows ice cream shops (or any business) to object to new competitors in their area, yes many “communities” also write rules that monopolize land in order to keep their property values high.

See: https://www.sfchronicle.com/local/heatherknight/article/S-F-...

comment 7y ago · link · parent

We've been using it for about a year in production across four projects and it's been a major boon for productivity because it allows our frontend developers to do simple backend features on their own. I think there are a lot of use cases where it would be a great fit for many projects and there are I'm sure a lot of companies that could save a lot of time by using it as part of their toolkit.

Also it doesn't have to be all or nothing. For example, there might be an API endpoint needed where there are multiple mutations needed inside a transaction but we just route between that custom backend and postgrest using nginx.

Other things we use:

- dbmate for migrations: https://github.com/amacneil/dbmate

- postgrest-client, a library I developed for constructing type-safe queries to Postgrest in Elm: https://github.com/alex-tan/postgrest-client

comment 7y ago · link · parent

Also in an ideal scenario where countries move aggressively to renewables we need energy sources to put that infrastructure into place and as you say natural gas is a key part of keeping emissions low. That's why it's not good that candidates are arguing for straight out bans.

comment 7y ago · link · parent

What is this garbage doing on HackerNews? Really, we're putting dictatorship in quotes when referring to China now? And calling a pro-democratic movement of millions of people protesting for their rights xenophobic and Sinophobic. Wow.

comment 7y ago · link · parent

There's a much simpler solution. No non-competes at all. They only serve employers and create small market failures.

comment 7y ago · link · parent

I just went back to Netflix Blu-Rays after being frustrated with seeing tons of imperfections in streaming quality. The artifacts are so annoying to me in 4K streaming that I mostly prefer just watching 1080p blu-rays.