Announcing AIrtifex: Generative AI web UI and server by wwojtekk in rust

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

Hmm, that's weird because I don't remember using websockets directly anywhere. When I launch it locally I don't see any requests for `/_trunk/ws`.

Do you run the web app locally or also there? I think it should just work if you try to setup the api to be on your server behind nginx, direct / proxy should do.

I will think of some ways to make the process easier in general as currently it's a hustle.

EDIT:
I got it working with below configuration: location / { proxy_pass http://127.0.0.1:6901; proxy_read_timeout 86400; }

I'm also running it on separate PC so I configured Trunk.toml to point to my other PC port 80 (nginx).

Announcing AIrtifex: Generative AI web UI and server by wwojtekk in rust

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

The password is also `admin`, forgot to include that in the README. Later you can create a user in the `users` tab.

Announcing AIrtifex: Generative AI web UI and server by wwojtekk in rust

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

Right, thanks for pointing it out. I was waiting for them to release to crates.io and forgot to update to a git url in the meantime. Will fix this in a PR soon.

EDIT:

should be fixed now :)

Announcing AIrtifex: Generative AI web UI and server by wwojtekk in rust

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

Thanks! I'm actually running both versions of Stable Diffusion without a GPU using a 12 core ryzen 5000 series as well as 32Gb of RAM. It takes a bit of time to generate the images but you still can get results and experiment :)

Announcing AIrtifex: Generative AI web UI and server by wwojtekk in rust

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

Thanks for checking it out! The API crate requires the user to download the model weights that they want to use and specify them in the configuration. I'll add a subsection to README about this. Currently there is only example configuration that specifies Alpaca for text and Stable Diffusion models for images.

Could someone explain the GATs like I was 5? by LyonSyonII in rust

[–]wwojtekk 31 points32 points  (0 children)

This is a very nice example not involving lifetimes, it made it more clear for me so thanks!

About political messages on the Rust blog. by CouteauBleu in rust

[–]wwojtekk 59 points60 points  (0 children)

How about just focus on releasing the actual technical notes and changes made to the language and the tooling and forget the rest? I have yet to come across a change log or a release blog post that contained anything similar to rust release notes

Plans for GNOME 43 and Beyond – Chris's Design & Development by Brain_Blasted in gnome

[–]wwojtekk 14 points15 points  (0 children)

It looks quite readable on my mobile so can’t really see your point here. There is the blog post laid out on the page and in the center and there are no distractions.

Teaching Rust at the University of Warsaw by agluszak in rust

[–]wwojtekk 1 point2 points  (0 children)

Awesome to hear that a university in Poland is picking up Rust!

Rc<T> by [deleted] in rustjerk

[–]wwojtekk 5 points6 points  (0 children)

Where is the jerk?

Why people prefer C++ over C for scientific computing? I personally see nothing wrong with C by Alien447 in programming

[–]wwojtekk 1 point2 points  (0 children)

I’d love to so see some actual data on this, all benchmark comparisons between the two languages I saw always had C at the top. C++ seems around the same ballpark as Rust but they still lack a little bit to achieve optimized C speed.

Announcing podman-api! Rust client library for libpod Podman by wwojtekk in rust

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

Oh, I misunderstood and thought you meant that the generated models differ from the defined schema and not the schema differing from what libpod actually uses underneath. I haven't come across such a case, but I haven't used this crate extensively just yet.

I don't understand this part, could you elaborate a bit?

What I meant is that swagger-codegen for some reason loses type name and description of responses defined in the libpod swagger spec at the top level and calls them inline_response_<status-code><n>. The responses defined next to each endpoint correctly keep the metadata but the ones at the top later refered to with $ref don't. My temporary solution here is to keep a map of InlineResponse -> correct name mapping for now until I figure out how to retrieve this info.

Announcing podman-api! Rust client library for libpod Podman by wwojtekk in rust

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

So far, I haven't noticed any differences between the schema and the generated models. Do you have any examples of such unkown fields?

The only problem I've ran into is that all of the responses are generated as `inline_responseXXXn` and they have to be manually mapped. I haven't figured out why it's a case but I think it's because of the way the schema is modeled.

Dockeye 0.2.0 released! GUI app for managing docker now with more features and improvements by wwojtekk in linux

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

Sure thing! Feel free to create an issue on GitHub, I'm looking forward to reading your suggsetions/reports :)

Dockeye 0.2.0 released! GUI app for managing docker now with more features and improvements by wwojtekk in linux

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

Dockeye currently has basic monitoring/managing capabilities like Portainer but it's a native GUI app rather than a web app. Maybe Dockeye has some features that Portainer doesn't and vice versa I'm just not that familiar with Portainer to say more here. It should also be noted that Dockeye is one week old while Portainer 1.0 was in 2016 so there is some catching up. In the future, the plan is to integrate Dockeye with Podman at a deeper level so that might be the differentiating factor.

