News for hackers. Stuff that matters.

zifeo

For now, we mostly focus on building solid foundations and having a design that can be easily extended by the users. It is already run in production at some local companies and we will see whether this is more adoptions in the next months.

Regarding backwards compatibility, we believe that GraphQL's approach is kind of incomplete and that more guarantees can be provided by the server. Nothing concrete yet, but happy to exchange a few ideas!

Prisma is one of the runtime currently supported [1]. Metatype enables you to compose multiple runtimes together. Let's say you have model/struct product (id, name, similarProducts), the two first attributes may be stored in Prisma (like you would do it normally), the third one can come from another runtime such as an HTTP api and the engine will take care of resolving the data together. You can also add an authorization policy on any of the fields.

[^1] https://metatype.dev/docs/reference/runtimes

Thanks for the feedback, we are non-english speakers trying our best. Will review them soon.
There is a whole section with use cases and code examples on the website (crud, backend for frontend, function-as-a-service, iam provider and more): https://metatype.dev/use-cases/automatic-crud-validation
Re:I reviewed 1,000s of GraphQL vs. REST perspectives on Friday August 11, 2023 @10:00AM (#37088756)
That's the reason we have developed field-level access control [1] with policies on the top of rating-limiting [2] for Metatype.

[^1] https://metatype.dev/docs/tutorials/policies-and-materialize...

[^2] https://metatype.dev/docs/tutorials/authentication-and-secur...

Re:1 in 10 developers leaked an API-key in 2022 on Saturday May 27, 2023 @07:02PM (#36099288)
We migrated a few month ago from doppler to infisical as the latter supports end-to-end encryption and happy so far!
WMWare labs [1] managed to compile Python/Ruby/PHP into WASM distribution. This works if you want to run the language interpreter but is limited when you want your WASM runtime to run in parallel of your own program. This leads to the creation of the "reactor" concept by the community [2].

In the python WASI reactor, we load the libpython compiled for WASM and add a Rust reactor layer. Currently, it supports dynamic registration of Python lambdas and we are working on adding support for whole functions/packages.

[1] https://github.com/vmware-labs/webassembly-language-runtimes [2] https://github.com/bytecodealliance/wasmtime/blob/main/docs/...

The team will be watching and happy to answer any question :).

Show HN: Metatype – an open-source, low-code API platform for developers

https://github.com/metatypedev/metatype

Hey everyone, we built Metatype [0] as a different way to build APIs and backends based on 3 parts:1. a Python package to build virtual graphs connecting all components of your stack (think databases, third-parties, and existing systems)2. an HTTP/GraphQL query engine built in Rust/Deno that authorizes and optimizes queries over the graphs3. a CLI to provide a nice developer experience and fast...

( Read More... | 3 comments | 2 points | on HN )

Show HN: Lade – automatically load secrets from your preferred vault as env vars

https://github.com/zifeo/lade

Hey,I have created Lade to help me manage the secrets from different vaults with - hopefully - a greater user experience than the current approaches.Based on the shell command you are submitting, Lade will fetch the required secrets from Infisical, 1Password, Vault or Doppler and inject them in the environment variables with your desired name. It will also clear them once the command is over to...

( Read More... | no comments | on HN )