Hacker Newsnew | past | comments | ask | show | jobs | submit | TheDataMaverick's commentslogin

Amazing work! It makes setting up CI so much easier.


huh. could you tell how you use it in ci?


I'm using it for a service that has DB dependencies. Instead of using SQLite in tests and PG in production, or spinning up a Postgres container, you use Postgres via pglite.

In my case, the focus is on DX ie faster tests. I load shared database from `pglite-schema.tgz` (~1040ms) instead of running migrations from a fresh DB and then use transaction rollback isolation (~10ms per test).

This is a lot faster and more convenient than spinning up a container. Test runs are 5x faster.

I'm hoping to get this working on a python service soon as well (with py-pglite).


Thank you for the details. This makes a lot of sense!


I deleted all my Vercel project, moved to Cloudflare, send this support message to Vercel:

Vercel seems like the perfect solution, and I love how it supports the development community.

I am moving all my current and future hobby projects away from Vercel due to concerns raised in this discussion. https://news.ycombinator.com/item?id=39520776

Although I am a very small customer of Vercel, I have been advising larger organizations on IT and data infrastructure for the last decade or so.

I can say with very high certainty that spending limits are a critical discussion point in every large organization when making IT decisions. I've observed multiple instances where a potentially better solution was not selected due to the risk of overspending.


Vercel has had spend management for a while now: https://vercel.com/blog/introducing-spend-management-realtim...


Thanks @doque !!

Even though I've been actively looking for this, I couldn't find it.

However, this solution ONLY provides notifications; it doesn't address the underlying problem. I could be sick for five days and not check my phone.

What I need—and, in my experience, what all larger companies require—is a method to halt consumption entirely, similar to Snowflake."


That method you're mentioning is provided by setting up a webhook that pauses a project, which can be fully automated.


Thanks again @doque

For me it seems a little overkill to build an automated system that can handle webhook that can pauses a project

Hmm .. to maybe I'm overthinking it .. could you describe the architecture needed to setup a system like this?


It feels like they are intentionally making it complicated to figure out to avoid people actually setting hard limits. Vercel recently had a customer get charged 20k+ that posted on twitter. When Vercel employees mentioned this way of controlling it through a webhook, most people didn't even know about it. I feel like a hard limitbshould be easy to set in your projects settings and that it should have a default value.


@KyleJune

I would consider extremely difficult to setup a reliable system that could listen to webhooks and pause projects.

My main concerns are .. how can you test it and how can you be sure that it is working in all future.

..

Are you able to find the twitter post you mentioned?


I found the example I mentioned, it was from earlier this month.

Here is a link to the twitter post where someone got a 23k bill. In the thread you can find people confused about how this could have happened and why there are not hard limits to prevent situations like this. https://twitter.com/michaelaubry/status/1757539928534315322?...

Here is a comment in the thread from their VP of product explaining how to set hard limits via a web hook. They said they would improve the documentation for it but some people replied saying they shouldn't need a web hook to set usage limits. https://twitter.com/leeerob/status/1757960730865696892?t=mCD...


Used in product design. Ensure that the user can work on the asset in another tool after creating it in your tool.


52 dos and don’ts on how to get things done by the IT department

From more than 10 years of experience working in and with IT, I've created a list of 52 dos and don’ts that can make your work with IT much more productive and enjoyable

These dos and don’ts are not about managing an IT department, but about how you can get things done by the IT department.

A new dos and don’ts every week in 2023


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: