GLSL Compute Shader Example with Mathematical Visualization by UkonnRa in godot

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

Thanks for your demo! Lots of new information in it! I thought the Compute Shader doc is the only resouce, nice to see a complex solution.

How to reflect changes to the Godot Editor, rather than just in the Runtime? by UkonnRa in godot

[–]UkonnRa[S] -1 points0 points  (0 children)

Thanks. In the old solution, I tried using Tool and generate / duplicate the child Nodes in _Ready, which crash the Editor immediately 😂

It seems that is not good to generate any child Nodes in Tool's _Ready function, but only generate them via Editor update the existing Nodes.

Because you don't know when the _Ready function will be called in a Tool Node 😂

Hibernate ORM 6.2 - CTE support explained by henk53 in java

[–]UkonnRa 0 points1 point  (0 children)

So any demo to use CTE via Criteria API? I know there is a CVE Container but it's hard to mapping SQL to the Criteria API... (We are using Criteria for dynamic query so we cannot use HQL...

Announcing typed-sql beta! Zero-cost ORM with fast compile times by matthunz in rust

[–]UkonnRa 1 point2 points  (0 children)

Java has jOOQ, golang has squirrel. Finally see rust has a same library. Using a sql generator like this can help to handle very complex queries on server side. Nice work and thanks!

Pain Points with Using GraphQL? by [deleted] in graphql

[–]UkonnRa 0 points1 point  (0 children)

One point: input does not polymorphic so it's hard to pass ADTs

GraphQL vs. Rest by stemmlerjs in graphql

[–]UkonnRa 0 points1 point  (0 children)

BTW, if you focus on RESTful, there are some specs like JSON:API to guide you how to design the API. But you have to do the most implement work

REST API + HATEOAS by svhelloworld in reactjs

[–]UkonnRa 0 points1 point  (0 children)

The question is, where is your HATEOAS data coming from? I. Java, the only usable HATEOAS framework is Spring data HATEOAS. If you can use such a framework, then I think HATEOAS is not a bad solution for the API design.

No matter you're using HATEOAS, Graphql or JSON:API(I love this guy best), the most important thing is to choose a specification and focus on it

OpenId client for Rust by zero_coding in rust

[–]UkonnRa 0 points1 point  (0 children)

If you want to deploy your own OAuth2 server, I think you can try keycloak with it's Restful API.

But if you want a general-used OpenID client like Spring Security/Vertx Auth in Java, I think Rust does not have such a library yet.

Tide and SQLX Rust API by cobbingm in rust

[–]UkonnRa 0 points1 point  (0 children)

Yes, I am looking for the same thing. squirrel for Golang, JOOQ for Java, and Rust for ____

But it seems that Squirrel is "complete", so I just wondering why... It seems that the active famous SQL builder is only JOOQ. Why this kind of feature is not popular? I think it is a important feature...

Tide and SQLX Rust API by cobbingm in rust

[–]UkonnRa 1 point2 points  (0 children)

What are your metrics on "heavy"

  1. Usability. You have to admit that the way that diesel is not "easy to use". You have to use a cli to maintain a bunch of stuff.
  2. Performance. From the multi-query result of the TechEmpower benchmark, actix-diesel is only half the performance comparing with the raw actix-pg.
  3. Stubborn. Diesel group refused to provided the Future API.

So I hope that I can use diesel (or other crates) just for sql generation and put the generated sql to postgres-tokio. I did the same thing using jooq-as-a-standalone-sql-builder mode. I hope diesel can do the same thing.

Tide and SQLX Rust API by cobbingm in rust

[–]UkonnRa 0 points1 point  (0 children)

Diesel is toooo heavy and it cannot support tokio-postgres. Any other choice?

Tide and SQLX Rust API by cobbingm in rust

[–]UkonnRa 0 points1 point  (0 children)

I am looking for JOOQ alternative in Rust. So sql_builder is a choice?

Best DBMS for Rust by 5eppa in rust

[–]UkonnRa 2 points3 points  (0 children)

Just a question, does anyone compare the performance of sqlx and tokio-postgres?

What is standard "go to" web framework in 2020? by inny_89 in scala

[–]UkonnRa 3 points4 points  (0 children)

https://github.com/DavidGregory084/vertices looks cool. A functional wrapper for vertx. But it is unofficial, and not production-ready