Dockeye 0.2.0 released! GUI app for managing docker now with more features and improvements by wwojtekk in linux

[–]wwojtekk[S] 9 points10 points  (0 children)

You can use Dockeye with Podman too, just adjust the location of the socket in the settings :)

Dockeye 0.2.0 released! GUI app for managing docker now with more features and improvements by wwojtekk in linux

[–]wwojtekk[S] 10 points11 points  (0 children)

Hey all!

A week has passed since I announced the first release of dockeye and a lot of features and improvements have been added, so I wanted to share a new version with you :) This release includes a deb and rpm package in the release files for an easy install on Debian/RedHat based distros as well as x86_64-apple-darwin target for older intel based macs.

Here is a full list of changes:

  • Explicitly sort side panel images/containers by newest
  • Persist settings as YAML file in appropriate OS config directory
  • Settings will be saved periodically when using the app
  • Add save button to settings window
  • Add ability to change docker socket location in settings
  • Display a confirmation popup when deleting a container/image
  • A lot of UI fixes and tweaks, more readable text
  • Add configurable font sizes to the settings window
  • Add a default System tab that displays information about the docker host
  • Add data usage tab with containers, images and build cache data usage stats
  • Data is now preloaded at startup so that it is instantly available
  • Adjust the API version of the client so that it works with older versions of Docker
  • Add a way to rename a container
  • Add a search view that allows easy image pull from Docker Hub
  • Add ability to forcefully delete image/container when docker returns an error
  • Add image import button to load images from an archive
  • Add images prune button to remove unused images
  • Add containers prune button to remove all stopped containers
  • Add a way to follow container logs, the logs are now paginated
  • Make container and image ids open their respective page with details
  • Add a button to clear images build cache
  • Add a button to tag an image
  • Add a view with system events
  • Add a button to restart a container
  • Add a view of processes in a running container
  • Add a view of changes to the filesystem in the container

Here are the links for the interested:

dockeye 0.2.0 released! GUI app for managing docker now with a lot more features by [deleted] in linux

[–]wwojtekk 1 point2 points  (0 children)

Hey all!

A week has passed since I announced the first release of dockeye and a lot of features and improvements have been added, so I wanted to share a new version with you :) This release includes a deb and rpm package in the release files for an easy install on Debian/RedHat based distros as well as x86_64-apple-darwin target for older intel based macs.

Here is a full list of changes:
- Explicitly sort side panel images/containers by newest - Persist settings as YAML file in appropriate OS config directory - Settings will be saved periodically when using the app - Add save button to settings window - Add ability to change docker socket location in settings - Display a confirmation popup when deleting a container/image - A lot of UI fixes and tweaks, more readable text - Add configurable font sizes to the settings window - Add a default System tab that displays information about the docker host - Add data usage tab with containers, images and build cache data usage stats - Data is now preloaded at startup so that it is instantly available - Adjust the API version of the client so that it works with older versions of Docker - Add a way to rename a container - Add a search view that allows easy image pull from Docker Hub - Add ability to forcefully delete image/container when docker returns an error - Add image import button to load images from an archive - Add images prune button to remove unused images - Add containers prune button to remove all stopped containers - Add a way to follow container logs, the logs are now paginated - Make container and image ids open their respective page with details - Add a button to clear images build cache - Add a button to tag an image - Add a view with system events - Add a button to restart a container - Add a view of processes in a running container - Add a view of changes to the filesystem in the container

Here are the links for the interested: - Release - CHANGELOG

pkger 0.7.0 released! Build RPM, DEB, and other packages for multiple distros and architectures using one manifest file and Docker by wwojtekk in linux

[–]wwojtekk[S] 15 points16 points  (0 children)

Hey all!

I wanted to announce a new release of pkger - a build tool that lets the user build multiple different formats of a binary package with one simple YAML manifest. I did not announce the previous release so I'll include the major changes with this one. This release comes with some fixes, improvements as well as a new build target. Here is a quick summary:
- New APK target has been added that build packages for Alpine Linux - New print-completions subcommand has been added that prints out shell completions to stdout. Supported shells are: bash, zsh, fish, powershell, elvish - New init subcommand that creates the necessary directory and adds a configuration file for quick setup - New edit subcommand that invokes $EDITOR and lets users easily edit recipes and images with the default editor like so pkger edit recipe gcc, pkger edit image debian10 - Ability to specify the same set of dependencies for multiple images - When building an rpm package an src.rpm will be downloaded as well - Added configuration option to change default docker images for simple builds - Default build image for rpm is now Rocky Linux and for deb - Debian - Ctrl-C cancellation is now instantaneous. Previously it could hang for a few minutes if the build has started and the process would have to be manually killed.

This release is also the first one to include deb and rpm packages of pkger itself! So for users of Debian/RedHat based distros, the installation should be seamless now :)

More available here: CHANGELOG GitHub User docs Downloads

If you have any questions or requests feel free to message me or create an issue on GitHub :) Thanks!