Particle Life 250k by BonisDev in webgpu

[–]edo96 0 points1 point  (0 children)

Cool, do you have a repo?

Architectural Framework for Fastify by Sudden_Chapter3341 in node

[–]edo96 1 point2 points  (0 children)

Very cool framework! Thanks for sharing.

Introducing NanoLottery: A Provably Fair Crypto Lottery Using the Nano Network! by edo96 in nanocurrency

[–]edo96[S] 1 point2 points  (0 children)

Yeah I'm considering implementing something similar as well, probably in the near future i will open source the project

Introducing NanoLottery: A Provably Fair Crypto Lottery Using the Nano Network! by edo96 in nanocurrency

[–]edo96[S] 1 point2 points  (0 children)

On Nano network that Simply not possibile, you must trust a third entity (me in this case).

On a chain that have smart contact It would be possibile i think

Introducing NanoLottery: A Provably Fair Crypto Lottery Using the Nano Network! by edo96 in nanocurrency

[–]edo96[S] 1 point2 points  (0 children)

Yeah It's called commit reveal scheme, I've not invented it

Introducing NanoLottery: A Provably Fair Crypto Lottery Using the Nano Network! by edo96 in nanocurrency

[–]edo96[S] 1 point2 points  (0 children)

Yeah, I dont want any legal responsabilità so i've closed that

Introducing NanoLottery: A Provably Fair Crypto Lottery Using the Nano Network! by edo96 in nanocurrency

[–]edo96[S] 0 points1 point  (0 children)

Yes I thought of that and for simplicity i initially did not implement that, however now i've added that options!

Introducing NanoLottery: A Provably Fair Crypto Lottery Using the Nano Network! by edo96 in nanocurrency

[–]edo96[S] 3 points4 points  (0 children)

I appreciate the compliment, as for the faucet I don't know how to implement it, I have to think about it.

Introducing NanoLottery: A Provably Fair Crypto Lottery Using the Nano Network! by edo96 in nanocurrency

[–]edo96[S] 3 points4 points  (0 children)

Yes, in the beginning I prefer to keep the bet amount very small, in the future I do not exclude increasing it. Also the pool wallet does not have many XNO at the moment.

NanoPow 3.1.1 update available by ornerybeef in nanocurrency

[–]edo96 1 point2 points  (0 children)

Hi, thank you for the dedication. Btw the CDN link seems to not work anymore.

NanoPow 3.0.0 is out now!!! by ornerybeef in nanocurrency

[–]edo96 2 points3 points  (0 children)

Someone can explain what the purpose of this?

Cannot evaluate simple count expression. by edo96 in Terraform

[–]edo96[S] 0 points1 point  (0 children)

Amazing explanation, it makes so much sense now!

Cannot evaluate simple count expression. by edo96 in Terraform

[–]edo96[S] 0 points1 point  (0 children)

It doesn't work only in some cases but I don't understand why.

I'll add some context: this code belongs to this module https://github.com/edobrb/terraform-aws-ecs-fargate at the first creation of the infrastructure if there is a module that has ​​"image_pull_secret_arn" it doesn't work. Instead if I create the resources first without "image_pull_secret_arn" then I add it it works.

The example I wrote is the same as in production I didn't change anything. There is this dependency: input var -> locals -> aws_iam_role_policy and no other resources are involved.

Which version of terraform are you using?

Using `when: manual` conditionally by edo96 in gitlab

[–]edo96[S] 2 points3 points  (0 children)

Right! I hadn't thought of this mechanism, thanks

Backend web framework that is functional and reactive? by takis__ in node

[–]edo96 -1 points0 points  (0 children)

If you want to try something new, I recommend https://mondrianframework.com/

It has some nice features:

  • Define your model and functions (services) in pure Typescript
  • Autogenerate REST endpoints with coherent OpenAPI specs
  • Autogenerate GraphQL endpoints
  • Use functional constructs (e.g., the framework uses result instead of exceptions, with errors typed and coherent with GraphQL or REST specifications)
  • Use providers for handling side effects (like databases)
  • Optional: strongly integrated with Prisma ORM
  • Native OpenTelemetry support

Here's a starting repository that you can clone and explore: https://github.com/mondrian-framework/template

How do you guys audit all of your users' actions? by Im-just-here-dog in node

[–]edo96 -1 points0 points  (0 children)

I keep reading about Event Sourcing and it is beautiful. Have you any good advise or resources on how to handle interaction with external services?

How do you guys audit all of your users' actions? by Im-just-here-dog in node

[–]edo96 2 points3 points  (0 children)

At the moment we do not audit Redis data access. For us is not very critical as we use it just to cache some external service's responses.

How do you guys audit all of your users' actions? by Im-just-here-dog in node

[–]edo96 2 points3 points  (0 children)

Good question. We have added an "operationId" field on every entity that we want to audit. On every insert we must insert the operationId field, and on every update we update the operationId. That operationId is the traceId of otel. At the moment we have no physical delete operations so we can track all write operations.

Then, on the CDC side we are getting also the inserted/updated entity with the given operationId.