News for hackers. Stuff that matters.

MapleWalnut

Re:Stripe Lays Off 300 Employees on Tuesday January 21, 2025 @03:57PM (#42785110)
Interesting that they did a major layoff on a US holiday (MLK Day).
Re:Amazon Aurora DSQL on Tuesday December 03, 2024 @02:01PM (#42309886)
Spanner provides serializability. It seems like DSQL only guarantees "repeatable read".

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

Re:The Problem with OpenTelemetry on Friday June 14, 2024 @01:26PM (#40682774)
Sentry provides a great hosted service. You can self host if you like, but it’s nicer to let them do it
Re:The Problem with OpenTelemetry on Friday June 14, 2024 @12:17PM (#40682121)
The Sentry SDK is open source and easy to contribute to in my experience.
Re:Pydantic Logfire on Tuesday April 30, 2024 @02:44PM (#40214627)
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
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.
Re:How Figma's databases team lived to tell the scale on Thursday March 14, 2024 @03:33PM (#39708033)
Yes, but that wasn't available when they did this migration
Re:GitHub now officially supports polar.sh as a funding platform on Thursday February 15, 2024 @09:44AM (#39383242)
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.
Re:Fixing Penn Station on Wednesday September 13, 2023 @10:04AM (#37496916)
There is a lounge with seating, you just need a ticket
Re:Kafka Is Dead, Long Live Kafka on Monday August 07, 2023 @12:41PM (#37036901)
It'd be great if there was an rss feed for your blog
Not the most accurate title. They’re still using Typescript for type checking, they’re just using JSDoc type annotations instead of Typescript syntax
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.

Re:Google Reader shut down announced ten years ago today on Monday March 13, 2023 @10:35AM (#35136229)
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.
Re:The technology behind GitHub’s new code search on Monday February 06, 2023 @05:16PM (#34685262)
With the new GitHub code search, the first result is the DeleteView class: https://github.com/django/django/blob/bd366ca2aeffa869b7dbc0...
Re:Retool launches Workflows to go beyond the front end on Wednesday November 16, 2022 @10:01PM (#33634405)
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.

WAL is reliable, but Publish/Notify isn't. You'll lose messages with Publish/Notify if you aren't listening for them.
Re:Typeguard on Friday July 29, 2022 @10:15AM (#32277204)
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()
Re:Logging in Python like a pro on Friday July 01, 2022 @04:49PM (#31952663)
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.

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.
Prettier itself would feel much faster if it supported caching like other code formatters (Python's Black, Rust's rust-fmt)
Re:Inside the longest Atlassian outage on Wednesday April 13, 2022 @05:28PM (#31020523)
Dropbox support can rollback your Dropbox account to a previous point in time too.
Re:Lua: Good, Bad, and Ugly Parts (2012) on Monday December 27, 2021 @11:39AM (#29703941)
What about https://github.com/Roblox/luau? It gives Typescript-like annotations.
Re:Tell HN: GitHub is experiencing an undeclared outage on Monday December 27, 2021 @08:54AM (#29702520)
I'm encountering issues with the GitHub API too.
Re:Tqdm (Python) on Thursday December 16, 2021 @02:43PM (#29582855)
I wish there was something this good for Golang.
Re:PlanetScale is now generally available on Wednesday November 17, 2021 @09:14PM (#29261331)
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

Re:Etsy’s Journey to TypeScript on Tuesday November 16, 2021 @09:13PM (#29248665)
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.

Re:Twelve Years of Go on Wednesday November 10, 2021 @03:28PM (#29180252)
Mypy provides a server to help with this called dmypy: https://mypy.readthedocs.io/en/stable/mypy_daemon.html
Re:Building PlanetScale with PlanetScale on Wednesday August 18, 2021 @01:51PM (#28224735)
From what I understand, they only branch the schema. They don't copy the data.
Scoring results in Postgres requires scanning all matches, which is slow if you have a lot of results.

Elastic search and other search solutions don’t have this problem.

Older »