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

How do you get rid of AWS SES?


There isn't much information about correlation. What are the state-of-the-art tools and techniques for observability in stateful use cases?

Let's take the example of an SFU-based video conferencing app, where user devices go through multiple API calls to join a session. Now imagine a user reports that they cannot see video from another participant. How can such problems be effectively traced?

Of course, I can manually filter logs and traces by the first user, then by the second user, and look at the signaling exchange and frontend/backend errors. But are there better approaches?


Photoshop requires skills. The comparison with Photoshop is absurd.


So does AI. You think you're creating an Oscar-winning movie by prompting VEO with no thought?


who said anything about movies? the conversation is about misinformative content, which is typically very low-effort


Photoshop requires time.


In good hands, any product development process works well; in bad hands, any product development process fails. It is not about processes, methodologies, or frameworks - it is about people and what people do.


We are destroying software by believing we are right and others are wrong.

We are destroying software by being absolute.

We are destroying software by assuming we know what we are doing.

Everything is relative; every solution has its own trade-offs. This blog post is very absolute - it ignores trade-offs and sells itself as the truth.


> they basically disqualified themselves from the start by nerfing the "core" version so bad it was useless

Ran the core version for around 3 years in production for a smart city project. The company I worked for has been running it for around 6 years. Not sure what you are talking about. Of course, we would love to use features like stale replicas for exports. But this isn't something we absolutely need.


At large? As you can see, there is room for a community with a different view on that. My personal definition of an "open source license" is that, as the name implies, I can access the code, preferably without much gatekeeping (e.g., creating a free account in a private GitLab instance). And, to be honest, I prefer the BSL with an Additional Use Grant over any other license, because this is the most reliable option to ensure that the project has a future and won’t be abandoned because no one wants to invest their time for free.


You are welcome to choose that, but in my opinion, it isn't open source. I think open source should means anyone can contribute or take, and contributions are shared, without undue discrimination. Nobody is forced to work on the project, but if they are then they have to give the results of their work back to the common pool they took from. You have just as much power to keep the project going as anyone else does, including the current "maintainer".


> but if they are then they *have to* give the results of their work back to the common pool they took from

Well, here we go. Your "open" isn't so open in the end.


"open is when you have the right to make it closed"


You cannot redefine words because they don't fit with your personal definition. Open source has meant in accordance with the OSI, for quite a while.


Is IndexedDB SQL standards compliant? Inventing IndexedDB is a terrible mistake.


Fully agreed. Lets not compound a mistake with another mistake.


Fair enough. But if I could pick just one mistake, I'd pick SQLite.


+1. It even looks very similar to TypeScript. Why not use TypeScript as a description of APIs in the first place? Get TypeScript types and even generate OpenAPI schema on the fly to serve it at `/openapi`?


Typescript is too powerful, there are a lot of typescript constructs that can't be represented in OpenAPI specs. Or that could generate massively complex OpenAPI specs that would bring your tooling performance to a crawl.

A subset of typescript could work, but I imagine it would be fairly confusing to support some features here and other features there.

I think they are going for a minimum common denominator approach and eventually add other targets besides OpenAPI.


Exactly - this is already a solved problem. https://docs.nestjs.com/openapi/introduction


yes, the whole world runs on nestjs


https://github.com/domaindrivendev/Swashbuckle.AspNetCore

https://github.com/RicoSuter/NSwag

There is no need to be facetious, solutions like these exist for many platforms and ecosystems out there. I can't possibly entertain all of them.

By all means, if such similar solution does not exist for your platform, then TypeSpec could indeed be a solution for you.

With best regards.


The solutions you are talking about are called "code-first", TypeSpec is a "schema-first" solution. Both solutions have their pros and cons:

Code-first:

- No extra steps between code and running application

- No mismatch between schema and code

- Requires tooling for every language used in your stack. This tooling is usually more complex than schema-first codegen, but it is almost always built-into and core of the backend framework you are using so it tends to be better supported.

- Requires teams to know each service's backend language to propose changes

- Harder to build a coherent central API documentation if you have multiple services. Requires complex tooling for merging the different schemas from the different services

Schema first:

- Schema first means contract-first design, scales better to products with multiple separate teams using multiple languages. It is easier to learn the schema DSL than poke around backend language unknown to the developer

- Any change in the contract requires changes in two places (schema and code)

- API consumers can easily suggest changes to the schema that are implemented by the relevant team

- Usually requires some codegen step for each backend and client languages (with the usual codegen problems). Runtime-only schema validation can be done but it is usually a bad idea to rely only on it.

- Easier mocking. Clients can start implementing before backend is ready, tests can be written against mocks.

There are definitely more pros and cons that I am missing, but it is a tradeoff. I would say if you have multiple backend services and supporting multiple backend languages I would definitely go for schema-first.

You can work with OpenAPI in a schema-first way but as many people have pointed out over the years OpenAPI yaml files are, to be polite, not very human-friendly. TypeSpec seems to be a more sensible way to work with HTTP apis in a schema first way while keep interoperability with existing OpenAPI tooling at the cost of extra codegen step (typespec .tps -> openapi .yaml)


Some commands are used so often that it makes sense to further shorten them by placing them in `.bash_aliases` or a similar file for your favorite shell:

```

alias gs='git status'

alias gl='git log'

alias gd='git diff --color-words'

alias ga='git add'

alias gc='git commit'

```


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

Search: