Better HN
topnewbestaskshowjobs
Log inSign up

MapleWalnut

136 karma · joined Jun 4, 2018 (8y ago) · 89 submissions

Submissions

comment 1y ago · link · parent

Interesting that they did a major layoff on a US holiday (MLK Day).

comment 1y ago · link · parent

Spanner provides serializability. It seems like DSQL only guarantees "repeatable read".

https://docs.aws.amazon.com/aurora-dsql/latest/userguide/wor...

comment 2y ago · link · parent

Sentry provides a great hosted service. You can self host if you like, but it’s nicer to let them do it

comment 2y ago · link · parent

The Sentry SDK is open source and easy to contribute to in my experience.

comment 2y ago · link · parent

It'll be hard to position this against Sentry. Sentry's a joy to use and their performance product is so helpful in debugging performance issues

comment 2y ago · link · parent

That’s true, but with ESPPs, you get a discount on the stock price, effectively guaranteeing a decent return that would be hard to beat.

comment 2y ago · link · parent

Yes, but that wasn't available when they did this migration

comment 2y ago · link · parent

I like that polar supports funding specific issues or pull requests. Seems like a nice way to help fund a project while also helping prioritize issues you care about.

comment 3y ago · link · parent

There is a lounge with seating, you just need a ticket

comment 3y ago · link · parent

It'd be great if there was an rss feed for your blog

comment 3y ago · link · parent

Not the most accurate title. They’re still using Typescript for type checking, they’re just using JSDoc type annotations instead of Typescript syntax

comment 3y ago · link · parent

Mypy is the most correct and flexible type checker I’ve found. Pyright is great for auto complete in VSCode though, so I use both.

The Google and Facebook options aren’t well supported.

comment 3y ago · link · parent

I pay for Feedly even though I had access to a very generous free plan. Their product is reliable and I use it every day, so it only seems fair to pay.

comment 3y ago · link · parent

With the new GitHub code search, the first result is the DeleteView class: https://github.com/django/django/blob/bd366ca2aeffa869b7dbc0...

comment 4y ago · link · parent

One of the engineering leaders at my company was big on Retool and it was pushed out as a way for backend developers to write frontend code.

Now 6 months later that leader is gone, developers realized applications in Retool are harder to maintain because it’s just spaghetti code with no type safety or proper code review and teams are moving back to internal React applications.

You could build a much nicer user experience with react and make a maintainable codebase.

I think the promise of no-code making it easier for users to contribute is not reality.

comment 4y ago · link · parent

WAL is reliable, but Publish/Notify isn't. You'll lose messages with Publish/Notify if you aren't listening for them.

comment 4y ago · link · parent

Your Python example has unnecessary type annotations. Python type checkers like mypy and Pylance can infer the type of `words` automatically.

    def main() -> None:
        words = ["Hello", "World"]
        for word in words:
            print(word)

    if __name__ == '__main__':
        main()

comment 4y ago · link · parent

TIL that ContextVars can work in place of thread locals too. Thanks for pointing that out!

I had mistakenly assumed ContextVars only worked for async code.

comment 4y ago · link · parent

Yeah, precommit isn’t my favorite thing out of personal preference. So it’s a shame prettier doesn’t have built in caching like other tools in the space.

comment 4y ago · link · parent

Prettier itself would feel much faster if it supported caching like other code formatters (Python's Black, Rust's rust-fmt)

comment 4y ago · link · parent

Dropbox support can rollback your Dropbox account to a previous point in time too.

comment 4y ago · link · parent

What about https://github.com/Roblox/luau? It gives Typescript-like annotations.

comment 4y ago · link · parent

I'm encountering issues with the GitHub API too.

comment 4y ago · link · parent

I wish there was something this good for Golang.

comment 5y ago · link · parent

PlanetScale branching only copies the schema, not the data.

from their docs:

> Note: Data from the main database is not copied to development branches.

https://docs.planetscale.com/concepts/branching

comment 5y ago · link · parent

They're pretty similar. The auto complete alone is worth adding type annotations.

Both have type stubs for third party packages that can make it easier to get coverage for your project.

My organization gradually migrated a ~300k line Python project to have full type annotations and it's so much nicer to work on.

comment 5y ago · link · parent

Mypy provides a server to help with this called dmypy: https://mypy.readthedocs.io/en/stable/mypy_daemon.html

28.

LiveGraph: Real-time data fetching at Figma(figma.com ↗)

17 points · by MapleWalnut · 5y ago · discuss

comment 5y ago · link · parent

From what I understand, they only branch the schema. They don't copy the data.
123