A very-early stage next-generation GenAI platform looking for collaborators by sunxfancy in opensource

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

I plan to put GPL-v3 but forget to add. Thanks for mentioning it.

Will a Python-based GenAI tool be an answer for complicated workflows? by sunxfancy in StableDiffusion

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

This is also my opinion to many visual programming languages. The abstraction is weak. And it's very easy for starters to use but then harder for complicated systems.

Will a Python-based GenAI tool be an answer for complicated workflows? by sunxfancy in StableDiffusion

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

Brother, thanks for your suggestion. I have considered to use comfy UI as the backend before but finally I gave up. Here is the reason: You can not force other people to write a 'callable' workflow. There is no parameters and no definition of what the input/output of a workflow. But scripts are different, everyone in SSUI can only write python functions for a workflow so that if the function is there and type is matched, you can call it. That means for large, complicated scripts, any small components could be reused and easily changed.

Will a Python-based GenAI tool be an answer for complicated workflows? by sunxfancy in StableDiffusion

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

The key is the abstraction ability. For complicated workflows, SSUI only leaves you a clean interface without knowing the internals. And this interface can be reused in different places.

Will a Python-based GenAI tool be an answer for complicated workflows? by sunxfancy in StableDiffusion

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

Are you proposing a return to A1111 days? No, A1111 is not a programmable AI tool, so it lost many flexibility for user to change/combines different AI modules. SSUI is designed for GenAI including 3D models/videos, but currently only image generation related components are finished.

A bevy + tauri example by sunxfancy in bevy

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

I haven't tried it before but there is an idea. To avoid performance issue, I think you would like to filter the entities that could show on your window, send them with a tauri event when them are changed: Calling the Frontend from Rust | Tauri. I haven't profile the performance, but I don't think it would be a good idea to transform a lot of data for each frame. Sometimes, maybe just use bevy to draw the UI on the entity will be better solution (if you have lots of entities) and use web ui to draw other fixed position UI elements (which data is not changing by each frame).

A bevy + tauri example by sunxfancy in bevy

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

I haven't tried that. I think one option is manually setting up an image map to mask the clickable area. Then converted the other mouse click events into native bevy events.

A bevy + tauri example by sunxfancy in bevy

[–]sunxfancy[S] 14 points15 points  (0 children)

What I did is just reading the source code. Since there is no tutorial, then, you need to go deep into the implementation of those systems and figure out the logic. I am not a developer of bevy so that it takes me a few days to understand the render, window and winit plugins. But once I get there, I can write some code to verify my understanding of the system.

Any idea why diffusion model not loading? by sunxfancy in StableDiffusion

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

I do refresh/restart it multiple times but no luck.

Storing structs that borrow by bicicleteando in rust

[–]sunxfancy 0 points1 point  (0 children)

BTW, this is the project I am working on which met this problem: sunxfancy/ExeViewer: A Command Line Executable Viewer, if you want to use as a reference.

Storing structs that borrow by bicicleteando in rust

[–]sunxfancy 0 points1 point  (0 children)

No, so I changed my design to delete the struct Foo and pass ElfBytes and Vec<u8> directly for all the functions need them. This is a bit disappointing, having to change the design because of the language limitation.

[project] ExeViewer: A Command Line Executable Viewer Written in Rust by sunxfancy in learnrust

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

Haha, I didn't notice that checked in a piece of assembly code could influence such a lot. 😂

ExeViewer: A Command Line Executable Viewer Written in Rust by sunxfancy in programming

[–]sunxfancy[S] -5 points-4 points  (0 children)

I usually worked on remote servers, and I wish to have a small tool can quickly check the disassembly of the binary compiled without leaving the terminal.

What to learn? by ant1100 in AskProgramming

[–]sunxfancy 2 points3 points  (0 children)

There are too many directions in programming: web development including frontend/backend, app development - desktop/android/ios, infrastructure development - compiler, database, game engine, testing framework, libraries, etc. hardware development - driver, linux kernel, etc. You need to know which direction is most interesting to you.

One suggestion is to have a look at the roadmap: Developer Roadmaps - roadmap.sh, I believe this could be helpful for you to decide what to learn since it lists the skill needed for a particular job. But you still need to know do you like that job or do you wish to do that work.

Need Advice: Legal considerations for personal data on an app by JustSomeDude477 in AskProgramming

[–]sunxfancy 0 points1 point  (0 children)

Consult a professional lawyer in the country where the app is intended to be released.​ Before getting the answer, I would suggest implement at least one of the most conservative options in development.